Please help is needed in this topic: I would be very very thankful.
It is about a pizza shop: (Questions are at the bottom)
Read this first:
[Customers will need to be registereed , with their name, adddress and phone number. Once registered, customers can phone up and order the food they require by quoting their customer number (or name/ address if they can't rember it). Customers select which pizza (s) they require and how many they want. The order is then assembled and delivered to the customer.
When an order is taken, a note needs to be made of the time and date when it was made, and the member of staff who has taken it. The order value has to be more than $10 otherwise a $2 delivery charge is applied.]
Question:
Identify for me all entities.
List the attributes of the entities,
Ensure attributes can't be broken down into further attributes (atomic).
Thanks again in advance
This is my WORK:
[[
[FONT="]Entities[/FONT]
[FONT="]Attributes[/FONT]
[FONT="] [/FONT]
[FONT="]Customer:[/FONT]
[FONT="]Pizza:[/FONT]
[FONT="]Order:[/FONT]
[FONT="]Member of Staff:[/FONT]
[FONT="]First normal form (1NF)[/FONT]
1st Normal Form
CUSTOMER(CustomerNo, CustomerName, CustomerSurname,
ADDRESS, PhoneNumber,)
PIZZA(PizzaID, PizzaType,)
MEMBEROFSTAFF(StaffID, StaffForename, Staff Surname)
ORDER(OrderID, OrderTime, Orderdate, DeliveryCharge, PizzaQuantity , TotalCost)
]]
It is about a pizza shop: (Questions are at the bottom)
Read this first:
[Customers will need to be registereed , with their name, adddress and phone number. Once registered, customers can phone up and order the food they require by quoting their customer number (or name/ address if they can't rember it). Customers select which pizza (s) they require and how many they want. The order is then assembled and delivered to the customer.
When an order is taken, a note needs to be made of the time and date when it was made, and the member of staff who has taken it. The order value has to be more than $10 otherwise a $2 delivery charge is applied.]
Question:
Identify for me all entities.
List the attributes of the entities,
Ensure attributes can't be broken down into further attributes (atomic).
Thanks again in advance
This is my WORK:
[[
[FONT="]Entities[/FONT]
- Customer
- Order
- Pizza
- Member of Staff
[FONT="]Attributes[/FONT]
[FONT="] [/FONT]
[FONT="]Customer:[/FONT]
- [FONT="] CustomerNo[/FONT]
- [FONT="] Customer Name[/FONT]
- [FONT="] Surname[/FONT]
- [FONT="] Address[/FONT]
- [FONT="] Phone Number[/FONT]
[FONT="]Pizza:[/FONT]
- [FONT="]Pizza Type[/FONT]
- [FONT="]Quantity[/FONT]
- [FONT="]Pizza Price[/FONT]
[FONT="]Order:[/FONT]
- [FONT="]Order Date[/FONT]
- [FONT="]Order Time[/FONT]
[FONT="]Member of Staff:[/FONT]
- [FONT="]Employee ID[/FONT]
- [FONT="]Employee Name[/FONT]
- [FONT="]Employee Surname[/FONT]
[FONT="]First normal form (1NF)[/FONT]
1st Normal Form
CUSTOMER(CustomerNo, CustomerName, CustomerSurname,
ADDRESS, PhoneNumber,)
PIZZA(PizzaID, PizzaType,)
MEMBEROFSTAFF(StaffID, StaffForename, Staff Surname)
ORDER(OrderID, OrderTime, Orderdate, DeliveryCharge, PizzaQuantity , TotalCost)
]]
Last edited: