When looking up data from a table whose name start with a number HeidiSQL gives an error.
The SQL to produce this error is:
SHOW COLUMNS FROM 871687110000310326 LIKE '%'
which can be fixed by adding `` around the tablename like so:
SHOW COLUMNS FROM `871687110000310326` LIKE '%'
when the tablename doesn't start with a number there is no problem.
[edit]
The problem does not exists when there are ANY letters in the table name, apparently this problem only occurs when the tablename exists entirely of numbers.
[/edit]