--创建数据库 create database GoodsSystem go --使用数据库 use GoodsSystem go --创建商品类型表 create table GoodsType ( IO ,), typename )not null ) go --创建商品信息表 create table Goods ( Id ,), Typeld int foreign key references GoodsType(IO), Name )not null, Price ,) not nu…