View the step-by-step solution to:

Question

1. Develop an SQL that will list PID, Name, Unit_Cost of products that have more than 50 units in the

Inventory.

2. Develop an SQL that will list all PID, Name, Unit_Cost for products related to warehouse 2 OR in-transit for warehouse 2 [Hint: UNION].

3. Develop an SQL that will list Division Name and the Name of the Manager for the Main Division.

4. Develop an SQL that will list WID, Street_No, City, and State for all warehouses that have multiple shipment records.

5. Develop an SQL that will list EID and Name of Employees who are managers but do not manage any department. Please note that Employees who are managers their Mgr_EID <> 0.


Screenshot (225).png

Screenshot (225).png

INVENTORY
DO
LINEITEM
EID
DO
DO
PID
DO
InvNo
EMPLOYEE
Qty
PID
PRODUCT
EID
Price
Qty
1
PID
SRP
SHIPMENT
Name
DOB
Name
InYNo
Phone
Description
InvDate
DO
DID
Oty
WID
Mgr_EID
DEPARTMENT
Unit_cost
WAREHOUSE
1
WID
DID
Street No
Name
City
Mgr_EID
State
WID
ZIP

Top Answer

1. Develop an SQL that will list PID, Name, Unit_Cost of products that have more than 50 units in the Inventory. select... View the full answer

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question