Learn Python
Learn Data Structure & Algorithm
Learn Numpy
Learn Pandas
Learn Matplotlib
Learn Seaborn
Learn Statistics
Learn Math
Learn MATLAB
Learn Machine learning
Learn Github
Learn OpenCV
Learn Deep Learning
MySQL Introduction
MySQL Setup
MySQL Operators
MySQL Basic Works
MySQL Create Table
MySQL insert and get values
MySQL Condition
MySQL GROUP BY
MySQL Case
MySQL sorting and calculate avg,sum,count
MySQL Update
MySQL Time
MySQL String
MySQL Rollback & Commit
MySQL Join and Concatenate
MySQL Index
MySQL Date
MySQL View
MYSQL With Python
Learn MongoDB
Learn Web scraping
Learn Excel
Learn Power BI
Learn Tableau
Learn Docker
Learn Hadoop
Sometimes what happens is that we write a big code and we need to use that code multiple times. Writing the
code each time is not good. So what we can do is that we can save that code anywhere and then we can use that
code how many times we want. In MySQL view do this for you.
To do this, save the code and give a name to that saved code and when we want that code, just write the name,
and the code written inside that name will be executed.
Syntax:
CREATE VIEW view_name
AS
Write your code
Syntax to use the view:
SELECT * FROM view_name