- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
轻轻松松学习SQL 常规数据查询(Easy to learn SQL routine data query)
轻轻松松学习SQL 常规数据查询(Easy to learn SQL routine data query)
Easy to learn SQL routine data query
[basic structure of query]
In the database, data query is a Select statement to complete, can Select statement in the database according to the needs of users and provide qualification to retrieve data, and return the query results in the form of table.
The syntax of the Select clause is as follows:
Select [Distinct | Unique] (*, columnname [As alias],...)
The From tablename
[the Where condition]
[Group by group_by_list]
[Having search_conditions]
[Order by columnname [Asc | Desc]]
Parameter description:
Distinct | Unique: can delete the duplicate list in the query structure.
From tablename: this parameter is the name of the field to be queried, the [As alias] clause is the alias for the query field, and * represents the query for all fields.
[Where condition] : this clause is a combination of one or more filter conditions that will allow the record to be retrieved only by the record of the condition.
[Group by group_by_list] : the Group by clause will split the result set into groups based on the fields provided by the parameter group_by_list.
[Having search_conditions] : the Having clause is an additional filter applied to the result set.
[Order by columnname [Asc | Desc]] : Order by clause is used to define the sequence of records in the result set.
Given the structure of the Select statement above, you know that the Select statement contains a number of clauses. When executing a Select statement, the DBMS (database management system) will perform the following steps:
(1) execute the From clause and create a worksheet based on the table in the From clause. If the table in the From clause exceeds 2 tables, the DBMS will cross-connect the tables.
(2) if there is a Where statement after the Select statement, the DBMS will apply the query conditions listed in the Where to the worksheet that is generated From the From clause. The DBMS holds the record that satisfies the conditi
您可能关注的文档
- 热带鱼的疾病和治疗(The disease and treatment of tropical fish).doc
- 热轧和冷轧的区分(The distinction between hot and cold rolled).doc
- 焊接专业论文(Welding professional paper).doc
- 热工 仪表初 判断(Initial determination of thermal instrument).doc
- 焦虑障碍(Anxiety disorders).doc
- 煤渣灰成分(Cinder ash composition).doc
- 煤矿井下问题精选100问及答案(The answer was asked 100 questions in the mine).doc
- 激光头的维修(Maintenance of laser head).doc
- 激励的话(motivation).doc
- 燃气灶具的使用常识(Use common sense of gas cooker).doc
- 软盘将自动引导系统进入DOS`怎样做``(Floppy disk will automatically lead the system into DOS ` do ` `).doc
- 过午不食的益处(The benefits of not eating the afternoon).doc
- 身体训练(Physical training).doc
- 过孔设置(A hole is set).doc
- 过敏体质要点注意(Beware of allergies).doc
- 迈腾1.8t新车磨合(Maiteng 1.8 t new car run-in).doc
- 近10年中医外治法治疗口疮状况(In the past 10 years, TCM has been used to treat ulcers).doc
- 近百种常见花草茶功效说明(The efficacy of nearly 100 kinds of herbal teas).doc
- 近义词词组(synonyms).doc
- 进玉电极(Into the jade electrode).doc
文档评论(0)