报错:1146 - Table 'food.food_temp as' doesn't exist

报错:

1146 - Table 'food.food_temp as' doesn't exist

原因:

名字带temp,只能用表名直接调用,不能用as自定义的名字去调用字段

解决:

直接用food_temp.name调用name字段

发布了110 篇原创文章 · 获赞 25 · 访问量 16万+

猜你喜欢

转载自blog.csdn.net/qq_32117641/article/details/105031746