Assignment 1
Assignment 1
Learning Objectives
Explain the fundamental database concepts
(a) What problems would you encounter if wanted to produce a listing by office
building?
The Office field contains the building name which makes difficult to produce the
listing by office building (there is no direct way to sort or group the data by
office building). Considering that the table does not have a specific column for
office building, queries become much more difficult to write and take longer to
execute when internal string searches must be conducted.
(b) How would you solve this problem by altering the file structure?
To solve this problem, the file structure could be altered to store the building
name as a separate attribute. This would allow querying the office information
more easily.
Data independence is important because it allows for flexibility in database design and
maintenance (it substantially decreases programming effort and program maintenance
costs).
On the other hand, a logical design is the step-in database design that defines the database
in a specific data model of a DBMS (considers the implementation details of the system). It
involves creating tables, constraints, keys, rules, etc.
The main difference is that the conceptual design focuses on describing the overall
structure and relationships of the data, while the logical design focuses on implementing
the database in a specific data model.