how to get the no employee in each department including the
dept which has 0 employee
Answer Posted / mahesh madala
select d.deptno,count(ename)no_of_emps from emp e,dept d
where d.deptno = e.deptno(+)
group by d.deptno
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is the use of triggers in Java program? I mean where do we use triggers in Java programming?
What are the different types of failures that occur in Oracle database?
Assuming that you are an End User How to find that in the payment Batch some of the Invoice was Missing To pay How to find That??
How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?
Can we insert data in view oracle?
What is system global area (sga) in oracle?
how can db_files > maxdatafiles since db_files is for instance and the later is for database
How to export data to a csv file?
How to bring a tablespace offline?
What is integrity and what is constraint??Explain with example
What is archive log in Oracle?
How to define a variable of a specific record type?
How to start instance with a minimal initialization parameter file?
Can we write insert statement in function in oracle?
How to use fetch statement in a loop?