下面()语句可以查询姓“赵”并且年龄等于22岁的用户。A、Select * From tbAddress Where strName="赵"And intAge=22B、Select * From tbAddress Where strName like"赵%"And intAge="22"C、Select * From tbAddress Where strName like"赵%"And intAge=22D、Select * From tbAddress Where strName like"%赵%"And intAge=22

下面()语句可以查询姓“赵”并且年龄等于22岁的用户。

  • A、Select * From tbAddress Where strName="赵"And intAge=22
  • B、Select * From tbAddress Where strName like"赵%"And intAge="22"
  • C、Select * From tbAddress Where strName like"赵%"And intAge=22
  • D、Select * From tbAddress Where strName like"%赵%"And intAge=22

相关考题:

要在tbAddress表中插入记录,下面哪条语句是正确的?() A.Insert Into tbAddress(strName,strTel) Values("萌萌","6545632")B.Insert Into tbAddress(strName,strEmail) Values("萌萌", "")C.Insert Into tbAddress(strName,strEmail) Values("萌萌",NULL)D.Insert Into tbAddress(strName,intAge) Values(萌萌,22)

执行Select Count(*) As Total From tbAddress Group By intAge语句后,会返回多少条记录? () A.0B.1C.2D.与intAge的值有关

“从学生关系S中检索姓′王′的学生学号”的SQL语句是A.SELECT sno FROM sc WHERE sname=′王′B.SELECT sno FROM sc WHERE sname IS LIKE′王%′C.SELECT sno FROM sc WHERE sname LIKE′王%′D.SELECT sno FROM sc WHERE sname LIKE′王_′

要查询INFORMATION表中姓“王”且日£名的学生情况。可以用下列哪个命令?…A.SELECT*FROM INFORMATION WHERE姓名=‘王--’B.SELECT*FROM INFORMATION WHERE姓名LIKE‘王%’C.SELECT*FROM INFORMATION WHERE姓名=‘王%’D.SELECT*FROM INFORMATION WHERE姓名LIKE‘王_’

在学生表STUD中查询所有姓张的学生的信息,使用的SQL语句是______。A.SELECT * FROM STUD WHERE 姓名LIKE“张%”B.SELECT * FROM STUD WHERE 姓名IN(“张%”)C.SELECT * FROM STUD WHERE 姓名LIKE“张$”D.SELECT * FROM STUD WHERE 姓名IN(“张$)”

在下列查询语句中,与SELECT TABl*FROM,TABl WHERE InStr([简历],”篮球”)o功能相同的语句是( )。A.SELECT TABl.*FROM TABl WHERE TABl.简历Like”篮球”B.SELECT TABl.*FROM TABl WHERE TABl.简历Like”*篮球”C.SELECT TABl.*FROM TABl WHERE TABl.简历Like”*篮球*”D.SELECT TABl.*FROM TABl WHERE TABl.简历Like”篮球*”

对于学生信息表:student(sno,sname,sex,age,dept),要查询所有刘姓学生的信息,正确的语句是A.SELECT * FROM student WHERE sname LIKE'刘 * 'B.SELECT * FROM student WHERE sname LIKE'刘 $'C.SELECT * FROM student WHERE sname LIKE'刘%'D.SELECT * FROM student WHERE sname LIKE'刘'

设ABC表的A列存储电话号码信息,则查询不是以7开头的所有电话号码的查询语句是( ) A select A from ABC where A is not ‘%7’B select A from ABC where A like ‘%7%’C select A from ABC where A not like ‘7%’D select A from ABC where A like ‘[1-6]%’

下列哪条语句能够从学生表中查询出姓名的第二个字是“敏”的学生的信息( )。 A、select * from 学生表 where 姓名=’_敏%’B、select * from 学生表 where 姓名 like ’_敏%’C、select * from 学生表 where 姓名 like ’%敏%’D、select * from 学生表 where 姓名 like ’%敏’

查询“学号char(10)”尾字符是"1"的错误命令是()。A、SELECT*FROM学生WHERE学号LIKE’?1’B、SELECT*FROM学生WHERE学号LIKE’%[1]’C、SELECT*FROM学生WHERE学号LIKE’%1’D、SELECT*FROM学生WHERE RIGHT(学号,1)=’1’

执行Select Count(*)As Total From tbAddress Group By intAge语句后,会返回()条记录。A、0B、1C、2D、与intAge的值有关

下面()语句可以查询strName为"萌萌"且是2008年8月8日前注册的用户。A、Select * From tbAddress Where strName=萌萌 And dtmSubmit#2008-8-8#B、Select * From tbAddress Where strName="萌萌"And dtmSubmit2008-8-8C、Select * From tbAddress Where strName="萌萌"And dtmSubmit#2008-8-8#D、Select * From tbAddress Where strName="萌萌"Or dtmSubmit#2008-8-8#

执行Delete From tbAddress Where strName=“萌萌”语句后,共删除()条记录。A、0B、1C、若干D、全部

要在tbAddress表中插入记录,下面()语句是正确的。A、Insert Into tbAddress(strName,strTel)Values("萌萌","6545632")B、Insert Into tbAddress(strName,strEmail)Values("萌萌","")C、Insert Into tbAddress(strName,strEmail)Values("萌萌",NULL)D、Insert Into tbAddress(strName,intAge)Values(萌萌,22)

执行Select Max(intAge)As MaxAge,Min(intAge)As MinAge From tbAddress语句后,会返回()条记录。A、0B、1C、2D、不能确定

要在tbAddress表中更新记录,下面()语句是正确的。A、Update tbAddress Set strName="萌萌",intAge=22 Where ID=2B、Update tbAddress Set strName=萌萌,intAge=22 Where strName=萌萌C、Update tbAddress Set dtmSubmit=2008-10-1 Where strName="萌萌"D、Update tbAddress Set intAge=18

执行Select Count(*) As Total From tbAddress Group By intAge语句后,会返回多少条记录?()A、0B、1C、2D、与intAge的值有关

从“员工”表的“姓名”字段中找出名字包含“玛丽”的人,下面哪条select语句正确()。A、Select * from 员工 where 姓名 =’_玛丽_’B、Select * from 员工 where 姓名 =’%玛丽_’C、Select * from 员工 where 姓名 like ‘_玛丽%’D、Select * from 员工 where 姓名 like ‘%玛丽%’

查询出所有名字以’S’开始的员工()A、select * from emp where ename in 'S%';B、select * from emp where ename='S%';C、select * from emp where ename like 'S%';D、select * from emp where ename like 'S_';

下列哪些SQL语句可以查询出User表中name为张三的记录()。A、SELECT * FROM User WHERE name = ’张三’B、SELECT * FROM User WHERE name = ’张三’ LIMIT 0,1C、SELECT * FROM User WHERE name LIKE ’张三’D、SELECT * FROM User WHERE name LIKE ’%张三%’

多选题要在tbAddress表中插入记录,下面()语句是正确的。AInsert Into tbAddress(strName,strTel)Values(萌萌,6545632)BInsert Into tbAddress(strName,strEmail)Values(萌萌,)CInsert Into tbAddress(strName,strEmail)Values(萌萌,NULL)DInsert Into tbAddress(strName,intAge)Values(萌萌,22)

多选题要在tbAddress表中更新记录,下面()语句是正确的。AUpdate tbAddress Set strName=萌萌,intAge=22 Where ID=2BUpdate tbAddress Set strName=萌萌,intAge=22 Where strName=萌萌CUpdate tbAddress Set dtmSubmit=2008-10-1 Where strName=萌萌DUpdate tbAddress Set intAge=18

单选题下面()语句可以查询姓“赵”并且年龄等于22岁的用户。ASelect * From tbAddress Where strName=赵And intAge=22BSelect * From tbAddress Where strName like赵%And intAge=22CSelect * From tbAddress Where strName like赵%And intAge=22DSelect * From tbAddress Where strName like%赵%And intAge=22

单选题执行Select Count(*) As Total From tbAddress Group By intAge语句后,会返回多少条记录?()A0B1C2D与intAge的值有关

单选题执行Select Max(intAge)As MaxAge,Min(intAge)As MinAge From tbAddress语句后,会返回()条记录。A0B1C2D不能确定

单选题执行Delete From tbAddress Where strName=“萌萌”语句后,共删除()条记录。A0B1C若干D全部

单选题下面()语句可以查询strName为"萌萌"且是2008年8月8日前注册的用户。ASelect * From tbAddress Where strName=萌萌 And dtmSubmit#2008-8-8#BSelect * From tbAddress Where strName=萌萌And dtmSubmit2008-8-8CSelect * From tbAddress Where strName=萌萌And dtmSubmit#2008-8-8#DSelect * From tbAddress Where strName=萌萌Or dtmSubmit#2008-8-8#