what is the out put of below queries?
a. select * from Emp where null = null;
b. select * from Emp where 1=1;
Answer Posted / anil patel
a. select * from Emp where null = null;
null= null is always false os no rows returns.
b. select * from Emp where 1=1;
it returns all rows
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
How to add more data to the testing table in ms sql server?
What is difference between inner join and join?
What is user-defined scalar function?
Name the different type of indexes in sql?
What are the character string functions supported by sql server 2005?
What is side by side migration in sql server?
Write a query to find 5th highest amount paid from the customer table.
How do you delete duplicate records in sql server?
Define a cross join?
Explain about Joins?
What is normalization and its types?
What are the five major components of a dbms?
What happens if you add a new index to large table?
How to create a user to access a database in ms sql server using "create user" statements?
What is subquery? Explain the properties of a subquery?