暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

每日一练013

原创 田庆 2020-08-13
400

如下哪两个说法正确:
A.The expressions in the SELECT lists must match in number.
B.Parentheses may not be used to alter the sequence of execution.
C.The data type of each column in the second query must match the data type of its corresponding column in the first query.
D.The ORDER BY clause can be used only once in a compound query, unless a UNION ALL operator is used
答案:AC
关于sql的知识点需要记忆,实践和理解
A.集合运算中,select列表需要在列的数量上一致(感觉选项中表述不完整)
B.括号可能不会改变执行顺序(就类比 1+(2X3)和1+2X3,并没有改变执行顺序)
C.查询列类型必须一致或可以转换
D.order by在sql中只能使用一次
这道题放在这个章节里应该选AC吧,但是就题而言个人还是偏向于BC

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论