单项选择题"Select*from学员where姓名like‘_歆%王’",该语句含义是()

A.从学生表中选择名字为三个字,并且名为“歆”的所有记录
B.从学员表中选择姓名中第四个字是“歆”字的所有记录
C.从学员表中选择姓名为两个字并且其中第2个字是“歆”字的所有记录
D.从学员表中选择姓名中包含“歆”字且最后一个字是王字的所有记录


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题查找yuangong表中所有电话号码(列名:telephone)的第一位为8或6,第三位为0的电话号码()

A.SELECT telephone FROM yuangong WHERE telephone LIKE’[8,6]%0*’
B.SELECT telephone FROM yuangong WHERE telephone LIKE’(8,6)*0%’
C.SELECT telephone FROM yuangong WHERE telephone LIKE’[86]_0%’
D.SELECT telephone FROM yuangong WHERE telephone LIKE’[86]_0*’

2.单项选择题为数据库表创建索引的目的是()

A.提高查询的检索性能
B.创建唯一索引
C.与SQLServer数据检索的速度无关
D.加快数据库打开的速度

3.单项选择题有关SQLSERVER 2008创建数据表的说法,以下正确的是()

A.数据库对创建表的数量没有限制
B.创建数据库表示不能同时创建约束
C.创建数据库表的同时创建主键,实际上是在创建表后对表进行修改
D.创建数据库表的同时创建外键,实际上是在创建表后对表进行修改

4.单项选择题在SQLServer数据库中,HAVING和WHERE子句以及GROUPBY可以在同一SELECT语句中使用,其正确的先后顺序为()

A.GROUP BY WHERE HAVING
B.WHE REGROUP BY HAVING
C.WHE REHAVING GROUP BY
D.HAVING WHERE GROUP BY

5.单项选择题查询student表中的所有非空email信息,以下语句正确的是()

A.Select email from student where email!=null
B.Select email from student where emailnotisnull
C.Select email from student where email<>null
D.Select email from student where emailisnotnull

7.单项选择题一个电视经销商在表Tvtype中维护库存的电视信息,下述()语句能显示价格(iprice)最昂贵的三种电视机的信息(cDiscription)

A.select top3 cDiscription fromTvtype order by iprice asc
B.select cDiscription from Tvtype where max(iprice)>3
C.select top3 cDiscription from Tvtype order by iprice desc
D.selec tcDiscription max(iprice)from Tvtype order by iprice

8.单项选择题有名为 Sales 的表,现需要按客户姓名(CustomerName)和销售日期(SalesDate)排序返回销售数据。为每个客户提供最近期的销售必须首先列出。应使用的查询语句为()

A.select CustomerName,SalesDate from Sales group by CustomerName,SalesDate
B.select CustomerName,SalesDate from Sales order by CustomerName,SalesDate
C.select CustomerName,SalesDate from Sales group by CustomerNameorderbySalesDateDESC
D.select CustomerName,SalesDate from Sales order by CustomerName,SalesDateDESC

9.单项选择题创建一个名为’catt’的新表,要求该表包含’kehu’表的所有记录,应使用的SQL语句是()

A.select*intocatt where from kehu
B.select*into catt from kehu
C.insert into catt select*from kehu
D.inser tinto catt from select*from kehu

10.单项选择题下列T-SQL数学运算语句,与SELECT2*5执行结果相同的是()

A.SELECT20%2
B.SELECT2*5.0
C.SELECT20.0/2
D.SELECT20/2