SQL多表查询出错(Column 'did' in field list is ambiguous)
select dishId,count,( select title from wds_dishes where did=did limit 1 ) as title from wds_shopping_cart inner join wds_dishes on did=did where uid=1现有两张表:购物车表wds_shopping_cart菜品信息表wds_dishes现想...
原创
2018-11-07 15:42:40 ·
1342 阅读 ·
0 评论