DM Lab-6
DM Lab-6
2000080025
DEVALLA SATYA SUBHASH
grade numeric(10),
grade numeric(10),
SELECT ord_no,purch_amt,customer_NAME,city
WHERE o.customer_id=c.customer_id_NO
grade numeric(10),
2. From the following tables write a SQL query to find the salesperson(s) and the
customer(s) he handle. Return Customer Name, city, Salesman, commission
SELECT c.customer_NAME,c.city,s.salesman_NAME,s.commision
FROM salesman s,customer1 c
WHERE s.salesman_id_NO=c.sales_man_ID