Professional Documents
Culture Documents
DFC 4024-Database Design: Problem Based Exercise 3
DFC 4024-Database Design: Problem Based Exercise 3
DFC 4024-Database Design: Problem Based Exercise 3
Appendix
Database : CAR
CUSTOMER
CAR_COMPONENT
CLAIM
COMPONENT_CLAIM
Procedures:
CAR COMPONENT
CLAIM
COMPONENT_CLAIM
Step 7 : Type SQL command to find customer name from CLAIM table.
Step 9 : Type SQL command to display component ID, component name and price where
price is between 200 and 400.
Step 10 : Open the SQL Editor and type SQL command to display car number begin with D.
Step 11 : Open the SQL Editor and type SQL command to display claim ID and quantity
where claim number is CL001 and CL012.
(Refer Excersice 3A )
Procedures:
Step 1 : Open the SQL Editor and type SQL command to find the minimum value for price
in the COMPONENT table
Step 2 : Open the SQL Editor and type SQL command to find the maximum value for
price in the COMPONENT table
Step 3 : Open the SQL Editor and type SQL command to find the average value for price
in the table COMPONENT.
Step 4 : Type SQL command to find average value for quantity in the table
COMPONENT_CLAIM.
Step 5 : Open the SQL Editor and type SQL command to sum the price in the table
COMPONENT
Step 6 : Type SQL command to sum the components quantity in the table
COMPONENT_CLAIM.
Step 7 : Open the SQL Editor and type SQL command to count the number of
Customers
Step 10 : Open the SQL Editor and type SQL command to find the total quantity group by
claimID which less than 1 in COMPONENT_CLAIM table.