我正在使用Mariadb并尝试执行一个简单的插入查询: INSERT INTO admin ("ADMIN_CODE", "DEPT_CODE", "ID") VALUES ("xxx", "yyy", 1); 在执行上面的查询时,我得到了如下错误: You have an error in your SQL syntax; check the manual that corresponds toyour MariaDB s
我有一个select查询,它在本地主机MySQL数据库环境中工作得很好。它应该返回json对象。当我在安装了MariaDB 10.5.15的托管公共服务器上运行相同的查询时,返回的json包含几个反斜杠和转义字符。.Category1Status = 1 ORDER BY C1.Category1Order 我的问题是如何正确地为MariaDB我正在附加来自MySQL (img1)和MariaDB (img2)的结果。
我在PHPMyAdmin中得到了这个错误:
#1064 - You have an error in your SQL syntax; check the manual that correspondsto your MariaDB server version for the right syntax to use near '"order" SET `user_id` = 5, `week_id