Professional Documents
Culture Documents
QN
QN
Create a
primary index on EmpId and secondary index on deptNo.
Representative (RepNo, LastName, FirstName, Street, City, State, Pin, Commision, Rate)
Customer (Cust_No, Cust_name, Street, City, State, Pin, Balance, Credit_Limit, RepNo)
a. List the Ordernumber, Orderdate, Customer number and Customer name for each order placed by
any sales representatives whose last name is Thakur.
b. List the Ordernumber, Orderdate, for all orders placed by a customer along with the customer
name and customer number.
c. List the number and date of all orders that were placed on Jan 15, 2012 by customer whose
representative number is 200.
Branch Student
For each of the following operations, indicate whether it results in constraint violation and if so,
which constraint and why?