Posted on : 01-07-2011 | By : Devi Prasad | In : Puzzles
What is the output of each statement in the below query:
SELECT 1 WHERE NULL = NULL
SELECT COUNT(C1) FROM (SELECT 'A' AS C1 UNION ALL SELECT 'B' UNION ALL SELECT NULL) T
Please provide your comments.
Reference : Devi Prasad (sqlserverlearner.com
Do you like my blog?
If you liked reading this blog, please help spread the word by sharing this blog with your friends.
Need Help On SQL Server?
Cannot Find Solution to your problem (or) If you are looking for some help on SQL Server. Dont worry Click Here to Post your question and solve your issue.