标签: mysql sql phpmyadmin
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。
答案 0 :(得分:0)
是的,您可以在同一查询中使用多个REGEXP
REGEXP
AND nomes REGEXP 'akira|secondvalue|thirdvalue'
Here is more info.