SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: DELETE FROM bb1_sessions WHERE userid='0' AND ipaddress = '54.161.96.152' AND useragent = 'CCBot/2.0 (http://commoncrawl.org/faq/)'
mysql error: Table 'wa9189_db1.bb1_sessions' doesn't exist
mysql error number: 1146
mysql version: 5.7.17
php version: 5.6.30
Date: 24.05.2017 @ 09:45
Script: /forum/thread.php?threadid=1395&hilight=blieskastel
Referer: