

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

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

您可以透過 Athena SQL 在 Amazon S3 中使用 [AWS Glue Data Catalog](data-sources-glue.md) ([外部 Hive 中繼存放區](connect-to-data-source-hive.md)) 就地查詢資料，或使用各種[預先建置的連接器](connectors-available.md)連接到其他資料來源進行[聯合查詢](federated-queries.md)。

您也可以：
+ 使用 [Athena 的 JDBC 和 ODBC 驅動程式](https://docs.aws.amazon.com/athena/latest/ug/athena-bi-tools-jdbc-odbc.html)連接到商業智慧工具和其他應用程式。
+ 查詢 [AWS 服務日誌](querying-aws-service-logs.md)。
+ 查詢 [Apache Iceberg 資料表](querying-iceberg.md) (包括時間歷程查詢) 和 [Apache Hudi 資料集](querying-hudi.md)。
+ 查詢[地理空間資料](querying-geospatial-data.md)。
+ 使用來自 Amazon SageMaker AI 的[機器學習推論](https://docs.aws.amazon.com/athena/latest/ug/querying-mlmodel.html)查詢。
+ 使用您自己的[使用者定義的函數](https://docs.aws.amazon.com/athena/latest/ug/querying-udf.html)查詢。
+ 使用[分割區投影](https://docs.aws.amazon.com/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)