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
Differentiate pl/sql and sql?
define sql delete statement ? : Sql dba
Does sql profiler affect performance?
What is before and after trigger?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
Mention what is the function that is used to transfer a pl/sql table log to a database table?
Explain raise_application_error.
what is a tablespace? : Sql dba
Is a foreign key always unique?
What is the meaning of disabling a trigger?
which tcp/ip port does sql server run on? : Sql dba
What is nosql vs sql?
What is mutating table error?
What are the different types of sql commands?
what is online transaction processing (oltp)? : Sql dba