Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

1.Create the CustomerService database.

(2 marks)
2. Create the following tables.(10 marks)
Customer(CID,CName,Phone,Address);
Order(Order_Id,ProductName,CustID,Unit,OrderDate)
CustID must be foreign key in Order Table.
3. Enter the following data to Customer (7 marks)
CID CName Phone Address
1 Kaw Mai 1789564125 Lawk(6), MJY
2 Awng Htun 1823456891 Lawk(2), Lz
3 Ja Mai 1723450845 Mka,Satapru
4 Hkawn Htoi 1867456734 MJY
5 Ah San 0925778945 Namti

Order_Id ProductName CustID Unit OrderDate


1 A 1 4 2023-02-02
2 B 1 5 2023-01-02
3 A 2 7 2023-02-02

4. Get total unit order of customer who is Kaw Mai. (2 marks)


5. Retrieve the name of customer who order Product B.(2 marks)
6.Find all customer whose address is in MJY.(2 marks)

You might also like