Why when I run the query below, it returns records:
SELECT COUNT(DISTINCT(dadf332.numped)) AS qtdped,
DATE_FORMAT(dadf331.datlan, '%d/%m/%Y') AS datavenda
FROM dadf331, dadf332
WHERE dadf331.numped = dadf332.numped
AND tipped = 0
AND da...
asked by
13.06.2018 / 15:02