question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Which Car numbers have a First used of currently on order? | CREATE TABLE table_name_37 (car_numbers VARCHAR, first_used VARCHAR) | SELECT car_numbers FROM table_name_37 WHERE first_used = "currently on order" |
What was the year elected in District 17? | CREATE TABLE table_name_87 (elected INTEGER, district VARCHAR) | SELECT MIN(elected) FROM table_name_87 WHERE district = 17 |
What was the year elected in District 15? | CREATE TABLE table_name_56 (elected VARCHAR, district VARCHAR) | SELECT elected FROM table_name_56 WHERE district = 15 |
What year was Incumbent Ed Towns elected with a district smaller than 10? | CREATE TABLE table_name_19 (elected INTEGER, incumbent VARCHAR, district VARCHAR) | SELECT AVG(elected) FROM table_name_19 WHERE incumbent = "ed towns" AND district < 10 |
What party has a district of 28 and was elected after 1983? | CREATE TABLE table_name_98 (party VARCHAR, elected VARCHAR, district VARCHAR) | SELECT party FROM table_name_98 WHERE elected > 1983 AND district = 28 |
What's the elected year of Nydia Velazquez in a district bigger than 2 and a democrat? | CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR) | SELECT AVG(elected) FROM table_name_69 WHERE party = "democrat" AND district > 2 AND incumbent = "nydia velazquez" |
Name the least year for goalscore of ortiz and goals more than 25 | CREATE TABLE table_name_81 (year INTEGER, top_goalscorer VARCHAR, goals VARCHAR) | SELECT MIN(year) FROM table_name_81 WHERE top_goalscorer = "ortiz" AND goals > 25 |
What was the date of the game when St. Louis was the visiting team? | CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_17 WHERE visitor = "st. louis" |
What was the record at the game with a score of 7–5? | CREATE TABLE table_name_42 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_42 WHERE score = "7–5" |
What position shows for canada, and an NHL team of new york islanders, and a Pick # of 113? | CREATE TABLE table_name_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_name_29 WHERE nationality = "canada" AND nhl_team = "new york islanders" AND pick__number = "113" |
What is the Position for the brandon wheat kings (wchl)? | CREATE TABLE table_name_92 (position VARCHAR, college_junior_club_team VARCHAR) | SELECT position FROM table_name_92 WHERE college_junior_club_team = "brandon wheat kings (wchl)" |
What is the Nationality for the university of wisconsin (wcha), and a Player of bob lundeen? | CREATE TABLE table_name_30 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_30 WHERE college_junior_club_team = "university of wisconsin (wcha)" AND player = "bob lundeen" |
What is the Pick # for brent meeke? | CREATE TABLE table_name_45 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_name_45 WHERE player = "brent meeke" |
What is the NHL team of dave murphy? | CREATE TABLE table_name_29 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_name_29 WHERE player = "dave murphy" |
What Nationality had a Pick # of 117? | CREATE TABLE table_name_91 (nationality VARCHAR, pick__number VARCHAR) | SELECT nationality FROM table_name_91 WHERE pick__number = "117" |
On what Date of the race was Nesta Carter the Athlete? | CREATE TABLE table_name_46 (date VARCHAR, athlete VARCHAR) | SELECT date FROM table_name_46 WHERE athlete = "nesta carter" |
What is the Athlete of the race with a Time of 9.78? | CREATE TABLE table_name_14 (athlete VARCHAR, time VARCHAR) | SELECT athlete FROM table_name_14 WHERE time = 9.78 |
Which area 2006 km² has an area 1996 km² smaller than 17.31? | CREATE TABLE table_name_38 (area_2006_km² INTEGER, area_1996_km² INTEGER) | SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.31 |
Which area 2006 km² has an area 1996 km² of 26.39, and a pop 2006 smaller than 18,610? | CREATE TABLE table_name_94 (area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR) | SELECT MIN(area_2006_km²) FROM table_name_94 WHERE area_1996_km² = 26.39 AND pop_2006 < 18 OFFSET 610 |
Which area 2006 km² has a city of sopot, and an area 1996 km² smaller than 17.31? | CREATE TABLE table_name_22 (area_2006_km² INTEGER, city VARCHAR, area_1996_km² VARCHAR) | SELECT MAX(area_2006_km²) FROM table_name_22 WHERE city = "sopot" AND area_1996_km² < 17.31 |
Which area 1996 km² has a pop 1999 of 17,510, and an area 2006 km² larger than 30? | CREATE TABLE table_name_91 (area_1996_km² INTEGER, pop_1999 VARCHAR, area_2006_km² VARCHAR) | SELECT MAX(area_1996_km²) FROM table_name_91 WHERE pop_1999 = "17,510" AND area_2006_km² > 30 |
What is the highest playoffs that has tampa bay as the team? | CREATE TABLE table_name_79 (playoffs INTEGER, teams VARCHAR) | SELECT MAX(playoffs) FROM table_name_79 WHERE teams = "tampa bay" |
What rank has 123 as the total? | CREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR) | SELECT rank FROM table_name_96 WHERE total = 123 |
What teams have 1/2/2011 as the streak end? | CREATE TABLE table_name_35 (teams VARCHAR, streak_end VARCHAR) | SELECT teams FROM table_name_35 WHERE streak_end = "1/2/2011" |
What streak start has a total less than 79, 22t as the rank, and tampa bay as the teams? | CREATE TABLE table_name_28 (streak_start VARCHAR, teams VARCHAR, total VARCHAR, rank VARCHAR) | SELECT streak_start FROM table_name_28 WHERE total < 79 AND rank = "22t" AND teams = "tampa bay" |
What was the method for the UFC Fight Night 10 event? | CREATE TABLE table_name_11 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_11 WHERE event = "ufc fight night 10" |
What was the result for the M-1 Selection Europe event? | CREATE TABLE table_name_60 (res VARCHAR, event VARCHAR) | SELECT res FROM table_name_60 WHERE event = "m-1 selection europe" |
Who was the opponent that led to a record of 23-5? | CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_55 WHERE record = "23-5" |
What is the number of Silver medals with 2 Bronze and 0 Gold? | CREATE TABLE table_name_78 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT COUNT(silver) FROM table_name_78 WHERE bronze = 2 AND gold < 0 |
what team was the 1st leg champion of sakalai | CREATE TABLE table_name_98 (champion VARCHAR) | SELECT 1 AS st_leg FROM table_name_98 WHERE champion = "sakalai" |
what season did the juventus win | CREATE TABLE table_name_54 (season VARCHAR, champion VARCHAR) | SELECT season FROM table_name_54 WHERE champion = "juventus" |
What's the average Year that has Points that's smaller than 9 with a Rank of 24th? | CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR) | SELECT AVG(year) FROM table_name_71 WHERE points < 9 AND rank = "24th" |
Who has a Rank larger than 3 with a speed of 119.838mph? | CREATE TABLE table_name_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR) | SELECT rider FROM table_name_12 WHERE rank > 3 AND speed = "119.838mph" |
Which Team has a Time of 1:14.51.73? | CREATE TABLE table_name_31 (team VARCHAR, time VARCHAR) | SELECT team FROM table_name_31 WHERE time = "1:14.51.73" |
Which Speed has a Rank smaller than 9 in kawasaki zx6 600cc Team? | CREATE TABLE table_name_6 (speed VARCHAR, rank VARCHAR, team VARCHAR) | SELECT speed FROM table_name_6 WHERE rank < 9 AND team = "kawasaki zx6 600cc" |
WHich Speed has a Rank of 2? | CREATE TABLE table_name_59 (speed VARCHAR, rank VARCHAR) | SELECT speed FROM table_name_59 WHERE rank = 2 |
What is the total of Game with an Opponent of @ Hartford Whalers and February that's larger than 19? | CREATE TABLE table_name_49 (game INTEGER, opponent VARCHAR, february VARCHAR) | SELECT SUM(game) FROM table_name_49 WHERE opponent = "@ hartford whalers" AND february > 19 |
Which Opponent has a February larger than 7 and Record of 37-16-4? | CREATE TABLE table_name_3 (opponent VARCHAR, february VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_3 WHERE february > 7 AND record = "37-16-4" |
What is listed as the highest February with a Record of 34-14-4 and Game that's larger than 52? | CREATE TABLE table_name_51 (february INTEGER, record VARCHAR, game VARCHAR) | SELECT MAX(february) FROM table_name_51 WHERE record = "34-14-4" AND game > 52 |
Which Opponent has a Game larger than 56 and February of 24? | CREATE TABLE table_name_89 (opponent VARCHAR, game VARCHAR, february VARCHAR) | SELECT opponent FROM table_name_89 WHERE game > 56 AND february = 24 |
Which Extra points is the lowest one that has a Player of rheinschild, and Touchdowns larger than 1? | CREATE TABLE table_name_26 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR) | SELECT MIN(extra_points) FROM table_name_26 WHERE player = "rheinschild" AND touchdowns > 1 |
What result has mario & karina as the couple? | CREATE TABLE table_name_76 (result VARCHAR, couple VARCHAR) | SELECT result FROM table_name_76 WHERE couple = "mario & karina" |
Which Time has a Set 2 of 20–25, and a Date of 05 jun? | CREATE TABLE table_name_15 (time VARCHAR, set_2 VARCHAR, date VARCHAR) | SELECT time FROM table_name_15 WHERE set_2 = "20–25" AND date = "05 jun" |
Which Date has a Score of 0–3, and a Set 2 of 16–25? | CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR, set_2 VARCHAR) | SELECT date FROM table_name_49 WHERE score = "0–3" AND set_2 = "16–25" |
Which Total has a Set 2 of 19–25? | CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR) | SELECT total FROM table_name_60 WHERE set_2 = "19–25" |
Which Score has a Set 2 of 25–17, and a Time of 16:00? | CREATE TABLE table_name_9 (score VARCHAR, set_2 VARCHAR, time VARCHAR) | SELECT score FROM table_name_9 WHERE set_2 = "25–17" AND time = "16:00" |
Which Set 1 has a Time of 14:00, and a Set 3 of 19–25? | CREATE TABLE table_name_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR) | SELECT set_1 FROM table_name_22 WHERE time = "14:00" AND set_3 = "19–25" |
Which Time has a Set 3 of 24–26, and a Score of 0–3? | CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR) | SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = "0–3" |
What was the attendance when Nuneaton Borough was the home team? | CREATE TABLE table_name_44 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_44 WHERE home_team = "nuneaton borough" |
What's the site of the recap at qualcomm stadium? | CREATE TABLE table_name_81 (nflcom_recap VARCHAR, game_site VARCHAR) | SELECT nflcom_recap FROM table_name_81 WHERE game_site = "qualcomm stadium" |
What is the name of the race in Cleveland, Ohio? | CREATE TABLE table_name_65 (race_name VARCHAR, city_location VARCHAR) | SELECT race_name FROM table_name_65 WHERE city_location = "cleveland, ohio" |
Which circuit did Michael Andretti win? | CREATE TABLE table_name_66 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_66 WHERE winning_driver = "michael andretti" |
Who was the winning team at the Homestead-Miami Speedway? | CREATE TABLE table_name_74 (winning_team VARCHAR, circuit VARCHAR) | SELECT winning_team FROM table_name_74 WHERE circuit = "homestead-miami speedway" |
What was Jimmy Vasser's fastest lap? | CREATE TABLE table_name_32 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_name_32 WHERE winning_driver = "jimmy vasser" |
Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl? | CREATE TABLE table_name_4 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) | SELECT spanish_voice_actor FROM table_name_4 WHERE french_voice_actor = "véronique desmadryl" |
Which Spanish voice actor does the same character as French voice actor Dennis Boileau? | CREATE TABLE table_name_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) | SELECT spanish_voice_actor FROM table_name_61 WHERE french_voice_actor = "dennis boileau" |
Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl? | CREATE TABLE table_name_36 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) | SELECT spanish_voice_actor FROM table_name_36 WHERE french_voice_actor = "véronique desmadryl" |
What character does German voice actor Dirk Fenselau play? | CREATE TABLE table_name_63 (character VARCHAR, german_voice_actor VARCHAR) | SELECT character FROM table_name_63 WHERE german_voice_actor = "dirk fenselau" |
What character does Italian voice actor Emanuela Damasio play? | CREATE TABLE table_name_48 (character VARCHAR, italian_voice_actor VARCHAR) | SELECT character FROM table_name_48 WHERE italian_voice_actor = "emanuela damasio" |
Which character has a French voice actor of Marc Saez and a German voice actor of Dirk Fenselau? | CREATE TABLE table_name_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR) | SELECT character FROM table_name_70 WHERE french_voice_actor = "marc saez" AND german_voice_actor = "dirk fenselau" |
Jeff Staples player for which College, Junior or Club league? | CREATE TABLE table_name_28 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_28 WHERE player = "jeff staples" |
Ken Hemenway is in which Round? | CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_23 WHERE player = "ken hemenway" |
Which Nation does e.j. bradley play for? | CREATE TABLE table_name_99 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_99 WHERE player = "e.j. bradley" |
Mike Crowley plays defense for league? | CREATE TABLE table_name_86 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_86 WHERE position = "defense" AND player = "mike crowley" |
Name the most games with drawn more than 1 | CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER) | SELECT MAX(games) FROM table_name_69 WHERE drawn > 1 |
Name the most points with lost of 2 and games more than 7 | CREATE TABLE table_name_74 (points INTEGER, lost VARCHAR, games VARCHAR) | SELECT MAX(points) FROM table_name_74 WHERE lost = 2 AND games > 7 |
What number did Moño Negro peak at before 1996? | CREATE TABLE table_name_81 (peak INTEGER, track VARCHAR, year VARCHAR) | SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 1996 |
What was the startup year for the project with apache energy/inpex as the operator? | CREATE TABLE table_name_41 (year_startup VARCHAR, operator VARCHAR) | SELECT year_startup FROM table_name_41 WHERE operator = "apache energy/inpex" |
What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator? | CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR) | SELECT year_startup FROM table_name_18 WHERE operator = "albian sands" AND project_name = "jackpine mine (ph 2)" |
What was the startup year for the project with a nioc operator? | CREATE TABLE table_name_89 (year_startup VARCHAR, operator VARCHAR) | SELECT year_startup FROM table_name_89 WHERE operator = "nioc" |
What was the name of the project that peaked at 40 and was in the USA? | CREATE TABLE table_name_38 (project_name VARCHAR, peak VARCHAR, country VARCHAR) | SELECT project_name FROM table_name_38 WHERE peak = "40" AND country = "usa" |
What country did the project, Bonga SW; Aparo with a shell operator take place? | CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR) | SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo" |
What is the amount of the 1st prize when the Winner was ken green (4)? | CREATE TABLE table_name_56 (winner VARCHAR) | SELECT 1 AS st_prize___$__ FROM table_name_56 WHERE winner = "ken green (4)" |
What is the date of the Los Angeles open? | CREATE TABLE table_name_27 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_27 WHERE tournament = "los angeles open" |
What is the name of the Tournament on oct 23? | CREATE TABLE table_name_36 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_36 WHERE date = "oct 23" |
Who created One Night in Lisbon in 1941? | CREATE TABLE table_name_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR) | SELECT theatre, _studio, _or_network FROM table_name_78 WHERE date = "1941" AND title = "one night in lisbon" |
what date did reuschel (12-3) lose? | CREATE TABLE table_name_36 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_36 WHERE loss = "reuschel (12-3)" |
How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou, and a Jury larger than 4? | CREATE TABLE table_name_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR) | SELECT COUNT(draw) FROM table_name_44 WHERE televote > 18 AND artist = "elizabeth anastasiou" AND jury > 4 |
Which Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than 60? | CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR) | SELECT MAX(place) FROM table_name_65 WHERE artist = "nikolas metaxas" AND televote > 60 |
Which average Total has a Place smaller than 2, and a Draw smaller than 5? | CREATE TABLE table_name_99 (total INTEGER, place VARCHAR, draw VARCHAR) | SELECT AVG(total) FROM table_name_99 WHERE place < 2 AND draw < 5 |
Which Date has a Record of 0-2? | CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_14 WHERE record = "0-2" |
Which Record has a Match Report of recap, and a Result of l 30–20? | CREATE TABLE table_name_92 (record VARCHAR, match_report VARCHAR, result VARCHAR) | SELECT record FROM table_name_92 WHERE match_report = "recap" AND result = "l 30–20" |
Which Match Report has a Date of october 26, 2008? | CREATE TABLE table_name_83 (match_report VARCHAR, date VARCHAR) | SELECT match_report FROM table_name_83 WHERE date = "october 26, 2008" |
Which Opponent has a Record of 0-3? | CREATE TABLE table_name_83 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_83 WHERE record = "0-3" |
Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium, and a Week of 15? | CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR) | SELECT record FROM table_name_41 WHERE kickoff = "12:00pm cst" AND game_site = "arrowhead stadium" AND week = "15" |
What was the result when the new england patriots played? | CREATE TABLE table_name_33 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_33 WHERE opponent = "new england patriots" |
How many years had budgets of $39 million? | CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR) | SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million" |
What is the most recent year featuring the director Christopher Kulikowski? | CREATE TABLE table_name_89 (year INTEGER, director VARCHAR) | SELECT MAX(year) FROM table_name_89 WHERE director = "christopher kulikowski" |
Which director had a worldwide gross of $30,471? | CREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR) | SELECT director FROM table_name_97 WHERE gross__worldwide_ = "$30,471" |
What is 2005's budget figure? | CREATE TABLE table_name_4 (budget VARCHAR, year VARCHAR) | SELECT budget FROM table_name_4 WHERE year = 2005 |
Which airport has IATA of BKK? | CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR) | SELECT airport FROM table_name_59 WHERE iata = "bkk" |
What is the IATA for Beijing Capital International Airport? | CREATE TABLE table_name_14 (iata VARCHAR, airport VARCHAR) | SELECT iata FROM table_name_14 WHERE airport = "beijing capital international airport" |
Which airport is located in Singapore? | CREATE TABLE table_name_33 (airport VARCHAR, country VARCHAR) | SELECT airport FROM table_name_33 WHERE country = "singapore" |
What is the country of the airport with ICAO of WADD? | CREATE TABLE table_name_88 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_88 WHERE icao = "wadd" |
Which city holds Newcastle Airport? | CREATE TABLE table_name_98 (city VARCHAR, airport VARCHAR) | SELECT city FROM table_name_98 WHERE airport = "newcastle airport" |
What is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov? | CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR) | SELECT AVG(capacity) FROM table_name_14 WHERE stadium = "kadrioru stadium" AND current_manager = "sergei ratnikov" |
What was the other number with 63.98% bush? | CREATE TABLE table_name_59 (others__number VARCHAR, bush__percentage VARCHAR) | SELECT others__number FROM table_name_59 WHERE bush__percentage = "63.98%" |
Band of am, and a Frequency of 0 846 has what purpose? | CREATE TABLE table_name_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR) | SELECT purpose FROM table_name_18 WHERE band = "am" AND frequency = "0 846" |
Frequency of 100.1 has what on-air id? | CREATE TABLE table_name_87 (on_air_id VARCHAR, frequency VARCHAR) | SELECT on_air_id FROM table_name_87 WHERE frequency = "100.1" |
Callsign of 6nan has what purpose? | CREATE TABLE table_name_34 (purpose VARCHAR, callsign VARCHAR) | SELECT purpose FROM table_name_34 WHERE callsign = "6nan" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.