0

If I do this:

SELECT range_name, club_id FROM range WHERE range_id=1

I get a syntax error. But if I do this:

SELECT range_id, local_id FROM range_relation WHERE id=1

It works just fine. To fix my syntax error in case one, I need to add "`" like this:

SELECT range_name, club_id FROM `range` WHERE range_id=1

Then it works fine. Why is "`" not always required around the table, only sometimes?

J. Doe
  • 335
  • 1
  • 2
  • 11

0 Answers0