DBMS project - Sample Repository

1
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 Name Description Attributes EMPLOYEE Someone who works for The Hungry Heifer. = employee# + SSN + e. First name + e. Last name + e. Address + e. City + e. State + e. ZIP PRODUCT An 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 Name Alias Description Data Type Length Decimal Places Description None The product description Alphanumeric 30 NA e. address None The street address where the employee lives Alphanumeric 45 NA e. city None The city where the employee lives Alphanumeric 20 NA e. first name None The employee’s first name Alphanumeric 20 NA e. last name None The employee’s last name Alphanumeric 20 NA e. state None The state where the employee lives Alphanumeric 2 NA e. ZIP None The zip code where the employee lives Alphanumeric 9 NA Employee# Employee ID The unique identifier for an employee Numeric NA NA Price None The current selling price of the product Currency NA 2 Product# None The unique identifier for a product Alphanumeric NA NA

description

This is sample of repository for our dbms project

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