mysql exists 和 in 運行原理解析

這條語句適用於a表比b表大的狀況數據庫 select * from ecs_goods a where cat_id in(select cat_id from ecs_category);緩存   這條語句適用於b表比a表大的狀況 select * from ecs_goods a where EXISTS(select cat_id from ecs_category b where a.ca
相關文章
相關標籤/搜索