当前位置:网站首页>PostgreSQL varchar[] array type operation
PostgreSQL varchar[] array type operation
2022-07-01 19:20:00 【Scarecrow 0.0】
PostgreSQL varchar[] Array type operation :
| 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} |
边栏推荐
- Chaos engineering platform chaosblade box new heavy release
- June issue | antdb database participated in the preparation of the "Database Development Research Report" and appeared on the list of information technology and entrepreneurship industries
- 苹果产品在日本全面涨价,iPhone13涨19%
- VBA simple macro programming of Excel
- MySQL common graphics management tools | dark horse programmers
- Lumiprobe 自由基分析丨H2DCFDA说明书
- 2020, the regular expression for mobile phone verification of the latest mobile phone number is continuously updated
- Lake Shore continuous flow cryostat transmission line
- ES6 summary "suggestions collection" of array methods find(), findindex()
- Huawei cloud experts explain the new features of gaussdb (for MySQL)
猜你喜欢

Lake Shore - crx-em-hf low temperature probe station
![[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](/img/5c/b0030fd5fbc07eb94013f2699c2a04.png)
[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

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

毕业季 | 华为专家亲授面试秘诀:如何拿到大厂高薪offer?

Improve yolov5 with gsconv+slim neck to maximize performance!

Altair HyperWorks 2022软件安装包和安装教程

宝,运维100+服务器很头疼怎么办?用行云管家!

Lake Shore continuous flow cryostat transmission line

Bao, que se passe - t - il si le serveur 100 + O & M a mal à la tête? Utilisez le majordome xingyun!

透过华为军团看科技之变(六):智慧公路
随机推荐
Lumiprobe cell imaging study PKH26 cell membrane labeling kit
PostgreSQL varchar[] 数组类型操作
ES6数组方法find()、findIndex()的总结「建议收藏」
Lumiprobe 细胞成像研究丨PKH26细胞膜标记试剂盒
Excel之VBA简单宏编程
Lake Shore M91快速霍尔测量仪
Appgallery connect scenario development practice - image storage and sharing
Chaos engineering platform chaosblade box new heavy release
docker 部署mysql8.0
[live broadcast appointment] database obcp certification comprehensive upgrade open class
JS find the next adjacent element of the number in the array
MySQL common graphics management tools | dark horse programmers
How to realize the bottom layer of read-write lock in go question bank 16
Digital business cloud: from planning to implementation, how does Minmetals Group quickly build a new pattern of digital development?
Summary of the core steps in the life cycle of beans
Solution: you can ping others, but others can't ping me
6月刊 | AntDB数据库参与编写《数据库发展研究报告》 亮相信创产业榜单
Docker deploy mysql8.0
Lefse analysis
案例分享:QinQ基本组网配置