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 / vikneswaran thangarasu

Ignore my previous post. it is wrong.

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

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why indexing is needed?

991


Can we create view in stored procedure?

978


how to increment dates by 1 in mysql? : Sql dba

979


What is crud stand for?

998


What does pragma mean?

1060


What is normalization? How many normalization forms are there?

1089


What are data types in pl sql?

1146


Can unique keys be null?

915


What is a join?

1072


What are different joins used in sql?

1058


How to process query result in pl/sql?

1132


How sql query is executed?

1136


What is the function that is used to transfer a pl/sql table log to a database table?

1026


Define concurrency control. : Transact sql

1193


How can triggers be used for the table auditing?

1070