[英]How to create multiple table in Amazon Athena
How to create multiple table in once in Amazon Athena? 如何在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: Amazon Athena查询只能包含一个SQL语句,否则您将收到错误消息:
Only one sql statement is allowed.
只允许一个sql语句。
You will need to execute each statement in a separate query. 您需要在单独的查询中执行每个语句。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.