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

html - Cut text on left side inside button while centering -

java - Last square of 8x8 grid not drawn, using two nested FOR loops -

What design pattern is this code in Javascript? -