create table if not exists shop_goods(
id int unsigned auto_increment key,
gname varchar(50) not null unique,
price decimal(10,2) not null default 0,
number int unsigned not null default 0,
pic varchar(50) NOT NULL DEFAULT ‘jd.jpg’
);
编号
购物东西名字
价格
数量
图片
PHP+MYSQL购物车实战(1)sql部分
猜你喜欢
转载自blog.csdn.net/qq_37805832/article/details/105543207
今日推荐
周排行