# Firebolt Documentation: SQL reference > Firebolt is a high-performance cloud data warehouse optimized for sub-second analytics at scale. This documentation covers SQL references, architecture, integrations, security, and operational guides for developers and data engineers. ## SQL reference - [SQL reference](https://docs.firebolt.io/reference-sql.md): Overview of the Firebolt SQL dialect, which is modeled after PostgreSQL, and of the SQL reference sections. - [Explicit Transactions](https://docs.firebolt.io/reference-sql/explicit-transactions.md): Reference for Explicit Transactions and syntax for the BEGIN/COMMIT/ROLLBACK statements. - [System settings](https://docs.firebolt.io/reference-sql/system-settings.md): Lists Firebolt system settings that you can configure using SQL. - [Differences from PostgreSQL](https://docs.firebolt.io/reference-sql/postgresql-differences.md): Compatibility matrix of Firebolt SQL against PostgreSQL, covering data types, query syntax, functions, statements, and the system catalog, with the differences that change query results listed first. ### Lexical structure - [Lexical structure](https://docs.firebolt.io/reference-sql/lexical-structure.md): Describes the lexical structure of SQL in Firebolt, including identifiers, literals, operators, comments, and query parameters. - [Object identifiers](https://docs.firebolt.io/reference-sql/lexical-structure/object-identifiers.md): Provides requirements and guidance for using SQL identifiers with Firebolt. - [Reserved words](https://docs.firebolt.io/reference-sql/lexical-structure/reserved-words.md): Provides a list of reserved SQL words in Firebolt. - [Operators](https://docs.firebolt.io/reference-sql/lexical-structure/operators.md): Reference for SQL operators available in Firebolt. - [ANY/ALL (array)](https://docs.firebolt.io/reference-sql/lexical-structure/any-all-array.md): Reference for ANY(array) and ALL(array) quantified comparison operators in Firebolt. - [ANY/ALL (subquery)](https://docs.firebolt.io/reference-sql/lexical-structure/any-all-subquery.md): Reference for ANY(subquery) and ALL(subquery) quantified comparison operators in Firebolt. ### Data types - [Data types](https://docs.firebolt.io/reference-sql/data-types.md): Provides the SQL data types available in Firebolt. - [BYTEA data type](https://docs.firebolt.io/reference-sql/data-types/bytea.md): Describes the Firebolt implementation of the `BYTEA` data type - [DATE data type](https://docs.firebolt.io/reference-sql/data-types/date.md): Describes the Firebolt implementation of the `DATE` data type - [GEOGRAPHY data type](https://docs.firebolt.io/reference-sql/data-types/geography.md): Describes the Firebolt implementation of the `GEOGRAPHY` data type - [JSON Data Type](https://docs.firebolt.io/reference-sql/data-types/json.md): Describes Firebolt's implementation of the `JSON` data type. - [NUMERIC data type](https://docs.firebolt.io/reference-sql/data-types/numeric.md): Describes the Firebolt implementation of the `NUMERIC` data type - [STRUCT data type](https://docs.firebolt.io/reference-sql/data-types/struct.md): Describes the Firebolt implementation of the `STRUCT` data type - [TIMESTAMP data type](https://docs.firebolt.io/reference-sql/data-types/timestampntz.md): Describes the Firebolt implementation of the `TIMESTAMP` data type - [TIMESTAMPTZ data type](https://docs.firebolt.io/reference-sql/data-types/timestamptz.md): Describes the Firebolt implementation of the `TIMESTAMPTZ` data type ### Information schema - [Information Schema](https://docs.firebolt.io/reference-sql/information-schema.md): Reference for Information Schema views - [Account info](https://docs.firebolt.io/reference-sql/information-schema/account_info.md): Use this reference to learn about account-level settings and flags available through the information schema. - [Applicable roles](https://docs.firebolt.io/reference-sql/information-schema/applicable-roles.md): Use this reference to learn about the metadata available about roles using the information schema. - [Catalogs](https://docs.firebolt.io/reference-sql/information-schema/catalogs.md): Use this reference to learn about the metadata available for Firebolt databases using the information schema. - [Columns](https://docs.firebolt.io/reference-sql/information-schema/columns.md): Use this reference to learn about the metadata available for Firebolt columns using the information schema. - [Enabled roles](https://docs.firebolt.io/reference-sql/information-schema/enabled-roles.md): Use this reference to learn about the metadata available about roles using the information schema. - [Engine history](https://docs.firebolt.io/reference-sql/information-schema/engine-history.md): Query the information_schema.engine_history view to track engine lifecycle operations like creation, deletion, starts, and stops. - [Engine metering history](https://docs.firebolt.io/reference-sql/information-schema/engine-metering-history.md): Query the information_schema.engine_metering_history view to track FBU consumption over time per engine. - [Engine metrics history](https://docs.firebolt.io/reference-sql/information-schema/engine-metrics-history.md): Use this reference to learn about the resource consumption of your engine - [Engine caches](https://docs.firebolt.io/reference-sql/information-schema/engine-caches.md): Query the information_schema.engine_caches view to inspect cache usage across engine nodes. - [Engine query history](https://docs.firebolt.io/reference-sql/information-schema/engine-query-history.md): Use this reference to learn about the metadata available for historical queries in Firebolt. - [Engine running queries](https://docs.firebolt.io/reference-sql/information-schema/engine-running-queries.md): Use this reference to learn about the metadata available for running queries in Firebolt using the information schema. - [Engine user query history](https://docs.firebolt.io/reference-sql/information-schema/engine-user-query-history.md): Use this reference to learn about the metadata available for historical queries in Firebolt. - [Engines](https://docs.firebolt.io/reference-sql/information-schema/engines.md): Query the information_schema.engines view to return configuration and status information for each engine in an account. - [Indexes](https://docs.firebolt.io/reference-sql/information-schema/indexes.md): Use this reference to learn about the metadata available for Firebolt indexes using the information schema. - [Locations](https://docs.firebolt.io/reference-sql/information-schema/locations.md): Use this reference to learn about the metadata available for Firebolt locations using the information schema. - [Object default privileges](https://docs.firebolt.io/reference-sql/information-schema/object-default-privileges.md): Reference for the information_schema.object_default_privileges view - [Object privileges](https://docs.firebolt.io/reference-sql/information-schema/object-privileges.md): Use this reference to learn about the metadata available about privileges using the information schema. - [pg_settings](https://docs.firebolt.io/reference-sql/information-schema/pg_settings.md): Use this reference to list every Firebolt engine setting, its current value, and its default using the Postgres-compatible pg_catalog.pg_settings view. - [Quotas](https://docs.firebolt.io/reference-sql/information-schema/quotas.md): Use this reference to learn about account-level quotas exposed via the account_db information schema. - [Routines](https://docs.firebolt.io/reference-sql/information-schema/routines.md): Use this reference to learn about the metadata available about SQL functions using the information schema. - [CDC ingests](https://docs.firebolt.io/reference-sql/information-schema/cdc-ingests.md): Use this reference to monitor the state, progress, and errors of CDC table ingestion through the information schema. - [Schemata](https://docs.firebolt.io/reference-sql/information-schema/schemata.md): Use this reference to learn about the metadata available about schemas using the information schema. - [Settings](https://docs.firebolt.io/reference-sql/information-schema/settings.md): Use this reference to list Firebolt's public engine settings, their current values, and their defaults using information_schema.settings. - [Streams](https://docs.firebolt.io/reference-sql/information-schema/streams.md): Use this reference to learn about the metadata available for Firebolt streams using the information schema. - [Tables](https://docs.firebolt.io/reference-sql/information-schema/tables.md): Use this reference to learn about the metadata available for Firebolt tables using the information schema. - [Transactions](https://docs.firebolt.io/reference-sql/information-schema/transactions.md): Use this reference to learn about the fireblt currnetly running or recently finished transaction using the information schema. - [Transitive applicable roles](https://docs.firebolt.io/reference-sql/information-schema/transitive-applicable-roles.md): Use this reference to learn about the metadata available about roles using the information schema. - [Users](https://docs.firebolt.io/reference-sql/information-schema/users.md): Use this reference to learn about the metadata available for Firebolt users using the information schema. - [Views](https://docs.firebolt.io/reference-sql/information-schema/views.md): Use this reference to learn about the metadata available for Firebolt views using the information schema. ### SQL commands - [SQL commands](https://docs.firebolt.io/reference-sql/commands.md): Reference for SQL commands and operators in Firebolt. #### Access control - [ALTER DEFAULT PRIVILEGES](https://docs.firebolt.io/reference-sql/commands/access-control/alter-default-privileges.md): Reference and syntax for the ALTER DEFAULT PRIVILEGES command. - [ALTER NETWORK POLICY](https://docs.firebolt.io/reference-sql/commands/access-control/alter-network-policy.md): Reference and syntax for the ALTER NETWORK POLICY command. - [ALTER ROLE](https://docs.firebolt.io/reference-sql/commands/access-control/alter-role.md): Reference and syntax for the ALTER ROLE command. - [ALTER USER](https://docs.firebolt.io/reference-sql/commands/access-control/alter-user.md): Reference and syntax for the ALTER USER command. - [CREATE NETWORK POLICY](https://docs.firebolt.io/reference-sql/commands/access-control/create-network-policy.md): Reference and syntax for the CREATE NETWORK POLICY command. - [CREATE ROLE](https://docs.firebolt.io/reference-sql/commands/access-control/create-role.md): Reference and syntax for the CREATE ROLE command. - [CREATE USER](https://docs.firebolt.io/reference-sql/commands/access-control/create-user.md): Reference and syntax for the CREATE USER command. - [DROP NETWORK POLICY](https://docs.firebolt.io/reference-sql/commands/access-control/drop-network-policy.md): Reference and syntax for the DROP NETWORK POLICY command. - [DROP ROLE](https://docs.firebolt.io/reference-sql/commands/access-control/drop-role.md): Reference and syntax for the DROP ROLE command. - [DROP USER](https://docs.firebolt.io/reference-sql/commands/access-control/drop-user.md): Reference and syntax for the DROP USER command. - [GRANT](https://docs.firebolt.io/reference-sql/commands/access-control/grant.md): Reference and syntax for the GRANT command. - [REVOKE](https://docs.firebolt.io/reference-sql/commands/access-control/revoke.md): Reference and syntax for the REVOKE command. #### Data definition - [ALTER ACCOUNT](https://docs.firebolt.io/reference-sql/commands/data-definition/alter-account.md): Reference and syntax for the ALTER ACCOUNT command. - [ALTER DATABASE](https://docs.firebolt.io/reference-sql/commands/data-definition/alter-database.md): Reference and syntax for the ALTER DATABASE command. - [ALTER LOCATION](https://docs.firebolt.io/reference-sql/commands/data-definition/alter-location.md): Reference and syntax for the ALTER LOCATION statement. - [ALTER SCHEMA](https://docs.firebolt.io/reference-sql/commands/data-definition/alter-schema.md): Reference and syntax for the ALTER SCHEMA command. - [ALTER TABLE](https://docs.firebolt.io/reference-sql/commands/data-definition/alter-table.md): Reference and syntax for the ALTER TABLE command. - [ALTER VIEW](https://docs.firebolt.io/reference-sql/commands/data-definition/alter-view.md): Reference and syntax for the ALTER VIEW command. - [COMMENT ON](https://docs.firebolt.io/reference-sql/commands/data-definition/comment-on.md): Reference and syntax for the COMMENT ON statement. - [CREATE ACCOUNT](https://docs.firebolt.io/reference-sql/commands/data-definition/create-account.md): Reference and syntax for the CREATE ACCOUNT command. - [CREATE AGGREGATING INDEX](https://docs.firebolt.io/reference-sql/commands/data-definition/create-aggregating-index.md): Syntax for the CREATE AGGREGATING INDEX command in Firebolt. - [CREATE INDEX](https://docs.firebolt.io/reference-sql/commands/data-definition/create-index.md): Syntax for CREATE INDEX ... USING, covering data skipping, inverted, full-text search, and vector indexes. - [CREATE VECTOR SEARCH INDEX](https://docs.firebolt.io/reference-sql/commands/data-definition/create-vector-search-index.md): Learn how to create and optimize vector search indexes in Firebolt for faster query performance. - [CREATE DATABASE](https://docs.firebolt.io/reference-sql/commands/data-definition/create-database.md): Reference and syntax for the CREATE DATABASE command. - [CREATE EXTERNAL TABLE](https://docs.firebolt.io/reference-sql/commands/data-definition/create-external-table.md): Reference and syntax for the CREATE EXTERNAL TABLE command. - [CREATE TABLE AS SELECT (CTAS)](https://docs.firebolt.io/reference-sql/commands/data-definition/create-fact-dimension-table-as-select.md): Reference and syntax for the CTAS SQL command. - [CREATE FUNCTION](https://docs.firebolt.io/reference-sql/commands/data-definition/create-function.md): Reference and syntax for the CREATE FUNCTION command to create user-defined functions (UDFs). - [CREATE TABLE](https://docs.firebolt.io/reference-sql/commands/data-definition/create-fact-dimension-table.md): Reference and syntax for the CREATE TABLE statement. - [CREATE ICEBERG DATABASE](https://docs.firebolt.io/reference-sql/commands/data-definition/create-iceberg-database.md): Reference and syntax for the CREATE ICEBERG DATABASE command. - [CREATE ICEBERG TABLE](https://docs.firebolt.io/reference-sql/commands/data-definition/create-iceberg-table.md): Reference and syntax for the CREATE ICEBERG TABLE SQL command. - [CREATE ICEBERG TABLE AS SELECT](https://docs.firebolt.io/reference-sql/commands/data-definition/create-iceberg-table-as-select.md): Reference and syntax for the CREATE ICEBERG TABLE AS SELECT SQL command. - [CREATE CDC TABLE](https://docs.firebolt.io/reference-sql/commands/data-definition/create-cdc-table.md): Reference and syntax for the CREATE CDC TABLE and ALTER CDC TABLE commands. - [CREATE LOCATION (Amazon Bedrock)](https://docs.firebolt.io/reference-sql/commands/data-definition/create-location-bedrock.md): Reference and syntax for creating Amazon Bedrock locations. - [CREATE LOCATION (DuckLake)](https://docs.firebolt.io/reference-sql/commands/data-definition/create-location-ducklake.md): Create a reusable location object that stores a DuckLake catalog connection string and storage credentials for READ_DUCKLAKE and LIST_DUCKLAKE_FILES. - [CREATE LOCATION (Iceberg)](https://docs.firebolt.io/reference-sql/commands/data-definition/create-location-iceberg.md): Reference and syntax for creating Iceberg locations. - [CREATE LOCATION (MongoDB)](https://docs.firebolt.io/reference-sql/commands/data-definition/create-location-mongodb.md): Reference and syntax for CREATE LOCATION with a MongoDB source. - [CREATE LOCATION (Postgres)](https://docs.firebolt.io/reference-sql/commands/data-definition/create-location-postgres.md): Reference and syntax for CREATE LOCATION with a Postgres source. - [CREATE LOCATION (Amazon S3)](https://docs.firebolt.io/reference-sql/commands/data-definition/create-location-s3.md): Reference and syntax for creating Amazon S3 locations. - [CREATE LOCATION](https://docs.firebolt.io/reference-sql/commands/data-definition/create-location.md): Reference and syntax for the CREATE LOCATION statement. - [CREATE SCHEMA](https://docs.firebolt.io/reference-sql/commands/data-definition/create-schema.md): Reference and syntax for the CREATE SCHEMA command. - [CREATE STREAM](https://docs.firebolt.io/reference-sql/commands/data-definition/create-stream.md): Reference and syntax for the CREATE STREAM command for Kafka, Postgres, and MongoDB sources. - [CREATE TABLE CLONE](https://docs.firebolt.io/reference-sql/commands/data-definition/create-table-clone.md): Reference and syntax for the CLONE SQL command. - [CREATE VIEW](https://docs.firebolt.io/reference-sql/commands/data-definition/create-view.md): Reference and syntax for the CREATE VIEW command. - [DROP ACCOUNT](https://docs.firebolt.io/reference-sql/commands/data-definition/drop-account.md): Reference and syntax for the DROP ACCOUNT command. - [DROP DATABASE](https://docs.firebolt.io/reference-sql/commands/data-definition/drop-database.md): Reference and syntax for the DROP DATABASE command. - [DROP FUNCTION](https://docs.firebolt.io/reference-sql/commands/data-definition/drop-function.md): Reference and syntax for the DROP FUNCTION command to remove user-defined functions. - [DROP INDEX](https://docs.firebolt.io/reference-sql/commands/data-definition/drop-index.md): Reference and syntax for the DROP INDEX command. - [DROP LOCATION](https://docs.firebolt.io/reference-sql/commands/data-definition/drop-location.md): Reference and syntax for the DROP LOCATION statement. - [DROP SCHEMA](https://docs.firebolt.io/reference-sql/commands/data-definition/drop-schema.md): Reference and syntax for the DROP SCHEMA command. - [DROP TABLE](https://docs.firebolt.io/reference-sql/commands/data-definition/drop-table.md): Reference and syntax for the DROP TABLE command. - [DROP VIEW](https://docs.firebolt.io/reference-sql/commands/data-definition/drop-view.md): Reference and syntax for the DROP VIEW command. - [USE DATABASE](https://docs.firebolt.io/reference-sql/commands/data-definition/use-database.md): Reference and syntax for the USE DATABASE command. #### Data management - [COPY FROM](https://docs.firebolt.io/reference-sql/commands/data-management/copy-from.md): Reference and syntax for the COPY command that copies data from S3 files into a Firebolt table. - [COPY TO](https://docs.firebolt.io/reference-sql/commands/data-management/copy-to.md): Reference and syntax for the COPY TO command that exports or unloads data from Firebolt to Amazon S3. - [DELETE](https://docs.firebolt.io/reference-sql/commands/data-management/delete.md): Reference and syntax for the DELETE command. - [INSERT](https://docs.firebolt.io/reference-sql/commands/data-management/insert.md): Reference and syntax for the INSERT command. - [MERGE](https://docs.firebolt.io/reference-sql/commands/data-management/merge.md): Reference and syntax for the MERGE command. - [TRUNCATE TABLE](https://docs.firebolt.io/reference-sql/commands/data-management/truncate-table.md): Reference and syntax for the TRUNCATE TABLE command. - [UPDATE](https://docs.firebolt.io/reference-sql/commands/data-management/update.md): Reference and syntax for the UPDATE command. - [VACUUM](https://docs.firebolt.io/reference-sql/commands/data-management/vacuum.md): Reference and syntax for the VACUUM command. #### Engine commands - [Engine commands](https://docs.firebolt.io/reference-sql/commands/engines.md): Reference for engine commands - [ALTER ENGINE](https://docs.firebolt.io/reference-sql/commands/engines/alter-engine.md): Reference and syntax for the ALTER ENGINE command. - [CREATE ENGINE](https://docs.firebolt.io/reference-sql/commands/engines/create-engine.md): Reference and syntax for the CREATE ENGINE command. - [DROP ENGINE](https://docs.firebolt.io/reference-sql/commands/engines/drop-engine.md): Reference and syntax for the DROP ENGINE command. - [START ENGINE](https://docs.firebolt.io/reference-sql/commands/engines/start-engine.md): Reference and syntax for the START ENGINE command. - [STOP ENGINE](https://docs.firebolt.io/reference-sql/commands/engines/stop-engine.md): Reference and syntax for the STOP ENGINE command. - [USE ENGINE](https://docs.firebolt.io/reference-sql/commands/engines/use-engine.md): Reference and syntax for the USE ENGINE command. - [CLEAR CACHE](https://docs.firebolt.io/reference-sql/commands/engines/clear-cache.md): Reference and syntax for the CLEAR CACHE command. #### Querying and query optimization - [CANCEL QUERY](https://docs.firebolt.io/reference-sql/commands/queries/cancel.md): Cancel a running query within the Firebolt engine using its query ID. - [EXPLAIN](https://docs.firebolt.io/reference-sql/commands/queries/explain.md): Analyze and display query execution plans with optional runtime metrics using EXPLAIN and EXPLAIN ANALYZE. - [SELECT](https://docs.firebolt.io/reference-sql/commands/queries/select.md): Reference and syntax for SELECT queries. - [Cross-database queries](https://docs.firebolt.io/reference-sql/commands/queries/cross-database-queries.md): Query across multiple databases within a single Firebolt account using three-part identifiers. #### Metadata commands - [DESCRIBE](https://docs.firebolt.io/reference-sql/commands/metadata/describe.md): Reference and syntax for the DESCRIBE table command. - [SHOW ALL](https://docs.firebolt.io/reference-sql/commands/metadata/show-all.md): Reference and syntax for the SHOW ALL command. - [SHOW CACHE](https://docs.firebolt.io/reference-sql/commands/metadata/show-cache.md): Reference and syntax for the SHOW CACHE command. - [SHOW CATALOGS](https://docs.firebolt.io/reference-sql/commands/metadata/show-catalogs.md): Reference and syntax for the SHOW CATALOGS command. - [SHOW COLUMNS](https://docs.firebolt.io/reference-sql/commands/metadata/show-columns.md): Reference and syntax for the SHOW COLUMNS command. - [SHOW ENGINES](https://docs.firebolt.io/reference-sql/commands/metadata/show-engines.md): Reference and syntax for the SHOW ENGINES command. - [SHOW INDEXES](https://docs.firebolt.io/reference-sql/commands/metadata/show-indexes.md): Reference and syntax for the SHOW INDEXES command. - [SHOW TABLES](https://docs.firebolt.io/reference-sql/commands/metadata/show-tables.md): Reference and syntax for the SHOW TABLES command. - [SHOW VIEWS](https://docs.firebolt.io/reference-sql/commands/metadata/show-views.md): Reference and syntax for the SHOW VIEWS command. ### SQL functions - [SQL functions](https://docs.firebolt.io/reference-sql/functions-reference.md): Reference for SQL functions available in Firebolt. - [Functions glossary](https://docs.firebolt.io/reference-sql/functions-reference/functions-glossary.md): Reference for SQL functions available in Firebolt. #### Aggregate functions - [ANY_VALUE](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/any_value.md): Reference material for ANY_VALUE - [APPROX_COUNT_DISTINCT](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/approx-count-distinct.md): Reference material for APPROX_COUNT_DISTINCT - [APPROX_PERCENTILE](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/approx-percentile.md): Reference material for APPROX_PERCENTILE - [ARRAY_AGG](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/array-agg.md): Reference material for ARRAY_AGG function - [AVG](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/avg.md): Reference material for AVG - [BIT_AND](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/bit_and.md): Reference material for BIT_AND - [BIT_OR](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/bit_or.md): Reference material for BIT_OR - [BIT_XOR](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/bit_xor.md): Reference material for BIT_XOR - [BOOL_AND](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/bool_and.md): Reference material for BOOL_AND - [BOOL_OR](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/bool_or.md): Reference material for BOOL_OR - [CORR](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/corr.md): Reference material for CORR - [COUNT](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/count.md): Reference material for COUNT - [COUNTING_HLL_COUNT_DISTINCT](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/counting-hll-count-distinct.md): Reference material for COUNTING_HLL_COUNT_DISTINCT - [COVAR_POP](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/covar-pop.md): Reference material for COVAR_POP - [COVAR_SAMP](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/covar-samp.md): Reference material for COVAR_SAMP - [GROUPING](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/grouping.md): Reference material for GROUPING - [HASH_AGG](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/hash-agg.md): Reference material for HASH_AGG - [HLL_COUNT_BUILD](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/hll-count-build.md): Reference material for HLL_COUNT_BUILD - [HLL_COUNT_DISTINCT](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/hll-count-distinct.md): Reference material for HLL_COUNT_DISTINCT - [HLL_COUNT_MERGE](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/hll-count-merge.md): Reference material for HLL_COUNT_MERGE - [MAX_BY](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/max-by.md): Reference material for MAX_BY - [MAX](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/max.md): Reference material for MAX - [MEDIAN](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/median.md): Reference material for MEDIAN - [MIN_BY](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/min-by.md): Reference material for MIN_BY - [MIN](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/min.md): Reference material for MIN - [PERCENTILE_CONT](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/percentile-cont.md): Reference material for PERCENTILE_CONT aggregate function - [STDDEV_POP](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/stddev-pop.md): Reference material for STDDEV_POP - [STDDEV_SAMP](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/stddev-samp.md): Reference material for STDDEV_SAMP - [STRING_AGG](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/string-agg.md): Reference material for STRING_AGG function - [SUM](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/sum.md): Reference material for SUM - [VAR_POP](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/variance-pop.md): Reference material for VAR_POP - [VAR_SAMP](https://docs.firebolt.io/reference-sql/functions-reference/aggregation/variance-samp.md): Reference material for VAR_SAMP #### AI functions - [AI functions](https://docs.firebolt.io/reference-sql/functions-reference/ai.md): Reference for AI functions - [AI_EMBED_TEXT](https://docs.firebolt.io/reference-sql/functions-reference/ai/ai-embed-text.md): Generate a text embedding with an Amazon Bedrock model and return a numeric vector. - [AI_QUERY](https://docs.firebolt.io/reference-sql/functions-reference/ai/ai-query.md): Invoke an LLM endpoint and return the generated text. - [AWS_BEDROCK_AI_QUERY](https://docs.firebolt.io/reference-sql/functions-reference/ai/aws-bedrock-ai-query.md): Invoke an Amazon Bedrock model and return the raw response as JSON text. #### Array functions - [ARRAY_CONCAT](https://docs.firebolt.io/reference-sql/functions-reference/array/array-concat.md): Reference material for ARRAY_CONCAT function - [ARRAY_CONTAINS](https://docs.firebolt.io/reference-sql/functions-reference/array/array-contains.md): Reference material for ARRAY_CONTAINS function - [ARRAY_COUNT_DISTINCT](https://docs.firebolt.io/reference-sql/functions-reference/array/array-count-distinct.md): Reference material for ARRAY_COUNT_DISTINCT function - [ARRAY_COUNT](https://docs.firebolt.io/reference-sql/functions-reference/array/array-count.md): Reference material for ARRAY_COUNT function - [ARRAY_DISTINCT](https://docs.firebolt.io/reference-sql/functions-reference/array/array-distinct.md): Reference material for ARRAY_DISTINCT function - [ARRAY_INTERSECT](https://docs.firebolt.io/reference-sql/functions-reference/array/array-intersect.md): Reference material for ARRAY_INTERSECT function - [ARRAY_LENGTH](https://docs.firebolt.io/reference-sql/functions-reference/array/array-length.md): Reference material for ARRAY_LENGTH function - [ARRAY_MAX](https://docs.firebolt.io/reference-sql/functions-reference/array/array-max.md): Reference material for ARRAY_MAX function - [ARRAY_MIN](https://docs.firebolt.io/reference-sql/functions-reference/array/array-min.md): Reference material for ARRAY_MIN function - [ARRAY_REVERSE_SORT](https://docs.firebolt.io/reference-sql/functions-reference/array/array-reverse-sort.md): Reference material for ARRAY_REVERSE_SORT function - [ARRAY_REVERSE](https://docs.firebolt.io/reference-sql/functions-reference/array/array-reverse.md): Reference material for ARRAY_REVERSE function - [ARRAY_SLICE](https://docs.firebolt.io/reference-sql/functions-reference/array/array-slice.md): Reference material for ARRAY_SLICE function - [ARRAY_SORT](https://docs.firebolt.io/reference-sql/functions-reference/array/array-sort.md): Reference material for ARRAY_SORT function - [ARRAY_SUM](https://docs.firebolt.io/reference-sql/functions-reference/array/array-sum.md): Reference material for ARRAY_SUM function - [ARRAY_TO_STRING](https://docs.firebolt.io/reference-sql/functions-reference/array/array-to-string.md): Reference material for ARRAY_TO_STRING function - [ARRAY_UPPER](https://docs.firebolt.io/reference-sql/functions-reference/array/array-upper.md): Reference material for ARRAY_UPPER function - [ARRAYS_OVERLAP](https://docs.firebolt.io/reference-sql/functions-reference/array/arrays-overlap.md): Reference material for ARRAYS_OVERLAP function - [ARRAY_FLATTEN](https://docs.firebolt.io/reference-sql/functions-reference/array/flatten.md): Reference material for ARRAY_FLATTEN function - [INDEX_OF](https://docs.firebolt.io/reference-sql/functions-reference/array/index-of.md): Reference material for INDEX_OF function #### Binary functions - [CONVERT_FROM](https://docs.firebolt.io/reference-sql/functions-reference/bytea/convert-from.md): Reference material for CONVERT_FROM function - [DECODE](https://docs.firebolt.io/reference-sql/functions-reference/bytea/decode.md): Reference material for DECODE function - [ENCODE](https://docs.firebolt.io/reference-sql/functions-reference/bytea/encode.md): Reference material for ENCODE function #### Conditional and miscellaneous functions - [CASE](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/case.md): Reference material for CASE function - [CAST](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/cast.md): Reference material for CAST function - [CITY_HASH](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/city-hash.md): Reference material for CITY_HASH function - [COALESCE](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/coalesce.md): Reference material for COALESCE function - [GREATEST](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/greatest.md): Reference material for GREATEST function - [HASH](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/hash.md): Reference material for HASH function - [IF](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/if.md): Reference material for IF function - [IFNULL](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/ifnull.md): Reference material for IFNULL function - [LEAST](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/least.md): Reference material for LEAST function - [NULLIF](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/nullif.md): Reference material for NULLIF function - [TRY_CAST](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/try-cast.md): Reference material for TRY_CAST function - [TYPEOF](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/typeof.md): Reference material for TYPEOF function - [VERSION](https://docs.firebolt.io/reference-sql/functions-reference/conditional-and-miscellaneous/version.md): Reference material for VERSION function #### DataSketches functions - [DataSketches functions](https://docs.firebolt.io/reference-sql/functions-reference/datasketches.md): Reference for datasketches functions - [APACHE_DATASKETCHES_HLL_BUILD](https://docs.firebolt.io/reference-sql/functions-reference/datasketches/apache-datasketches-hll-build.md): Reference material for APACHE_DATASKETCHES_HLL_BUILD - [APACHE_DATASKETCHES_HLL_ESTIMATE](https://docs.firebolt.io/reference-sql/functions-reference/datasketches/apache-datasketches-hll-estimate.md): Reference material for APACHE_DATASKETCHES_HLL_ESTIMATE - [APACHE_DATASKETCHES_HLL_MERGE](https://docs.firebolt.io/reference-sql/functions-reference/datasketches/apache-datasketches-hll-merge.md): Reference material for APACHE_DATASKETCHES_HLL_MERGE #### Date and time functions - [AGO](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/ago.md): Reference material for AGO function - [CURRENT_DATE](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/current-date.md): Reference material for CURRENT_DATE function - [CURRENT_TIMESTAMP](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/current-timestamptz.md): Reference material for CURRENT_TIMESTAMP function - [DATE_ADD](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/date-add.md): Reference material for DATE_ADD function - [DATE_DIFF](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/date-diff.md): Reference material for DATE_DIFF function - [DATE_TRUNC](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/date-trunc.md): Reference material for the DATE_TRUNC function - [DATE](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/date.md): Reference material for DATE function - [EXTRACT](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/extract.md): Reference material for the EXTRACT function - [JUSTIFY_HOURS, JUSTIFY_DAYS, JUSTIFY_INTERVAL](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/justify.md): Reference material for the JUSTIFY_HOURS, JUSTIFY_DAYS, and JUSTIFY_INTERVAL functions - [LOCALTIMESTAMP](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/localtimestamp.md): Reference material for LOCALTIMESTAMP function - [MAKE_INTERVAL](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/make-interval.md): Reference material for the MAKE_INTERVAL function - [TO_CHAR](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/to-char.md): Reference material for TO_CHAR function - [TO_DATE](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/to-date.md): Reference material for TO_DATE function - [TO_TIMESTAMP](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/to-timestamp.md): Reference material for TO_TIMESTAMP function - [TO_YYYYMM](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/to-yyyymm.md): Reference material for the TO_YYYYMM function - [TO_YYYYMMDD](https://docs.firebolt.io/reference-sql/functions-reference/date-and-time/to-yyyymmdd.md): Reference material for the TO_YYYYMMDD function #### Geospatial functions - [ST_ASBINARY](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_asbinary.md): Reference material for ST_ASBINARY function - [ST_ASEWKB](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_asewkb.md): Reference material for ST_ASEWKB function - [ST_ASGEOJSON](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_asgeojson.md): Reference material for ST_ASGEOJSON function - [ST_ASTEXT](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_astext.md): Reference material for ST_ASTEXT function - [ST_CONTAINS](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_contains.md): Reference material for ST_CONTAINS function - [ST_COVERS](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_covers.md): Reference material for ST_COVERS function - [ST_DISTANCE](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_distance.md): Reference material for ST_DISTANCE function - [ST_GEOGFROMGEOJSON](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_geogfromgeojson.md): Reference material for ST_GEOGFROMGEOJSON function - [ST_GEOGFROMTEXT](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_geogfromtext.md): Reference material for ST_GEOGFROMTEXT function - [ST_GEOGFROMWKB](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_geogfromwkb.md): Reference material for ST_GEOGFROMWKB function - [ST_GEOGPOINT](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_geogpoint.md): Reference material for ST_GEOGPOINT function - [ST_INTERSECTS](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_intersects.md): Reference material for ST_INTERSECTS function - [ST_S2CELLIDFROMPOINT](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_s2cellidfrompoint.md): Reference material for ST_S2CELLIDFROMPOINT function - [ST_X](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_x.md): Reference material for ST_X function - [ST_Y](https://docs.firebolt.io/reference-sql/functions-reference/geospatial/st_y.md): Reference material for ST_Y function #### Iceberg functions - [Iceberg functions](https://docs.firebolt.io/reference-sql/functions-reference/iceberg.md): Reference for Iceberg functions - [READ_ICEBERG](https://docs.firebolt.io/reference-sql/functions-reference/iceberg/read_iceberg.md): Reference material for READ_ICEBERG function - [LIST_ICEBERG_FILES](https://docs.firebolt.io/reference-sql/functions-reference/iceberg/list_iceberg_files.md): Lists the data files of an Iceberg table with per-file metadata, statistics, and deletes. ##### Partition transform functions - [ICEBERG_YEAR](https://docs.firebolt.io/reference-sql/functions-reference/iceberg/partitioning/iceberg_year.md): Extract year as years from 1970 according to Iceberg partition transforms - [ICEBERG_MONTH](https://docs.firebolt.io/reference-sql/functions-reference/iceberg/partitioning/iceberg_month.md): Extract month as months from 1970-01-01 according to Iceberg partition transforms - [ICEBERG_DAY](https://docs.firebolt.io/reference-sql/functions-reference/iceberg/partitioning/iceberg_day.md): Extract day as days from 1970-01-01 according to Iceberg partition transforms - [ICEBERG_HOUR](https://docs.firebolt.io/reference-sql/functions-reference/iceberg/partitioning/iceberg_hour.md): Extract hour as hours from 1970-01-01 00:00:00 according to Iceberg partition transforms - [ICEBERG_BUCKET](https://docs.firebolt.io/reference-sql/functions-reference/iceberg/partitioning/iceberg_bucket.md): Hash value into a bucket according to Iceberg partition transforms - [ICEBERG_TRUNCATE](https://docs.firebolt.io/reference-sql/functions-reference/iceberg/partitioning/iceberg_truncate.md): Truncate value to a width according to Iceberg partition transforms #### DuckLake functions - [DuckLake functions](https://docs.firebolt.io/reference-sql/functions-reference/ducklake/ducklake.md): Overview of the Firebolt table-valued functions for reading DuckLake tables backed by a PostgreSQL catalog and Parquet data files. - [READ_DUCKLAKE](https://docs.firebolt.io/reference-sql/functions-reference/ducklake/read_ducklake.md): Read rows from a DuckLake table backed by a PostgreSQL catalog and Parquet data files, optionally pinning a snapshot or reading from S3-compatible object storage. - [LIST_DUCKLAKE_FILES](https://docs.firebolt.io/reference-sql/functions-reference/ducklake/list_ducklake_files.md): List the Parquet data files and per-file statistics that make up a DuckLake table, for inspecting physical layout, pruning, and partitioning. #### JSON functions - [JSON functions](https://docs.firebolt.io/reference-sql/functions-reference/json.md): Reference for JSON functions - [CHECK_JSON](https://docs.firebolt.io/reference-sql/functions-reference/json/check-json.md): Reference material for CHECK_JSON function - [JSON_ARRAY_LENGTH](https://docs.firebolt.io/reference-sql/functions-reference/json/json-array-length.md): Reference material for JSON_ARRAY_LENGTH function - [JSON_EXTRACT_ARRAY](https://docs.firebolt.io/reference-sql/functions-reference/json/json-extract-array.md): Reference material for JSON_EXTRACT_ARRAY function - [JSON_EXTRACT](https://docs.firebolt.io/reference-sql/functions-reference/json/json-extract.md): Reference material for JSON_EXTRACT function - [JSON_POINTER_EXTRACT_KEYS](https://docs.firebolt.io/reference-sql/functions-reference/json/json-pointer-extract-keys.md): Reference material for JSON_POINTER_EXTRACT_KEYS function - [JSON_POINTER_EXTRACT_TEXT](https://docs.firebolt.io/reference-sql/functions-reference/json/json-pointer-extract-text.md): Reference material for JSON_POINTER_EXTRACT_TEXT function - [JSON_POINTER_EXTRACT_VALUES](https://docs.firebolt.io/reference-sql/functions-reference/json/json-pointer-extract-values.md): Reference material for JSON_POINTER_EXTRACT_VALUES function - [JSON_VALUE_ARRAY](https://docs.firebolt.io/reference-sql/functions-reference/json/json-value-array.md): Reference material for JSON_VALUE_ARRAY function - [JSON_VALUE](https://docs.firebolt.io/reference-sql/functions-reference/json/json-value.md): Reference material for JSON_VALUE function - [JSON_FORMAT](https://docs.firebolt.io/reference-sql/functions-reference/json/json-format.md): Reference for JSON_FORMAT function family - [JSON_IS_VALID](https://docs.firebolt.io/reference-sql/functions-reference/json/json-is-valid.md): Reference material for JSON_IS_VALID function - [JSON_TYPEOF](https://docs.firebolt.io/reference-sql/functions-reference/json/json-typeof.md): Reference material for JSON_TYPEOF function - [JSON Operators](https://docs.firebolt.io/reference-sql/functions-reference/json/json-operators.md): Reference material for JSON operators - [TO_JSON](https://docs.firebolt.io/reference-sql/functions-reference/json/to-json.md): Reference material for the TO_JSON function - [TO_JSON_STRING](https://docs.firebolt.io/reference-sql/functions-reference/json/to-json-string.md): Reference material for TO_JSON_STRING function #### Lambda functions - [Lambda functions](https://docs.firebolt.io/reference-sql/functions-reference/lambda.md): Reference for lambda functions - [ARRAY_ALL_MATCH](https://docs.firebolt.io/reference-sql/functions-reference/lambda/array-all-match.md): Reference material for ARRAY_ALL_MATCH function - [ARRAY_ANY_MATCH](https://docs.firebolt.io/reference-sql/functions-reference/lambda/array-any-match.md): Reference material for ARRAY_ANY_MATCH function - [ARRAY_FIRST](https://docs.firebolt.io/reference-sql/functions-reference/lambda/array-first.md): Reference material for ARRAY_FIRST function - [ARRAY_FILTER](https://docs.firebolt.io/reference-sql/functions-reference/lambda/filter.md): Reference material for ARRAY_FILTER function - [ARRAY_TRANSFORM](https://docs.firebolt.io/reference-sql/functions-reference/lambda/transform.md): Reference material for ARRAY_TRANSFORM function #### Numeric functions - [ABS](https://docs.firebolt.io/reference-sql/functions-reference/numeric/abs.md): Reference material for ABS function - [ACOS](https://docs.firebolt.io/reference-sql/functions-reference/numeric/acos.md): Reference material for ACOS function - [ACOSH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/acosh.md): Reference material for ACOSH function - [ARRAY_ENUMERATE](https://docs.firebolt.io/reference-sql/functions-reference/numeric/array-enumerate.md): Reference material for ARRAY_ENUMERATE function - [ASIN](https://docs.firebolt.io/reference-sql/functions-reference/numeric/asin.md): Reference material for ASIN function - [ASINH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/asinh.md): Reference material for ASINH function - [ATAN](https://docs.firebolt.io/reference-sql/functions-reference/numeric/atan.md): Reference material for ATAN function - [ATAN2](https://docs.firebolt.io/reference-sql/functions-reference/numeric/atan2.md): Reference material for ATAN2 function - [ATANH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/atanh.md): Reference material for ATANH function - [BIT_SHIFT_LEFT](https://docs.firebolt.io/reference-sql/functions-reference/numeric/bit_shift_left.md): Reference material for BIT_SHIFT_LEFT - [BIT_SHIFT_RIGHT](https://docs.firebolt.io/reference-sql/functions-reference/numeric/bit_shift_right.md): Reference material for BIT_SHIFT_RIGHT - [CBRT](https://docs.firebolt.io/reference-sql/functions-reference/numeric/cbrt.md): Reference material for CBRT function - [CEIL](https://docs.firebolt.io/reference-sql/functions-reference/numeric/ceil.md): Reference material for CEIL, CEILING functions - [COS](https://docs.firebolt.io/reference-sql/functions-reference/numeric/cos.md): Reference material for COS function - [COSH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/cosh.md): Reference material for COSH function - [CSCH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/csch.md): Reference material for CSCH function - [COTH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/coth.md): Reference material for COTH function - [COT](https://docs.firebolt.io/reference-sql/functions-reference/numeric/cot.md): Reference material for COT function - [DEGREES](https://docs.firebolt.io/reference-sql/functions-reference/numeric/degrees.md): Reference material for DEGREES function - [EXP](https://docs.firebolt.io/reference-sql/functions-reference/numeric/exp.md): Reference material for EXP function - [FLOOR](https://docs.firebolt.io/reference-sql/functions-reference/numeric/floor.md): Reference material for FLOOR function - [HLL_COUNT_ESTIMATE](https://docs.firebolt.io/reference-sql/functions-reference/numeric/hll-count-estimate.md): Reference material for HLL_COUNT_ESTIMATE - [IS_FINITE](https://docs.firebolt.io/reference-sql/functions-reference/numeric/is_finite.md): Reference material for the IS_FINITE function - [IS_INFINITE](https://docs.firebolt.io/reference-sql/functions-reference/numeric/is_infinite.md): Reference material for the IS_INFINITE function - [LN](https://docs.firebolt.io/reference-sql/functions-reference/numeric/ln.md): Reference material for LN function - [LOG](https://docs.firebolt.io/reference-sql/functions-reference/numeric/log.md): Reference material for LOG function - [MOD](https://docs.firebolt.io/reference-sql/functions-reference/numeric/mod.md): Reference material for MOD function - [PARAM](https://docs.firebolt.io/reference-sql/functions-reference/numeric/param.md): Reference material for PARAM function - [PI](https://docs.firebolt.io/reference-sql/functions-reference/numeric/pi.md): Reference material for PI function - [POW](https://docs.firebolt.io/reference-sql/functions-reference/numeric/pow.md): Reference material for POW, POWER functions - [RADIANS](https://docs.firebolt.io/reference-sql/functions-reference/numeric/radians.md): Reference material for RADIANS function - [RANDOM](https://docs.firebolt.io/reference-sql/functions-reference/numeric/random.md): Reference material for RANDOM function - [ROUND](https://docs.firebolt.io/reference-sql/functions-reference/numeric/round.md): Reference material for ROUND function - [SIGN](https://docs.firebolt.io/reference-sql/functions-reference/numeric/sign.md): Reference material for SIGN function - [SIN](https://docs.firebolt.io/reference-sql/functions-reference/numeric/sin.md): Reference material for SIN function - [SINH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/sinh.md): Reference material for SINH function - [SECH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/sech.md): Reference material for SECH function - [SQRT](https://docs.firebolt.io/reference-sql/functions-reference/numeric/sqrt.md): Reference material for SQRT function - [TAN](https://docs.firebolt.io/reference-sql/functions-reference/numeric/tan.md): Reference material for TAN function - [TANH](https://docs.firebolt.io/reference-sql/functions-reference/numeric/tanh.md): Reference material for TANH function - [TRUNC](https://docs.firebolt.io/reference-sql/functions-reference/numeric/trunc.md): Reference material for TRUNC function #### Session functions - [CURRENT_ACCOUNT](https://docs.firebolt.io/reference-sql/functions-reference/session/current-account.md): Reference material for CURRENT_ACCOUNT function - [CURRENT_DATABASE](https://docs.firebolt.io/reference-sql/functions-reference/session/current-database.md): Reference material for CURRENT_DATABASE function - [SESSION_USER](https://docs.firebolt.io/reference-sql/functions-reference/session/session-user.md): Reference material for SESSION_USER function #### String functions - [BTRIM](https://docs.firebolt.io/reference-sql/functions-reference/string/btrim.md): Reference material for BTRIM function. - [CONCAT](https://docs.firebolt.io/reference-sql/functions-reference/string/concat.md): Reference material for CONCAT function - [GEN_RANDOM_UUID_TEXT](https://docs.firebolt.io/reference-sql/functions-reference/string/gen-random-uuid-text.md): Reference material for GEN_RANDOM_UUID_TEXT function - [ICU_NORMALIZE](https://docs.firebolt.io/reference-sql/functions-reference/string/icu_normalize.md): Reference material for ICU_NORMALIZE function - [ILIKE](https://docs.firebolt.io/reference-sql/functions-reference/string/ilike.md): Reference material for ILIKE function - [LENGTH](https://docs.firebolt.io/reference-sql/functions-reference/string/length.md): Reference material for LENGTH function - [LIKE](https://docs.firebolt.io/reference-sql/functions-reference/string/like.md): Reference material for LIKE function - [LOWER](https://docs.firebolt.io/reference-sql/functions-reference/string/lower.md): Reference material for LOWER function - [LPAD](https://docs.firebolt.io/reference-sql/functions-reference/string/lpad.md): Reference material for LPAD function - [LTRIM](https://docs.firebolt.io/reference-sql/functions-reference/string/ltrim.md): Reference material for LTRIM function - [MD5](https://docs.firebolt.io/reference-sql/functions-reference/string/md5.md): Reference material for MD5 function - [MD5_NUMBER_LOWER64](https://docs.firebolt.io/reference-sql/functions-reference/string/md5-number-lower64.md): Reference material for MD5_NUMBER_LOWER64 function - [MD5_NUMBER_UPPER64](https://docs.firebolt.io/reference-sql/functions-reference/string/md5-number-upper64.md): Reference material for MD5_NUMBER_UPPER64 function - [NGRAM](https://docs.firebolt.io/reference-sql/functions-reference/string/ngram.md): Reference material for NGRAM function - [OCTET_LENGTH](https://docs.firebolt.io/reference-sql/functions-reference/string/octet_length.md): Reference material for OCTET_LENGTH function - [POSITION](https://docs.firebolt.io/reference-sql/functions-reference/string/position.md): Reference material for POSITION function - [REGEXP_EXTRACT_ALL](https://docs.firebolt.io/reference-sql/functions-reference/string/regexp-extract-all.md): Reference material for REGEXP_EXTRACT_ALL function - [REGEXP_EXTRACT](https://docs.firebolt.io/reference-sql/functions-reference/string/regexp-extract.md): Reference material for REGEXP_EXTRACT function - [REGEXP_LIKE_ANY](https://docs.firebolt.io/reference-sql/functions-reference/string/regexp-like-any.md): Reference material for REGEXP_LIKE_ANY function - [REGEXP_LIKE](https://docs.firebolt.io/reference-sql/functions-reference/string/regexp-like.md): Reference material for REGEXP_LIKE function - [REGEXP_REPLACE](https://docs.firebolt.io/reference-sql/functions-reference/string/regexp-replace.md): Reference material for REGEXP_REPLACE functions - [REPEAT](https://docs.firebolt.io/reference-sql/functions-reference/string/repeat.md): Reference material for REPEAT function - [REPLACE](https://docs.firebolt.io/reference-sql/functions-reference/string/replace.md): Reference material for REPLACE function - [REVERSE](https://docs.firebolt.io/reference-sql/functions-reference/string/reverse.md): Reference material for REVERSE function - [RPAD](https://docs.firebolt.io/reference-sql/functions-reference/string/rpad.md): Reference material for RPAD function - [RTRIM](https://docs.firebolt.io/reference-sql/functions-reference/string/rtrim.md): Reference material for RTRIM function - [SPLIT_PART](https://docs.firebolt.io/reference-sql/functions-reference/string/split-part.md): Reference material for SPLIT_PART function - [SOUNDEX](https://docs.firebolt.io/reference-sql/functions-reference/string/soundex.md): Reference material for SOUNDEX function - [STRING_TO_ARRAY](https://docs.firebolt.io/reference-sql/functions-reference/string/string-to-array.md): Reference material for STRING_TO_ARRAY function - [STRPOS](https://docs.firebolt.io/reference-sql/functions-reference/string/strpos.md): Reference material for STRPOSR function - [SUBSTRING, SUBSTR](https://docs.firebolt.io/reference-sql/functions-reference/string/substring.md): Reference material for SUBSTRING function - [TO_BIN](https://docs.firebolt.io/reference-sql/functions-reference/string/to_bin.md): Reference material for the TO_BIN function - [TO_OCT](https://docs.firebolt.io/reference-sql/functions-reference/string/to_oct.md): Reference material for the TO_OCT function - [TRIM](https://docs.firebolt.io/reference-sql/functions-reference/string/trim.md): Reference material for TRIM function - [UPPER](https://docs.firebolt.io/reference-sql/functions-reference/string/upper.md): Reference material for UPPER function - [URL_DECODE](https://docs.firebolt.io/reference-sql/functions-reference/string/url_decode.md): Reference material for URL_DECODE function - [URL_ENCODE](https://docs.firebolt.io/reference-sql/functions-reference/string/url_encode.md): Reference material for URL_ENCODE function #### Table-valued functions - [Table-valued functions](https://docs.firebolt.io/reference-sql/functions-reference/table-valued.md): Reference for table-valued functions - [GENERATE_SERIES](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/generate-series.md): Reference material for GENERATE_SERIES function - [LIST_OBJECTS](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/list-objects.md): Reference material for LIST_OBJECTS function - [READ_AVRO](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_avro.md): Reference material for READ_AVRO function - [READ_CSV](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_csv.md): Reference material for READ_CSV function - [READ_FILES](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_files.md): Reference material for READ_FILES function - [READ_JSON](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_json.md): Reference material for READ_JSON function - [READ_PARQUET](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_parquet.md): Reference material for READ_PARQUET function - [PARQUET_METADATA](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/parquet_metadata.md): Returns the row-group and column-chunk metadata of Parquet files without reading their data. - [READ_SNAPSHOT](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_snapshot.md): Reference material for READ_SNAPSHOT function - [READ_STREAM](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_stream.md): Reference material for READ_STREAM function - [READ_TEXT](https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_text.md): Reference material for READ_TEXT function #### Vector functions - [Vector functions](https://docs.firebolt.io/reference-sql/functions-reference/vector.md): Reference for vector functions - [VECTOR_ADD](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-add.md): Reference material for VECTOR_ADD function - [VECTOR_COSINE_DISTANCE](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-cosine-distance.md): Reference material for VECTOR_COSINE_DISTANCE function - [VECTOR_COSINE_SIMILARITY](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-cosine-similarity.md): Reference material for VECTOR_COSINE_SIMILARITY function - [VECTOR_EUCLIDEAN_DISTANCE](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-euclidean-distance.md): Reference material for VECTOR_EUCLIDEAN_DISTANCE function - [VECTOR_INNER_PRODUCT](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-inner-product.md): Reference material for VECTOR_INNER_PRODUCT function - [VECTOR_MANHATTAN_DISTANCE](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-manhattan-distance.md): Reference material for VECTOR_MANHATTAN_DISTANCE function - [VECTOR_SEARCH](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-search.md): Reference material for VECTOR_SEARCH table-valued function - [VECTOR_SQUARED_EUCLIDEAN_DISTANCE](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-squared-euclidean-distance.md): Reference material for VECTOR_SQUARED_EUCLIDEAN_DISTANCE function - [VECTOR_SUBTRACT](https://docs.firebolt.io/reference-sql/functions-reference/vector/vector-subtract.md): Reference material for VECTOR_SUBTRACT function #### Window functions - [Window functions](https://docs.firebolt.io/reference-sql/functions-reference/window.md): Reference for window functions - [AVG OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/avg-window.md): Reference material for AVG function - [COUNT OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/count-window.md): Reference material for COUNT function - [CUME_DIST OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/cume-dist.md): Reference material for CUME_DIST window function - [DENSE_RANK OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/dense-rank.md): Reference material for DENSE_RANK function - [FIRST_VALUE](https://docs.firebolt.io/reference-sql/functions-reference/window/first-value.md): Reference material for FIRST_VALUE function - [LAG OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/lag.md): Reference material for LAG function - [LEAD OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/lead.md): Reference material for LEAD function - [MAX OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/max-window.md): Reference material for MAX function - [MIN OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/min-window.md): Reference material for MIN function - [NTH_VALUE OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/nth-value.md): Reference material for NTH_VALUE window function - [NTILE OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/ntile.md): Reference material for NTILE function - [PERCENT_RANK OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/percent-rank.md): Reference material for PERCENT_RANK window function - [RANK OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/rank.md): Reference material for RANK function - [ROW_NUMBER OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/row-number.md): Reference material for ROW_NUMBER function - [SUM OVER](https://docs.firebolt.io/reference-sql/functions-reference/window/sum-window.md): Reference material for SUM function ### BigQuery compatibility - [BigQuery compatibility](https://docs.firebolt.io/reference-sql/bigquery/overview.md): Run BigQuery GoogleSQL against Firebolt by switching the session dialect. - [Query syntax](https://docs.firebolt.io/reference-sql/bigquery/query-syntax.md): BigQuery GoogleSQL query syntax supported in Firebolt's BigQuery compatibility mode. - [Pipe syntax](https://docs.firebolt.io/reference-sql/bigquery/pipe-syntax.md): BigQuery pipe query syntax supported in Firebolt's BigQuery compatibility mode. - [Data types](https://docs.firebolt.io/reference-sql/bigquery/data-types.md): BigQuery data types and their support in Firebolt's BigQuery compatibility mode. - [Operators](https://docs.firebolt.io/reference-sql/bigquery/operators.md): BigQuery operators supported in Firebolt's BigQuery compatibility mode. - [Statements](https://docs.firebolt.io/reference-sql/bigquery/statements.md): BigQuery DDL, DML, transaction (TCL), and DCL statements supported in BigQuery compatibility mode. - [BigQuery information_schema](https://docs.firebolt.io/reference-sql/bigquery/information-schema.md): The BigQuery-shaped information_schema views available under dialect=bigquery. #### Functions - [Date and time functions](https://docs.firebolt.io/reference-sql/bigquery/functions/date-and-time.md): BigQuery date, datetime, time, timestamp, and interval functions supported in BigQuery compatibility mode. - [String functions](https://docs.firebolt.io/reference-sql/bigquery/functions/string.md): BigQuery string and regular expression functions supported in BigQuery compatibility mode. - [JSON functions](https://docs.firebolt.io/reference-sql/bigquery/functions/json.md): BigQuery JSON functions and accessors supported in BigQuery compatibility mode. - [Array functions](https://docs.firebolt.io/reference-sql/bigquery/functions/array.md): BigQuery array functions and array handling in BigQuery compatibility mode. - [Aggregate and approximate functions](https://docs.firebolt.io/reference-sql/bigquery/functions/aggregate.md): BigQuery aggregate, statistical, approximate, and window functions in BigQuery compatibility mode. - [Math functions](https://docs.firebolt.io/reference-sql/bigquery/functions/math.md): BigQuery mathematical functions supported in BigQuery compatibility mode. - [Geography functions](https://docs.firebolt.io/reference-sql/bigquery/functions/geography.md): BigQuery geography functions supported in BigQuery compatibility mode. - [Conditional and conversion functions](https://docs.firebolt.io/reference-sql/bigquery/functions/conditional-and-conversion.md): BigQuery conditional, conversion, hash, and bit functions in BigQuery compatibility mode. ### Snowflake compatibility - [Snowflake compatibility](https://docs.firebolt.io/reference-sql/snowflake/overview.md): Run Snowflake SQL against Firebolt by switching the session dialect. - [Query syntax](https://docs.firebolt.io/reference-sql/snowflake/query-syntax.md): Snowflake query syntax supported in Snowflake compatibility mode. - [Data types](https://docs.firebolt.io/reference-sql/snowflake/data-types.md): Snowflake data types and their support in Snowflake compatibility mode. - [Operators](https://docs.firebolt.io/reference-sql/snowflake/operators.md): Snowflake operators supported in Snowflake compatibility mode. - [Statements](https://docs.firebolt.io/reference-sql/snowflake/statements.md): Snowflake DDL, DML, transaction (TCL), and DCL statements supported in Snowflake compatibility mode. - [Snowflake information_schema](https://docs.firebolt.io/reference-sql/snowflake/information-schema.md): The Snowflake-shaped information_schema views available under dialect=snowflake. #### Functions - [Aggregate functions](https://docs.firebolt.io/reference-sql/snowflake/functions/aggregate.md): Snowflake aggregate functions supported in Snowflake compatibility mode. - [Bitwise expression functions](https://docs.firebolt.io/reference-sql/snowflake/functions/bitwise.md): Snowflake bitwise expression functions supported in Snowflake compatibility mode. - [Conditional expression functions](https://docs.firebolt.io/reference-sql/snowflake/functions/conditional.md): Snowflake conditional expression functions supported in Snowflake compatibility mode. - [Context functions](https://docs.firebolt.io/reference-sql/snowflake/functions/context.md): Snowflake context functions supported in Snowflake compatibility mode. - [Conversion functions](https://docs.firebolt.io/reference-sql/snowflake/functions/conversion.md): Snowflake conversion functions supported in Snowflake compatibility mode. - [Date & time functions](https://docs.firebolt.io/reference-sql/snowflake/functions/date-and-time.md): Snowflake date & time functions supported in Snowflake compatibility mode. - [Geospatial functions](https://docs.firebolt.io/reference-sql/snowflake/functions/geospatial.md): Snowflake geospatial functions supported in Snowflake compatibility mode. - [Hash functions](https://docs.firebolt.io/reference-sql/snowflake/functions/hash.md): Snowflake hash functions supported in Snowflake compatibility mode. - [Numeric functions](https://docs.firebolt.io/reference-sql/snowflake/functions/numeric.md): Snowflake numeric functions supported in Snowflake compatibility mode. - [Regular expressions functions](https://docs.firebolt.io/reference-sql/snowflake/functions/regular-expressions.md): Snowflake regular expressions functions supported in Snowflake compatibility mode. - [Semi-structured and structured data functions](https://docs.firebolt.io/reference-sql/snowflake/functions/semi-structured.md): Snowflake semi-structured and structured data functions supported in Snowflake compatibility mode. - [String & binary functions](https://docs.firebolt.io/reference-sql/snowflake/functions/string.md): Snowflake string & binary functions supported in Snowflake compatibility mode. - [Window functions](https://docs.firebolt.io/reference-sql/snowflake/functions/window.md): Snowflake window functions supported in Snowflake compatibility mode. ### SparkSQL and Databricks compatibility - [SparkSQL and Databricks compatibility](https://docs.firebolt.io/reference-sql/spark/overview.md): Run Spark SQL or Databricks SQL against Firebolt by switching the session dialect. - [Query syntax](https://docs.firebolt.io/reference-sql/spark/query-syntax.md): Spark SQL and Databricks SQL query syntax supported in SparkSQL and Databricks compatibility modes. - [Data types](https://docs.firebolt.io/reference-sql/spark/data-types.md): Spark SQL data types and their support in SparkSQL and Databricks compatibility modes. - [Operators](https://docs.firebolt.io/reference-sql/spark/operators.md): Spark SQL operators supported in SparkSQL and Databricks compatibility modes. - [Statements](https://docs.firebolt.io/reference-sql/spark/statements.md): Spark SQL and Databricks SQL DDL, DML, transaction, and access control statements supported in SparkSQL and Databricks compatibility modes. - [Databricks information_schema](https://docs.firebolt.io/reference-sql/spark/information-schema.md): The Databricks-shaped information_schema views available in SparkSQL and Databricks compatibility modes. #### Functions - [Aggregate functions](https://docs.firebolt.io/reference-sql/spark/functions/aggregate.md): Spark aggregate functions supported in SparkSQL and Databricks compatibility modes. - [Array, collection, and struct functions](https://docs.firebolt.io/reference-sql/spark/functions/array-and-collection.md): Spark array, collection, and struct functions supported in SparkSQL and Databricks compatibility modes. - [Bitwise functions](https://docs.firebolt.io/reference-sql/spark/functions/bitwise.md): Spark bitwise functions supported in SparkSQL and Databricks compatibility modes. - [Conditional and predicate functions](https://docs.firebolt.io/reference-sql/spark/functions/conditional-and-predicate.md): Spark conditional and predicate functions supported in SparkSQL and Databricks compatibility modes. - [Conversion functions](https://docs.firebolt.io/reference-sql/spark/functions/conversion.md): Spark conversion functions supported in SparkSQL and Databricks compatibility modes. - [Date and timestamp functions](https://docs.firebolt.io/reference-sql/spark/functions/date-and-time.md): Spark date and timestamp functions supported in SparkSQL and Databricks compatibility modes. - [Generator and table-valued functions](https://docs.firebolt.io/reference-sql/spark/functions/table-valued.md): Spark generator and table-valued functions supported in SparkSQL and Databricks compatibility modes. - [Geospatial functions](https://docs.firebolt.io/reference-sql/spark/functions/geospatial.md): Spark geospatial functions supported in SparkSQL and Databricks compatibility modes. - [Hash functions](https://docs.firebolt.io/reference-sql/spark/functions/hash.md): Spark hash functions supported in SparkSQL and Databricks compatibility modes. - [JSON, variant, CSV, and XML functions](https://docs.firebolt.io/reference-sql/spark/functions/semi-structured.md): Spark jSON, variant, CSV, and XML functions supported in SparkSQL and Databricks compatibility modes. - [Mathematical functions](https://docs.firebolt.io/reference-sql/spark/functions/math.md): Spark mathematical functions supported in SparkSQL and Databricks compatibility modes. - [Miscellaneous functions](https://docs.firebolt.io/reference-sql/spark/functions/misc.md): Spark miscellaneous functions supported in SparkSQL and Databricks compatibility modes. - [String functions](https://docs.firebolt.io/reference-sql/spark/functions/string.md): Spark string functions supported in SparkSQL and Databricks compatibility modes. - [Window functions](https://docs.firebolt.io/reference-sql/spark/functions/window.md): Spark window functions supported in SparkSQL and Databricks compatibility modes.