Hi,
I'm stumped and I need help pronto! I want to select all rows EXCEPT the FIRSt row from a MySQL table. My primary key is a unique id (which I auto increment).
I did a subquery but it didnt work. I use something like this :
$eventsquery = "SELECT * FROM idb_events WHERE events_id < (SELECT events_id FROM idb_events LIMIT 1 ) ORDER by events_id DESC";
but it returns an error.
I'm doing a listing for some events. The display(layout) for the latest event is different from other events (for highlight purposes) and I can only think of excluding the first row from the others.
Can somebody out there help me?
All help greatly appreciated. Thanks.