Professional Documents
Culture Documents
Assignment 1
Assignment 1
Assignment 1
~Plato
MODULE-Database System II
Assignment Name & Number :- Advanced database concepts- Assignment1
Assignment type :-Written-Individual
Duration :-2 hours
Submission Method :-Soft Copy/ hard Copy
Table: Salesperson
Sales_ID Name Salary Commission Hire Date
1 John 100000 6 4/1/2006
2 Amy 120000 5 5/1/2010
3 Mark 65000 12 12/25/2008
4 Pam 25000 25 1/1/2005
5 Alex 50000 10 2/3/2007
Table: Customer
Cust_ID Name City
1 Red Bostan
2 Orange New York
3 Yellow Bostan
4 Green Austrin
Table: Order
Order_ID Cust_ID Sales_Id Amount
1 3 4 100000
2 4 5 5000
3 1 1 50000
4 1 4 25000
9. What is the difference between a HAVING CLAUSE and a WHERE CLAUSE and
explain with examples? (Marks: 10)
10. Explain Group by key word using contents of any tables in question 5 or question 6.
(Marks: 10)