select user_id,partner_order_id from pharmeasy_status where status!="CANCELLED" or status!="DELIVERED"'
is this querry right?
select user_id,partner_order_id from pharmeasy_status where status!="CANCELLED" or status!="DELIVERED"'
is this querry right?
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
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jul 26, 2022, 5:31 AM EDT
Try,
select user_id,partner_order_id from pharmeasy_status where status NOT IN("CANCELLED","DELIVERED")
Sachin SinghRank #66 · 26.2K reputationPosted Jul 26, 2022, 4:40 AM EDT
Sudha Shankar27 reputationPosted Jul 26, 2022, 5:03 AM EDT