8.13,14,15,16Mysql graphical tool -Navicat (database design) (implement database) (case design electricity supplier database)

 1: temporarily use
Navicat installation and configuration:
 Password: 4eqp 
2: Database Design

 

3: Implementing Database

 

The actual development of the project is not set up foreign keys are preserving data integrity, consistency through the program.

[Category] Primary Key: c_id

[Table] Primary Product: p_id; p_price data type of decimal 10; p_image varchar 255;

[User table] primary key: id; tel int 11;

[Orders table] Primary: order_id; order_state tinyint 1 (1 indicates payment, payment represents an 2, 0);

Guess you like

Origin www.cnblogs.com/jiafeng1996/p/12332988.html