Given the following database representation: WorksOn Database: Note: Using the description provided above, answer the fo

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Given the following database representation: WorksOn Database: Note: Using the description provided above, answer the fo

Post by answerhappygod »

Given the following database representation:
WorksOn Database:
Note:
Using the description provided above, answer the followingquestions:
A. What does the following SQL query do/ return?
SELECT ename
FROM employees
WHERE deptno = 'D1'
ORDER BY salary DESC
B. In the above (WorksOn) database, create a list of allsecondary/foreign keys, the table name where each of thesekeys belongs, and which primary key each secondary key referencesin the other table (state the other table name), in youranswer follow the format in the example below:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply