hive 一个表同时插入多个表

这样写是可以运行的

from  table_all 
insert overwrite table table_1
select first where first=1
insert overwrite table table_2
select first where first=2

下面这种写法为什么不行, 应该怎么写

from  table_all 
create table table_1 as
select first where first=1
create table table_2 as
select first where first=2

会报错

Error: Error while compiling statement: FAILED: ParseException line 2:0 cannot recognize input near 'create' 'table'

目前是不行的

语法错误
create table table_1
少写了个table
create后面可以是视图、索引等等很多东西,必须加上table才是创建表