gpt4 book ai didi

mysql - 有没有办法获得各种 REGEXP

转载 作者:行者123 更新时间:2023-11-29 03:32:44 25 4
gpt4 key购买 nike

SELECT COUNT(nomes) AS Number of machines that use certain name FROM pos_systems
WHERE active=1
AND nomes IS NOT NULL
AND nomes <>''
AND nomes REGEXP 'akira'

我想知道是否有办法在同一查询中显示多个 REGEXP。

最佳答案

是的,您可以在下面的同一查询中使用多个 REGEXP

AND nomes REGEXP 'akira|secondvalue|thirdvalue'

Here is more info.

关于mysql - 有没有办法获得各种 REGEXP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28085971/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com