Query statements, also
known as Data Query Language (DQL) statements, are the primary method to
analyze data in Spanner. They scan one or more tables or
expressions and return the computed result rows.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# The GoogleSQL language in Spanner\n\nThis page provides an overview of supported statements in GoogleSQL.\n\nGoogleSQL is an ANSI-compliant\n[Structured Query Language (SQL)](https://en.wikipedia.org/wiki/SQL)\nthat includes the following types of supported statements:\n\n- [**Data Definition Language** (DDL) statements](/spanner/docs/reference/standard-sql/data-definition-language) let you create and modify database objects such as tables, views, and database roles.\n- [**Data Manipulation Language** (DML) statements](/spanner/docs/reference/standard-sql/dml-syntax) enable you to update, insert, and delete data from your Spanner tables.\n- [**Query statements**](/spanner/docs/reference/standard-sql/query-syntax), also known as Data Query Language (DQL) statements, are the primary method to analyze data in Spanner. They scan one or more tables or expressions and return the computed result rows.\n- [**Data Access Control statements**](/spanner/docs/fgac-about) let you grant and revoke access privileges at the table and column level."]]