Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


With out using count() function. How to the find total
number of rows in a table?

Answers were Sorted based on User's Feedback



With out using count() function. How to the find total number of rows in a table?..

Answer / subbarayulu neela

select max(rownum) from table-name;

Here rownum is a keyword which can gives unique number for
individual rows.

Is This Answer Correct ?    35 Yes 2 No

With out using count() function. How to the find total number of rows in a table?..

Answer / saurabh

select sum(1) from table-name

Is This Answer Correct ?    26 Yes 4 No

With out using count() function. How to the find total number of rows in a table?..

Answer / manjunath u

rownum is one of the option, can deal with sequence also

Is This Answer Correct ?    4 Yes 2 No

With out using count() function. How to the find total number of rows in a table?..

Answer / ramaraju

select max(rownum) from table_name;

Is This Answer Correct ?    0 Yes 0 No

With out using count() function. How to the find total number of rows in a table?..

Answer / balaji g

please help me query answare

Is This Answer Correct ?    7 Yes 9 No

With out using count() function. How to the find total number of rows in a table?..

Answer / ramachandran

select rownum from tablename;

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

Can we use ddl commands in pl sql?

0 Answers  


Are subqueries better than joins?

0 Answers  


If you want a column to be part of the result set, after which SQL keyword does it belong? 1. SELECT 2. FROM 3. WHERE 4. GROUP BY 5. HAVING

10 Answers   HCL, TCS,


What is a primary key? Explain

0 Answers  


How can you create an empty table from an existing table?

0 Answers  


What are the types of join and explain each?

0 Answers  


How do I turn a list into a table?

0 Answers  


Is inner join same as self join?

0 Answers  


can sql servers linked to other servers like oracle? : Sql dba

0 Answers  


What is pl/sql language case sensitive?

0 Answers  


What is attribute indicator in pl sql?

0 Answers  


what are Dynamic SQL statements?

9 Answers  


Categories