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
Post a Comment