Table './imx365/bbs_attachments' is marked as crashed and should be repaired SELECT a.id, a.aid, a.filetype, a.filename, a.ext, a.filesize, a.upload_datetime, a.is_image, a.download, a.description FROM bbs_attach_uses AS u LEFT JOIN bbs_attachments AS a ON u.id = a.id WHERE u.post_id = 480297