adspace


How do u count no of rows in a table?

Answer Posted / bolearner

There are 2 ways used to find the row count of any table.

SELECT COUNT(*) FROM EMP;

SELECT TABLE_NAME, NUM_ROWS FROM USER_TABLES WHERE TABLE_NAME='EMP';

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does group by remove duplicates?

1120


what are aggregate and scalar functions? : Sql dba

1142


what is schema? : Sql dba

1163


What is the best sql course?

1062


Can delete statement be rollbacked?

1065


what is collation? : Sql dba

1242


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2099


how to start mysql server? : Sql dba

1279


what is dbms? : Sql dba

1070


what are all the common sql function? : Sql dba

1141


Can we rollback truncate?

1083


If a cursor is open, how can we find in a pl/sql block?

1252


Is primary key clustered index?

1026


Is inner join faster than left join?

1287


What is the current version of sql?

1106