select * from order where length(order_num)-length(replace(order_num,'8','')) = 4
转载于:https://www.cnblogs.com/zl0372/p/mysql_fileld_count.html
select * from order where length(order_num)-length(replace(order_num,'8','')) = 4
转载于:https://www.cnblogs.com/zl0372/p/mysql_fileld_count.html