--- license: other license_name: openrail-d license_link: >- https://www.licenses.ai/blog/2022/8/18/naming-convention-of-responsible-ai-licenses task_categories: - text-generation language: - en pretty_name: annotated SQL size_categories: - 1M=`, `<=`, `<>`, `LIKE`, `REGEXP`. | | **Assignment** | Symbols used for assigning values in SQL expressions, e.g. `:=`. | | **Punctuation** | Symbols used for structuring SQL syntax, e.g.`(`, `)`, `,`, `.`, `:`, `::`, `;`, `[`, `]`. | | **Wildcard** | Symbols representing a selection of all columns or rows, e.g. `*`. | | **Keyword.Order** | Keywords for specifying sorting orders in query results, e.g. `ASC`, `DESC`. | | **Keyword.CTE** | Common Table Expression keywords for defining temporary result sets, e.g. `WITH`. | | **Keyword.TZCast** | Keywords for casting time zones in SQL queries, e.g. `AT TIME ZONE 'UTC'`. | | **Name** | Represents identifiers such as table or column names. | | **Name.Placeholder** | Placeholders used for dynamic or parameterized queries. | | **Literal** | Literal values like numbers, strings, or other constants. | | **Literal.Number.Integer** | Integer numeric literals in SQL expressions. | | **Literal.Number.Float** | Floating-point numeric literals in SQL expressions. | | **Literal.Number.Hexadecimal** | Hexadecimal numeric literals in SQL expressions. | | **Literal.String.Single** | Single-quoted string literals in SQL expressions. | | **Literal.String.Symbol** | Symbolic literals used in SQL expressions or commands. | | **Comment.Multiline** | Represents multi-line comments in SQL code. | | **Comment.Multiline.Hint** | Multi-line comments providing additional context or hints. | | **Comment.Single** | Represents single-line comments in SQL code. | | **Comment.Single.Hint** | Single-line comments providing additional context or hints. | | **Text.Whitespace** | Represents spaces or tabs in the SQL code for formatting. | | **Text.Whitespace.Newline** | Represents newline characters in SQL code for line breaks. | | **Generic.Command** | General commands that may not fall into specific SQL categories. |