我在
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文档:
原文链接:https://www.f2er.com/postgresql/191865.htmlThe 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.