Answered step by step
Verified Expert Solution
Question
1 Approved Answer
/ * These tasks are done in court database, which you can download from Moodle. Write you SQL code right after each task. You must
These tasks are done in "court" database, which you can download from Moodle.
Write you SQL code right after each task.
You must use the type of SQL command that is demanded. For example, using joins instead of subqueries
when subquery is expected, gives point.
Each task gives you point, points total.
Task Use Subqueries: Find the names of employees firstname, lastname who work in the IT department.
Your SQL here
Task Use Subqueries: List the projects projectname located in the same city as the IT department.
Your SQL here
Task Use Subqueries: Find the projects projectname with more than total hours worked by employees.
Your SQL here
Task : Use Subqueries List the employees firstname, lastname who have the highest salary within their department.
Your SQL here
Task Use Subqueries: Find all persons who have worked on at least one project located in HELSINKI.
Your SQL here
Task Use Window Function: Calculate the average tax rate for employees who have a degree BAMSc or PhD
Your SQL here
Task Use Window Function: Rank employees by salary within each department
Your SQL here
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