What is a view in MySQL?

CREATE VIEW top_students AS
SELECT name, marks FROM students WHERE marks >= 80;

SELECT * FROM top_students;

A view hides complex queries and can limit what columns a user can see. See MySQL Views.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.