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...

How to find out the second largest element from mysql table

Answer Posted / lekhraj deshmukh

select marks from tbl_data where marks<(select max(marks)
from tbl_data) order by marks desc limit 1;

Is This Answer Correct ?    21 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is not null in mysql?

1034


How many primary keys can be there in a table?

1030


How to create trigger in mysql phpmyadmin?

1180


Create table employee (eno int(2),ename varchar(10)) ?

1050


What is a scalar function?

1041


Why use mysql procedures?

1024


What does blob mean in mysql?

1011


Can you tell few best practices to be followed for optimization in sql?

973


How to show table structure mysql?

1057


What is the limitation of mysql?

1012


Is mongodb faster than mysql?

992


Why myisam is faster than innodb?

991


why not null is not allowed at table level

2807


How do I copy a table in mysql workbench?

937


Is mysql same as sql?

937