Quote (nuvo @ Oct 21 2016 03:49pm)
stylists
id | name
customers
id | name | phone | email
orders
id | stylist_id | customer_id | date | booked | service | price
stylist_id and customer_id are obviously foreign keys referencing other 2 tables (orders.stylist_id => stylists.id) .
Or you can just literally make a table like you have in post, without any extras. This still works and there is nothing wrong with it. Unless you make user accounts, registration and start processing millions of them ...
Thanks. The point of this ex cerise was to learn how to fix normal form violations. Without adding the ID what could I use as foreign keys? He said not to add or delete any data. So I assumed I couldn't create IDs