sql - Select data that exists in A but not in B -


imagine have tables: this tables.

what need data exists in not in b, in case select have return "2".

i've done before, right know can't remember how. suppose this:

select a.* left join b b on b.column = a.column 

but it's not working. can me, please?

thanks in advance.

you're missing filter:

select a.* left join b b on b.column = a.column b.column null 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -