多項(xiàng)選擇題

如下表student中,如何篩選type為包含數(shù)學(xué)或語(yǔ)文的記錄?() 
ID type score:
A01數(shù)學(xué)78;
A02語(yǔ)文76;
A03英語(yǔ)90;
A04數(shù)學(xué)68;
A05英語(yǔ)84。

A.select*from student where type=”數(shù)學(xué)”and type=”語(yǔ)文”
B.select*from student where type=”數(shù)學(xué)”or type=”語(yǔ)文”
C.select*from student where type in(”數(shù)學(xué)”,”語(yǔ)文”)
D.select*from student where type in(”數(shù)學(xué)”、”語(yǔ)文”)

微信掃碼免費(fèi)搜題