Should I use backticks or not when escaping keywords in MySQL?
The most portable way (between the systems) is to use double quotes, however, it would require enabling ANSI_QUOTES
which is off by default on most installations.
So while keeping arguably useful compatibility between different engines (and incompatibility does not limit itself to backticks only but to zillion other things different between MySQL
and other systems) you are killing the compatibility between different setups of MySQL
which is by far more important.
Avoiding the reserved keywords is always the best solution.