What does “select count(*) from tab” result?
Answers were Sorted based on User's Feedback
Answer / rahul koshti
This results the total count of tables,views,synonyms and
sequences present in a schema.
| Is This Answer Correct ? | 19 Yes | 3 No |
Answer / ashwin
No of tables and views in schema...........i've tasted
it........
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / deepshikha
it will result the count of TABLE,CLUSTER,VIEW,SYNONYM
in given schema
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / nisha
This results the total count of tables,views,synonyms
present in a schema.
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / umesh h
suppose a table is there with the name tab
then count of rows in that table will be displayed.
else count of all the logical objects under one schema
will be displayed.
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / shanmukha srinivas
select count(*) from tab --it's gives total no of tables only ....not gives
sequence,cluster,views....etc
ok understand.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / brajesh kr.
select count(1) from table. will return values without null
values. count(*) will return values aceept null also.
| Is This Answer Correct ? | 0 Yes | 2 No |
What is the purpose of the primary key?
What are the benefits of using PL/SQL packages?
Can any one tell me how to increase the performance of a sql query ie what are the performance tips in creating or writing a sql query !!?
What is sqlca in powerbuilder?
How does pl sql work?
What is scalar function?
what is sub-query? : Transact sql
Does truncate need commit?
What is use of package in pl sql?
what is 'trigger' in sql? : Sql dba
How do I install sql?
When are we going to use truncate and delete?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)