question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What name is associated with a rank of less than 24, and an altitude (meters) of 3085? | CREATE TABLE table_name_41 (name VARCHAR, rank VARCHAR, altitude__meters_ VARCHAR) | SELECT name FROM table_name_41 WHERE rank < 24 AND altitude__meters_ = 3085 |
What is the primary conference with a IHSAA Football Class of A, at South Decatur school? | CREATE TABLE table_name_56 (primary_conference VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) | SELECT primary_conference FROM table_name_56 WHERE ihsaa_football_class = "a" AND school = "south decatur" |
What is the Location with a county of 30 Hancock? | CREATE TABLE table_name_28 (location VARCHAR, county VARCHAR) | SELECT location FROM table_name_28 WHERE county = "30 hancock" |
What county has an IHSAA Football Class of A, and a Mascot of royals? | CREATE TABLE table_name_36 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_36 WHERE ihsaa_football_class = "a" AND mascot = "royals" |
What school has a county of 69 ripley? | CREATE TABLE table_name_74 (school VARCHAR, county VARCHAR) | SELECT school FROM table_name_74 WHERE county = "69 ripley" |
What is the enrollment for the school with the mascot of the Fighting '59ers? | CREATE TABLE table_name_9 (enrollment VARCHAR, mascot VARCHAR) | SELECT enrollment FROM table_name_9 WHERE mascot = "fighting '59ers" |
What nation has a total less than 2, silver of 1 and bronze less than 1? | CREATE TABLE table_name_32 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_32 WHERE total < 2 AND bronze < 1 AND silver = 1 |
What's the total with silver being less than 0, less than 1 gold, and 3 bronze? | CREATE TABLE table_name_25 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT SUM(total) FROM table_name_25 WHERE bronze = 3 AND gold < 1 AND silver < 0 |
What's Australia's time in the heat more than 4? | CREATE TABLE table_name_43 (time VARCHAR, heat VARCHAR, nationality VARCHAR) | SELECT time FROM table_name_43 WHERE heat > 4 AND nationality = "australia" |
What's Sara Isakovič's lane number that had a heat of 3? | CREATE TABLE table_name_43 (lane INTEGER, heat VARCHAR, name VARCHAR) | SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = "sara isakovič" |
What's the heat that was timed 2:08.54? | CREATE TABLE table_name_64 (heat VARCHAR, time VARCHAR) | SELECT COUNT(heat) FROM table_name_64 WHERE time = "2:08.54" |
Who is the Director of Fish Tales? | CREATE TABLE table_name_94 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_94 WHERE title = "fish tales" |
What was released on 1936-08-29? | CREATE TABLE table_name_40 (title VARCHAR, release_date VARCHAR) | SELECT title FROM table_name_40 WHERE release_date = "1936-08-29" |
What is the release date of Milk and Money? | CREATE TABLE table_name_50 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_50 WHERE title = "milk and money" |
What is the release date of I Wanna Play House? | CREATE TABLE table_name_95 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_95 WHERE title = "i wanna play house" |
Who is the director of Little Beau Porky? | CREATE TABLE table_name_31 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_31 WHERE title = "little beau porky" |
What is the release date of The Blow Out? | CREATE TABLE table_name_59 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_59 WHERE title = "the blow out" |
Who was the author for company Buzz Productions Theater? | CREATE TABLE table_name_18 (author VARCHAR, company VARCHAR) | SELECT author FROM table_name_18 WHERE company = "buzz productions theater" |
What country had the play Cyclops? | CREATE TABLE table_name_15 (country VARCHAR, play VARCHAR) | SELECT country FROM table_name_15 WHERE play = "cyclops" |
What country had the play Medea? | CREATE TABLE table_name_5 (country VARCHAR, play VARCHAR) | SELECT country FROM table_name_5 WHERE play = "medea" |
What play is from the country Belgium? | CREATE TABLE table_name_18 (play VARCHAR, country VARCHAR) | SELECT play FROM table_name_18 WHERE country = "belgium" |
What play has a base of Athens and was written by Aeschylus? | CREATE TABLE table_name_67 (play VARCHAR, author VARCHAR, base VARCHAR) | SELECT play FROM table_name_67 WHERE author = "aeschylus" AND base = "athens" |
What is the company from Greece with author Aeschylus? | CREATE TABLE table_name_45 (company VARCHAR, country VARCHAR, author VARCHAR) | SELECT company FROM table_name_45 WHERE country = "greece" AND author = "aeschylus" |
What is the coaster name that was opened in 1978, and have wooden track? | CREATE TABLE table_name_40 (coaster_name VARCHAR, year_opened VARCHAR, track VARCHAR) | SELECT coaster_name FROM table_name_40 WHERE year_opened = "1978" AND track = "wooden" |
Which year opened has le monstre coaster? | CREATE TABLE table_name_57 (year_opened VARCHAR, coaster_name VARCHAR) | SELECT year_opened FROM table_name_57 WHERE coaster_name = "le monstre" |
Which coaster is located in sandusky, Ohio? | CREATE TABLE table_name_87 (coaster_name VARCHAR, location VARCHAR) | SELECT coaster_name FROM table_name_87 WHERE location = "sandusky, ohio" |
Which year opened is located in west mifflin, pennsylvania? | CREATE TABLE table_name_50 (year_opened VARCHAR, location VARCHAR) | SELECT year_opened FROM table_name_50 WHERE location = "west mifflin, pennsylvania" |
What is the lowest league cup goals for the entry with fa cup goals greater than 0 and FA cup apps larger than 2? | CREATE TABLE table_name_14 (league_cup_goals INTEGER, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR) | SELECT MIN(league_cup_goals) FROM table_name_14 WHERE fa_cup_goals > 0 AND fa_cup_apps > 2 |
What is the sum of league cup appearances for the players with FA cup goals larger than 0 and FA cup appearances less than 2? | CREATE TABLE table_name_63 (league_cup_apps INTEGER, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR) | SELECT SUM(league_cup_apps) FROM table_name_63 WHERE fa_cup_goals > 0 AND fa_cup_apps < 2 |
What is the highest league cup appearances for the player with league cup goals of 0, and FA cup appearances of 2, and 4 league goals? | CREATE TABLE table_name_81 (league_cup_apps INTEGER, league_goals VARCHAR, league_cup_goals VARCHAR, fa_cup_apps VARCHAR) | SELECT MAX(league_cup_apps) FROM table_name_81 WHERE league_cup_goals = 0 AND fa_cup_apps = 2 AND league_goals = 4 |
What game was played at Omni Coliseum with a w 105-95 score? | CREATE TABLE table_name_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR) | SELECT game FROM table_name_32 WHERE location_attendance = "omni coliseum" AND score = "w 105-95" |
When did the team have a 10-8 record? | CREATE TABLE table_name_26 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_26 WHERE record = "10-8" |
When was 11-8 the record? | CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_43 WHERE record = "11-8" |
What is the total number for the position that has less than 2 draws, less than 9 losses and more than 24? | CREATE TABLE table_name_24 (position VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_24 WHERE drawn < 2 AND lost < 9 AND points > 24 |
What is the highest played with more than 0 draws, less than 3 losses, and less than 27 points? | CREATE TABLE table_name_62 (played INTEGER, points VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT MAX(played) FROM table_name_62 WHERE drawn > 0 AND lost < 3 AND points < 27 |
What is the total number played with 8 points and a position more than 6? | CREATE TABLE table_name_90 (played VARCHAR, points VARCHAR, position VARCHAR) | SELECT COUNT(played) FROM table_name_90 WHERE points = 8 AND position > 6 |
What is the total number played with 1 drawn, and less than 7 points? | CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7 |
What is the most silver when bronze is more than 1 and total is more than 48? | CREATE TABLE table_name_40 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 48 |
what is the most bronze when the total is 9? | CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR) | SELECT MAX(bronze) FROM table_name_94 WHERE total = 9 |
what is the least bronze when the nation is soviet union and the total is less than 11? | CREATE TABLE table_name_51 (bronze INTEGER, nation VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_51 WHERE nation = "soviet union" AND total < 11 |
What is the category when Hy Conrad nominated in 2003? | CREATE TABLE table_name_84 (category VARCHAR, nominee_s_ VARCHAR, year VARCHAR) | SELECT category FROM table_name_84 WHERE nominee_s_ = "hy conrad" AND year = 2003 |
What is the long figure when gain is less than 0? | CREATE TABLE table_name_28 (long INTEGER, gain INTEGER) | SELECT AVG(long) FROM table_name_28 WHERE gain < 0 |
What is the loss when the average/gain is less than 16.7, gain is 104 and long is larger than 4? | CREATE TABLE table_name_12 (loss INTEGER, gain VARCHAR, avg_g VARCHAR, long VARCHAR) | SELECT AVG(loss) FROM table_name_12 WHERE avg_g < 16.7 AND long > 4 AND gain = 104 |
What is the time for Estonia with sc/d notes? | CREATE TABLE table_name_9 (time VARCHAR, notes VARCHAR, country VARCHAR) | SELECT time FROM table_name_9 WHERE notes = "sc/d" AND country = "estonia" |
What is the time for the rank after 5 with sc/d notes? | CREATE TABLE table_name_55 (time VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT time FROM table_name_55 WHERE notes = "sc/d" AND rank > 5 |
What was Law Hiu Fung's time? | CREATE TABLE table_name_26 (time VARCHAR, athlete VARCHAR) | SELECT time FROM table_name_26 WHERE athlete = "law hiu fung" |
What is the time for the rank after 5 with sc/d notes? | CREATE TABLE table_name_27 (time VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT time FROM table_name_27 WHERE notes = "sc/d" AND rank > 5 |
What is the highest rank for a 6:52.70 time and notes of sa/b? | CREATE TABLE table_name_56 (rank INTEGER, notes VARCHAR, time VARCHAR) | SELECT MAX(rank) FROM table_name_56 WHERE notes = "sa/b" AND time = "6:52.70" |
What is the lowest rank that has paul biedermann as the name? | CREATE TABLE table_name_31 (rank INTEGER, name VARCHAR) | SELECT MIN(rank) FROM table_name_31 WHERE name = "paul biedermann" |
What nationality has 2 as the rank? | CREATE TABLE table_name_32 (nationality VARCHAR, rank VARCHAR) | SELECT nationality FROM table_name_32 WHERE rank = 2 |
What is the highest lane that has nimrod shapira bar-or as the name? | CREATE TABLE table_name_38 (lane INTEGER, name VARCHAR) | SELECT MAX(lane) FROM table_name_38 WHERE name = "nimrod shapira bar-or" |
What is the latest year they were nominated? | CREATE TABLE table_name_44 (year INTEGER, result VARCHAR) | SELECT MAX(year) FROM table_name_44 WHERE result = "nominated" |
What is the result of the choice tv actor: drama category? | CREATE TABLE table_name_22 (result VARCHAR, category VARCHAR) | SELECT result FROM table_name_22 WHERE category = "choice tv actor: drama" |
Which Drawn has a Position smaller than 8, and a Played smaller than 14? | CREATE TABLE table_name_85 (drawn INTEGER, position VARCHAR, played VARCHAR) | SELECT MAX(drawn) FROM table_name_85 WHERE position < 8 AND played < 14 |
Which Points have a Drawn smaller than 2, and a Lost of 12, and a Name of ev bad wörishofen? | CREATE TABLE table_name_24 (points INTEGER, name VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT MAX(points) FROM table_name_24 WHERE drawn < 2 AND lost = 12 AND name = "ev bad wörishofen" |
What place did Lee Westwood finish in? | CREATE TABLE table_name_74 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_74 WHERE player = "lee westwood" |
What is the to par score of the player that had a score of 67-68=135? | CREATE TABLE table_name_15 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_15 WHERE score = 67 - 68 = 135 |
What Televote Points had a Final Points score of 2? | CREATE TABLE table_name_43 (televote_points VARCHAR, final_points VARCHAR) | SELECT televote_points FROM table_name_43 WHERE final_points = "2" |
Which Draw had 8 Televote Points? | CREATE TABLE table_name_43 (draw VARCHAR, televote_points VARCHAR) | SELECT COUNT(draw) FROM table_name_43 WHERE televote_points = "8" |
What was the Jury Points value when there were 3 Televote Points? | CREATE TABLE table_name_5 (jury_points VARCHAR, televote_points VARCHAR) | SELECT jury_points FROM table_name_5 WHERE televote_points = "3" |
Which player was +4 to par and won the Open in 1995? | CREATE TABLE table_name_3 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_3 WHERE to_par = "+4" AND year_s__won = "1995" |
Which player has a to par of +8? | CREATE TABLE table_name_81 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_81 WHERE to_par = "+8" |
What country is ranked smaller than 2? | CREATE TABLE table_name_16 (country VARCHAR, rank INTEGER) | SELECT country FROM table_name_16 WHERE rank < 2 |
What is the rank when the time is 6:50.48? | CREATE TABLE table_name_70 (rank VARCHAR, time VARCHAR) | SELECT rank FROM table_name_70 WHERE time = "6:50.48" |
What is the highest rank with the notes of sa/b, and a time of 6:39.07? | CREATE TABLE table_name_56 (rank INTEGER, notes VARCHAR, time VARCHAR) | SELECT MAX(rank) FROM table_name_56 WHERE notes = "sa/b" AND time = "6:39.07" |
What shows for notes when rank is more than 4, and country is South Korea? | CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR, country VARCHAR) | SELECT notes FROM table_name_31 WHERE rank > 4 AND country = "south korea" |
What is the First Issue date of Bamboo Blade? | CREATE TABLE table_name_89 (first_issue VARCHAR, title VARCHAR) | SELECT first_issue FROM table_name_89 WHERE title = "bamboo blade" |
What is the First issue date of the title with a Last Issue of July 2010? | CREATE TABLE table_name_1 (first_issue VARCHAR, last_issue VARCHAR) | SELECT first_issue FROM table_name_1 WHERE last_issue = "july 2010" |
What is the First Issue date of Soul Eater? | CREATE TABLE table_name_85 (first_issue VARCHAR, title VARCHAR) | SELECT first_issue FROM table_name_85 WHERE title = "soul eater" |
What is the Author of the Title with a First Issue of September 2010? | CREATE TABLE table_name_87 (author VARCHAR, first_issue VARCHAR) | SELECT author FROM table_name_87 WHERE first_issue = "september 2010" |
What is the Author of the Title with an Ongoing Last Issue? | CREATE TABLE table_name_1 (author VARCHAR, last_issue VARCHAR) | SELECT author FROM table_name_1 WHERE last_issue = "ongoing" |
What is the highest number of losses for Presidente Hayes, when the draws were more than 4? | CREATE TABLE table_name_61 (losses INTEGER, team VARCHAR, draws VARCHAR) | SELECT MAX(losses) FROM table_name_61 WHERE team = "presidente hayes" AND draws > 4 |
What is the number of wins when position was larger than 6, and conceded was smaller than 19? | CREATE TABLE table_name_90 (wins VARCHAR, position VARCHAR, conceded VARCHAR) | SELECT COUNT(wins) FROM table_name_90 WHERE position > 6 AND conceded < 19 |
What is the number of losses when there were less than 4 draws, and points were 9? | CREATE TABLE table_name_36 (losses VARCHAR, draws VARCHAR, points VARCHAR) | SELECT losses FROM table_name_36 WHERE draws < 4 AND points = 9 |
What is the number of wins when scored was less than 26, and conceded was larger than 23? | CREATE TABLE table_name_25 (wins INTEGER, scored VARCHAR, conceded VARCHAR) | SELECT SUM(wins) FROM table_name_25 WHERE scored < 26 AND conceded > 23 |
What was the series in season 2009? | CREATE TABLE table_name_61 (series VARCHAR, season VARCHAR) | SELECT series FROM table_name_61 WHERE season = 2009 |
What was the lowest amount of wins before season 2009 for 97 points? | CREATE TABLE table_name_67 (wins INTEGER, points VARCHAR, season VARCHAR) | SELECT MIN(wins) FROM table_name_67 WHERE points = 97 AND season < 2009 |
How many wins had a podium larger than 6 after season 2008? | CREATE TABLE table_name_29 (wins VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT COUNT(wins) FROM table_name_29 WHERE season > 2008 AND podiums > 6 |
what is the date for the week larger than 1 and the opponent detroit lions? | CREATE TABLE table_name_23 (date VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_23 WHERE week > 1 AND opponent = "detroit lions" |
what is the lowest week when the attendance is 54,714? | CREATE TABLE table_name_41 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_41 WHERE attendance = 54 OFFSET 714 |
Which Athlete has a Reaction of 0.248? | CREATE TABLE table_name_9 (athlete VARCHAR, react VARCHAR) | SELECT athlete FROM table_name_9 WHERE react = 0.248 |
Which Rank has a Reaction of 0.198, and a Time smaller than 46.3? | CREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR) | SELECT MAX(rank) FROM table_name_98 WHERE react = 0.198 AND time < 46.3 |
Which Lane has a Time larger than 47.83? | CREATE TABLE table_name_8 (lane INTEGER, time INTEGER) | SELECT AVG(lane) FROM table_name_8 WHERE time > 47.83 |
Which Reaction has a Rank smaller than 4, and a Nationality of trinidad and tobago, and a Time larger than 45.13? | CREATE TABLE table_name_16 (react INTEGER, time VARCHAR, rank VARCHAR, nationality VARCHAR) | SELECT AVG(react) FROM table_name_16 WHERE rank < 4 AND nationality = "trinidad and tobago" AND time > 45.13 |
Count the Rank-Final which has a Year larger than 2008, and an Apparatus of balance beam, and a Rank-Qualifying larger than 4? | CREATE TABLE table_name_68 (rank_final VARCHAR, rank_qualifying VARCHAR, year VARCHAR, apparatus VARCHAR) | SELECT COUNT(rank_final) FROM table_name_68 WHERE year > 2008 AND apparatus = "balance beam" AND rank_qualifying > 4 |
Which the lowest Score-Fina has a Rank-Final of 7 and a Year larger than 2009? | CREATE TABLE table_name_26 (score_final INTEGER, rank_final VARCHAR, year VARCHAR) | SELECT MIN(score_final) FROM table_name_26 WHERE rank_final = 7 AND year > 2009 |
Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275? | CREATE TABLE table_name_8 (year INTEGER, score_qualifying VARCHAR, rank_final VARCHAR, apparatus VARCHAR) | SELECT AVG(year) FROM table_name_8 WHERE rank_final < 2 AND apparatus = "team" AND score_qualifying < 248.275 |
What's the pick for the New York jets with a defensive end? | CREATE TABLE table_name_54 (pick VARCHAR, position VARCHAR, team VARCHAR) | SELECT pick FROM table_name_54 WHERE position = "defensive end" AND team = "new york jets" |
What's the pick for Georgia tech? | CREATE TABLE table_name_94 (pick VARCHAR, college VARCHAR) | SELECT pick FROM table_name_94 WHERE college = "georgia tech" |
Who plays halfback? | CREATE TABLE table_name_54 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_54 WHERE position = "halfback" |
Who is the team for Washington College? | CREATE TABLE table_name_1 (team VARCHAR, college VARCHAR) | SELECT team FROM table_name_1 WHERE college = "washington" |
What is the Rank of the game with an Attendance of 93,039? | CREATE TABLE table_name_98 (rank VARCHAR, attendance VARCHAR) | SELECT COUNT(rank) FROM table_name_98 WHERE attendance = 93 OFFSET 039 |
What fuel system does the diesel engines model have? | CREATE TABLE table_name_60 (fuel_system VARCHAR, model VARCHAR) | SELECT fuel_system FROM table_name_60 WHERE model = "diesel engines" |
What is the displacement for the petrol engines model? | CREATE TABLE table_name_64 (displacement VARCHAR, model VARCHAR) | SELECT displacement FROM table_name_64 WHERE model = "petrol engines" |
What is the size of the 2009 electorate for Gwalior Rural? | CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, name VARCHAR) | SELECT number_of_electorates__2009_ FROM table_name_94 WHERE name = "gwalior rural" |
Who was eliminated that entered after number 3 and lasted 35:55? | CREATE TABLE table_name_74 (eliminated VARCHAR, entered VARCHAR, time VARCHAR) | SELECT eliminated FROM table_name_74 WHERE entered > 3 AND time = "35:55" |
What is the average year in which the finish position was 13th? | CREATE TABLE table_name_30 (year INTEGER, position VARCHAR) | SELECT AVG(year) FROM table_name_30 WHERE position = "13th" |
What is the average year for the Olympic Games? | CREATE TABLE table_name_68 (year INTEGER, competition VARCHAR) | SELECT AVG(year) FROM table_name_68 WHERE competition = "olympic games" |
What is the Label of the September 20, 2008 release with Catalog number RTRADCD491? | CREATE TABLE table_name_22 (label VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT label FROM table_name_22 WHERE catalog = "rtradcd491" AND date = "september 20, 2008" |
What is the Format of the September 22, 2008 release with Catalog number RTRADCD491? | CREATE TABLE table_name_41 (format VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT format FROM table_name_41 WHERE catalog = "rtradcd491" AND date = "september 22, 2008" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.