为用户表删除姓名字段的语句是()
A. alter table user add name varchar(40);
B. alter table user drop name;
C. alter table user rename oldname to newname;
D. alter table user alter name varchar(50);
查询数据库表中的记录,用( )语句
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只适用于字符和数值类型