Processing Queries with Views
For logically stored views, use query modification:
-
-
- Could be rewritten (modified):
-
-
- or:
FROM YoungActiveStudents Y
FROM ( <view definition goes here> ) AS Y
FROM Students S, Enrolled E
WHERE S.sid = E.sid and S.age < 21 and S.name = ‘Sam’