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...

Q1.all the depts which has more then 10 empls?
Q2.all the dept which does not have any emply?
Q3 all the emp which does not have any dept?
Q4 get all the emply detais with the dept details it dept is
exit otherwise any emp details?
Q5 how to debugg the dynamic sql and packages?











Answer Posted / ramya pisharody

Ans-1:

SELECT DEPTNO, COUNT(*) FROM EMP
GROUP BY DEPTNO
HAVING COUNT(*)>10;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is your daily office routine?

2329


Is primary key always clustered index?

1081


what is dbms? : Sql dba

1048


Is inner join faster than left join?

1265


Can we rollback truncate?

1059


how to escape special characters in sql statements? : Sql dba

1097


how to start mysql server? : Sql dba

1249


what is bcp? When does it used? : Sql dba

1040


What is the best sql course?

1031


Do we need to rebuild index after truncate?

1114


what is sql server agent? : Sql dba

1162


what is collation? : Sql dba

1211


How do I remove duplicates in two columns?

1163


What is the current version of sql?

1082


how many tables will create when we create table, what are they? : Sql dba

1129