What does “select count(1) from tab” result?
Answer Posted / rutujagabhane
select* from tab; gives you the o/p as a table containing rows and columns. The rows contain the name of table ,select count(1) from tab returns the no or rows in tab .
Indirectly the statement returns no of tables in tab;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?
What is t sql in sql server?
Is delete faster than truncate?
How do I debug a stored procedure?
Differentiate pl/sql and sql?
What is having clause in sql?
What is sqlca in powerbuilder?
How many rows can sqlite handle?
What is the difference between the conventional and direct path loader? : aql loader
How to read/write files from pl/sql?
What is trigger explain it?
How many indexes can be created on a table in sql?
Explain locks? : Transact sql
How do I add a primary key to a table?
What are the query optimization techniques?