join運行機制

 今天遇到一個left join優化的問題,搞了一下午,中間查了很多資料,對MySQL的查詢計劃還有查詢優化有了更進一步的瞭解,作一個簡單的記錄:  select c.* from hotel_info_original c  left join hotel_info_collection h  on c.hotel_type=h.hotel_type and c.hotel_id =h.hote
相關文章
相關標籤/搜索