当前位置:网站首页>GBase8s数据库select有ORDER BY 子句
GBase8s数据库select有ORDER BY 子句
2022-06-29 11:28:00 【爱吃萝卜冰冰凉】
ORDER BY 子句按指定的列或表达式对查询结果排序;
ORDER BY 子句表明该查询返回多行。在 SPL 中,如果您指定 ORDER BY 子句而没有
FOREACH 循环来处理 SPL 例程之内单个地返回的行,则数据库服务器发出错误。
下列查询在 FROM 子句中指定派生的表,按照 col1 值对其行排序,并声明 vtab 作为派生的表的
名称,且 vcol 作为其唯一列的名称:
SELECT vcol FROM
(SELECT FIRST 5 col1 FROM tab1 ORDER BY col1) vtab(vcol);
在 NLSCASE INSENSITIVE 数据库中的 ORDER BY
在以 NLSCASE INSENSITIVE 属性创建的数据库中,对 NCHAR 或 NVARCHAR 数据类型的列
和表达式的操作不区分大写字母和小写字母。因此,包括 ORDER BY 子句的查询可能以不管变量
的字母大小写的序列返回行,如果该列或表达式为 NLS 数据类型,且该数据包括仅字母大小写不
同的值。
如果数据集包括同一字符串的字母大小写变量,则按重复来处理这些,带有按它们的检索顺序罗列
的大小写变量。例如,被处理为重复的一系列 NCHAR 或 NVARCHAR 字符串可能按此顺序出
现:
gAMma
GAmma
GaMMa
gamma
GAMMA
要获取更多信息,请参阅 在 NLSCASE INSENSITIVE 数据库中重复的行 和 在区分大小写的数据
库中的 NCHAR 和 NVARCHAR 表达式。
边栏推荐
- RepOptimizer: 其实是RepVGG2
- 启泰观察:职业精英创业必踩巨坑之 --- 学习效果坑
- 速看|期待已久的2022年广州助理检测工程师真题解析终于出炉
- Numpy's ndarray array Foundation
- 自动化测试摸索之路---准备工作
- 保障饮用水安全!番禺沙湾水道水质在线监测系统通过验收
- GBase8s数据库INTO TEMP 子句创建临时表来保存查询结果。
- 小白学习MySQL - 增量统计SQL的需求 - 开窗函数的方案
- Dragon Book tiger Book whale Book gnawing? Try the monkey book with Douban score of 9.5
- 将文件夹打包成iso
猜你喜欢

What are outer chain and inner chain?

Matlab GUI realizes the function of clicking the button, opening the file dialog box and importing pictures

启泰观察:职业精英创业必踩巨坑之 --- 学习效果坑

面试突击61:说一下MySQL事务隔离级别?

Ensure drinking water safety! Panyu Shawan waterway water quality online monitoring system passed the acceptance

申请uniapp离线打包时的AppKey

Sofaregistry source code | data synchronization module analysis

Jericho's position on initiating the connection back to the opposite ear: 【 chapter 】

Titanium dynamic technology: our Zadig landing Road

ONES 创始人王颖奇对话《财富》(中文版):中国有没有优秀的软件?
随机推荐
STM32看门狗研究
Jerry's initiation of ear pairing, reconnection, and opening of discoverable and connectable cycle functions [chapter]
Ensure drinking water safety! Panyu Shawan waterway water quality online monitoring system passed the acceptance
跟着官方学电机,BLDC两种控制策略,学到即赚到
小白学习MySQL - 增量统计SQL的需求 - 开窗函数的方案
When you are young, you should be awake to fight, and when you are young, you should have the courage to try
2022 construction worker civil engineering direction general foundation (construction worker) theoretical question bank simulation test platform operation
&4 express框架
Zhengda futures liu4 data integration
开源机器学习平台
Students' programming stories
RSLO:自监督激光雷达里程计(实时+高精度,ICRA2022)
torch. Load load model error: can't get attribute 'VAE_ vc‘ on <module ‘__ main__‘ From 'xxxx() run file path‘
在校生的编程故事
恒泰证券开户安全吗 证券排名
iMile 利用 Zadig 多云环境周部署千次,跨云跨地域持续交付全球业务
Jerry's about TWS pairing mode configuration [chapter]
Jerry's about TWS channel configuration [chapter]
普通用户使用vscode登录ssh编辑root文件
Numpy的ndarray数组基础