question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
what is the scoreboard when karen was 4.5
CREATE TABLE table_19744915_3 (scoreboard VARCHAR, karen VARCHAR)
SELECT scoreboard FROM table_19744915_3 WHERE karen = "4.5"
How many series premieres did the season "All-stars" have?
CREATE TABLE table_2311410_1 (series_premiere VARCHAR, season VARCHAR)
SELECT COUNT(series_premiere) FROM table_2311410_1 WHERE season = "All-Stars"
Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk?
CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR)
SELECT score FROM table_name_68 WHERE year > 1980 AND margin_of_victory = "2 strokes" AND country = "united states" AND player = "jim furyk"
What is the title when original air date is may15,2008?
CREATE TABLE table_10701133_1 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_10701133_1 WHERE original_air_date = "May15,2008"
What is the Higgins with a Davis that is 9%?
CREATE TABLE table_name_90 (higgins VARCHAR, davis VARCHAR)
SELECT higgins FROM table_name_90 WHERE davis = "9%"
What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS?
CREATE TABLE table_name_79 (romaji_title VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)
SELECT romaji_title FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "around40〜注文の多いオンナたち〜"
What Semimajor axis (AU) has a Mass of ≥ 3.5 ± 1.4 m⊕?
CREATE TABLE table_name_73 (semimajor_axis___au__ VARCHAR, mass VARCHAR)
SELECT semimajor_axis___au__ FROM table_name_73 WHERE mass = "≥ 3.5 ± 1.4 m⊕"
Which rider had a speed of 104.630mph?
CREATE TABLE table_name_84 (rider VARCHAR, speed VARCHAR)
SELECT rider FROM table_name_84 WHERE speed = "104.630mph"
Which Events is the highest one that has a Top-5 larger than 5, and a Top-10 larger than 28?
CREATE TABLE table_name_93 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR)
SELECT MAX(events) FROM table_name_93 WHERE top_5 > 5 AND top_10 > 28
Who is the runner-up where the winning score is –8 (71-69-67-73=280)?
CREATE TABLE table_name_45 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_45 WHERE winning_score = –8(71 - 69 - 67 - 73 = 280)
Which result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?
CREATE TABLE table_name_87 (result VARCHAR, recipients_and_nominees VARCHAR, year VARCHAR)
SELECT result FROM table_name_87 WHERE recipients_and_nominees = "outstanding achievement in drama" AND year = 1995
What is the 2004 value with a sf in 2010?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT 2004 FROM table_name_4 WHERE 2010 = "sf"
What is every amount for weight lost if the starting weight is 97.4?
CREATE TABLE table_24370270_10 (weight_lost__kg_ VARCHAR, starting_weight__kg_ VARCHAR)
SELECT weight_lost__kg_ FROM table_24370270_10 WHERE starting_weight__kg_ = "97.4"
What is the smallest roll with a Decile larger than 6, and a Name of broomfield school?
CREATE TABLE table_name_40 (roll INTEGER, decile VARCHAR, name VARCHAR)
SELECT MIN(roll) FROM table_name_40 WHERE decile > 6 AND name = "broomfield school"
What was the score when Burnley was the away team?
CREATE TABLE table_name_31 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_31 WHERE away_team = "burnley"
What was the surface in 1996?
CREATE TABLE table_name_68 (surface VARCHAR, year VARCHAR)
SELECT surface FROM table_name_68 WHERE year = 1996
How many ages for player Amy Cato?
CREATE TABLE table_24501530_1 (age VARCHAR, candidate VARCHAR)
SELECT COUNT(age) FROM table_24501530_1 WHERE candidate = "Amy Cato"
What are the name of courses that have at least five enrollments?
CREATE TABLE ENROLLED_IN (CID VARCHAR); CREATE TABLE COURSE (CName VARCHAR, CID VARCHAR)
SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID = T2.CID GROUP BY T2.CID HAVING COUNT(*) >= 5
What is the frequency of the Turion 64 X2 TL-62?
CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR)
SELECT frequency FROM table_name_8 WHERE model_number = "turion 64 x2 tl-62"
How many under the category of Against have a Difference of 11
CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR)
SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11
What is the earliest year?
CREATE TABLE table_2127933_3 (year INTEGER)
SELECT MIN(year) FROM table_2127933_3
Who was the coach in 1953?
CREATE TABLE table_name_19 (coach VARCHAR, year VARCHAR)
SELECT coach FROM table_name_19 WHERE year = "1953"
What are the different ids and names of the battles that lost any 'Brig' type shipes?
CREATE TABLE ship (lost_in_battle VARCHAR, ship_type VARCHAR); CREATE TABLE battle (id VARCHAR, name VARCHAR)
SELECT DISTINCT T1.id, T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.ship_type = 'Brig'
For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name.
CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR)
SELECT romanised_name FROM table_17964087_2 WHERE prior_occupation = "Assistant Police Commissioner (ret'd)"
What is the highest Lane used by a racer from Malta?
CREATE TABLE table_name_67 (lane INTEGER, nationality VARCHAR)
SELECT MAX(lane) FROM table_name_67 WHERE nationality = "malta"
How many Points has Wins larger than 0?
CREATE TABLE table_name_24 (points VARCHAR, wins INTEGER)
SELECT COUNT(points) FROM table_name_24 WHERE wins > 0
What is the score of the away team who played home team Hawthorn?
CREATE TABLE table_name_21 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_21 WHERE home_team = "hawthorn"
How many "goals against" were scored at the club that had a "goal difference" of 0, 12 wins, and more than 44 goals?
CREATE TABLE table_name_13 (goals_against VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, wins VARCHAR)
SELECT COUNT(goals_against) FROM table_name_13 WHERE goal_difference = 0 AND wins = 12 AND goals_for > 44
What is the average rating for right-footed players and left-footed players?
CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER)
SELECT preferred_foot, AVG(overall_rating) FROM Player_Attributes GROUP BY preferred_foot
What was the name of the episode directed by Jessica Yu?
CREATE TABLE table_23492454_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_23492454_1 WHERE directed_by = "Jessica Yu"
What is the least year when men's singles is Raju Rai?
CREATE TABLE table_22587192_1 (year INTEGER, mens_singles VARCHAR)
SELECT MIN(year) FROM table_22587192_1 WHERE mens_singles = "Raju Rai"
Which Title has a Termination of Mission of current?
CREATE TABLE table_name_94 (title VARCHAR, termination_of_mission VARCHAR)
SELECT title FROM table_name_94 WHERE termination_of_mission = "current"
What is the up/down at the venue that hosted 7 games?
CREATE TABLE table_1161065_28 (up_down VARCHAR, hosted VARCHAR)
SELECT up_down FROM table_1161065_28 WHERE hosted = 7
What is the highest goal for a GEO nat., that ended after 2010?
CREATE TABLE table_name_6 (goals INTEGER, nat VARCHAR, ends VARCHAR)
SELECT MAX(goals) FROM table_name_6 WHERE nat = "geo" AND ends > 2010
how much prize money (in USD) did bob lutz win
CREATE TABLE table_29302711_12 (prize_money__usd_ INTEGER, name VARCHAR)
SELECT MAX(prize_money__usd_) FROM table_29302711_12 WHERE name = "Bob Lutz"
What is the position of the player with a height of 205 and shirt no 8?
CREATE TABLE table_name_14 (position VARCHAR, height VARCHAR, shirt_no VARCHAR)
SELECT position FROM table_name_14 WHERE height = 205 AND shirt_no = 8
What was the date of the game that had a loss of Risley (0-1)?
CREATE TABLE table_name_2 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_2 WHERE loss = "risley (0-1)"
What is the lowest Number, when College is "University of Alabama"?
CREATE TABLE table_name_48 (number INTEGER, college VARCHAR)
SELECT MIN(number) FROM table_name_48 WHERE college = "university of alabama"
How many league goals did the player with 10 league apps and 0 FA cup goals have?
CREATE TABLE table_name_93 (league_goals VARCHAR, fa_cup_goals VARCHAR, league_apps VARCHAR)
SELECT COUNT(league_goals) FROM table_name_93 WHERE fa_cup_goals = 0 AND league_apps = "10"
What was the result on 29/09/07?
CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_14 WHERE date = "29/09/07"
Find the average age of losers and winners of all matches.
CREATE TABLE matches (loser_age INTEGER, winner_age INTEGER)
SELECT AVG(loser_age), AVG(winner_age) FROM matches
which open cup was in 2012?
CREATE TABLE table_name_36 (open_cup VARCHAR, year VARCHAR)
SELECT open_cup FROM table_name_36 WHERE year = "2012"
Name the mountains classification for bradley white
CREATE TABLE table_23944514_15 (mountains_classification VARCHAR, aggressive_rider VARCHAR)
SELECT mountains_classification FROM table_23944514_15 WHERE aggressive_rider = "Bradley White"
At the match which took place in arden street oval, how much did the away team score?
CREATE TABLE table_name_79 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_79 WHERE venue = "arden street oval"
What was the first week when there was an attendance over 75,007 at Mile High Stadium?
CREATE TABLE table_name_21 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_21 WHERE game_site = "mile high stadium" AND attendance > 75 OFFSET 007
What was the amount of laps for the vehicle manufactured by honda with a grid of 9?
CREATE TABLE table_name_34 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_34 WHERE manufacturer = "honda" AND grid = "9"
Who directed the movie The Star Packer?
CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_79 WHERE title = "the star packer"
what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969
CREATE TABLE table_13746866_2 (number_of_deputies VARCHAR, number_of_votes_received VARCHAR, election_date VARCHAR)
SELECT number_of_deputies FROM table_13746866_2 WHERE number_of_votes_received < 1549176.2765483726 AND election_date = 1969
What is Location Attendance, when High Assists is Alvin Williams (9)?
CREATE TABLE table_name_29 (location_attendance VARCHAR, high_assists VARCHAR)
SELECT location_attendance FROM table_name_29 WHERE high_assists = "alvin williams (9)"
What was the score for an n/a location with the odds of p + 1?
CREATE TABLE table_name_61 (result VARCHAR, location VARCHAR, odds VARCHAR)
SELECT result FROM table_name_61 WHERE location = "n/a" AND odds = "p + 1"
With an outlet of Colorado River and a % instate of a038 84.8% what is in-state area?
CREATE TABLE table_name_30 (in_state_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR)
SELECT in_state_area FROM table_name_30 WHERE outlet = "colorado river" AND _percentage_in_state = "a038 84.8%"
List the asset id, details, make and model for every asset.
CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR, asset_make VARCHAR, asset_model VARCHAR)
SELECT asset_id, asset_details, asset_make, asset_model FROM Assets
What is the perfect stem for the word that has a future stem of emango?
CREATE TABLE table_name_79 (perfect_stem VARCHAR, future_stem VARCHAR)
SELECT perfect_stem FROM table_name_79 WHERE future_stem = "emango"
What is the largest amount of top division titles featuring the tammeka club?
CREATE TABLE table_name_56 (top_division_titles INTEGER, club VARCHAR)
SELECT MAX(top_division_titles) FROM table_name_56 WHERE club = "tammeka"
What is the highest Top 25 with a Money list rank of 232 and Cuts smaller than 2?
CREATE TABLE table_name_53 (top_25 INTEGER, money_list_rank VARCHAR, cuts_made VARCHAR)
SELECT MAX(top_25) FROM table_name_53 WHERE money_list_rank = "232" AND cuts_made < 2
Which country had an interview score of 9.40 and average of 9.44?
CREATE TABLE table_11884814_3 (country VARCHAR, interview VARCHAR, average VARCHAR)
SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44"
what was the final score of the game where josh powell (13) scored the most points?
CREATE TABLE table_27734577_2 (score VARCHAR, high_points VARCHAR)
SELECT score FROM table_27734577_2 WHERE high_points = "Josh Powell (13)"
What is every result for the ceremony year of 2007 (80th)?
CREATE TABLE table_22128871_1 (result VARCHAR, year__ceremony_ VARCHAR)
SELECT result FROM table_22128871_1 WHERE year__ceremony_ = "2007 (80th)"
What score has 7-0 as the result?
CREATE TABLE table_name_56 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_56 WHERE result = "7-0"
Display the first name, and department number for all employees whose last name is "McEwen".
CREATE TABLE employees (first_name VARCHAR, department_id VARCHAR, last_name VARCHAR)
SELECT first_name, department_id FROM employees WHERE last_name = 'McEwen'
When the Apps were smaller than 22, what's the lowest amount of goals scored in a game?
CREATE TABLE table_name_33 (goals INTEGER, apps INTEGER)
SELECT MIN(goals) FROM table_name_33 WHERE apps < 22
Which driver has 162 entries?
CREATE TABLE table_name_74 (driver VARCHAR, entries VARCHAR)
SELECT driver FROM table_name_74 WHERE entries = 162
Who is the husband of the image of renata of lorraine?
CREATE TABLE table_name_87 (husband VARCHAR, image VARCHAR)
SELECT husband FROM table_name_87 WHERE image = "renata of lorraine"
When the wins is 3, what is the maximum races?
CREATE TABLE table_17289224_1 (races INTEGER, wins VARCHAR)
SELECT MAX(races) FROM table_17289224_1 WHERE wins = 3
How many million of windows phones were shipped during the quarter that shipped 216.2 million total?
CREATE TABLE table_14260687_3 (windows_phone VARCHAR, total VARCHAR)
SELECT windows_phone FROM table_14260687_3 WHERE total = "216.2"
What max processor has a maximum memory of 256 gb?
CREATE TABLE table_10818465_1 (max_processors VARCHAR, max_memory VARCHAR)
SELECT max_processors FROM table_10818465_1 WHERE max_memory = "256 GB"
What is the population of Kragerø?
CREATE TABLE table_name_17 (population INTEGER, city VARCHAR)
SELECT MIN(population) FROM table_name_17 WHERE city = "kragerø"
What is the score of the game with 22 points and the capitals as the opponent?
CREATE TABLE table_name_37 (score VARCHAR, points VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_37 WHERE points = 22 AND opponent = "capitals"
Which County has an Enrollment of 297?
CREATE TABLE table_name_16 (county VARCHAR, enrollment VARCHAR)
SELECT county FROM table_name_16 WHERE enrollment = 297
In what Year was the Position 11th?
CREATE TABLE table_name_80 (year VARCHAR, position VARCHAR)
SELECT COUNT(year) FROM table_name_80 WHERE position = "11th"
What was the date for a catalog formatted in stereo LP?
CREATE TABLE table_name_33 (date VARCHAR, format VARCHAR)
SELECT date FROM table_name_33 WHERE format = "stereo lp"
Which Wins has an Against of 1940, and a Byes larger than 0?
CREATE TABLE table_name_61 (wins INTEGER, against VARCHAR, byes VARCHAR)
SELECT MAX(wins) FROM table_name_61 WHERE against = 1940 AND byes > 0
Name the average reported isn for july 2007 for kuwait release of no
CREATE TABLE table_name_4 (reported_isn INTEGER, on_july_2007_press_release VARCHAR, citizenship VARCHAR)
SELECT AVG(reported_isn) FROM table_name_4 WHERE on_july_2007_press_release = "no" AND citizenship = "kuwait"
Which player was drafted overall from the college of Nebraska in a round under 6, pick of 15, and overall under 224?
CREATE TABLE table_name_19 (name VARCHAR, college VARCHAR, pick VARCHAR, overall VARCHAR, round VARCHAR)
SELECT name FROM table_name_19 WHERE overall < 224 AND round < 6 AND pick = 15 AND college = "nebraska"
What was the result of the game on December 22, 1991?
CREATE TABLE table_name_37 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_37 WHERE date = "december 22, 1991"
Where was the Olympic Games held?
CREATE TABLE table_name_29 (venue VARCHAR, tournament VARCHAR)
SELECT venue FROM table_name_29 WHERE tournament = "olympic games"
What is the yeast ortholog that has a subpathway of GGR and GeneCards entry CETN2?
CREATE TABLE table_name_19 (yeast_ortholog VARCHAR, subpathway VARCHAR, genecards_entry VARCHAR)
SELECT yeast_ortholog FROM table_name_19 WHERE subpathway = "ggr" AND genecards_entry = "cetn2"
What was the final score of the game on November 17?
CREATE TABLE table_name_33 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_name_33 WHERE date = "november 17"
What is the grid of driver tomas scheckter from vision racing team?
CREATE TABLE table_name_22 (grid VARCHAR, team VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter"
What is the height of number 52?
CREATE TABLE table_name_80 (height VARCHAR, number VARCHAR)
SELECT height FROM table_name_80 WHERE number = 52
I want the result for team of giants
CREATE TABLE table_name_39 (result VARCHAR, team VARCHAR)
SELECT result FROM table_name_39 WHERE team = "giants"
What is the rank associated with 0 wins and a 350cc class?
CREATE TABLE table_name_42 (rank VARCHAR, wins VARCHAR, class VARCHAR)
SELECT rank FROM table_name_42 WHERE wins = 0 AND class = "350cc"
Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver?
CREATE TABLE table_20466963_4 (guest_2 VARCHAR, guest_4 VARCHAR, guest_3 VARCHAR)
SELECT guest_2 FROM table_20466963_4 WHERE guest_4 = "Iyare Igiehon" AND guest_3 = "John Oliver"
What is the Australian equivalent to i /ɪ/?
CREATE TABLE table_name_79 (australian VARCHAR, letter VARCHAR)
SELECT australian FROM table_name_79 WHERE letter = "i /ɪ/"
When was the game played against Astley Bridge 'a'?
CREATE TABLE table_name_56 (date VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_56 WHERE opponents = "astley bridge 'a'"
What is the name of the video game magazine that was issued bimonthly?
CREATE TABLE table_name_36 (title VARCHAR, magazine_type VARCHAR, frequency VARCHAR)
SELECT title FROM table_name_36 WHERE magazine_type = "video game" AND frequency = "bimonthly"
What is the Opponent in final of the Pingguo Tournament?
CREATE TABLE table_name_47 (opponent_in_final VARCHAR, tournament VARCHAR)
SELECT opponent_in_final FROM table_name_47 WHERE tournament = "pingguo"
What is the Score of the game with a Record of 12–12?
CREATE TABLE table_name_93 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_93 WHERE record = "12–12"
What is the Total Region number of hte one that has Eidsvold at 970 and Biggenden larger than 1,570?
CREATE TABLE table_name_40 (total_region VARCHAR, eidsvold VARCHAR, biggenden VARCHAR)
SELECT COUNT(total_region) FROM table_name_40 WHERE eidsvold = 970 AND biggenden > 1 OFFSET 570
What result has a year after 2002?
CREATE TABLE table_name_35 (result VARCHAR, year INTEGER)
SELECT result FROM table_name_35 WHERE year > 2002
what's the mole with winner being frédérique huydts
CREATE TABLE table_13036251_1 (the_mole VARCHAR, winner VARCHAR)
SELECT the_mole FROM table_13036251_1 WHERE winner = "Frédérique Huydts"
What is the school of the player from the College of Michigan?
CREATE TABLE table_name_35 (school VARCHAR, college VARCHAR)
SELECT school FROM table_name_35 WHERE college = "michigan"
What are the years for Eileen Derbyshire with a duration of 52 years?
CREATE TABLE table_name_4 (years VARCHAR, duration VARCHAR, actor VARCHAR)
SELECT years FROM table_name_4 WHERE duration = "52 years" AND actor = "eileen derbyshire"
How many caps for alister campbell from brumbies?
CREATE TABLE table_name_67 (caps INTEGER, club_province VARCHAR, player VARCHAR)
SELECT MIN(caps) FROM table_name_67 WHERE club_province = "brumbies" AND player = "alister campbell"
How may championships were won by the team that started in 1950?
CREATE TABLE table_21564794_3 (championships_in_st_louis VARCHAR, began_in_st_louis VARCHAR)
SELECT championships_in_st_louis FROM table_21564794_3 WHERE began_in_st_louis = 1950
What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8
CREATE TABLE table_101336_1 (notation VARCHAR, crystal_structure VARCHAR, formula VARCHAR)
SELECT notation FROM table_101336_1 WHERE crystal_structure = "Tetragonal" AND formula = "Bi 2 Sr 2 CaCu 2 O 8"
How much Preston North End has a Blackpool smaller than 0?
CREATE TABLE table_name_90 (preston_north_end VARCHAR, blackpool INTEGER)
SELECT COUNT(preston_north_end) FROM table_name_90 WHERE blackpool < 0
What was the time for the man who scored 1 point?
CREATE TABLE table_name_89 (time VARCHAR, points VARCHAR)
SELECT time FROM table_name_89 WHERE points = 1
What is the sum of Money ($), when Score is 70-71-70-69=280?
CREATE TABLE table_name_43 (money___ INTEGER, score VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_43 WHERE score = 70 - 71 - 70 - 69 = 280
What is the home team of the match with an attendance greater than 202?
CREATE TABLE table_name_22 (home_team VARCHAR, attendance INTEGER)
SELECT home_team FROM table_name_22 WHERE attendance > 202