This is my solution for now. I think i export the data and make the rest with excel and VBA.
SELECT ost_thread_event.thread_id, ost_thread_event.data, ost_thread_event.timestamp, ost_thread.id, ost_thread.object_id, ost_ticket.ticket_id, ost_ticket.number
FROM (ost_thread_event INNER JOIN ost_thread ON ost_thread_event.thread_id =ost_thread.id)
INNER JOIN ost_ticket ON (ost_thread.object_id = ost_ticket.ticket_id) WHERE data LIKE '%status%';
I take the "thread_id" from the table "ost_thread_event" and compare it to the id in "ost_thread". Then i take the "object_id" from "ost_thread" and compare it to the "ticket_id" in "ost_ticket". I add the Incident "number" and the data, so when i sort it now by "number" i get the status and the timestamp of each incident.
Thanks for the tip. It helped me a lot. ?