单项选择题
A.Select email from student where email !=null B.Select email from student where email not is null C.Select email from student where email<>null D.Select email from student where email is no tnull
A.错误提示:orderby子句中不能出现表达式。 B.正确执行,显示grade表中各列值,按照score由低到高排序。 C.正确执行,显示grade表中各列值,以及加权成绩列,按照score由低到高排序。 D.错误提示:where子句中不能出现表达式。
A.selectright(’hello’,3)返回值为:hel B.selectltrim(rtrim(’hello’))返回值为:hello(前后都无空格) C.selectreplace(’hello’,’e’,’o’)返回值为:hollo D.selectlen(’hello’)返回值为:5
A.查询输出分组 B.设置查询条件 C.对记录排序 D.限制查询返回的数据行
A.内联接 B.自联接 C.外联接 D.左联接
A.更新了多行数据 B.没有数据更新 C.删除了一行不符合要求的数据 D.T_SQL语法错误,不能执行
A.每次只能更新一行数据B.表中的数据行可以全部被更新C.如果没有数据项被更新,将提示错误信息D.更新数据时,不能带有WHERE条件子句
A.DELETETABLE表名 B.TRUNCATETABLE表名 C.DROPTABLE表名 D.ALTERTABLE表名
A.二B.三C.多个D.至少三
A.Truncatetable可跟Where从句,根据条件进行删除。 B.Truncatetable用来删除表中所有数据。 C.Truncate可以删除表 D.Truncate比tabledelete速度快
A.关系型 B.文件系统 C.层次型 D.网络型