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 cursor and its types?
What are different types of statements supported by sql?
In what condition is it good to disable a trigger?
Explain what is table in a database?
how to create a test table in your mysql server? : Sql dba
Explain isolation levels. : Transact sql
Explain foreign key in sql?
How to disable a trigger name update_salary?
How to pipe multiline string to isql?
What is database sql?
What is data abstraction in sql?
Can we use commit inside a trigger?
what is data control language? : Sql dba
What do you mean by rowid?
define sql insert statement ? : Sql dba