Question 4
Consider the schema given below :
Emp (eid, ename, age, salary)
Works (eid, did, pct_time)
Dept (did, budget, managerid)
Identify the correct SQL command to create a view named, EMPLOYEE, by selecting attributes like eid, salary, and managerid. Select those employees whose salary is greater than 1,00,000 and are atleast 45 years old.