网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
SELECT和SET都可以为一个局部变量赋值。
参考答案
更多 “SELECT和SET都可以为一个局部变量赋值。” 相关考题
考题
下列叙述中,错误的是______。A.SELECT语句可以为输出的字段重新命名B.SELECT语句可以为输出的记录进行排序C.SELECT语句不能重新指定列的顺序D.SELECT语句不能省略FROM子句
考题
声明了变量:declare @i int,@c char(4),现在为@i赋值10,为@c赋值'abcd',正确的语句是( )
A、set @i=10,@c='abcd'B、set i=10 , set @c='abcd'C、select @i=10,@c='abcd'D、select @i=10, select @c='abcd'
考题
In which four clauses can a subquery be used?()A、in the INTO clause of an INSERT statementB、in the FROM clause of a SELECT statementC、in the GROUP BY clause of a SELECT statementD、in the WHERE clause of a SELECT statementE、in the SET clause of an UPDATE statementF、in the VALUES clause of an INSERT statement
考题
Which of the following statements eliminates all but one of each set of duplicate rows in the DEPT column in the STAFF table?()A、SELECT UNIQUE dept FROM staffB、SELECT DISTINCT dept FROM staffC、SELECT (dept) UNIQUE FROM staffD、SELECT (dept) DISTINCT FROM staff
考题
关于mysql的sql编程中变量赋值说法错误的是()A、set可以同时给多个变量赋值B、select可以将查询结果赋值给变量C、select可以同时给多个变量赋值D、set只能同时给一个变量赋值
考题
单选题You add an Online Responder to an Online Responder Array. You need to ensure that the new Online Responder resolves synchronization conflicts for all members of the Array. What should you do()A
From Network Load Balancing Manager, set the priority ID of the new Online Responder to 1.B
From Network Load Balancing Manager, set the priority ID of the new Online Responder to 32.C
From the Online Responder Management Console, select the new Online Responder, and then select Set as ArrayD
From the Online Responder Management Console, select the new Online Responder, and then select Synchronize
考题
单选题设有关系歌手(歌手号,姓名,最后得分)和关系评分(歌手号,分数,评委号),每个歌手的最后得分是所有评委给出的分数的平均值,则计算歌手“最后得分”的SQL语句是( )。A
UPDATE歌手SET最后得分=(SELECT AVG(分数)FROM评分WHERE歌手号=歌手.歌手号)B
UPDATE歌手SET最后得分EXISTS(SELECT AVG(分数)FROM评分WHERE歌手号=歌手.歌手号)C
UPDATE歌手SET最后得分=(SELECT AVG(分数)FROM评分)D
UPDATE歌手SET最后得分=(SELECT AVG(分数)FROM评分GROUP BY评委号)
考题
判断题SELECT和SET都可以为一个局部变量赋值。A
对B
错
热门标签
最新试卷