DB Pivot


This node creates a SQL statement for pivoting to be executed on the input database using a selected number of columns for grouping and pivoting. The group columns will result into unique rows, whereby the pivot values turned into columns for each set of column combinations together with each aggregation method.

To change the aggregation method of more than one column select all columns to change, open the context menu with a right mouse click and select the aggregation method to use.

A detailed description of the available aggregation methods can be found on the 'Description' tab in the node dialog.

Input Ports

  1. Type: DB Data
    Table in database to apply pivoting

Output Ports

  1. Type: DB Data
    Table in the database with pivoted rows


This node is part of the extension

KNIME Database


Short Link

Drag node into KNIME Analytics Platform