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
Define Unique Key?
What is the data tier application?
What are functions in the sql server?
What are the dmvs?
Can we take the full database backup in log shipping?
Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)
How do I create a trace in sql server?
Explain the relational database management system (rdbms)?
How are the exceptions handled in sql server programming?
Write a program using SQL queries to find a unique entry in a table.
Disadvantages of the indexes?
Explain the difference between HTTP and HTTPS in database?
Explain what are sparse columns?
Write a program to fetch first 10 records from a file?
Will sql server 2005 allow you to reduce the size of a column?