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 a data manipulation language?
what is bcp? When does it used? : Sql dba
What is difference between stored procedure and trigger?
Does pdo prevent sql injection?
Name the different types of indexes in sql and define them.
what are different types of collation sensitivity? : Sql dba
What are the differences between in and exists clause?
What is error ora-01000: maximum open cursors exceeded
What is rank function in sql?
How to run sql functions in pl/sql?
How do you declare a variable in pl sql?
What is benefit of creating memory optimized table?
What is pragma in pl sql?
List and explain the different types of join clauses supported in ansi-standard sql?
Can I create table without primary key?