MIS SQL 新进人员考式题目 A1_TEST.doc

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
MIS SQL 新进人员考式题目 A1_TEST

姓名:郑文和 成績:_________________ Please Answer and explain the following question. True or False: If false ,please correct it. 1. select col1,col2 from t1 where col3=abc%; False,?把”=”改为like 2.Do the following statements return the same or different output. a. SELECT * FROM T1; b. select * from t1; same 3.The following queries do not work. Why not? a. Select *-- 未指明查询对象 b. Select * from t1 末尾未加分号 c. select col1 col2 col3 from t1;-- 各属性列要以逗号隔开 4.Will these query work? table:t1 column:col1 varchar2(10) a. select count(col1) from t1;-- yes b. select sum(col1) from t1; -- no,不能对varchar2型数据累加 5.Assume table t1 has column name,id table t2 has column name,id,salary Will the following SELECT statements work? select name,id,salary from t1,t2 where id = id and name like Smith%; no;select t1.name,t1.id,salsry from t1,t2 where t1.id=t2.id; select a.name,a.id,b.salary from t1 a,t2 b where name like Smith%; no;select a.name,a.id,b.salary from t1 a,t2 b where a.name like Smith%; select a.name,a.id,b.salary from t1 a,t2 b where a.id=b.id and a.name like Smith%; yes 6.Actual Data Defined as Store as 123456.789 number(6,2) 123456.79 false 123456.789 number(6) 123457 true 123456.789 number(6,-2) 123400 false,123500 123456.789 number 123456.789 true True or False? 2,Please explain the difference between the pair statements or explain 1.When a table is created ,who is the owner? 当前登陆的用户 2.Can you have duplicate table names in a database? yes 3.If data in a character column has varying length, what is the best choice for the data type? Varchar2 4.How can you find out what tables and views you own? select * from user_tables; select * from user_objects; 5.What are some database objects? 表视图存储过程函数触发器主键外

您可能关注的文档

文档评论(0)

xxj1658888 + 关注
实名认证
内容提供者

教师资格证持证人

该用户很懒,什么也没介绍

领域认证该用户于2024年04月12日上传了教师资格证

1亿VIP精品文档

相关文档