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 plpgsql language?

980


what are string data types? : Sql dba

977


What is pl/sql table? Why it is used?

993


explain the difference between bool, tinyint and bit. : Sql dba

939


Explain autonomous transaction.

1096


Explain the working of primary key?

1040


How do I run a pl sql program?

1066


What is error ora-01000: maximum open cursors exceeded

1071


What is a function in oracle pl sql?

978


How to convert comma separated string to array in pl/sql?

1114


How to get each name only once from an employee table?

1067


Describe types of sql statements?

997


what is myisam? : Sql dba

1001


Can sql function call stored procedure?

959


Does sql full backup truncate logs?

969