Solved I want a value (id) once inside the query

Matin_Murad

Member
Local time
Today, 07:13
Joined
Jul 1, 2020
Messages
40
Hello everyone: Inside a query, a non-repeated record, but the value (id) is duplicate, I want a value (id) once inside the query
 

Attachments

Is this what you want?

SELECT tabl2.id, tabl2.iname, Sum(tabl2.sales) AS SumOfsales
FROM tabl2
GROUP BY tabl2.id, tabl2.iname;
 
Thank you: this is what I need
 

Users who are viewing this thread

Back
Top Bottom