Database query failed: Table 'events' is marked as crashed and should be repaired

SELECT `events` . * , event_type.name AS course_name FROM `events` LEFT JOIN event_type ON event_type.id = events.parent_id WHERE finished =0 ORDER BY event_type.name, events.displayOrder