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

what is a stored procedure? : Sql dba

1140


What is pl sql variable?

998


Is trigger a stored procedure?

938


how to check server status with 'mysqladmin'? : Sql dba

1084


Why is pl sql used?

990


How to find 3rd highest salary of an employee from the employee table in sql?

1083


What is rename in sql?

979


How do you go back in sql?

993


What is a native sql query?

1081


What is the difference between in and between in sql?

1068


What is a database trigger?

1073


what is the difference between delete and truncate statement in sql? : Sql dba

1251


What does select count (*) mean in sql?

1022


How many sql statements are used?

1018


Can I call a procedure inside a function?

1016