2016/2017 Database Management Systems ... - Google Groups

1 downloads 86 Views 147KB Size Report
Copy unto a pen drive and submit to any database TA. Create a Database Management System to Manage a Unisex Salon. Follo
2016/2017 Database Management Systems Project Deadline 10th November 2016 Save your work with your id Copy unto a pen drive and submit to any database TA

Create a Database Management System to Manage a Unisex Salon. Follow the instructions below to complete the exercise. 1. Create an MS Access database file using your index number as filename 2. Create the table below following the field names, data types and the description as a guide to complete the creation of the tables Tables and fields Customer FIELDS CustomerID Surname OtherNames DOB Tel CustomerType RegDate

FIELD TYPE Text Text Text Date/Time Text Text Date/Time

DESCRIPTION Primary key field

Date of birth of customer Tigo and MTN numbers Such as Regular, Silver, VIP Transaction date

Reservation FIELDS RSV-Code CustomerID PSID Description Amount RsvDate Employee

FIELD TYPE Auto number Text Text Text Number Date/Time Text

DESCRIPTION Primary key field

FIELD TYPE Text Text Number Ole/object

DESCRIPTION Primary key field The details of product Format double Image of product

Field Type Text Text

Description Primary key field

Product ID Service Description Format as double Reservation date

Products FIELDS PSID Description Price Image Employees Fields EMPID Name

Position Tel Image

Text Text Ole/object

Tigo and MTN numbers

Field Type Auto number Text

Description Primary key field Such as Regular, Silver, VIP

CustomerType Fields CTID CustomerType

3. Create Form Objects and input screen for all the four tables 4. Using the Form Object fill the Customer table with at least 20 different dummy records. The CustomerID field should follow a format such as E1001, E1002, E1003, etc. 5. Using the Form Object fill the Products table with at least 10 different dummy records. The PSID field should follow a format such as PS101, PS102, PS103, etc. 6. Using the Form Object fill the Employees table with at least 5 different dummy records. The EMPID field should follow a format such as EM101, EM102, EM103, etc. 7. Using the Form Object fill the CustomerType table with at least 3 different dummy records. The CTID field should follow a format such as CT101, CT102, CT103, etc. 8. Using the Form Object make at least 20 reservations at different dates, by different customers and for different products. Let at least 5 customers make at least 5 different reservations. 9. Using SQL statements, create a query to show only VIP customers sorted alphabetically by surname from the customer table. 10. Using SQL statements, create a query to show employees who use MTN numbers as their Tel from the Employee table. 11. Using SQL statements, create a query to show only Silver Customers who use Tigo as their Tel from the customers table. 12. Using SQL statements create a query to show records from the reservation and customer tables by joining. 13. Create a report from the Query created (12) above. NB: • • • • •

Apply a background colour or image to your forms Create a logo for your forms Create at least four buttons on your forms You MAY design a main menu (navigational form) to organize all your forms. You may give your salon a name. (eg. Irene Unisex Salon)

GOOD LUCK