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 are two statement types in sql?
what is column? : Sql dba
What is sql and also describe types of sql statements?
What are the uses of merge?
what is blob? : Sql dba
What is nvarchar max in sql?
What is exit statement?
What are the dml statements?
What is record in pl sql?
Can we create foreign key without primary key?
what is a database lock ? : Sql dba
what is the difference between join and union? : Sql dba
Can we insert data in view?
How to change the order of columns in Oracle SQL Plus ?
How many joins can you have in sql?