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 query cache in mysql? : Sql dba
Why stored procedure is better than query?
What do you mean by “trigger” in sql?
what is self join and how it works??
Does truncate require commit?
How to display the contents of a current record fetched in a reference cursor?
How to select 10 records from a table?
What is natural join in sql?
What are crud methods?
What are the 3 modes of parameter?
How long does it take to learn pl sql?
Which is better trigger or stored procedure?
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)