instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: WHAT PLACE WAS A SCORE 67-70=137?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_48 WHERE score = 67 - 70 = 137
Write a SQL query that answers the following question: WHAT COUNTRY HAS A T7 PLACE, WITH IAN WOOSNAM?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_13 WHERE place = "t7" AND player = "ian woosnam"
Write a SQL query that answers the following question: WHAT COUNTRY HAS A SCORE OF 68-70=138?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_58 WHERE score = 68 - 70 = 138
Write a SQL query that answers the following question: What was the earliest week when the New Orleans Saints were the opponents?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR)
SELECT MIN(week) FROM table_name_31 WHERE opponent = "new orleans saints"
Write a SQL query that answers the following question: What was the name of the opponent that having a TV time of Bye?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (opponent VARCHAR, tv_time VARCHAR)
SELECT opponent FROM table_name_19 WHERE tv_time = "bye"
Write a SQL query that answers the following question: What year did the Grizzlies play for the UNLV team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
SELECT years_for_grizzlies FROM table_name_81 WHERE school_club_team = "unlv"
Write a SQL query that answers the following question: What nationality is the forward/center position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (nationality VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_37 WHERE position = "forward/center"
Write a SQL query that answers the following question: What team is from the United States and plays a guard position for the Grizzlies in 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (school_club_team VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_name_70 WHERE nationality = "united states" AND position = "guard" AND years_for_grizzlies = "2012"
Write a SQL query that answers the following question: What position is the player from the United States play for the Grizzlies from 2000-2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (position VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR)
SELECT position FROM table_name_90 WHERE nationality = "united states" AND years_for_grizzlies = "2000-2001"
Write a SQL query that answers the following question: What is the total number of Bronze, when Gold is greater than 0, when Rank is 4, and when Total is greater than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (bronze VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(bronze) FROM table_name_59 WHERE gold > 0 AND rank = "4" AND total > 4
Write a SQL query that answers the following question: What is the total number of Total, when Gold is less than 1, when Silver is greater than 0, when Rank is 14, and when Nation is Afghanistan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (total VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT COUNT(total) FROM table_name_68 WHERE gold < 1 AND silver > 0 AND rank = "14" AND nation = "afghanistan"
Write a SQL query that answers the following question: What is the lowest Gold, when Silver is 0, and when Bronze is 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT MIN(gold) FROM table_name_52 WHERE silver = 0 AND bronze = 2
Write a SQL query that answers the following question: What is the average Bronze, when Silver is 0, when Rank is 19, and when Total is greater than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT AVG(bronze) FROM table_name_29 WHERE silver = 0 AND rank = "19" AND total > 2
Write a SQL query that answers the following question: What was the lowest number of pieces for a board released in 1984?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (pieces INTEGER, release VARCHAR)
SELECT MIN(pieces) FROM table_name_15 WHERE release = 1984
Write a SQL query that answers the following question: What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (board__cm_ VARCHAR, release VARCHAR, start VARCHAR, type VARCHAR)
SELECT board__cm_ FROM table_name_14 WHERE start = "1940" AND type = "theater" AND release > 2010
Write a SQL query that answers the following question: What is the average number of pieces for boards that started in 1941 and were released after 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (pieces INTEGER, start VARCHAR, release VARCHAR)
SELECT AVG(pieces) FROM table_name_14 WHERE start = "1941" AND release > 2001
Write a SQL query that answers the following question: What are the dimensions in inches of the board released before 2004, that started in 1941?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (board__inches_ VARCHAR, release VARCHAR, start VARCHAR)
SELECT board__inches_ FROM table_name_76 WHERE release < 2004 AND start = "1941"
Write a SQL query that answers the following question: What is Venue, when Against is less than 30, and when Opposing Team is New South Wales?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR)
SELECT venue FROM table_name_14 WHERE against < 30 AND opposing_team = "new south wales"
Write a SQL query that answers the following question: What is Status, when Date is 10/05/1975?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)
SELECT status FROM table_name_33 WHERE date = "10/05/1975"
Write a SQL query that answers the following question: What is the lowest Against, when Opposing Team is Queensland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (against INTEGER, opposing_team VARCHAR)
SELECT MIN(against) FROM table_name_92 WHERE opposing_team = "queensland"
Write a SQL query that answers the following question: What is Date, when Status is Second Test?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, status VARCHAR)
SELECT date FROM table_name_34 WHERE status = "second test"
Write a SQL query that answers the following question: Who was born in Porsgrunn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (name VARCHAR, place_of_birth VARCHAR)
SELECT name FROM table_name_27 WHERE place_of_birth = "porsgrunn"
Write a SQL query that answers the following question: Which Studio has a Rank smaller than 3, and a Director of adrian lyne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (studio VARCHAR, rank VARCHAR, director VARCHAR)
SELECT studio FROM table_name_71 WHERE rank < 3 AND director = "adrian lyne"
Write a SQL query that answers the following question: Which Rank is the lowest one that has a Gross of $54,215,416?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (rank INTEGER, gross VARCHAR)
SELECT MIN(rank) FROM table_name_24 WHERE gross = "$54,215,416"
Write a SQL query that answers the following question: What is the date of the match against John McEnroe with a Score of 3–6, 6–3, 2–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT date FROM table_name_73 WHERE opponent = "john mcenroe" AND score = "3–6, 6–3, 2–6"
Write a SQL query that answers the following question: What is the Opponent of the game in 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_76 WHERE date = 1989
Write a SQL query that answers the following question: What is the highest pick of ron whaley?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (pick INTEGER, name VARCHAR)
SELECT MAX(pick) FROM table_name_58 WHERE name = "ron whaley"
Write a SQL query that answers the following question: What is the overall sum of the game with a pick less than 8 from the college of western michigan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (overall INTEGER, pick VARCHAR, college VARCHAR)
SELECT SUM(overall) FROM table_name_23 WHERE pick < 8 AND college = "western michigan"
Write a SQL query that answers the following question: What is the position of the player from the college of western michigan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (position VARCHAR, college VARCHAR)
SELECT position FROM table_name_92 WHERE college = "western michigan"
Write a SQL query that answers the following question: What is the lowest round of bob caldwell, who has a pick greater than 7 and an overall larger than 162?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (round INTEGER, overall VARCHAR, pick VARCHAR, name VARCHAR)
SELECT MIN(round) FROM table_name_9 WHERE pick > 7 AND name = "bob caldwell" AND overall > 162
Write a SQL query that answers the following question: What is the college of dave adams, who has a pick greater than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (college VARCHAR, pick VARCHAR, name VARCHAR)
SELECT college FROM table_name_63 WHERE pick > 7 AND name = "dave adams"
Write a SQL query that answers the following question: What game took place on April 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_33 WHERE date = "april 28"
Write a SQL query that answers the following question: What is the east with ev landsberg as the west?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (east VARCHAR, west VARCHAR)
SELECT east FROM table_name_83 WHERE west = "ev landsberg"
Write a SQL query that answers the following question: What is the north with sb rosenheim as the south?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (north VARCHAR, south VARCHAR)
SELECT north FROM table_name_45 WHERE south = "sb rosenheim"
Write a SQL query that answers the following question: What is the south with ev lindau as the west and svg burgkirchen as the east?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (south VARCHAR, west VARCHAR, east VARCHAR)
SELECT south FROM table_name_24 WHERE west = "ev lindau" AND east = "svg burgkirchen"
Write a SQL query that answers the following question: What season has esc holzkirchen south, esv buchloe west, and ehc bayreuth north?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (season VARCHAR, north VARCHAR, south VARCHAR, west VARCHAR)
SELECT season FROM table_name_68 WHERE south = "esc holzkirchen" AND west = "esv buchloe" AND north = "ehc bayreuth"
Write a SQL query that answers the following question: What is south in the 2001-02 season, which had germering wanderers east?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (south VARCHAR, east VARCHAR, season VARCHAR)
SELECT south FROM table_name_92 WHERE east = "germering wanderers" AND season = "2001-02"
Write a SQL query that answers the following question: What was west when ev fürstenfeldbruck was south?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (west VARCHAR, south VARCHAR)
SELECT west FROM table_name_28 WHERE south = "ev fürstenfeldbruck"
Write a SQL query that answers the following question: When revenue is smaller than 4,177 million in year 2008, what is the sum of earnings per share?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (earnings_per_share__p_ INTEGER, year_ended VARCHAR, revenue__£million_ VARCHAR)
SELECT SUM(earnings_per_share__p_) FROM table_name_89 WHERE year_ended = "2008" AND revenue__£million_ < 4 OFFSET 177
Write a SQL query that answers the following question: What is the year 2007 earnings per share?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (earnings_per_share__p_ VARCHAR, year_ended VARCHAR)
SELECT earnings_per_share__p_ FROM table_name_47 WHERE year_ended = "2007"
Write a SQL query that answers the following question: What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__£m_ VARCHAR)
SELECT SUM(net_profit__) AS £m_ FROM table_name_75 WHERE earnings_per_share__p_ = 27.4 AND profit__loss__before_tax__£m_ < 194.6
Write a SQL query that answers the following question: In year 2011 what is sum of profit/loss before tax and net profit larger than 123.8 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (profit__loss__before_tax__ VARCHAR, year_ended VARCHAR, net_profit__£m_ VARCHAR)
SELECT COUNT(profit__loss__before_tax__) AS £m_ FROM table_name_47 WHERE year_ended = "2011" AND net_profit__£m_ > 123.8
Write a SQL query that answers the following question: What is the highest goals for less than 63 goals against, more than 65 points 1, and more than 10 losses?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (goals_for INTEGER, lost VARCHAR, goals_against VARCHAR, points_1 VARCHAR)
SELECT MAX(goals_for) FROM table_name_97 WHERE goals_against < 63 AND points_1 > 65 AND lost > 10
Write a SQL query that answers the following question: What is the highest position for less than 42 played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (position INTEGER, played INTEGER)
SELECT MAX(position) FROM table_name_48 WHERE played < 42
Write a SQL query that answers the following question: What is the average day in December with a Record of 16-3-4 and a Game smaller than 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (december INTEGER, record VARCHAR, game VARCHAR)
SELECT AVG(december) FROM table_name_84 WHERE record = "16-3-4" AND game < 23
Write a SQL query that answers the following question: When the Runners-Up is larger than 0, what's the sum of winners?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (winners INTEGER, runners_up INTEGER)
SELECT SUM(winners) FROM table_name_38 WHERE runners_up > 0
Write a SQL query that answers the following question: When there are more than 1 winners and the team playing is pachuca, what's the lowest runners-up found?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (runners_up INTEGER, team VARCHAR, winners VARCHAR)
SELECT MIN(runners_up) FROM table_name_44 WHERE team = "pachuca" AND winners > 1
Write a SQL query that answers the following question: Can you tell me the Name that has the Assists of lake (154) lake (5.1 apg)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (name VARCHAR, assists VARCHAR)
SELECT name FROM table_name_45 WHERE assists = "lake (154) lake (5.1 apg)"
Write a SQL query that answers the following question: Can you tell me the Name that has the Place of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (name VARCHAR, place VARCHAR)
SELECT name FROM table_name_86 WHERE place = 1
Write a SQL query that answers the following question: Can you tell me the Rebounds that has the Name of pom baskets jena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (rebounds VARCHAR, name VARCHAR)
SELECT rebounds FROM table_name_27 WHERE name = "pom baskets jena"
Write a SQL query that answers the following question: Can you tell me the Steals that has the Place of 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (steals VARCHAR, place VARCHAR)
SELECT steals FROM table_name_13 WHERE place = 6
Write a SQL query that answers the following question: What is the Callsign in Brisbane with a Freq currently of 4rph?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (callsign VARCHAR, area_served VARCHAR, freq_currently VARCHAR)
SELECT callsign FROM table_name_52 WHERE area_served = "brisbane" AND freq_currently = "4rph"
Write a SQL query that answers the following question: What is the Freq currently of the 4GG Callsign?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (freq_currently VARCHAR, callsign VARCHAR)
SELECT freq_currently FROM table_name_7 WHERE callsign = "4gg"
Write a SQL query that answers the following question: What is the Community Band with a 4BCB Callsign?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (band VARCHAR, purpose VARCHAR, callsign VARCHAR)
SELECT band FROM table_name_95 WHERE purpose = "community" AND callsign = "4bcb"
Write a SQL query that answers the following question: What is the Purpose of the Callsign with a Freq currently of 4gld?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (purpose VARCHAR, freq_currently VARCHAR)
SELECT purpose FROM table_name_59 WHERE freq_currently = "4gld"
Write a SQL query that answers the following question: What is the Purpose of the Callsign with a Freq currently of 4rph?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (purpose VARCHAR, freq_currently VARCHAR)
SELECT purpose FROM table_name_43 WHERE freq_currently = "4rph"
Write a SQL query that answers the following question: What was the press like for the world olympic record holder Roger Francois and Jaan Kikkas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (press VARCHAR, world_record VARCHAR, roger_françois VARCHAR)
SELECT press FROM table_name_95 WHERE world_record = "olympic record" AND roger_françois = "jaan kikkas"
Write a SQL query that answers the following question: What was the press like in Paris for Roger Francois, and Carlo Galimberti?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (paris___fra__ VARCHAR, roger_françois VARCHAR)
SELECT paris___fra__ FROM table_name_67 WHERE "press" = "press" AND roger_françois = "carlo galimberti"
Write a SQL query that answers the following question: What is the total amount of world records for Roger Francois?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (roger_françois VARCHAR, world_record VARCHAR)
SELECT roger_françois FROM table_name_54 WHERE world_record = "total"
Write a SQL query that answers the following question: What place had a score of 71-70-73-71=285?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_50 WHERE score = 71 - 70 - 73 - 71 = 285
Write a SQL query that answers the following question: How much money for 1st place with a to par less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (money___ VARCHAR, place VARCHAR, to_par VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_51 WHERE place = "1" AND to_par < 1
Write a SQL query that answers the following question: What Player had a To par of +1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_39 WHERE to_par = "+1"
Write a SQL query that answers the following question: What is the Country of the Player with a To par of +4 and Score of 73-71-73=217?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (country VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT country FROM table_name_94 WHERE to_par = "+4" AND score = 73 - 71 - 73 = 217
Write a SQL query that answers the following question: What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_45 WHERE to_par = "+3" AND score = 73 - 70 - 73 = 216
Write a SQL query that answers the following question: What is the Place of the Player with a Score of 72-70-72=214?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_86 WHERE score = 72 - 70 - 72 = 214
Write a SQL query that answers the following question: Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (team VARCHAR, kitmaker VARCHAR, shirt_sponsor VARCHAR)
SELECT team FROM table_name_73 WHERE kitmaker = "saller" AND shirt_sponsor = "krombacher"
Write a SQL query that answers the following question: For the team led by head coach Felix Magath, who is the team captain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (team VARCHAR, head_coach VARCHAR)
SELECT team AS Captain FROM table_name_91 WHERE head_coach = "felix magath"
Write a SQL query that answers the following question: For the team whose shirt sponsor is Krombacher, who is the team captain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (team VARCHAR, shirt_sponsor VARCHAR)
SELECT team AS Captain FROM table_name_12 WHERE shirt_sponsor = "krombacher"
Write a SQL query that answers the following question: For the team whose shirt sponsor is Evonik, who is the kitmaker?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (kitmaker VARCHAR, shirt_sponsor VARCHAR)
SELECT kitmaker FROM table_name_54 WHERE shirt_sponsor = "evonik"
Write a SQL query that answers the following question: Who is the Shirt Back Sponsor if the Shorts Sponsor is Telestet?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (shirt_back_sponsor VARCHAR, shorts_sponsor VARCHAR)
SELECT shirt_back_sponsor FROM table_name_69 WHERE shorts_sponsor = "telestet"
Write a SQL query that answers the following question: Which of the Res., has Ryan Scheepe as an opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_34 WHERE opponent = "ryan scheepe"
Write a SQL query that answers the following question: What position is Jeff Brown?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_74 WHERE player = "jeff brown"
Write a SQL query that answers the following question: which player played on Team Hamilton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (player VARCHAR, cfl_team VARCHAR)
SELECT player FROM table_name_33 WHERE cfl_team = "hamilton"
Write a SQL query that answers the following question: What CFL team does Jeff brown play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_name_16 WHERE player = "jeff brown"
Write a SQL query that answers the following question: What is the total number of picks for Calgary College?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (pick__number VARCHAR, college VARCHAR)
SELECT COUNT(pick__number) FROM table_name_30 WHERE college = "calgary"
Write a SQL query that answers the following question: Who was the home team when the record was 2-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_38 WHERE record = "2-3"
Write a SQL query that answers the following question: What was the record on April 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_75 WHERE date = "april 10"
Write a SQL query that answers the following question: What spacecraft had an EVA that ended at 17:28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (spacecraft VARCHAR, end_time VARCHAR)
SELECT spacecraft FROM table_name_66 WHERE end_time = "17:28"
Write a SQL query that answers the following question: What crew's EVA started on 20 February 20:09?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (crew VARCHAR, start_date_time VARCHAR)
SELECT crew FROM table_name_33 WHERE start_date_time = "20 february 20:09"
Write a SQL query that answers the following question: The EVA that started on 8 July 12:38 went for how long?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)
SELECT duration FROM table_name_83 WHERE start_date_time = "8 july 12:38"
Write a SQL query that answers the following question: The EVA that started 8 July 12:38 was from what spacecraft?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (spacecraft VARCHAR, start_date_time VARCHAR)
SELECT spacecraft FROM table_name_96 WHERE start_date_time = "8 july 12:38"
Write a SQL query that answers the following question: How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)
SELECT assists FROM table_name_90 WHERE competition = "k-league" AND total_gs > 20 AND team = "pohang steelers" AND opponent = "chunnam dragons"
Write a SQL query that answers the following question: What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR)
SELECT AVG(goals) FROM table_name_65 WHERE competition = "k-league" AND team = "pohang steelers" AND name = "park sung-ho" AND total_gs < 46
Write a SQL query that answers the following question: What is the date of the k-league cup, which has less than 28 goals, at the jeonju venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, venue VARCHAR, goals VARCHAR)
SELECT date FROM table_name_93 WHERE venue = "jeonju" AND goals < 28 AND competition = "k-league cup"
Write a SQL query that answers the following question: What is the sum of the total As of team bucheon sk, who had the chunnam dragons as their opponent at the bucheon venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (total_as INTEGER, venue VARCHAR, team VARCHAR, opponent VARCHAR)
SELECT SUM(total_as) FROM table_name_81 WHERE team = "bucheon sk" AND opponent = "chunnam dragons" AND venue = "bucheon"
Write a SQL query that answers the following question: What is the sum of the assists kang jae-soon had in the k-league competition in ulsan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (assists INTEGER, name VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT SUM(assists) FROM table_name_6 WHERE venue = "ulsan" AND competition = "k-league" AND name = "kang jae-soon"
Write a SQL query that answers the following question: What is the sum of the goals on 2007-06-16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (goals INTEGER, date VARCHAR)
SELECT SUM(goals) FROM table_name_16 WHERE date = "2007-06-16"
Write a SQL query that answers the following question: What was Bill Glasson's score to par after 2 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_76 WHERE player = "bill glasson"
Write a SQL query that answers the following question: What was Phil Mickelson's score to par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_20 WHERE player = "phil mickelson"
Write a SQL query that answers the following question: What place was Bill Glasson in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_49 WHERE player = "bill glasson"
Write a SQL query that answers the following question: What is the average pick with 85 overall in a round lower than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (pick INTEGER, overall VARCHAR, round VARCHAR)
SELECT AVG(pick) FROM table_name_36 WHERE overall = 85 AND round < 3
Write a SQL query that answers the following question: What was the 2009 results that has q1 for 2010, and A as the result for 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (Id VARCHAR)
SELECT 2009 FROM table_name_71 WHERE 2010 = "q1" AND 2011 = "a"
Write a SQL query that answers the following question: What were the 2009 results that has 0 in 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (Id VARCHAR)
SELECT 2009 FROM table_name_52 WHERE 2010 = "0"
Write a SQL query that answers the following question: With a 2011 of 0 what was the 2006 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (Id VARCHAR)
SELECT 2006 FROM table_name_83 WHERE 2011 = "0"
Write a SQL query that answers the following question: What is the result for 2004 when A is the result for 2005, and the result of q1 when 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (Id VARCHAR)
SELECT 2004 FROM table_name_32 WHERE 2005 = "a" AND 2009 = "q1"
Write a SQL query that answers the following question: With a 2008 result of 153 what is the result for 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (Id VARCHAR)
SELECT 2007 FROM table_name_23 WHERE 2008 = "153"
Write a SQL query that answers the following question: What are the results in 2008 when 2009 is 0, and the ATP Tournaments Won is the tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (tournament VARCHAR)
SELECT 2008 FROM table_name_36 WHERE 2009 = "0" AND tournament = "atp tournaments won"
Write a SQL query that answers the following question: Which team was in 1951?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (team VARCHAR, year VARCHAR)
SELECT team FROM table_name_40 WHERE year = 1951
Write a SQL query that answers the following question: What is the date of the match with arnaud di pasquale as the opponent in the final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_69 WHERE opponent_in_the_final = "arnaud di pasquale"
Write a SQL query that answers the following question: What is the date of the match with a winner outcome and jim courier as the opponent in the final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_27 WHERE outcome = "winner" AND opponent_in_the_final = "jim courier"