Condition Pushdown into Derived Table Optimization
Introduction to Condition Pushdown
CREATE VIEW OCT_TOTALS AS
SELECT
customer_id,
SUM(amount) AS TOTAL_AMT
FROM orders
WHERE order_date BETWEEN '2017-10-01' AND '2017-10-31'
GROUP BY customer_id;
SELECT * FROM OCT_TOTALS WHERE customer_id=1Controlling the Optimization
See Also
Last updated
Was this helpful?

