SQL: Difference between revisions
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
<font color=darkkhaki>DELETE WHERE</font> | <font color=darkkhaki>DELETE WHERE</font> | ||
==<span id='SELECT'></span>Queries with <tt>SELECT</tt>== | ==<span id='SELECT'></span>Queries with <tt>SELECT</tt>== | ||
{{Internal|SQL_SELECT#Overview|Queries with <tt>SELECT</tt>}} | |||
=SQL Transaction Statements= | =SQL Transaction Statements= |
Revision as of 21:01, 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.
- Refactor MySQL 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 DML Operations and surface in "Standard SQL" everything that can be handled with standard SQL.
INSERT
UPDATE
UPDATE WHERE
DELETE
DELETE WHERE
Queries with SELECT
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.