Tutorial by Examples

insert overwrite table yourTargetTable select * from yourSourceTable;
INSERT INTO will append to the table or partition, keeping the existing data intact. INSERT INTO table yourTargetTable SELECT * FROM yourSourceTable; If a table is partitioned then we can insert into that particular partition in static fashion as shown below. INSERT INTO TABLE yourTarge...

Page 1 of 1