码迷,mamicode.com
首页 > 数据库 > 详细

MySQl

时间:2015-04-03 22:29:31      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:

MySQl for Tmall

create table train_item (  
    item_id varchar(64), 
    item_geohash varchar(64),
    item_category varchar(64),
    primary key (item_id)  
);  


#载入外部的CSV文件
load data infile D:\\Tmall\\tianchi_mobile_recommend_train_item.csvinto table `site`
fields terminated by ,‘ optionally enclosed by "‘ escaped by "
lines terminated by \n‘; 

 

MySQl

标签:

原文地址:http://www.cnblogs.com/hdu-2010/p/4391093.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!