查询数据库表中的记录,用( )语句
A. select语句
B. update语句
C. delete语句
D. insert语句
下列 SQL 语句select * from student where sno = '05880101'union select * from student where sno = '05880102'与此查询语句等价的选项是( )。
A. select * from student where sno= '05880101' and sno= '05880102'
B. select * from student where sno= '05880101' or sno= '05880102'
C. select * from student where sno= '05880101'
D. select * from student where sno= '05880102'
在关系数据库中,NULL是一个特殊值,在很多数据操作中都需要对NULL进行特殊处理。关于NULL,下列说法正确的是:( )
A. 判断元组的某一列是否为NULL一般使用“=NULL”
B. NULL在数据库中表示尚不确定的值
C. 在SQL Server中执行“SELECT NULL+5”将会出现异常
D. NULL只适用于字符和数值类型
在select语句中定义列别名正确的是( )。
A. 列名=列别名
B. 列别名 AS 列名
C. 列别名 列名
D. 列名 AS 列别名