MySQL Forums
Forum List  »  Newbie

Re: error 1064
Posted by: Phillip Ward
Date: July 31, 2024 08:44AM

groups is a reserved word to MySQL (Refer to https://dev.mysql.com/doc/refman/8.4/en/keywords.html#keywords-8-4-detailed-G).

Do not use it as the name for anything (table, column, etc.) or as a Correlation Name (Table Alias) in your queries.

And yes, you can get around it by using backticks around the offending name, but don't. It will come back and bite you eventually.

Regards, Phill W.

Options: ReplyQuote


Subject
Written By
Posted
July 31, 2024 03:58AM
Re: error 1064
July 31, 2024 08:44AM
July 31, 2024 08:49AM
August 02, 2024 01:44AM
August 05, 2024 01:49AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.