You are on page 1of 7

Midterm Examination

ADVANCED DATABASE MANAGEMENT


(IT225)

Section

Submitted By

Submitted To
Engr. Lizel Rose Q. Natividad, M.E.

Date of Submission

I.
1. Answer each of the following questions using the Premiere Products data.
No computer work is required. (2 points each)
2. Your answer to each question should be in tabular (table) format. The
first question is done for you.
3. In the Premiere Products database, change the Year in the OrderDate
field in the Orders table to 2023.
4. Submit your exam in a PDF format. The file name is
MidtermExam_LastName
Example: MidtermExam_Natividad

1.
CustomerNum CustomerName
282 Brookings Direct
462 Bargains Galore
842 All Season

2.
Description Warehouse
Iron 3

3.

Description Class Warehouse


Microwave oven AP 1
Dryer AP 1

4.
OrderNum OrderDate
21617 23-OCT-2023
21623 23-OCT-2023
5.
Repnum Total Balance
65 11,303.00

6.
Description Warehouse
Iron 3

6.

Class Units on Hand


AP 72
HW 93
SG 54

7.

PartNum Description OnHand Class Warehouse Price


FD21 Stand Mixer 22 HW 3 159.95

8.
Total of Parts
5

9.

OrderNum Customer Name RepNum


21608 Al’s Appliciance and Sport 20
21610 Ferguson’s 65

10.

RepNum Number of Customers Average Balance


20 3 9177.67
35 4 2,203.94
65 3 3767.67
11.
Total of Orders
9

12.
Total of Parts
5

13.

PartNum Description Price


CD52 Microwave Oven 165.00
DR93 Gas Range 495.00
DW11 Washer 399.99
KL62 Dryer 349.95
KT03 Dishwasher 595.00

14.

CustomerNum Customer Name RepNum


148 Al’s Appliance and Sport 20
282 Brookings Direct 35
356 Ferguson’s 65
462 Bargains Galore 65
524 Kline’s 20
608 Johnson’s Department Store 65
725 Deerfield’s Four Seasons 35
842 All season 20

15.
Sales rep
35
total of the balances Largest to Smallest
8,815.75 10000 – 7500 – 5000 -
5000
16.

Sales rep
65
Average of the balances Maximum Minimum
9899.00 10000 75000

17.

Customer Name Balance Credit Limit


Al’s Appliciance and Sport 6550.00 7500.00

18.
Description
Home Gym
Microwave Oven
Gas Range
Dryer
Treadmill

19.
Description
Iron

20.
CustomerNum CustomerName
282 Brookings Direct

21.
CustomerNum CustomerName
148 Al’s Appliance and Sport
524 Kline’s
842 All Season
22.
CustomerNum CustomerName
408 The Everything Shop
687 Lee’s Sport and Appliance
282 Brookings Direct
462 Bargains Galore
608 Johnson’s Department Store
524 Kline’s

23.

RepNum Average Balance Total Customers


20 3 9177.67
35 4 2203.94
65 3 3767.67

24.
PartNum Description
BV06 Home Gym
KV29 Treadmill

25.

CustomerNum CustomerName
524 Kline’s

II.
1. A one-to-many relationship is a sort of connection between two objects
or tables where a single object or record in one table may be linked to
numerous objects or entities in the other.

Name Section Course


Jhon Michael Villanueva 22 BSIT
Ronierissa Galicia 42 BSBA
Course Subject Time
BSIT Phyton 8am to 11am
BSBA Finance management 12pm to 2pm

2. DBA is responsible for managing and maintaining a database


environment to ensure its smooth operation, performance, security, and
availability. In order to guarantee a database environment's efficient operation,
performance, security, and availability, a DBA is in charge of managing and
maintaining it. DBA take part in database design, collaborating closely with
system analysts and application developers to choose the database's
structure, tables, and relationships as well as its indexing methods to satisfy the
needs of the applications.

You might also like