answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT high_rebounds FROM table_27734577_8 WHERE high_points = "Jamal Crawford (20)"
What are the high rebounds in the jamal crawford (20) high points?
CREATE TABLE table_27734577_8 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT college FROM table_name_46 WHERE player = "matt freeman"
What college did Matt Freeman go to?
CREATE TABLE table_name_46 (college VARCHAR, player VARCHAR)
SELECT date FROM table_name_94 WHERE score = "4–5" AND record = "21–21–3"
When has Score of 4–5, and a Record of 21–21–3?
CREATE TABLE table_name_94 (date VARCHAR, score VARCHAR, record VARCHAR)
SELECT type FROM table_name_28 WHERE principal_activities = "health services"
Which Type has a Principal activities of health services?
CREATE TABLE table_name_28 (type VARCHAR, principal_activities VARCHAR)
SELECT notes FROM table_name_46 WHERE athlete = "lassi karonen"
What is listed in notes for the athlete, lassi karonen?
CREATE TABLE table_name_46 (notes VARCHAR, athlete VARCHAR)
SELECT SUM(attendance) FROM table_name_8 WHERE opponent = "florida panthers"
What is the Attendance of the game against the Florida Panthers?
CREATE TABLE table_name_8 (attendance INTEGER, opponent VARCHAR)
SELECT team_2 FROM table_name_88 WHERE team_1 = "américa"
Who was Team 2 when Team 1 was América?
CREATE TABLE table_name_88 (team_2 VARCHAR, team_1 VARCHAR)
SELECT style FROM table_name_59 WHERE choreographer = "luda and oliver"
What is the Style of the dance by Choreographer Luda and Oliver?
CREATE TABLE table_name_59 (style VARCHAR, choreographer VARCHAR)
SELECT losing_bonus FROM table_14058433_3 WHERE club = "Llandudno RFC"
How many losing points does Llandudno RFC have?
CREATE TABLE table_14058433_3 (losing_bonus VARCHAR, club VARCHAR)
SELECT poor_law_union FROM table_30120566_1 WHERE townland = "Lisladeen"
What is Lisladeen poor law union?
CREATE TABLE table_30120566_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT MIN(gold) FROM table_name_35 WHERE bronze = 0 AND total = 1 AND silver < 1
Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold?
CREATE TABLE table_name_35 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT MIN(profits__billion_) AS $_ FROM table_name_14 WHERE sales__billion_$_ = 425.7 AND rank > 4
Name the lowest Profits (billion $) which has a Sales (billion $) of 425.7, and a Rank larger than 4?
CREATE TABLE table_name_14 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, rank VARCHAR)
SELECT COUNT(location) FROM table_19283806_4 WHERE median_household_income__2011_ = "$71,479"
How many locations have a median household income in 2011 of $71,479?
CREATE TABLE table_19283806_4 (location VARCHAR, median_household_income__2011_ VARCHAR)
SELECT winner_2nd FROM table_24850630_4 WHERE race = "British Champion Stakes"
who was the winner /2nd for the British Champion Stakes race?
CREATE TABLE table_24850630_4 (winner_2nd VARCHAR, race VARCHAR)
SELECT winning_score FROM table_name_69 WHERE date = "oct 17, 1982"
For the tournament played on Oct 17, 1982, what was the winning score?
CREATE TABLE table_name_69 (winning_score VARCHAR, date VARCHAR)
SELECT MIN(year) FROM table_name_70 WHERE overall_pick = "8" AND name = "jordan hill"
What year was Jordan Hill picked overall number 8?
CREATE TABLE table_name_70 (year INTEGER, overall_pick VARCHAR, name VARCHAR)
SELECT platelet_count FROM table_238124_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Prolonged"
When the bleeding time is unaffected and prothrombin time is prolonged, what are the platelet counts?
CREATE TABLE table_238124_1 (platelet_count VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
SELECT permanence_of_the_body FROM table_11609814_1 WHERE purity = "Rudra"
what's the permanence of the body where purity is rudra
CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR)
SELECT year FROM table_name_22 WHERE fleet_number = "603"
Which year has a fleet number of 603?
CREATE TABLE table_name_22 (year VARCHAR, fleet_number VARCHAR)
SELECT result FROM table_name_49 WHERE goal = 9
What was the result of the game with 9 goals?
CREATE TABLE table_name_49 (result VARCHAR, goal VARCHAR)
SELECT multiplier FROM table_name_20 WHERE frequency = "733mhz"
What is the multiplier for the processor with a frequency of 733MHz?
CREATE TABLE table_name_20 (multiplier VARCHAR, frequency VARCHAR)
SELECT date FROM table_13258823_2 WHERE record = "1-0"
Name the date with the record of 1-0
CREATE TABLE table_13258823_2 (date VARCHAR, record VARCHAR)
SELECT AVG(to_par) FROM table_name_6 WHERE player = "tom weiskopf"
What is the to par for Tom Weiskopf?
CREATE TABLE table_name_6 (to_par INTEGER, player VARCHAR)
SELECT COUNT(gold) FROM table_name_86 WHERE nation = "denmark" AND total < 1
How many golds have denmark as the nation, with a total less than 1?
CREATE TABLE table_name_86 (gold VARCHAR, nation VARCHAR, total VARCHAR)
SELECT name FROM table_name_49 WHERE winning_team = "forsythe racing" AND pole_position = "bobby rahal"
Who won for Forsythe Racing when Bobby Rahal had pole position?
CREATE TABLE table_name_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT team FROM table_24231638_3 WHERE replaced_by = "Miroslav Đukić"
What is the team that the replaced by is miroslav đukić?
CREATE TABLE table_24231638_3 (team VARCHAR, replaced_by VARCHAR)
SELECT shell__lb_ FROM table_16439764_1 WHERE gun = "QF 12 pdr 12 cwt"
If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?
CREATE TABLE table_16439764_1 (shell__lb_ VARCHAR, gun VARCHAR)
SELECT 1977 FROM table_name_65 WHERE 1980 = "chile"
what is 1977 when 1980 is chile?
CREATE TABLE table_name_65 (Id VARCHAR)
SELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575
How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?
CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)
SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Theodoros Velkos Giorgos Patis"
Name the womens doubles when mens doubles is theodoros velkos giorgos patis
CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)
SELECT week FROM table_name_82 WHERE result = "l 24-10"
Which week has a result showing L 24-10?
CREATE TABLE table_name_82 (week VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_25 WHERE result = "aus by 4 wkts"
Who was the Home Captain and the Result for AUS by 4 wkts?
CREATE TABLE table_name_25 (home_captain VARCHAR, result VARCHAR)
SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)"
Which Score has a High assists of whalen (5)?
CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR)
SELECT county FROM table_20750731_1 WHERE obama_percentage = "41.7%"
What County was the Obama% at 41.7%?
CREATE TABLE table_20750731_1 (county VARCHAR, obama_percentage VARCHAR)
SELECT margin_of_victory FROM table_name_38 WHERE runner_up = "brandt snedeker"
What was the margin of victory when Brandt Snedeker was runner-up?
CREATE TABLE table_name_38 (margin_of_victory VARCHAR, runner_up VARCHAR)
SELECT u15_3rd_iv FROM table_11318462_5 WHERE u15_4th_iv = "BBC"
what are all the u15 3rd iv with u15 4th iv being bbc
CREATE TABLE table_11318462_5 (u15_3rd_iv VARCHAR, u15_4th_iv VARCHAR)
SELECT opponent FROM table_27539272_5 WHERE game = 14
who was the opponent where the game is 14?
CREATE TABLE table_27539272_5 (opponent VARCHAR, game VARCHAR)
SELECT T1.thing_id, T1.type_of_Thing_Code, T2.organization_details FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id
List the id and type of each thing, and the details of the organization that owns it.
CREATE TABLE Organizations (organization_details VARCHAR, organization_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, type_of_Thing_Code VARCHAR, organization_id VARCHAR)
SELECT entrant FROM table_name_39 WHERE chassis = "lotus 25"
What is the name of the Entrant that has a Chassis of lotus 25
CREATE TABLE table_name_39 (entrant VARCHAR, chassis VARCHAR)
SELECT colour_commentator_s_ FROM table_name_58 WHERE play_by_play = "bob cole"
Who was the colour commentator when the play-by-play announcer was Bob Cole?
CREATE TABLE table_name_58 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR)
SELECT winning_score FROM table_name_39 WHERE runner_s__up = "damien mcgrane"
What was the winning score when Damien McGrane was runner-up?
CREATE TABLE table_name_39 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT SUM(date) FROM table_name_68 WHERE score = "7–6(3), 4–6, 6–2"
Which Date has a Score of 7–6(3), 4–6, 6–2?
CREATE TABLE table_name_68 (date INTEGER, score VARCHAR)
SELECT allied_unrelated FROM table_name_61 WHERE allied_related = "common"
What Allied-Unrelated is labeled as "common"?
CREATE TABLE table_name_61 (allied_unrelated VARCHAR, allied_related VARCHAR)
SELECT COUNT(no_in_season) FROM table_29152820_1 WHERE no_in_series = 122
How many episodes are 122 in the series?
CREATE TABLE table_29152820_1 (no_in_season VARCHAR, no_in_series VARCHAR)
SELECT college FROM table_name_7 WHERE overall > 211 AND position = "db" AND name = "carl charon"
Which College has an Overall larger than 211, a Position of db, and a Name of carl charon?
CREATE TABLE table_name_7 (college VARCHAR, name VARCHAR, overall VARCHAR, position VARCHAR)
SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = "Heilo" AND T3.title = "Badlands"
What instrument did the musician with last name "Heilo" use in the song "Badlands"?
CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR)
SELECT SUM(points) FROM table_name_45 WHERE november = 15
How many points have November of 15?
CREATE TABLE table_name_45 (points INTEGER, november VARCHAR)
SELECT COUNT(years) FROM table_14707564_1 WHERE total = 402
How many years was the total 402?
CREATE TABLE table_14707564_1 (years VARCHAR, total VARCHAR)
SELECT player FROM table_name_29 WHERE to_par = "+2"
What player has +2 to par?
CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR)
SELECT 2012 FROM table_name_6 WHERE 2011 = "1r" AND tournament = "australian open"
What is the 2012 value with a 1r in 2011 in the Australian Open?
CREATE TABLE table_name_6 (tournament VARCHAR)
SELECT product_name, typical_buying_price FROM products
What are the names and buying prices of all the products?
CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR)
SELECT team FROM table_2268216_1 WHERE race_time = "2:53:57"
What team had a race time of 2:53:57?
CREATE TABLE table_2268216_1 (team VARCHAR, race_time VARCHAR)
SELECT AVG(year) FROM table_name_28 WHERE day_in_release = "friday" AND day_of_week > 2
What is the average year for releases on Friday and weeks larger than 2 days?
CREATE TABLE table_name_28 (year INTEGER, day_in_release VARCHAR, day_of_week VARCHAR)
SELECT COUNT(score) FROM table_name_88 WHERE country = "fiji"
What was the score for the golfer from the country of fiji?
CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR)
SELECT year FROM table_2308381_1 WHERE avg_start = "22.4"
Name the year for avg start being 22.4
CREATE TABLE table_2308381_1 (year VARCHAR, avg_start VARCHAR)
SELECT species FROM table_1818471_1 WHERE afinsa = 639
What is every species when Afinsa is 639?
CREATE TABLE table_1818471_1 (species VARCHAR, afinsa VARCHAR)
SELECT COUNT(money___) AS £__ FROM table_name_72 WHERE player = "jodie mudd"
Which Money (£) has a Player of jodie mudd?
CREATE TABLE table_name_72 (money___ VARCHAR, player VARCHAR)
SELECT home_team FROM table_name_50 WHERE venue = "western oval"
Which home team plays at the Western Oval?
CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
SELECT opponents_in_the_final FROM table_name_23 WHERE surface = "hard" AND score = "6-4, 7-6(2)"
Who were the opponents on a hard surface with a score of 6-4, 7-6(2)?
CREATE TABLE table_name_23 (opponents_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)
SELECT winner FROM table_22917458_15 WHERE stage = 7
Who won Stage 7?
CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR)
SELECT champion FROM table_1628792_1 WHERE tournament_location = "London Hunt and country Club ( London , ON )"
Name the champion for london hunt and country club ( london , on )
CREATE TABLE table_1628792_1 (champion VARCHAR, tournament_location VARCHAR)
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Fishing Lake"
What is the population per km2 in Fishing Lake?
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)
SELECT attendance FROM table_name_86 WHERE date = "may 26"
What was the attendance on May 26?
CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(enrollment) FROM table_name_47 WHERE _number___county = "48 madison"
Name the number of enrollment for county of 48 madison
CREATE TABLE table_name_47 (enrollment VARCHAR, _number___county VARCHAR)
SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "Steve Ross"
Who was the GTU winning team when the TO winning team was Steve Ross?
CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR)
SELECT position FROM table_name_79 WHERE cross_code_debut = "1st ru test v ireland"
What position has a Cross-code debut of 1st ru test v ireland?
CREATE TABLE table_name_79 (position VARCHAR, cross_code_debut VARCHAR)
SELECT highest_rank FROM table_name_60 WHERE total < 30 AND name = "takatōriki"
What rank is Takatōriki having less than 30 total?
CREATE TABLE table_name_60 (highest_rank VARCHAR, total VARCHAR, name VARCHAR)
SELECT pole_position FROM table_24547593_1 WHERE circuit = "Knockhill"
Who was in the pole position for knockhill?
CREATE TABLE table_24547593_1 (pole_position VARCHAR, circuit VARCHAR)
SELECT score_in_the_final FROM table_name_81 WHERE opponent_in_the_final = "guillermo vilas" AND date > 1972
What was the final score with Guillermo Vilas as the opponent in the final, that happened after 1972?
CREATE TABLE table_name_81 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR)
SELECT MAX(week) FROM table_name_53 WHERE opponent = "san diego chargers" AND attendance < 53 OFFSET 455
What is the highest week for the San Diego Chargers with an attendance that is less than 53,455?
CREATE TABLE table_name_53 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT MIN(draws) FROM table_name_17 WHERE scored < 25 AND points = 20 AND position > 8
Out of the teams that have scored lower than 25 points, have a total of points less than 20, and a position larger than 8, which has the lowest amount of draws?
CREATE TABLE table_name_17 (draws INTEGER, position VARCHAR, scored VARCHAR, points VARCHAR)
SELECT distance FROM table_name_26 WHERE type = "team time trial"
What is the distance for the team time trial?
CREATE TABLE table_name_26 (distance VARCHAR, type VARCHAR)
SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_71 WHERE score = "207 (-9)" AND tournament = "gte northwest classic"
For the gte northwest classic with the score of 207 (-9), what is the average 1st prize ($)
CREATE TABLE table_name_71 (score VARCHAR, tournament VARCHAR)
SELECT show_name FROM table_name_25 WHERE news_freq = "60 minutes"
What's the show that has 60 minutes as the news freq?
CREATE TABLE table_name_25 (show_name VARCHAR, news_freq VARCHAR)
SELECT cfl_team FROM table_name_54 WHERE position = "dl"
Which CFL Team has a Position of dl?
CREATE TABLE table_name_54 (cfl_team VARCHAR, position VARCHAR)
SELECT date FROM table_name_21 WHERE race = "new zealand grand prix"
What is the date of the race for the new zealand grand prix?
CREATE TABLE table_name_21 (date VARCHAR, race VARCHAR)
SELECT location_attendance FROM table_23286223_8 WHERE date = "March 24"
Where was the March 24 game played?
CREATE TABLE table_23286223_8 (location_attendance VARCHAR, date VARCHAR)
SELECT name FROM table_name_1 WHERE avg_g = 13.7
what is the name when avg/g is 13.7?
CREATE TABLE table_name_1 (name VARCHAR, avg_g VARCHAR)
SELECT english_translation FROM table_name_12 WHERE language = "french" AND artist = "rachel"
What is the English Translation for the French song by the Artist Rachel?
CREATE TABLE table_name_12 (english_translation VARCHAR, language VARCHAR, artist VARCHAR)
SELECT school_club_team FROM table_15463188_7 WHERE season = "2009-2011"
Name the school/club team when season is 2009-2011
CREATE TABLE table_15463188_7 (school_club_team VARCHAR, season VARCHAR)
SELECT date FROM table_name_78 WHERE record = "58–10"
Which Date has a Record of 58–10?
CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_24 WHERE location = "boston garden" AND record = "22-4"
On what date did they play in Boston Garden with a record of 22-4?
CREATE TABLE table_name_24 (date VARCHAR, location VARCHAR, record VARCHAR)
SELECT place FROM table_name_96 WHERE to_par = "–6"
What is the Place of the Player with a To par of –6?
CREATE TABLE table_name_96 (place VARCHAR, to_par VARCHAR)
SELECT home_team AS score FROM table_name_25 WHERE away_team = "carlton"
What is the home team score for the game with the away team Carlton?
CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR)
SELECT street_address FROM table_name_9 WHERE name = "van antwerp building"
What is the street address of the van antwerp building?
CREATE TABLE table_name_9 (street_address VARCHAR, name VARCHAR)
SELECT res FROM table_name_51 WHERE time = "4:27"
What was the result of the 4:27 fight?
CREATE TABLE table_name_51 (res VARCHAR, time VARCHAR)
SELECT date FROM table_17848578_1 WHERE game_site = "Arrowhead Stadium"
What is the date of the game at Arrowhead Stadium?
CREATE TABLE table_17848578_1 (date VARCHAR, game_site VARCHAR)
SELECT event FROM table_name_31 WHERE sport = "wrestling" AND games = "2008 beijing"
Which wrestling event was at the 2008 Beijing games?
CREATE TABLE table_name_31 (event VARCHAR, sport VARCHAR, games VARCHAR)
SELECT player FROM table_name_89 WHERE nhl_team = "mighty ducks of anaheim"
I want the player for NHL team for mighty ducks of anaheim
CREATE TABLE table_name_89 (player VARCHAR, nhl_team VARCHAR)
SELECT score FROM table_name_19 WHERE away_team = "southport"
What was the score for the away team, southport?
CREATE TABLE table_name_19 (score VARCHAR, away_team VARCHAR)
SELECT percent_decline_from_peak_population FROM table_name_98 WHERE peak_population__year_ = "178320 (1960)"
what is the percent decline from peak population when the peak population (year) is 178320 (1960)?
CREATE TABLE table_name_98 (percent_decline_from_peak_population VARCHAR, peak_population__year_ VARCHAR)
SELECT date FROM table_name_93 WHERE turkey_scorers = "nihat kahveci"
I want the date for nihat kahveci
CREATE TABLE table_name_93 (date VARCHAR, turkey_scorers VARCHAR)
SELECT young_rider_classification FROM table_name_3 WHERE stage = "18"
What Young rider classification has a Stage of 18?
CREATE TABLE table_name_3 (young_rider_classification VARCHAR, stage VARCHAR)
SELECT date FROM table_name_31 WHERE race = "northern spur breeders' cup stakes"
What Date is Northern Spur Breeders' Cup Stakes Race?
CREATE TABLE table_name_31 (date VARCHAR, race VARCHAR)
SELECT AVG(popular_votes) FROM table_name_2 WHERE office = "us representative 4" AND percentage = "1.59%" AND year > 1992
How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4?
CREATE TABLE table_name_2 (popular_votes INTEGER, year VARCHAR, office VARCHAR, percentage VARCHAR)
SELECT opponent FROM table_name_25 WHERE record = "78-63"
what opponent has the record of 78-63?
CREATE TABLE table_name_25 (opponent VARCHAR, record VARCHAR)
SELECT d_48_o FROM table_name_47 WHERE d_41_√ = "d 41 √"
Name the D 48 O with D 41 √ of d 41 √
CREATE TABLE table_name_47 (d_48_o VARCHAR, d_41_√ VARCHAR)
SELECT MIN(points) FROM table_name_84 WHERE team = "san martín de tucumán" AND played < 38
What's the lowest Points for the Team of San Martín De Tucumán, and a Played that's smaller than 38?
CREATE TABLE table_name_84 (points INTEGER, team VARCHAR, played VARCHAR)
SELECT rank FROM table_name_85 WHERE album = "sean kingston"
what is the rank when the album is sean kingston?
CREATE TABLE table_name_85 (rank VARCHAR, album VARCHAR)
SELECT score FROM table_name_71 WHERE date = "april 6"
What is the Score on April 6?
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)