[code]-- 餐桌表create table TableInfo( Table_Id int primary key not null, Table_Num int not null, Table_Status char(10) not null);-- 顾客表create table CustomerInfo( Cus_Id int primary key not null, Table_Id int not null, Cus_num int not null, Intime datetime not null);-- 收银员表create table CashierInfo( Cash_Id int primary key not null, Cash_Name varchar(25) not null, Tel char(11) not null);-- 菜品表create table FoodInfo( Food_Id int primary key not null, Food_Name varchar(25) not null, Cuisine varchar(10) not null, Food_Type varchar(4) not null, Price money);-- 菜品折扣表create table DiscountInfo( Food_Id int primary key not null, Food_Name varchar(25) not null, Discount float not null check(Discount