日期:2014-05-17 浏览次数:20518 次
CREATE TABLE Waiter_Server(
WAITER_NO CHAR(10),
TABLE_NO CHAR(10),
MENUTIME DATETIME,
CONSTRAINT Server_Time foreign key (WAITER_NO, TABLE_NO) REFERENCES (Waiter(WAITER_NO), Desk(TABLE_NO))
)
ALTER TABLE [Customers] ADD CONSTRAINT [PK_Customers] PRIMARY KEY([CustomerID])