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 pl sql block structure?
How do I install sql?
describe mysql connection using mysql binary. : Sql dba
Is sql a microsoft product?
Is drop table faster than truncate?
What is a heap in sql?
What are all the common sql functions?
how to calculate expressions with sql statements? : Sql dba
What is primary key and foreign key?
What are types of indexes in sql?
What is full join in sql?
What is a system versioned table?
Can we use views in stored procedure?
what is timestamp in mysql? : Sql dba
What are the sql versions?