SQL: Difference between revisions
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
=SQL Schema Statements (DDL)= | =SQL Schema Statements (DDL)= | ||
<font color=darkkhaki>Refactor [[PostgreSQL_DDL_Operations#Internal|PostgreSQL DDL Operations]] and surface in "Standard SQL" everything that can be handled with standard SQL.</font> | |||
==<tt>CREATE</tt>== | ==<tt>CREATE</tt>== | ||
===<tt>CREATE TABLE</tt>=== | ===<tt>CREATE TABLE</tt>=== |
Revision as of 20:58, 22 May 2024
External
- Learning SQL, 3rd Edition by Alan Beaulieu
Internal
Overview
This article documents standard SQL. For database-specific extensions, we'll link to the databases-specific DML operations page.
SQL is a non-procedural language TODO: this
Terms
Result Set
SQL Schema Statements (DDL)
Refactor PostgreSQL DDL Operations and surface in "Standard SQL" everything that can be handled with standard SQL.
CREATE
CREATE TABLE
ALTER TABLE
SQL Data Statements (DML)
Refactor PostgreSQL DDL Operations and surface in "Standard SQL" everything that can be handled with standard SQL.
INSERT
UPDATE
UPDATE WHERE
DELETE
DELETE WHERE
Queries with SELECT
Query execution. SQL optimizer. Subqueries.
SQL Transaction Statements
Transactions.
Data Types
- SQL data types
- Database-specific data types
- Working with different data types
- Conversion functions
SQL NULL
NULL
in conditions.