【单选题】
下列删除计算机系学生(在student表中)的修课记录(在SC表中)的语句,正确的是( )。
①
DELETEFROM SC JOIN Student b ON S.Sno = b.Sno
WHERE Sdept = 计算机系
②
DELETE FROM SC FROM SC JOIN Student b ON SC.Sno = b.Sno
WHERE Sdept = 计算机系
③
DELETE FROM StudentWHERE Sdept = 计算机系
④
DELETE FROM SC WHERE Sdept = 计算机系
【单选题】
利用Recordset对象可以得到查询结果集。下列将SC表中的全部数据放置到Recordset对象中的语句,正确的是( )。
①
ADOrs.Open Select * From SC
②
ADOrs. Execute Select * From SC
③
ADOrs. Create Select * From SC
④
ADOrs. Select * From SC