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

mysqli - Php Mysqli_fetch_assoc Error : "Warning: Illegal string offset 'name' in" -

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

php - Hide Categories from WordPress Dashboard by ID and Custom Post Type -