SQL: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
==Table==
==Table==
The term comes from Codd's "A Relational Model of Data for Large Shared Data Banks" paper.
The term comes from Codd's "A Relational Model of Data for Large Shared Data Banks" paper.
==Entity==
==Result Set==
==Result Set==
==View==
==View==

Revision as of 21:17, 22 May 2024

External

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

Table

The term comes from Codd's "A Relational Model of Data for Large Shared Data Banks" paper.

Entity

Result Set

View

SQL Schema Statements (DDL)

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

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.

Indexes

Constraints

Set Operations

SQL Conditional Logic