What does “select count(1) from tab” result?

Answers were Sorted based on User's Feedback



What does “select count(1) from tab” result?..

Answer / gourvendra singh

select count(1) from tab will give the total number of
tables,views and synonms present in the current schema.

Is This Answer Correct ?    61 Yes 6 No

What does “select count(1) from tab” result?..

Answer / vishnu

SELECT COUNT(1) FROM TAB

ANS:It gives the total number of tables,views,synonyms
present in that schema.

Is This Answer Correct ?    23 Yes 2 No

What does “select count(1) from tab” result?..

Answer / prerna

If tab is table name then it gives total no of rows present
in that table.

Is This Answer Correct ?    9 Yes 7 No

What does “select count(1) from tab” result?..

Answer / sunil

Tab is system view which will provide you the list of
table,view,cluster,synonym in the current schema .

Is This Answer Correct ?    1 Yes 0 No

What does “select count(1) from tab” result?..

Answer / guest

it results out the count of record in the table result

Is This Answer Correct ?    1 Yes 1 No

What does “select count(1) from tab” result?..

Answer / 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

What does “select count(1) from tab” result?..

Answer / phani

It returns the count of all tables for that user.

Is This Answer Correct ?    1 Yes 6 No

What does “select count(1) from tab” result?..

Answer / indrajeet kumar

SELECT COUNT(1) FROM TAB

RESULT IS 91

Is This Answer Correct ?    2 Yes 17 No

What does “select count(1) from tab” result?..

Answer / ali

A column function does not use any column name.

Is This Answer Correct ?    3 Yes 20 No

What does “select count(1) from tab” result?..

Answer / mahi

It will give the latest row of the table.

Is This Answer Correct ?    2 Yes 51 No

Post New Answer

More SQL PLSQL Interview Questions

Explain what is an index?

0 Answers  


How can the performance of a trigger be improved?

0 Answers  


Does truncate free space?

0 Answers  


What do you understand by pl/sql records?

0 Answers  


what are %TYPE and %ROWTYPE? what is the difference?

7 Answers   ICICI, Saama Tech, Sail,






Does pl/sql support create command?

0 Answers  


What is pl sql script?

0 Answers  


1. how to use the check option constraints in sql query..? 2.how to add data in a complex query ? 3.is it possible to use commit or rollback or savepoint in triggers...if not why please explain with examples...? 4.what is the difference between meterialized view and normal view..how to create materialized view and how to use it..? 5.what is varray...? what is the advantage of the varray ? please expalin with a simpel example..i want to load into a table (student no and name and his marks..) please give example.. 6.what are the bulk bind exceptions...how to use bulk bind and how to use bulk collect..please explain with example... 7.what is for update of and where current of ...? 8 what is the use of nowait ? 9.please give an example for nocopy in a simple plsql query 10.create an index in a table...tellme how to use the index in a where clause to do performance tunning...

3 Answers   Satyam,


How do I run a sql script?

0 Answers  


What is string data type in sql?

0 Answers  


What is sql prepared statement?

0 Answers  


What are character functions?

0 Answers  


Categories