1. Create a new database and name it Baseball Gear. 2. Include in the Baseball Gear database...
Question:
1. Create a new database and name it Baseball Gear.
2. Include in the Baseball Gear database a table (entity) for Customer, Order, Order Line Item, and Item.
3. For each table (entity) created include the associated fields. For example, CUSTOMER, Customer Number, First Name, Last Name, Phone. Note: Data type and field size must be specified for each field. You can review your class notes to identify some of the field sizes used in class and apply them were applicable. The data populated in the tables is a good indicator as to the field sizes and data types.
4. Phone field must have input mask/pattern specified. Date must conform to the format of the data specified in the figures. Currency is showing in the figures so it must be specified for fields in the database that are currency.
5. Indicate a primary key for each field (attribute) as specified in the figures.
6. Indicate each foreign key for each field (attribute) as specified in the figures.
7. Create relationships (with referential integrity) between the tables that reflect the relationships identified in the figures.
8. Populate the tables with the data specified.
9. Generate a form for Customer data entry and call it the Customer form.
10. Generate a query to select only those customers who have ordered Baseball bats. Call it Query Baseball bats.
11. Generate a report containing the information from the Baseball bat query and call it Order Tracking Report.