SQL-terminal is more stable, but needs following implementation
1: Dynamic columns
2: Add columns instead of rows in the table