Documentation: Customer database in Excel
This post will document the customer database creation process in excel step by step with other tables in relation with the customer.
1. Creating User table (Customer table)
The image below illustrates the empty user (customer) table in excel spread sheet with six properties id, first name, last name, email, address and phone. In this entity the user id is the primary key and the address is the foreign key from the address table shown below.
2. Creating Product table
The second table in relation with customer table is product table which contains five properties they are id, title, description, price, and category id. Product id is the primary key and the category key is the foreign key in this table.
3. Order table
4. Address table
5. Payment table
This is payment table which stores the payment method option list and it has only id and title property where id is the unique primary key.
The screenshot below shows how the data are stored in the payment method table ]in the database.
This is category table which stores the categories of the products and it has only id and title fields where id is the primary key.
Comments
Post a Comment