Write a stored procedure for emplpoyee and department table
to get DeptName which having no employee.
Table Structure-
Emp-Emp_Id,Emp_Name,Dept_id
Dept-Dept_Id,Dept_Name
Answer Posted / vinoth kumar
select * from department where Dept_id
not in(select Dept_id
from employee)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why I am getting this error when dropping a database in ms sql server?
What is indexed view?
What is tempdb in sql server?
What is in place upgrade in sql server?
Determine when to use stored procedure to complete sql server tasks?
what is a transaction and what are acid properties? : Sql server database administration
Explain having clause?
How do database indexes work?
What is the difference between local and global temporary tables?
Why would you call update statistics?
What is field in algebra?
How can we check the sql server version?
How to optimize stored procedure optimization?
What do you understand by mirroring and mention the advantages of the mirroring?
What is unpivot?