# SQL Commands List

Here is an alphabetical list of all the SQL commands SingleStore Helios currently supports. This list is subject to change.

| Command Name                                                                                                                                                   | Command Description                                                                                                                                                                                                                                                           | Grouping                   |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
| [AGGREGATOR SYNC AUTO\_INCREMENT](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/aggregator-sync-auto-increment.md) | Sets the auto-increment counter on the aggregators (master or child).                                                                                                                                                                                                         | Data Manipulation Language |
| [ALTER DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/alter-database.md)                                    | The`ALTER DATABASE`command specifies if an existing database should begin using synchronous or asynchronous replication.                                                                                                                                                      | Data Definition Language   |
| [ALTER PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/pipelines-commands/alter-pipeline.md)                                              | The`ALTER PIPELINE`clause changes an existing pipeline’s configuration.                                                                                                                                                                                                       | Pipeline                   |
| [ALTER RESOURCE POOL](https://docs.singlestore.com/cloud/reference/sql-reference/resource-pool-commands/alter-resource-pool.md)                                | Changes the resource settings in an existing resource pool.                                                                                                                                                                                                                   | Resource Pool              |
| [ALTER TABLE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/alter-table.md)                                          | Modify the structure of an existing table.                                                                                                                                                                                                                                    | Data Definition Language   |
| [ALTER USER](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/alter-user.md)                                            | Alters settings associated with the user. To change a user password, use the[SET PASSWORD](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/set-password.md)command.                                                                   | Security Management        |
| [ALTER VIEW](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/alter-view.md)                                            | Atomically replace a view with a new view defined by a`SELECT`statement.`ALTER VIEW`is an online operation and will not cause concurrently executing queries to fail.                                                                                                         | Data Definition Language   |
| [ANALYZE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/analyze.md)                                                          | Collects statistics for a table.                                                                                                                                                                                                                                              | Operational                |
| [ARRAY](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/array.md)                                                          | The`ARRAY`data type inSingleStore HeliosProcedural SQL (PSQL) represents a collection of elements that share the same data type.                                                                                                                                              | Procedural                 |
| [ATTACH DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/attach-database.md)                                          | Restores an unlimited storage database at a restore point and then brings the database online.                                                                                                                                                                                | Operational                |
| [BACKUP DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/backup-database.md)                                          | Backs up a database. The backup files are saved on the master aggregator and on the leaves.                                                                                                                                                                                   | Operational                |
| [BEGIN](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/begin.md)                                                    | Commits any existing open transaction on the current connection and starts a new transaction.                                                                                                                                                                                 | Data Manipulation Language |
| [CALL](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/call.md)                                                            | Runs the specified stored procedure. Does not return results.                                                                                                                                                                                                                 | Procedural                 |
| [CHECK BLOB CHECKSUM](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/check-blob-checksum.md)                                  | `CHECK BLOB CHECKSUM`checks for and displays columnstore blob file corruptions. Applies to the blobs in local disk and local blob cache.                                                                                                                                      | Operational                |
| [CHECK BOTTOMLESS](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/check-bottomless.md)                                        | `CHECK BOTTOMLESS CHECKSUM`checks the checksum of the blob files stored in the remote blob store.                                                                                                                                                                             | Operational                |
| [CLEAR LOAD ERRORS](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/clear-load-errors.md)                            | Removes load errors from the`information_schema.LOAD_DATA_ERRORS`table. These errors are populated by`LOAD DATA ... ERRORS HANDLE <string>`when it runs.                                                                                                                      | Data Manipulation Language |
| [COLLECT](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/collect.md)                                                      | After`COLLECT`executes you will typically iterate through the array to perform processing on its elements.                                                                                                                                                                    | Procedural                 |
| [COMMIT](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/commit.md)                                                  | Commits the open transaction if one exists.                                                                                                                                                                                                                                   | Data Manipulation Language |
| [CREATE EXTERNAL FUNCTION](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/create-or-replace-external-function.md)         | Creates or replaces an external function, which is a function that calls code that is executed outside of a SingleStore database.                                                                                                                                             | Procedural                 |
| [CREATE TEMPORARY PROCEDURE](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/create-or-replace-temporary-procedure.md)     | When the session terminates, the temporary stored procedure is no longer available.                                                                                                                                                                                           | Procedural                 |
| [CREATE AGGREGATE](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/create-aggregate.md)                                    | Creates a user-defined aggregate function (UDAF). A UDAF is a callable routine that accepts input parameters, executes programmatic logic in the function body, and returns a scalar-type value.                                                                              | Procedural                 |
| [CREATE DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/create-database.md)                                  | Creates a database.                                                                                                                                                                                                                                                           | Data Definition Language   |
| [Trace Event Commands](https://docs.singlestore.com/cloud/reference/sql-reference/trace-event-commands.md)                                                     | Creates a trace event.                                                                                                                                                                                                                                                        | Trace Events               |
| [CREATE FUNCTION (TVF)](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/create-function-tvf.md)                            | The`CREATE FUNCTION`(TVF) command creates a user-defined table-valued function (TVF). A TVF is a callable routine that accepts input parameters, executes a single`SELECT`statement in the function body, and returns a single table-type value (similar to a view).          | Procedural                 |
| [CREATE FUNCTION (UDF)](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/create-function-udf.md)                            | Creates a user-defined scalar-valued function (UDF). A UDF is a callable routine that accepts input parameters, executes programmatic logic, and returns a value (or values).                                                                                                 | Procedural                 |
| [CREATE GROUP](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/create-group.md)                                        | Create a group on aSingleStore Heliosworkspace.                                                                                                                                                                                                                               | Security Management        |
| [CREATE INDEX](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/create-index.md)                                        | Create an index on the specified table.                                                                                                                                                                                                                                       | Data Definition Language   |
| [CREATE LINK](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/create-link.md)                                          | Creates a new connection link to S3, Azure, GCS, HDFS, HTTP,Kafka,MongoDB®, or MySQLfor a permitted user.                                                                                                                                                                     | Security Management        |
| [CREATE MILESTONE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/create-milestone.md)                                | Records a milestone, which is a named point to which you can restore an unlimited storage database. Restoring to the milestone will bring the database to the point in time when the milestone was created.                                                                   | Data Definition Language   |
| [CREATE PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/pipelines-commands/create-pipeline.md)                                            | Create a new[Pipeline](https://docs.singlestore.com/cloud/load-data/about-singlestore-pipelines.md)to continuously extract, shape, and load data into a table, or to shape and load a set of files fast into a table, in parallel.                                            | Pipeline                   |
| [CREATE PROCEDURE](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/create-procedure.md)                                    | Creates a stored procedure. A stored procedure is a callable routine that accepts input parameters, executes programmatic logic, and optionally returns a single value.                                                                                                       | Procedural                 |
| [CREATE PROJECTION](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/create-projection.md)                              | Creates a projection.                                                                                                                                                                                                                                                         | Data Definition Language   |
| [CREATE RESOURCE POOL](https://docs.singlestore.com/cloud/reference/sql-reference/resource-pool-commands/create-resource-pool.md)                              | The`CREATE RESOURCE POOL`command creates a resource pool.                                                                                                                                                                                                                     | Resource Pool              |
| [CREATE ROLE](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/create-role.md)                                          | Create a role on aSingleStore Heliosworkspace.                                                                                                                                                                                                                                | Security Management        |
| [CREATE TABLE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/create-table.md)                                        | Creates a new table.                                                                                                                                                                                                                                                          | Data Definition Language   |
| [CREATE USER](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/create-user.md)                                          | Create a new user account.                                                                                                                                                                                                                                                    | Security Management        |
| [CREATE VIEW](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/create-view.md)                                          | Creates an unmaterialized view.                                                                                                                                                                                                                                               | Data Definition Language   |
| [CREATE\_ARRAY](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/create-array.md)                                           | Creates a new array of the specified length that is initialized with default values for the array’s inferred data type.                                                                                                                                                       | Procedural                 |
| [CURRENT\_SECURITY\_GROUPS](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/current-security-groups.md)                | Returns a comma separated list of the current user's security groups on a SingleStoreworkspace.                                                                                                                                                                               | Security Management        |
| [CURRENT\_SECURITY\_ROLES](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/current-security-roles.md)                  | Returns a comma separated list in one row of the current user's security roles on a SingleStoreworkspace.                                                                                                                                                                     | Security Management        |
| [CURRENT\_USER](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/current-user.md)                                       | Returns the details (username and hostname) of the user executing the query.                                                                                                                                                                                                  | Security Management        |
| [DELETE](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/delete.md)                                                  | `DELETE`is a DML statement that deletes rows in a table.                                                                                                                                                                                                                      | Data Manipulation Language |
| [DESCRIBE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/describe.md)                                                | Describe the specified table.                                                                                                                                                                                                                                                 | Data Definition Language   |
| [DETACH DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/detach-database.md)                                          | Takes an unlimited storage database offline.                                                                                                                                                                                                                                  | Operational                |
| [DETACH PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/pipelines-commands/detach-pipeline.md)                                            | The`DETACH PIPELINE`clause is similar to the`STOP PIPELINE`clause with the difference being`ALTER TABLE`can be performed on a detached pipeline for the table that is currently being referenced by the pipeline.                                                             | Pipeline                   |
| [DROP … FROM PLANCACHE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/drop-from-plancache.md)                        | Forces a plan to be optimized and generated from scratch the next time it is run.                                                                                                                                                                                             | Data Definition Language   |
| [DROP AGGREGATE](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/drop-aggregate.md)                                        | Removes a single user-defined aggregate function (UDAF) from the specified database.                                                                                                                                                                                          | Procedural                 |
| [DROP DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/drop-database.md)                                      | Drops a local storage database.                                                                                                                                                                                                                                               | Data Definition Language   |
| [Trace Event Commands](https://docs.singlestore.com/cloud/reference/sql-reference/trace-event-commands.md)                                                     | Drops a trace event.                                                                                                                                                                                                                                                          | Trace Events               |
| [DROP FUNCTION](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/drop-function.md)                                          | Removes a single function from the specified database, including user-defined scalar-valued functions (UDFs) and user-defined table-valued functions (TVFs).                                                                                                                  | Procedural                 |
| [DROP GROUP](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/drop-group.md)                                            | Remove a group from aSingleStore Heliosworkspace.                                                                                                                                                                                                                             | Security Management        |
| [DROP INDEX](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/drop-index.md)                                            | Drop the specified index on the specified table.                                                                                                                                                                                                                              | Data Definition Language   |
| [DROP LINK](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/drop-link.md)                                              | Remove a connection link on S3, Azure, GCS, HDFS, or Kafka for a permitted user.                                                                                                                                                                                              | Security Management        |
| [DROP PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/pipelines-commands/drop-pipeline.md)                                                | The`DROP PIPELINE`clause deletes a pipeline from yourSingleStore Heliosworkspace. If the pipeline is currently running, it will stop it before deleting it.                                                                                                                   | Pipeline                   |
| [DROP PROCEDURE](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/drop-procedure.md)                                        | Removes a single stored procedure from the specified database.                                                                                                                                                                                                                | Procedural                 |
| [DROP PROJECTION](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/drop-projection.md)                                  | Drops an existing projection.                                                                                                                                                                                                                                                 | Data Definition Language   |
| [DROP RESOURCE POOL](https://docs.singlestore.com/cloud/reference/sql-reference/resource-pool-commands/drop-resource-pool.md)                                  | Drop the specified resource pool.                                                                                                                                                                                                                                             | Resource Pool              |
| [DROP ROLE](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/drop-role.md)                                              | Remove a role from aSingleStore Heliosworkspace.                                                                                                                                                                                                                              | Security Management        |
| [DROP TABLE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/drop-table.md)                                            | Drop the specified table.                                                                                                                                                                                                                                                     | Data Definition Language   |
| [DROP USER](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/drop-user.md)                                              | Removes one or more user accounts.                                                                                                                                                                                                                                            | Security Management        |
| [DROP VIEW](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/drop-view.md)                                              | Drop a view.                                                                                                                                                                                                                                                                  | Data Definition Language   |
| [ECHO](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/echo.md)                                                            | Runs a stored procedure and returns a set of rows as a result.                                                                                                                                                                                                                | Procedural                 |
| [ECHO SELECT](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/echo-select.md)                                              | The ECHO SELECT command executes the specified SELECT statement within a stored procedure and returns the resulting rows to the console or to the application that called the stored procedure.                                                                               | Procedural                 |
| [EXCEPT and MINUS](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/except-and-minus.md)                              | The`EXCEPT`and`MINUS`commands compare the results of two queries and return the distinct rows from the first query that do not appear in the second query.                                                                                                                    | Data Manipulation Language |
| [EXECUTE IMMEDIATE](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/execute-immediate.md)                                  | Runs a SQL query.                                                                                                                                                                                                                                                             | Procedural                 |
| [EXISTS AND NOT EXISTS](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/exists-and-not-exists.md)                    | The EXISTS AND NOT EXISTS command Used with a subquery to check if the subquery returns a record.                                                                                                                                                                             | Data Manipulation Language |
| [EXPLAIN](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/explain.md)                                                | Returns detailed information on how the query is executed.                                                                                                                                                                                                                    | Data Manipulation Language |
| [FULLTEXT SERVICE STOP](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/fulltext-service-stop.md)                              | Stops the full-text V2 service.                                                                                                                                                                                                                                               | Operational                |
| [GRANT](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/grant.md)                                                      | Grants the specified privileges to an existing user.                                                                                                                                                                                                                          | Security Management        |
| [GRANT GROUP](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/grant-group.md)                                          | Add a user to a group.                                                                                                                                                                                                                                                        | Security Management        |
| [GRANT ROLE](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/grant-role.md)                                            | Add a role to a group.                                                                                                                                                                                                                                                        | Security Management        |
| [INSERT](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/insert.md)                                                  | Inserts data into a table.                                                                                                                                                                                                                                                    | Data Manipulation Language |
| [INSERT\_ALL](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/insert-all.md)                                               | Inserts an array of records into a table in a single operation.                                                                                                                                                                                                               | Procedural                 |
| [INTERSECT](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/intersect.md)                                            | The`INTERSECT`command combines the result set of two queries and returns distinct rows that are returned by both queries.                                                                                                                                                     | Data Manipulation Language |
| [KILL CONNECTION and KILL QUERY](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/kill-connection-and-kill-query.md)            | Kill the connection on the specified thread. Rolls back any query running on the thread.                                                                                                                                                                                      | Operational                |
| [KILLALL QUERIES](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/killall-queries.md)                                          | Kills all running queries or closes all connections.                                                                                                                                                                                                                          | Operational                |
| [LOAD DATA](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/load-data.md)                                            | The`LOAD DATA`command imports data stored in a CSV, JSON, BSON, Avro, or Parquet file into aSingleStoretable (referred to as the destination table in this topic).                                                                                                            | Data Manipulation Language |
| [OPTIMIZE TABLE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/optimize-table.md)                                    | The OPTIMIZE TABLE Performs optimizations on the storage of rows in a table.                                                                                                                                                                                                  | Data Definition Language   |
| [PIVOT](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/pivot.md)                                                    | The`PIVOT`operation lets you transform non-aggregated data into a pivot table output format.                                                                                                                                                                                  | Data Manipulation Language |
| [PROFILE](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/profile.md)                                                | Provides detailed resources usage metrics about a query.                                                                                                                                                                                                                      | Data Manipulation Language |
| [PROFILE PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/pipelines-commands/profile-pipeline.md)                                          | The PROFILE PIPELINE command uns a single batch in the foreground to provide detailed resource metrics for each operation in your pipeline. The batch itself is not persisted.                                                                                                | Pipeline                   |
| [QUERY](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/query.md)                                                          | SingleStore HeliosProcedural SQL (PSQL) supports the`QUERY`data type, whose value represents a SQL`SELECT`statement, optionally with bound variable values.                                                                                                                   | Procedural                 |
| [RECORD](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/record.md)                                                        | SingleStore HeliosProcedural SQL (PSQL) supports the`RECORD`data type, which is an encapsulated group of named fields.                                                                                                                                                        | Procedural                 |
| [REOPTIMIZE](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/reoptimize.md)                                          | Reoptimize the most recently profiled query based on previous executions of it.                                                                                                                                                                                               | Data Manipulation Language |
| [REOPTIMIZE MARK](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/reoptimize-mark.md)                                | Manually mark a plan for[Feedback Reoptimization](https://docs.singlestore.com/cloud/query-data/query-tuning/feedback-reoptimization.md).                                                                                                                                     | Data Manipulation Language |
| [REPAIR DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/repair-database.md)                                          | This command is deprecated.                                                                                                                                                                                                                                                   | Operational                |
| [REPLACE](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/replace.md)                                                | If the table has a`PRIMARY KEY`or`UNIQUE`index,`REPLACE`will check rows for a matching value and, if a match is found, will delete the old row and replace it with the new row.                                                                                               | Data Manipulation Language |
| [RESTORE DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/restore-database.md)                                        | Restores a database from a binary backup file.                                                                                                                                                                                                                                | Operational                |
| [REVOKE](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/revoke.md)                                                    | Revoke privileges from aSingleStore Heliosuser or role.                                                                                                                                                                                                                       | Security Management        |
| [REVOKE GROUP](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/revoke-group.md)                                        | Remove a user from a group.                                                                                                                                                                                                                                                   | Security Management        |
| [REVOKE ROLE](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/revoke-role.md)                                          | Remove a role from a group.                                                                                                                                                                                                                                                   | Security Management        |
| [ROLLBACK](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/rollback.md)                                              | Rolls back the open transaction if one exists.                                                                                                                                                                                                                                | Data Manipulation Language |
| [ROW](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/row.md)                                                              | The`ROW()`function constructs a`RECORD`object that may be used in an expression or assigned into a`RECORD`type variable.                                                                                                                                                      | Procedural                 |
| [SCALAR](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/scalar.md)                                                        | The`SCALAR`function executes a query that returns a single value.                                                                                                                                                                                                             | Procedural                 |
| [SECURITY\_LISTS\_INTERSECT](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/security-lists-intersect.md)              | `SECURITY_LISTS_INTERSECT()`is a function that returns a list of a assigned roles for a user.                                                                                                                                                                                 | Security Management        |
| [SELECT](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/select.md)                                                  | Retrieves data from a table.                                                                                                                                                                                                                                                  | Data Manipulation Language |
| [SELECT GLOBAL](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/select-global.md)                                              | Inspect the setting of a global engine variable.                                                                                                                                                                                                                              | Operational                |
| [SET and SET SESSION](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/set-and-set-session.md)                                  | Sets a session variable. Its value remains in effect for the duration of the current database connection.                                                                                                                                                                     | Operational                |
| [SET AGGREGATOR](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/set-aggregator.md)                                            | Sets a sync variable to propagate to all aggregators in theworkspace.                                                                                                                                                                                                         | Operational                |
| [SET CLUSTER](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/set-cluster.md)                                                  | Sets a sync variable. Depending on the variable, the updated value is propagated to all nodes in theworkspaceor all aggregators in theworkspace.                                                                                                                              | Operational                |
| [SET GLOBAL](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/set-global.md)                                                    | Sets an engine variable globally.                                                                                                                                                                                                                                             | Operational                |
| [SET LEAF](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/set-leaf.md)                                                        | Sets a sync variable to propagate to all leaves in theworkspace.                                                                                                                                                                                                              | Operational                |
| [SET PASSWORD](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/set-password.md)                                        | Sets a user’s password.                                                                                                                                                                                                                                                       | Security Management        |
| [SHOW AGGREGATES](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/show-aggregates.md)                                      | Lists any existing user-defined aggregate functions (UDAF) in the specified database.                                                                                                                                                                                         | Procedural                 |
| [SHOW CDC EXTRACTOR POOL](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-cdc-extractor-pool.md)                                 | Displays information about the CDC-in pipelines.                                                                                                                                                                                                                              | Show Commands              |
| [SHOW CHARACTER SET](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-character-set.md)                                           | Shows supported character sets and the default collation for each character set.                                                                                                                                                                                              | Show Commands              |
| [SHOW COLLATION](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-collation.md)                                                   | Lists available collations and character sets.                                                                                                                                                                                                                                | Show Commands              |
| [SHOW COLUMNS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-columns.md)                                                       | Show the list of columns within a given table.                                                                                                                                                                                                                                | Show Commands              |
| [SHOW CREATE AGGREGATE](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/show-create-aggregate.md)                          | Shows the function definition and other attributes for a user-defined aggregate function (UDAF).                                                                                                                                                                              | Procedural                 |
| [SHOW CREATE FUNCTION](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/show-create-function.md)                            | Outputs configuration information about an existing user-defined function, including user-defined scalar value functions (UDFs) and user-defined table-valued functions (TVFs).                                                                                               | Procedural                 |
| [SHOW CREATE LINK](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-create-link.md)                                               | Shows the`CREATE LINK`command used to create a link.                                                                                                                                                                                                                          | Show Commands              |
| [SHOW CREATE PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-create-pipeline.md)                                       | You can use the`SHOW CREATE PIPELINE`clause to output a`CREATE PIPELINE`statement that can be used to duplicate the configuration and state of an existing pipeline.                                                                                                          | Show Commands              |
| [SHOW CREATE PROJECTION](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-create-projection.md)                                   | Shows the`CREATE PROJECTION`statement that was used to create the projection.                                                                                                                                                                                                 | Show Commands              |
| [SHOW CREATE PROCEDURE](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/show-create-procedure.md)                          | Shows the definition, procedure body, and other attributes for a stored procedure.                                                                                                                                                                                            | Procedural                 |
| [SHOW CREATE TABLE](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-create-table.md)                                             | Shows the`CREATE TABLE`statement that was used to create the table.                                                                                                                                                                                                           | Show Commands              |
| [SHOW CREATE VIEW](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-create-view.md)                                               | Shows the`CREATE VIEW`statement that was used to create the view.                                                                                                                                                                                                             | Show Commands              |
| [SHOW DATABASE STATUS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-database-status.md)                                       | ShowsSingleStore Heliosdatabase status.                                                                                                                                                                                                                                       | Show Commands              |
| [SHOW DATABASES](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-databases.md)                                                   | Shows the list of databases that exist on thisSingleStore Heliosinstance.                                                                                                                                                                                                     | Show Commands              |
| [SHOW DISTRIBUTED\_PLANCACHE STATUS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-distributed-plancache-status.md)            | Provides information about the status and performance of the[Distributed Plancache](https://docs.singlestore.com/cloud/user-and-workspace-administration/workspace-health-and-performance/distributed-plancache.md).                                                          | Show Commands              |
| [SHOW ERRORS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-errors.md)                                                         | Displays errors as a result of execution of an invalid statement.                                                                                                                                                                                                             | Show Commands              |
| [SHOW FEEDBACK REOPTIMIZATION STATUS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-feedback-reoptimization-status.md)         | Displays system-wide Feedback Reoptimization (FR) information.                                                                                                                                                                                                                | Show Commands              |
| [SHOW FULLTEXT SERVICE METRICS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-fulltext-service-metrics.md)                     | Displays metrics for the JLucene full-text search in JSON format.                                                                                                                                                                                                             | Show Commands              |
| [SHOW FULLTEXT SERVICE STATUS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-fulltext-service-status.md)                       | Shows the status of the full-text V2 service.                                                                                                                                                                                                                                 | Show Commands              |
| [SHOW FUNCTIONS](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/show-functions.md)                                        | Lists any existing user-defined functions in the specified database, including user-defined scalar-valued functions (UDFs) and user-defined table-valued functions (TVFs).                                                                                                    | Procedural                 |
| [SHOW GLOBAL STATUS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-global-status.md)                                           | Show globalSingleStore Heliosserver status information.                                                                                                                                                                                                                       | Show Commands              |
| [SHOW GRANTS](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-grants.md)                                          | Show permissions (privileges) for the specified user (or role).                                                                                                                                                                                                               | Security Management        |
| [SHOW GROUPS](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-groups.md)                                          | Shows the list of groups on aworkspacegroup.                                                                                                                                                                                                                                  | Security Management        |
| [SHOW GROUPS FOR ROLE](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-groups-for-role.md)                        | Show groups for a specific role.                                                                                                                                                                                                                                              | Security Management        |
| [SHOW GROUPS FOR USER](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-groups-for-user.md)                        | Show groups for a specific user.                                                                                                                                                                                                                                              | Security Management        |
| [SHOW INDEX, SHOW INDEXES, SHOW KEYS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-index-show-indexes-show-keys.md)           | Displays the list of indexes associated with a given table.                                                                                                                                                                                                                   | Show Commands              |
| [SHOW LINKS](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-links.md)                                            | Show all connection links on S3, Azure, GCS, HDFS, or Kafka for a permitted user.                                                                                                                                                                                             | Security Management        |
| [SHOW LOAD ERRORS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-load-errors.md)                                               | This command is deprecated. You can now query the[information\_schema.LOAD\_DATA\_ERRORS](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/load-data.md)table to see the errors that occurred after running the`LOAD DATA`command.   | Show Commands              |
| [SHOW LOAD WARNINGS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-load-warnings.md)                                           | This command is deprecated. You can now query the[information\_schema.LOAD\_DATA\_ERRORS](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/load-data.md)table to see the warnings that occurred after running the`LOAD DATA`command. | Show Commands              |
| [SHOW PARTITIONS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-partitions.md)                                                 | Shows partitions and relevant information about them.                                                                                                                                                                                                                         | Show Commands              |
| [SHOW PIPELINES](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-pipelines.md)                                                   | You can see all existing pipelines in a database and their current state by using the`SHOW PIPELINES`statement.                                                                                                                                                               | Show Commands              |
| [SHOW PLAN](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-plan.md)                                                             | Displays the[EXPLAIN](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/explain.md)plan of a query as per the plan ID.                                                                                                                | Show Commands              |
| [SHOW PLANCACHE](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-plancache.md)                                                   | Shows all query statements thatSingleStore Helioshas compiled and executed, as well as cumulative query execution statistics associated with each plan.                                                                                                                       | Show Commands              |
| [SHOW PROCESSLIST](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-processlist.md)                                               | Shows details about currently running threads.                                                                                                                                                                                                                                | Show Commands              |
| [SHOW PROCEDURES](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/show-procedures.md)                                      | Lists existing stored procedures in the current or the specified database.                                                                                                                                                                                                    | Procedural                 |
| [SHOW PROJECTIONS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-projections.md)                                               | Shows projections created on the current database or specified table.                                                                                                                                                                                                         | Show Commands              |
| [SHOW REPLICATION STATUS](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/show-replication-status.md)                          | Shows the list of all connections between the replication master and secondary databases.                                                                                                                                                                                     | Operational                |
| [SHOW REPRODUCTION](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-reproduction.md)                                             | Collects troubleshooting data for query optimizer and code generation issues for queries that fail in the compilation phase.                                                                                                                                                  | Show Commands              |
| [SHOW RESOURCE POOLS](https://docs.singlestore.com/cloud/reference/sql-reference/resource-pool-commands/show-resource-pools.md)                                | Lists all resource pools and their field values.                                                                                                                                                                                                                              | Resource Pool              |
| [SHOW ROLES](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-roles.md)                                            | Shows the list of roles on aworkspacegroup.                                                                                                                                                                                                                                   | Security Management        |
| [SHOW ROLES FOR GROUP](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-roles-for-group.md)                        | Show roles for a specific group.                                                                                                                                                                                                                                              | Security Management        |
| [SHOW ROLES FOR USER](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-roles-for-user.md)                          | Show roles for a specific user.                                                                                                                                                                                                                                               | Security Management        |
| [SHOW SCHEMAS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-schemas.md)                                                       | Shows the list of schemas that exist on thisSingleStore Heliosinstance.                                                                                                                                                                                                       | Show Commands              |
| [SHOW SESSION STATUS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-session-status.md)                                         | ShowSingleStore Heliosserver status information for a session.                                                                                                                                                                                                                | Show Commands              |
| [SHOW STATUS EXTENDED](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-status-extended.md)                                       | ShowsSingleStore Heliosserver status information with detailedSingleStore Helios-specific memory and performance metrics.                                                                                                                                                     | Show Commands              |
| [SHOW TABLE STATUS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-table-status.md)                                             | Show tables status information in aSingleStore Heliosdatabase.                                                                                                                                                                                                                | Show Commands              |
| [SHOW TABLES](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-tables.md)                                                         | Shows the list of tables in the currently selected database, or in another database if db\_name is specified.                                                                                                                                                                 | Show Commands              |
| [SHOW USERS](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-users.md)                                            | Show users on aSingleStore Heliosworkspace.                                                                                                                                                                                                                                   | Security Management        |
| [SHOW USERS FOR GROUP](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-users-for-group.md)                        | Show users for a specific group.                                                                                                                                                                                                                                              | Security Management        |
| [SHOW USERS FOR ROLE](https://docs.singlestore.com/cloud/reference/sql-reference/security-management-commands/show-users-for-role.md)                          | Show users for a specific role.                                                                                                                                                                                                                                               | Security Management        |
| [SHOW VARIABLES](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-variables.md)                                                   | Shows a list of variable bindings.                                                                                                                                                                                                                                            | Show Commands              |
| [SHOW WARNINGS](https://docs.singlestore.com/cloud/reference/sql-reference/show-commands/show-warnings.md)                                                     | Display warnings as a result of an invalid statement execution.                                                                                                                                                                                                               | Show Commands              |
| [SNAPSHOT DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/snapshot-database.md)                                      | Takes a snapshot of the given database and truncates the transaction log.                                                                                                                                                                                                     | Operational                |
| [START PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/pipelines-commands/start-pipeline.md)                                              | The`START PIPELINE`statement starts an existing pipeline in aSingleStore Heliosdatabase. An error will occur if the pipeline is already running.                                                                                                                              | Pipeline                   |
| [STOP PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/pipelines-commands/stop-pipeline.md)                                                | The`STOP PIPELINE`statement stops a currently running pipeline in aSingleStore Heliosdatabase.                                                                                                                                                                                | Pipeline                   |
| [SYNC BOTTOMLESS DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/sync-bottomless-database.md)                        | Synchronizes any currently committed data in the database with the remote object storage.                                                                                                                                                                                     | Operational                |
| [\_SYNC\_PLANS](https://docs.singlestore.com/cloud/reference/sql-reference/code-generation-functions/sync-plans.md)                                            | Synchronizes a node's local PPC with the DPC for a specific database.                                                                                                                                                                                                         | Operational                |
| [TABLE](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/table.md)                                                    | It is a table-valued function that converts a PSQL array to a set of rows.                                                                                                                                                                                                    | Data Manipulation Language |
| [TEST PIPELINE](https://docs.singlestore.com/cloud/reference/sql-reference/pipelines-commands/test-pipeline.md)                                                | The`TEST PIPELINE`statement tests an existing pipeline and looks for any new files to import.                                                                                                                                                                                 | Pipeline                   |
| [TO\_QUERY](https://docs.singlestore.com/cloud/reference/sql-reference/procedural-sql-reference/to-query.md)                                                   | Allows you to convert a[dynamic SQL](https://docs.singlestore.com/cloud/developer-resources/procedural-extensions/dynamic-sql.md)statement to a query type value.                                                                                                             | Procedural                 |
| [TRUNCATE](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/truncate.md)                                                | Removes all rows from the table.                                                                                                                                                                                                                                              | Data Definition Language   |
| [UNION](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/union.md)                                                    | Combines results from multiple[SELECT](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/select.md)statements.                                                                                                                        | Data Manipulation Language |
| [UNLOCK TABLES](https://docs.singlestore.com/cloud/reference/sql-reference/data-definition-language-ddl/unlock-tables.md)                                      | Releases all table locks on all databases in theworkspace.                                                                                                                                                                                                                    | Data Definition Language   |
| [UPDATE](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/update.md)                                                  | `UPDATE`is a DML statement that modifies rows in a table.                                                                                                                                                                                                                     | Data Manipulation Language |
| [USE](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/use.md)                                                        | Use a database or schema.                                                                                                                                                                                                                                                     | Data Manipulation Language |
| [WITH (Common Table Expressions)](https://docs.singlestore.com/cloud/query-data/advanced-query-topics/with-common-table-expressions.md)                        | Specifies a temporary named result set, referred to as aCommon Table Expression (CTE) (A named temporary result set that exists within the scope of a single statement and that can be referred to later within that statement, possibly multiple times.).                    | Data Manipulation Language |

***

Modified at: June 10, 2026

Source: [/cloud/reference/sql-reference/sql-commands-list/](https://docs.singlestore.com/cloud/reference/sql-reference/sql-commands-list/)

(An index of the documentation is available at /llms.txt)
