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

What are the advantages of pl sql?

596


Explain how can you save or place your msg in a table?

591


What is consistency?

705


Can we use delete in merge statement?

512


What is minus?

541






What are the dml statements?

682


what are the different functions in sorting an array? : Sql dba

579


What is sql performance tuning?

490


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

489


What is full join in sql?

518


Write a query to find the names of users that begin with "um" in sql?

498


What operators deal with null?

605


what are the different type of normalization? : Sql dba

550


What is dynamic query?

537


Describe types of sql statements?

543