I have the following table Product :
ProductID |ClientID |Status
--|--|--
100 |12 |Available
100 |13 |In process
100 |14 |Not yet
I want to get only the products with only with Not Yet status
and not other ones
I have the following table Product :
ProductID |ClientID |Status
--|--|--
100 |12 |Available
100 |13 |In process
100 |14 |Not yet
I want to get only the products with only with Not Yet status
and not other ones
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amira BedhiafiRank #601 · 4K reputationPosted Jan 29, 2022, 8:44 AM EST
SELECT * FROM ProductTableAS A WHERE NOT EXISTS( SELECT * FROM ProductTableID AND Status NOT LIKE 'Not yet' )
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Jan 29, 2022, 3:20 PM EST