statement
SELECT
Reads data without changing the selected table. Duplicates remain unless explicitly eliminated. Use ORDER BY for guaranteed ordering. Example target: PostgreSQL 17 and SQLite (local fixture tested).
Formal Syntax & Structure
sql syntaxsql
SELECT expression [, ...] FROM tableWorking Example
Example Snippetsql
SELECT name FROM customers ORDER BY id;