请高手解答
create table goodssize(
maingoodsid varchar(10) not null,
goodssize varchar(10) not null);
create table goodscolor(
maingoodsid varchar(10) not null,
goodscolor varchar(10) not null);
create table goodsnum(
maingoodsid varchar(10) not null,
goodssize varchar(10) not null,
goodscolor varchar(10) not null,
goodsnum int(6) not null);
然后就是尺码(x)跟颜色(y)在不断的增加中,
我就要创建(x*y)个数量的记录。
预先的数量表中的数量的值为0;
那么我在创建尺码和颜色记录的时候下面应该怎么写?
补充说明一下,数量的记录有的已经有数据了。