当前位置:网站首页>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} |
边栏推荐
- 解决方案:可以ping别人,但是别人不能ping我
- The R language uses the tablestack function of epidisplay package to make statistical summary tables (descriptive statistics based on the grouping of target variables, hypothesis testing, etc.). If th
- How to operate technology related we media well?
- app发版后的缓存问题
- linux下清理系统缓存并释放内存
- Three simple methods of ES6 array de duplication
- M91快速霍尔测量仪—在更短的时间内进行更好的测量
- Yyds dry inventory ravendb start client API (III)
- Why do independent website sellers start to do social media marketing? The original customer conversion rate can be improved so much!
- Excel之VBA简单宏编程
猜你喜欢

宏观视角看抖音全生态

Leetcode-141 circular linked list

Lumiprobe non fluorescent alkyne EU (5-ethynyluridine)

Leetcode-160 intersecting linked list
![[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?](/img/66/674a06d8e45a31ae879b81554ef373.png)
[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?

Lumiprobe 自由基分析丨H2DCFDA说明书

Three. JS learning - basic operation of camera (learn from)

如何在自有APP内实现小程序实现连麦直播

ACM MM 2022视频理解挑战赛视频分类赛道冠军AutoX团队技术分享

生鲜行业B2B电商平台解决方案,提高企业交易流程标准化和透明度
随机推荐
Altair HyperWorks 2022软件安装包和安装教程
Three simple methods of ES6 array de duplication
记一次 .NET 差旅管理后台 CPU 爆高分析
如何在自有APP内实现小程序实现连麦直播
网易游戏,激进出海
How to operate technology related we media well?
华为云专家详解GaussDB(for MySQL)新特性
数据仓库(四)之ETL开发
Altair HyperWorks 2022 software installation package and installation tutorial
[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?
Leetcode-83 delete duplicate elements in the sorting linked list
Today, with the popularity of micro services, how does service mesh exist?
【直播预约】数据库OBCP认证全面升级公开课
Li Kou daily question - Day 32 -589 N × Preorder traversal of tree
小红书上的爱情买卖
R language ggplot2 visualization: gganimate creates a dynamic histogram animation (GIF), and displays the histogram and enter step by step along a given dimension in the animation_ Growth function and
微服务大行其道的今天,Service Mesh是怎样一种存在?
Gameframework eating guide
Why do independent website sellers start to do social media marketing? The original customer conversion rate can be improved so much!
精耕渠道共谋发展 福昕携手伟仕佳杰开展新产品培训大会