Relational databases suggested answers to discussion questions


Ashton wants to store the following data about S&S’s purchases of inventory



Download 0.89 Mb.
Page7/12
Date16.12.2020
Size0.89 Mb.
#54913
1   2   3   4   5   6   7   8   9   ...   12
rais12 SM CH04 (1)
4.3 Ashton wants to store the following data about S&S’s purchases of inventory:

item number date of purchase

vendor number vendor address

vendor name purchase price

quantity purchased employee number

employee name purchase order number

description quantity on hand

extended amount total amount of purchase


  1. Design a set of relational tables to store this data. Do all of the data items need to be stored in a table? If not, which ones do not need to be stored and why do they not need to be stored?

  2. Identify the primary key for each table.

  3. Identify the foreign keys needed in the tables to implement referential integrity.





Download 0.89 Mb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   12




The database is protected by copyright ©ininet.org 2024
send message

    Main page