What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table
Answer Posted / malathi
Both the Queries will return the same ouput.
That means it will return all the rows that are available
in the table.
Is This Answer Correct ? | 45 Yes | 3 No |
Post New Answer View All Answers
What is an entity-relationship diagram (erd)?
Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?
Does an index slow down updates on indexed columns?
How does using a separate hard drive for several database objects improves performance right away?
Explain how to maintain a fill factor in existing indexes?
Explain Reporting Life Cycle?
What are the underflow and overflow behaviors on float literals?
How do use Having,Group by,Group function in SQL?
What are the new features of sql server 2012 reporting service?
Explain log shipping and mention its advantages.
What are entities and relationships?
How to use copy and concatenate commands in SQL?
What are the Advantages of using CTE in sql server?
What is thr feature of change data capture?
How to find Duplicate Records In table?