question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the total avge of John Hall, who has less than 63 goals?
CREATE TABLE table_name_25 (avge VARCHAR, name VARCHAR, goals VARCHAR)
SELECT COUNT(avge) FROM table_name_25 WHERE name = "john hall" AND goals < 63
How many times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés?
CREATE TABLE table_name_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR)
SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = "spain" AND name = "josé pérez-francés"
What is 1990, when 1997 is "1R", and when Tournament is "Hamburg"?
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT 1990 FROM table_name_74 WHERE 1997 = "1r" AND tournament = "hamburg"
What is the highest number of extra points?
CREATE TABLE table_14342480_15 (extra_points INTEGER)
SELECT MAX(extra_points) FROM table_14342480_15
What is the lowest round that a pick had a position of ls?
CREATE TABLE table_name_26 (round INTEGER, position VARCHAR)
SELECT MIN(round) FROM table_name_26 WHERE position = "ls"
With a dail of 24th and more than 57 seats, what is the election?
CREATE TABLE table_name_26 (election VARCHAR, seats VARCHAR, dáil VARCHAR)
SELECT election FROM table_name_26 WHERE seats > 57 AND dáil = "24th"
What are the highest championships where the club is Springfield Cardinals?
CREATE TABLE table_name_54 (championships INTEGER, club VARCHAR)
SELECT MAX(championships) FROM table_name_54 WHERE club = "springfield cardinals"
What was the home team score against Collingwood?
CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_16387653_1 WHERE away_team = "Collingwood"
Which round was Dave Yovanovits picked?
CREATE TABLE table_name_43 (round INTEGER, player VARCHAR)
SELECT MIN(round) FROM table_name_43 WHERE player = "dave yovanovits"
Name the overall for mark steenhuis
CREATE TABLE table_23265433_2 (overall VARCHAR, offensive VARCHAR)
SELECT overall FROM table_23265433_2 WHERE offensive = "Mark Steenhuis"
What is the tyre for the peugeot a20 engine?
CREATE TABLE table_name_40 (tyre VARCHAR, engine_† VARCHAR)
SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20"
What is the 8th entry in the row with a first entry of "club"?
CREATE TABLE table_12792876_2 (tries_for VARCHAR)
SELECT tries_for FROM table_12792876_2 WHERE "club" = "club"
What is the status when livery is blue?
CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR)
SELECT status FROM table_1090916_2 WHERE livery = "Blue"
What country has an LP format, catalog s 31503?
CREATE TABLE table_name_20 (country VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT country FROM table_name_20 WHERE format = "lp" AND catalog = "s 31503"
What is the Portuguese Pluperfect when the French is Ils/Elles Avaient Entendu?
CREATE TABLE table_name_25 (portuguese VARCHAR, french VARCHAR)
SELECT portuguese FROM table_name_25 WHERE french = "ils/elles avaient entendu"
Which On demandhas a Free or pay of free and a Provider of freesat?
CREATE TABLE table_name_24 (on_demand VARCHAR, free_or_pay VARCHAR, provider VARCHAR)
SELECT on_demand FROM table_name_24 WHERE free_or_pay = "free" AND provider = "freesat"
Which regular season was 2013 in?
CREATE TABLE table_name_50 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_name_50 WHERE year = 2013
Nickname of the school established in 1773
CREATE TABLE table_16432543_1 (nickname VARCHAR, established VARCHAR)
SELECT nickname FROM table_16432543_1 WHERE established = 1773
Name the number of women's doubles for 1986
CREATE TABLE table_13845918_3 (womens_doubles VARCHAR, year VARCHAR)
SELECT COUNT(womens_doubles) FROM table_13845918_3 WHERE year = "1986"
Which round was played on 10 May?
CREATE TABLE table_name_91 (round VARCHAR, date VARCHAR)
SELECT round FROM table_name_91 WHERE date = "10 may"
Who was the opponent at the League Cup competition with a score of 3-1?
CREATE TABLE table_name_91 (opponents VARCHAR, competition VARCHAR, score VARCHAR)
SELECT opponents FROM table_name_91 WHERE competition = "league cup" AND score = "3-1"
WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%?
CREATE TABLE table_name_18 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)
SELECT val_de_marne FROM table_name_18 WHERE seine_saint_denis = "2.7%"
How many different source system code for the cmi cross references are there?
CREATE TABLE CMI_cross_references (source_system_code VARCHAR)
SELECT COUNT(DISTINCT source_system_code) FROM CMI_cross_references
What notes have a rank greater than 2, with mexico as the country?
CREATE TABLE table_name_64 (notes VARCHAR, rank VARCHAR, country VARCHAR)
SELECT notes FROM table_name_64 WHERE rank > 2 AND country = "mexico"
What was the Event in the city of copenhagen?
CREATE TABLE table_name_32 (event VARCHAR, city VARCHAR)
SELECT event FROM table_name_32 WHERE city = "copenhagen"
What is Score, when Visitor is "Pittsburgh", and when Points is greater than 18?
CREATE TABLE table_name_7 (score VARCHAR, visitor VARCHAR, points VARCHAR)
SELECT score FROM table_name_7 WHERE visitor = "pittsburgh" AND points > 18
What is the Year for Jazz club of Houston?
CREATE TABLE table_name_54 (years_for_jazz VARCHAR, school_club_team VARCHAR)
SELECT years_for_jazz FROM table_name_54 WHERE school_club_team = "houston"
Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze smaller than 0 had what sum of gold?
CREATE TABLE table_name_51 (gold INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_51 WHERE silver > 0 AND total < 3 AND nation = "bulgaria" AND bronze < 0
What was the latest year for the film Gaon Ki Ganga?
CREATE TABLE table_name_95 (year INTEGER, film_name VARCHAR)
SELECT MAX(year) FROM table_name_95 WHERE film_name = "gaon ki ganga"
Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points?
CREATE TABLE table_name_88 (points INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR)
SELECT AVG(points) FROM table_name_88 WHERE against < 53 AND drawn < 10 AND played < 38
What stage (winner) has quick step as the team classification, and trent lowe as the young rider classification?
CREATE TABLE table_name_69 (stage__winner_ VARCHAR, team_classification VARCHAR, young_rider_classification VARCHAR)
SELECT stage__winner_ FROM table_name_69 WHERE team_classification = "quick step" AND young_rider_classification = "trent lowe"
What is the TDP (w) of the chipset with a codename sb850?
CREATE TABLE table_name_3 (tdp___w__ VARCHAR, codename VARCHAR)
SELECT COUNT(tdp___w__) FROM table_name_3 WHERE codename = "sb850"
What is High Points, when High Rebounds is "Dwight Howard (16)"?
CREATE TABLE table_name_8 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT high_points FROM table_name_8 WHERE high_rebounds = "dwight howard (16)"
March 0.41 in July?
CREATE TABLE table_15945862_1 (july VARCHAR, march VARCHAR)
SELECT july FROM table_15945862_1 WHERE march = "0.41"
Who directed the episode that aired on July 29, 2011?
CREATE TABLE table_18424435_5 (directed_by VARCHAR, us_air_date VARCHAR)
SELECT directed_by FROM table_18424435_5 WHERE us_air_date = "July 29, 2011"
What Laurel Mountain Channel is associated with B Mountain Channel of 7?
CREATE TABLE table_name_51 (laurel_mountain_channel VARCHAR, b_mountain_channel VARCHAR)
SELECT laurel_mountain_channel FROM table_name_51 WHERE b_mountain_channel = "7"
What time was the race for the country of france with fb listed under notes?
CREATE TABLE table_name_10 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT time FROM table_name_10 WHERE notes = "fb" AND country = "france"
Which player won in 1987 and ended with a score of +9?
CREATE TABLE table_name_75 (total VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT total FROM table_name_75 WHERE to_par = "+9" AND year_s__won = "1987"
What track has a time of 2:30?
CREATE TABLE table_name_23 (track VARCHAR, time VARCHAR)
SELECT track FROM table_name_23 WHERE time = "2:30"
What is the constructor for the race with Nigel Mansell as the fastest lap?
CREATE TABLE table_name_1 (constructor VARCHAR, fastest_lap VARCHAR)
SELECT constructor FROM table_name_1 WHERE fastest_lap = "nigel mansell"
What is the smallest number of gold of a country of rank 6, with 2 bronzes?
CREATE TABLE table_name_71 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_71 WHERE bronze = 2 AND rank = 6 AND total > 2
Name the record for new orleans
CREATE TABLE table_17355408_4 (record VARCHAR, team VARCHAR)
SELECT record FROM table_17355408_4 WHERE team = "New Orleans"
What is the election date for the city of auckland category:articles with hcards?
CREATE TABLE table_name_16 (election_date VARCHAR, electorate VARCHAR)
SELECT election_date FROM table_name_16 WHERE electorate = "city of auckland category:articles with hcards"
What is the additional major sponsor(s) that has red as its main color after 1991?
CREATE TABLE table_name_91 (additional_major_sponsor_s_ VARCHAR, main_colour_s_ VARCHAR, year VARCHAR)
SELECT additional_major_sponsor_s_ FROM table_name_91 WHERE main_colour_s_ = "red" AND year > 1991
How many locations was game 3 played at?
CREATE TABLE table_23248967_5 (location_attendance VARCHAR, game VARCHAR)
SELECT COUNT(location_attendance) FROM table_23248967_5 WHERE game = 3
What is the amount of money that a +5 to par with a score of 76-69-70-70=285?
CREATE TABLE table_name_28 (money___ VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_28 WHERE to_par = "+5" AND score = 76 - 69 - 70 - 70 = 285
What is the name of the club with a rank of 5?
CREATE TABLE table_name_78 (club VARCHAR, rank VARCHAR)
SELECT club FROM table_name_78 WHERE rank = "5"
What are all the spectral types for star mismis24-# is 1sw?
CREATE TABLE table_10432351_1 (spectral_type VARCHAR, star__pismis24__number_ VARCHAR)
SELECT spectral_type FROM table_10432351_1 WHERE star__pismis24__number_ = "1SW"
Where was the Kai Kuh-1 Surion Produced?
CREATE TABLE table_name_28 (produced VARCHAR, aircraft VARCHAR)
SELECT produced FROM table_name_28 WHERE aircraft = "kai kuh-1 surion"
what is the position for andrew paopao?
CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_54 WHERE player = "andrew paopao"
Which Village has a Region of Côte De Nuits, Wine Styles of Red Wine, and a Grand Cru of Latricières-Chambertin?
CREATE TABLE table_name_57 (village VARCHAR, grand_cru VARCHAR, region VARCHAR, wine_style VARCHAR)
SELECT village FROM table_name_57 WHERE region = "côte de nuits" AND wine_style = "red wine" AND grand_cru = "latricières-chambertin"
What is the latest date in March when the opponent was the Boston Bruins and the game number was smaller than 66?
CREATE TABLE table_name_94 (march INTEGER, opponent VARCHAR, game VARCHAR)
SELECT MAX(march) FROM table_name_94 WHERE opponent = "boston bruins" AND game < 66
What is the name of the minister who has an entered office of entered office?
CREATE TABLE table_name_80 (name VARCHAR, entered_office VARCHAR)
SELECT name FROM table_name_80 WHERE entered_office = "entered office"
What type of state is bo qin?
CREATE TABLE table_name_99 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_99 WHERE name = "bo qin"
Which game had a kickoff at 1:00 and a record of 3-7?
CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
SELECT opponent FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND record = "3-7"
Name the industry for revenue being 2.1
CREATE TABLE table_19112_3 (industry VARCHAR, revenue__billion_$_ VARCHAR)
SELECT industry FROM table_19112_3 WHERE revenue__billion_$_ = "2.1"
Name the city with september of 83 °f / 28.3 °c
CREATE TABLE table_name_15 (city VARCHAR, sep VARCHAR)
SELECT city FROM table_name_15 WHERE sep = "83 °f / 28.3 °c"
What was the distance for the winner or 2nd Waterline?
CREATE TABLE table_name_21 (distance VARCHAR, winner_or_2nd VARCHAR)
SELECT distance FROM table_name_21 WHERE winner_or_2nd = "waterline"
What is the Serial number for the Space Security Trooper Function (figure)?
CREATE TABLE table_name_11 (serial_number VARCHAR, function__figure_ VARCHAR)
SELECT serial_number FROM table_name_11 WHERE function__figure_ = "space security trooper"
Name the most attendance whent he record is 45-57
CREATE TABLE table_name_2 (attendance INTEGER, record VARCHAR)
SELECT MAX(attendance) FROM table_name_2 WHERE record = "45-57"
What tyre has 1 round with Dave Charlton driving?
CREATE TABLE table_name_91 (tyre VARCHAR, rounds VARCHAR, driver VARCHAR)
SELECT tyre FROM table_name_91 WHERE rounds = "1" AND driver = "dave charlton"
How did the episode rank that had 2.65 million viewers?
CREATE TABLE table_11274401_2 (rank___number_ VARCHAR, viewers__m_ VARCHAR)
SELECT rank___number_ FROM table_11274401_2 WHERE viewers__m_ = "2.65"
Who was the host team on October 4?
CREATE TABLE table_name_31 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_31 WHERE date = "october 4"
What is the smallest number of tries with conversions more than 0?
CREATE TABLE table_name_22 (tries INTEGER, conversions INTEGER)
SELECT MIN(tries) FROM table_name_22 WHERE conversions > 0
What is the displacement for torque of n·m (lb·ft) @1500 rpm?
CREATE TABLE table_21021796_1 (displacement VARCHAR, torque VARCHAR)
SELECT displacement FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1500 rpm"
Which Tournament has an Opponent of susan sloane?
CREATE TABLE table_name_18 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_18 WHERE opponent = "susan sloane"
Which Parish (Prestegjeld) was built in 1907?
CREATE TABLE table_name_2 (parish__prestegjeld_ VARCHAR, year_built VARCHAR)
SELECT parish__prestegjeld_ FROM table_name_2 WHERE year_built = "1907"
what is the english word for cavallo
CREATE TABLE table_name_61 (english VARCHAR, italian VARCHAR)
SELECT english FROM table_name_61 WHERE italian = "cavallo"
Which winner has a points classification of Tony Rominger at stage 17?
CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17"
What was the winning team with the 8,132 final attendance?
CREATE TABLE table_name_20 (winningteam VARCHAR, cup_final_attendance VARCHAR)
SELECT winningteam FROM table_name_20 WHERE cup_final_attendance = "8,132"
When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter?
CREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)
SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = "exxon mobil 341,140.3"
In which competition or tour was nordsjælland the opponent with a hr Ground?
CREATE TABLE table_name_73 (competition_or_tour VARCHAR, ground VARCHAR, opponent VARCHAR)
SELECT competition_or_tour FROM table_name_73 WHERE ground = "hr" AND opponent = "nordsjælland"
What is the NHL team for Round 5 and an overall ranking of #154?
CREATE TABLE table_name_7 (nhl_team VARCHAR, round VARCHAR, overall VARCHAR)
SELECT nhl_team FROM table_name_7 WHERE round = "5" AND overall = "#154"
Who was the champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up?
CREATE TABLE table_name_87 (champion VARCHAR, runner_up VARCHAR, venue VARCHAR)
SELECT champion FROM table_name_87 WHERE runner_up = "dick chapman" AND venue = "st. andrews links"
What is the total medals for nation with more than 0 silvers and more than 0 golds?
CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_97 WHERE silver > 0 AND gold > 0
Name the report on 20 may
CREATE TABLE table_name_98 (report VARCHAR, date VARCHAR)
SELECT report FROM table_name_98 WHERE date = "20 may"
How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)?
CREATE TABLE table_1850339_2 (season VARCHAR, army___navy_score VARCHAR)
SELECT COUNT(season) FROM table_1850339_2 WHERE army___navy_score = "10 Dec. 2016 at Baltimore, MD (M&T Bank Stadium)"
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 is the least amount of points when there were less than 4 losses and less than 16 against?
CREATE TABLE table_name_43 (points INTEGER, lost VARCHAR, against VARCHAR)
SELECT MIN(points) FROM table_name_43 WHERE lost < 4 AND against < 16
Name the broadcast date for 7.4 viewers
CREATE TABLE table_2102782_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
SELECT broadcast_date FROM table_2102782_1 WHERE viewers__in_millions_ = "7.4"
What are the highest points for the team of marlboro brm with brm p180 as the chassis?
CREATE TABLE table_name_43 (points INTEGER, team VARCHAR, chassis VARCHAR)
SELECT MAX(points) FROM table_name_43 WHERE team = "marlboro brm" AND chassis = "brm p180"
What is the most minimal Final year that has a Notes of replaced by i-75 and m-25, and a First year larger than 1926?
CREATE TABLE table_name_45 (final_year INTEGER, notes VARCHAR, first_year VARCHAR)
SELECT MIN(final_year) FROM table_name_45 WHERE notes = "replaced by i-75 and m-25" AND first_year > 1926
Whats the highest Promotions that has a Team of Pallacanestro Messina, along with Relegations larger than 0?
CREATE TABLE table_name_43 (promotions INTEGER, team VARCHAR, relegations VARCHAR)
SELECT MAX(promotions) FROM table_name_43 WHERE team = "pallacanestro messina" AND relegations > 0
What is the score of the game on 8 Sep 1990?
CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_92 WHERE date = "8 sep 1990"
For the channel smaller than 63.2, what was the programming?
CREATE TABLE table_name_16 (programming VARCHAR, channel INTEGER)
SELECT programming FROM table_name_16 WHERE channel < 63.2
What is the location of the Conquista Fight 1?
CREATE TABLE table_name_11 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_11 WHERE event = "conquista fight 1"
Which Rank has a Qual of 145.144?
CREATE TABLE table_name_68 (rank VARCHAR, qual VARCHAR)
SELECT rank FROM table_name_68 WHERE qual = "145.144"
If the innings is 68, what is the average?
CREATE TABLE table_23316034_16 (average VARCHAR, innings VARCHAR)
SELECT average FROM table_23316034_16 WHERE innings = 68
What is the sum of podiums of the teams with a final placing of 14th, seasons after 2008, and less than 1 races?
CREATE TABLE table_name_92 (podiums INTEGER, races VARCHAR, final_placing VARCHAR, season VARCHAR)
SELECT SUM(podiums) FROM table_name_92 WHERE final_placing = "14th" AND season > 2008 AND races < 1
What is the Status of primitive confuciusornithid .?
CREATE TABLE table_name_21 (status VARCHAR, notes VARCHAR)
SELECT status FROM table_name_21 WHERE notes = "primitive confuciusornithid ."
What is the weight when 20 is the number?
CREATE TABLE table_22496344_1 (weight INTEGER, _number VARCHAR)
SELECT MAX(weight) FROM table_22496344_1 WHERE _number = 20
What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September 3, 2012?
CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR)
SELECT MAX(cycle) FROM table_name_57 WHERE number_of_contestants = "11" AND premiere_date = "september 3, 2012"
What was the score when the Shingo Kunieda Satoshi Saida were the opponents?
CREATE TABLE table_name_84 (score_in_final VARCHAR, opponents_in_final VARCHAR)
SELECT score_in_final FROM table_name_84 WHERE opponents_in_final = "shingo kunieda satoshi saida"
Which Position has a Played larger than 9, and a Points smaller than 11, and a Drawn smaller than 0?
CREATE TABLE table_name_95 (position INTEGER, drawn VARCHAR, played VARCHAR, points VARCHAR)
SELECT MIN(position) FROM table_name_95 WHERE played > 9 AND points < 11 AND drawn < 0
Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4?
CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4
Name the january when april is courtney rachel culkin
CREATE TABLE table_name_53 (january VARCHAR, april VARCHAR)
SELECT january FROM table_name_53 WHERE april = "courtney rachel culkin"
What place is Fred Funk in?
CREATE TABLE table_name_30 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_30 WHERE player = "fred funk"
What's the result for the game held on December 27, 2004 with a week greater than 2?
CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT result FROM table_name_4 WHERE week > 2 AND date = "december 27, 2004"
What is the T score of the team with an E score of 6.625?
CREATE TABLE table_name_52 (t_score VARCHAR, e_score VARCHAR)
SELECT t_score FROM table_name_52 WHERE e_score = 6.625
What was the Location and Attendance of Game 6?
CREATE TABLE table_name_51 (location_attendance VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_name_51 WHERE game = 6