My SQL query is returning multiple rows with the same id following:
SELECT distinct (c.nome), c.id, c.email,c.telefone1,c.telefone2,
SUM(a.valor) AS "valorDaCompra",u.id AS "idLoja",u.nome AS "nomeLoja",
SUM(a.qtd_pecas) AS "qtdPeca...
asked by
01.12.2017 / 20:27