Database Design
(back)
(Home)
(next)
Under this section we will be looking at the various diagrams used to
design our database and finally come up with the tables used
for the system.
Entity Relationship diagram
The above diagram describes the relationship
between the various entities existing in the system. As can be seen, a system
user or member will have lots of card no because there is a possibility that
the card might be lost. Therefore replacement is given upon reporting
loss.
The parking information hold the member info
referenced by his /her card number. The information is created every time they
parked in the carpark. The carpark status is changed frequently to reflect the
status of the carpark e.g. availability of slots at level 2. Therefore there
is only one status at any time.
Equivalent Data Structure Diagram
The above diagram is the conversion of the Entity Relationship Diagram. This
is closer to our physical design of the database as we can see later at the
tables formulated.

Tables Formulated
We have created 5
tables required for the system.