answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson"
What is Stephen Thompson's School/Club Team?
CREATE TABLE table_name_80 (school_club_team VARCHAR, player VARCHAR)
SELECT year FROM table_1507806_1 WHERE winning_score = "3 & 2"
WHAT YEAR WAS IT WHEN THE SCORE WAS 3 & 2?
CREATE TABLE table_1507806_1 (year VARCHAR, winning_score VARCHAR)
SELECT AVG(game) FROM table_name_82 WHERE date = "january 9"
What is the mean game played on January 9?
CREATE TABLE table_name_82 (game INTEGER, date VARCHAR)
SELECT MAX(pop__2006_) FROM table_2134521_1
What is the largest population count in any of the census divisions in 2006?
CREATE TABLE table_2134521_1 (pop__2006_ INTEGER)
SELECT AVG(gold) FROM table_name_19 WHERE total = 8 AND bronze > 4
What is the gold number when the total is 8 and bronze is more than 4?
CREATE TABLE table_name_19 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT MIN(total) FROM table_name_41 WHERE matches < 3 AND rank < 2
What is the total when matches is less than 3, and rank is smaller than 2?
CREATE TABLE table_name_41 (total INTEGER, matches VARCHAR, rank VARCHAR)
SELECT home FROM table_name_94 WHERE away = "toronto rebels"
What is the Home with an Away that is toronto rebels?
CREATE TABLE table_name_94 (home VARCHAR, away VARCHAR)
SELECT MAX(horizontal_bar) FROM table_name_4 WHERE country = "france" AND rings < 58.975
Name the highest Horizontal Bar which is in france and Rings smaller than 58.975?
CREATE TABLE table_name_4 (horizontal_bar INTEGER, country VARCHAR, rings VARCHAR)
SELECT SUM(Spent) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith"
How long does student Linda Smith spend on the restaurant in total?
CREATE TABLE Visits_Restaurant (Spent INTEGER); CREATE TABLE Student (Spent INTEGER)
SELECT date FROM table_name_51 WHERE set_1 = "25–21" AND score = "3–0" AND time = "11:00"
What is the Date when the Set 1 is 25–21, and the Score is 3–0, and the Time is 11:00?
CREATE TABLE table_name_51 (date VARCHAR, time VARCHAR, set_1 VARCHAR, score VARCHAR)
SELECT grid FROM table_name_67 WHERE time = "+0.180"
What is the grid with a +0.180 time?
CREATE TABLE table_name_67 (grid VARCHAR, time VARCHAR)
SELECT MAX(poles) FROM table_25548630_1
What are the most poles listed?
CREATE TABLE table_25548630_1 (poles INTEGER)
SELECT AVG(silver) FROM table_name_44 WHERE nation = "germany (ger)" AND bronze > 3
What's the average number of silver medals for germany (GER) having more than 3 bronze?
CREATE TABLE table_name_44 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT australian FROM table_name_61 WHERE british = "ɒs"
Which Australian has British of ɒs?
CREATE TABLE table_name_61 (australian VARCHAR, british VARCHAR)
SELECT division FROM table_15475116_1 WHERE nickname = "Silver Eagles"
In what division will you find the team nicknamed the Silver Eagles
CREATE TABLE table_15475116_1 (division VARCHAR, nickname VARCHAR)
SELECT couple FROM table_name_27 WHERE style = "contemporary"
Which couple participated in the Contemporary style of dance?
CREATE TABLE table_name_27 (couple VARCHAR, style VARCHAR)
SELECT class_aAA FROM table_10399701_2 WHERE school_year = "2000-01"
Who was Class AAA during the school year of 2000-01?
CREATE TABLE table_10399701_2 (class_aAA VARCHAR, school_year VARCHAR)
SELECT COUNT(pick) FROM table_name_26 WHERE pba_team = "san miguel beermen" AND player = "rommel daep"
What is the total number of picks for PBA team san miguel beermen who picked rommel daep?
CREATE TABLE table_name_26 (pick VARCHAR, pba_team VARCHAR, player VARCHAR)
SELECT reporters FROM table_22514845_5 WHERE race_caller = "Dave Johnson" AND s_analyst = "Eddie Arcaro and Howard Cosell"
Name the reporters for dave johnson for eddie arcaro and howard cosell
CREATE TABLE table_22514845_5 (reporters VARCHAR, race_caller VARCHAR, s_analyst VARCHAR)
SELECT launch_date FROM table_name_11 WHERE space_agency = "nasa" AND name = "wide field infrared explorer (wire)"
When did NASA launch the wide field infrared explorer (wire)?
CREATE TABLE table_name_11 (launch_date VARCHAR, space_agency VARCHAR, name VARCHAR)
SELECT SUM(goals_for) FROM table_name_24 WHERE points_1 = 38 AND played < 42
How many goals when the points 1 is 38 and the played number is less than 42?
CREATE TABLE table_name_24 (goals_for INTEGER, points_1 VARCHAR, played VARCHAR)
SELECT record FROM table_name_79 WHERE game = 36
What is Record, when Game is "36"?
CREATE TABLE table_name_79 (record VARCHAR, game VARCHAR)
SELECT class FROM table_name_14 WHERE quantity > 96
Which Class has a Quantity larger than 96?
CREATE TABLE table_name_14 (class VARCHAR, quantity INTEGER)
SELECT depth FROM table_26950408_1 WHERE time___utc__ = "12:19:36"
What is the depth at the UTC time of 12:19:36?
CREATE TABLE table_26950408_1 (depth VARCHAR, time___utc__ VARCHAR)
SELECT outcome FROM table_name_63 WHERE opponent = "victoria azarenka" AND score = "6–2, 2–6, 7–5"
What is Outcome, when Opponent is Victoria Azarenka, and when Score is 6–2, 2–6, 7–5?
CREATE TABLE table_name_63 (outcome VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT event FROM table_name_92 WHERE round = 1 AND time = "3:02"
What event ended in 3:02 of round 1?
CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, time VARCHAR)
SELECT score FROM table_name_72 WHERE place = "t9" AND player = "laura diaz"
What was Laura Diaz's score for place t9?
CREATE TABLE table_name_72 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT MAX(irish_points) FROM table_22875369_3 WHERE opponent = "Eastern Michigan"
Name the max irish points for eastern michigan
CREATE TABLE table_22875369_3 (irish_points INTEGER, opponent VARCHAR)
SELECT player FROM table_name_94 WHERE position = "running back" AND college = "san jose state"
Which player was a running back from San Jose State?
CREATE TABLE table_name_94 (player VARCHAR, position VARCHAR, college VARCHAR)
SELECT stadium FROM table_name_13 WHERE city = "kutina"
What stadium has kutina as the city?
CREATE TABLE table_name_13 (stadium VARCHAR, city VARCHAR)
SELECT score FROM table_name_55 WHERE tie_no = "5"
What score has a tie of 5?
CREATE TABLE table_name_55 (score VARCHAR, tie_no VARCHAR)
SELECT lost FROM table_name_33 WHERE drawn = "0" AND tries_against = "41"
What is the value for Lost when Drawn is 0, and Tries against is 41?
CREATE TABLE table_name_33 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR)
SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = "geiner mosquera"
Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?
CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)
SELECT station FROM table_name_79 WHERE country_of_origin = "china" AND frequency = "684khz"
Which station is from China and has a frequency of 684khz?
CREATE TABLE table_name_79 (station VARCHAR, country_of_origin VARCHAR, frequency VARCHAR)
SELECT result FROM table_26250176_1 WHERE week__number = "Top 12"
What was the results for top 12?
CREATE TABLE table_26250176_1 (result VARCHAR, week__number VARCHAR)
SELECT nielsen_ranking FROM table_name_99 WHERE season = "season 8"
What is the Nielsen ranking for Season 8?
CREATE TABLE table_name_99 (nielsen_ranking VARCHAR, season VARCHAR)
SELECT multi_1 FROM table_name_7 WHERE frequency = "2300mhz" AND release_date = "q3 2008" AND model_number = "turion x2 ultra zm-84"
Which Multi 1 has a Frequency of 2300mhz, and a Release date of q3 2008 and a Model number of turion x2 ultra zm-84?
CREATE TABLE table_name_7 (multi_1 VARCHAR, model_number VARCHAR, frequency VARCHAR, release_date VARCHAR)
SELECT COUNT(platform) FROM table_1569516_1 WHERE operator = "Southern" AND service_pattern = "All stations via Clapham Junction"
How many platforms have a southern opertator and the pattern is all stations via clapham junction?
CREATE TABLE table_1569516_1 (platform VARCHAR, operator VARCHAR, service_pattern VARCHAR)
SELECT COUNT(lost) FROM table_name_1 WHERE against < 15
How many losses have points against less than 15?
CREATE TABLE table_name_1 (lost VARCHAR, against INTEGER)
SELECT gender FROM table_name_63 WHERE name = "elsthorpe school"
Name the gender for elsthorpe school
CREATE TABLE table_name_63 (gender VARCHAR, name VARCHAR)
SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE weight__kg_m_ = "19.9"
What is the flange thickness when the weight is 19.9?
CREATE TABLE table_2071644_2 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)
SELECT composition FROM table_11464746_1 WHERE house_name = "Benue"
What is the benue house made of?
CREATE TABLE table_11464746_1 (composition VARCHAR, house_name VARCHAR)
SELECT highest_attendance_away FROM table_1816947_2 WHERE average_attendance_home = "3.123"
When the home attendance is 3.123, what's the highest away attendance?
CREATE TABLE table_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR)
SELECT arena FROM table_name_32 WHERE capacity = "800" AND team = "milton keynes lions"
Which arena has the Milton Keynes Lions and a capacity of 800?
CREATE TABLE table_name_32 (arena VARCHAR, capacity VARCHAR, team VARCHAR)
SELECT COUNT(year) FROM table_1458412_1 WHERE avg_start = "27.3"
What is the totl amount of years where avg start is 27.3?
CREATE TABLE table_1458412_1 (year VARCHAR, avg_start VARCHAR)
SELECT MIN(round) FROM table_name_17 WHERE position = "fullback"
What is the lowest round a fullback went in?
CREATE TABLE table_name_17 (round INTEGER, position VARCHAR)
SELECT nurse FROM on_call WHERE blockfloor = 1 AND blockcode = 1
What nurses are on call with block floor 1 and block code 1? Tell me their names.
CREATE TABLE on_call (nurse VARCHAR, blockfloor VARCHAR, blockcode VARCHAR)
SELECT AVG(against) FROM table_name_73 WHERE venue = "twickenham , london" AND date = "25 november 1978"
Name the average Against that has a Venue of twickenham , london on 25 november 1978?
CREATE TABLE table_name_73 (against INTEGER, venue VARCHAR, date VARCHAR)
SELECT score FROM table_name_13 WHERE date = "november 19, 2008"
On November 19, 2008 what was the score?
CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR)
SELECT time_retired FROM table_name_59 WHERE grid < 13 AND driver = "jarno trulli"
What was the time of the race for Driver Jarno Trulli on a grid smaller than 13?
CREATE TABLE table_name_59 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT SUM(earnings_per_share__) AS ¢_ FROM table_name_34 WHERE year_to_april < 2012 AND revenue__us_$million_ = 432.6 AND ebit__us_$m_ < 150.5
Count the Earnings per share (¢) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5?
CREATE TABLE table_name_34 (earnings_per_share__ INTEGER, ebit__us_$m_ VARCHAR, year_to_april VARCHAR, revenue__us_$million_ VARCHAR)
SELECT result FROM table_name_68 WHERE road_team = "boston" AND date = "april 23"
WHAT IS THE RESULT WITH THE BOSTON ROAD TEAM, ON APRIL 23?
CREATE TABLE table_name_68 (result VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT score FROM table_name_19 WHERE team = "@ chicago"
For the game with team of @ Chicago, what was the final score?
CREATE TABLE table_name_19 (score VARCHAR, team VARCHAR)
SELECT AVG(founded) FROM table_name_31 WHERE years = "k-6" AND suburb_town = "broken hill"
What is the average year founded that is located in Broken Hill and has school years of k-6?
CREATE TABLE table_name_31 (founded INTEGER, years VARCHAR, suburb_town VARCHAR)
SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02"
tell me the director of the production code ad1d02.
CREATE TABLE table_name_32 (directed_by VARCHAR, production_code VARCHAR)
SELECT manager FROM table_1218784_1 WHERE rank = 16
Who is the manager whose rank is 16?
CREATE TABLE table_1218784_1 (manager VARCHAR, rank VARCHAR)
SELECT date FROM table_name_82 WHERE promotor = "frank moloney" AND opponent = "georgi iliev"
Which date has the promoter Frank Moloney and the opponent Georgi Iliev?
CREATE TABLE table_name_82 (date VARCHAR, promotor VARCHAR, opponent VARCHAR)
SELECT hanzi FROM table_name_69 WHERE launch = "1996" AND name = "phoenix television chinese"
What is the Hanzi of Phoenix Television Chinese that launched in 1996?
CREATE TABLE table_name_69 (hanzi VARCHAR, launch VARCHAR, name VARCHAR)
SELECT date FROM table_name_18 WHERE venue = "victoria park"
When was victoria park used as a venue?
CREATE TABLE table_name_18 (date VARCHAR, venue VARCHAR)
SELECT seat_no_1 FROM table_2231241_1 WHERE mayor = "John J. Seguier"
Who is seat no 1 when the mayor was john j. seguier
CREATE TABLE table_2231241_1 (seat_no_1 VARCHAR, mayor VARCHAR)
SELECT interview_subject FROM table_1566850_9 WHERE date = "8-98"
Who was interviewed in the 8-98 issue?
CREATE TABLE table_1566850_9 (interview_subject VARCHAR, date VARCHAR)
SELECT winning_driver FROM table_name_8 WHERE circuit = "sachsenring"
Who was the winning driver in the Sachsenring circuit?
CREATE TABLE table_name_8 (winning_driver VARCHAR, circuit VARCHAR)
SELECT name FROM table_name_23 WHERE rank = 5
Who has rank 5?
CREATE TABLE table_name_23 (name VARCHAR, rank VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_30 WHERE parish__prestegjeld_ = "hafslo parish" AND church_name = "hafslo kyrkje"
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje?
CREATE TABLE table_name_30 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, church_name VARCHAR)
SELECT salary_range FROM table_27257896_2 WHERE working_force_of_hk = "10.4%"
If the working force of HK is 10.4%, what is the salary range?
CREATE TABLE table_27257896_2 (salary_range VARCHAR, working_force_of_hk VARCHAR)
SELECT attendance FROM table_name_45 WHERE week = 8
What was the attendance like for week 8?
CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR)
SELECT score FROM table_name_84 WHERE record = "38-18"
What is the Score for the game with a record of 38-18?
CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR)
SELECT COUNT(founded) FROM table_2076557_2 WHERE location_s_ = "Yankton"
Name the total number of founded for yankton
CREATE TABLE table_2076557_2 (founded VARCHAR, location_s_ VARCHAR)
SELECT result FROM table_name_31 WHERE date = "29,30–31 may 1902"
What was the result of the game that was played on 29,30–31 May 1902?
CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR)
SELECT most_recent_date FROM table_18676973_3 WHERE country = "United Kingdom"
When united kingdom is the country what is the most recent date?
CREATE TABLE table_18676973_3 (most_recent_date VARCHAR, country VARCHAR)
SELECT artist_s_ FROM table_name_39 WHERE team_s_ = "seattle seahawks"
Who is the artist of the Seattle Seahawks track?
CREATE TABLE table_name_39 (artist_s_ VARCHAR, team_s_ VARCHAR)
SELECT outcome FROM table_name_76 WHERE date = "july 16, 2011"
What's the Outcome for the Date of July 16, 2011?
CREATE TABLE table_name_76 (outcome VARCHAR, date VARCHAR)
SELECT record FROM table_name_55 WHERE date = "december 5, 2007"
What is the record of the game on December 5, 2007?
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT rookie FROM table_name_5 WHERE goalkeeper = "rob scherr" AND week < 6
Who is the rookie goalkeeper Rob Scherr who played before week 6?
CREATE TABLE table_name_5 (rookie VARCHAR, goalkeeper VARCHAR, week VARCHAR)
SELECT monounsaturated_fat FROM table_name_85 WHERE smoke_point = "°c ()" AND total_fat = "100g" AND polyunsaturated_fat = "11g" AND saturated_fat = "14g"
What is the monounsaturated fat with a smoke point of °c (), a total fat of 100g, 11g of polyunsaturated fat, and 14g of saturated fat?
CREATE TABLE table_name_85 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR, polyunsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR)
SELECT winners FROM table_12303563_2 WHERE nation = "Vietnam"
how many winners from vietnam
CREATE TABLE table_12303563_2 (winners VARCHAR, nation VARCHAR)
SELECT AVG(attendance) FROM table_name_98 WHERE score = "0:0 - 4:1 (pen)"
How many Attendance in a match which scores 0:0 - 4:1 (pen)
CREATE TABLE table_name_98 (attendance INTEGER, score VARCHAR)
SELECT pba_team FROM table_name_50 WHERE college = "santo tomas"
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 MAX(year) FROM table_name_50 WHERE delegate = "jennifer tarol barrientos"
Which Year jennifer tarol barrientos is in?
CREATE TABLE table_name_50 (year INTEGER, delegate VARCHAR)
SELECT name FROM station WHERE lat < 37.5
What are the names of stations that have latitude lower than 37.5?
CREATE TABLE station (name VARCHAR, lat INTEGER)
SELECT goals FROM table_name_13 WHERE caps > 8 AND player = "stein huysegems"
How many goals occurred for Stein Huysegems when the caps value is more than 8?
CREATE TABLE table_name_13 (goals VARCHAR, caps VARCHAR, player VARCHAR)
SELECT runner_up FROM table_name_36 WHERE week = "april 11"
What is the Runner-up on April 11?
CREATE TABLE table_name_36 (runner_up VARCHAR, week VARCHAR)
SELECT prize FROM table_name_21 WHERE winner = "john shaw"
What is Prize, when Winner is "John Shaw"?
CREATE TABLE table_name_21 (prize VARCHAR, winner VARCHAR)
SELECT MIN(total) FROM table_name_89 WHERE silver > 2 AND nation = "russia" AND gold < 4
What is the lowest amount of medals Russia has if they have more than 2 silver medals and less than 4 gold medals?
CREATE TABLE table_name_89 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT date FROM table_name_20 WHERE record = "5-31"
When was the score 5-31?
CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_33 WHERE location = "arrowhead stadium"
What is the date of the game at Arrowhead Stadium?
CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR)
SELECT MAX(round1) FROM table_24784769_1 WHERE total_points = 132
How many points did the team who had 132 total points have in round 1?
CREATE TABLE table_24784769_1 (round1 INTEGER, total_points VARCHAR)
SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines"
What was the most recent year for Dean Van Lines?
CREATE TABLE table_name_41 (year INTEGER, entrant VARCHAR)
SELECT county FROM table_name_36 WHERE mascot = "pacers"
Which County has a Mascot of pacers?
CREATE TABLE table_name_36 (county VARCHAR, mascot VARCHAR)
SELECT group FROM table_name_42 WHERE team = "dolphins"
What is the Dolphins Group?
CREATE TABLE table_name_42 (group VARCHAR, team VARCHAR)
SELECT date FROM table_name_20 WHERE score = "113-115 (ot)"
What date has 113-115 (ot) as the score?
CREATE TABLE table_name_20 (date VARCHAR, score VARCHAR)
SELECT tail_code FROM table_name_29 WHERE weapon_systems_officer = "capt charles b. debellevue"
Which Tail Code belongs to Weapon Systems Officer Capt Charles B. Debellevue?
CREATE TABLE table_name_29 (tail_code VARCHAR, weapon_systems_officer VARCHAR)
SELECT developer FROM table_name_97 WHERE publisher = "rockstar games"
Who does Rockstar Games use as a developer?
CREATE TABLE table_name_97 (developer VARCHAR, publisher VARCHAR)
SELECT religion FROM table_28137918_5 WHERE growth_rate = "1.56%"
Name the religion that has a growth rate of 1.56%
CREATE TABLE table_28137918_5 (religion VARCHAR, growth_rate VARCHAR)
SELECT city FROM table_name_77 WHERE country = "maldives"
What is the City in the Maldives?
CREATE TABLE table_name_77 (city VARCHAR, country VARCHAR)
SELECT COUNT(week) FROM table_name_72 WHERE opponent = "pittsburgh steelers"
How many weeks total did the New York Jets face the Pittsburgh Steelers?
CREATE TABLE table_name_72 (week VARCHAR, opponent VARCHAR)
SELECT avg_g FROM table_name_74 WHERE season = "2009"
What was the Av/G of the 2009 season?
CREATE TABLE table_name_74 (avg_g VARCHAR, season VARCHAR)
SELECT away_team FROM table_name_77 WHERE home_team = "carlton"
What away team did Carlton play?
CREATE TABLE table_name_77 (away_team VARCHAR, home_team VARCHAR)
SELECT MIN(win) FROM table_14288212_1 WHERE played = 5
For teams that played 5 games, what was the smallest number of wins?
CREATE TABLE table_14288212_1 (win INTEGER, played VARCHAR)
SELECT italian FROM table_name_44 WHERE common_english = "glarus"
What is the italian word for Glarus?
CREATE TABLE table_name_44 (italian VARCHAR, common_english VARCHAR)