Select last record from my table
As explained in the documentation, there are rules on what makes a valid identifier. This rule is what affects your case:


  Identifiers may begin with a digit but unless quoted may not consist solely of digits. 


So, as @ypercube says, you need to quote your table name, either with double quotes or backticks:

SELECT * FROM "2521118" ORDER BY id DESC LIMIT 1 


or 

SELECT * FROM `2521118` ORDER BY id DESC LIMIT 1