without using count(*) and rownum how can we count total
record in a table

Answer Posted / ganesh prasad sial

select sum(1) from emp;

Is This Answer Correct ?    38 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define an oracle cursor variable?

569


hello friends Im doing my final year engineering in B.Tech.. one of uncle said he can provide job in his company if im good in database management. but i have only basic knowledge about database, so like to join database management course in good intuition. so friends kindly help me to get good intuition because its my future.

1758


What is oracle open database communication (odbc)?

561


How to sort output in descending order in oracle?

578


How to create a table index?

568






What would you do with an in-doubt distributed transaction?

1470


How to use attributes of the implicit cursor in oracle?

565


defination of bitmap index

1631


What happens if you lost a data file?

584


What do you mean by merge in oracle and how can you merge two tables?

527


What is an oracle function?

600


Can sub procedure/function be called recursively?

541


What are joins, explain all types of joins?

1724


WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?

1804


What is the dynamic sql in oracle?

601