

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

# 列出所有資料表的所有資料欄
<a name="querying-glue-catalog-listing-all-columns-for-all-tables"></a>

您可以列出 `AwsDataCatalog` 中所有資料表的所有資料欄，或者 `AwsDataCatalog` 中特定資料庫的所有資料表。
+ 若要列出 `AwsDataCatalog` 中所有資料庫的所有資料欄，請使用查詢 `SELECT * FROM information_schema.columns`。
+ 若要將結果限制在特定資料庫，請在 `WHERE` 子句中使用 `table_schema='database_name'`。

**Example - 列出特定資料庫中所有資料表的所有資料欄**  
下面的範例查詢會列出資料庫 `webdata` 中所有資料表的所有資料欄。  

```
SELECT * FROM information_schema.columns WHERE table_schema = 'webdata'            
```