use EMP and DEPT tables, in the Live SQL, to perform the following operations. List the Departments's Names that have no employees solution: select de.DNAME Department_Name, count(em.EMPNO) No_Of_Employees from SCOTT."EMP" em,SCOTT."DEPT" de where em.DEPTNO = de.DEPTNO group by de.DNAME;
use EMP and DEPT tables, in the Live SQL, to perform the following operations. List the Departments's Names that have no employees solution: select de.DNAME Department_Name, count(em.EMPNO) No_Of_Employees from SCOTT."EMP" em,SCOTT."DEPT" de where em.DEPTNO = de.DEPTNO group by de.DNAME;
Chapter6: Updating Data
Section: Chapter Questions
Problem 12SCG
Related questions
Question
use EMP and DEPT tables, in the Live SQL, to perform the following operations.
List the Departments's Names that have no employees
solution:
select de.DNAME Department_Name, count(em.EMPNO) No_Of_Employees from SCOTT."EMP" em,SCOTT."DEPT" de where em.DEPTNO = de.DEPTNO group by de.DNAME;
i need it using NVL function.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr