MySQL has some special names called reserved words. A reserved word can be used as an identifier for a table, column, etc. only if it's wrapped in backticks (`), otherwise it will give rise to an error.
To avoid such errors, either don't use reserved words as identifiers or wrap the offending ident...