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
Sounds like you want to use ORDER BY instead of GROUP BY:
select * from calendar where approved = 'pending' order by eventid asc limit 1;