AFAIK, उप चयन आपका सबसे अच्छा विकल्प है, जो इस प्रकार है:
SELECT *
FROM mytable mt
JOIN ( SELECT MAX(timestamp) as max, event
FROM mytable
GROUP BY event) m_mt
ON (mt.timestamp = m_mt.max AND mt.event = m_mt.event);