- 1、本文档共5页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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?
表视图存储过程函数触发器主键外
您可能关注的文档
- 2016.9七年级信息上册教案.doc
- 2016会计继续教育新出纳实战攻略.docx
- 2016届河北省邢台一中高一下学期第四次月考数学试题.pdf
- 2016年11月中级经济师《工商管理》考前预测题(一).pdf
- 2016年北京外国语大学翻译硕士考研,英语翻译基础历年考研真题,考研参考书推荐,考研大纲.pdf
- 2016年北京语言大学翻硕百科知识资料考研真题,考研重点.pdf
- 2016年南开大学语言学及应用语言学(文院)考研复试内容解析-考研复试真题-考研复试辅导.pdf
- Les07-干预优化器.ppt
- Les08-排序关联.ppt
- les08管理特权.ppt
- 专题06 经济体制(我国的社会主义市场经济体制)-五年(2020-2024)高考政治真题分类汇编(解析版).docx
- 专题11 世界多极化与经济全球化-5年(2020-2024)高考1年模拟政治真题分类汇编(解析版).docx
- 专题03 经济发展与社会进步-5年(2020-2024)高考1年模拟政治真题分类汇编(浙江专用)(解析版).docx
- 专题09 文化传承与文化创新-5年(2020-2024)高考1年模拟政治真题分类汇编(北京专用)(原卷版).docx
- 5年(2020-2024)高考政治真题分类汇编专题08 社会进步(我国的个人收入分配与社会保障)(原卷版).docx
- 专题07 探索世界与把握规律-5年(2020-2024)高考1年模拟政治真题分类汇编(解析版).docx
- 5年(2020-2024)高考政治真题分类汇编专题06 经济体制(我国的社会主义市场经济体制)(原卷版).docx
- 专题11 全面依法治国(治国理政的基本方式、法治中国建设、全面推进依法治国的基本要求)-五年(2020-2024)高考政治真题分类汇编(解析版).docx
- 专题17 区域联系与区域协调发展-【好题汇编】十年(2015-2024)高考地理真题分类汇编(解析版).docx
- 专题01 中国特色社会主义-5年(2020-2024)高考1年模拟政治真题分类汇编(原卷版).docx
文档评论(0)