当前位置:网站首页>Gbase8s database select has an order by clause
Gbase8s database select has an order by clause
2022-06-29 12:18:00 【Like to eat radish ice cold】
ORDER BY Clause sorts the query results by the specified column or expression ;
ORDER BY Clause indicates that the query returns multiple rows . stay SPL in , If you specify ORDER BY Clause without
FOREACH Loop to handle SPL Lines returned individually within a routine , The database server sends an error .
The following queries are FROM Clause to specify the derived table , according to col1 Value sorts its rows , And declare vtab As a derived table
name , And vcol As the name of its unique column :
SELECT vcol FROM
(SELECT FIRST 5 col1 FROM tab1 ORDER BY col1) vtab(vcol);
stay NLSCASE INSENSITIVE In the database ORDER BY
In order to NLSCASE INSENSITIVE Property to create a database , Yes NCHAR or NVARCHAR Columns of data type
And expressions do not distinguish between upper and lower case letters . therefore , Include ORDER BY Clause may be queried in the form of a variable
A sequence of uppercase and lowercase letters of returns a line , If the column or expression is NLS data type , And the data includes only the case of letters
Same value .
If the data set includes alphabetic case variables of the same string , Then process these as repetition , With a list according to their search order
Case variables for . for example , A series that is treated as a repetition NCHAR or NVARCHAR Strings may appear in this order
present :
gAMma
GAmma
GaMMa
gamma
GAMMA
For more information , see also stay NLSCASE INSENSITIVE Duplicate rows in the database and In case sensitive data
In the library NCHAR and NVARCHAR expression .
边栏推荐
- Wonderful! Miaoying technology fully implements Zadig to help container construction, and fully embraces kubernetes and Yunyuan
- 自动化测试摸索之路---准备工作
- ONES 创始人王颖奇对话《财富》(中文版):中国有没有优秀的软件?
- Installation and configuration of MariaDB
- Li Kou daily question - day 31 -13 Roman array to integer
- 钛动科技:我们的 Zadig 落地之路
- Matlab GUI realizes the function of clicking the button, opening the file dialog box and importing pictures
- Some printer driver PPD files of Lenovo Lingxiang lenovoimage
- 2022 amination process test question simulation test question bank and online simulation test
- How to view saved passwords of websites
猜你喜欢
![[pbootcms template] composition website / document download website source code](/img/6e/51bbb4ce961defa4abd098ff3af21f.jpg)
[pbootcms template] composition website / document download website source code

助力极致体验,火山引擎边缘计算最佳实践

智能垃圾桶(四)——树莓派pico实现超声波测距(HC-SR04)

ERP编制物料清单 华夏

pod安全策略(PSP)

百度云盘不限速下载大文件(2021-11亲测有效)

每周推荐短视频:爱因斯坦是怎样思考问题的?

AutoCAD - text display mode and how CAD can directly open Tianzheng drawings

Pytoch - distributed communication primitive (with source code)

参加2022年杭州站Cocos Star Meetings
随机推荐
面试突击61:说一下MySQL事务隔离级别?
bison使用error死循环的记录
JVM之方法区
Pro test! Centos7 deploy PHP + spool
Win11 web version
GBase8s数据库select有ORDER BY 子句1
GBase8s数据库select有ORDER BY 子句6
Windwos10安装sshd服务
Installation and configuration of MariaDB
Jerry's WiFi interferes with Bluetooth [chapter]
爱可可AI前沿推介(6.29)
Numpy's ndarray array Foundation
GBase8s数据库INTO table 子句
An interpretable geometric depth learning model for structure based protein binding site prediction
易快报:我们用 Zadig 实现万次构建部署,聪明运维,释放开发生产力
力扣(LeetCode)179. 最大数(2022.06.28)
ShanDong Multi-University Training #3
Is the table queried by this EMR sparksql node ODPs?
Jerry's manual pairing method [chapter]
对p值的理解