Skip to content

Instantly share code, notes, and snippets.

@kmader
Last active October 19, 2016 18:28
Show Gist options
  • Save kmader/365f7c1488716deb9ac8bb6c7f78c8b4 to your computer and use it in GitHub Desktop.
Save kmader/365f7c1488716deb9ac8bb6c7f78c8b4 to your computer and use it in GitHub Desktop.
SQL Experiments with KNIME

Creating Empty sqlite databse

SQLIte for Windows

Create a sqlite database file by using sqlite3 from the command line and simply typing .save empty.db then .exit

$ sqlite3
SQLite version 3.8.10.2 2015-05-20 18:17:19
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .save empty.db
sqlite> .exit

Using KNIME

KNIME lets you import and visualize the database as well as run pure SQL and assisted queries.

Here you can download an example workflow and empty database

The workflow layout for running the analysis

An overview of how to change the SQL query

Use SQLite

You can also use SQLite and follow the tutorial listed here

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment