We define a view in SQL through using the create view command. To describe a view, we must provide the view a name and must state the query in which computers the view. The form of the create view command is
Create view z as where z is the view name
< query expression > is any legal query expression.