Local Starter Kit · Workshop

Quick reference

Connect to your local Exasol and query TPC-H.

Point a SQL tool at the database, then explore TPC-H, the classic decision-support benchmark. One dataset, three questions by role. Copy the SQL, run it, read the answer.

TPCH schema4 tables
REGIONgeographyR_REGIONKEY · R_NAME
NATIONgeographyN_NATIONKEY · N_NAME · N_REGIONKEY
CUSTOMERwhoC_CUSTKEY · C_MKTSEGMENT · C_NATIONKEY
ORDERSwhatO_ORDERKEY · O_CUSTKEY · O_TOTALPRICE

Connect

local · self-signed TLS

Connection details

DriverExasol Host127.0.0.1 Port8563 Usersys Passwordyour own, get it locally → SSLenabled, disable cert validation (self-signed)

Your password is generated locally on install and never shared. Get yours with:

shell
exakit info

then read the file it points to, for example:

shell
cat ~/.exasol-starter-kit/credentials/personal_sys_password

More ways to connect

same database, your tool of choice
GUI
DBeaver

New Connection, pick the Exasol driver, then enter the details above.

GUI
DbVisualizer

Create a database connection with the Exasol driver, same host, port and user.

Python
pyexasol

Comes preinstalled in its own environment. Connect straight from Python.

Terminal
exapump

Open a SQL shell right in your terminal.

shell
exapump interactive -p starter-kit
No install needed
Explore in your browser at exakit.live

A hosted console for exploring an Exasol database, local or remote, with a temporary AI assistant included. A quick way to try things before you install the kit.

Open exakit.live →

Ask by role

question → SQL → run
Data Scientist
Revenue by market segment

"Show revenue by customer market segment, using each order's total price."

joinsCUSTOMERORDERS
SQL
SELECT c.C_MKTSEGMENT AS segment,
       COUNT(o.O_ORDERKEY) AS order_count,
       ROUND(SUM(o.O_TOTALPRICE), 2) AS total_revenue
FROM TPCH.CUSTOMER c
JOIN TPCH.ORDERS o ON c.C_CUSTKEY = o.O_CUSTKEY
GROUP BY c.C_MKTSEGMENT
ORDER BY total_revenue DESC;
Data Engineer
Inspect the schema

"Show the schema of the orders table."

readsORDERS
SQL
DESCRIBE TPCH.ORDERS;
Leadership
Sales by region

"Which region generates the most total sales, based on order value?"

joinsORDERSCUSTOMERNATIONREGION
SQL
SELECT r.R_NAME AS region,
       SUM(o.O_TOTALPRICE) AS total_sales,
       COUNT(o.O_ORDERKEY) AS order_count
FROM TPCH.ORDERS o
JOIN TPCH.CUSTOMER c ON o.O_CUSTKEY = c.C_CUSTKEY
JOIN TPCH.NATION n ON c.C_NATIONKEY = n.N_NATIONKEY
JOIN TPCH.REGION r ON n.N_REGIONKEY = r.R_REGIONKEY
GROUP BY r.R_NAME
ORDER BY total_sales DESC;
Copied