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 |
|---|
| MySQL Indexes |
| MySQL Views |
| MySQL Transactions |
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| What is an index in MySQL? |
| What is a view in MySQL? |
| What is a transaction in MySQL? Explain ACID |
| What is a stored procedure in MySQL? |
| What is a trigger in MySQL? |