开发者

Is there a command in PostgreSQL that can find if a tuple "contains" a specific value?

For e开发者_如何学Goxample:

How do i find if the word: "hello" was in the column "greetings"?


SELECT * FROM tab where col1 LIKE '%help%' OR col2 LIKE '%hello%'

and so on...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜