Assignment 2
Assignment 2
Assignment 2
DATABASE TECHNOLOGY
DATABASE TECHNOLOGY
11. Display first name and join date of the employees who is
either IT Programmer or Sales Man.
13. Display first name, salary, commission pct, and hire date for
employees with salary less than 10000.
14. Display employees where the first name or last name starts
with S.
DATABASE TECHNOLOGY
1. Display all the data from the S table.
3. Display the PNAME and COLOR from the P table for the
CITY=”London”.
10. Display only the Cities from where the Suppliers come
from.
DATABASE TECHNOLOGY
14. Display all the Suppliers with a status between 10 and 20.
15. Display all the Parts and their Weight, which are not in the
range of 10 and
DATABASE TECHNOLOGY
10. Write a query to get CompanyName, Fax, Phone and
HomePage from the Suppliers table.
18. Create a report showing the product name, unit price and
quantity per unit of all products that are out of stock.
Sunbeam Institute Of Technology,Pune & Karad
DATABASE TECHNOLOGY
19. Create a report showing the order date, shipped date,
customer id, and freight of all orders placed on May 19, 1997.
21. Create a report that shows the first and last name of all
employees who do not report to anybody.
DATABASE TECHNOLOGY
9. Write a query that will produce the snum values of all
salespeople from the Orders table (with the duplicate values
suppressed).
10. Write a query that will give you all orders for more than
Rs. 1,000.
11. Write a query that will give you the names and cities of all
salespeople in London with a commission above 0.10.
DATABASE TECHNOLOGY
17. Write a query that selects all orders except those with
zeroes or NULLs in the amt field.