我有一个查询 Postgres :
SELECT DISTINCT a.profn FROM tprof a, sap_tstc b, tgrc c
WHERE ((c.grcid ~~ a.grcid)
AND ((c.tcode) = (b.tcode)));
~~
是什么意思?
最佳答案
来自 9.7.1. LIKE PostgreSQL 文档:
The operator
~~
is equivalent toLIKE
, and~~*
corresponds toILIKE
. There are also!~~
and!~~*
operators that representNOT LIKE
andNOT ILIKE
, respectively. All of these operators are PostgreSQL-specific.
关于postgresql - ~~ Postgres 中的运算符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21925796/