On dirait que vous voulez utiliser ORDER BY au lieu de GROUP BY :
select * from calendar where approved = 'pending' order by eventid asc limit 1;
On dirait que vous voulez utiliser ORDER BY au lieu de GROUP BY :
select * from calendar where approved = 'pending' order by eventid asc limit 1;