A. select * from authors where au_name=”d”
B. select “d” from authors
C. select * from authors where au_name like “d%”
D. select au_name like “d%” from authors
您可能感兴趣的试卷
你可能感兴趣的试题
A. select au_id from authors where price IN($15,:$20);
B. select au_id from authors where price between $15 and $20
C. select au_id from authors where price not between $15 and $20
D. select au_id from authors where price not IN($15,$20);
A. select au_id from authors where state IN(“ac”,:”sk”);
B. select au_id from authors where state between ac and sk
C. select au_id from authors where state not between ca and ks
D. select au_id from authors where state IN(“ca”,:”ks”);
A.sp_renamedb authors student
B.sp_rename authors student
C.sp_renamedata authors student
D.sp_renameview authors student
A.sp_spaceused authors
B.sp_depends authors
C.sp_help authors
D.sp_renamedb authors student
ALTER TABLE exa
ADD column_b VARCHAR(20) NULL
这条语句的语义为()
A.创建表格exa,使其增加一列
B.创建表格exa,使其删除一列
C.修改表格exa 定义,使其增加一列
D.修改表格 exa 定义,使其删除一列
A.256
B.64
C.108
D.128
ALTER DATABASE Company
MODIFY FILE (NAME=testdat3,SIZE=20MB)
上述语句实现的功能为()
A.将Company数据库中长度为20MB的testdat3数据文件设置为当前文件。
B.在Company数据库中创建一个20MB的名字为testdat3的数据文件。
C.将Company数据库中长度为20MB的testdat3数据文件删除
D.将Company数据库中testdat3数据文件的长度改为20MB
A. show databases
B. sp_helpfile
C. sp_helpdb
D. show helpfile
select sales.qty,sales.titile_id,stores.stor_name from sales join stores on
sales.stor_id=stores.stor_id.
上述语句的语义为()
A.从sales和stores表中返回stor_id号相同的记录,记录包括sales表中stor_name字段以及stores表中的qty和titile_id字段。
B.向sales和stores表中写入字段,包括sales表中的qty和titile_id字段以及stores表中的stor_name字段
C.从sales和stores表中返回stor_id号相同的记录,记录包括sales表中的qty和titile_id字段以及stores表中的stor_name字段。
D.向sales和stores表中写入stor_id号相同的记录,记录包括sales表中的qty和titile_id字段以及stores表中的stor_name字段。
A.MASTER
B.TEMPDB
C.MODEL
D.MSDB
最新试题
存储过程命名规则与数据库、数据表、列等标识符命名可以随心所欲,不需要规则一致。
在MYSQL中,存储过程不可以带有参数。
想要实现级联删除必须在数据外键上设置“级联”的更新或删除。
MySQL数据库中,通常将用户写入对应的权限表来控制访问权限的,以下属于用户权限得选项()
视图的意义:为用户集中提取数据、隐蔽数据库的复杂性,使操作简便化、增加数据的安全性、提高表的逻辑独立性。
/*……*/用来标记程序的注释部分,注释的目的是增加程序的可读性,其中的内容不会被执行。
参数的取名可以与数据表的列名相同。
在SQL中,删除操作有drop、truncate、delete,其中风险等级最高的是delete。
mysql变量有4种类型:局部变量、用户变量、会话变量和全局变量。
正常情况下一般删除命令都会有带WHERE子句。