MOBIUSI INCThis dataset is built around CRM query scenarios and pairs natural-language requirements with relevant database schemas or field definitions, flawed SQL, and error clues, along with corrected queries that satisfy the requirements and schema. Examples cover common issues such as mismatched field names, incorrect join keys, missing join conditions, and faulty aggregation logic, with an error category and repair explanation for each example. It supports training and evaluating agents that interpret CRM schemas, diagnose SQL errors, and generate correct queries.
| Field | Type | Description |
|---|---|---|
| file_name | string | File name |
| error_clues | string | Available clues about the SQL error, such as mismatched field names, incorrect join keys, missing join conditions, or faulty aggregation logic. |
| corrected_sql | string | The repaired SQL query that satisfies the request and is consistent with the provided CRM schema. |
| incorrect_sql | string | The SQL query containing one or more errors to diagnose and repair. |
| error_category | string | The primary error type identified during diagnosis. |
| schema_context | string | Relevant CRM schema or field definitions, preferably serialized as JSON, including table names, column names, data types, and relationships. |
| query_requirement | string | The natural-language CRM data request that the SQL query should satisfy. |
| repair_explanation | string | A concise explanation of the diagnosed error and the changes made to repair the SQL. |
| Authorization Type | Proprietary - Commercial AI Training License (No Redistribution) |
| Commercial Use | Requires exclusive subscription or authorization contract (monthly or per-invocation charging) |
| Privacy and Anonymization | No PII, no real company names, simulated scenarios follow industry standards |
| Compliance System | Compliant with China's Data Security Law / EU GDPR / supports enterprise data access logs |

Post a request and let data providers reach out to you.
@dataset{Mobiusi2026,
title={CRM SQL Error Diagnosis and Repair Dataset},
author={MOBIUSI INC},
year={2026},
url={https://www.mobiusi.com/datasets/827cca7f886ac9a2c576255ffc819d83},
urldate={2026-10-21},
keywords={CRM SQL dataset,SQL error repair,SQL diagnosis training data,CRM query generation,SQL agent training,database schema understanding,erroneous SQL correction,text-to-SQL},
version={1.0}
}Using this in research? Please cite us.