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 / swapna

select ename from emp where sal>(select avg(sal) from emp);

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between stored procedure and view?

1020


What is column?

996


How sql query is executed?

1136


How many triggers can be applied to a table?

1067


How do you add a column to a table?

1056


what is an alias command? : Sql dba

1118


What is difference between hql and native sql?

1177


Write a query to find the names of users that begin with "um" in sql?

999


Why is sharding used?

1004


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

1119


What are tables and fields?

1039


Is there any restriction on the use of union in embedded sql?

1160


Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?

1039


How to convert comma separated string to array in pl/sql?

1188


What is materialized view in sql?

925