Php SQLSTATE[42000]:语法错误或访问冲突:1064您的SQL语法有错误;拉维尔
因此,我尝试在查询中添加新行,但不幸的是,我遇到了以下错误: SQLSTATE[42000]:语法错误或访问冲突:1064您有 SQL语法错误;检查与您的产品相对应的手册 MariaDB服务器版本,以获取要在“FROM”附近使用的正确语法 职业规划与解决方案 我要补充的是:Php SQLSTATE[42000]:语法错误或访问冲突:1064您的SQL语法有错误;拉维尔,php,database,laravel,Php,Database,Laravel,因此,我尝试在查询中添加新行,但不幸的是,我遇到了以下错误: SQLSTATE[42000]:语法错误或访问冲突:1064您有 SQL语法错误;检查与您的产品相对应的手册 MariaDB服务器版本,以获取要在“FROM”附近使用的正确语法 职业规划与解决方案 我要补充的是: career_solutions_certification as certification, INNER JOIN certification ON career_solutions_certification.id
career_solutions_certification as certification,
INNER JOIN certification
ON career_solutions_certification.id = career_solutions.certification
$career_solution->topic_certification_id = $request['topic_certification_id'];$career_solution->save();
这是我的密码
我的表格是career\u solutions\u certification
/columnid
和category
career_solutions_certification.category as certification
可能没有-,选择列后,会有额外的逗号
Wrong : career_solutions_certification.category as certification**,**
Correct : career_solutions_certification.category as certification
您在
career\u solutions\u certification.category中有一个额外的逗号作为certification,
谢谢:)所以最后一个应该每次都不带逗号?是的。查询的最后一列中的逗号不正确
Wrong : career_solutions_certification.category as certification**,**
Correct : career_solutions_certification.category as certification