当前位置:网站首页>PostgreSQL varchar[] 数组类型操作
PostgreSQL varchar[] 数组类型操作
2022-07-01 18:41:00 【稻草人0.0】
PostgreSQL varchar[] 数组类型操作:
| Operator | Description | Example | Result |
|---|---|---|---|
| = | equal | ARRAY[1.1,2.1,3.1]::int[] = ARRAY[1,2,3] | t |
| <> | not equal | ARRAY[1,2,3] <> ARRAY[1,2,4] | t |
| < | less than | ARRAY[1,2,3] < ARRAY[1,2,4] | t |
| > | greater than | ARRAY[1,4,3] > ARRAY[1,2,4] | t |
| <= | less than or equal | ARRAY[1,2,3] <= ARRAY[1,2,3] | t |
| >= | greater than or equal | ARRAY[1,4,3] >= ARRAY[1,4,3] | t |
| @> | contains | ARRAY[1,4,3] @> ARRAY[3,1] | t |
| <@ | is contained by | ARRAY[2,7] <@ ARRAY[1,7,4,2,6] | t |
| && | overlap (have elements in common) | ARRAY[1,4,3] && ARRAY[2,1] | t |
| || | array-to-array concatenation | ARRAY[1,2,3] || ARRAY[4,5,6] | {1,2,3,4,5,6} |
| || | array-to-array concatenation | ARRAY[1,2,3] || ARRAY[[4,5,6],[7,8,9]] | { {1,2,3},{4,5,6},{7,8,9}} |
| || | element-to-array concatenation | 3 || ARRAY[4,5,6] | {3,4,5,6} |
| || | array-to-element concatenation | ARRAY[4,5,6] || 7 | {4,5,6,7} |
边栏推荐
- Taiaisu M source code construction, peak store app premium consignment source code sharing
- 如何使用物联网低代码平台进行个人设置?
- Lake Shore 连续流动低温恒温器传输线
- 记一次 .NET 差旅管理后台 CPU 爆高分析
- [quick application] there are many words in the text component. How to solve the problem that the div style next to it will be stretched
- R language uses the transmute function of dplyr package to calculate the moving window mean value of the specified data column in dataframe data, and uses ggplot2 package to visualize the line graph b
- How to operate technology related we media well?
- M91快速霍尔测量仪—在更短的时间内进行更好的测量
- Stanford, salesforce|maskvit: masked vision pre training for video prediction
- ES6数组去重的三个简单办法
猜你喜欢

制造业SRM管理系统供应商全方位闭环管理,实现采购寻源与流程高效协同

linux下清理系统缓存并释放内存

Huawei game failed to initialize init with error code 907135000

bean的生命周期核心步骤总结

Lake Shore—OptiMag 超导磁体系统 — OM 系列

SuperOptiMag 超导磁体系统 — SOM、SOM2 系列

SuperVariMag 超导磁体系统 — SVM 系列

Navicat Premium 15 永久破解和2021版本最新IDEA破解(亲测有效)
![[live broadcast appointment] database obcp certification comprehensive upgrade open class](/img/38/1ec382d0edda83d4052868255af9ea.jpg)
[live broadcast appointment] database obcp certification comprehensive upgrade open class

Lumiprobe bifunctional crosslinker sulfo cyanine 5 bis NHS ester
随机推荐
宏观视角看抖音全生态
组队学习! 14天鸿蒙设备开发“学练考”实战营限时免费加入!
PriorityQueue的用法和底层实现原理
有关 M91 快速霍尔测量仪的更多信息
Love business in Little Red Book
生鲜行业B2B电商平台解决方案,提高企业交易流程标准化和透明度
The former 4A executives engaged in agent operation and won an IPO
Shell array
Stanford, salesforce|maskvit: masked vision pre training for video prediction
Lumiprobe 亚磷酰胺丨六甘醇亚磷酰胺说明书
【快应用】text组件里的文字很多,旁边的div样式会被拉伸如何解决
Huawei game failed to initialize init with error code 907135000
Navicat Premium 15 永久破解和2021版本最新IDEA破解(亲测有效)
R language uses the transmute function of dplyr package to calculate the moving window mean value of the specified data column in dataframe data, and uses ggplot2 package to visualize the line graph b
Create your own NFT collections and publish a Web3 application to show them (Introduction)
Graduation summary
Appgallery connect scenario development practice - image storage and sharing
GameFramework食用指南
Basic knowledge and commands of disk
Leetcode203 remove linked list elements