1.创建表 create table Car( Code varchar(50) primary key, Name varchar(50), Time date, Price float, Brand varchar(50) references Brand(Code) //建立外键);create table Brand( Code varchar(50) primary key, Name varchar(50)); create table PinPai( Ids int auto_in…