Answered step by step
Verified Expert Solution
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
- 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 includes science. (1mark)
- For each qualification, show the total number of employees that have that qualification. Show qualification id and total only. (1mark)
- 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
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