Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the Database in Appendix (you can tear off the Appendix page for easier viewing) and write the following SQL queries 3. Show the entire

Consider the Database in Appendix (you can tear off the Appendix page for easier viewing) and write the following SQL queries

3. Show the entire information about all departments and the name of the manager who manages these departments.

4. Show the first and last name of those employees who make more than 40,000

5. Show the entire information about the employees but sorted in an order such as highest paid employee is in the first row and lowest in the last

APPENDIX

image text in transcribed

DEPENIDANT \begin{tabular}{ccccc} ESSN & DEPENDENT NAME & SEX & BDATE & RELATIONSHIP \\ \cline { 2 - 5 } 333445555 & Alice & F & 4/5/1986 & Daughter \\ 333445555 & Theodore & M & 10/25/1983 & Son \\ 333445555 & Joy & F & 5/3/1958 & Spouse \\ 987654321 & Abner & M & 2/28/1942 & Spouse \\ 123456789 & Michael & M & 1/4/1988 & Son \\ 123456789 & Alice & F & 2/12/1988 & Daughter \\ 123456789 & Elizabeth & F & 6/5/1967 & Spouse \end{tabular} EMPLOYEE DEPARTMENT

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

Beyond Greed And Fear Understanding Behavioral Finance And The Psychology Of Investing

Authors: Hersh Shefrin

1st Edition

0195161211, 978-0195161212

Students also viewed these Databases questions