CRM SQL Error Diagnosis and Repair Dataset

#SQL error diagnosis #code repair #schema understanding #CRM database management #SQL query debugging #enterprise data analytics
Records
6400
Size
0.4GB
Format
JSON
Provider
MOBIUSI INCMOBIUSI INC
Updated
v1.02026-11-05
AI Analysis & Value Prop

This 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.

Overview

Dataset Insights

Preview

Sample Examples

sample.json
{}

Schema

Technical Specifications

file_namestringFile name
error_cluesstringAvailable clues about the SQL error, such as mismatched field names, incorrect join keys, missing join conditions, or faulty aggregation logic.
corrected_sqlstringThe repaired SQL query that satisfies the request and is consistent with the provided CRM schema.
incorrect_sqlstringThe SQL query containing one or more errors to diagnose and repair.
error_categorystringThe primary error type identified during diagnosis.
schema_contextstringRelevant CRM schema or field definitions, preferably serialized as JSON, including table names, column names, data types, and relationships.
query_requirementstringThe natural-language CRM data request that the SQL query should satisfy.
repair_explanationstringA concise explanation of the diagnosed error and the changes made to repair the SQL.

Trust

Compliance Statement

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

FAQ

Frequently Asked Questions

What does the dataset contain?
Each example is organized around a CRM query requirement and includes relevant schema or field information, flawed SQL, available error clues, corrected SQL, an error category, and a repair explanation.
Which SQL errors are covered?
Examples include mismatched field names, incorrect join keys, missing join conditions, and faulty aggregation logic. The exact coverage depends on the dataset version and the examples provided.
Which training or evaluation tasks does it support?
It can support training or evaluating SQL error diagnosis, query repair, database schema understanding, and schema-grounded SQL generation. It can also help develop CRM query assistants.
How can I access the data, and what are the licensing terms?
Use the access channel provided on the product page or by the data provider. Review the applicable license, usage restrictions, and commercial permissions before downloading or using the data.

Can't find the data you need?

Post a request and let data providers reach out to you.

Get this Dataset

High-quality data, ready for your next AI breakthrough.

Cite this Work

@dataset{Mobiusi2026,
  title={CRM SQL Error Diagnosis and Repair Dataset},
  author={MOBIUSI INC},
  year={2026},
  url={https://www.mobiusi.com/datasets/827cca7f886ac9a2c576255ffc819d83?dataset_scene_cate_type=9},
  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.

placeholder
placeholder
placeholder
placeholder
placeholder
placeholder
placeholder

Popular Dataset Searches