How to use the SQL EXISTS and NOT EXISTS conditional operators