sql - Exclude row when the value in column B is present somewhere (in another row) in column C -


as title describes i'm looking way exclude entire row select clause when value in column b of row present anywhere in column c of same table.

select col_a, col_b, col_c table  col_b not in (select col_c table) 

should it.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -