1. Define the following: a. Program data independence b. meta-data c. ON DELETE CASCADE (in
foreign key constraint)
2. Define database. What are the characteristics of database approach and how it differs from traditional file system.
3. Explain how GROUP BY clause works. What is the difference between WHERE and HAVING clause?
4. Consider following relational schema for inventory database and specify the queries:
Relation name Attributes
SUPPLIERS SNO,SNAME,STATUS,CITY
PARTS PNO,PNAME,COLOR,WEIGHT,CITY
PROJECT JNO,JNAME,CITY
SHIPMENT SNO,PNO,JNO,QUANTITY
a. Write a CREATE TABLE COMMAND for relation SUPPLIERS. Also, identify foreign keys in all tables.
b. Get part nos. for parts that either weigh16 pounds or are supplied by supplier S2,or both
c. Get full details of parts supplied by a supplier in London.
============================================================================================
============================================================================================