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

write a query to find out the no. of employees whose age is
less than 25 and max of salary for the employees belonging
to a particular department is less than 20000

Answer Posted / priya

select dept,count(emp) from employee where age <25 and max
(sal) <20000 group by dept.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I make sql search faster?

997


what is a composite primary key ? : Sql dba

1052


Describe types of sql statements?

1058


Why commit is not used in triggers?

1040


What is difference between mysql and postgresql?

1156


Where is sql database stored?

983


How can we find duplicate records in a table?

948


Is sql a scripting language?

1017


Define sql delete statement.

1016


What is a trigger in sql?

1204


What are the types of views in sql?

1103


What is the purpose of cursors in pl/sql?

1136


What are %type and %rowtype for?

1052


Does view store data in sql?

969


How does an execution block start and end in pl sql?

950