The GoogleSQL language in Spanner Stay organized with collections Save and categorize content based on your preferences.
This page provides an overview of supported statements in GoogleSQL.
GoogleSQL is an ANSI-compliantStructured Query Language (SQL)that includes the following types of supported statements:
- Data Definition Language (DDL) statementslet you create and modify database objects such as tables, views, and database roles.
- Data Manipulation Language (DML) statementsenable you to update, insert, and delete data from yourSpanner tables.
- Query statements, alsoknown as Data Query Language (DQL) statements, are the primary method toanalyze data in Spanner. They scan one or more tables orexpressions and return the computed result rows.
- Data Access Control statementslet you grant and revoke access privileges at the table and column level.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-15 UTC.