Question: Basi di Dati - Modulo 1 10 gennaio 2023 (esame del 22 marzo 2022) 1) Consider the following database of a given company EMPLOYEE(TaxCode,

Basi di Dati - Modulo 1 10 gennaio 2023 (esame del 22

Basi di Dati - Modulo 1 10 gennaio 2023 (esame del 22 marzo 2022) 1) Consider the following database of a given company EMPLOYEE(TaxCode, Code, Name, Surname, BirthDate, Appointment Date, Role, Division) DIVISION (CODE, Function, Head Division) PROJECT(CODE, Title) PARTICIPATION (EmpCode, ProjCode, StartDate, EndDate) NOTE: EMPLOYEE.Division refers to a value in DIVISION.Code EMPLOYEE.Role can take values "Technician", "Admin", "Head of Division" DIVISION.Head Division refers to a value in EMPLOYEE.Code DIVISION.Function can take values "Customer Care", "Development", "Accounting" PARTICIPATION.EmpCode refers to a value in EMPLOYEE.Code PARTICIPATION.ProjCode Refers to a value in PROJECT.CODE PARTICIPATION.StartDate and PARTICIPATION.EndDate are the starting and ending dates, respectively, in which an EMPLOYEE participated in a project. All dates are in the format YYYY-MM-DD a) Find the tax codes, names and surnames of the head of division of "Development" in which there is some EMPLOYEE involved in the project "SUPERCAR" b) Find the tax codes, names and surnames of the employees that joined the project "CASAMIA" as last.

Step by Step Solution

3.55 Rating (172 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a To find the tax codes names and surnames of the head of division in Development where there is an ... 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 Programming Questions!