Answered step by step
Verified Expert Solution
Link Copied!

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,

image

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

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

Alcohol and drug use among student athletes

Answered: 1 week ago