网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
不属于struts2标签库的是()
- A、s:textfield
- B、s:textarea
- C、s:submit
- D、select
参考答案
更多 “不属于struts2标签库的是()A、s:textfieldB、s:textareaC、s:submitD、select” 相关考题
考题
查询选修了课程号为\'C2\'的学生号和姓名,若用下列SQL的SELECT语句表达时,哪一个是错误的?A.SELECT S.S#,SNAME FROM S WHERE S.S#= (SELECT SC.S# FROM SC WHERE C# = 'C2' )B.SELECT S.S#,SNAME FROM S,SCWHERE S.S# = SC.S# AND C# = 'C2'C.SELECT S.S#,SNAME FROM S,SCWHERE S.S# = SC.S# AND C# = 'C2' ORDER BY S.S#D.SELECT S.S#,SNAME FROM S WHERE S.S#IN (SELECT SC.S# FROM SC WHERE C# ='C2' )
考题
若要求查找‘李’姓学生的学生号和姓名,正确的SQL语句是A.SELECT S#,SNAME FROM S WHERE SNAME='李%.'B.SELECT S#,SNAME FROM S WHERE SNAME LIKE '李%.'C.SELECT S#,SNAME FROM S WHERE SNAME='%.李%.'D.SELECT S#,SNAME FROM S WHERE SNAME LIKE '%.李%.'
考题
查询选修了课程号为“MATHS”的学生的姓名和年龄,若用下列SQL的SELECT语句表达时,错误的是( )。A) SELECT SNAME,AGE FROM S WHERE S. S# =(SELECT SC. S# FROM SC WHEREc.c# ='MATHS ')B ) SELECT SNAME, AGE FROM S WHERE S. S# =(SELECT SC. S# FROM SC WHERESC. C# =' MATHS ')C) SELECT SNAME, AGE FROM S, SC WHERE S. S# =SC. S# AND SC. C# ='MATHS'ORDER BY S. S#D)SELECT SNAME, AGE FROM S, SC WHERE S. S# =SC. S# AND SC. C# ='MATHS'
考题
( 3 2 )查询学生姓名及其所选修课程的课程号和成绩,正确的 SQL 语句是A ) SELECT S . SNAME , SC.C# , GRADE FROM S WHERE S . S # = SC . S#B ) SELECT S . SNAME , SC.C #, GRADE FROM SC WHERE S . S # = = SC . S#C ) SELECT S . SNAME , SC.C# , GRADE FROM S , SC WHERE S . S# = SC . S#D ) SELECT S . SNAME , SC.C# , GRADE FROM S , SC WHERE S .S# = SC . C#
考题
设有关系R(A,B,C)和S(C,D),与关系代数表达式ΠA,B,D(σR,C=S.C(R×S))等价的SQL语句是______。A.SELECT*FROMR,S WHERE R.C=S.CB.SELECT A,B,D FROM R,S WHERE R.C=S.CC.SELECT A,B,D FROM R,S WHERE R=SD.SELECT A,B FROM R WHERE(SELECT D FROM S WHERE R.C=S.
考题
查询学生表,S的全部记录并存储于临时表文件one中的SQL命令是 ______。A.SELECT*FROM S INTO CURSOR oneB.SELECT*FROM S TO CURSOR oneC.SELECT*FROM S INTO CURSOR DBF oneD.SELECT*FROM S TO CURSOR DBF one
考题
有关系S(S#,SNAME,SEX),C(C#,CNAME),SC(S#,C#,GRADE)。其中S#为学生号,SNAME为学生姓名,SEX为性别,C#为课程号,CNAME为课程名。要查询选修“数据库”课的全体学生姓名的SQL语句是SELECT SNAME FROMS,C,SC WHERE子句。这里的WHERE子句的内容是( )。A.S.S#=SC.S# AND C.C#=SC.C# AND CNAME=‘数据库’B.S.S#=S C.S# AND C.C#=S C.C# AND CNAME IN‘数据库’C.CNAME‘数据库’D.CNAME=‘数据库’
考题
查询选修了课程号为“C2”的学生号和姓名,若用下列SQL的SELECT语句表达是,( )是错误的。 A.SELECT S.S#,SNAME FROM S WHERE S.S# =(SELECT SC.S#FROM SC WHERE C#='C2') B.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=SC.S# AND C#='C2' C.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=SC.S# AND C#='C2'ORDER BY S.S# D.SELECT S.S#,SNAME FROM S WHERE S.S# IN(SELECT SC.S# FROM SC WHERE C#='C2')
考题
有关系S(S#,SNAME,SEX),C(C#,CNAME),SC(S#,C#,GRADE)。其中S#是学生号,SNAME是学生姓名,SEX是性别, C#是课程号,CNAME是课程名称。要查询选修“数据库”课的全体男生姓名的SQL语句是SELECT SNAME FROM S,C,SC WHERE子句。这里的WHERE子句的内容是( )。A.S.S# = SC.S# and C.C# = SC.C# and SEX=’男’ and CNAME=’数据库’B.S.S# = SC.S# and C.C# = SC.C# and SEX in’男’and CNAME in’数据库’C.SEX ’男’ and CNAME ’ 数据库’D.S.SEX=’男’ and CNAME=’ 数据库’
考题
该题基于“学生-选课-课程”数据库中的3个关系。学生基本信息S(S#,SNAME, SEX, AGE)选课信息SC(S#, C#, GRADE)课程信息C(C#, CNAME, TEACHER)若要求“查询选修了3门以上课程的学生的学生号”,正确的SQL语句是( )。A.SELECT S# FROM SC GROUP BY S# WHERE COUNT (*)>3B.SELECT S# FROM SC GROUP BY S# HAVING COUNT(*)>3C.SELECT S# FROM SC ORDER BY S# WHERE COUNT(*)>3D.SELECT S# FROM SC ORDER BY S# HAVING COUNT(*)>3
考题
查询选修了课程号为\'C2\'的学生号和姓名,若用下列SQL的SELECT语句表达时,哪一个是错误的?______。A.SELECT S.S#,SNAME FROM S WHERE S.S#=(SELECT SC.S# FROM SC WHERE C#=\'C2\')B.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=SC.S# AND C#=\'C2\'C.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=SC.S# AND C#=\'C2\'ORDER BYS.S#D.SELECT S.S#,SNAME FROM S WHERE S.S# IN(SELECT SC.S# FROM SC WHERE C#=\'C2\')
考题
检索学生姓名及其所选修课程的课程号和成绩。正确的SELECT语句是______。A.SELECT S.SN,SC.C#,SC.GRADE FROM S WHERE S.S#=SC.S#B.SELECT S.SN,SC.C#,SC.GRADE FROM SC WHERE S.S#=SC.GRADEC.SELECT S.SN, SC.C#,SC.GRADE FROM S,SC WHERE S.S#=SC.S#D.SELECT S.SN,SC.C#,SC.GRADE FROM S,SC
考题
查询选修了课程号为'C2'的学生号和姓名,若用下列SQL的SELECT语句表达时,错误的是( )。A.SELECT S.S#,SNAME FROM S WHERE S.S# =(SELECT S C.S# FROM SC WHERE C#='C2')B.SELECT S.S#,SNAME FROM S,SC WHERE S.S#==S C.S# AND C#='C2'C.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=S C.S# AND C#='C2' ORDER BY S.S#D.SELECT S.S#,SNAME FROM S WHERE S.S IN (SELECT SC.S## FROM SC WHERE C#='C2')
考题
查询选修了课程号为“C2”的学生号和姓名,若用下列SQL的SELECT语句表达时,哪一个是错误的?A.SELECT S.S#,SNAME FROM S WHERE S.S# (SELECT SC. S# FROM SC WHERE C#='C2')B.SELECT S.S#,SNAME FROMS,SC WHERE S.S#=SC.S# AND C#='C2'C.SELECT S.S#,SNAME FROM S,SC WHERE S.S=SC.S# AND C#='C2'ORDER BY S.S#.D.SELECTS.S#,SNAME FROM S WHERE S.S# IN(SELECT SC. S# FROM SC WHERE C#='C2')
考题
查询选修了课程号为’C2’的学号和姓名,下列可以实现该效果的SQL语句是()A、select s.s#,sname from s where s.s#=(selectsc.s#fromscwherec#=’c2’B、select s.s#,sname from s,s cwhere s.s#=sc.s#andc#=’c2’C、select s.s#,sname from s joinscon s.s#=sc.s#wherec#=’c2’D、select s.s#,sname from s where s.s#in(selectsc.s#fromscwherec#=’c2’)
考题
查询出所有名字以’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_';
考题
单选题以下哪个标签是struts2中的用于循环迭代?()A
〈s:property〉B
〈s:iterator〉C
〈s:logic〉D
〈s:foreach〉
热门标签
最新试卷