question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
On what team did John Bowe round winner at Winton Motor Raceway belong to? | CREATE TABLE table_name_44 (team VARCHAR, round_winner VARCHAR, circuit VARCHAR) | SELECT team FROM table_name_44 WHERE round_winner = "john bowe" AND circuit = "winton motor raceway" |
Which Rank has a Club of zulte waregem, and Points larger than 22? | CREATE TABLE table_name_93 (rank VARCHAR, club VARCHAR, points VARCHAR) | SELECT COUNT(rank) FROM table_name_93 WHERE club = "zulte waregem" AND points > 22 |
What is the best top-5 when top-10 is 1 and there are more than 0 wins? | CREATE TABLE table_name_93 (top_5 INTEGER, top_10 VARCHAR, wins VARCHAR) | SELECT MAX(top_5) FROM table_name_93 WHERE top_10 = 1 AND wins > 0 |
What is the Cuchumela Municipality minimum? | CREATE TABLE table_2509112_3 (cuchumuela_municipality INTEGER) | SELECT MIN(cuchumuela_municipality) FROM table_2509112_3 |
Which college has 41 picks? | CREATE TABLE table_name_86 (college VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_86 WHERE pick__number = 41 |
What were the highest goals against when the position was larger than 19 and the goals smaller than 36? | CREATE TABLE table_name_32 (goals_against INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(goals_against) FROM table_name_32 WHERE position > 19 AND goals_for < 36 |
Please show the most common type of ships. | CREATE TABLE ship (TYPE VARCHAR) | SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 |
What date did the episode with Andy Murray as Jamie and John's guest first broadcast? | CREATE TABLE table_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR) | SELECT first_broadcast FROM table_29141354_4 WHERE jamie_and_johns_guest = "Andy Murray" |
What is the total (kg) when the snatch was 84, and bodyweight was less than 57.35? | CREATE TABLE table_name_3 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR) | SELECT AVG(total__kg_) FROM table_name_3 WHERE snatch = 84 AND bodyweight < 57.35 |
What is the report status of Hockenheimring circuit? | CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_5 WHERE circuit = "hockenheimring" |
List the number of episodes directed by linda mendoza. | CREATE TABLE table_25548213_1 (production_code VARCHAR, directed_by VARCHAR) | SELECT COUNT(production_code) FROM table_25548213_1 WHERE directed_by = "Linda Mendoza" |
Name the wininng yacht for 14 entries | CREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR) | SELECT winning_yacht FROM table_256862_1 WHERE entries = "14" |
What position does Brian Butch play? | CREATE TABLE table_name_40 (pos VARCHAR, player VARCHAR) | SELECT pos FROM table_name_40 WHERE player = "brian butch" |
Name the season number for the direction of patrick norris | CREATE TABLE table_12419515_5 (season__number VARCHAR, directed_by VARCHAR) | SELECT season__number FROM table_12419515_5 WHERE directed_by = "Patrick Norris" |
Find the ids and names of stations from which at least 200 trips started. | CREATE TABLE trip (start_station_id VARCHAR, start_station_name VARCHAR) | SELECT start_station_id, start_station_name FROM trip GROUP BY start_station_name HAVING COUNT(*) >= 200 |
What was Frank Moore's score? | CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_81 WHERE player = "frank moore" |
what is the average top-10 when the cuts made is less than 9 and the events is more than 14? | CREATE TABLE table_name_48 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR) | SELECT AVG(top_10) FROM table_name_48 WHERE cuts_made < 9 AND events > 14 |
What band has a year above 2011? | CREATE TABLE table_name_75 (band VARCHAR, year INTEGER) | SELECT band FROM table_name_75 WHERE year > 2011 |
If the armor is bronze cuirass , linothorax, what are the close ranged weapons? | CREATE TABLE table_27704991_1 (close_ranged_weapons VARCHAR, armor VARCHAR) | SELECT close_ranged_weapons FROM table_27704991_1 WHERE armor = "Bronze cuirass , Linothorax" |
What type had a course of Grosseto To Rieti? | CREATE TABLE table_name_18 (type VARCHAR, course VARCHAR) | SELECT type FROM table_name_18 WHERE course = "grosseto to rieti" |
In what year were Reid's earnings €4,050 1? | CREATE TABLE table_29506171_2 (year INTEGER, earnings___€__ VARCHAR) | SELECT MIN(year) FROM table_29506171_2 WHERE earnings___€__ = "4,050 1" |
What is the winning team of the race on 31 August with Audi as the winning manufacturer and Timo Scheider as the winning driver? | CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR) | SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = "audi" AND winning_driver = "timo scheider" AND date = "31 august" |
Which Television service has a Content of general television? | CREATE TABLE table_name_49 (television_service VARCHAR, content VARCHAR) | SELECT television_service FROM table_name_49 WHERE content = "general television" |
If the score is 5-3, who made the decision? | CREATE TABLE table_27537870_6 (decision VARCHAR, score VARCHAR) | SELECT decision FROM table_27537870_6 WHERE score = "5-3" |
What date did the away team Mansfield Town play? | CREATE TABLE table_name_56 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_56 WHERE away_team = "mansfield town" |
What is Tournament, when Date is "Sep 25, 1977"? | CREATE TABLE table_name_61 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_61 WHERE date = "sep 25, 1977" |
Which Engine has Points of 3? | CREATE TABLE table_name_30 (engine VARCHAR, points VARCHAR) | SELECT engine FROM table_name_30 WHERE points = 3 |
What is the time/s of team Triumph in those races in which Triumph ranked higher than 4? | CREATE TABLE table_name_44 (time VARCHAR, team VARCHAR, rank VARCHAR) | SELECT time FROM table_name_44 WHERE team = "triumph" AND rank < 4 |
Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator? | CREATE TABLE table_name_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR) | SELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" |
What is the mean Founded number when the team is the Baton Rouge Blaze? | CREATE TABLE table_name_96 (founded INTEGER, team VARCHAR) | SELECT AVG(founded) FROM table_name_96 WHERE team = "baton rouge blaze" |
Name the total number of eu for quinn | CREATE TABLE table_22667773_8 (COUnT VARCHAR, name VARCHAR) | SELECT COUnT AS eu FROM table_22667773_8 WHERE name = "Quinn" |
Which player has an A-League of 150 (4)? | CREATE TABLE table_name_40 (name VARCHAR, a_league VARCHAR) | SELECT name FROM table_name_40 WHERE a_league = "150 (4)" |
Which Best Actress has a Year of 2012 6th? | CREATE TABLE table_name_12 (best_actress VARCHAR, year VARCHAR) | SELECT best_actress FROM table_name_12 WHERE year = "2012 6th" |
Which team did David McLay play for? | CREATE TABLE table_2850912_3 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_2850912_3 WHERE player = "David McLay" |
Which country is George Archer from? | CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_22 WHERE player = "george archer" |
what was the opposition where the field is waldstadion during time 6 | CREATE TABLE table_27893892_2 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) | SELECT opponent FROM table_27893892_2 WHERE game_site = "Waldstadion" AND week = 6 |
Name the least ai % | CREATE TABLE table_18012738_1 (ai___percentage_ INTEGER) | SELECT MIN(ai___percentage_) FROM table_18012738_1 |
In the game held at Arden Street Oval, what was the score of the home team? | CREATE TABLE table_name_23 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_23 WHERE venue = "arden street oval" |
When the new orleans saints were visiting texas stadium, what was the final score? | CREATE TABLE table_name_94 (final_score VARCHAR, stadium VARCHAR, visiting_team VARCHAR) | SELECT final_score FROM table_name_94 WHERE stadium = "texas stadium" AND visiting_team = "new orleans saints" |
What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627? | CREATE TABLE table_1717824_3 (pakistanis_admitted INTEGER, nepalis_admitted VARCHAR) | SELECT MAX(pakistanis_admitted) FROM table_1717824_3 WHERE nepalis_admitted = 627 |
What team was the visitor on 3/2? | CREATE TABLE table_name_72 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_72 WHERE date = "3/2" |
What is City / State, when Winner is "Rohan Onslow", and when Circuit is "Oran Park Raceway"? | CREATE TABLE table_name_20 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) | SELECT city___state FROM table_name_20 WHERE winner = "rohan onslow" AND circuit = "oran park raceway" |
How many champions were there when the first driver was hiroki yoshimoto ( 2005 )? | CREATE TABLE table_13416000_3 (champions VARCHAR, first_driver_s_ VARCHAR) | SELECT champions FROM table_13416000_3 WHERE first_driver_s_ = "Hiroki Yoshimoto ( 2005 )" |
What was Brian Moran's tally in the Survey USA poll where Creigh Deeds had 26%? | CREATE TABLE table_21535453_1 (brian_moran VARCHAR, source VARCHAR, creigh_deeds VARCHAR) | SELECT brian_moran FROM table_21535453_1 WHERE source = "Survey USA" AND creigh_deeds = "26%" |
How many against points for 16 matches? | CREATE TABLE table_name_38 (points_against VARCHAR, matches VARCHAR) | SELECT points_against FROM table_name_38 WHERE matches = "16" |
What is the score for game 78? | CREATE TABLE table_23284271_10 (score VARCHAR, game VARCHAR) | SELECT score FROM table_23284271_10 WHERE game = 78 |
What School had 3a/2a as the value for IHSAA Class/ Football Class? | CREATE TABLE table_name_81 (school VARCHAR, ihsaa_class__football_class VARCHAR) | SELECT school FROM table_name_81 WHERE ihsaa_class__football_class = "3a/2a" |
What was the number of athletes in the host city of Nice? | CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, host_city VARCHAR) | SELECT no_of_athletes FROM table_26669939_1 WHERE host_city = "Nice" |
What's the lower house majority in the state whose Senior senator is J. Shaheen? | CREATE TABLE table_21531764_2 (lower_house_majority VARCHAR, senior_us_senator VARCHAR) | SELECT lower_house_majority FROM table_21531764_2 WHERE senior_us_senator = "J. Shaheen" |
What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18? | CREATE TABLE table_name_15 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18 |
In 2007, what is the average total matches with points % larger than 33.3? | CREATE TABLE table_name_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR) | SELECT AVG(total_matches) FROM table_name_73 WHERE points__percentage > 33.3 AND year = "2007" |
When was the original air date written by michael s. chernuchin & joe morgenstern? | CREATE TABLE table_2618072_1 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_2618072_1 WHERE written_by = "Michael S. Chernuchin & Joe Morgenstern" |
Which text has simplified characters of 心猿 … 意马? | CREATE TABLE table_name_42 (text VARCHAR, simplified_characters VARCHAR) | SELECT text FROM table_name_42 WHERE simplified_characters = "心猿 … 意马" |
What nationality is Rob Nicholson? | CREATE TABLE table_name_19 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_19 WHERE player = "rob nicholson" |
Where was there a result of 4-5 and a score of 1-1? | CREATE TABLE table_name_98 (venue VARCHAR, result VARCHAR, score VARCHAR) | SELECT venue FROM table_name_98 WHERE result = "4-5" AND score = "1-1" |
Who replaced outgoing manager José Ángel Ziganda? | CREATE TABLE table_17201869_3 (replaced_by VARCHAR, outgoing_manager VARCHAR) | SELECT replaced_by FROM table_17201869_3 WHERE outgoing_manager = "José Ángel Ziganda" |
The golfer from Spain with a total less than 294 won in what year (s)? | CREATE TABLE table_name_20 (year_s__won VARCHAR, total VARCHAR, country VARCHAR) | SELECT year_s__won FROM table_name_20 WHERE total < 294 AND country = "spain" |
What are all the possible breed type and size type combinations? | CREATE TABLE dogs (breed_code VARCHAR, size_code VARCHAR) | SELECT DISTINCT breed_code, size_code FROM dogs |
Which team has an up/down of + 3479? | CREATE TABLE table_2472711_31 (team VARCHAR, up_down VARCHAR) | SELECT team FROM table_2472711_31 WHERE up_down = "+ 3479" |
What character is in over 22 episodes? | CREATE TABLE table_name_91 (character VARCHAR, episodes INTEGER) | SELECT character FROM table_name_91 WHERE episodes > 22 |
Which Country has a Score of 70-68-70-68=276? | CREATE TABLE table_name_43 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_43 WHERE score = 70 - 68 - 70 - 68 = 276 |
What is the Owner of Frequency 00 99.3? | CREATE TABLE table_name_64 (owner VARCHAR, frequency VARCHAR) | SELECT owner FROM table_name_64 WHERE frequency = "00 99.3" |
who was the performer that did last performance on 04/08/1963 | CREATE TABLE table_19189856_1 (performer VARCHAR, last_performance VARCHAR) | SELECT performer FROM table_19189856_1 WHERE last_performance = "04/08/1963" |
Name the least game for 8-3 | CREATE TABLE table_18894744_5 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_18894744_5 WHERE record = "8-3" |
What is shown on Friday when Monday is Fox Sports Primetime? | CREATE TABLE table_name_36 (friday VARCHAR, monday VARCHAR) | SELECT friday FROM table_name_36 WHERE monday = "fox sports primetime" |
What is the area of Ulim with less than 30 villages? | CREATE TABLE table_name_53 (land_area__km_2__ INTEGER, capital VARCHAR, villages VARCHAR) | SELECT AVG(land_area__km_2__) FROM table_name_53 WHERE capital = "ulim" AND villages < 30 |
What are the lot details of lots associated with transactions whose share count is bigger than 100 and whose type code is "PUR"? | CREATE TABLE LOTS (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE TRANSACTIONS_LOTS (transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, share_count VARCHAR, transaction_type_code VARCHAR) | SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.share_count > 100 AND T3.transaction_type_code = "PUR" |
How many season are shown for the 2nd position? | CREATE TABLE table_27631002_1 (season VARCHAR, position VARCHAR) | SELECT COUNT(season) FROM table_27631002_1 WHERE position = "2nd" |
What is the rating of the episode with a share of 4 and a rating/share (18-49) of 0.7/2? | CREATE TABLE table_25751274_2 (rating VARCHAR, share VARCHAR) | SELECT rating FROM table_25751274_2 WHERE share = 4 AND rating / SHARE(18 - 49) = 0.7 / 2 |
Tell me fourth place for year of 2010 | CREATE TABLE table_name_36 (fourth_place VARCHAR, year VARCHAR) | SELECT fourth_place FROM table_name_36 WHERE year = 2010 |
Name the 2007 which has a 2011 of 191,183? Question 4 | CREATE TABLE table_name_14 (Id VARCHAR) | SELECT 2007 FROM table_name_14 WHERE 2011 = "191,183" |
Who was the player in Round 7, on the MWEHL Team Detroit Honeybaked, and the NHL Team, Philadelphia Flyers teams? | CREATE TABLE table_name_32 (player VARCHAR, nhl_team VARCHAR, round VARCHAR, mwehl_team VARCHAR) | SELECT player FROM table_name_32 WHERE round = "7" AND mwehl_team = "detroit honeybaked" AND nhl_team = "philadelphia flyers" |
What is Surface, when Date is 2 May 1999? | CREATE TABLE table_name_85 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_85 WHERE date = "2 may 1999" |
Name the high assists for december 14 | CREATE TABLE table_15869204_5 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_15869204_5 WHERE date = "December 14" |
What events took place in episode 12? | CREATE TABLE table_24051050_1 (events VARCHAR, episode VARCHAR) | SELECT events FROM table_24051050_1 WHERE episode = 12 |
Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero? | CREATE TABLE table_name_4 (country VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR) | SELECT country FROM table_name_4 WHERE score < 70 AND place = "t3" AND player = "andrés romero" |
What myspace has linkedin as the site, with an orkit greater than 3? | CREATE TABLE table_name_62 (myspace INTEGER, site VARCHAR, orkut VARCHAR) | SELECT AVG(myspace) FROM table_name_62 WHERE site = "linkedin" AND orkut > 3 |
what is the HAAT of devils lake | CREATE TABLE table_name_94 (haat VARCHAR, city_of_license VARCHAR) | SELECT haat FROM table_name_94 WHERE city_of_license = "devils lake" |
What player belongs to the Chicago Blackhawks? | CREATE TABLE table_2781227_2 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2781227_2 WHERE nhl_team = "Chicago Blackhawks" |
Which round has a Kick Off of 1992-10-01 21:15? | CREATE TABLE table_name_42 (round VARCHAR, kick_off VARCHAR) | SELECT round FROM table_name_42 WHERE kick_off = "1992-10-01 21:15" |
What was the film Falling up nominated for? | CREATE TABLE table_10236830_6 (nomination VARCHAR, film_name VARCHAR) | SELECT nomination FROM table_10236830_6 WHERE film_name = "Falling Up" |
Which party does the incumbent Mathias Morris belong to? | CREATE TABLE table_2668169_2 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668169_2 WHERE incumbent = "Mathias Morris" |
What are the points for the GP3 series with 2 podiums? | CREATE TABLE table_name_92 (points VARCHAR, series VARCHAR, podiums VARCHAR) | SELECT points FROM table_name_92 WHERE series = "gp3 series" AND podiums = "2" |
What country is Richard Vanquelef from? | CREATE TABLE table_24565004_22 (nationality² VARCHAR, name VARCHAR) | SELECT nationality² FROM table_24565004_22 WHERE name = "Richard Vanquelef" |
What is the To Par of the player with a t8 Finish? | CREATE TABLE table_name_32 (to_par VARCHAR, finish VARCHAR) | SELECT to_par FROM table_name_32 WHERE finish = "t8" |
Can you tell me the sum of Podiums that has the Season of 2006, and the Races larger than 16? | CREATE TABLE table_name_20 (podiums INTEGER, season VARCHAR, races VARCHAR) | SELECT SUM(podiums) FROM table_name_20 WHERE season = "2006" AND races > 16 |
What is the pba team for the player who went to santo tomas college? | CREATE TABLE table_name_50 (pba_team VARCHAR, college VARCHAR) | SELECT pba_team FROM table_name_50 WHERE college = "santo tomas" |
Which Large end has a Taper/ft smaller than 0.6000000000000001? | CREATE TABLE table_name_5 (large_end VARCHAR, taper VARCHAR, ft VARCHAR) | SELECT COUNT(large_end) FROM table_name_5 WHERE taper / ft < 0.6000000000000001 |
what city is brule in | CREATE TABLE table_name_84 (city VARCHAR, county VARCHAR) | SELECT city FROM table_name_84 WHERE county = "brule" |
Show the countries that have both perpetrators with injures more than 50 and perpetrators with injures smaller than 20. | CREATE TABLE perpetrator (Country VARCHAR, Injured INTEGER) | SELECT Country FROM perpetrator WHERE Injured > 50 INTERSECT SELECT Country FROM perpetrator WHERE Injured < 20 |
What is the Median family income when the Median household income is $38,137? | CREATE TABLE table_name_8 (median_family_income VARCHAR, median_household_income VARCHAR) | SELECT median_family_income FROM table_name_8 WHERE median_household_income = "$38,137" |
Name the others % for cleveland | CREATE TABLE table_1733457_1 (others_percentage VARCHAR, county VARCHAR) | SELECT others_percentage FROM table_1733457_1 WHERE county = "Cleveland" |
What is the height of the EMC Insurance Building in Des Moines? | CREATE TABLE table_name_25 (height VARCHAR, city VARCHAR, name VARCHAR) | SELECT height FROM table_name_25 WHERE city = "des moines" AND name = "emc insurance building" |
What is every entry on Monday August 22 when the entry for Wednesday August 24 is 22' 50.05 99.141mph? | CREATE TABLE table_30058355_3 (mon_22_aug VARCHAR, wed_24_aug VARCHAR) | SELECT mon_22_aug FROM table_30058355_3 WHERE wed_24_aug = "22' 50.05 99.141mph" |
Who was Canada's lead? | CREATE TABLE table_name_76 (lead VARCHAR, country VARCHAR) | SELECT lead FROM table_name_76 WHERE country = "canada" |
What is the average 2007 value for a 2006 of 2.8 and 2009 under 20? | CREATE TABLE table_name_6 (Id VARCHAR) | SELECT AVG(2007) FROM table_name_6 WHERE 2009 < 20 AND 2006 = 2.8 |
how many points are there for a Chassis of porsche 718, and a Year smaller than 1964? | CREATE TABLE table_name_34 (points VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_34 WHERE chassis = "porsche 718" AND year < 1964 |
What was the record when the timberwolves were played? | CREATE TABLE table_23285849_7 (record VARCHAR, team VARCHAR) | SELECT record FROM table_23285849_7 WHERE team = "Timberwolves" |
What shows for 2006, when 2013 is 2–4? | CREATE TABLE table_name_64 (Id VARCHAR) | SELECT 2006 FROM table_name_64 WHERE 2013 = "2–4" |
What was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4? | CREATE TABLE table_name_74 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, total VARCHAR) | SELECT SUM(a_score) FROM table_name_74 WHERE e_score > 9.383 AND total < 19.716 AND t_score > 4 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.