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

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

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is keyword pl sql?

1057


how to add a new column to an existing table in mysql? : Sql dba

1115


Why use truncate instead of delete?

1074


What is a natural join sql?

1040


How do you create a db file?

1070


what does the t-sql command ident_incr does? : Transact sql

1126


What is difference between sql and mysql?

1198


When is the update_statistics command used?

1182


How do I count rows in sql query?

1043


Why function is used in sql?

992


What is the maximum rows in csv?

978


What is the starting oracle error number?

1101


What is information schema in sql?

1119


Name some usages of database trigger?

1087


What is the requirement of self-join?

1211