【单选题】
对由 SELECT—FROM—WHERE—GROUP—ORDER 组成的 SQL 语句,其在被 DBMS 处理时,各子句的执序次序为( )。
①
A.SELECT—FROM—GROUP—WHERE—ORDER
②
B.FROM—SELECT—WHERE—GROUP—ORDER
③
C.FROM—WHERE—GROUP—SELECT—ORDER
④
D.SELECT—FROM—WHERE—GROUP—ORDER
【单选题】
对于关系表Student(Sno,Sname,Ssex,Sdept,Sage),以下SQL语句中语法正确的是( )。
①
A.Select Sname From Student Where Sdept=’MA’
②
B.Insert Into Student Values(‘20170001’,’liming’,’男’)
③
C.Delete Sdept From Student Where Sno=’20170002’
④
D.Create View Birthyear_Student as Select Sno,Sname,2019-Sage From Student