Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
11
11
dataset
stringclasses
1 value
version
stringclasses
1 value
split
stringclasses
1 value
language
stringclasses
1 value
sql_dialect
stringclasses
1 value
domain
stringclasses
10 values
domain_fa
stringclasses
10 values
database_id
stringclasses
10 values
database_file
stringclasses
10 values
schema_ddl
stringclasses
10 values
question_fa
stringlengths
59
144
question_style
stringclasses
5 values
query_family_id
stringclasses
140 values
difficulty
stringclasses
3 values
skills
listlengths
2
4
gold_sql
stringlengths
72
382
reference_date
timestamp[s]date
2026-09-05 00:00:00
2026-09-05 00:00:00
answerable
bool
1 class
ambiguity
dict
persian_localization
dict
execution
dict
provenance
dict
PBTSQL-0001
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، تعداد سفارشهای مربوط به مشتریهای بخش «خرده‌فروشی» رو به تفکیک وضعیت حساب کن.
colloquial
sales-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.status,COUNT(*) AS fact_count FROM orders f JOIN customers e ON e.id=f.customer_id WHERE e.segment='خرده‌فروشی' GROUP BY f.status ORDER BY fact_count DESC,f.status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "31a1315e72724a7630a5fb4084bbdc9806737fb91f150fb5544915eb0e2e02a9", "result_preview": [ [ "cancelled", 23 ], [ "paid", 19 ], [ "pending", 14 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0002
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، تعداد سفارشهای مربوط به مشتریهای بخش «شرکتی» را به تفکیک وضعیت حساب کن.
terse
sales-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.status,COUNT(*) AS fact_count FROM orders f JOIN customers e ON e.id=f.customer_id WHERE e.segment='شرکتی' GROUP BY f.status ORDER BY fact_count DESC,f.status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "f0889c3a86ab46edb7aa4e1f48dfeecce1724a34ba45345030956e9ebb21602f", "result_preview": [ [ "shipped", 21 ], [ "returned", 18 ], [ "paid", 16 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0003
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، تعداد سفارشهای مربوط به مشتریهای بخش «VIP» را به تفکیک وضعیت حساب کن.
mixed_digits
sales-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.status,COUNT(*) AS fact_count FROM orders f JOIN customers e ON e.id=f.customer_id WHERE e.segment='VIP' GROUP BY f.status ORDER BY fact_count DESC,f.status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "2f023169c7f572cff4d15ae5e31380bbb8cee8038263b87d316faf4d436bae64", "result_preview": [ [ "shipped", 18 ], [ "pending", 16 ], [ "cancelled", 14 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0004
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، تعداد سفارشهای مربوط به مشتریهای بخش «همکار» را به تفکیک وضعیت حساب کن.
business_chat
sales-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.status,COUNT(*) AS fact_count FROM orders f JOIN customers e ON e.id=f.customer_id WHERE e.segment='همکار' GROUP BY f.status ORDER BY fact_count DESC,f.status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "10d20514a0caf84aed0a2c3726400dfbba876d4dcb596e35a74ead2857c86a83", "result_preview": [ [ "returned", 21 ], [ "cancelled", 17 ], [ "paid", 9 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0005
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، تعداد سفارشهای مربوط به مشتریهای بخش «جدید» را به تفکیک وضعیت حساب کن.
formal
sales-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.status,COUNT(*) AS fact_count FROM orders f JOIN customers e ON e.id=f.customer_id WHERE e.segment='جدید' GROUP BY f.status ORDER BY fact_count DESC,f.status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "87948acf5b0055f0a0f87bda0888292d6b62e9908200615fcfe3b3e8da10cc4a", "result_preview": [ [ "shipped", 23 ], [ "returned", 16 ], [ "cancelled", 13 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0006
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مجموع مبلغ فروش برای سفارشهای با وضعیت «paid» چقدر است؟
terse
sales-F02
easy
[ "aggregation", "filtering" ]
SELECT SUM(total_toman) AS total_metric FROM orders WHERE status='paid';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "b05a83e66138e1ac8874a51fa3a32b53f145164666273a3a52791a2490ed2275", "result_preview": [ [ 2550740000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0007
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مجموع مبلغ فروش برای سفارشهای با وضعیت «shipped» چقدر است؟
mixed_digits
sales-F02
easy
[ "aggregation", "filtering" ]
SELECT SUM(total_toman) AS total_metric FROM orders WHERE status='shipped';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "e09594951ff2cfacf8cdfe2e5144e0d246760a1aa93008256d9ac39e59afb0cc", "result_preview": [ [ 3333840000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0008
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، مجموع مبلغ فروش برای سفارشهای با وضعیت «cancelled» چقدر است؟
business_chat
sales-F02
easy
[ "aggregation", "filtering" ]
SELECT SUM(total_toman) AS total_metric FROM orders WHERE status='cancelled';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "9e9169b2408532ce91a2dffa93685c265c99d2087720acc84b9300fb931a1909", "result_preview": [ [ 2976070000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0009
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مجموع مبلغ فروش برای سفارشهای با وضعیت «pending» چقدر است؟
formal
sales-F02
easy
[ "aggregation", "filtering" ]
SELECT SUM(total_toman) AS total_metric FROM orders WHERE status='pending';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "7cd9c33797a118547686a43619ca2065a9656f795dfea09371336a47ba43400d", "result_preview": [ [ 2643510000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0010
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مجموع مبلغ فروش برای سفارشهای با وضعیت «returned» چقدر است؟
colloquial
sales-F02
easy
[ "aggregation", "filtering" ]
SELECT SUM(total_toman) AS total_metric FROM orders WHERE status='returned';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "6a592294a2edc0213f8f2845f8a49c75d6862d9ff46e82ebbeffb3c997918660", "result_preview": [ [ 2711190000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0011
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، برای مشتریهای بخش «خرده‌فروشی»، میانگین مبلغ فروش را به تفکیک گروه نمایش بده.
mixed_digits
sales-F03
medium
[ "join", "aggregation", "group_by", "segment_filter" ]
SELECT g.region_name AS group_name,AVG(f.total_toman) AS avg_metric FROM orders f JOIN customers e ON e.id=f.customer_id JOIN regions g ON g.id=e.region_id WHERE e.segment='خرده‌فروشی' GROUP BY g.id,g.region_name ORDER BY avg_metric DESC,group_name;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 6, "result_sha256": "be363066cc215fe8a8af84b7d163079f46abc494ca24de63653de86bc203a6dd", "result_preview": [ [ "شرق", 50514166.666666664 ], [ "تهران مرکزی", 37676428.571428575 ], [ "جنوب", 341106...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0012
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، برای مشتریهای بخش «شرکتی»، میانگین مبلغ فروش را به تفکیک گروه نمایش بده.
business_chat
sales-F03
medium
[ "join", "aggregation", "group_by", "segment_filter" ]
SELECT g.region_name AS group_name,AVG(f.total_toman) AS avg_metric FROM orders f JOIN customers e ON e.id=f.customer_id JOIN regions g ON g.id=e.region_id WHERE e.segment='شرکتی' GROUP BY g.id,g.region_name ORDER BY avg_metric DESC,group_name;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 6, "result_sha256": "cf5701ecbae5087047a162c2139cf0c659e260658e96d099499891556ed82a51", "result_preview": [ [ "غرب", 45305555.55555555 ], [ "جنوب", 43126666.666666664 ], [ "تهران مرکزی", 4233000...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0013
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، برای مشتریهای بخش «VIP»، میانگین مبلغ فروش را به تفکیک گروه نمایش بده.
formal
sales-F03
medium
[ "join", "aggregation", "group_by", "segment_filter" ]
SELECT g.region_name AS group_name,AVG(f.total_toman) AS avg_metric FROM orders f JOIN customers e ON e.id=f.customer_id JOIN regions g ON g.id=e.region_id WHERE e.segment='VIP' GROUP BY g.id,g.region_name ORDER BY avg_metric DESC,group_name;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 6, "result_sha256": "ef721415a3f13cfff6f87c80bf00a0fcc8a0dccc8aea50e14e1af30c7c494bbc", "result_preview": [ [ "آنلاین", 45155454.54545455 ], [ "شمال", 44891176.47058824 ], [ "جنوب", 42561818.181...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0014
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، برای مشتریهای بخش «همکار»، میانگین مبلغ فروش رو به تفکیک گروه نشون بده.
colloquial
sales-F03
medium
[ "join", "aggregation", "group_by", "segment_filter" ]
SELECT g.region_name AS group_name,AVG(f.total_toman) AS avg_metric FROM orders f JOIN customers e ON e.id=f.customer_id JOIN regions g ON g.id=e.region_id WHERE e.segment='همکار' GROUP BY g.id,g.region_name ORDER BY avg_metric DESC,group_name;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 6, "result_sha256": "6aac98dd74e5f6c2cb86efc59bb04d4fec3bf6f5727ebfd83210d3e8760ff108", "result_preview": [ [ "جنوب", 50936250 ], [ "شمال", 42522500 ], [ "تهران مرکزی", 42495000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0015
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، برای مشتریهای بخش «جدید»، میانگین مبلغ فروش را به تفکیک گروه بده.
terse
sales-F03
medium
[ "join", "aggregation", "group_by", "segment_filter" ]
SELECT g.region_name AS group_name,AVG(f.total_toman) AS avg_metric FROM orders f JOIN customers e ON e.id=f.customer_id JOIN regions g ON g.id=e.region_id WHERE e.segment='جدید' GROUP BY g.id,g.region_name ORDER BY avg_metric DESC,group_name;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 6, "result_sha256": "47e4669c721762438ab9389600bd1d4a31182eb9064c59b4e102c73731d42ad1", "result_preview": [ [ "غرب", 56397142.85714286 ], [ "تهران مرکزی", 49735000 ], [ "شمال", 38866153.84615385...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0016
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، ۳ مشتری با بیشترین مجموع مبلغ فروش را پیدا کن.
business_chat
sales-F04
medium
[ "join", "aggregation", "ordering", "limit" ]
SELECT e.id,e.customer_name AS entity_name,SUM(f.total_toman) AS total_metric FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name ORDER BY total_metric DESC,e.id LIMIT 3;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 3, "result_sha256": "8bd136e9bfe286a305a5812c09b735e5eee1c722565c2bcfe7d8a2a5baeefaba", "result_preview": [ [ 14, "هلیا موسوی", 568840000 ], [ 8, "نورا صادقی", 494140000 ], [ 37, "فر...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0017
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، ۵ مشتری با بیشترین مجموع مبلغ فروش را پیدا کن.
formal
sales-F04
medium
[ "join", "aggregation", "ordering", "limit" ]
SELECT e.id,e.customer_name AS entity_name,SUM(f.total_toman) AS total_metric FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name ORDER BY total_metric DESC,e.id LIMIT 5;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "6e1af00fe0b80ac88405372033b0b8d6557c89ffd14faacf7279ebbbd5494826", "result_preview": [ [ 14, "هلیا موسوی", 568840000 ], [ 8, "نورا صادقی", 494140000 ], [ 37, "فر...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0018
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، ۷ مشتری با بیشترین مجموع مبلغ فروش رو در بیار.
colloquial
sales-F04
medium
[ "join", "aggregation", "ordering", "limit" ]
SELECT e.id,e.customer_name AS entity_name,SUM(f.total_toman) AS total_metric FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name ORDER BY total_metric DESC,e.id LIMIT 7;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 7, "result_sha256": "846a8a3cf19c174536df75df2416663dc416cbe4782243686fd6b199627c17db", "result_preview": [ [ 14, "هلیا موسوی", 568840000 ], [ 8, "نورا صادقی", 494140000 ], [ 37, "فر...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0019
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، ۱۰ مشتری با بیشترین مجموع مبلغ فروش را پیدا کن.
terse
sales-F04
medium
[ "join", "aggregation", "ordering", "limit" ]
SELECT e.id,e.customer_name AS entity_name,SUM(f.total_toman) AS total_metric FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name ORDER BY total_metric DESC,e.id LIMIT 10;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 10, "result_sha256": "20eab6b4c02aba5fe518d2689efbdead5b2b3ee83dc0de9196c19183c7e1a8be", "result_preview": [ [ 14, "هلیا موسوی", 568840000 ], [ 8, "نورا صادقی", 494140000 ], [ 37, "ف...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0020
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، 4 مشتری با بیشترین مجموع مبلغ فروش را پیدا کن.
mixed_digits
sales-F04
medium
[ "join", "aggregation", "ordering", "limit" ]
SELECT e.id,e.customer_name AS entity_name,SUM(f.total_toman) AS total_metric FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name ORDER BY total_metric DESC,e.id LIMIT 4;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 4, "result_sha256": "569020d87bebb22e59f5e2938cdf248860ec9ca147eed57d95b5c9ed826b78f3", "result_preview": [ [ 14, "هلیا موسوی", 568840000 ], [ 8, "نورا صادقی", 494140000 ], [ 37, "فر...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0021
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را بده که حداقل ۲ سفارش ثبت‌شده دارند.
formal
sales-F05
medium
[ "join", "group_by", "having" ]
SELECT e.id,e.customer_name AS entity_name,COUNT(f.id) AS fact_count FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name HAVING COUNT(f.id)>=2 ORDER BY fact_count DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 52, "result_sha256": "4c49cc61b860b36cc8de7d0f0dbe0ff2f525420c5cd31f8f82e46ef6bab3dace", "result_preview": [ [ 14, "هلیا موسوی", 13 ], [ 8, "نورا صادقی", 12 ], [ 30, "پریناز رفیعی", ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0022
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی رو بده که حداقل ۳ سفارش ثبت‌شده دارند.
colloquial
sales-F05
medium
[ "join", "group_by", "having" ]
SELECT e.id,e.customer_name AS entity_name,COUNT(f.id) AS fact_count FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name HAVING COUNT(f.id)>=3 ORDER BY fact_count DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 52, "result_sha256": "4c49cc61b860b36cc8de7d0f0dbe0ff2f525420c5cd31f8f82e46ef6bab3dace", "result_preview": [ [ 14, "هلیا موسوی", 13 ], [ 8, "نورا صادقی", 12 ], [ 30, "پریناز رفیعی", ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0023
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را بده که حداقل ۴ سفارش ثبت‌شده دارند.
terse
sales-F05
medium
[ "join", "group_by", "having" ]
SELECT e.id,e.customer_name AS entity_name,COUNT(f.id) AS fact_count FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name HAVING COUNT(f.id)>=4 ORDER BY fact_count DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 48, "result_sha256": "920f115dce903ce8484bd5d4fadaf8b51de86fd7321b353575b9626d93a0c43e", "result_preview": [ [ 14, "هلیا موسوی", 13 ], [ 8, "نورا صادقی", 12 ], [ 30, "پریناز رفیعی", ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0024
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را بده که حداقل 5 سفارش ثبت‌شده دارند.
mixed_digits
sales-F05
medium
[ "join", "group_by", "having" ]
SELECT e.id,e.customer_name AS entity_name,COUNT(f.id) AS fact_count FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name HAVING COUNT(f.id)>=5 ORDER BY fact_count DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 41, "result_sha256": "fbc0fc79ee6fae6cf98127ade21b02f303d06697e13b22cd942d2977a039f69f", "result_preview": [ [ 14, "هلیا موسوی", 13 ], [ 8, "نورا صادقی", 12 ], [ 30, "پریناز رفیعی", ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0025
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، مشتریهایی را بده که حداقل ۶ سفارش ثبت‌شده دارند.
business_chat
sales-F05
medium
[ "join", "group_by", "having" ]
SELECT e.id,e.customer_name AS entity_name,COUNT(f.id) AS fact_count FROM customers e JOIN orders f ON f.customer_id=e.id GROUP BY e.id,e.customer_name HAVING COUNT(f.id)>=6 ORDER BY fact_count DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 35, "result_sha256": "8060458e8be2ab09fd0d078c791cb3144e63b73418e696cc3cdd0ea0f3690b6f", "result_preview": [ [ 14, "هلیا موسوی", 13 ], [ 8, "نورا صادقی", 12 ], [ 30, "پریناز رفیعی", ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0026
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، تعداد سفارشهای با وضعیت «paid» از ابتدای ۲۰۲۶ تا امروز رو حساب کن.
colloquial
sales-F06
easy
[ "date_filtering", "filtering", "aggregation" ]
SELECT COUNT(*) AS fact_count FROM orders WHERE status='paid' AND order_date BETWEEN '2026-01-01' AND '2026-09-05';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "977fcd5eeec0244935064e75ac0ed382b82b2c3eb4df34f0497181d08e0efdcf", "result_preview": [ [ 21 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0027
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، تعداد سفارشهای با وضعیت «shipped» از ابتدای ژوئن ۲۰۲۶ تا امروز را حساب کن.
terse
sales-F06
easy
[ "date_filtering", "filtering", "aggregation" ]
SELECT COUNT(*) AS fact_count FROM orders WHERE status='shipped' AND order_date BETWEEN '2026-06-01' AND '2026-09-05';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "eeabd8e733b414a73deef88047a3ea68d22640191cf5f6c793d5389fc5ef3a7f", "result_preview": [ [ 13 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0028
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، تعداد سفارشهای با وضعیت «cancelled» در دوازده ماه اخیر را حساب کن.
mixed_digits
sales-F06
easy
[ "date_filtering", "filtering", "aggregation" ]
SELECT COUNT(*) AS fact_count FROM orders WHERE status='cancelled' AND order_date BETWEEN '2025-09-01' AND '2026-09-05';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "d4dd59028d44a33c66fbf05a8b55e63fe0f34835ae55e03f4b5d0ee7f15e2205", "result_preview": [ [ 41 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0029
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، تعداد سفارشهای با وضعیت «pending» در ژوئیه و اوت ۲۰۲۶ را حساب کن.
business_chat
sales-F06
easy
[ "date_filtering", "filtering", "aggregation" ]
SELECT COUNT(*) AS fact_count FROM orders WHERE status='pending' AND order_date BETWEEN '2026-07-01' AND '2026-08-31';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "77471ebe3613f4714666523fa961eb443f57dc2396a31528afdbbea86fadc8f8", "result_preview": [ [ 5 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0030
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، تعداد سفارشهای با وضعیت «returned» در سال ۲۰۲۵ را حساب کن.
formal
sales-F06
easy
[ "date_filtering", "filtering", "aggregation" ]
SELECT COUNT(*) AS fact_count FROM orders WHERE status='returned' AND order_date BETWEEN '2025-01-01' AND '2025-12-31';
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 1, "result_sha256": "521488a321ba20132908087a5cfa920bd098afadef61d84ea0de2f7e8783f021", "result_preview": [ [ 42 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0031
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، روند ماهانه مجموع مبلغ فروش را از ابتدای ۲۰۲۶ تا امروز بده.
terse
sales-F07
medium
[ "date_time", "aggregation", "group_by" ]
SELECT substr(order_date,1,7) AS month,SUM(total_toman) AS total_metric FROM orders WHERE order_date BETWEEN '2026-01-01' AND '2026-09-05' GROUP BY substr(order_date,1,7) ORDER BY month;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 9, "result_sha256": "3977e537dedda88e626471a36380f7219b63007bfb9b60a41307dbe47f31c5d1", "result_preview": [ [ "2026-01", 685440000 ], [ "2026-02", 604410000 ], [ "2026-03", 463820000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0032
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، روند ماهانه مجموع مبلغ فروش را از ابتدای ژوئن 2026 تا امروز نمایش بده.
mixed_digits
sales-F07
medium
[ "date_time", "aggregation", "group_by" ]
SELECT substr(order_date,1,7) AS month,SUM(total_toman) AS total_metric FROM orders WHERE order_date BETWEEN '2026-06-01' AND '2026-09-05' GROUP BY substr(order_date,1,7) ORDER BY month;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 4, "result_sha256": "d026456088856e8949ff1739a0944367e8ea7bee3f523244eb4949bc8ea0b6e3", "result_preview": [ [ "2026-06", 563220000 ], [ "2026-07", 530590000 ], [ "2026-08", 676790000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0033
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، روند ماهانه مجموع مبلغ فروش را در دوازده ماه اخیر نمایش بده.
business_chat
sales-F07
medium
[ "date_time", "aggregation", "group_by" ]
SELECT substr(order_date,1,7) AS month,SUM(total_toman) AS total_metric FROM orders WHERE order_date BETWEEN '2025-09-01' AND '2026-09-05' GROUP BY substr(order_date,1,7) ORDER BY month;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 13, "result_sha256": "535dfe23e9b8f199504376161cf2c2d43f0c6e8cc2e2512290472b53477fbde5", "result_preview": [ [ "2025-09", 955900000 ], [ "2025-10", 446640000 ], [ "2025-11", 496590000 ] ] ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0034
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، روند ماهانه مجموع مبلغ فروش را در ژوئیه و اوت ۲۰۲۶ نمایش بده.
formal
sales-F07
medium
[ "date_time", "aggregation", "group_by" ]
SELECT substr(order_date,1,7) AS month,SUM(total_toman) AS total_metric FROM orders WHERE order_date BETWEEN '2026-07-01' AND '2026-08-31' GROUP BY substr(order_date,1,7) ORDER BY month;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 2, "result_sha256": "59655674ee566ae02fa5222644476dca0e9b664cf2f5d062806c3f31c5f58edf", "result_preview": [ [ "2026-07", 530590000 ], [ "2026-08", 676790000 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0035
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، روند ماهانه مجموع مبلغ فروش رو در سال ۲۰۲۵ نشون بده.
colloquial
sales-F07
medium
[ "date_time", "aggregation", "group_by" ]
SELECT substr(order_date,1,7) AS month,SUM(total_toman) AS total_metric FROM orders WHERE order_date BETWEEN '2025-01-01' AND '2025-12-31' GROUP BY substr(order_date,1,7) ORDER BY month;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 12, "result_sha256": "531123e77755dd0a0532a7bd0a09856586534039ca59843fc345551fff91c02e", "result_preview": [ [ "2025-01", 721040000 ], [ "2025-02", 649590000 ], [ "2025-03", 841130000 ] ] ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0036
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را پیدا کن که از ابتدای 2026 تا امروز هیچ سفارشی نداشته‌اند.
mixed_digits
sales-F08
hard
[ "anti_join", "left_join", "date_filtering" ]
SELECT e.id,e.customer_name AS entity_name FROM customers e LEFT JOIN orders f ON f.customer_id=e.id AND f.order_date BETWEEN '2026-01-01' AND '2026-09-05' WHERE f.id IS NULL ORDER BY e.id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 15, "result_sha256": "052c6d19594be352a3483ed46e86f423ce6af337f5d6d1f7b0e4bad8a7193645", "result_preview": [ [ 16, "مهسا شریفی" ], [ 21, "بردیا نظری" ], [ 28, "بهاره اسدی" ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0037
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، مشتریهایی را پیدا کن که از ابتدای ژوئن ۲۰۲۶ تا امروز هیچ سفارشی نداشته‌اند.
business_chat
sales-F08
hard
[ "anti_join", "left_join", "date_filtering" ]
SELECT e.id,e.customer_name AS entity_name FROM customers e LEFT JOIN orders f ON f.customer_id=e.id AND f.order_date BETWEEN '2026-06-01' AND '2026-09-05' WHERE f.id IS NULL ORDER BY e.id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 26, "result_sha256": "c2a42fca3410fc3962801702ba5b1eb0660a312bc279059555a9c4169dfb0d1b", "result_preview": [ [ 8, "نورا صادقی" ], [ 9, "امیرحسین رستمی" ], [ 11, "علی نادری" ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0038
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را پیدا کن که در دوازده ماه اخیر هیچ سفارشی نداشته‌اند.
formal
sales-F08
hard
[ "anti_join", "left_join", "date_filtering" ]
SELECT e.id,e.customer_name AS entity_name FROM customers e LEFT JOIN orders f ON f.customer_id=e.id AND f.order_date BETWEEN '2025-09-01' AND '2026-09-05' WHERE f.id IS NULL ORDER BY e.id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 10, "result_sha256": "ef2972152e0b8dddb5f2063202b54af3c65d914e1c4f91bd508f4b11530b04e4", "result_preview": [ [ 29, "کاوه معتمدی" ], [ 32, "ستاره دهقانی" ], [ 53, "ماهان قربانی" ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0039
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی رو در بیار که در ژوئیه و اوت ۲۰۲۶ هیچ سفارشی نداشته‌اند.
colloquial
sales-F08
hard
[ "anti_join", "left_join", "date_filtering" ]
SELECT e.id,e.customer_name AS entity_name FROM customers e LEFT JOIN orders f ON f.customer_id=e.id AND f.order_date BETWEEN '2026-07-01' AND '2026-08-31' WHERE f.id IS NULL ORDER BY e.id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 34, "result_sha256": "28779900415023080aa3779bab2256fa8129f1c30cda76731e46b16873d524c3", "result_preview": [ [ 8, "نورا صادقی" ], [ 9, "امیرحسین رستمی" ], [ 10, "ترانه اکبری" ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0040
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را پیدا کن که در سال ۲۰۲۵ هیچ سفارشی نداشته‌اند.
terse
sales-F08
hard
[ "anti_join", "left_join", "date_filtering" ]
SELECT e.id,e.customer_name AS entity_name FROM customers e LEFT JOIN orders f ON f.customer_id=e.id AND f.order_date BETWEEN '2025-01-01' AND '2025-12-31' WHERE f.id IS NULL ORDER BY e.id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 9, "result_sha256": "967e5e8a191770ae1cbe1f79c24ccb34e2ea554ada94927852df26311a5a9234", "result_preview": [ [ 45, "پارسا حسینی" ], [ 53, "ماهان قربانی" ], [ 54, "هلیا موسوی" ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0041
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، مشتریهایی را بده که میانگین مبلغ فروش آن‌ها در وضعیت «paid» از میانگین کل همان وضعیت بیشتر است.
business_chat
sales-F09
hard
[ "subquery", "aggregation", "having", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,AVG(f.total_toman) AS entity_avg FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.status='paid' GROUP BY e.id,e.customer_name HAVING AVG(f.total_toman)>(SELECT AVG(total_toman) FROM orders WHERE status='paid') ORDER BY entity_avg DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 19, "result_sha256": "7eff481385735a42e9085eb5c9178cccbe9a5f5c474c76e1cc49ab712bab5dbf", "result_preview": [ [ 46, "یاسمن کاظمی", 72600000 ], [ 48, "نورا صادقی", 70180000 ], [ 1, "آر...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0042
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را بده که میانگین مبلغ فروش آن‌ها در وضعیت «shipped» از میانگین کل همان وضعیت بیشتر است.
formal
sales-F09
hard
[ "subquery", "aggregation", "having", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,AVG(f.total_toman) AS entity_avg FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.status='shipped' GROUP BY e.id,e.customer_name HAVING AVG(f.total_toman)>(SELECT AVG(total_toman) FROM orders WHERE status='shipped') ORDER BY entity_avg DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 20, "result_sha256": "f1c11850be36b09c1ff3c776620c538f5dc9daf03d691e3b35740672533cb519", "result_preview": [ [ 12, "سارا جعفری", 79820000 ], [ 36, "حدیث کرمی", 78950000 ], [ 14, "هلی...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0043
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی رو بده که میانگین مبلغ فروش آن‌ها در وضعیت «cancelled» از میانگین کل همان وضعیت بیشتر است.
colloquial
sales-F09
hard
[ "subquery", "aggregation", "having", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,AVG(f.total_toman) AS entity_avg FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.status='cancelled' GROUP BY e.id,e.customer_name HAVING AVG(f.total_toman)>(SELECT AVG(total_toman) FROM orders WHERE status='cancelled') ORDER BY entity_avg DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 25, "result_sha256": "2507e1240dbd155ecfa6721d969ae9d47e3ec687a0b8344f6bf065627d176a5d", "result_preview": [ [ 20, "نازنین بهرامی", 79320000 ], [ 47, "کیان مرادی", 78300000 ], [ 33, ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0044
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را بده که میانگین مبلغ فروش آن‌ها در وضعیت «pending» از میانگین کل همان وضعیت بیشتر است.
terse
sales-F09
hard
[ "subquery", "aggregation", "having", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,AVG(f.total_toman) AS entity_avg FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.status='pending' GROUP BY e.id,e.customer_name HAVING AVG(f.total_toman)>(SELECT AVG(total_toman) FROM orders WHERE status='pending') ORDER BY entity_avg DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 14, "result_sha256": "203b1f87b50cef821ea43e3a96f33ce22cc9d1172deb827954655655ba29e19f", "result_preview": [ [ 17, "رامین امینی", 75680000 ], [ 8, "نورا صادقی", 65697500 ], [ 5, "پار...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0045
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، مشتریهایی را بده که میانگین مبلغ فروش آن‌ها در وضعیت «returned» از میانگین کل همان وضعیت بیشتر است.
mixed_digits
sales-F09
hard
[ "subquery", "aggregation", "having", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,AVG(f.total_toman) AS entity_avg FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.status='returned' GROUP BY e.id,e.customer_name HAVING AVG(f.total_toman)>(SELECT AVG(total_toman) FROM orders WHERE status='returned') ORDER BY entity_avg DESC,e.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 21, "result_sha256": "69ef9c364b9a8b49c3d7fc7d7dd5025a9564d4def2325904c707ce395a58d4c8", "result_preview": [ [ 18, "نیلوفر حیدری", 75140000 ], [ 23, "شایان یوسفی", 64745000 ], [ 9, "...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0046
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، آخرین سفارش با وضعیت «paid» برای هر مشتری را نمایش بده.
formal
sales-F10
hard
[ "correlated_subquery", "latest_record", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,f.id AS fact_id,f.order_date AS fact_date,f.status AS status,f.total_toman AS metric FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.id=(SELECT f2.id FROM orders f2 WHERE f2.customer_id=e.id AND f2.status='paid' ORDER BY f2.order_date DESC,f2.id DESC LIMIT 1) ORDE...
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 34, "result_sha256": "9171d1e920a5bc6e141d7f9fc62e4e1f873d92ad9b5c9b3c962321242bfae450", "result_preview": [ [ 1, "آرمان رضایی", 354, "2025-11-08", "paid", 69500000 ], [ 2, "نگار احمدی", ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0047
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، آخرین سفارش با وضعیت «shipped» برای هر مشتری رو نشون بده.
colloquial
sales-F10
hard
[ "correlated_subquery", "latest_record", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,f.id AS fact_id,f.order_date AS fact_date,f.status AS status,f.total_toman AS metric FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.id=(SELECT f2.id FROM orders f2 WHERE f2.customer_id=e.id AND f2.status='shipped' ORDER BY f2.order_date DESC,f2.id DESC LIMIT 1) O...
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 42, "result_sha256": "0ec3777e5cbfbd671375bb749677ee6f4cf1fc23f356903627b1ad24f0177c38", "result_preview": [ [ 1, "آرمان رضایی", 32, "2026-07-01", "shipped", 45150000 ], [ 3, "سامان کریمی", ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0048
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، آخرین سفارش با وضعیت «cancelled» برای هر مشتری را بده.
terse
sales-F10
hard
[ "correlated_subquery", "latest_record", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,f.id AS fact_id,f.order_date AS fact_date,f.status AS status,f.total_toman AS metric FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.id=(SELECT f2.id FROM orders f2 WHERE f2.customer_id=e.id AND f2.status='cancelled' ORDER BY f2.order_date DESC,f2.id DESC LIMIT 1)...
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 43, "result_sha256": "755491b1a4d5a74375086ec94878dded7b20e96fed3371e224e272bd39eda967", "result_preview": [ [ 1, "آرمان رضایی", 113, "2025-11-14", "cancelled", 28720000 ], [ 3, "سامان کریمی...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0049
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، آخرین سفارش با وضعیت «pending» برای هر مشتری را نمایش بده.
mixed_digits
sales-F10
hard
[ "correlated_subquery", "latest_record", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,f.id AS fact_id,f.order_date AS fact_date,f.status AS status,f.total_toman AS metric FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.id=(SELECT f2.id FROM orders f2 WHERE f2.customer_id=e.id AND f2.status='pending' ORDER BY f2.order_date DESC,f2.id DESC LIMIT 1) O...
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 33, "result_sha256": "7878c0771c90414fed5732e2b1cadb6a52deb25d7a0ead72a5d7c98a652bab8c", "result_preview": [ [ 1, "آرمان رضایی", 47, "2026-05-26", "pending", 8570000 ], [ 2, "نگار احمدی", ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0050
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، آخرین سفارش با وضعیت «returned» برای هر مشتری را نمایش بده.
business_chat
sales-F10
hard
[ "correlated_subquery", "latest_record", "status_filter" ]
SELECT e.id,e.customer_name AS entity_name,f.id AS fact_id,f.order_date AS fact_date,f.status AS status,f.total_toman AS metric FROM customers e JOIN orders f ON f.customer_id=e.id WHERE f.id=(SELECT f2.id FROM orders f2 WHERE f2.customer_id=e.id AND f2.status='returned' ORDER BY f2.order_date DESC,f2.id DESC LIMIT 1) ...
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 36, "result_sha256": "f520fbea67c297a4310e9d9c253d3a34cf6c5d095dc1849daf0d592b76ba354f", "result_preview": [ [ 1, "آرمان رضایی", 318, "2026-01-17", "returned", 37490000 ], [ 2, "نگار احمدی",...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0051
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سهم درصدی هر وضعیت از کل سفارشها رو از ابتدای ۲۰۲۶ تا امروز حساب کن.
colloquial
sales-F11
hard
[ "aggregation", "percentage", "date_filtering" ]
SELECT status,COUNT(*) AS fact_count,ROUND(100.0*COUNT(*)/(SELECT COUNT(*) FROM orders WHERE order_date BETWEEN '2026-01-01' AND '2026-09-05'),2) AS pct FROM orders WHERE order_date BETWEEN '2026-01-01' AND '2026-09-05' GROUP BY status ORDER BY pct DESC,status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "29d1c86313c20ff6dd57ab76be7303538cbe3cb1864591dd38a372afd52c9fbb", "result_preview": [ [ "returned", 31, 22.63 ], [ "shipped", 30, 21.9 ], [ "cancelled", 29, ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0052
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سهم درصدی هر وضعیت از کل سفارشها را از ابتدای ژوئن ۲۰۲۶ تا امروز حساب کن.
terse
sales-F11
hard
[ "aggregation", "percentage", "date_filtering" ]
SELECT status,COUNT(*) AS fact_count,ROUND(100.0*COUNT(*)/(SELECT COUNT(*) FROM orders WHERE order_date BETWEEN '2026-06-01' AND '2026-09-05'),2) AS pct FROM orders WHERE order_date BETWEEN '2026-06-01' AND '2026-09-05' GROUP BY status ORDER BY pct DESC,status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "db96e6930c076edc658703a92371967986b8c91eafbff8c032eeed5da3d3b52f", "result_preview": [ [ "returned", 13, 24.53 ], [ "shipped", 13, 24.53 ], [ "paid", 10, 1...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0053
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سهم درصدی هر وضعیت از کل سفارشها را در دوازده ماه اخیر حساب کن.
mixed_digits
sales-F11
hard
[ "aggregation", "percentage", "date_filtering" ]
SELECT status,COUNT(*) AS fact_count,ROUND(100.0*COUNT(*)/(SELECT COUNT(*) FROM orders WHERE order_date BETWEEN '2025-09-01' AND '2026-09-05'),2) AS pct FROM orders WHERE order_date BETWEEN '2025-09-01' AND '2026-09-05' GROUP BY status ORDER BY pct DESC,status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "42b222b82747bef291a502047677c379233c6922f50d2cd2a6a1e9bb79a7b99e", "result_preview": [ [ "shipped", 45, 22.73 ], [ "cancelled", 41, 20.71 ], [ "returned", 40, ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0054
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، سهم درصدی هر وضعیت از کل سفارشها را در ژوئیه و اوت ۲۰۲۶ حساب کن.
business_chat
sales-F11
hard
[ "aggregation", "percentage", "date_filtering" ]
SELECT status,COUNT(*) AS fact_count,ROUND(100.0*COUNT(*)/(SELECT COUNT(*) FROM orders WHERE order_date BETWEEN '2026-07-01' AND '2026-08-31'),2) AS pct FROM orders WHERE order_date BETWEEN '2026-07-01' AND '2026-08-31' GROUP BY status ORDER BY pct DESC,status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "607410306a61474fac815aafefbfe6aca3c30f3aafe90f2a9510c9b796293a0b", "result_preview": [ [ "paid", 8, 24.24 ], [ "cancelled", 7, 21.21 ], [ "shipped", 7, 21....
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0055
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سهم درصدی هر وضعیت از کل سفارشها را در سال ۲۰۲۵ حساب کن.
formal
sales-F11
hard
[ "aggregation", "percentage", "date_filtering" ]
SELECT status,COUNT(*) AS fact_count,ROUND(100.0*COUNT(*)/(SELECT COUNT(*) FROM orders WHERE order_date BETWEEN '2025-01-01' AND '2025-12-31'),2) AS pct FROM orders WHERE order_date BETWEEN '2025-01-01' AND '2025-12-31' GROUP BY status ORDER BY pct DESC,status;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "ef2ad9602c673793ab2648f5eea7d51c5fd25e58abddecdc9e1c72989f7a51c8", "result_preview": [ [ "shipped", 51, 22.87 ], [ "cancelled", 48, 21.52 ], [ "paid", 44, ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0056
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سفارشهایی را پیدا کن که مبلغ فروش آن‌ها از 1.10 برابر میانگین کل بیشتر است.
terse
sales-F12
hard
[ "subquery", "filtering", "average" ]
SELECT id,customer_id,order_date,status,total_toman FROM orders WHERE total_toman>(SELECT AVG(total_toman)*1.10 FROM orders) ORDER BY total_toman DESC,id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 156, "result_sha256": "66fd58db3fe43d7de64e2627e8cee40803d64e34137468b4d2ee1e7c7d2d4ac8", "result_preview": [ [ 184, 18, "2025-07-27", "shipped", 79960000 ], [ 305, 12, "2025-05-18", "...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0057
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سفارشهایی را پیدا کن که مبلغ فروش آن‌ها از 1.25 برابر میانگین کل بیشتر است.
mixed_digits
sales-F12
hard
[ "subquery", "filtering", "average" ]
SELECT id,customer_id,order_date,status,total_toman FROM orders WHERE total_toman>(SELECT AVG(total_toman)*1.25 FROM orders) ORDER BY total_toman DESC,id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 132, "result_sha256": "d79ea14af08329f6994971303effb5f13facf8593d92aa267aa1be9d00282abc", "result_preview": [ [ 184, 18, "2025-07-27", "shipped", 79960000 ], [ 305, 12, "2025-05-18", "...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0058
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، سفارشهایی را پیدا کن که مبلغ فروش آن‌ها از 1.40 برابر میانگین کل بیشتر است.
business_chat
sales-F12
hard
[ "subquery", "filtering", "average" ]
SELECT id,customer_id,order_date,status,total_toman FROM orders WHERE total_toman>(SELECT AVG(total_toman)*1.40 FROM orders) ORDER BY total_toman DESC,id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 109, "result_sha256": "80e184502aa5a07f0e016ac071587546bbc2b59d3cbf60020c52e833eda39ad6", "result_preview": [ [ 184, 18, "2025-07-27", "shipped", 79960000 ], [ 305, 12, "2025-05-18", "...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0059
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سفارشهایی را پیدا کن که مبلغ فروش آن‌ها از 1.55 برابر میانگین کل بیشتر است.
formal
sales-F12
hard
[ "subquery", "filtering", "average" ]
SELECT id,customer_id,order_date,status,total_toman FROM orders WHERE total_toman>(SELECT AVG(total_toman)*1.55 FROM orders) ORDER BY total_toman DESC,id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 87, "result_sha256": "04f5230240988a3d3ad8baa078e96ee116e34ee991a04cee1f907b86db8f3a1c", "result_preview": [ [ 184, 18, "2025-07-27", "shipped", 79960000 ], [ 305, 12, "2025-05-18", "s...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0060
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سفارشهایی رو در بیار که مبلغ فروش آن‌ها از 1.70 برابر میانگین کل بیشتر است.
colloquial
sales-F12
hard
[ "subquery", "filtering", "average" ]
SELECT id,customer_id,order_date,status,total_toman FROM orders WHERE total_toman>(SELECT AVG(total_toman)*1.70 FROM orders) ORDER BY total_toman DESC,id;
2026-09-05T00:00:00
true
{ "level": "medium", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 57, "result_sha256": "c371fc4c2689ac1665a9239fd54dfb4fdb8a6b8e544dd4765477116aa3caa91d", "result_preview": [ [ 184, 18, "2025-07-27", "shipped", 79960000 ], [ 305, 12, "2025-05-18", "s...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0061
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، 3 آیتم جزئی با بیشترین مجموع مقدار را فقط در سفارشهای وضعیت «paid» پیدا کن.
mixed_digits
sales-F13
medium
[ "multi_table_join", "aggregation", "ordering", "status_filter" ]
SELECT d.product_name AS detail_label,SUM(d.line_total_toman) AS total_detail_value FROM order_items d JOIN orders f ON f.id=d.order_id WHERE f.status='paid' GROUP BY d.product_name ORDER BY total_detail_value DESC,detail_label LIMIT 3;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 3, "result_sha256": "af0d713bbe2aa5f86072ab9f2aaa878e7418b5dc15fb7b50c010aa5651f48a39", "result_preview": [ [ "پلن پایه", 490417000 ], [ "پشتیبانی", 452275000 ], [ "پلن حرفه‌ای", 410952000 ]...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0062
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، ۵ آیتم جزئی با بیشترین مجموع مقدار را فقط در سفارشهای وضعیت «shipped» پیدا کن.
business_chat
sales-F13
medium
[ "multi_table_join", "aggregation", "ordering", "status_filter" ]
SELECT d.product_name AS detail_label,SUM(d.line_total_toman) AS total_detail_value FROM order_items d JOIN orders f ON f.id=d.order_id WHERE f.status='shipped' GROUP BY d.product_name ORDER BY total_detail_value DESC,detail_label LIMIT 5;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "3785415396503753f75573654b50810e1d3a7dab840f1cf96691cbd2dbb4ef20", "result_preview": [ [ "خدمت سفارشی", 713546000 ], [ "پلن پایه", 618018000 ], [ "پشتیبانی", 593154000 ]...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0063
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، ۷ آیتم جزئی با بیشترین مجموع مقدار را فقط در سفارشهای وضعیت «cancelled» پیدا کن.
formal
sales-F13
medium
[ "multi_table_join", "aggregation", "ordering", "status_filter" ]
SELECT d.product_name AS detail_label,SUM(d.line_total_toman) AS total_detail_value FROM order_items d JOIN orders f ON f.id=d.order_id WHERE f.status='cancelled' GROUP BY d.product_name ORDER BY total_detail_value DESC,detail_label LIMIT 7;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 6, "result_sha256": "71b9e7749c7d8e973be0fcd956b0fb310d968534692161b90f3a7406cf147753", "result_preview": [ [ "پلن پایه", 555977000 ], [ "پشتیبانی", 523760000 ], [ "خدمت سفارشی", 516146000 ]...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0064
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، ۱۰ آیتم جزئی با بیشترین مجموع مقدار رو فقط در سفارشهای وضعیت «pending» در بیار.
colloquial
sales-F13
medium
[ "multi_table_join", "aggregation", "ordering", "status_filter" ]
SELECT d.product_name AS detail_label,SUM(d.line_total_toman) AS total_detail_value FROM order_items d JOIN orders f ON f.id=d.order_id WHERE f.status='pending' GROUP BY d.product_name ORDER BY total_detail_value DESC,detail_label LIMIT 10;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 6, "result_sha256": "97ae8342ca825ee2f556ef3e47040e61f944ed944c201f8482eebe30663e52ff", "result_preview": [ [ "پلن پایه", 524062000 ], [ "خدمت سفارشی", 466256000 ], [ "دامنه", 423482000 ] ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0065
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، ۴ آیتم جزئی با بیشترین مجموع مقدار را فقط در سفارشهای وضعیت «returned» پیدا کن.
terse
sales-F13
medium
[ "multi_table_join", "aggregation", "ordering", "status_filter" ]
SELECT d.product_name AS detail_label,SUM(d.line_total_toman) AS total_detail_value FROM order_items d JOIN orders f ON f.id=d.order_id WHERE f.status='returned' GROUP BY d.product_name ORDER BY total_detail_value DESC,detail_label LIMIT 4;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 4, "result_sha256": "1dcc80537704455bf7b0fe0a6a063d1f4f404a6f9cd6da491fbeb5d29cb29d10", "result_preview": [ [ "پشتیبانی", 598851000 ], [ "پلن پایه", 509514000 ], [ "افزونه", 432055000 ] ] ...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0066
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
برای گزارش مدیریتی، در حوزه فروش، سفارشهایی را بده که مجموع تعداد آیتم‌های جزئیاتشان بیشتر از ۴ باشد.
business_chat
sales-F14
hard
[ "multi_table_join", "group_by", "having" ]
SELECT f.id,f.order_date AS fact_date,SUM(d.quantity) AS total_quantity FROM orders f JOIN order_items d ON d.order_id=f.id GROUP BY f.id,f.order_date HAVING SUM(d.quantity)>4 ORDER BY total_quantity DESC,f.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 284, "result_sha256": "3144ec2c5be4a6c15b5e7d9c42d82ace3172f8606aba2858cbf9c02c4aee32ad", "result_preview": [ [ 115, "2025-04-16", 23 ], [ 125, "2025-06-06", 22 ], [ 218, "2026-05-29...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0067
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سفارشهایی را بده که مجموع تعداد آیتم‌های جزئیاتشان بیشتر از ۶ باشد.
formal
sales-F14
hard
[ "multi_table_join", "group_by", "having" ]
SELECT f.id,f.order_date AS fact_date,SUM(d.quantity) AS total_quantity FROM orders f JOIN order_items d ON d.order_id=f.id GROUP BY f.id,f.order_date HAVING SUM(d.quantity)>6 ORDER BY total_quantity DESC,f.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 213, "result_sha256": "3419887b291b1b4296ec4b6473ed1081709f30b0b60e209baf7d7ba915ee1b2f", "result_preview": [ [ 115, "2025-04-16", 23 ], [ 125, "2025-06-06", 22 ], [ 218, "2026-05-29...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0068
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سفارشهایی رو بده که مجموع تعداد آیتم‌های جزئیاتشان بیشتر از ۸ باشد.
colloquial
sales-F14
hard
[ "multi_table_join", "group_by", "having" ]
SELECT f.id,f.order_date AS fact_date,SUM(d.quantity) AS total_quantity FROM orders f JOIN order_items d ON d.order_id=f.id GROUP BY f.id,f.order_date HAVING SUM(d.quantity)>8 ORDER BY total_quantity DESC,f.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": true, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 166, "result_sha256": "26192739a3a7173cbec39f12b4a9a55ff54f7431c2e3f5404235375cb46c4fcc", "result_preview": [ [ 115, "2025-04-16", 23 ], [ 125, "2025-06-06", 22 ], [ 218, "2026-05-29...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0069
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سفارشهایی را بده که مجموع تعداد آیتم‌های جزئیاتشان بیشتر از ۱۰ باشد.
terse
sales-F14
hard
[ "multi_table_join", "group_by", "having" ]
SELECT f.id,f.order_date AS fact_date,SUM(d.quantity) AS total_quantity FROM orders f JOIN order_items d ON d.order_id=f.id GROUP BY f.id,f.order_date HAVING SUM(d.quantity)>10 ORDER BY total_quantity DESC,f.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": true, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 108, "result_sha256": "affd3d58001baae73b008962d01a48620339ccad3de3bcc42a153f2974ee10ad", "result_preview": [ [ 115, "2025-04-16", 23 ], [ 125, "2025-06-06", 22 ], [ 218, "2026-05-29...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0070
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
sales
فروش
sales
databases/sales.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE regions(id INTEGER PRIMARY KEY,region_name TEXT NOT NULL UNIQUE); CREATE TABLE customers(id INTEGER PRIMARY KEY,customer_name TEXT NOT NULL,region_id INTEGER NOT NULL REFERENCES regions(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE orders(id...
در حوزه فروش، سفارشهایی را بده که مجموع تعداد آیتم‌های جزئیاتشان بیشتر از 12 باشد.
mixed_digits
sales-F14
hard
[ "multi_table_join", "group_by", "having" ]
SELECT f.id,f.order_date AS fact_date,SUM(d.quantity) AS total_quantity FROM orders f JOIN order_items d ON d.order_id=f.id GROUP BY f.id,f.order_date HAVING SUM(d.quantity)>12 ORDER BY total_quantity DESC,f.id;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": "toman" }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 64, "result_sha256": "e0e662965eae3aed7029011f351b65242394d252296dd999f3ed3bdb099e0e08", "result_preview": [ [ 115, "2025-04-16", 23 ], [ 125, "2025-06-06", 22 ], [ 218, "2026-05-29"...
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0101
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
crm
CRM
crm
databases/crm.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE lead_sources(id INTEGER PRIMARY KEY,source_name TEXT NOT NULL UNIQUE); CREATE TABLE leads(id INTEGER PRIMARY KEY,lead_name TEXT NOT NULL,source_id INTEGER NOT NULL REFERENCES lead_sources(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE activit...
در حوزه CRM، تعداد تعاملهای مربوط به سرنخهای بخش «سرد» را به تفکیک وضعیت حساب کن.
terse
crm-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.outcome,COUNT(*) AS fact_count FROM activities f JOIN leads e ON e.id=f.lead_id WHERE e.segment='سرد' GROUP BY f.outcome ORDER BY fact_count DESC,f.outcome;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": null }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "c7b23dbaa7bb6406695b39871827f21ed3295d2fc2ef2c3a27295379633e5ca9", "result_preview": [ [ "qualified", 18 ], [ "won", 16 ], [ "no_answer", 13 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0102
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
crm
CRM
crm
databases/crm.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE lead_sources(id INTEGER PRIMARY KEY,source_name TEXT NOT NULL UNIQUE); CREATE TABLE leads(id INTEGER PRIMARY KEY,lead_name TEXT NOT NULL,source_id INTEGER NOT NULL REFERENCES lead_sources(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE activit...
در حوزه CRM، تعداد تعاملهای مربوط به سرنخهای بخش «گرم» را به تفکیک وضعیت حساب کن.
mixed_digits
crm-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.outcome,COUNT(*) AS fact_count FROM activities f JOIN leads e ON e.id=f.lead_id WHERE e.segment='گرم' GROUP BY f.outcome ORDER BY fact_count DESC,f.outcome;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": false, "contains_colloquial_register": false, "currency_unit": null }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "489440e14ab37f92add613a26692972c51c920113b2f7913fdd53cfb59a88a37", "result_preview": [ [ "no_answer", 20 ], [ "follow_up", 19 ], [ "lost", 14 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0103
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
crm
CRM
crm
databases/crm.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE lead_sources(id INTEGER PRIMARY KEY,source_name TEXT NOT NULL UNIQUE); CREATE TABLE leads(id INTEGER PRIMARY KEY,lead_name TEXT NOT NULL,source_id INTEGER NOT NULL REFERENCES lead_sources(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE activit...
برای گزارش مدیریتی، در حوزه CRM، تعداد تعاملهای مربوط به سرنخهای بخش «داغ» را به تفکیک وضعیت حساب کن.
business_chat
crm-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.outcome,COUNT(*) AS fact_count FROM activities f JOIN leads e ON e.id=f.lead_id WHERE e.segment='داغ' GROUP BY f.outcome ORDER BY fact_count DESC,f.outcome;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": null }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "ad098ae993276518f65a131e01c88ab134fd1769867d4c1b5cabc971ec3e89de", "result_preview": [ [ "no_answer", 18 ], [ "follow_up", 16 ], [ "won", 15 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
PBTSQL-0104
Persian-Business-Text2SQL-Gold-1K
1.0.0
train
fa
sqlite
crm
CRM
crm
databases/crm.sqlite
PRAGMA foreign_keys=ON; CREATE TABLE lead_sources(id INTEGER PRIMARY KEY,source_name TEXT NOT NULL UNIQUE); CREATE TABLE leads(id INTEGER PRIMARY KEY,lead_name TEXT NOT NULL,source_id INTEGER NOT NULL REFERENCES lead_sources(id),segment TEXT NOT NULL,channel TEXT NOT NULL,created_at TEXT NOT NULL); CREATE TABLE activit...
در حوزه CRM، تعداد تعاملهای مربوط به سرنخهای بخش «مشتری سابق» را به تفکیک وضعیت حساب کن.
formal
crm-F01
easy
[ "aggregation", "group_by", "join_filter" ]
SELECT f.outcome,COUNT(*) AS fact_count FROM activities f JOIN leads e ON e.id=f.lead_id WHERE e.segment='مشتری سابق' GROUP BY f.outcome ORDER BY fact_count DESC,f.outcome;
2026-09-05T00:00:00
true
{ "level": "low", "notes": "با اتکا به schema، واحد و reference_date قابل حل است؛ نمونه clarification-required در v1.0.0 وجود ندارد." }
{ "native_authored": true, "translated_from_other_dataset": false, "contains_persian_digits": false, "contains_business_register": true, "contains_colloquial_register": false, "currency_unit": null }
{ "verified": true, "engine": "sqlite-3.46.1", "row_count": 5, "result_sha256": "daf8e6ac30fb16137cd75b593ac88c69ccf1b1d466ae4c82c937965b570cbbcf", "result_preview": [ [ "follow_up", 21 ], [ "qualified", 17 ], [ "no_answer", 15 ] ] }
{ "source_type": "original_native_synthetic", "external_row_source": null, "translation_source": null, "generation_seed": 14050615 }
End of preview. Expand in Data Studio

Persian Business Text-to-SQL Gold-1K

1,000 Persian-native, execution-verified business Text-to-SQL examples for fine-tuning and benchmarking.

مجموعه‌ای ۱۰۰۰ نمونه‌ای برای تبدیل درخواست‌های فارسی کسب‌وکار به SQL، همراه با دیتابیس‌های SQLite اجرایی، schema کامل، متادیتای سختی/مهارت و ارزیابی مبتنی بر Execution Accuracy.

Motivation

BIRD emphasizes database-grounded Text-to-SQL and execution accuracy; Spider 2.0 pushes toward realistic enterprise database workflows. This release targets a narrower Persian capability: native business Text-to-SQL, not translated QA or generic instruction tuning.

At a glance

Property Value
Samples 1,000
Language Persian / فارسی
SQL dialect SQLite
Domains 10
Train / Validation / Test 700 / 150 / 150
Databases 10 executable SQLite DBs
Semantic query families 200
Reference verification execution + result SHA-256
Exact / normalized question duplicates 0 / 0
Human reviewed No
License CC BY 4.0
Reference date 2026-09-05

What “Gold” means

Gold = execution-verified reference SQL. Every reference query is executed against an included SQLite database and re-executed during release validation. It does not mean independently human-reviewed.

Domains

Sales, CRM, order fulfillment, payments, inventory, products, support, HR, SaaS and light accounting — 100 samples each.

Coverage

Filtering, aggregation, GROUP BY, HAVING, date filtering, multi-table joins, top-k, anti-joins, nested/correlated subqueries, conditional aggregation, CASE, CTEs, window functions, ranking, running totals, top-per-group and EXISTS/NOT EXISTS.

Persian questions vary across formal, colloquial, terse, mixed-digit and management-reporting registers. Monetary prompts use toman explicitly.

Split strategy

Query families are disjoint:

  • F01–F14 → train (700)
  • F15–F17 → validation (150)
  • F18–F20 → test (150)

Schemas are shared across splits, so v1.0.0 is not a strict unseen-schema benchmark.

Record fields

id, split, domain, database_file, schema_ddl, question_fa, question_style, query_family_id, difficulty, skills, gold_sql, reference_date, ambiguity, persian_localization, execution, provenance.

Example

{
  "id": "PBTSQL-0001",
  "domain": "sales",
  "question_fa": "در حوزه فروش، تعداد سفارشهای مربوط به مشتریهای بخش «خرده‌فروشی» رو به تفکیک وضعیت حساب کن.",
  "difficulty": "easy",
  "skills": [
    "aggregation",
    "group_by",
    "join_filter"
  ],
  "gold_sql": "SELECT f.status,COUNT(*) AS fact_count FROM orders f JOIN customers e ON e.id=f.customer_id WHERE e.segment='خرده‌فروشی' GROUP BY f.status ORDER BY fact_count DESC,f.status;"
}

Load

from datasets import load_dataset
ds = load_dataset("json", data_files={
  "train":"data/train.jsonl",
  "validation":"data/validation.jsonl",
  "test":"data/test.jsonl"
})

Evaluation

Primary metric: Execution Accuracy.

python scripts/validate_dataset.py
python scripts/evaluate_execution.py predictions.jsonl

Prediction format:

{"id":"PBTSQL-0001","predicted_sql":"SELECT ..."}

Recommended breakdowns: domain, difficulty, SQL skill, Persian register, invalid-SQL rate. Exact string match is diagnostic only.

Quality-control gates

  • 1,000/1,000 reference SQL queries execute successfully
  • release-wide re-execution before packaging
  • 0 exact duplicates
  • 0 normalized duplicates
  • read-only reference SQL only
  • per-record row count + SHA-256
  • no real customer/company records
  • no direct-translation provenance
  • split-disjoint query families

See QUALITY_REPORT.json.

Layout

README.md
LICENSE
QUALITY_REPORT.json
MANIFEST.json
data/{train,validation,test}.jsonl
data/{train,validation,test}.json
data/all.jsonl
databases/*.sqlite
schemas/*.sql
metadata/*.json
docs/*.md
scripts/*.py

Intended use

SFT experiments, Persian Text-to-SQL evaluation, semantic parsing, BI/business assistant prototyping and preparation of a future human-reviewed subset.

Limitations

Synthetic data; SQLite only; 10 schemas; schemas shared across splits; no independent multi-annotator review; no dedicated clarification-required, Solar Hijri, Finglish or typo-robustness track in v1.0.0.

Research references

A scoped public search on 2026-09-05 did not identify a clearly established Persian-native business Text-to-SQL benchmark with this exact positioning. Treat that as a discovery result, not proof of non-existence.

License

CC BY 4.0

Citation

@dataset{jumplander_persian_business_text2sql_gold_1k_2026,
  title={Persian Business Text-to-SQL Gold-1K},
  author={JumpLander},
  year={2026},
  version={1.0.0},
  publisher={Hugging Face}
}

Built by JumpLander.

Downloads last month
-