http://www.w3schools.com/sql/sql_foreignkey.asp
ALTER TABLE Orders
ADD FOREIGN KEY (P_Id)
REFERENCES Persons(P_Id)
SQL 各种 w3school
猜你喜欢
转载自dannyhz.iteye.com/blog/2235001
今日推荐
周排行