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
alignment
  • id (INTEGER) PK
  • alignment (TEXT)
attribute
  • id (INTEGER) PK
  • attribute_name (TEXT)
colour
  • id (INTEGER) PK
  • colour (TEXT)
gender
  • id (INTEGER) PK
  • gender (TEXT)
publisher
  • id (INTEGER) PK
  • publisher_name (TEXT)
race
  • id (INTEGER) PK
  • race (TEXT)
superhero
  • id (INTEGER) PK
  • superhero_name (TEXT)
  • full_name (TEXT)
  • gender_id (INTEGER)
  • eye_colour_id (INTEGER)
  • hair_colour_id (INTEGER)
  • skin_colour_id (INTEGER)
  • race_id (INTEGER)
  • publisher_id (INTEGER)
  • alignment_id (INTEGER)
  • height_cm (INTEGER)
  • weight_kg (INTEGER)
hero_attribute
  • hero_id (INTEGER)
  • attribute_id (INTEGER)
  • attribute_value (INTEGER)
superpower
  • id (INTEGER) PK
  • power_name (TEXT)
hero_power
  • hero_id (INTEGER)
  • power_id (INTEGER)