04.06.2015 Views

Database Modeling and Design

Database Modeling and Design

Database Modeling and Design

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7<br />

An Example of Logical<br />

<strong>Database</strong> <strong>Design</strong><br />

T<br />

he following example illustrates how to proceed through the requirements<br />

analysis <strong>and</strong> logical design steps of the database life cycle, in a<br />

practical way, for a relational database.<br />

7.1 Requirements Specification<br />

The management of a large retail store would like a database to keep<br />

track of sales activities. The requirements analysis for this database led to<br />

the six entities <strong>and</strong> their unique identifiers shown in Table 7.1.<br />

The following assertions describe the data relationships:<br />

• Each customer has one job title, but different customers may have<br />

the same job title.<br />

• Each customer may place many orders, but only one customer<br />

may place a particular order.<br />

• Each department has many salespeople, but each salesperson<br />

must work in only one department.<br />

• Each department has many items for sale, but each item is sold in<br />

only one department. (“Item” means item type, like IBM PC).<br />

139

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!