简体   繁体   中英

How to create multiple table in Amazon Athena

How to create multiple table in once in Amazon Athena?

create external table tab1 (id int, nam string);
create external table tab2 (id int, nam string);
create external table tab3 (id int, nam string);

An Amazon Athena query can only contain one SQL statement, otherwise you will receive an error:

Only one sql statement is allowed.

You will need to execute each statement in a separate query.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM