SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT p.postid, p.posttime, t.topic, t.boardid, b.title FROM bb1_posts p, bb1_threads t LEFT JOIN bb1_boards b ON (t.boardid=b.boardid) WHERE p.threadid=t.threadid AND t.boardid IN (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) AND p.userid = '6219' AND p.visible=1 ORDER BY p.posttime DESC LIMIT 0, 1
mysql error: Table './usr_web1_1/bb1_posts' is marked as crashed and should be repaired
mysql error number: 145
mysql version: 5.0.32-Debian_7etch5
php version: 5.2.0-8+etch10
Date: 18.11.2017 @ 05:20
Script: /forum/profile.php?userid=6219&sid=a2c879609a63a517d6b502ed699afe69
Referer: