Hello, I can not execute a query in mysql. I have a table that has the following fields:
numero | data | descricao | norma
001 | 2017-02-28 | Lapis | NBR
001 | 2017-02-28 | Lapis | ISO
As in the example above, there are records that have the same number, date, and description, but the standard is different, so the query returns more than one row as a result.
I've tried using Distinct, group by but it did not work.
How can I mount this query to return me on a single line: the number, the date, the description that are the same and join in the same line the two standards?