Create view for following.
i. View (student_info) for student table(exp no:2) containing studentNo, studentName, department, address
ii. View (student_mark) for student table(exp no:2) containing studentNo, studentName, maths, physics, chemistry, cProgramming.
iii. Display the studentNo, studentName, totalMarks, address from student_info view and student_mark view without referring student table.
iv. Create a view (emp_dept) for exp no:3 containing employee name and department name. (NULL values are expected in the department name field for the employees having invalid department numbers).
v. Find the name of employees having invalid department numbers by referring the emp_dept view.
No comments:
Post a Comment