SQL多表查詢出錯(Column 'did' in field list is ambiguous)

select did,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 現想通
相關文章
相關標籤/搜索