多項選擇題關于主鍵,以下()說法是錯誤的。
A.主鍵可以用來確保表中不存在重復的數據行。
B.一個表必須有一個主鍵。
C.一個表只能有一個主鍵。
D.只能對整數型列設置主鍵。
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題創(chuàng)建一個名為‘Customers’的新表,同時要求新表中包含表‘clients’的所有記錄,sql語句是()。
A.Select*into customers from clients
B.Select into customers from clients
C.Insert into customers select*from clients
D.Insert customers select*from clients
2.單項選擇題執(zhí)行Sql語句:select score*0.5+20as加權成績from grade where(score*0.5+20)<60order by score*0.5+20,以下()描述是正確的。
A.錯誤提示:orderby子句中不能出現表達式。
B.正確執(zhí)行,顯示grade表中各列值,按照score由低到高排序。
C.正確執(zhí)行,顯示grade表中各列值,以及加權成績列,按照score由低到高排序。
D.錯誤提示:where子句中不能出現表達式。