Icon

Exercise2

There has been no title set for this workflow's metadata.

Chapter 2 / Exercise 2

Reads dataset cars-85 from KCBBook.sqlite DB, prepared in exercise1.

The goal of this exercise is to read data from a database and practice a bit of in-database processing with database nodes and SQL queries.

To read the database start with a connector node, either the generic DB Connector node or the dedicated SQLite Connector node.

Pre-process the dataset with database nodes or SQL queries as follows:
1. exclude 'symboling' and 'normalized losses'
2. keep only bmw and audi cars

Annotations and comments
  • Workflow: Chapter 2/Exercise 2 Reads dataset cars-85 from the KCBBook.sqlite database, prepared in Chapter2/Exercise 1. The goal of this exercise is to read data from a database and practice a bit of in-database processing with database nodes and SQL queries. To read the database start with a connector node, either the generic DB Connector node or the dedicated SQLite Connector node. Pre-process the dataset with database nodes or SQL queries as follows: exclude 'symboling' and 'normalized losses' keep only bmw and audi cars
  • exclude "symboling" and "normalized losses"
  • generic connector to SQLite DB KCBBook.sqlite
  • SELECT ,,,,,,,,, from cars85 WHERE make = 'bmw' OR make = 'audi'
  • make = 'bmw' OR make = 'audi'
  • SELECT * from cars85 WHERE make = 'bmw' OR make = 'audi'
  • SELECT * from cars85
  • create jdbc url
  • connect to KCBBook.sqlite database

Nodes

Extensions

Links