Generate Incorrect SQL Queries

Create Query
These are your uploaded SQLite databases.
Select from existing queries or create your own.
Select which types of errors to generate.
Note: Generation can take 10-30 seconds depending on the complexity of the query. The process will:
  1. Get database schema and sample data
  2. Generate incorrect SQL variants using GPT-4o
  3. Validate each incorrect query by executing it against the database
  4. Save results for viewing
Database Schema
customers
  • CustomerID (INTEGER) PK
  • Segment (TEXT)
  • Currency (TEXT)
gasstations
  • GasStationID (INTEGER) PK
  • ChainID (INTEGER)
  • Country (TEXT)
  • Segment (TEXT)
products
  • ProductID (INTEGER) PK
  • Description (TEXT)
transactions_1k
  • TransactionID (INTEGER) PK
  • Date (DATE)
  • Time (TEXT)
  • CustomerID (INTEGER)
  • CardID (INTEGER)
  • GasStationID (INTEGER)
  • ProductID (INTEGER)
  • Amount (INTEGER)
  • Price (REAL)
yearmonth
  • CustomerID (INTEGER) PK
  • Date (TEXT) PK
  • Consumption (REAL)