Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

List all the individual cities of employees. (1mark) List any employees who took leave on 2020-09-01. Show employee number only. (1mark) List the Qualifications which

image text in transcribed

  1. List all the individual cities of employees. (1mark)

  1. List any employees who took leave on 2020-09-01. Show employee number only. (1mark)

  1. List the Qualifications which includes science. (1mark)

  1. For each qualification, show the total number of employees that have that qualification. Show qualification id and total only. (1mark)

  1. List the employee names and all of the institutions that they have studied at. (2 marks)

2. The following is the relational schema of part of the database that Acme Pty Ltd recently implemented. In each relation, the primary key is underlined and foreign keys are made italic. EMPLOYEE (EmpNo, Name, Street, City, Postcode, HireDate, Salary, DeptNo) DEPARTMENT (DeptNo, Name, Location) QUALIFICATION (QualID, Qualification, Institution) EMP-QUAL (EmpNo, QualID) LEAVE (EmpNo, FromDate, ToDate)

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

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions