- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
oracle sql开发笔记(Oracle SQL开发笔记)
oracle sql开发笔记(Oracle SQL开发笔记)
[explanation]: This article is based on the content of the book SQL basic Second Edition, which takes the form of learning notes to sort out the essence. There are also Oracle knowledge that I have learned from other sources. This article was once sent on my blog, but neither content nor typography has been carefully reviewed. The title of the article is also named after the books reading notes. This is not only the name of the article was modified, but also to supplement the content, typesetting is also more beautiful, easy to find reading.
Chapter 1: storing information in tables
The content of this chapter is too simple, a little understanding of the database, you know, do not write.
The second chapter: get information from the table
1, select statement
Select, t.id, T.Name, form, TTT, t, --t are aliases for tables, and form TTT as t can also be written;
Select * form TTT -- * said all columns;
The select distinct * from TTT --distinct indicates duplicate records in the removal of the result
Select * from TTT
Where t.id10 --where stands for conditions
Order, by, t.id, ASC, T.Name, DESC; --order by specifies which fields to sort by; ASC is ascending, and DESC is descending
Select T.Name as name from TTT; --as change query result heading
2, the availability of where comparison conditions are:
Equals: =, , , =, , =
Contains: in, not, in
Range: between, not, between
Matching tests: like, not, like
Null tests: is, null, is
Boolean links: and, or, not
3, wildcards: in the where clause, wildcards are used with the like criteria. In Oracle:
% (percent) used to represent any number of characters, or may have no character.
_ (underlined) said an unknown character exactly.
(question marks) used to indicate the exact unknown character.
# (wells) used to indicate the exact numbers in Arabia, 0 to 9.
[a-d] (square brackets) is used to represent the range of characters, from a to D here.
# (square brackets contain wildcards) denotes the charact
您可能关注的文档
- 在 word 中如何输入分数(How do I enter a fraction in word).doc
- 在cad中如何对三维体渲染(How to render 3D body in CAD).doc
- 在pocket pc的today界面上的任务栏加入你的应用程序图标(Add taskbar to your application icon on the taskbar at the pocket PC today interface).doc
- 在ubuntu server配置iptables防火墙(在Ubuntu服务器配置iptables防火墙).doc
- 在eclipse中使用svn配置步骤(Using the SVN configuration step in eclipse).doc
- 在unix下用c编写类windows菜单(Write the class windows menu in C under UNIX).doc
- 在vmware中安装和配置windows集群(Installing and configuring windows clusters in VMWare).doc
- 在域控上批量的增加用户(Increase the number of users on the domain control).doc
- 在家自制果冻~牛奶冻~冰激凌等的方法(Home made jelly ~ milk ice ~ ice cream and so on).doc
- 在家装设计中的一些谈客户的技巧和资料(In home improvement design, some talk about customer skills and information).doc
原创力文档


文档评论(0)