Is there a (big) performance difference between running a query over a view or over the associated view-query with a where clause?
E.g.
CREATE VIEW v_comedies AS
SELECT *
FROM films
WHERE kind = 'Comedy';
Is there a performance difference between these queries?
1: SELECT * FROM v_comedies WHERE filmName LIKE 'Bat%'
2: SELECT * FROM films WHERE kind = 'Comedy' AND filmName LIKE 'Bat%'