SQL CREATE ALTER DROP VIEW: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Tag: Reverted
Line 3: Line 3:
* [[SQL_Data_Types#Overview|SQL Data Types]]
* [[SQL_Data_Types#Overview|SQL Data Types]]
=Overview=
=Overview=
A '''view''' is a query that is stored in the database's [[SQL#Data_Dictionary|data dictionary]].


=<tt>CREATE</tt>=
=<tt>CREATE</tt>=

Revision as of 17:24, 23 May 2024

Internal

Overview

A view is a query that is stored in the database's data dictionary.

CREATE

CREATE VIEW cust_view AS SELECT id, name, address FROM customer;
PostgreSQL MySQL

ALTER

DROP