Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
To export table data to a CSV file, use the sequence of SQLite commands below:
|
| 5 |
+
Ex: exporting Table nlbse_tool_competition_data_by_issue to a CSV file.
|
| 6 |
+
```
|
| 7 |
+
sqlite3 skillscope_data.db
|
| 8 |
+
.headers on
|
| 9 |
+
.mode csv
|
| 10 |
+
.output output.csv
|
| 11 |
+
SELECT * FROM nlbse_tool_competition_data_by_issue;
|
| 12 |
+
.quit
|
| 13 |
+
```
|
| 14 |
+
Important: CSV file will have zero bytes until you use the ```.quit``` statement !
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
Alternatively, you can simply call sqlite3 and check the available tables.
|
| 18 |
+
The statement ```.table``` will list the available tables.
|
| 19 |
+
|
| 20 |
+
```
|
| 21 |
+
sqlite3
|
| 22 |
+
.tables
|
| 23 |
+
.open skillscope_data.db
|
| 24 |
+
```
|