SQL Language Structure
Explore the SQL language structure in MariaDB Server. This section provides fundamental concepts, syntax rules, and common elements that form the building blocks of SQL queries and commands.
Last updated
Was this helpful?
Explore the SQL language structure in MariaDB Server. This section provides fundamental concepts, syntax rules, and common elements that form the building blocks of SQL queries and commands.
Binary literal syntax in MariaDB: b'value', B'value', and 0bvalue.
Syntax for DATE, TIME, DATETIME, and TIMESTAMP literals, including SQL- standard and ODBC forms.
Hexadecimal literal syntax in MariaDB, such as x'value' and 0xvalue.
How identifier case sensitivity depends on the object type and the operating system.
Rules for naming identifiers such as databases, tables, columns, and other objects.
Using qualifiers (such as db.table.column) to reference database objects in SQL.
How MariaDB maps identifiers to file names on disk.
Numeric literal syntax for integers and decimals, including signs and exponents.
The list of reserved words in MariaDB.
Boolean literals: TRUE and FALSE as synonyms for 1 and 0.
Schema qualifiers manage SQL mode dependent behavior for data types and functions.
String literal syntax, quoting, and escape sequences.
The VALUES table value constructor, which produces a set of rows.
Session-scoped user-defined variables (@var), and how to set and use them.
Last updated
Was this helpful?
Was this helpful?

