赞
踩
导入数据创建两个表
CREATE TABLE hive_4_product_1( product_id string, product_name string, product_type string, sale_price double, purchase_price double, regist_date string ); CREATE TABLE hive_4_product_2( product_id string, product_name string, product_type string, sale_price double, purchase_price double, regist_date string );
表结构
数据
INSERT INTO hive_4_product_1 VALUES('0001', 'T恤衫', '衣服', 1000, 500, '2009-09-20'),
('0002', '打孔器', '办公用品', 500, 320, '2009-09-11'),
('0003', '运动T恤', '衣服', 4000, 2800, NULL),
('0004', '菜刀', '厨房用具', 3000, 2800, '2009-09-20'),
('0005', '高压锅', '厨房用具', 6800, 5000
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。