How do u count no of rows in a table?

Answer Posted / prakash kumar

select max(rownum)from table_name;
this will also give number of rows in your table

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is raid? How does it help storage of databases?

696


How to look at the current sql*plus system settings?

682


What are the triggers associated with image items?

718


How does a covering index work?

609


what are the drivers in mysql? : Sql dba

644






what are myisam tables? : Sql dba

625


What is a null value?

726


Which one is better sql or oracle?

602


What are the syntax and use of the coalesce function?

659


What is a heap in sql?

623


what is a primary key? : Sql dba

650


How to run sql*plus commands in sql developer?

689


What is the difference between cluster and non-cluster index?

716


i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5

3408


What are the 3 modes of parameter?

793