Question: 1-) Write SQL code display the project names and duration days 2-)Write SQL code display all of the employee whose salary is the highest 3-)
1-) Write SQL code display the project names and duration days 2-)Write SQL code display all of the employee whose salary is the highest 3-) Write SQL code display the name and number of employee in each project 4-) Decrease the salary of the employee 1000 TL whose salary is the highest 5-) Delete record of the project(s) from tblPROJECT table whose startDate is in year 2015
B. (Total points: 30) There are 3 tables as described in Figure 1. tbIEMPLOYEE tblEMPPROJECT tbIPROJECT emplD empName job salary_In TL PID pName startDate endDate emplD plD Figure 1. Tables and relationship Content of the table tbIEMPLOYEE empID empName job salary_In TL yk Computer Engineer 10000 Electronics Engineer 7500 Grkem 3AycaIndustrial Engineer 11000 Mechanical Engineer 6000 Industrial Engineer 3000 4 Kaan 5 k Content of the table tbiPROJECT pID pName startDate endDate Mobile phone 2016.12.07 2018.05.24 2018.05.02 2019.07.01 2015.01.05 2019.03.05 Drone 3 Satellite Content of the table tblEMPPROJECT ID empID pID 2 3 5 6 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
