查询一条记录出现的次数不等一
SELECT order_id,count(1) from table_xxx WHERE user_id = 4398048279448 and type = 2 GROUP BY order_id HAVING count(1) <> 2
查询一条记录出现的次数不等一
SELECT order_id,count(1) from table_xxx WHERE user_id = 4398048279448 and type = 2 GROUP BY order_id HAVING count(1) <> 2