Dataset Viewer
Auto-converted to Parquet Duplicate
template_id
stringclasses
79 values
question
stringlengths
22
86
sql
stringlengths
43
454
difficulty
stringclasses
5 values
domain
stringclasses
6 values
query_type
listlengths
1
5
phrasing_index
int64
0
2
slot_values
unknown
id
stringlengths
12
12
execution
dict
referenced_tables
listlengths
1
5
split
stringclasses
1 value
e01
Show all customers from Germany.
SELECT * FROM customers WHERE country = 'Germany'
easy
sales
[ "select", "where" ]
0
{ "country": "Germany" }
bench-000001
{ "ok": true, "latency_ms": 6.9, "row_count": 997, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "189fde62c5689dfd13214cc4c0d9fdea", ...
[ "customers" ]
train
e01
List the customers located in Germany.
SELECT * FROM customers WHERE country = 'Germany'
easy
sales
[ "select", "where" ]
1
{ "country": "Germany" }
bench-000002
{ "ok": true, "latency_ms": 6.9, "row_count": 997, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "189fde62c5689dfd13214cc4c0d9fdea", ...
[ "customers" ]
train
e01
Which customers are based in Germany?
SELECT * FROM customers WHERE country = 'Germany'
easy
sales
[ "select", "where" ]
2
{ "country": "Germany" }
bench-000003
{ "ok": true, "latency_ms": 6.9, "row_count": 997, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "189fde62c5689dfd13214cc4c0d9fdea", ...
[ "customers" ]
train
e01
Show all customers from Japan.
SELECT * FROM customers WHERE country = 'Japan'
easy
sales
[ "select", "where" ]
0
{ "country": "Japan" }
bench-000004
{ "ok": true, "latency_ms": 6.79, "row_count": 997, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "bca7b4af9392a83c0d90b6c5df8b3f42",...
[ "customers" ]
train
e01
List the customers located in Japan.
SELECT * FROM customers WHERE country = 'Japan'
easy
sales
[ "select", "where" ]
1
{ "country": "Japan" }
bench-000005
{ "ok": true, "latency_ms": 6.79, "row_count": 997, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "bca7b4af9392a83c0d90b6c5df8b3f42",...
[ "customers" ]
train
e01
Which customers are based in Japan?
SELECT * FROM customers WHERE country = 'Japan'
easy
sales
[ "select", "where" ]
2
{ "country": "Japan" }
bench-000006
{ "ok": true, "latency_ms": 6.79, "row_count": 997, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "bca7b4af9392a83c0d90b6c5df8b3f42",...
[ "customers" ]
train
e01
Show all customers from Netherlands.
SELECT * FROM customers WHERE country = 'Netherlands'
easy
sales
[ "select", "where" ]
0
{ "country": "Netherlands" }
bench-000007
{ "ok": true, "latency_ms": 6.02, "row_count": 994, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "ba8d9c5a71cc77a7b50d482fb185c42c",...
[ "customers" ]
train
e01
List the customers located in Netherlands.
SELECT * FROM customers WHERE country = 'Netherlands'
easy
sales
[ "select", "where" ]
1
{ "country": "Netherlands" }
bench-000008
{ "ok": true, "latency_ms": 6.02, "row_count": 994, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "ba8d9c5a71cc77a7b50d482fb185c42c",...
[ "customers" ]
train
e01
Which customers are based in Netherlands?
SELECT * FROM customers WHERE country = 'Netherlands'
easy
sales
[ "select", "where" ]
2
{ "country": "Netherlands" }
bench-000009
{ "ok": true, "latency_ms": 6.02, "row_count": 994, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "ba8d9c5a71cc77a7b50d482fb185c42c",...
[ "customers" ]
train
e01
Show all customers from United States.
SELECT * FROM customers WHERE country = 'United States'
easy
sales
[ "select", "where" ]
0
{ "country": "United States" }
bench-000010
{ "ok": true, "latency_ms": 7.04, "row_count": 986, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e00a4c970992b899ab2cddfca4f163ed",...
[ "customers" ]
train
e01
List the customers located in United States.
SELECT * FROM customers WHERE country = 'United States'
easy
sales
[ "select", "where" ]
1
{ "country": "United States" }
bench-000011
{ "ok": true, "latency_ms": 7.04, "row_count": 986, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e00a4c970992b899ab2cddfca4f163ed",...
[ "customers" ]
train
e01
Which customers are based in United States?
SELECT * FROM customers WHERE country = 'United States'
easy
sales
[ "select", "where" ]
2
{ "country": "United States" }
bench-000012
{ "ok": true, "latency_ms": 7.04, "row_count": 986, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e00a4c970992b899ab2cddfca4f163ed",...
[ "customers" ]
train
e01
Show all customers from France.
SELECT * FROM customers WHERE country = 'France'
easy
sales
[ "select", "where" ]
0
{ "country": "France" }
bench-000013
{ "ok": true, "latency_ms": 6.82, "row_count": 1019, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "22b5554ca9bb8923e19a416d8df226ef"...
[ "customers" ]
train
e01
List the customers located in France.
SELECT * FROM customers WHERE country = 'France'
easy
sales
[ "select", "where" ]
1
{ "country": "France" }
bench-000014
{ "ok": true, "latency_ms": 6.82, "row_count": 1019, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "22b5554ca9bb8923e19a416d8df226ef"...
[ "customers" ]
train
e01
Which customers are based in France?
SELECT * FROM customers WHERE country = 'France'
easy
sales
[ "select", "where" ]
2
{ "country": "France" }
bench-000015
{ "ok": true, "latency_ms": 6.82, "row_count": 1019, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "22b5554ca9bb8923e19a416d8df226ef"...
[ "customers" ]
train
e01
Show all customers from Brazil.
SELECT * FROM customers WHERE country = 'Brazil'
easy
sales
[ "select", "where" ]
0
{ "country": "Brazil" }
bench-000016
{ "ok": true, "latency_ms": 6.58, "row_count": 943, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b9a1fd44b0e87d014deab46f33314aff",...
[ "customers" ]
train
e01
List the customers located in Brazil.
SELECT * FROM customers WHERE country = 'Brazil'
easy
sales
[ "select", "where" ]
1
{ "country": "Brazil" }
bench-000017
{ "ok": true, "latency_ms": 6.58, "row_count": 943, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b9a1fd44b0e87d014deab46f33314aff",...
[ "customers" ]
train
e01
Which customers are based in Brazil?
SELECT * FROM customers WHERE country = 'Brazil'
easy
sales
[ "select", "where" ]
2
{ "country": "Brazil" }
bench-000018
{ "ok": true, "latency_ms": 6.58, "row_count": 943, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b9a1fd44b0e87d014deab46f33314aff",...
[ "customers" ]
train
e01
Show all customers from South Africa.
SELECT * FROM customers WHERE country = 'South Africa'
easy
sales
[ "select", "where" ]
0
{ "country": "South Africa" }
bench-000019
{ "ok": true, "latency_ms": 7.06, "row_count": 992, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "2bae97d89183e3a9604e7f5635fe72ca",...
[ "customers" ]
train
e01
List the customers located in South Africa.
SELECT * FROM customers WHERE country = 'South Africa'
easy
sales
[ "select", "where" ]
1
{ "country": "South Africa" }
bench-000020
{ "ok": true, "latency_ms": 7.06, "row_count": 992, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "2bae97d89183e3a9604e7f5635fe72ca",...
[ "customers" ]
train
e01
Which customers are based in South Africa?
SELECT * FROM customers WHERE country = 'South Africa'
easy
sales
[ "select", "where" ]
2
{ "country": "South Africa" }
bench-000021
{ "ok": true, "latency_ms": 7.06, "row_count": 992, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "2bae97d89183e3a9604e7f5635fe72ca",...
[ "customers" ]
train
e01
Show all customers from Canada.
SELECT * FROM customers WHERE country = 'Canada'
easy
sales
[ "select", "where" ]
0
{ "country": "Canada" }
bench-000022
{ "ok": true, "latency_ms": 7.18, "row_count": 948, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "454d42f1d642a2c8bf1ca133166f67a2",...
[ "customers" ]
train
e01
List the customers located in Canada.
SELECT * FROM customers WHERE country = 'Canada'
easy
sales
[ "select", "where" ]
1
{ "country": "Canada" }
bench-000023
{ "ok": true, "latency_ms": 7.18, "row_count": 948, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "454d42f1d642a2c8bf1ca133166f67a2",...
[ "customers" ]
train
e01
Which customers are based in Canada?
SELECT * FROM customers WHERE country = 'Canada'
easy
sales
[ "select", "where" ]
2
{ "country": "Canada" }
bench-000024
{ "ok": true, "latency_ms": 7.18, "row_count": 948, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "454d42f1d642a2c8bf1ca133166f67a2",...
[ "customers" ]
train
e01
Show all customers from India.
SELECT * FROM customers WHERE country = 'India'
easy
sales
[ "select", "where" ]
0
{ "country": "India" }
bench-000025
{ "ok": true, "latency_ms": 7.97, "row_count": 1023, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "43eb8ab5aff5f8e71b008640097f38d0"...
[ "customers" ]
train
e01
List the customers located in India.
SELECT * FROM customers WHERE country = 'India'
easy
sales
[ "select", "where" ]
1
{ "country": "India" }
bench-000026
{ "ok": true, "latency_ms": 7.97, "row_count": 1023, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "43eb8ab5aff5f8e71b008640097f38d0"...
[ "customers" ]
train
e01
Which customers are based in India?
SELECT * FROM customers WHERE country = 'India'
easy
sales
[ "select", "where" ]
2
{ "country": "India" }
bench-000027
{ "ok": true, "latency_ms": 7.97, "row_count": 1023, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "43eb8ab5aff5f8e71b008640097f38d0"...
[ "customers" ]
train
e01
Show all customers from Australia.
SELECT * FROM customers WHERE country = 'Australia'
easy
sales
[ "select", "where" ]
0
{ "country": "Australia" }
bench-000028
{ "ok": true, "latency_ms": 7.07, "row_count": 1018, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "a637274723bf7492783a8b01b5e68f90"...
[ "customers" ]
train
e01
List the customers located in Australia.
SELECT * FROM customers WHERE country = 'Australia'
easy
sales
[ "select", "where" ]
1
{ "country": "Australia" }
bench-000029
{ "ok": true, "latency_ms": 7.07, "row_count": 1018, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "a637274723bf7492783a8b01b5e68f90"...
[ "customers" ]
train
e01
Which customers are based in Australia?
SELECT * FROM customers WHERE country = 'Australia'
easy
sales
[ "select", "where" ]
2
{ "country": "Australia" }
bench-000030
{ "ok": true, "latency_ms": 7.07, "row_count": 1018, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "a637274723bf7492783a8b01b5e68f90"...
[ "customers" ]
train
e01
Show all customers from Singapore.
SELECT * FROM customers WHERE country = 'Singapore'
easy
sales
[ "select", "where" ]
0
{ "country": "Singapore" }
bench-000031
{ "ok": true, "latency_ms": 6.91, "row_count": 1011, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1c3e8b5b49c5fad1f4764302a55b29c8"...
[ "customers" ]
train
e01
List the customers located in Singapore.
SELECT * FROM customers WHERE country = 'Singapore'
easy
sales
[ "select", "where" ]
1
{ "country": "Singapore" }
bench-000032
{ "ok": true, "latency_ms": 6.91, "row_count": 1011, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1c3e8b5b49c5fad1f4764302a55b29c8"...
[ "customers" ]
train
e01
Which customers are based in Singapore?
SELECT * FROM customers WHERE country = 'Singapore'
easy
sales
[ "select", "where" ]
2
{ "country": "Singapore" }
bench-000033
{ "ok": true, "latency_ms": 6.91, "row_count": 1011, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1c3e8b5b49c5fad1f4764302a55b29c8"...
[ "customers" ]
train
e01
Show all customers from United Kingdom.
SELECT * FROM customers WHERE country = 'United Kingdom'
easy
sales
[ "select", "where" ]
0
{ "country": "United Kingdom" }
bench-000034
{ "ok": true, "latency_ms": 7.24, "row_count": 1072, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "253d2dd065195aa790ac875f7334a01e"...
[ "customers" ]
train
e01
List the customers located in United Kingdom.
SELECT * FROM customers WHERE country = 'United Kingdom'
easy
sales
[ "select", "where" ]
1
{ "country": "United Kingdom" }
bench-000035
{ "ok": true, "latency_ms": 7.24, "row_count": 1072, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "253d2dd065195aa790ac875f7334a01e"...
[ "customers" ]
train
e01
Which customers are based in United Kingdom?
SELECT * FROM customers WHERE country = 'United Kingdom'
easy
sales
[ "select", "where" ]
2
{ "country": "United Kingdom" }
bench-000036
{ "ok": true, "latency_ms": 7.24, "row_count": 1072, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "253d2dd065195aa790ac875f7334a01e"...
[ "customers" ]
train
e02
Show customers in the city of Brisbane.
SELECT * FROM customers WHERE city = 'Brisbane'
easy
sales
[ "select", "where" ]
0
{ "city": "Brisbane" }
bench-000037
{ "ok": true, "latency_ms": 5.78, "row_count": 377, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "c6e8f75f83742a1846b20aca150e3c80",...
[ "customers" ]
train
e02
List all customers from Brisbane.
SELECT * FROM customers WHERE city = 'Brisbane'
easy
sales
[ "select", "where" ]
1
{ "city": "Brisbane" }
bench-000038
{ "ok": true, "latency_ms": 5.78, "row_count": 377, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "c6e8f75f83742a1846b20aca150e3c80",...
[ "customers" ]
train
e02
Who are our customers in Brisbane?
SELECT * FROM customers WHERE city = 'Brisbane'
easy
sales
[ "select", "where" ]
2
{ "city": "Brisbane" }
bench-000039
{ "ok": true, "latency_ms": 5.78, "row_count": 377, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "c6e8f75f83742a1846b20aca150e3c80",...
[ "customers" ]
train
e02
Show customers in the city of Bristol.
SELECT * FROM customers WHERE city = 'Bristol'
easy
sales
[ "select", "where" ]
0
{ "city": "Bristol" }
bench-000040
{ "ok": true, "latency_ms": 5.2, "row_count": 291, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1b6501ec34a97699893fe056e44c45de", ...
[ "customers" ]
train
e02
List all customers from Bristol.
SELECT * FROM customers WHERE city = 'Bristol'
easy
sales
[ "select", "where" ]
1
{ "city": "Bristol" }
bench-000041
{ "ok": true, "latency_ms": 5.2, "row_count": 291, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1b6501ec34a97699893fe056e44c45de", ...
[ "customers" ]
train
e02
Who are our customers in Bristol?
SELECT * FROM customers WHERE city = 'Bristol'
easy
sales
[ "select", "where" ]
2
{ "city": "Bristol" }
bench-000042
{ "ok": true, "latency_ms": 5.2, "row_count": 291, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1b6501ec34a97699893fe056e44c45de", ...
[ "customers" ]
train
e02
Show customers in the city of Vancouver.
SELECT * FROM customers WHERE city = 'Vancouver'
easy
sales
[ "select", "where" ]
0
{ "city": "Vancouver" }
bench-000043
{ "ok": true, "latency_ms": 5.34, "row_count": 286, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "7eaecdd6a34860a352e7cc07fc1d4d09",...
[ "customers" ]
train
e02
List all customers from Vancouver.
SELECT * FROM customers WHERE city = 'Vancouver'
easy
sales
[ "select", "where" ]
1
{ "city": "Vancouver" }
bench-000044
{ "ok": true, "latency_ms": 5.34, "row_count": 286, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "7eaecdd6a34860a352e7cc07fc1d4d09",...
[ "customers" ]
train
e02
Who are our customers in Vancouver?
SELECT * FROM customers WHERE city = 'Vancouver'
easy
sales
[ "select", "where" ]
2
{ "city": "Vancouver" }
bench-000045
{ "ok": true, "latency_ms": 5.34, "row_count": 286, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "7eaecdd6a34860a352e7cc07fc1d4d09",...
[ "customers" ]
train
e02
Show customers in the city of Johannesburg.
SELECT * FROM customers WHERE city = 'Johannesburg'
easy
sales
[ "select", "where" ]
0
{ "city": "Johannesburg" }
bench-000046
{ "ok": true, "latency_ms": 6.96, "row_count": 495, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "ac32a82dd4917c4a5c092df24c945cfb",...
[ "customers" ]
train
e02
List all customers from Johannesburg.
SELECT * FROM customers WHERE city = 'Johannesburg'
easy
sales
[ "select", "where" ]
1
{ "city": "Johannesburg" }
bench-000047
{ "ok": true, "latency_ms": 6.96, "row_count": 495, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "ac32a82dd4917c4a5c092df24c945cfb",...
[ "customers" ]
train
e02
Who are our customers in Johannesburg?
SELECT * FROM customers WHERE city = 'Johannesburg'
easy
sales
[ "select", "where" ]
2
{ "city": "Johannesburg" }
bench-000048
{ "ok": true, "latency_ms": 6.96, "row_count": 495, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "ac32a82dd4917c4a5c092df24c945cfb",...
[ "customers" ]
train
e02
Show customers in the city of Osaka.
SELECT * FROM customers WHERE city = 'Osaka'
easy
sales
[ "select", "where" ]
0
{ "city": "Osaka" }
bench-000049
{ "ok": true, "latency_ms": 5.62, "row_count": 260, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e83b58645b75bb8d49c40f2000ae5874",...
[ "customers" ]
train
e02
List all customers from Osaka.
SELECT * FROM customers WHERE city = 'Osaka'
easy
sales
[ "select", "where" ]
1
{ "city": "Osaka" }
bench-000050
{ "ok": true, "latency_ms": 5.62, "row_count": 260, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e83b58645b75bb8d49c40f2000ae5874",...
[ "customers" ]
train
e02
Who are our customers in Osaka?
SELECT * FROM customers WHERE city = 'Osaka'
easy
sales
[ "select", "where" ]
2
{ "city": "Osaka" }
bench-000051
{ "ok": true, "latency_ms": 5.62, "row_count": 260, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e83b58645b75bb8d49c40f2000ae5874",...
[ "customers" ]
train
e02
Show customers in the city of Montreal.
SELECT * FROM customers WHERE city = 'Montreal'
easy
sales
[ "select", "where" ]
0
{ "city": "Montreal" }
bench-000052
{ "ok": true, "latency_ms": 6.81, "row_count": 345, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "6d199987763ded1e9e16ebce000856af",...
[ "customers" ]
train
e02
List all customers from Montreal.
SELECT * FROM customers WHERE city = 'Montreal'
easy
sales
[ "select", "where" ]
1
{ "city": "Montreal" }
bench-000053
{ "ok": true, "latency_ms": 6.81, "row_count": 345, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "6d199987763ded1e9e16ebce000856af",...
[ "customers" ]
train
e02
Who are our customers in Montreal?
SELECT * FROM customers WHERE city = 'Montreal'
easy
sales
[ "select", "where" ]
2
{ "city": "Montreal" }
bench-000054
{ "ok": true, "latency_ms": 6.81, "row_count": 345, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "6d199987763ded1e9e16ebce000856af",...
[ "customers" ]
train
e02
Show customers in the city of Singapore.
SELECT * FROM customers WHERE city = 'Singapore'
easy
sales
[ "select", "where" ]
0
{ "city": "Singapore" }
bench-000055
{ "ok": true, "latency_ms": 11.65, "row_count": 1011, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1c3e8b5b49c5fad1f4764302a55b29c8...
[ "customers" ]
train
e02
List all customers from Singapore.
SELECT * FROM customers WHERE city = 'Singapore'
easy
sales
[ "select", "where" ]
1
{ "city": "Singapore" }
bench-000056
{ "ok": true, "latency_ms": 11.65, "row_count": 1011, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1c3e8b5b49c5fad1f4764302a55b29c8...
[ "customers" ]
train
e02
Who are our customers in Singapore?
SELECT * FROM customers WHERE city = 'Singapore'
easy
sales
[ "select", "where" ]
2
{ "city": "Singapore" }
bench-000057
{ "ok": true, "latency_ms": 11.65, "row_count": 1011, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1c3e8b5b49c5fad1f4764302a55b29c8...
[ "customers" ]
train
e02
Show customers in the city of Paris.
SELECT * FROM customers WHERE city = 'Paris'
easy
sales
[ "select", "where" ]
0
{ "city": "Paris" }
bench-000058
{ "ok": true, "latency_ms": 5.86, "row_count": 340, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "46d6b7cd4289a491273680628e749352",...
[ "customers" ]
train
e02
List all customers from Paris.
SELECT * FROM customers WHERE city = 'Paris'
easy
sales
[ "select", "where" ]
1
{ "city": "Paris" }
bench-000059
{ "ok": true, "latency_ms": 5.86, "row_count": 340, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "46d6b7cd4289a491273680628e749352",...
[ "customers" ]
train
e02
Who are our customers in Paris?
SELECT * FROM customers WHERE city = 'Paris'
easy
sales
[ "select", "where" ]
2
{ "city": "Paris" }
bench-000060
{ "ok": true, "latency_ms": 5.86, "row_count": 340, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "46d6b7cd4289a491273680628e749352",...
[ "customers" ]
train
e02
Show customers in the city of Leeds.
SELECT * FROM customers WHERE city = 'Leeds'
easy
sales
[ "select", "where" ]
0
{ "city": "Leeds" }
bench-000061
{ "ok": true, "latency_ms": 5.55, "row_count": 251, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "8425dbea211fc61b4b161b6c37e6a534",...
[ "customers" ]
train
e02
List all customers from Leeds.
SELECT * FROM customers WHERE city = 'Leeds'
easy
sales
[ "select", "where" ]
1
{ "city": "Leeds" }
bench-000062
{ "ok": true, "latency_ms": 5.55, "row_count": 251, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "8425dbea211fc61b4b161b6c37e6a534",...
[ "customers" ]
train
e02
Who are our customers in Leeds?
SELECT * FROM customers WHERE city = 'Leeds'
easy
sales
[ "select", "where" ]
2
{ "city": "Leeds" }
bench-000063
{ "ok": true, "latency_ms": 5.55, "row_count": 251, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "8425dbea211fc61b4b161b6c37e6a534",...
[ "customers" ]
train
e02
Show customers in the city of Lyon.
SELECT * FROM customers WHERE city = 'Lyon'
easy
sales
[ "select", "where" ]
0
{ "city": "Lyon" }
bench-000064
{ "ok": true, "latency_ms": 5.81, "row_count": 332, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b8403e30a933f8f073b58aab95b670a3",...
[ "customers" ]
train
e02
List all customers from Lyon.
SELECT * FROM customers WHERE city = 'Lyon'
easy
sales
[ "select", "where" ]
1
{ "city": "Lyon" }
bench-000065
{ "ok": true, "latency_ms": 5.81, "row_count": 332, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b8403e30a933f8f073b58aab95b670a3",...
[ "customers" ]
train
e02
Who are our customers in Lyon?
SELECT * FROM customers WHERE city = 'Lyon'
easy
sales
[ "select", "where" ]
2
{ "city": "Lyon" }
bench-000066
{ "ok": true, "latency_ms": 5.81, "row_count": 332, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b8403e30a933f8f073b58aab95b670a3",...
[ "customers" ]
train
e02
Show customers in the city of Marseille.
SELECT * FROM customers WHERE city = 'Marseille'
easy
sales
[ "select", "where" ]
0
{ "city": "Marseille" }
bench-000067
{ "ok": true, "latency_ms": 6.57, "row_count": 347, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "0c60927473735b09c06e65174dabf756",...
[ "customers" ]
train
e02
List all customers from Marseille.
SELECT * FROM customers WHERE city = 'Marseille'
easy
sales
[ "select", "where" ]
1
{ "city": "Marseille" }
bench-000068
{ "ok": true, "latency_ms": 6.57, "row_count": 347, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "0c60927473735b09c06e65174dabf756",...
[ "customers" ]
train
e02
Who are our customers in Marseille?
SELECT * FROM customers WHERE city = 'Marseille'
easy
sales
[ "select", "where" ]
2
{ "city": "Marseille" }
bench-000069
{ "ok": true, "latency_ms": 6.57, "row_count": 347, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "0c60927473735b09c06e65174dabf756",...
[ "customers" ]
train
e02
Show customers in the city of Hamburg.
SELECT * FROM customers WHERE city = 'Hamburg'
easy
sales
[ "select", "where" ]
0
{ "city": "Hamburg" }
bench-000070
{ "ok": true, "latency_ms": 5.57, "row_count": 260, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "4bff4b52c836ffca694b65f5956c8550",...
[ "customers" ]
train
e02
List all customers from Hamburg.
SELECT * FROM customers WHERE city = 'Hamburg'
easy
sales
[ "select", "where" ]
1
{ "city": "Hamburg" }
bench-000071
{ "ok": true, "latency_ms": 5.57, "row_count": 260, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "4bff4b52c836ffca694b65f5956c8550",...
[ "customers" ]
train
e02
Who are our customers in Hamburg?
SELECT * FROM customers WHERE city = 'Hamburg'
easy
sales
[ "select", "where" ]
2
{ "city": "Hamburg" }
bench-000072
{ "ok": true, "latency_ms": 5.57, "row_count": 260, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "4bff4b52c836ffca694b65f5956c8550",...
[ "customers" ]
train
e02
Show customers in the city of Manchester.
SELECT * FROM customers WHERE city = 'Manchester'
easy
sales
[ "select", "where" ]
0
{ "city": "Manchester" }
bench-000073
{ "ok": true, "latency_ms": 5.28, "row_count": 250, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e6a2f5ca54c347cc100654fd567b1c63",...
[ "customers" ]
train
e02
List all customers from Manchester.
SELECT * FROM customers WHERE city = 'Manchester'
easy
sales
[ "select", "where" ]
1
{ "city": "Manchester" }
bench-000074
{ "ok": true, "latency_ms": 5.28, "row_count": 250, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e6a2f5ca54c347cc100654fd567b1c63",...
[ "customers" ]
train
e02
Who are our customers in Manchester?
SELECT * FROM customers WHERE city = 'Manchester'
easy
sales
[ "select", "where" ]
2
{ "city": "Manchester" }
bench-000075
{ "ok": true, "latency_ms": 5.28, "row_count": 250, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e6a2f5ca54c347cc100654fd567b1c63",...
[ "customers" ]
train
e02
Show customers in the city of Sao Paulo.
SELECT * FROM customers WHERE city = 'Sao Paulo'
easy
sales
[ "select", "where" ]
0
{ "city": "Sao Paulo" }
bench-000076
{ "ok": true, "latency_ms": 5.99, "row_count": 326, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e50d53136f786441ba0e636f5571d260",...
[ "customers" ]
train
e02
List all customers from Sao Paulo.
SELECT * FROM customers WHERE city = 'Sao Paulo'
easy
sales
[ "select", "where" ]
1
{ "city": "Sao Paulo" }
bench-000077
{ "ok": true, "latency_ms": 5.99, "row_count": 326, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e50d53136f786441ba0e636f5571d260",...
[ "customers" ]
train
e02
Who are our customers in Sao Paulo?
SELECT * FROM customers WHERE city = 'Sao Paulo'
easy
sales
[ "select", "where" ]
2
{ "city": "Sao Paulo" }
bench-000078
{ "ok": true, "latency_ms": 5.99, "row_count": 326, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "e50d53136f786441ba0e636f5571d260",...
[ "customers" ]
train
e02
Show customers in the city of Berlin.
SELECT * FROM customers WHERE city = 'Berlin'
easy
sales
[ "select", "where" ]
0
{ "city": "Berlin" }
bench-000079
{ "ok": true, "latency_ms": 5.71, "row_count": 269, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b825fe050534f945d90c43934a935cc2",...
[ "customers" ]
train
e02
List all customers from Berlin.
SELECT * FROM customers WHERE city = 'Berlin'
easy
sales
[ "select", "where" ]
1
{ "city": "Berlin" }
bench-000080
{ "ok": true, "latency_ms": 5.71, "row_count": 269, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b825fe050534f945d90c43934a935cc2",...
[ "customers" ]
train
e02
Who are our customers in Berlin?
SELECT * FROM customers WHERE city = 'Berlin'
easy
sales
[ "select", "where" ]
2
{ "city": "Berlin" }
bench-000081
{ "ok": true, "latency_ms": 5.71, "row_count": 269, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "b825fe050534f945d90c43934a935cc2",...
[ "customers" ]
train
e02
Show customers in the city of Rio de Janeiro.
SELECT * FROM customers WHERE city = 'Rio de Janeiro'
easy
sales
[ "select", "where" ]
0
{ "city": "Rio de Janeiro" }
bench-000082
{ "ok": true, "latency_ms": 5.76, "row_count": 321, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "28baf5be361eb99334058493db22f11a",...
[ "customers" ]
train
e02
List all customers from Rio de Janeiro.
SELECT * FROM customers WHERE city = 'Rio de Janeiro'
easy
sales
[ "select", "where" ]
1
{ "city": "Rio de Janeiro" }
bench-000083
{ "ok": true, "latency_ms": 5.76, "row_count": 321, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "28baf5be361eb99334058493db22f11a",...
[ "customers" ]
train
e02
Who are our customers in Rio de Janeiro?
SELECT * FROM customers WHERE city = 'Rio de Janeiro'
easy
sales
[ "select", "where" ]
2
{ "city": "Rio de Janeiro" }
bench-000084
{ "ok": true, "latency_ms": 5.76, "row_count": 321, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "28baf5be361eb99334058493db22f11a",...
[ "customers" ]
train
e02
Show customers in the city of Frankfurt.
SELECT * FROM customers WHERE city = 'Frankfurt'
easy
sales
[ "select", "where" ]
0
{ "city": "Frankfurt" }
bench-000085
{ "ok": true, "latency_ms": 6.87, "row_count": 248, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1e42597ee03cb65cbf7101650649e0c5",...
[ "customers" ]
train
e02
List all customers from Frankfurt.
SELECT * FROM customers WHERE city = 'Frankfurt'
easy
sales
[ "select", "where" ]
1
{ "city": "Frankfurt" }
bench-000086
{ "ok": true, "latency_ms": 6.87, "row_count": 248, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1e42597ee03cb65cbf7101650649e0c5",...
[ "customers" ]
train
e02
Who are our customers in Frankfurt?
SELECT * FROM customers WHERE city = 'Frankfurt'
easy
sales
[ "select", "where" ]
2
{ "city": "Frankfurt" }
bench-000087
{ "ok": true, "latency_ms": 6.87, "row_count": 248, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "1e42597ee03cb65cbf7101650649e0c5",...
[ "customers" ]
train
e02
Show customers in the city of Toronto.
SELECT * FROM customers WHERE city = 'Toronto'
easy
sales
[ "select", "where" ]
0
{ "city": "Toronto" }
bench-000088
{ "ok": true, "latency_ms": 5.36, "row_count": 317, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "4c228fdccd679f864010231e721a4cf7",...
[ "customers" ]
train
e02
List all customers from Toronto.
SELECT * FROM customers WHERE city = 'Toronto'
easy
sales
[ "select", "where" ]
1
{ "city": "Toronto" }
bench-000089
{ "ok": true, "latency_ms": 5.36, "row_count": 317, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "4c228fdccd679f864010231e721a4cf7",...
[ "customers" ]
train
e02
Who are our customers in Toronto?
SELECT * FROM customers WHERE city = 'Toronto'
easy
sales
[ "select", "where" ]
2
{ "city": "Toronto" }
bench-000090
{ "ok": true, "latency_ms": 5.36, "row_count": 317, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "4c228fdccd679f864010231e721a4cf7",...
[ "customers" ]
train
e02
Show customers in the city of Amsterdam.
SELECT * FROM customers WHERE city = 'Amsterdam'
easy
sales
[ "select", "where" ]
0
{ "city": "Amsterdam" }
bench-000091
{ "ok": true, "latency_ms": 8.51, "row_count": 517, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "d3b0fffe3d220e6ea0c5fcdd575ef9ff",...
[ "customers" ]
train
e02
List all customers from Amsterdam.
SELECT * FROM customers WHERE city = 'Amsterdam'
easy
sales
[ "select", "where" ]
1
{ "city": "Amsterdam" }
bench-000092
{ "ok": true, "latency_ms": 8.51, "row_count": 517, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "d3b0fffe3d220e6ea0c5fcdd575ef9ff",...
[ "customers" ]
train
e02
Who are our customers in Amsterdam?
SELECT * FROM customers WHERE city = 'Amsterdam'
easy
sales
[ "select", "where" ]
2
{ "city": "Amsterdam" }
bench-000093
{ "ok": true, "latency_ms": 8.51, "row_count": 517, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "d3b0fffe3d220e6ea0c5fcdd575ef9ff",...
[ "customers" ]
train
e02
Show customers in the city of Melbourne.
SELECT * FROM customers WHERE city = 'Melbourne'
easy
sales
[ "select", "where" ]
0
{ "city": "Melbourne" }
bench-000094
{ "ok": true, "latency_ms": 6.3, "row_count": 325, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "cc77a5a8b56f5c534e975c16bfe9197b", ...
[ "customers" ]
train
e02
List all customers from Melbourne.
SELECT * FROM customers WHERE city = 'Melbourne'
easy
sales
[ "select", "where" ]
1
{ "city": "Melbourne" }
bench-000095
{ "ok": true, "latency_ms": 6.3, "row_count": 325, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "cc77a5a8b56f5c534e975c16bfe9197b", ...
[ "customers" ]
train
e02
Who are our customers in Melbourne?
SELECT * FROM customers WHERE city = 'Melbourne'
easy
sales
[ "select", "where" ]
2
{ "city": "Melbourne" }
bench-000096
{ "ok": true, "latency_ms": 6.3, "row_count": 325, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "cc77a5a8b56f5c534e975c16bfe9197b", ...
[ "customers" ]
train
e02
Show customers in the city of Belo Horizonte.
SELECT * FROM customers WHERE city = 'Belo Horizonte'
easy
sales
[ "select", "where" ]
0
{ "city": "Belo Horizonte" }
bench-000097
{ "ok": true, "latency_ms": 5.6, "row_count": 296, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "9b09ac4faaacf8e3cb1ca48caa7188f3", ...
[ "customers" ]
train
e02
List all customers from Belo Horizonte.
SELECT * FROM customers WHERE city = 'Belo Horizonte'
easy
sales
[ "select", "where" ]
1
{ "city": "Belo Horizonte" }
bench-000098
{ "ok": true, "latency_ms": 5.6, "row_count": 296, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "9b09ac4faaacf8e3cb1ca48caa7188f3", ...
[ "customers" ]
train
e02
Who are our customers in Belo Horizonte?
SELECT * FROM customers WHERE city = 'Belo Horizonte'
easy
sales
[ "select", "where" ]
2
{ "city": "Belo Horizonte" }
bench-000099
{ "ok": true, "latency_ms": 5.6, "row_count": 296, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "9b09ac4faaacf8e3cb1ca48caa7188f3", ...
[ "customers" ]
train
e02
Show customers in the city of Cape Town.
SELECT * FROM customers WHERE city = 'Cape Town'
easy
sales
[ "select", "where" ]
0
{ "city": "Cape Town" }
bench-000100
{ "ok": true, "latency_ms": 7.61, "row_count": 497, "columns": [ "customer_id", "customer_name", "email", "phone", "country", "city", "customer_segment", "credit_limit", "signup_date", "is_active", "created_at" ], "fingerprint": "3e07987a17c2fc1983b538ee2d839ce4",...
[ "customers" ]
train
End of preview. Expand in Data Studio

Enterprise Text-to-SQL Benchmark

3,087 natural-language questions paired with executable PostgreSQL, over a 12-table enterprise schema (sales, catalogue, logistics, HR).

Built to answer one question honestly: does fine-tuning actually improve text-to-SQL? On this benchmark, a QLoRA fine-tune of Qwen3-8B took strict execution accuracy from 43.71 % to 68.43 %, and 70.86 % with a self-correction loop — and the benchmark is designed so that number cannot be inflated by leakage or by string-matching.

split rows templates
train 2,175 79
validation 459 52
test 453 48

This is version 2 of the benchmark. Version 1 had a flaw worth understanding before you use either: many of its questions — "Show orders placed in 2023" — never say which columns to return, so a model that found exactly the right rows scored zero for picking a different column list. That made the v1 base model look far worse than it was (10.82 %) and the fine-tuning gain look far larger than it was (+40 pp).

v2 fixes this by five documented rules: whole row (SELECT *) when no columns are named, consistent money and month conventions, one ambiguous paraphrase reworded, and five train-only templates covering PARTITION BY and day arithmetic. The test split is pinned to v1 — same 453 ids, same 48 templates, 445 of 453 questions byte-identical — so the two versions are directly comparable and v2 is not an easier test set.

All three splits share zero templates with each other — 74 / 52 / 48, no overlap in any pair. Splitting is by template equivalence group, never by row, so the test set measures generalisation to query patterns the model has never seen, not to new slot values inside familiar ones.

from datasets import load_dataset

ds = load_dataset("hari-krishna-ai/enterprise-text-to-sql-benchmark")
print(ds["test"][0]["question"])   # "Show orders placed in 2023."
print(ds["test"][0]["sql"])        # SELECT order_id, customer_id, ...

Why this exists

Most text-to-SQL benchmarks score by comparing SQL strings. That is wrong in both directions: it marks correct queries wrong for cosmetic differences, and it cannot tell you whether a query would actually run.

These two are different strings and identical in meaning, and any sane benchmark must count both as correct:

SELECT COUNT(*)           FROM customers WHERE country = 'India';
SELECT COUNT(customer_id) FROM customers WHERE country = 'India';

So every example here ships an execution fingerprint — an MD5 over the sorted, stringified rows the gold query returned against the reference database. Correctness means your query returns the same result set, not that it looks similar.


Fields

field type meaning
id string stable identifier, e.g. bench-000322
question string the natural-language question
sql string gold PostgreSQL query
difficulty string easy / medium / hard / very_hard / enterprise
domain string sales, catalogue, logistics, hr
template_id string generating template — the unit splits are made on
phrasing_index int which paraphrase of the template this is
slot_values dict the values substituted into the template
referenced_tables list tables the gold query touches
execution dict row_count, columns, fingerprint, latency_ms
split string train / validation / test

The execution.fingerprint is what makes execution-based scoring possible without shipping a database dump.

Difficulty tiers

tier n (test) what it exercises
easy 126 SELECT, WHERE, ORDER BY, LIMIT
medium 63 GROUP BY, HAVING, COUNT/SUM/AVG
hard 144 joins, multiple joins, subqueries, CTEs
very_hard 36 window functions, nested aggregation, date arithmetic
enterprise 84 ambiguous terminology, NULL handling, business rules

The database

schema.sql rebuilds it; schema_context.txt is the rendered schema that was put in the model's prompt (fingerprint d03619e711661bc5, 5,455 characters).

12 tables, ~328,000 rows, all synthetic — no real personal data. Generation uses a fixed seed, so the database is reproducible, which is what makes the execution fingerprints meaningful.

table rows table rows
customers 12,000 order_items 154,069
orders 55,000 payments 57,088
products 2,500 shipments 40,850
categories 120 inventory 6,266
suppliers 250 employees 500
warehouses 15 departments 12

Dates are anchored to a fixed DATA_AS_OF constant rather than NOW(), so questions like "orders in the last 90 days" have a stable answer instead of one that changes overnight.


Results on this benchmark

Qwen3-8B, evaluated by execution against the reference database. Five configurations, same questions, same harness — only the named component changes.

metric base fine-tuned FT + repair
strict execution accuracy 43.71 % 68.43 % 70.86 %
projection-tolerant 47.68 % 68.43 % 70.86 %
executable SQL 95.58 % 94.48 % 98.23 %
schema hallucination 0.22 % 3.75 % 0.66 %

What that gain is, stated honestly. Replaying the v1 pipeline's predictions against this benchmark's gold gives 40.18 % strict, against 70.86 % for the v2 pipeline — but wrong_rows, the count of genuinely wrong answers, goes 85 → 84 and row-level accuracy holds at ~78 %. The headline moved 30 points because the benchmark and the prompt stopped disagreeing about what a correct answer looks like, not because the SQL got better. If you benchmark a model here, report projection-tolerant accuracy alongside strict or you will draw the same wrong conclusion v1 did.

Adapter: hari-krishna-ai/qwen3-8b-text2sql-qlora

A property of this benchmark worth knowing before you use it

35 % of the test set does not specify which columns to return. "Show orders placed in 2023" never says whether you want the order id alone or five columns. So a model can retrieve exactly the right rows and still fail a strict result-set comparison.

That is why two accuracy figures are reported. Projection-tolerant accuracy wraps the prediction in a subquery and asks it for the gold columns, isolating "wrong columns" from "wrong rows":

failure mode base model fine-tuned
right rows, wrong columns 159 0
genuinely wrong rows 240 203

Reporting strict accuracy alone would have made fine-tuning look like a reasoning breakthrough. It is mostly the model learning this database's column conventions — a real thing to learn, and not the same thing. If you benchmark on this dataset, report both numbers.


How it was built

  1. Templates — parameterised question/SQL pairs across four domains and five difficulty tiers, each with multiple natural paraphrasings.
  2. Slot values sampled from the live database, using interior quantiles so thresholds land inside the real data distribution. A benchmark full of predicates that match zero rows measures nothing.
  3. Every gold query executed against the reference database; the result set is fingerprinted and stored. Queries that error are rejected, not shipped.
  4. Validation — 3,087 of 3,087 examples pass parse, schema-grounding and execution checks.
  5. Split by template equivalence group. All paraphrases and all slot variants of one template land in the same split, which is what makes the zero-template-overlap guarantee hold.

Deliberate inclusions: some questions correctly return zero rows, so a model cannot assume every answer is non-empty.


Limitations

Stated plainly, because they bound what a score on this dataset means.

  • Template-generated, not human-written. Questions come from 74 / 52 / 48 templates with paraphrasing. Real users write abbreviations, typos and genuinely ambiguous requests. This is the largest caveat: a high score here does not establish robustness to real phrasing.
  • One schema, 12 tables. Small for an enterprise database. Schema-retrieval techniques that pay off at 200 tables hurt here — measured, twice.
  • Synthetic data. Realistic distributions, but not real business data.
  • Single gold query per question. Where several correct formulations exist, execution-fingerprint matching handles them; where a question is genuinely ambiguous about columns, use the projection-tolerant metric.
  • English only.

Intended use

Evaluating and fine-tuning text-to-SQL models where executability and result correctness matter more than surface similarity. Also usable as SFT data — the chat rendering used to train the adapter above is reproducible from these files plus the prompt template, and is not shipped separately because it would duplicate the 5.5 KB schema into every one of 2,133 records.

Licence

Apache 2.0. All data synthetic; no personal information.

Downloads last month
217

Models trained or fine-tuned on hari-krishna-ai/enterprise-text-to-sql-benchmark

Spaces using hari-krishna-ai/enterprise-text-to-sql-benchmark 2

Collection including hari-krishna-ai/enterprise-text-to-sql-benchmark