You are on page 1of 3

**To be done in your group. Total points 45.

A. Get a list of products that are not on orders. In the result just show product name.(1 point)

B. Get a list of products that are sold in bottles. Just show product name. (2 points)

C. Calculate total price for all orders. The result must include order ID and total price for each
order ID. (2 points)

D. Show company name, contact title and city of customers in USA.(1 point)

E. How many orders were place between December 1996 to March 1997? (2 points)
F. Show Full name and city of all employees. (2 points)

G. Create a report that shows orderID, productID and supplier name. The order ID must be between
10300 and 10350. (5 points)

H. List Customer IDs whose Ship countries are in Brazil. Filter it by the Ship Region "SP". (2
points)

I. Get a list of orders that were shipped by Shipper ID 1 and 3. In the result, just show shipper
name, shipper ID and order ID. (5 points)
J. Get a list of suppliers who are supplying more than two products. The result must include
supplier ID and number of products. (5 points)

K. Create a report showing the first name and last name of all employees whose last names start
with a letter between "A" and "C". (3 points)

L. Draw an entity relation diagram (ERD) for the following entities. You also need to include
attributes indicating primary and foreign keys. Include associative entities if necessary.
(5*3 = 15 points)

1. STUDENT, COURSE
2. EMPLOYEE, PROJECT
3. PATIENT, PATIENT HISTORY
4. CELL PHONE PLAN, CUSTOMER
5. MOVIE, MOVIE HALL

You might also like