Help Center/ GaussDB/ Developer Guide(Centralized_8.x)/ FAQ/ What are the types of SQL languages?
Updated on 2024-06-03 GMT+08:00

What are the types of SQL languages?

Answer: SQL languages are classified into the following types:

  • Data definition language (DDL) is used to define or modify an object in a database, such as a table, an index, or a view.
  • Data manipulation language (DML) is used to perform operations on data in database tables, such as inserting, updating, querying, or deleting data.
  • Data control language (DCL) is used to set or change the permissions of database users or roles.