- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
QUESTION NO: 1
Assume that a table table1 contains the following data: mysql SELECT * FROM table1;
6 rows in set (0.00 sec)
How many rows will be returned when the following statement is executed? SELECT DISTINCT col1 FROM table1;
A. 6
B. 3
C. 4
Answer: C
QUESTION NO: 2
Consider the friends table is given by the following information: mysql SELECT * FROM friends;
Which of the following SELECT statements are valid?
A. SELECT firstname FROM friends
B. SELECT lastname, age, 1 FROM friends
C. SELECT age D. SELECT age WHERE age 30
Answer: A,B,C
QUESTION NO: 3
Which of the following comparisons is equivalent to: ( age = 4 ) and ( age = 8 )
A. age BETWEEN 4 and 8
B. age BETWEEN 3 and 9
C. age BETWEEN 5 and 7
D. age BETWEEN 4 and 7
Answer: A
QUESTION NO: 4
What would be the outcome when following statement is executed? SELECT Name FROM City WHERE CountryCode = USA OR WHERE CountryCode = JPN
A. The city names from USA and JPN in one result set.
B. The city names from USA and JPN in two different result sets.
C. The city names from USA in the first column and the cities from JPN in the second column.
D. An error message is issued.
Answer: D
QUESTION NO: 5
Consider the following table structure. mysql DESCRIBE TEST;
Why is it a bad idea to use SELECT * instead of specifying the required columns by their name?
A. SELECT * may cause more data to be to be read from disk if your application only needs some columns.
B. SELECT * causes more data to be sent over the network if your application only needs some columns.
C. SELECT * prevents the use of indexes, so a full table scan is required for every query.
D. SELECT * causes your application to depend on the columns present when you wrote it, so your application could break if new columns are added to the table structure
Answer: A,B,D
QUESTION NO: 6
Which of the following INSERT statements are syntactically correct?
A. INSERT INTO friends (id, name, lastname, age) VALUES (1, John, Doe, 22)
B. INSERT
您可能关注的文档
- (旧)供电系统识图与制图典型接触网安装图识图棘轮补偿下锚.doc
- .NET企业级项目开发-1期经验与技巧经验与技巧.doc
- “新湘绣”馆“新湘绣”巡展媒体报道学院网站学院收获“中国现代手工艺学院展”五项大奖.doc
- 1+x培训与考核中心电力机车司机学习情境设计.doc
- 1+x培训与考核中心新技术新工艺动力加载车.docx
- 3D打印技术3D打印技术2浮雕照片.docx
- 3D打印技术应用3D打印技术应用3D打印机打印喷头组件的维护与更换.docx
- 4-作品展示库2014年基于物联网技术的光伏组件监测系统(无锡职业技术学院)1项目任务书.doc
- 5-行业企业库01全国性知名企业烽火科技集团有限公司.doc
- 5-行业企业库01全国性知名企业宏晶科技有限公司.doc
- DCS组态与运行用户授权组态用户授权组态操作步骤.docx
- Dreamweaver网页制作技能抽查题库H2-12,狱务公开管理系统前端设计-罪犯查询界面设计.docx
- Flash基础(苗苹)不断变化的文字动画14.不断变化的文字动画.docx
- GMP任务六:检查衡器、量具的状态6.电子教案(项目三检查衡器量具的状态.doc
- GSM-R通信系统应用与维护课程教案第19讲-教学设计-鉴权与加密.doc
- IEC61131-3工控应用技术例1-2:求圆周长、面积、两点之间的距离项目4:求圆面积周长点间距离.doc
- JAVA程序设计-3期(KC005)整体设计KC005040000001-《Java程序设计》整体设计.doc
- JAVA语言程序设计任务2成绩增加和成绩修改窗体的实现任务6单元设计.docx
- JSP程序设计访问SQLServer2008数据库及应用SQLServer2008连接JSP步骤详解.docx
- K210食品微生物检验技术、K209农产品微生物检验技术配套电子教材、配套电子教材微生物检验技术-电子教材-金黄色葡萄球菌.doc
文档评论(0)