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

From an Employee table, how will you display the record
which has a maximum salary?

Answer Posted / hari

select max(sal) from employee;
or
select * from employee where sal in(select max(sal) from employee);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a database event trigger?

1211


What is sql and db2?

1054


What is trigger types in sql?

1044


Is it possible to pass parameters to triggers?

1161


What is an escape character in sql?

1073


What is the difference between sql and mysql?

1179


What does rownum mean in sql?

1090


Is oracel sql developer written in java?

1169


What is the difference between partitioning and sharding?

1051


What is raw datatype in sql?

1106


What is set transaction?

1090


What is lookup table in sql?

1092


how to get a list of indexes of an existing table? : Sql dba

1006


Can we use rowid as primary key?

1044


Explain correlated query work?

1107