You are on page 1of 3

LAB-5:

Name: N GIRISH SAI

Reg-No:17BLC1067

Problems:
1. Create a cursor CUSTSALESID on the Customers table that selects all customers from NewYork
City. Fetch their names and create a report containing ‘Customer name and Salesman name’ for
the selected set of customers..
2. Create a cursor on the Orders table to process all orders done in the month of September 2012.
Print the names of customers and their corresponding purchase amount.

You might also like