There was an error with a database query

Query:

SELECT post_votes.*, user.*, posts.*, saved.*, COUNT( DISTINCT(post_comments.ID) ) AS total_comments, user_name, posts.ID AS post_id FROM (posts, user) LEFT JOIN post_votes ON post_votes.post_id = posts.ID AND post_votes.user_id = -1 LEFT JOIN post_comments ON post_comments.post_id = posts.ID LEFT JOIN saved on saved_post_id = posts.ID and saved_user_id = 33 WHERE posts.ID IN (SELECT posts.ID FROM posts, post_votes, user WHERE post_id = posts.ID AND TYPE = 'up' AND post_votes.user_id = 33) GROUP BY posts.id ORDER BY date_posted desc LIMIT 0, 25

Error Message

Incorrect key file for table '/tmp/#sql_203b_0.MYI'; try to repair it