Question: Create a View (V_EMP_DEPT_PROJ) statement that joins the EMPLOYEE and EMPPROJACT (join on EMPNO) and PROJECT table (join on PROJNO). Limit the view to contain

Create a View (V_EMP_DEPT_PROJ) statement that joins the EMPLOYEE and EMPPROJACT (join on EMPNO) and PROJECT table (join on PROJNO). Limit the view to contain :

o ID

o Name (FirstName and Lastname)

o WorkDept

o Salary

o ACTNO

o PROJNO

o PROJNAME

o Where Salary < 100000


ass6_tables.jpeg 

contacttype id INT(11) label VARCHAR(255) Indexes contact pid INT(11) ctid INT (11) value TEXT Indexes person id INT(11) firstname VARCHAR(255) lastname VARCHAR(255) dob DATE Omanagerid INT (11) notes TEXT created TIMESTAMP Indexes projectperson prid INT(11) pid INT(11) rid INT (11) Indexes role id INT(11) label VARCHAR(255) Indexes project id INT(11) label VARCHAR(255) budget DOUBLE Indexes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

CREATE VIEW VEMPDEPTPROJ AS SELECT KID AS ID CONCAT KFirstN... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!