Assignment 4

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

NAME:GURKARAN SINGH

BATCH:SEPTEMBER
CLASS:FRIDAY
GMAIL:SGURKARAN9814@GMAIL.COM

ASSIGNMENT 4(JOINS)DATABASE
TABLE Customer
Customer
customer_id cust_name city grade salesman_id

3002 Gurkaran singh new york 100 5001

3007 jatinder singh new york 200 5001

3005 gagandeep singh california 200 5002

3008 ram kumar london 300 5002

3004 sham kumar paris 300 5006

3009 amit arora berlin 100 5003

3009 jai ram moscow 200 5007

TABLE Orders
Orders
ord_n purch_am purch_dat customer_i salesman_i
o t e d d

70001 150.5 1997 3005 5002


70009 270.65 1993 3001 5005

70002 65.26 1997 3002 5001

70004 110.5 1987 3009 5003

70007 948.5 1993 3005 5002

70005 2400.6 1978 3007 5001

70008 5760 1993 3002 5001

Salesman
salesman_id name city commission

5001 gurkaran new york 0.15

5002 jatinder paris 0.13

5005 jatin london 0.11

5006 ram paris 0.14

5007 ajay rome 0.13

5003 karan san jose 0.12

Q.1
ANS.

Q.2
ANS.

Q.3
ANS

Q.4
ANS

~END OF ASSIGNMENT~

TABLE Salesman

You might also like