The document demonstrates how to create a view in MySQL. It first creates a database and table, inserts sample data, then creates a view called V1 that selects certain columns and performs calculations on the data from the original table. The view is then queried to show the results. It also shows string operations and sorting of data in MySQL.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
119 views10 pages
Create View in Mysql
The document demonstrates how to create a view in MySQL. It first creates a database and table, inserts sample data, then creates a view called V1 that selects certain columns and performs calculations on the data from the original table. The view is then queried to show the results. It also shows string operations and sorting of data in MySQL.