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

how tsql statements can be written and submitted to the database engine? : Transact sql

1035


Explain spool.

1219


What is difference between sql function and stored procedure?

1063


What is natural join in sql?

1044


What can I use instead of union in sql?

1022


Enlist the characteristics of pl/sql?

1844


Explain what is an index?

1104


What is optimistic concurrency control? : Transact sql

1029


How do I write a cron which will run a sql query and mail the results to agroup?

1029


What does the base_object_type column shows in the user.triggers data dictionary view?

1096


What is error ora-12154: tns:could not resolve the connect identifier specified?

1123


what is “go” in t-sql? : Transact sql

1155


What does the hierarchical profiler does?

1126


What are the different sql commands?

1126


How do I count rows in sql?

1049