Views
A view is a saved query you can select from like a table.
Example
CREATE VIEW top_students AS SELECT name, score FROM students WHERE score >= 85;
SELECT * FROM top_students ORDER BY score DESC;Result
name | score Ada | 92 Zainab | 88 Amina | 85
Exercise
Make a saved query.
CREATE v AS SELECT 1
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.