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

query to retrive the employees whose sal is greater than avg
sal

Answer Posted / shiva

select e.* from emp e where e.sal>(select avg(sal) from emp);

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rollback?

1185


What is the order of sql select?

1088


Can we have two clustered index on a table?

1079


What is pls integer?

1091


Explain some predefined exceptions.

1093


How do you select unique values in sql?

1048


What are different joins used in sql?

1107


Write a sql query to find the names of employees that begin with ‘a’?

1057


How to order siblings in oracle hierarchy queries?

1111


What are sql*plus environment variables?

1155


How to run pl/sql statements in sql*plus?

1146


How do you drop a trigger?

1037


What is data types in sql?

1070


What is the difference between nested table and varray?

1052


What is the difference between local and global temporary table?

1088