問題詳情

25. 甲校成績資料庫 Schema 如下,請問要列出所有國文與數學同時不及格的學生姓名的 SQL 語法何者正確?Student(sId, sName, cId, chin, eng, math)//學生資料(學號, 姓名, 班級代號, 國文, 英文, 數學),sId 為 primary key
(A) Select sId, chin, math From Student WHERE chin<60 AND math<60
(B) Select sId From Student WHERE (chin OR math)<60
(C) Select sName From Student WHERE chin<60 AND math<60
(D) Select sName From Student WHERE chin<60 OR math<60

參考答案

答案:C
難度:適中0.636364
統計:A(3),B(1),C(7),D(0),E(0)