instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What country has to par E with Mark O'Meara?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_44 WHERE to_par = "e" AND player = "mark o'meara"
Write a SQL query that answers the following question: What country placed t6 with player Vijay Singh?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_91 WHERE place = "t6" AND player = "vijay singh"
Write a SQL query that answers the following question: How much money did David Toms get?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_16 WHERE player = "david toms"
Write a SQL query that answers the following question: What is the playoffs Game number on April 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_94 WHERE date = "april 26"
Write a SQL query that answers the following question: What is the Score of Game 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_98 WHERE game = "4"
Write a SQL query that answers the following question: What is the playoff Game on April 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_59 WHERE date = "april 30"
Write a SQL query that answers the following question: What is the Date of the game with a Score of L 115–118 (OT)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_75 WHERE score = "l 115–118 (ot)"
Write a SQL query that answers the following question: What was the result when there were 27,321 in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_20 WHERE attendance = "27,321"
Write a SQL query that answers the following question: What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent was Ohio?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_63 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND opponent = "ohio"
Write a SQL query that answers the following question: What date was the game at Dowdy-Ficklen stadium • Greenville, NC, with 27,321 in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (date VARCHAR, site VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_96 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND attendance = "27,321"
Write a SQL query that answers the following question: What team was the opponent when there were 27,321 in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_86 WHERE attendance = "27,321"
Write a SQL query that answers the following question: What date was the game at Williams-Brice stadium • Columbia, SC?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR)
SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • columbia, sc"
Write a SQL query that answers the following question: Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_20 WHERE winning_score = 67 - 69 - 67 - 69 = 272
Write a SQL query that answers the following question: WHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (date INTEGER, catalog VARCHAR, label VARCHAR, region VARCHAR)
SELECT AVG(date) FROM table_name_80 WHERE label = "cbs" AND region = "australia" AND catalog = "sbp 241031"
Write a SQL query that answers the following question: WHAT DATE HAS A CATALOG OF 486553.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)
SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4"
Write a SQL query that answers the following question: WHAT IS THE LOWEST DATE FOR KOREA, IN CD FORMAT?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (date INTEGER, region VARCHAR, format VARCHAR)
SELECT MIN(date) FROM table_name_23 WHERE region = "korea" AND format = "cd"
Write a SQL query that answers the following question: What is 2008, when 2006 is "1R"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (Id VARCHAR)
SELECT 2008 FROM table_name_70 WHERE 2006 = "1r"
Write a SQL query that answers the following question: What is Tournament, when 2006 is "A", and when 2009 is "A"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (tournament VARCHAR)
SELECT tournament FROM table_name_93 WHERE 2006 = "a" AND 2009 = "a"
Write a SQL query that answers the following question: What is 2005, when 2006 is "1R"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (Id VARCHAR)
SELECT 2005 FROM table_name_73 WHERE 2006 = "1r"
Write a SQL query that answers the following question: What is 2011, when 2008 is "2R"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (Id VARCHAR)
SELECT 2011 FROM table_name_40 WHERE 2008 = "2r"
Write a SQL query that answers the following question: What is 2004, when 2005 is "2R", and when 2006 is "1R"
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (Id VARCHAR)
SELECT 2004 FROM table_name_74 WHERE 2005 = "2r" AND 2006 = "1r"
Write a SQL query that answers the following question: What is 2004, when 2009 is "A"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (Id VARCHAR)
SELECT 2004 FROM table_name_28 WHERE 2009 = "a"
Write a SQL query that answers the following question: What was the name of the opponent when the method was ko (slam), and record was 13–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (opponent VARCHAR, method VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_21 WHERE method = "ko (slam)" AND record = "13–1"
Write a SQL query that answers the following question: What is the highest pick of scott turner, who has a round greater than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (pick INTEGER, round VARCHAR, name VARCHAR)
SELECT MAX(pick) FROM table_name_37 WHERE round > 2 AND name = "scott turner"
Write a SQL query that answers the following question: What is the name of the ot position player with a round greater than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (name VARCHAR, round VARCHAR, position VARCHAR)
SELECT name FROM table_name_69 WHERE round > 4 AND position = "ot"
Write a SQL query that answers the following question: What is the sum of the pick of darryl pounds, who has an overall greater than 68?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (pick INTEGER, name VARCHAR, overall VARCHAR)
SELECT SUM(pick) FROM table_name_94 WHERE name = "darryl pounds" AND overall > 68
Write a SQL query that answers the following question: What is the total number of rounds of the player from lehigh college with an overall less than 152?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (round VARCHAR, college VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_39 WHERE college = "lehigh" AND overall < 152
Write a SQL query that answers the following question: What is the highest round of pick 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (round INTEGER, pick VARCHAR)
SELECT MAX(round) FROM table_name_42 WHERE pick = 3
Write a SQL query that answers the following question: What is the total overall number of the ot position player with a pick greater than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (overall VARCHAR, position VARCHAR, pick VARCHAR)
SELECT COUNT(overall) FROM table_name_59 WHERE position = "ot" AND pick > 5
Write a SQL query that answers the following question: What rank does the Singapore Cup of 0 (1) have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (rank INTEGER, singapore_cup VARCHAR)
SELECT MAX(rank) FROM table_name_87 WHERE singapore_cup = "0 (1)"
Write a SQL query that answers the following question: What Singapore League Cup does Masahiro Fukasawa have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (singapore_league_cup VARCHAR, name VARCHAR)
SELECT singapore_league_cup FROM table_name_99 WHERE name = "masahiro fukasawa"
Write a SQL query that answers the following question: What is Norikazu Murakami's total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (total VARCHAR, name VARCHAR)
SELECT total FROM table_name_41 WHERE name = "norikazu murakami"
Write a SQL query that answers the following question: What is the rank for the total that has 3 (20)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (rank VARCHAR, total VARCHAR)
SELECT rank FROM table_name_11 WHERE total = "3 (20)"
Write a SQL query that answers the following question: Which AFC cup does Masahiro Fukasawa have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (afc_cup VARCHAR, name VARCHAR)
SELECT afc_cup FROM table_name_17 WHERE name = "masahiro fukasawa"
Write a SQL query that answers the following question: Which AFC cup does Kenji Arai have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR)
SELECT afc_cup FROM table_name_43 WHERE name = "kenji arai"
Write a SQL query that answers the following question: In the game where Joe Johnson (31) was the high points scorer, what was the final score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (score VARCHAR, high_points VARCHAR)
SELECT score FROM table_name_79 WHERE high_points = "joe johnson (31)"
Write a SQL query that answers the following question: What is the lowest to par of the player with a t3 place and less than $1,500?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (to_par INTEGER, place VARCHAR, money___$__ VARCHAR)
SELECT MIN(to_par) FROM table_name_28 WHERE place = "t3" AND money___$__ < 1 OFFSET 500
Write a SQL query that answers the following question: Who is the player from the United States with a t6 place and a 71-70-76-72=289 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_67 WHERE country = "united states" AND place = "t6" AND score = 71 - 70 - 76 - 72 = 289
Write a SQL query that answers the following question: How much total money does player tommy bolt, who has a to par of 9, have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (money___ VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_76 WHERE to_par = 9 AND player = "tommy bolt"
Write a SQL query that answers the following question: What is the lowest amount of money a player from South Africa with a to par less than 8 has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR)
SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 8
Write a SQL query that answers the following question: What was the venue that had a friendly match competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_49 WHERE competition = "friendly match"
Write a SQL query that answers the following question: With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
SELECT course FROM table_name_1 WHERE to_par_[a_] = "n/a" AND country = "scotland" AND year > 1905 AND location = "philadelphia, pennsylvania"
Write a SQL query that answers the following question: What is the total score for a location of san francisco, california, and a year after 1987, and a to pa [a] of +1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (total_score VARCHAR, location VARCHAR, year VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
SELECT total_score FROM table_name_68 WHERE location = "san francisco, california" AND year > 1987 AND to_par_[a_] = "+1"
Write a SQL query that answers the following question: What is the sum for the year with a location of newport, rhode island?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (year INTEGER, location VARCHAR)
SELECT SUM(year) FROM table_name_57 WHERE location = "newport, rhode island"
Write a SQL query that answers the following question: What is the country with a course of merion golf club, and a to par [1] of e?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (country VARCHAR, course VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
SELECT country FROM table_name_27 WHERE course = "merion golf club" AND to_par_[a_] = "e"
Write a SQL query that answers the following question: What is the total score for the year 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (total_score VARCHAR, year VARCHAR)
SELECT total_score FROM table_name_14 WHERE year = 2012
Write a SQL query that answers the following question: What is the evening gown score for the contestant from Mississippi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (evening_gown VARCHAR, state VARCHAR)
SELECT evening_gown FROM table_name_4 WHERE state = "mississippi"
Write a SQL query that answers the following question: What is the type for rank 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (type VARCHAR, rank VARCHAR)
SELECT type FROM table_name_26 WHERE rank = 2
Write a SQL query that answers the following question: What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)
SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984
Write a SQL query that answers the following question: What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (qual_2 VARCHAR, team VARCHAR, name VARCHAR)
SELECT qual_2 FROM table_name_80 WHERE team = "herdez competition" AND name = "ryan hunter-reay"
Write a SQL query that answers the following question: What is Justin Wilson's Team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (team VARCHAR, name VARCHAR)
SELECT team FROM table_name_13 WHERE name = "justin wilson"
Write a SQL query that answers the following question: What is the Best of the racer with a Qual 2 of 1:00.588?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (best VARCHAR, qual_2 VARCHAR)
SELECT best FROM table_name_31 WHERE qual_2 = "1:00.588"
Write a SQL query that answers the following question: Where is the lowest area with a population of 7,616?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (area__km²_ INTEGER, population__2010_ VARCHAR)
SELECT MIN(area__km²_) FROM table_name_55 WHERE population__2010_ = 7 OFFSET 616
Write a SQL query that answers the following question: Where in Tongyong is Hanyu Sanmin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR)
SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin"
Write a SQL query that answers the following question: Which Hanya has an area of 19.3888?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (hanyu VARCHAR, area__km²_ VARCHAR)
SELECT hanyu FROM table_name_59 WHERE area__km²_ = 19.3888
Write a SQL query that answers the following question: What is Nationality, when Round is less than 2, and when Pick is "24"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR, pick VARCHAR)
SELECT nationality FROM table_name_17 WHERE round < 2 AND pick = 24
Write a SQL query that answers the following question: What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (nationality VARCHAR, round VARCHAR, college_team VARCHAR)
SELECT nationality FROM table_name_36 WHERE round < 2 AND college_team = "cb l'hospitalet"
Write a SQL query that answers the following question: What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (round INTEGER, college_team VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_96 WHERE college_team = "kansas" AND pick < 56
Write a SQL query that answers the following question: What is College/Team, when Round is less than 2, and when Nationality is "United States"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (college_team VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT college_team FROM table_name_18 WHERE round < 2 AND nationality = "united states"
Write a SQL query that answers the following question: WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR)
SELECT MAX(q1_pos) FROM table_name_90 WHERE q1_time = "1:31.826" AND q1_order > 7
Write a SQL query that answers the following question: What is the score on December 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_51 WHERE date = "december 2"
Write a SQL query that answers the following question: How many silver medals were won in 1938?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR)
SELECT silver FROM table_name_42 WHERE year = "1938"
Write a SQL query that answers the following question: How many gold medals were won in 1970?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (gold VARCHAR, year VARCHAR)
SELECT gold FROM table_name_61 WHERE year = "1970"
Write a SQL query that answers the following question: How many silver medals were won the year 7 gold medals were won?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (silver VARCHAR, gold VARCHAR)
SELECT silver FROM table_name_43 WHERE gold = "7"
Write a SQL query that answers the following question: How many bronze medals were won in 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR)
SELECT bronze FROM table_name_27 WHERE year = "1998"
Write a SQL query that answers the following question: Can you tell me the TV Time that has the Date of november 22, 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (tv_time VARCHAR, date VARCHAR)
SELECT tv_time FROM table_name_35 WHERE date = "november 22, 1998"
Write a SQL query that answers the following question: Can you tell me the Result that has the Date of september 13, 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_28 WHERE date = "september 13, 1998"
Write a SQL query that answers the following question: Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (opponent VARCHAR, result VARCHAR, week VARCHAR, tv_time VARCHAR)
SELECT opponent FROM table_name_33 WHERE week < 11 AND tv_time = "fox 10:00 am mt" AND result = "w 20-17"
Write a SQL query that answers the following question: Can you tell me the Result that has the Week of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_63 WHERE week = 5
Write a SQL query that answers the following question: What is the average year that the club located in enfield was founded with an unknown coach?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (founded INTEGER, coach VARCHAR, location VARCHAR)
SELECT AVG(founded) FROM table_name_87 WHERE coach = "unknown" AND location = "enfield"
Write a SQL query that answers the following question: What was the location of the club where the home ground is wilfred taylor reserve?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR)
SELECT location FROM table_name_80 WHERE home_ground = "wilfred taylor reserve"
Write a SQL query that answers the following question: Where is the club that was founded in 1946 located that has an unknown coach?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR)
SELECT location FROM table_name_45 WHERE coach = "unknown" AND founded = 1946
Write a SQL query that answers the following question: Where is the home ground for the club coached by nick pantsaras and founded before 1946?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (home_ground VARCHAR, founded VARCHAR, coach VARCHAR)
SELECT home_ground FROM table_name_48 WHERE founded < 1946 AND coach = "nick pantsaras"
Write a SQL query that answers the following question: Which team was the opponent that had a location of Madison Square Garden with a score of 87-83?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)
SELECT team FROM table_name_10 WHERE location_attendance = "madison square garden" AND score = "87-83"
Write a SQL query that answers the following question: Which game was played at the Forum and led to a series result of 0-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (game VARCHAR, location_attendance VARCHAR, series VARCHAR)
SELECT game FROM table_name_85 WHERE location_attendance = "the forum" AND series = "0-1"
Write a SQL query that answers the following question: What was the score for game 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_82 WHERE game = 2
Write a SQL query that answers the following question: What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (title VARCHAR, original_air_date VARCHAR, season__number VARCHAR, directed_by VARCHAR)
SELECT title FROM table_name_69 WHERE season__number < 10 AND directed_by = "milan cheylov" AND original_air_date = "september 29, 1997"
Write a SQL query that answers the following question: What is the attendance of the November 19, 1990 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_49 WHERE date = "november 19, 1990"
Write a SQL query that answers the following question: How many Years have an Iron Man Award of kyal horsley?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (year VARCHAR, iron_man_award VARCHAR)
SELECT COUNT(year) FROM table_name_37 WHERE iron_man_award = "kyal horsley"
Write a SQL query that answers the following question: Which Coach has a Most Improved of rory thompson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (coach VARCHAR, most_improved VARCHAR)
SELECT coach FROM table_name_75 WHERE most_improved = "rory thompson"
Write a SQL query that answers the following question: Which Year has a Community Award of jarrod harbrow?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (year INTEGER, community_award VARCHAR)
SELECT SUM(year) FROM table_name_85 WHERE community_award = "jarrod harbrow"
Write a SQL query that answers the following question: what is the capacity for the team šibenik?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (capacity INTEGER, team VARCHAR)
SELECT MIN(capacity) FROM table_name_35 WHERE team = "šibenik"
Write a SQL query that answers the following question: what is the stadium for čakovec?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (stadium VARCHAR, team VARCHAR)
SELECT stadium FROM table_name_81 WHERE team = "čakovec"
Write a SQL query that answers the following question: what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR)
SELECT AVG(capacity) FROM table_name_88 WHERE home_city = "zagreb" AND manager = "zlatko kranjčar"
Write a SQL query that answers the following question: what is the home city for the stadion src mladost?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (home_city VARCHAR, stadium VARCHAR)
SELECT home_city FROM table_name_29 WHERE stadium = "stadion src mladost"
Write a SQL query that answers the following question: What is the grid for the driver with an electrical time/retired and 51 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT grid FROM table_name_43 WHERE time_retired = "electrical" AND laps = 51
Write a SQL query that answers the following question: Who is the driver with 1 grid?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_30 WHERE grid = 1
Write a SQL query that answers the following question: What place was Mark Carnevale in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_32 WHERE player = "mark carnevale"
Write a SQL query that answers the following question: What was the highest attendance against Real Juventud?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (attendance INTEGER, away VARCHAR)
SELECT MAX(attendance) FROM table_name_14 WHERE away = "real juventud"
Write a SQL query that answers the following question: Who is the away captain for the matches dated 7,8,10,11 feb 1908?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (away_captain VARCHAR, date VARCHAR)
SELECT away_captain FROM table_name_47 WHERE date = "7,8,10,11 feb 1908"
Write a SQL query that answers the following question: Who is the home captain at the Adelaide Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR)
SELECT home_captain FROM table_name_14 WHERE venue = "adelaide oval"
Write a SQL query that answers the following question: Who is the home captain that won AUS by 245 runs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (home_captain VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_93 WHERE result = "aus by 245 runs"
Write a SQL query that answers the following question: What was the venue for the dates 1,2,3,4,6,7 jan 1908?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_64 WHERE date = "1,2,3,4,6,7 jan 1908"
Write a SQL query that answers the following question: What was the venue for the dates 7,8,10,11 Feb 1908?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_67 WHERE date = "7,8,10,11 feb 1908"
Write a SQL query that answers the following question: What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (in_production VARCHAR, toxic_materials VARCHAR, technology VARCHAR)
SELECT in_production FROM table_name_39 WHERE toxic_materials = "yes" AND technology = "sodium-sulfur batteries"
Write a SQL query that answers the following question: What are the moving parts of lead-acid?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (moving_parts VARCHAR, technology VARCHAR)
SELECT moving_parts FROM table_name_74 WHERE technology = "lead-acid"
Write a SQL query that answers the following question: What's the room temperature with no toxic materials and no ln production?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)
SELECT room_temperature FROM table_name_67 WHERE in_production = "no" AND toxic_materials = "no"
Write a SQL query that answers the following question: What's the technology when there are no moving parts but yes to toxic materials?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (technology VARCHAR, toxic_materials VARCHAR, moving_parts VARCHAR)
SELECT technology FROM table_name_20 WHERE toxic_materials = "yes" AND moving_parts = "no"
Write a SQL query that answers the following question: What was the Score for T9 United States Player Kirk Triplett?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_14 WHERE place = "t9" AND country = "united states" AND player = "kirk triplett"
Write a SQL query that answers the following question: What country is Tiger Woods from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_22 WHERE player = "tiger woods"