(T1-TECHNICAL) Technical Assessment 1

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Page 1 of 3

Group name
Group Members 1.
2.
3.
4.
CCS0021 LABORATORY
TECHNICAL ASSESSMENT 1

Part A:

Using the business rules below, create and EERD in SQL developer. This assessment is done in groups with 4
members (minimum of 3, max of 4)
Save the file as Tech1_groupname.

BUSINESS RULES

A bowling center has opened its services to universities. To avail its services, the students should be
recommended by their respective universities.

 Each applicant can submit one or more applications (one application per year for multiple years).
 Each application is submitted by only one applicant.
 Each school can be associated with one or more applications.
 Each application is associated with only one school. Two or more application must include at
least one or more recommendations.
 Each recommendation is included with at least two applications. Each bowling center can be
associated with one or more applications. Each application is associated with only one bowling
center.

Additional Instruction: Create two subtypes for each supertype identified. Create a primary key for each
subtype and at least two attributes per subtypes. Below is the ERD without the any subtypes, you can base your
answer here. Create the EERD in SQL developer based on the business rules above.

COPY AND PASTE YOUR SCREENSHOTS


OF YOUR EERD FROM SQL DEVELOPER
BELOW:
Page 2 of 3

Part B

Create the entities, subtypes, and relationships according to the business rule below. Then map the
entities identified into tables. Do these in SQL developer.

BUSINESS RULE:
A Seller can be categorized as Retailer or Wholesaler. All sellers have a seller id, first name, last name, contact no
and maximum credit. A retailer has a RetailPrice, while a Wholesaler has a WholeSalePrice. Each seller should be
categorized only to either a retailer or a wholesaler and cannot be a retailer and a wholesaler at the same time.
A seller can have one or more shops and shops must be owned by a seller. A shop can contain many products and
many products must be found in at least one shop or more shops.

Copy and Paste your answers here. (Answers should come from SQL developer)
Page 3 of 3

Part C:
Normalization. Using the table below normalize the table below to its 3rd normal form. Show the step-by-step
process from 1NF to 3NF.

Alpha Book House, Pune – 413001

Customer No.: 1052

Customer Name: Beta school of computer science

Address: 1234 Saint St., Sta Cruz manila

ISBN Book Title Author’s Name Author’s Qty Price ($.) Amount ($)
Country

81-203-5 DOS P.K.Sinha India 5 250 1250

0-112-6 DBMS Korth U.S.A. 6 300 1800

1-213 Simulation Gordon U.S.A. 5 100 500

Grand Total 3550

You might also like