DBMS project - Sample Repository
-
Upload
swapnil4umatters -
Category
Documents
-
view
219 -
download
5
description
Transcript of DBMS project - Sample Repository
Metadata Concerning Tables (Example) NOTE: List all tables from the logical data model. The entries are sorted alphabetically by table name. (#=Primary Key; +=Required) Table NameDescriptionAttributes EMPLOYEESomeone who works for The Hungry Heifer.=employee#+SSN +e. First name +e. Last name +e. Address +e. City +e. State +e. ZIP PRODUCTAn item that The Hungry Heifer offers for sale.=product#+description +price Metadata Concerning Attributes (Example) NOTE: You should have an entry in the table for each of the attributes in your logical data model. The element items are listed in alphabetical order. Be sure to list data types that can be used in MySQL. Attribute NameAliasDescriptionData TypeLengthDecimal Places DescriptionNoneThe product descriptionAlphanumeric30NA e. addressNoneThe street address where the employee livesAlphanumeric45NA e. cityNoneThe city where the employee livesAlphanumeric20NA e. first nameNoneThe employees first nameAlphanumeric20NA e. last nameNoneThe employees last nameAlphanumeric20NA e. stateNoneThe state where the employee livesAlphanumeric2NA e. ZIPNoneThe zip code where the employee livesAlphanumeric9NA Employee# Employee IDThe unique identifier for an employeeNumericNANA PriceNoneThe current selling price of the productCurrencyNA2 Product# NoneThe unique identifier for a productAlphanumericNANA