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 |
Create a procedure to delete certain records from a table and display the total number of records deleted in this process. (Condition for deletion can be of ur choice, for instance delete all records where eid='')
What is left join in sql?
What are the Diff B/W Cursor and REF Cursor
Why we use join in sql?
how can we find the select statement is indexed or not?
how are mysql timestamps seen to a user? : Sql dba
Explian rowid, rownum?
what is try_catch block in procedure
What is the difference between function, procedure and package in pl/sql?
select * from emp where sal in(select max(sal) from emp) here there is any limit for in operator how many values accpect ?
how to write date and time literals? : Sql dba
Can a commit statement be executed as part of a trigger?
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)