Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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-)

image text in transcribed 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

5. Wyeth Pharmaceuticals

Answered: 1 week ago