You are on page 1of 1

IFET COLLEGE OF ENGINEERING

(An Autonomous Institution)


19UCSPC301 – DATABASE MANAGEMENT SYSTEMS
ASSIGNMENT 1
QUESTIONS

1. Create table Student (Rno, Name, DOB, Gender, Class, College, 2 CO1
City,Marks).
2. Insert 5 records in student table. 2 CO1
3. Draw ER diagram for Hospital Management System. 2 CO2
4. Examine the table shown below. 2 CO2
Hours
staffNo branchNo branchAddress name position PerW
eek
City Center Ellen Assistant 16
S4555 B002 Plaza, Seattle, Layman
WA 98122
16 – 14th
Ellen
S4555 B004 Avenue, Seattle, Assistant 9
Layman
WA 98128
City Center
Dave
S4612 B002 Plaza, Seattle, Assistant 14
Sinclair
WA 98122
16 – 14th
Dave
S4612 B004 Avenue, Seattle, Assistant 10
Sinclair
WA 98128
(a) Why is this table not in 2NF?
(b) Describe and illustrate the process of
normalizing the data shown in this table to
third normal form (3NF).
(c) Identify the primary, (alternate) and foreign keys in
your 3NF relations.
5. SQL statement selects all customers from the "Customers" table, 2 CO2
sorted DESCENDING by the "Country" column.

You might also like