Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
a To find the tax codes names and surnames of the head of division in Development where there is an ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started