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 / sivaram pothuru
select * from emp full join dept on emp.deptno=dept.deptno
where empno is null;
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
State the difference between local and global temporary tables?
How to create an inline table-valued function?
What is tempdb in sql server?
what are the new features in SSRS?
What do you mean by authentication modes in sql server?
List layers of abstraction microsoft architectured to provide relational db through cloud platform ?
What is the difference between TRUNCATE and DROP?
What is database isolation in sql server? : sql server database administration
What is the purpose of self join?
When we should use and scope of @@identity?
Can coalesce return null?
What do you mean by an execution plan?
What is the use of for clause?
If we delete pack Spec what will be the status of pack Body ?
What are the benefits of filtered indexes?