mysql update select 從查詢結果中更新數據

# update select 語句(注意:必須使用inner join) # 語法 update a inner join (select yy from b) c on a.id =c.id set a.xx = c.yy #SELECT knowledge_id,COUNT(0) nums FROM pro_base_timu_knowledge GROUP BY knowledge_id;
相關文章
相關標籤/搜索