Ver originalSELECT T1.* FROM data_clientes T1INNER JOIN (SELECT id_franq, clientes_cod FROM data_clientes GROUP BY id_franq, clientes_cod HAVING COUNT(*) > 1) T2ON T1.id_franq = T2.id_franq AND T1.clientes_cod = T2.clientes_cod LIMIT 30