Database Structure & Integrity
More information regarding the database.
Database Integrity
types of integrity constraints
database name: fashionshop
table name: product
# create table script for product
CREATE TABLE product (
id INT NOT NULL AUTO_INCREMENT,
name CHAR(60) NOT NULL DEFAULT '',
description VARCHAR(200) NOT NULL DEFAULT '',
price DECIMAL(8,2) NOT NULL DEFAULT 0.00,
PRIMARY KEY (id));Last updated