Wondering how to return the 1st row in a MySQL group by vs. the last row. Returning a series of dates, but need the first one displayed.
select * from calendar w
If you want to show the first AND the last element of a group-by statement, this was useful for me:
SELECT min(date) AS minn, max(date) AS maxx FROM table_name GROUP BY occasion
Thanks for the question