

# 使用 Athena SQL
<a name="using-athena-sql"></a>

您可以使用 Athena SQL，借助 [Amazon Glue Data Catalog](data-sources-glue.md)（[外部 Hive 元存储](connect-to-data-source-hive.md)）或者通过各种[预构建连接器](connectors-available.md)对其他数据来源进行[联合查询](federated-queries.md)，从而在 Amazon S3 中就地查询数据。

您也可以：
+ 使用 [Athena 的 JDBC 和 ODBC 驱动程序](https://docs.amazonaws.cn/athena/latest/ug/athena-bi-tools-jdbc-odbc.html) 连接到商业智能工具和其他应用程序。
+ 查询 [Amazon 服务日志](querying-aws-service-logs.md)。
+ 查询 [Apache Iceberg 表](querying-iceberg.md)，包括时间旅行查询和 [Apache Hudi 数据集](querying-hudi.md)。
+ 查询[地理空间数据](querying-geospatial-data.md)。
+ 使用来自 Amazon SageMaker AI 的[机器学习推理](https://docs.amazonaws.cn/athena/latest/ug/querying-mlmodel.html)进行查询。
+ 使用您自己的[用户定义函数](https://docs.amazonaws.cn/athena/latest/ug/querying-udf.html)进行查询。
+ 使用[分区投影](https://docs.amazonaws.cn/athena/latest/ug/partition-projection.html)可加快对高度分区表的查询处理，并自动执行分区管理。

**Topics**
+ [了解 Athena 中的表、数据库和数据目录](understanding-tables-databases-and-the-data-catalog.md)
+ [开始使用](getting-started.md)
+ [连接到数据来源](work-with-data-stores.md)
+ [通过 ODBC 和 JDBC 驱动程序连接到 Amazon Athena](athena-bi-tools-jdbc-odbc.md)
+ [创建数据库和表](work-with-data.md)
+ [从查询结果创建表（CTAS）](ctas.md)
+ [使用 SerDes](serde-reference.md)
+ [在 Amazon Athena 中运行 SQL 查询](querying-athena-tables.md)
+ [使用 Athena ACID 事务](acid-transactions.md)
+ [Amazon Athena 安全性](security.md)
+ [工作负载管理](workload-management.md)
+ [Athena 引擎版本控制](engine-versions.md)
+ [Athena 的 SQL 参考](ddl-sql-reference.md)
+ [在 Athena 中进行排查问题](troubleshooting-athena.md)
+ [代码示例](code-samples.md)