question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the game for record being 3-0
CREATE TABLE table_20928661_1 (game VARCHAR, record VARCHAR)
SELECT game FROM table_20928661_1 WHERE record = "3-0"
When the Away team is melbourne, what venue do they play at?
CREATE TABLE table_name_74 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_74 WHERE away_team = "melbourne"
What game number had an attendance of 2813?
CREATE TABLE table_20745754_1 (_number VARCHAR, attendance VARCHAR)
SELECT _number FROM table_20745754_1 WHERE attendance = 2813
Who wrote the episode that was directed by Dennie Gordon
CREATE TABLE table_15938543_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_15938543_1 WHERE directed_by = "Dennie Gordon"
What is Team (B), when S No is less than 18, when Margin is 8 Wickets, and when Match Date is Oct 30, 1989?
CREATE TABLE table_name_31 (team__b_ VARCHAR, match_date VARCHAR, s_no VARCHAR, margin VARCHAR)
SELECT team__b_ FROM table_name_31 WHERE s_no < 18 AND margin = "8 wickets" AND match_date = "oct 30, 1989"
Which lowest period's element is ruthenium?
CREATE TABLE table_name_28 (period INTEGER, element VARCHAR)
SELECT MIN(period) FROM table_name_28 WHERE element = "ruthenium"
Justin Wilson has what has his best time?
CREATE TABLE table_name_99 (best VARCHAR, name VARCHAR)
SELECT best FROM table_name_99 WHERE name = "justin wilson"
Which class had Stanley Dickens as a driver?
CREATE TABLE table_name_11 (class VARCHAR, driver VARCHAR)
SELECT class FROM table_name_11 WHERE driver = "stanley dickens"
what tournament happened on may 2, 2011?
CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011"
What is the attendance number in the final round?
CREATE TABLE table_name_29 (attendance INTEGER, round VARCHAR)
SELECT SUM(attendance) FROM table_name_29 WHERE round = "final"
What is the model for Thor's Hammer which is listed as operating?
CREATE TABLE table_name_16 (model VARCHAR, status VARCHAR, name VARCHAR)
SELECT model FROM table_name_16 WHERE status = "operating" AND name = "thor's hammer"
Who did the argonauts play against during the game that had 19,423 fans in attendance?
CREATE TABLE table_name_45 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_45 WHERE attendance = "19,423"
When Benalla DFL is swanpool with less than 16 losses, what is the sum of Byes?
CREATE TABLE table_name_39 (byes VARCHAR, benalla_dfl VARCHAR, losses VARCHAR)
SELECT COUNT(byes) FROM table_name_39 WHERE benalla_dfl = "swanpool" AND losses < 16
Name the power for 1.8 duratorq
CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR)
SELECT power_rpm FROM table_name_91 WHERE model_engine = "1.8 duratorq"
What set 2 has a set 4 of 21-25?
CREATE TABLE table_name_74 (set_2 VARCHAR, set_4 VARCHAR)
SELECT set_2 FROM table_name_74 WHERE set_4 = "21-25"
what is the home team when the round # is round 1?
CREATE TABLE table_26847237_3 (home_team VARCHAR, round__number VARCHAR)
SELECT home_team FROM table_26847237_3 WHERE round__number = "Round 1"
Who had the placekicker position with a round above 10?
CREATE TABLE table_name_64 (name VARCHAR, round VARCHAR, position VARCHAR)
SELECT name FROM table_name_64 WHERE round > 10 AND position = "placekicker"
What Poles have Races smaller than 4?
CREATE TABLE table_name_59 (poles INTEGER, races INTEGER)
SELECT AVG(poles) FROM table_name_59 WHERE races < 4
What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result?
CREATE TABLE table_name_26 (date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR)
SELECT date FROM table_name_26 WHERE original_team = "vancouver canucks" AND result = "matched" AND player = "ryan kesler"
Find the max and min grade point for all letter grade.
CREATE TABLE GRADECONVERSION (gradepoint INTEGER)
SELECT MAX(gradepoint), MIN(gradepoint) FROM GRADECONVERSION
What is the most mintage with common eider as the theme, and the year less than 2008?
CREATE TABLE table_name_57 (mintage INTEGER, theme VARCHAR, year VARCHAR)
SELECT MAX(mintage) FROM table_name_57 WHERE theme = "common eider" AND year < 2008
What Local/Networked has a Show Name of nightline?
CREATE TABLE table_name_99 (local_networked VARCHAR, show_name VARCHAR)
SELECT local_networked FROM table_name_99 WHERE show_name = "nightline"
Who was the artist after 2012 with CD, LP as the format?
CREATE TABLE table_name_64 (artist VARCHAR, year VARCHAR, format VARCHAR)
SELECT artist FROM table_name_64 WHERE year > 2012 AND format = "cd, lp"
what is the year when the notes is 5000 m and the competition is world junior championships in athletics?
CREATE TABLE table_name_36 (year VARCHAR, notes VARCHAR, competition VARCHAR)
SELECT COUNT(year) FROM table_name_36 WHERE notes = "5000 m" AND competition = "world junior championships in athletics"
What was the location attendance on January 19?
CREATE TABLE table_name_47 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_47 WHERE date = "january 19"
Tell me the aircraft for pzl-104
CREATE TABLE table_name_1 (aircraft VARCHAR, versions VARCHAR)
SELECT aircraft FROM table_name_1 WHERE versions = "pzl-104"
Who many votes did E. Greenberg receive in Morris County?
CREATE TABLE table_17820556_4 (e_greenberg VARCHAR, county VARCHAR)
SELECT COUNT(e_greenberg) FROM table_17820556_4 WHERE county = "Morris"
Which Away has a Home of 2–2?
CREATE TABLE table_name_84 (away VARCHAR, home VARCHAR)
SELECT away FROM table_name_84 WHERE home = "2–2"
What municipality had 26839 people living in it in 2010?
CREATE TABLE table_216776_2 (municipality VARCHAR, population__2010_ VARCHAR)
SELECT municipality FROM table_216776_2 WHERE population__2010_ = 26839
How many heats had 2 lanes, a rank above 75, and nationality of Madagascar?
CREATE TABLE table_name_48 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR)
SELECT COUNT(heat) FROM table_name_48 WHERE lane = 2 AND rank > 75 AND nationality = "madagascar"
What is the former school of the player from Detroit, MI?
CREATE TABLE table_29418619_1 (former_school VARCHAR, hometown VARCHAR)
SELECT former_school FROM table_29418619_1 WHERE hometown = "Detroit, MI"
Which team played Footscray?
CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_41 WHERE home_team = "footscray"
Name the name of bowl for 2006 season
CREATE TABLE table_2517159_1 (name_of_bowl VARCHAR, last_appearance VARCHAR)
SELECT COUNT(name_of_bowl) FROM table_2517159_1 WHERE last_appearance = "2006 Season"
what is the mountain range when the mountain peak is mauna kea?
CREATE TABLE table_name_50 (mountain_range VARCHAR, mountain_peak VARCHAR)
SELECT mountain_range FROM table_name_50 WHERE mountain_peak = "mauna kea"
What district is known in Armenian as քանաքեր-զեյթուն?
CREATE TABLE table_27366772_3 (district VARCHAR, armenian VARCHAR)
SELECT district FROM table_27366772_3 WHERE armenian = "Քանաքեր-Զեյթուն"
What is the fewest gold medals won by Greece?
CREATE TABLE table_name_92 (gold INTEGER, nation VARCHAR)
SELECT MIN(gold) FROM table_name_92 WHERE nation = "greece"
Who was the pitcher on June 8, 1961?
CREATE TABLE table_name_88 (pitcher VARCHAR, date VARCHAR)
SELECT pitcher FROM table_name_88 WHERE date = "june 8, 1961"
find the number of players whose points are lower than 30 in each position.
CREATE TABLE player (POSITION VARCHAR, points INTEGER)
SELECT COUNT(*), POSITION FROM player WHERE points < 30 GROUP BY POSITION
For the engine family MaxxForce 11, what is the years produced?
CREATE TABLE table_26352332_4 (years_produced VARCHAR, engine_family VARCHAR)
SELECT years_produced FROM table_26352332_4 WHERE engine_family = "MaxxForce 11"
What is the total number of bronze medals when the silver is greater than 0, and the total medals 5?
CREATE TABLE table_name_14 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT SUM(bronze) FROM table_name_14 WHERE silver > 0 AND total = 5
What is the Country of the Player with a Score of 73-70-71-71=285?
CREATE TABLE table_name_19 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_19 WHERE score = 73 - 70 - 71 - 71 = 285
If the laps is 191, what is the maximum laps led?
CREATE TABLE table_17693171_1 (laps INTEGER)
SELECT MAX(laps) AS Led FROM table_17693171_1 WHERE laps = 191
What is the total of Poland, which has an E score greater than 7.725?
CREATE TABLE table_name_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR)
SELECT COUNT(total) FROM table_name_97 WHERE nation = "poland" AND e_score > 7.725
What Region was the Catalog magik muzik 805-5 released in?
CREATE TABLE table_name_5 (region VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_5 WHERE catalog = "magik muzik 805-5"
Which catalog value has a region of world?
CREATE TABLE table_name_34 (catalog VARCHAR, region VARCHAR)
SELECT catalog FROM table_name_34 WHERE region = "world"
Name the most losst for corinthians
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians"
How many metres tall is the building that is larger than 850 feet tall?
CREATE TABLE table_name_21 (metres VARCHAR, feet INTEGER)
SELECT metres FROM table_name_21 WHERE feet > 850
How many people were in the crowd at Lake Oval?
CREATE TABLE table_name_2 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_2 WHERE venue = "lake oval"
What is the total score for the year 2012?
CREATE TABLE table_name_14 (total_score VARCHAR, year VARCHAR)
SELECT total_score FROM table_name_14 WHERE year = 2012
What player did louisville pick when the round was below 8?
CREATE TABLE table_name_70 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_70 WHERE round < 8 AND school_club_team = "louisville"
Which Opponent has a Score of 4–5 ot?
CREATE TABLE table_name_96 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_96 WHERE score = "4–5 ot"
What is every party A with a constituency of Tiruchendur?
CREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR)
SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur"
What is the figure for Pasadena when Tujunga is 36?
CREATE TABLE table_name_11 (pasadena VARCHAR, tujunga VARCHAR)
SELECT pasadena FROM table_name_11 WHERE tujunga = "36"
What is the indoor number for the NJ wing/
CREATE TABLE table_19534874_2 (indoor VARCHAR, wing VARCHAR)
SELECT indoor FROM table_19534874_2 WHERE wing = "NJ"
What is the entry for weight in kilograms of jockey D. Nikolic?
CREATE TABLE table_15926991_1 (weight__kg_ VARCHAR, jockey VARCHAR)
SELECT weight__kg_ FROM table_15926991_1 WHERE jockey = "D. Nikolic"
How many games were on october 17?
CREATE TABLE table_27713583_2 (high_points VARCHAR, date VARCHAR)
SELECT COUNT(high_points) FROM table_27713583_2 WHERE date = "October 17"
Which finish had a win percentage that was more than 0.598 and also had less than 53 wins?
CREATE TABLE table_name_41 (finish VARCHAR, win_percentage VARCHAR, wins VARCHAR)
SELECT finish FROM table_name_41 WHERE win_percentage > 0.598 AND wins < 53
Which county did the player with a total of 294 represent?
CREATE TABLE table_name_53 (country VARCHAR, total VARCHAR)
SELECT country FROM table_name_53 WHERE total = 294
What was the loss of the Red Sox game when they had a record of 77–67?
CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_74 WHERE record = "77–67"
What was sweden's purse in USD?
CREATE TABLE table_name_58 (purse___us_ INTEGER, country VARCHAR)
SELECT SUM(purse___us_) AS $__ FROM table_name_58 WHERE country = "sweden"
What was the election result for the candidate first elected in 1918?
CREATE TABLE table_1342292_45 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_1342292_45 WHERE first_elected = 1918
What is the status of the Eng Country from the Maynard name?
CREATE TABLE table_name_28 (status VARCHAR, country VARCHAR, name VARCHAR)
SELECT status FROM table_name_28 WHERE country = "eng" AND name = "maynard"
Name the location attendance for 20
CREATE TABLE table_17322817_6 (location_attendance VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_17322817_6 WHERE game = 20
Name the year for #16 roush racing for poles less than smaller 1.0
CREATE TABLE table_2187333_1 (year VARCHAR, team_s_ VARCHAR, poles VARCHAR)
SELECT year FROM table_2187333_1 WHERE team_s_ = "#16 Roush Racing" AND poles < 1.0
what's the current club with player being felipe reyes
CREATE TABLE table_12962773_5 (current_club VARCHAR, player VARCHAR)
SELECT current_club FROM table_12962773_5 WHERE player = "Felipe Reyes"
When the county is Carroll what is the lowest population?
CREATE TABLE table_name_50 (population INTEGER, county VARCHAR)
SELECT MIN(population) FROM table_name_50 WHERE county = "carroll"
What's the team of the player from St. Francis Xavier College?
CREATE TABLE table_10812938_5 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_10812938_5 WHERE college = "St. Francis Xavier"
What is the value Others% when the value Others# is greater than 147 and the value Kerry% is 39.6%?
CREATE TABLE table_name_83 (others_percentage VARCHAR, others_number VARCHAR, kerry_percentage VARCHAR)
SELECT others_percentage FROM table_name_83 WHERE others_number > 147 AND kerry_percentage = "39.6%"
What game was before 2010 and was a role-playing game?
CREATE TABLE table_name_82 (game VARCHAR, year VARCHAR, genre VARCHAR)
SELECT game FROM table_name_82 WHERE year < 2010 AND genre = "role-playing game"
When there are 7.5 million viewers what is the archive?
CREATE TABLE table_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)
SELECT archive FROM table_2102945_1 WHERE viewers__in_millions_ = "7.5"
What is the Date with an Opponent that is indiana state college?
CREATE TABLE table_name_71 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_71 WHERE opponent = "indiana state college"
Name the Driver that has Races greater than 16?
CREATE TABLE table_name_16 (driver VARCHAR, races INTEGER)
SELECT driver FROM table_name_16 WHERE races > 16
Which rank has final with 5:18.85?
CREATE TABLE table_name_96 (rank VARCHAR, final VARCHAR)
SELECT rank FROM table_name_96 WHERE final = "5:18.85"
What loss occurred on June 10?
CREATE TABLE table_name_81 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_81 WHERE date = "june 10"
Name the Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday?
CREATE TABLE table_name_23 (time_of_broadcast VARCHAR, days_of_the_week VARCHAR, picture_format VARCHAR, hours VARCHAR)
SELECT time_of_broadcast FROM table_name_23 WHERE picture_format = "4:3" AND hours = "20:30" AND days_of_the_week = "monday, wednesday, friday"
What is listed in p when the type is listed as free agent 1?
CREATE TABLE table_17634290_7 (p VARCHAR, type VARCHAR)
SELECT p FROM table_17634290_7 WHERE type = "Free agent 1"
What is the total number of team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand?
CREATE TABLE table_2267345_2 (team_classification VARCHAR, young_rider_classification VARCHAR, combativity_award VARCHAR)
SELECT COUNT(team_classification) FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND combativity_award = "Jacky Durand"
What is Run 4, when Run 2 is 1:25.84?
CREATE TABLE table_name_21 (run_4 VARCHAR, run_2 VARCHAR)
SELECT run_4 FROM table_name_21 WHERE run_2 = "1:25.84"
What was the score of the game on May 26?
CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_24 WHERE date = "may 26"
Which Team #2 has a Team #1 of gambrinus sika brno?
CREATE TABLE table_name_70 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT team__number2 FROM table_name_70 WHERE team__number1 = "gambrinus sika brno"
What is the Title of the LT Series Filmography with a Release date of 1964-02-08?
CREATE TABLE table_name_89 (title VARCHAR, series VARCHAR, release_date VARCHAR)
SELECT title FROM table_name_89 WHERE series = "lt" AND release_date = "1964-02-08"
What is the home team's score at glenferrie oval?
CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_66 WHERE venue = "glenferrie oval"
Who was the opponent on week 3?
CREATE TABLE table_name_10 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_10 WHERE week = 3
What was the playoff result for theteam in the apsl in 1992?
CREATE TABLE table_12002388_1 (playoffs VARCHAR, league VARCHAR, year VARCHAR)
SELECT playoffs FROM table_12002388_1 WHERE league = "APSL" AND year = 1992
What is the venue where Argentina was the opposing team in a test match?
CREATE TABLE table_name_26 (venue VARCHAR, opposing_teams VARCHAR, status VARCHAR)
SELECT venue FROM table_name_26 WHERE opposing_teams = "argentina" AND status = "test match"
Show the carriers of devices in stock at more than one shop.
CREATE TABLE stock (Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR)
SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1
what is the most gold when the total is 7?
CREATE TABLE table_name_33 (gold INTEGER, total VARCHAR)
SELECT MAX(gold) FROM table_name_33 WHERE total = 7
What was the winning score on Jan 22, 1995 when the margin of victory was 1 stroke?
CREATE TABLE table_name_32 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_32 WHERE margin_of_victory = "1 stroke" AND date = "jan 22, 1995"
How many wins did he have when he had $95,180 in winnings?
CREATE TABLE table_2216245_2 (wins VARCHAR, winnings VARCHAR)
SELECT COUNT(wins) FROM table_2216245_2 WHERE winnings = "$95,180"
What is the location when the high rebounds was from A. Horford (13)?
CREATE TABLE table_11961582_10 (location_attendance VARCHAR, high_rebounds VARCHAR)
SELECT location_attendance FROM table_11961582_10 WHERE high_rebounds = "A. Horford (13)"
What was the to par of the player of who scored 70-70=140?
CREATE TABLE table_name_21 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_21 WHERE score = 70 - 70 = 140
What is the lowest grid value with fewer than 17 laps and constructor Sauber - Petronas?
CREATE TABLE table_name_48 (grid INTEGER, laps VARCHAR, constructor VARCHAR)
SELECT MIN(grid) FROM table_name_48 WHERE laps < 17 AND constructor = "sauber - petronas"
What position does Mike Dennis play?
CREATE TABLE table_name_42 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_42 WHERE player = "mike dennis"
Who won in 1991?
CREATE TABLE table_name_89 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_89 WHERE year_s__won = "1991"
Who was from Morocco and scored 6 goals?
CREATE TABLE table_name_57 (name VARCHAR, goals VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_57 WHERE goals = 6 AND nationality = "morocco"
Which round has an Opposing Team of manchester united?
CREATE TABLE table_name_64 (round VARCHAR, opposing_team VARCHAR)
SELECT round FROM table_name_64 WHERE opposing_team = "manchester united"
What is the fewest number of wickets recorded?
CREATE TABLE table_27922491_20 (wickets INTEGER)
SELECT MIN(wickets) FROM table_27922491_20
What is the number of games for Shaun Stonerook?
CREATE TABLE table_name_86 (games INTEGER, name VARCHAR)
SELECT MIN(games) FROM table_name_86 WHERE name = "shaun stonerook"
Who was the visiting team on November 10?
CREATE TABLE table_name_28 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_28 WHERE date = "november 10"
What is the best finish record for Carl Paulson?
CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)
SELECT best_finish FROM table_29504351_2 WHERE player = "Carl Paulson"