-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathUploadData.sql
46 lines (40 loc) · 1.28 KB
/
UploadData.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SET SESSION sql_mode = '';
load data infile 'C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Uploads\\train.csv'
into table transaction.cust_geo_score
columns terminated by ','
optionally enclosed by '"'
-- escaped by '"'
lines terminated by '\n'
ignore 1 lines;
SET SESSION sql_mode = '';
load data infile 'C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Uploads\\Geo_scores.csv'
into table transaction.cust_geo_score
columns terminated by ','
optionally enclosed by '"'
-- escaped by '"'
lines terminated by '\n'
ignore 1 lines;
SET SESSION sql_mode = '';
load data infile 'C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Uploads\\Lambda_wts.csv'
into table transaction.cust_lambda_weight
columns terminated by ','
optionally enclosed by '"'
-- escaped by '"'
lines terminated by '\n'
ignore 1 lines;
SET SESSION sql_mode = '';
load data infile 'C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Uploads\\Qset_tats.csv'
into table transaction.cust_tat
columns terminated by ','
optionally enclosed by '"'
-- escaped by '"'
lines terminated by '\n'
ignore 1 lines;
SET SESSION sql_mode = '';
load data infile 'C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Uploads\\instance_scores.csv'
into table transaction.cust_instance
columns terminated by ','
optionally enclosed by '"'
-- escaped by '"'
lines terminated by '\n'
ignore 1 lines;