I got the same database error with a CLEAN installation of 1.52 while running helpdesk.php.
my vb version is 3.06
Code:
Invalid SQL: INSERT INTO domain_com_-_forums.ticketdeleted SELECT * FROM domain_com_-_forums.ticket WHERE ticketid = 3
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-_forums.ticketdeleted SELECT * FROM domain_com_-_forums.
mysql error number: 1064
MySQL 3.23.58