question
stringlengths
17
201
answer
stringlengths
21
400
context
stringlengths
32
286
How many tries for are for 473 points for?
SELECT COUNT(tries_for) FROM table_12828723_4 WHERE points_for = "473"
CREATE TABLE table_12828723_4 (tries_for VARCHAR, points_for VARCHAR)
What is the Score of the game with a Loss of Kiprusoff (2–2)?
SELECT score FROM table_name_50 WHERE loss = "kiprusoff (2–2)"
CREATE TABLE table_name_50 (score VARCHAR, loss VARCHAR)
What is the league established before 1930 with the rayo vallecano club?
SELECT league FROM table_name_26 WHERE established < 1930 AND club = "rayo vallecano"
CREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR)
What is the Score of the Fifa World Cup 1986 Qualifying Competition?
SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying"
CREATE TABLE table_name_86 (score VARCHAR, competition VARCHAR)
WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?
SELECT away_team FROM table_name_44 WHERE home_team = "leeds united"
CREATE TABLE table_name_44 (away_team VARCHAR, home_team VARCHAR)
What district is Wyatt Aiken in?
SELECT district FROM table_name_19 WHERE incumbent = "wyatt aiken"
CREATE TABLE table_name_19 (district VARCHAR, incumbent VARCHAR)
What is the college where player terry moss attended?
SELECT college FROM table_26996293_7 WHERE player = "Terry Moss"
CREATE TABLE table_26996293_7 (college VARCHAR, player VARCHAR)
What is the average Attendance, when Visitor is Toronto?
SELECT AVG(attendance) FROM table_name_71 WHERE visitor = "toronto"
CREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR)
What song came out on March 8, 2008?
SELECT song FROM table_name_8 WHERE date = "march 8, 2008"
CREATE TABLE table_name_8 (song VARCHAR, date VARCHAR)
What is the total grid number where the time/retired is +58.182 and the lap number is less than 67?
SELECT SUM(grid) FROM table_name_12 WHERE time_retired = "+58.182" AND laps < 67
CREATE TABLE table_name_12 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
How many Points have a Game smaller than 37, and a Score of 2–3, and a December of 13?
SELECT COUNT(points) FROM table_name_98 WHERE game < 37 AND score = "2–3" AND december = 13
CREATE TABLE table_name_98 (points VARCHAR, december VARCHAR, game VARCHAR, score VARCHAR)
What's the average laps driven by david coulthard?
SELECT AVG(laps) FROM table_name_75 WHERE driver = "david coulthard"
CREATE TABLE table_name_75 (laps INTEGER, driver VARCHAR)
Find the number of orchestras whose record format is "CD" or "DVD".
SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = "CD" OR Major_Record_Format = "DVD"
CREATE TABLE orchestra (Major_Record_Format VARCHAR)
Name the number of parish for vilnes kyrkje
SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje"
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
What was the first week that had a transition with Pat Mccready?
SELECT MIN(week) FROM table_name_6 WHERE transition = "pat mccready"
CREATE TABLE table_name_6 (week INTEGER, transition VARCHAR)
How many goals did he score with under 26 appearances for werder bremen?
SELECT COUNT(goals) FROM table_name_87 WHERE apps < 26 AND club = "werder bremen"
CREATE TABLE table_name_87 (goals VARCHAR, apps VARCHAR, club VARCHAR)
How many times have Central Crossing won the OCC Championship?
SELECT SUM(occ_championships) FROM table_name_96 WHERE school = "central crossing"
CREATE TABLE table_name_96 (occ_championships INTEGER, school VARCHAR)
What is the population density in Buffalo Lake?
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Buffalo Lake"
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)
who is the winners where season result is 9th
SELECT winners FROM table_1139835_3 WHERE season_result = "9th"
CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR)
What's the participle when the verbal noun is i-bil-tze?
SELECT participle FROM table_12784134_1 WHERE verbal_noun = "i-bil-tze"
CREATE TABLE table_12784134_1 (participle VARCHAR, verbal_noun VARCHAR)
If the longitude is -97.473110, what is the minimum geo id?
SELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = "-97.473110"
CREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR)
What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?
SELECT COUNT(total) FROM table_name_14 WHERE bronze > 1 AND nation = "germany" AND gold < 1
CREATE TABLE table_name_14 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
Who is the opponent(s) in round 6?
SELECT opponents FROM table_name_12 WHERE round = "round 6"
CREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR)
What is the courtesy title of the person whose tenure goes from 1766–1794?
SELECT courtesy_title FROM table_name_1 WHERE tenure = "1766–1794"
CREATE TABLE table_name_1 (courtesy_title VARCHAR, tenure VARCHAR)
How many were in attendance for the loss of rekar (4–5)?
SELECT SUM(attendance) FROM table_name_15 WHERE loss = "rekar (4–5)"
CREATE TABLE table_name_15 (attendance INTEGER, loss VARCHAR)
Which result has a Record of 16-6?
SELECT res FROM table_name_20 WHERE record = "16-6"
CREATE TABLE table_name_20 (res VARCHAR, record VARCHAR)
What is the Date for the wgc-accenture match play championship?
SELECT date FROM table_name_83 WHERE tournament = "wgc-accenture match play championship"
CREATE TABLE table_name_83 (date VARCHAR, tournament VARCHAR)
Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion?
SELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = "ontario hockey league" AND nationality = "united states" AND team_from = "brampton battalion"
CREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)
What's the release date of model number CORE I7-940?
SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940"
CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR)
What score did the home team of north melbourne get?
SELECT home_team AS score FROM table_name_59 WHERE home_team = "north melbourne"
CREATE TABLE table_name_59 (home_team VARCHAR)
How many points for the cosworth v8 engine after 1985?
SELECT points FROM table_name_23 WHERE year > 1985 AND engine = "cosworth v8"
CREATE TABLE table_name_23 (points VARCHAR, year VARCHAR, engine VARCHAR)
What is the largest played number when the difference is - 8 and position is more than 8?
SELECT MAX(played) FROM table_name_42 WHERE difference = "- 8" AND position > 8
CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR)
Which stage was won by Bernard Hinault and had a Points classification of Francesco Moser?
SELECT stage FROM table_name_51 WHERE winner = "bernard hinault" AND points_classification = "francesco moser"
CREATE TABLE table_name_51 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR)
What is the average number of goals for entries with more than 12 losses, more than 10 wins, more than 3 draws, and fewer than 29 points?
SELECT AVG(goals_for) FROM table_name_99 WHERE losses > 12 AND wins > 10 AND points < 29 AND draws > 3
CREATE TABLE table_name_99 (goals_for INTEGER, draws VARCHAR, points VARCHAR, losses VARCHAR, wins VARCHAR)
What week was the Bye attendance week?
SELECT week FROM table_name_20 WHERE attendance = "bye"
CREATE TABLE table_name_20 (week VARCHAR, attendance VARCHAR)
Name the college/junior club team for john campbell
SELECT college_junior_club_team FROM table_1965650_3 WHERE player = "John Campbell"
CREATE TABLE table_1965650_3 (college_junior_club_team VARCHAR, player VARCHAR)
Who had 2 WSOP cashes and was 6th in final place?
SELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = "6th"
CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR)
What year has more than 0 points?
SELECT year FROM table_name_56 WHERE points > 0
CREATE TABLE table_name_56 (year VARCHAR, points INTEGER)
What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39?
SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = "$599.39"
CREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR)
What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"?
SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0
CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR)
Who was sent to the third island in week 1?
SELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = "1"
CREATE TABLE table_11764007_2 (member VARCHAR, week_sent_to_third_island VARCHAR)
What was the date when there were 26 golden tickets?
SELECT date FROM table_name_57 WHERE golden_tickets = 26
CREATE TABLE table_name_57 (date VARCHAR, golden_tickets VARCHAR)
How many points are listed when the position is 2?
SELECT MAX(points) FROM table_15405904_1 WHERE position = 2
CREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR)
Which Overall has a College of florida state, and a Round larger than 2?
SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 2
CREATE TABLE table_name_76 (overall INTEGER, college VARCHAR, round VARCHAR)
WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION?
SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"
CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR)
Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present?
SELECT COUNT(school_club_team_country) FROM table_11734041_10 WHERE player = "Kimball, Toby Toby Kimball"
CREATE TABLE table_11734041_10 (school_club_team_country VARCHAR, player VARCHAR)
What is the most number of families in regions where average family size is 2.7?
SELECT MAX(number_of_families) FROM table_16048129_5 WHERE average_family_size = "2.7"
CREATE TABLE table_16048129_5 (number_of_families INTEGER, average_family_size VARCHAR)
How many years have an Award of venice film festival, and a Title of lust, caution?
SELECT COUNT(year) FROM table_name_73 WHERE award = "venice film festival" AND title = "lust, caution"
CREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR)
How many to par for Greg Norman?
SELECT to_par FROM table_name_1 WHERE player = "greg norman"
CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR)
What is the maximum overall number?
SELECT MAX(_number) FROM table_2985714_2
CREATE TABLE table_2985714_2 (_number INTEGER)
What all capacities have turbines between 50-60?
SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-60"
CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR)
What is the average dismissals of 83 test and catches less than 33?
SELECT AVG(total_dismissals) FROM table_name_5 WHERE tests = 83 AND catches < 33
CREATE TABLE table_name_5 (total_dismissals INTEGER, tests VARCHAR, catches VARCHAR)
What is the lowest League Cup Goals, when Scorer is Denis Law?
SELECT MIN(league_cup_goals) FROM table_name_59 WHERE scorer = "denis law"
CREATE TABLE table_name_59 (league_cup_goals INTEGER, scorer VARCHAR)
How many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11?
SELECT COUNT(vote) FROM table_name_52 WHERE seat = "house a" AND percentage = "75.44%" AND district < 11
CREATE TABLE table_name_52 (vote VARCHAR, district VARCHAR, seat VARCHAR, percentage VARCHAR)
What is Record, when Game is "24"?
SELECT record FROM table_name_24 WHERE game = 24
CREATE TABLE table_name_24 (record VARCHAR, game VARCHAR)
What is the lowest episode number with an original airdate on 8 June 2008?
SELECT MIN(episode) FROM table_name_31 WHERE original_airdate = "8 june 2008"
CREATE TABLE table_name_31 (episode INTEGER, original_airdate VARCHAR)
Name the umbr of creators for flash of two worlds
SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash of Two Worlds"
CREATE TABLE table_19534677_1 (creators VARCHAR, volume_title VARCHAR)
Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010?
SELECT AVG(inhabitants) FROM table_name_36 WHERE party = "south tyrolean people's party" AND municipality = "bruneck" AND election > 2010
CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)
Name the date for margalita chakhnashvili salome devidze
SELECT date FROM table_16893837_4 WHERE opponents = "Margalita Chakhnashvili Salome Devidze"
CREATE TABLE table_16893837_4 (date VARCHAR, opponents VARCHAR)
Name the leader battle for plamen
SELECT leader_battle FROM table_25920798_2 WHERE eliminated = "Plamen"
CREATE TABLE table_25920798_2 (leader_battle VARCHAR, eliminated VARCHAR)
Which MLS Cup has another larger than 9, and a Total smaller than 72?
SELECT AVG(mls_cup) FROM table_name_43 WHERE other > 9 AND total < 72
CREATE TABLE table_name_43 (mls_cup INTEGER, other VARCHAR, total VARCHAR)
Who is the director when the title is 2003?
SELECT director FROM table_name_27 WHERE title = "2003"
CREATE TABLE table_name_27 (director VARCHAR, title VARCHAR)
What is the lowest Population, when Per Capita Income is "$16,330"?
SELECT MIN(population) FROM table_name_80 WHERE per_capita_income = "$16,330"
CREATE TABLE table_name_80 (population INTEGER, per_capita_income VARCHAR)
What was the Result in 2013?
SELECT result FROM table_name_48 WHERE year = 2013
CREATE TABLE table_name_48 (result VARCHAR, year VARCHAR)
how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?
SELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = "1" AND name = "bob mountain" AND fa_cup_goals < 0
CREATE TABLE table_name_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)
What were the round results when Hanne Skak Jensen faced Austria?
SELECT result FROM table_25505246_7 WHERE against = "Austria"
CREATE TABLE table_25505246_7 (result VARCHAR, against VARCHAR)
what is the most # that aired on september 29, 2008?
SELECT MAX(_number) FROM table_11235334_2 WHERE air_date = "September 29, 2008"
CREATE TABLE table_11235334_2 (_number INTEGER, air_date VARCHAR)
What percentages of social democratic correspond to a 5.5% left bloc?
SELECT social_democratic FROM table_1463383_1 WHERE left_bloc = "5.5%"
CREATE TABLE table_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR)
For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?
SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993"
CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR)
Who is the Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D?
SELECT winning_applicant FROM table_name_45 WHERE block = "10d" AND ensemble_name = "muxco lincolnshire"
CREATE TABLE table_name_45 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR)
What is the lowest goal difference a club with 61 goals against and less than 11 draws has?
SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11
CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)
Who is the director of Antz?
SELECT director FROM table_name_35 WHERE title = "antz"
CREATE TABLE table_name_35 (director VARCHAR, title VARCHAR)
What is Alexander Wronski's Position?
SELECT position FROM table_name_31 WHERE name = "alexander wronski"
CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR)
how tall is someone who is able to wear 33-24-35
SELECT height FROM table_27515452_3 WHERE sizes = "33-24-35"
CREATE TABLE table_27515452_3 (height VARCHAR, sizes VARCHAR)
Sum of cuyo selection as the opposing team?
SELECT SUM(against) FROM table_name_86 WHERE opposing_team = "cuyo selection"
CREATE TABLE table_name_86 (against INTEGER, opposing_team VARCHAR)
For the Loss of Plesac (1-5), what is the Record?
SELECT record FROM table_name_63 WHERE loss = "plesac (1-5)"
CREATE TABLE table_name_63 (record VARCHAR, loss VARCHAR)
What is the date of taking office for Giorgia Meloni?
SELECT took_office FROM table_name_28 WHERE minister = "giorgia meloni"
CREATE TABLE table_name_28 (took_office VARCHAR, minister VARCHAR)
How many floors does detroit marriott at the renaissance center have?
SELECT MAX(floors) FROM table_name_70 WHERE name = "detroit marriott at the renaissance center"
CREATE TABLE table_name_70 (floors INTEGER, name VARCHAR)
Tell me the School/Club team of the player from the United States that play'de guard?
SELECT school_club_team FROM table_name_53 WHERE nationality = "united states" AND position = "guard"
CREATE TABLE table_name_53 (school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)
Who was the mountain classification winner in the stage won by Alessandro Ballan?
SELECT mountains_classification_klasyfikacja_górska FROM table_22917458_15 WHERE winner = "Alessandro Ballan"
CREATE TABLE table_22917458_15 (mountains_classification_klasyfikacja_górska VARCHAR, winner VARCHAR)
Which institutions primary conference is merged into the university of Massachusetts boston?
SELECT institution FROM table_261927_2 WHERE primary_conference = "Merged into the University of Massachusetts Boston"
CREATE TABLE table_261927_2 (institution VARCHAR, primary_conference VARCHAR)
What is the Score of the game larger than 57 with a Record of 4–55?
SELECT score FROM table_name_15 WHERE game > 57 AND record = "4–55"
CREATE TABLE table_name_15 (score VARCHAR, game VARCHAR, record VARCHAR)
What is the name of the home team that has a venue called EMCG?
SELECT home_team FROM table_name_50 WHERE venue = "emcg"
CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
Name the landesliga sud for sg quelle fürth
SELECT landesliga_süd FROM table_20181270_3 WHERE bayernliga = "SG Quelle Fürth"
CREATE TABLE table_20181270_3 (landesliga_süd VARCHAR, bayernliga VARCHAR)
What is Tie no, when Home Team is "Hull City"?
SELECT tie_no FROM table_name_69 WHERE home_team = "hull city"
CREATE TABLE table_name_69 (tie_no VARCHAR, home_team VARCHAR)
What is the greatest rank for Fifth third center?
SELECT MAX(rank) FROM table_name_27 WHERE name = "fifth third center"
CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR)
Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?
SELECT drawn FROM table_name_7 WHERE points < 46 AND position < 20 AND lost < 19 AND against = 56
CREATE TABLE table_name_7 (drawn VARCHAR, against VARCHAR, lost VARCHAR, points VARCHAR, position VARCHAR)
Who was the leading scorer on April 7?
SELECT leading_scorer FROM table_name_8 WHERE date = "april 7"
CREATE TABLE table_name_8 (leading_scorer VARCHAR, date VARCHAR)
What is the name of the stone found in Andhra Pradesh, India?
SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh"
CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)
What is the greatest B score when the A score was less than 6.5?
SELECT MAX(b_score) FROM table_name_4 WHERE a_score < 6.5
CREATE TABLE table_name_4 (b_score INTEGER, a_score INTEGER)
What date did the episode air when guy grossi won?
SELECT airdate FROM table_29281529_2 WHERE winner = "Guy Grossi"
CREATE TABLE table_29281529_2 (airdate VARCHAR, winner VARCHAR)
Name the total number of wind m/s for sunday emmanuel
SELECT COUNT(wind__m_s_) FROM table_1231316_6 WHERE athlete = "Sunday Emmanuel"
CREATE TABLE table_1231316_6 (wind__m_s_ VARCHAR, athlete VARCHAR)
What is the number of the grid when there was a Time/Retired of engine and less than 9 laps?
SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 9
CREATE TABLE table_name_25 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
What is Title, when Release Date is 2011-12-01 December 2011?
SELECT title FROM table_name_65 WHERE release_date = "2011-12-01 december 2011"
CREATE TABLE table_name_65 (title VARCHAR, release_date VARCHAR)
what's the total number of report with date  29 april
SELECT COUNT(report) FROM table_1140080_2 WHERE date = "29 April"
CREATE TABLE table_1140080_2 (report VARCHAR, date VARCHAR)
Tell me the average year for my queen
SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen"
CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)
Name the role for Feb 4, 1961 closing date
SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961"
CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR)
When rashard lewis (24) has the highest amount of points who is the team?
SELECT team FROM table_23249053_11 WHERE high_points = "Rashard Lewis (24)"
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)
What is the height of the player born on June 24, 1964, with a weight over 84 kg?
SELECT AVG(height__cm_) FROM table_name_21 WHERE weight__kg_ > 84 AND birthdate = "june 24, 1964"
CREATE TABLE table_name_21 (height__cm_ INTEGER, weight__kg_ VARCHAR, birthdate VARCHAR)
Who was the runner-up in the Michelob Light Open at Kingsmill?
SELECT runner_s__up FROM table_name_93 WHERE tournament = "michelob light open at kingsmill"
CREATE TABLE table_name_93 (runner_s__up VARCHAR, tournament VARCHAR)