SQL Commands
- ALTER TABLE – Modifies a table.
- ALTER USER – Changes a user’s password.
- ALTER VIEW – Modifies a view.
- CALL – Invokes a stored procedure.
- CASE – Chooses one of a specified set of values depending on some condition.
- %CHECKPRIV – Checks whether the user holds a specified privilege.
- CLOSE – Closes a cursor.
- COMMIT – Commits work performed during a transaction.
- CREATE DATABASE – Creates a database (namespace).
- CREATE FUNCTION – Creates a function as a method in a class.
- CREATE INDEX – Creates an index for a table.
- CREATE METHOD – Creates a method in a class.
- CREATE PROCEDURE – Creates a method or query which is exposed as an SQL stored procedure.
- CREATE QUERY – Creates a query.
- CREATE ROLE – Creates a role.
- CREATE TABLE – Creates a table definition.
- CREATE TRIGGER – Creates a trigger.
- CREATE USER – Creates a user account.
- CREATE VIEW – Creates a view.
- DECLARE – Declares a cursor.
- DELETE – Removes rows from a table.
- DISTINCT – A SELECT clause that specifies to return only distinct values.
- DROP DATABASE – Deletes a database (namespace).
- DROP FUNCTION – Deletes a function.
- DROP INDEX – Removes an index.
- DROP METHOD – Deletes a method.
- DROP PROCEDURE – Deletes a procedure.
- DROP QUERY – Deletes a query.
- DROP ROLE – Deletes a role.
- DROP TABLE – Deletes a table and (optionally) its data.
- DROP TRIGGER – Deletes a trigger.
- DROP USER – Removes a user account.
- DROP VIEW – Deletes a view.
- FETCH – Repositions a cursor, and retrieves data from it.
- FROM – A SELECT clause that specifies one or more tables to query.
- GRANT – Grants privileges to a user or role.
- GROUP BY – A SELECT clause that groups the resulting rows of a query according to one or more columns.
- HAVING – A SELECT clause that specifies one or more restrictive conditions.
- INSERT – Adds a new row (or rows) to a table.
- INSERT OR UPDATE – Adds a new row or updates an existing row in a table.
- INTO – A SELECT clause that specifies the storing of selected values in host variables.
- %INTRANSACTION – Shows transaction state.
- JOIN – A SELECT subclause that creates a table based on the data in two tables.
- LOCK – Locks a table.
- OPEN – Opens a cursor.
- ORDER BY – A SELECT clause that specifies the sorting of rows in a result set.
- REVOKE – Removes privileges from a user or role.
- ROLLBACK – Rolls back a transaction.
- SAVEPOINT – Marks a point within a transaction.
- SELECT – Retrieves rows from one or more tables within a database.
- SET OPTION – Sets an execution option.
- SET TRANSACTION – Sets parameters for transactions.
- START TRANSACTION – Begins a transaction.
- TOP – A SELECT clause that specifies how many rows to return.
- TRUNCATE TABLE – Removes all data from a table and resets counters.
- UNION – Combines two or more SELECT statements.
- UNLOCK – Unlocks a table.
- UPDATE – Sets new values for specified columns in a specified table.
- USE DATABASE – Sets the current namespace and database.
- VALUES – An INSERT/UPDATE clause that specifies data values for use in fields.
- WHERE – A SELECT clause that specifies one or more restrictive conditions.
- WHERE CURRENT OF – An UPDATE/DELETE clause that specifies the current row using a cursor.