Question: What are the SQL queries for the following using this schema? Customer( CUSTID , CUSTNAME, ANNUALREVENUE, CUSTTYPE) Truck( TRUCK_NO , DRIVERNAME, SUPERVISOR) CITY( CITYID ,
What are the SQL queries for the following using this schema?
Customer(CUSTID, CUSTNAME, ANNUALREVENUE, CUSTTYPE)
Truck(TRUCK_NO, DRIVERNAME, SUPERVISOR)
CITY(CITYID, CITYNAME, POPULATION)
PACKAGE(SHIPMENT_NO, CUSTID, WEIGHT, TRUCK_NO, CITYID, SHIPDATE)
Which drivers delivered packages either after November 15, 2011 and before December 15, 2011 or to customers who were of type 2? Your query should show the driver name, the shipping date of the package, and the customer type. Provide SQL and number of rows.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
