scalar
LEFT
Returns the first n characters for nonnegative n. Example target: PostgreSQL 17. No tables or extensions required.
Formal Syntax & Structure
sql syntaxsql
LEFT(text,n)Working Example
Example Snippetsql
SELECT left('catalog',3);Returns the first n characters for nonnegative n. Example target: PostgreSQL 17. No tables or extensions required.
LEFT(text,n)SELECT left('catalog',3);