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

What is sql keyword?

1047


how many sql dml commands are supported by 'mysql'? : Sql dba

1169


What is information schema in sql?

1119


Is oracel sql developer written in java?

1170


how many groups of data types? : Sql dba

1078


Does truncate table reset auto increment?

1051


What is normalisation in sql?

1101


what is a primary key? : Sql dba

1088


How do you clear the screen in sql?

1124


What is the difference between a primary key and a clustered index?

1037


When can we use the where clause and the having clause?

1087


What is a pragma statement?

1337


Which is faster count (*) or count 1?

1089


What is difference between table and view?

1140


What is embedded sql what are its advantages?

1108