Unknown column 'inventory_id' in 'field list'
时间: 2023-12-14 12:02:47 浏览: 79
Unknown column ” in ‘field list’解决方案
5星 · 资源好评率100%
在问题中提到了一个报错信息:"Unknown column 'inventory_id' in 'field list'"。根据引用和引用的内容,这个报错可能是由于在SQL语句中使用了错误的字段名称导致的。在引用中,提到了写SQL语句时需要注意字段名称的正确性。如果表中的列名是"last_name",那么在SQL语句中应该使用"last_name"而不是"inventory_id"。所以,可能需要检查SQL语句中的字段名称是否与数据库表中的列名一致,并确保没有拼写错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Unknown column ‘lastName‘ in ‘field list‘报错](https://blog.csdn.net/qq_45048256/article/details/123561465)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Unknown column ” in ‘field list’解决方案](https://download.csdn.net/download/weixin_38720461/14832658)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文