Icon

01 Practicing with Traditional Databases

01 Practicing with Traditional Databases
Annotations and comments
  • Exercise 1: Practicing with Traditional Databases In this exercise you'll create a database table, and load and manipulate data in the database 1) Read the AirlineDataset.table file. The data contain information about US domestic flights in January 2007. 2) Connect to the H2 database (database.mv.db file) 3) Remove the "airline" table from the database if it exists 4) Create a new table "airline" on the database based on the table specs of the local data table. Use dynamic settings. 5) Insert the data into the "airline" database table 6) Filter the data to flights that were not cancelled AND had Austin-Bergstrom International Airport (AUS) as destination 7) Write the filtered data into a new database table called "airline_Austin" 8) Read the "airline_Austin" table into KNIME 9) Optional: Delete the cancelled flights directly on the database with the following statement in the DB SQL Executor node: DELETE from "PUBLIC"."airline" where "Cancelled" = 1;

Nodes

Extensions

Links