I have this at the moment:
SELECT de.id, d.name, de.title discos_events de
INNER JOIN places d ON (de.dID = d.id)
WHERE unix_timestamp(now()) > de.date
LIMIT 10
This shows me the latest 10 events.
So no matter if the 10 events comes from the same place (dID), it still shows 10..
Now I want it to show 1 latest event per place.
So if theres 20 events 10 is from dID 1 and 10 is from dID 2 it should output one event from each place, so that would be 2 events in total. And these two events are the latest one (unix_timestamp(now()) > de.date)
Assuming you don’t have two events for the same id at the same date: