Hi
What the below code does.
select * from tablename where null = null
Thanks
Hi
What the below code does.
select * from tablename where null = null
Thanks
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
Vijay Pratap SinghRank #381 · 6.6K reputationPosted Apr 16, 2024, 7:57 AM EDT
The query
SELECT * FROM tablename WHERE NULL = NULLwill not return any rows. This is because in SQL, comparing something to NULL using the equality operator (=) always yields false, even if both operands are NULL.Jaimin ShethiyaRank #177 · 13.7K reputationPosted Apr 16, 2024, 7:45 AM EDT
Hello Ramco,
It will give the empty result set.