查询:
SELECT l.subscriberid AS subscriberid
FROM email_list_subscribers AS l, email_queues AS q WHERE q.recipient = l.subscriberid AND q.queueid = 12 AND queuetype = 'send' AND l.listid IN (1)
GROUP BY l.emailaddress HAVING COUNT(l.emailaddress) > 1
请拒绝有人可以帮助我
答案 0 :(得分:0)
如果使用“分组依据”,则必须在select语句中使用分组功能-最小值,最大值等...