Dataset Viewer
Auto-converted to Parquet Duplicate
schema
stringlengths
32
158
question
stringlengths
27
164
answer
stringlengths
27
207
CREATE TABLE table_1973842_1 (type VARCHAR, location VARCHAR)
What type is the school located in Macon, Georgia?
SELECT type FROM table_1973842_1 WHERE location = "Macon, Georgia"
CREATE TABLE table_name_61 (rank INTEGER, constituency VARCHAR, swing_to_gain VARCHAR)
what is the lowest rank when the constituency is edinburgh northern and leith and the swing to gain is less than 4.16?
SELECT MIN(rank) FROM table_name_61 WHERE constituency = "edinburgh northern and leith" AND swing_to_gain < 4.16
CREATE TABLE table_name_10 (constructor VARCHAR, driver VARCHAR)
Tell me the constructor for david coulthard
SELECT constructor FROM table_name_10 WHERE driver = "david coulthard"
CREATE TABLE Project_Staff (role_code VARCHAR)
How many kinds of roles are there for the staff?
SELECT COUNT(DISTINCT role_code) FROM Project_Staff
CREATE TABLE table_name_49 (mixed_doubles VARCHAR, year VARCHAR)
Who won the Mixed Doubles in 2007?
SELECT mixed_doubles FROM table_name_49 WHERE year = "2007"
CREATE TABLE TV_series (Channel VARCHAR, Episode VARCHAR); CREATE TABLE TV_Channel (series_name VARCHAR, id VARCHAR)
What is the TV Channel of TV series with Episode "A Love of a Lifetime"? List the TV Channel's series name.
SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = "A Love of a Lifetime"
CREATE TABLE table_name_90 (owner VARCHAR, frequency VARCHAR)
Who is the owner of the radio frequency of 0 101.5 fm?
SELECT owner FROM table_name_90 WHERE frequency = "0 101.5 fm"
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)
Name the syrian christians for thiruvananthapuram
SELECT syrian_christians FROM table_23214055_2 WHERE district = "Thiruvananthapuram"
CREATE TABLE table_name_81 (format VARCHAR, catalog VARCHAR)
Which Format has a Catalog of 561 445-1?
SELECT format FROM table_name_81 WHERE catalog = "561 445-1"
CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR)
Who won Silverstone in a round after 10?
SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone"
CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__2nd_ VARCHAR)
What season was Freiburger FC the RL Süd (2nd) team?
SELECT season FROM table_20217456_7 WHERE rl_süd__2nd_ = "Freiburger FC"
CREATE TABLE table_name_88 (date VARCHAR, attendance VARCHAR)
I want to know the date with attendance of 35,763
SELECT date FROM table_name_88 WHERE attendance = "35,763"
CREATE TABLE table_15873547_1 (residence_hall VARCHAR, mascot VARCHAR)
What residence hall has the vermin mascot?
SELECT residence_hall FROM table_15873547_1 WHERE mascot = "Vermin"
CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)
What is the highest round where a back named Ed Cody can be found?
SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"
CREATE TABLE table_name_21 (score VARCHAR, opponents VARCHAR, year VARCHAR)
Which Score has Opponents of valencia, and a Year of 2011–12?
SELECT score FROM table_name_21 WHERE opponents = "valencia" AND year = "2011–12"
CREATE TABLE table_name_37 (result VARCHAR, week VARCHAR)
What was the result of the game on week 4?
SELECT result FROM table_name_37 WHERE week = 4
CREATE TABLE table_19753079_35 (party VARCHAR, district VARCHAR)
Name the party for new york 4
SELECT party FROM table_19753079_35 WHERE district = "New York 4"
CREATE TABLE table_name_61 (goal VARCHAR, competition VARCHAR, score VARCHAR)
How many goals when the score is 3-0 in the euro 2012 q?
SELECT COUNT(goal) FROM table_name_61 WHERE competition = "euro 2012 q" AND score = "3-0"
CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR)
what is the status in vestal
SELECT status FROM table_18159601_1 WHERE city = "Vestal"
CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR)
What average week number had the Chicago bears as the opponent?
SELECT AVG(week) FROM table_name_58 WHERE opponent = "chicago bears"
CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR)
Which NHL team has a Player of steve durbano?
SELECT nhl_team FROM table_name_97 WHERE player = "steve durbano"
CREATE TABLE table_name_34 (gecko VARCHAR, trident VARCHAR)
What is the Gecko value for the item that has a Trident value of 'font'?
SELECT gecko FROM table_name_34 WHERE trident = "font"
CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR)
What was the result of the election of the incumbent clyde doyle?
SELECT result FROM table_1341973_6 WHERE incumbent = "Clyde Doyle"
CREATE TABLE table_2897457_4 (position VARCHAR, nhl_team VARCHAR)
How many positions drafted for the Minnesota North Stars?
SELECT COUNT(position) FROM table_2897457_4 WHERE nhl_team = "Minnesota North Stars"
CREATE TABLE table_27537518_9 (date VARCHAR, record VARCHAR)
On which date was the record of 27-28-11 set?
SELECT date FROM table_27537518_9 WHERE record = "27-28-11"
CREATE TABLE table_name_50 (number INTEGER, name VARCHAR)
What is Tim Andree's greatest number?
SELECT MAX(number) FROM table_name_50 WHERE name = "tim andree"
CREATE TABLE table_18703133_1 (wins INTEGER, team VARCHAR)
Name the most wins for sport colombia
SELECT MAX(wins) FROM table_18703133_1 WHERE team = "Sport Colombia"
CREATE TABLE table_26476336_2 (location VARCHAR, years VARCHAR)
What location is listed from 2005-2010?
SELECT location FROM table_26476336_2 WHERE years = "2005-2010"
CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR)
What was the result on November 20, 1988?
SELECT result FROM table_name_49 WHERE date = "november 20, 1988"
CREATE TABLE table_2889300_6 (crashandride_cymbalpads VARCHAR, drumset_name VARCHAR)
what is the crashandride cymbalpads for the drumset name td-9k2
SELECT crashandride_cymbalpads FROM table_2889300_6 WHERE drumset_name = "TD-9K2"
CREATE TABLE table_name_12 (pat_robertson VARCHAR, bob_dole VARCHAR, george_hw_bush VARCHAR)
When Bob Dole had 26%, and George H.W. Bush had 47%, what did Pat Robertson have?
SELECT pat_robertson FROM table_name_12 WHERE bob_dole = "26%" AND george_hw_bush = "47%"
CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR)
What is the first date of election for the incumbent that was re-elected in the South Carolina 1 district?
SELECT first_elected FROM table_name_45 WHERE result = "re-elected" AND district = "south carolina 1"
CREATE TABLE table_name_66 (latitude VARCHAR, year_named VARCHAR, longitude VARCHAR)
What's the latitude when the longitude is 152.0e later than 1997?
SELECT latitude FROM table_name_66 WHERE year_named > 1997 AND longitude = "152.0e"
CREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)
Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?
SELECT AVG(top_5) FROM table_name_29 WHERE position = "52nd" AND year < 2000
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ INTEGER, provider VARCHAR)
What is the maximum number of 2006 subscribers for Glo Mobile?
SELECT MAX(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Glo Mobile"
CREATE TABLE table_1341663_33 (candidates VARCHAR, incumbent VARCHAR)
Who were the candidates when Shirley Chisholm was the incumbent?
SELECT candidates FROM table_1341663_33 WHERE incumbent = "Shirley Chisholm"
CREATE TABLE table_name_57 (game_site VARCHAR, week VARCHAR)
Where did they play in week 14?
SELECT game_site FROM table_name_57 WHERE week = "14"
CREATE TABLE table_14962287_2 (league VARCHAR, name VARCHAR)
How many different Leagues are associated with Billy Meredith Category:Articles with hCards?
SELECT COUNT(league) FROM table_14962287_2 WHERE name = "Billy Meredith Category:Articles with hCards"
CREATE TABLE table_name_13 (wkts VARCHAR, econ VARCHAR)
Tell me the wkts for econ of 4.23
SELECT wkts FROM table_name_13 WHERE econ = "4.23"
CREATE TABLE table_name_20 (d_41_√ VARCHAR, d_43_o VARCHAR)
Name the D 41 √ for having D 43 of r 13
SELECT d_41_√ FROM table_name_20 WHERE d_43_o = "r 13"
CREATE TABLE table_name_54 (visitor VARCHAR, record VARCHAR)
Who is the visitor with a record of 14–17–5?
SELECT visitor FROM table_name_54 WHERE record = "14–17–5"
CREATE TABLE table_name_63 (position VARCHAR, points INTEGER)
What position has less than 6 Points?
SELECT COUNT(position) FROM table_name_63 WHERE points < 6
CREATE TABLE table_name_32 (best INTEGER, name VARCHAR)
What is the total best for Bruno junqueira
SELECT SUM(best) FROM table_name_32 WHERE name = "bruno junqueira"
CREATE TABLE table_name_68 (rank INTEGER, area VARCHAR, density VARCHAR, province VARCHAR)
What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?
SELECT MAX(rank) FROM table_name_68 WHERE density < 376.37 AND province = "valverde" AND area > 823
CREATE TABLE table_name_22 (attendance VARCHAR, visitor VARCHAR)
What was the attendance at the Kings game when Anaheim was the visiting team?
SELECT attendance FROM table_name_22 WHERE visitor = "anaheim"
CREATE TABLE table_15475116_1 (school VARCHAR, colors VARCHAR)
What are all the schools that use the colors maroon and white
SELECT school FROM table_15475116_1 WHERE colors = "Maroon and White"
CREATE TABLE table_name_21 (state VARCHAR, royal_house VARCHAR, name VARCHAR)
What state had the name of wu for the royal house of ji?
SELECT state FROM table_name_21 WHERE royal_house = "ji" AND name = "wu"
CREATE TABLE table_name_48 (number INTEGER, college VARCHAR)
What is the lowest Number, when College is "University of Alabama"?
SELECT MIN(number) FROM table_name_48 WHERE college = "university of alabama"
CREATE TABLE table_name_34 (attendance VARCHAR, loss VARCHAR)
What was the attendance at the game that had a loss of Crabtree (0-1)?
SELECT attendance FROM table_name_34 WHERE loss = "crabtree (0-1)"
CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR)
What year has a original title of "el tinte de la fama"?
SELECT year__ceremony_ FROM table_name_81 WHERE original_title = "el tinte de la fama"
CREATE TABLE table_name_15 (location VARCHAR, date VARCHAR)
Where was the September 3 game?
SELECT location FROM table_name_15 WHERE date = "september 3"
CREATE TABLE table_name_18 (aspect VARCHAR, programming VARCHAR)
Which Aspect has a Programming of latv?
SELECT aspect FROM table_name_18 WHERE programming = "latv"
CREATE TABLE table_name_46 (points_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
What's the points classification of Stage 18 when the general classification was Denis Menchov?
SELECT points_classification FROM table_name_46 WHERE general_classification = "denis menchov" AND stage = "18"
CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)
What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0?
SELECT MIN(gold) FROM table_name_24 WHERE bronze = 0 AND total < 2 AND silver < 0
CREATE TABLE table_26464364_1 (written_by VARCHAR, directed_by VARCHAR)
Who are the writers of the episodes directed by Justin Hartley?
SELECT written_by FROM table_26464364_1 WHERE directed_by = "Justin Hartley"
CREATE TABLE table_name_35 (league_apps VARCHAR, fa_cup_apps VARCHAR, league_goals VARCHAR, position VARCHAR)
Tell me the league apps with league goals less than 2 and position of df and FA cup apps of 5
SELECT league_apps FROM table_name_35 WHERE league_goals < 2 AND position = "df" AND fa_cup_apps = "5"
CREATE TABLE table_name_34 (tie_no VARCHAR, home_team VARCHAR)
What was the Tie no when the Home team was wealdstone?
SELECT tie_no FROM table_name_34 WHERE home_team = "wealdstone"
CREATE TABLE singer (Id VARCHAR)
How many singers do we have?
SELECT COUNT(*) FROM singer
CREATE TABLE table_13464416_4 (high_rebounds VARCHAR, team VARCHAR)
Who had the high rebound total against golden state?
SELECT high_rebounds FROM table_13464416_4 WHERE team = "Golden State"
CREATE TABLE table_name_87 (crowd INTEGER, venue VARCHAR)
What is the largest crowd at arden street oval?
SELECT MAX(crowd) FROM table_name_87 WHERE venue = "arden street oval"
CREATE TABLE table_name_5 (time__eest_ VARCHAR, stage VARCHAR)
What is the Time (EEST), when the Stage is ss8?
SELECT time__eest_ FROM table_name_5 WHERE stage = "ss8"
CREATE TABLE table_name_46 (name VARCHAR, license VARCHAR, actual_version VARCHAR)
What name has a License of gpl, and an Actual version of 0.8.29wip4?
SELECT name FROM table_name_46 WHERE license = "gpl" AND actual_version = "0.8.29wip4"
CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, venue VARCHAR, goals VARCHAR)
What is the date of the k-league cup, which has less than 28 goals, at the jeonju venue?
SELECT date FROM table_name_93 WHERE venue = "jeonju" AND goals < 28 AND competition = "k-league cup"
CREATE TABLE table_name_26 (murder__2012__rate_per_100 VARCHAR, peace__2012__gpi VARCHAR)
What murder (2012) rate per 100,00 also has a 1.616 as the peace (2012) GPI?
SELECT murder__2012__rate_per_100, 000 FROM table_name_26 WHERE peace__2012__gpi = 1.616
CREATE TABLE table_2112260_1 (specialization VARCHAR, website VARCHAR)
What is every specialization with the website Jstu.edu.bd
SELECT specialization FROM table_2112260_1 WHERE website = "jstu.edu.bd"
CREATE TABLE table_name_10 (winning_driver VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR)
Who is the Winning Driver, when Most Laps Led is Dario Franchitti, and when Pole Position is Hélio Castroneves?
SELECT winning_driver FROM table_name_10 WHERE most_laps_led = "dario franchitti" AND pole_position = "hélio castroneves"
CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR)
What team did the home team play on September 4?
SELECT opponent FROM table_name_2 WHERE date = "september 4"
CREATE TABLE table_name_42 (inhabitants VARCHAR, election VARCHAR, municipality VARCHAR)
Which inhabitants have 2009 as the election, with cremona as the municipality?
SELECT inhabitants FROM table_name_42 WHERE election = 2009 AND municipality = "cremona"
CREATE TABLE table_name_19 (record VARCHAR, game VARCHAR, score VARCHAR)
What is the Record for a game less than 3 and the score was l 91–96 (ot)?
SELECT record FROM table_name_19 WHERE game < 3 AND score = "l 91–96 (ot)"
CREATE TABLE table_12310814_1 (original_artist VARCHAR, episode VARCHAR)
What's the original artist of the song performed in the top 3 episode?
SELECT original_artist FROM table_12310814_1 WHERE episode = "Top 3"
CREATE TABLE student_course_attendance (student_id VARCHAR)
List the id of students who attended some courses?
SELECT student_id FROM student_course_attendance
CREATE TABLE table_name_78 (lost INTEGER, team VARCHAR, drawn VARCHAR)
What was the average Lost entry for Newton, for games with a drawn less than 5?
SELECT AVG(lost) FROM table_name_78 WHERE team = "newton" AND drawn < 5
CREATE TABLE table_name_77 (date VARCHAR, winning_driver VARCHAR)
When was pedro rodríguez the winning driver?
SELECT date FROM table_name_77 WHERE winning_driver = "pedro rodríguez"
CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, opponent VARCHAR)
When has a Result of 0–2 and a Opponent of aberdeen?
SELECT date FROM table_name_13 WHERE result = "0–2" AND opponent = "aberdeen"
CREATE TABLE table_name_61 (losses INTEGER, mlb_season VARCHAR)
How many losses did the 1943 MLB have?
SELECT AVG(losses) FROM table_name_61 WHERE mlb_season = "1943"
CREATE TABLE review (u_id VARCHAR)
How many different users wrote some reviews?
SELECT COUNT(DISTINCT u_id) FROM review
CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR)
Find the name of the teacher who teaches the largest number of students.
SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom GROUP BY T2.firstname, T2.lastname ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR)
What are the results for the game with 82,113 attending?
SELECT result FROM table_name_41 WHERE attendance = "82,113"
CREATE TABLE table_name_11 (location VARCHAR, result VARCHAR)
What location was the game with the result of 29-14?
SELECT location FROM table_name_11 WHERE result = "29-14"
CREATE TABLE table_1473672_9 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
what's the nhl team with college/junior/club team being brandon wheat kings (wchl)
SELECT nhl_team FROM table_1473672_9 WHERE college_junior_club_team = "Brandon Wheat Kings (WCHL)"
CREATE TABLE AIRLINES (Abbreviation VARCHAR, Airline VARCHAR)
What is the abbreviation of Airline "JetBlue Airways"?
SELECT Abbreviation FROM AIRLINES WHERE Airline = "JetBlue Airways"
CREATE TABLE table_1974545_2 (founded VARCHAR, location VARCHAR)
When was the school in Salem, Massachusetts located?
SELECT founded FROM table_1974545_2 WHERE location = "Salem, Massachusetts"
CREATE TABLE table_name_90 (score VARCHAR, venue VARCHAR, team_2 VARCHAR)
Team 2 of Yokohama F. Marinos in the n/a venue had what score?
SELECT score FROM table_name_90 WHERE venue = "n/a" AND team_2 = "yokohama f. marinos"
CREATE TABLE table_25839957_5 (opengl VARCHAR, code_name VARCHAR)
How many opengl have the ironlake ( clarkdale ) code name?
SELECT COUNT(opengl) FROM table_25839957_5 WHERE code_name = "Ironlake ( Clarkdale )"
CREATE TABLE table_name_29 (type VARCHAR, locomotive_number VARCHAR)
What type is locomotive CTN 1364?
SELECT type FROM table_name_29 WHERE locomotive_number = "ctn 1364"
CREATE TABLE table_name_57 (city VARCHAR, icao VARCHAR)
In what city is RJSN located?
SELECT city FROM table_name_57 WHERE icao = "rjsn"
CREATE TABLE table_name_47 (date VARCHAR, site VARCHAR)
What date was the game held at UMBC Field?
SELECT date FROM table_name_47 WHERE site = "umbc field"
CREATE TABLE table_name_86 (nationality VARCHAR, player VARCHAR)
What is the nationality of Mattias Modig?
SELECT nationality FROM table_name_86 WHERE player = "mattias modig"
CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR)
Show the id, the date of account opened, the account name, and other account detail for all accounts.
SELECT account_id, date_account_opened, account_name, other_account_details FROM Accounts
CREATE TABLE table_name_75 (score VARCHAR, opponents VARCHAR)
What was the score for the opponent lukáš dlouhý leander paes?
SELECT score FROM table_name_75 WHERE opponents = "lukáš dlouhý leander paes"
CREATE TABLE table_name_28 (place VARCHAR, player VARCHAR)
What is the place of Mark O'Meara?
SELECT place FROM table_name_28 WHERE player = "mark o'meara"
CREATE TABLE table_28797906_3 (economy VARCHAR, wickets VARCHAR)
When the number of wickets is 29, what was the economy?
SELECT economy FROM table_28797906_3 WHERE wickets = 29
CREATE TABLE table_3005999_1 (route_number VARCHAR, origin VARCHAR, destination VARCHAR)
How many route numbers occur for the origin of Birmingham and destination of Bristol?
SELECT COUNT(route_number) FROM table_3005999_1 WHERE origin = "Birmingham" AND destination = "Bristol"
CREATE TABLE table_28846752_8 (matches INTEGER)
What is the highest number listed for matches?
SELECT MAX(matches) FROM table_28846752_8
CREATE TABLE table_name_72 (record VARCHAR, game VARCHAR)
Can you tell me the Record that has the Game of 19?
SELECT record FROM table_name_72 WHERE game = 19
CREATE TABLE table_name_34 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, state VARCHAR)
What is the average of the swimsuit smaller than 9.545 , of Iowa, with an evening gown larger than 9.625?
SELECT AVG(average) FROM table_name_34 WHERE swimsuit < 9.545 AND state = "iowa" AND evening_gown > 9.625
CREATE TABLE table_1514559_1 (year INTEGER, championship VARCHAR)
What year was the most recent US Open championship?
SELECT MAX(year) FROM table_1514559_1 WHERE championship = "US Open"
CREATE TABLE table_name_26 (japanese_title VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)
What Japanese show on NHK had average ratings of 9.2%?
SELECT japanese_title FROM table_name_26 WHERE tv_station = "nhk" AND average_ratings = "9.2%"
CREATE TABLE table_name_23 (american VARCHAR, british VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR)
What is American, when British is "ɪ, ə", and when Initial-Syllable Open/Semi-Open Unstressed Vowels is "æ /ɨ/"?
SELECT american FROM table_name_23 WHERE british = "ɪ, ə" AND initial_syllable_open_semi_open_unstressed_vowels = "æ /ɨ/"
CREATE TABLE table_name_89 (name VARCHAR, rank VARCHAR)
What is the name of Rank 5?
SELECT name FROM table_name_89 WHERE rank = 5
End of preview. Expand in Data Studio

SQL Create Context (mini) — 300 train / 200 eval

A curated, deduplicated 500-row split of b-mc2/sql-create-context used to LoRA-fine-tune Qwen3.5-2B for Text-to-SQL.

Schema

Each row has three string fields:

field description
schema A CREATE TABLE ... statement (SQLite-flavoured)
question Natural-language question
answer Gold SQL query

Splits

split rows
train 300
eval 200

Provenance

Filtered to schemas ≤ 1500 chars and deduplicated on the full triple. Sampled with seed=42 from the source train split. No examples leak between splits.

Intended use

This split is intentionally small (500 rows) for parameter-efficient fine-tuning on a single GPU. It is not a capability benchmark; use the upstream Spider/BIRD datasets for that.

Licensing

Inherits the source dataset's CC-BY-4.0 license.

Downloads last month
35

Models trained or fine-tuned on Vicen-te/sql-create-context-mini