MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table 'leafpile_mybb140.mybbe8_posts' doesn't exist
Query:
SELECT pid FROM mybbe8_posts WHERE tid=81771 AND visible=1 ORDER BY dateline DESC LIMIT 0, 1