Answers for "group by sql not ordering issues"

SQL
0

group by sql not ordering issues

SELECT * FROM(
SELECT DISTINCT(item_id),balance
FROM `stock_activity` 

ORDER BY(activity_id) DESC
) t1
GROUP BY (item_id)
Posted by: Guest on October-26-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language