我有以下 sql 代码:
$sql = "INSERT INTO data (Artist, Name) VALUES ('TF2', 'you're right behind me')";
代码本身看起来很正常,但由于某种原因mysql不想让我保存它。我收到以下错误:
"#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 're right behind me')' at line 1"
我知道问题是因为mysql中保留了“right”这个词,但我需要保存它,所以我的代码应该是什么样子。感谢所有帮助