Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the database for a company named Wedgewood Pacific Corporation (WPC) that contains data about company employees, department, projects, company assets, and other aspects of

Consider the database for a company named Wedgewood Pacific Corporation (WPC) that contains data about company employees, department, projects, company assets, and other aspects of company operations. For the following questions, two tables will be considered as provided below:

DEPARTMENT (DepartmentName, BudgetCode, OfficeNumber, Phone)

EMPLOYEE( EmployeeNumber, FirstName, LastName, Department, Phone, Email)

Dapartment Table:

image text in transcribed

Employee Table:

image text in transcribed

Using above tables, create SQL queries to answer the following questions:

a Display a list that presents the data contained in Department table sorted by Department Name in descending order.

b Display all of the data from both tables for Production department.

Subject Database design and development Please hurry i need it in 1 hour thanks

DepartmentName BudgetCode Office Number Phone Administration BC-100-10 BLDG01-300 360-285-8100 Legal BC-200-10 BLDG01-200 360-285-8200 Accounting BC-300-10 BLDG01-100 360-285-8300 Finance BC-400-10 BLDG01-140 360-285-8400 Human Resources BC-500-10 BLDG01-180 360-285-8500 Production BC-600-10 BLDG02-100 360-287-8600 BC-700-10 BLDG02-200 360-287-8700 Marketing InfoSystems BC-800-10 BLDG02-270 360-287-8800 EmployeeNumber FirstName [AutoNumber] Mary (AutoNumber] Rosalie [AutoNumber] Richard [AutoNumber] Tom (AutoNumber] Heather (AutoNumber] Mary [AutoNumber] George [AutoNumber] Tom (AutoNumber] George [AutoNumber] Ken [AutoNumber] James [AutoNumber] Rick LastName Department Phone Email Jacobs Administration 360-285-8110 Mary Jacobs@WPC.com Jackson Administration 360-285-8120 Rosalie Jackson@WPC.com Bandalone Legal 360-285-8210 Richard.Bandalone@WPC.com Caruthers Accounting 360-285-8310 Tom.Caruthers@WPC.com Jones Accounting 360-285-8320 Heather Jones@WPC.com Abernathy Finance 360-285-8410 Mary-Abernathy@WPC.com Smith Human Resources 360-285-8510 George.Smith@WPC.com Jackson Production 360-287-8610 Tom.Jackson@WPC.com Production 360-287-8620 George.Jones@WPC.com Marketing 360-287-8710 Ken.Numoto@WPC.com InfoSystems James.Nestore WPC.com Info Systems 360-287-8820 Rick.BrowneWPC.com Jones Numoto Nestor Brown

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

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

=+Who are they?

Answered: 1 week ago