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

SELECT EMP_NO,EMP_SAL
FROM EMP_TAB
WHERE EMP_NO=&EMP_NUM
GROUP BY EMP_NO
HAVING EMP_SAL > AVG(EMP_SAL)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cte sql?

994


How do I write a sql query in pgadmin 4?

983


How do you use join?

941


What is the basic structure of an sql?

1098


What is lexical units in pl sql?

1146


What is pl sql script?

1031


What is offset and limit in sql?

1058


Define the select into statement.

1056


what is view? : Sql dba

959


Define select, insert, create, delete, update, drop keywords

1048


What is set serveroutput on in pl sql?

1296


What is data type in database?

992


How many databases can sql express handle?

984


What sql does db2 use?

980


What are the ways on commenting in a pl/sql code?

1134