3. List all the details of the projects that are from department "IT Transformation" and list the projects in the reverse alphabetical order of project names (Hint: The list of department names can be found in "Department" table) 4. List the unique project numbers that have employees Working On those projects for 10, 14, 18, 22, 27.5, 33 or 36 hours in a week. (Hint: Use the keyword IN.) 5. List the unique First Names of female employees who have been designated as 'Staff'?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
Please do NOT answer the question. Just tell me what I would put into the SQL query for each (if applicable)
3. List all the details of the projects that are from department "IT Transformation" and list the
projects in the reverse alphabetical order of project names (Hint: The list of department
names can be found in "Department" table)
4. List the unique project numbers that have employees Working On those projects for 10, 14,
18, 22, 27.5, 33 or 36 hours in a week. (Hint: Use the keyword IN.)
5. List the unique First Names of female employees who have been designated as 'Staff'?
6. List the many unique employees who have either worked on projects named
Technological Disruption' OR 'Conference and Publications'?
7. List the unique employee IDs/Essns of all employees who have daughters named Alexandra
born after 2000. (note: empNo refers to empNo in Employee Table). Arrange the employee
numbers in decreasing order.
8. What are full names and addresses of female employees whose position has been classified as
'Manager'? Order the names in the ascending order of first and then last names.
Transcribed Image Text:3. List all the details of the projects that are from department "IT Transformation" and list the projects in the reverse alphabetical order of project names (Hint: The list of department names can be found in "Department" table) 4. List the unique project numbers that have employees Working On those projects for 10, 14, 18, 22, 27.5, 33 or 36 hours in a week. (Hint: Use the keyword IN.) 5. List the unique First Names of female employees who have been designated as 'Staff'? 6. List the many unique employees who have either worked on projects named Technological Disruption' OR 'Conference and Publications'? 7. List the unique employee IDs/Essns of all employees who have daughters named Alexandra born after 2000. (note: empNo refers to empNo in Employee Table). Arrange the employee numbers in decreasing order. 8. What are full names and addresses of female employees whose position has been classified as 'Manager'? Order the names in the ascending order of first and then last names.
2) On the following database schema, compose SQL SELECT statements to answer the 8 question
listed below.
Employee (empNo, firstName, lastName, address, DOB, sex, position, deptNo)
Department (deptNo, deptName, mgrEmpNo)
Project (projNo, projName, deptNo)
WorksOn (empNo, projNo, hoursWorked)
Dependent (empNo, Dependent name, Sex, Bdate, Relationship)
NOTE 1: You can try the query on Azure Data Studio (Login Open a new Query Use
EmployeeDatabase;)
NOTE 2: An employee always belongs to a single department. However, she/he can work for
projects originating from other departments too.
Transcribed Image Text:2) On the following database schema, compose SQL SELECT statements to answer the 8 question listed below. Employee (empNo, firstName, lastName, address, DOB, sex, position, deptNo) Department (deptNo, deptName, mgrEmpNo) Project (projNo, projName, deptNo) WorksOn (empNo, projNo, hoursWorked) Dependent (empNo, Dependent name, Sex, Bdate, Relationship) NOTE 1: You can try the query on Azure Data Studio (Login Open a new Query Use EmployeeDatabase;) NOTE 2: An employee always belongs to a single department. However, she/he can work for projects originating from other departments too.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY