

# SqlDataQuery

The query for ExecuteSql to run. Set exactly one member.

## Contents
<a name="API_SqlDataQuery_Contents"></a>

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** sql **   <a name="context-Type-SqlDataQuery-sql"></a>
A SQL statement and the tables it reads.  
Type: [SqlQuery](API_SqlQuery.md) object  
Required: No

## See Also
<a name="API_SqlDataQuery_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/SqlDataQuery) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/SqlDataQuery) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/SqlDataQuery) 