Add SQL insertion functionality

This commit is contained in:
2020-01-08 01:23:00 +01:00
parent dfd13f6037
commit 7b945e2b98
9 changed files with 51 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
"WGMS_ID","YEAR"
"uid","year"
10452,2018
2665,2014
2665,2015
1 WGMS_ID uid YEAR year
2 10452 2018
3 2665 2014
4 2665 2015

View File

@@ -1,4 +1,4 @@
"WGMS_ID","YEAR","AREA","MEDIAN_ELEVATION","LENGTH"
"uid","year","surface","elevation","length"
10452,2018,1.68,"",2.1
2665,2014,12.9,390.0,7.6
2665,2015,12.9,390.0,7.6
1 WGMS_ID uid YEAR year AREA surface MEDIAN_ELEVATION elevation LENGTH length
2 10452 2018 1.68 2.1
3 2665 2014 12.9 390.0 7.6
4 2665 2015 12.9 390.0 7.6

View File

@@ -1,4 +1,4 @@
"POLITICAL_UNIT","NAME","WGMS_ID"
"country","name","uid"
"Afghanistan","PIR YAKH",10452
"Antarctica","BAHIA DEL DIABLO",2665
"Antarctica","BELLINGSHAUSEN",6833
1 POLITICAL_UNIT country NAME name WGMS_ID uid
2 Afghanistan PIR YAKH 10452
3 Antarctica BAHIA DEL DIABLO 2665
4 Antarctica BELLINGSHAUSEN 6833

View File

@@ -1,2 +1,2 @@
"UID","USERNAME","PASSWORD"
"uid","username","password"
7843,"admin","fuckmonsanto"
1 UID uid USERNAME username PASSWORD password
2 7843 7843 admin admin fuckmonsanto fuckmonsanto