評估篩選效能
愛達荷州外勤辦公室回報,他們用來取得各緯度平均井深的查詢發生問題。你決定先檢查的一件事,是 welldepthmeasure 的 WHERE 條件子句是否有效。
SELECT latitudemeasure, AVG(welldepthmeasure)
FROM public_intro_redshift.idaho_monitoring_location
WHERE welldepthmeasure > 0.00
GROUP BY latitudemeasure
ORDER BY latitudemeasure
根據此查詢的 EXPLAIN 輸出,在套用 where 條件之後掃描了多少列?
本練習屬於課程
