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 meaning of <> in sql?
Can you skip header records while loading? : aql loader
What are the advantages of indexing?
What is exit statement?
Is ms sql traffic encrypted?
What are the types of functions in sql?
What is pivot in sql?
what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba
What does joining a thread mean?
What are three advantages to using sql?
how to convert character strings to numeric values? : Sql dba
what are the types of subquery? : Sql dba
Explain lock escalation? : Transact sql
how to create a test table in your mysql server? : Sql dba
What is the primary key?