a what is a viewb what is the implication of


(a) What is a view?

(b) What is the implication of creating a view with the select * statement in the view definition?

(c) Make reference to the relational schema given in Appendix I to answer this question. Create a VIEW called SALARY_VU based on the employee last names, first names, department names and salaries for those employees whose monthly salary is greater than 10000. Label the column Employee Last Name, Employee First Name, Department and Salary respectively. Make sure to encrypt the view.

(d) Explain the purpose of an Outer Join.

(e) In the HR schema given in the Appendix II, there are certain employees who are not assigned to any department and there is a few departments where no employee has been assigned yet.

(i) Write SQL code to display the employee Last name, the department_id and the department name for all employees. Your answer should display even those employees who have not been assigned to any departments.

(ii) Write SQL code to display the employee Last name, the department_id and the department name for all employees. Your answer should display even those departments which have no employee assigned to the departments.

Request for Solution File

Ask an Expert for Answer!!
Software Engineering: a what is a viewb what is the implication of
Reference No:- TGS0358792

Expected delivery within 24 Hours