instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which season had a home 2-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (season VARCHAR, home VARCHAR)
SELECT season FROM table_name_2 WHERE home = "2-3"
Write a SQL query that answers the following question: Which team had a season 1954-55?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (teams VARCHAR, season VARCHAR)
SELECT teams FROM table_name_80 WHERE season = "1954-55"
Write a SQL query that answers the following question: What season has an away 2-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR)
SELECT season FROM table_name_33 WHERE away = "2-0"
Write a SQL query that answers the following question: What team has a home of 2-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (teams VARCHAR, home VARCHAR)
SELECT teams FROM table_name_75 WHERE home = "2-3"
Write a SQL query that answers the following question: What is the total that wehn Lithuania is the nation, and Silver is more than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (total INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_35 WHERE nation = "lithuania" AND silver > 0
Write a SQL query that answers the following question: What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (rank INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT AVG(rank) FROM table_name_73 WHERE bronze > 0 AND gold > 1 AND nation = "japan" AND silver < 0
Write a SQL query that answers the following question: What is the rank when the total is less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (rank INTEGER, total INTEGER)
SELECT MIN(rank) FROM table_name_24 WHERE total < 1
Write a SQL query that answers the following question: What is the total when silver is more than 0, and bronze less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (total INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT MAX(total) FROM table_name_89 WHERE silver > 0 AND bronze < 0
Write a SQL query that answers the following question: What is the rank that when Serbia is the nation, and gold is larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR)
SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0
Write a SQL query that answers the following question: Which Year(s) won has a To par smaller than 12, and a Player of john daly?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (year_s__won VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT year_s__won FROM table_name_50 WHERE to_par < 12 AND player = "john daly"
Write a SQL query that answers the following question: Which Player has a To par of 12, and a Country of fiji?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_21 WHERE to_par = 12 AND country = "fiji"
Write a SQL query that answers the following question: Which Total has a To par larger than 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (total INTEGER, to_par INTEGER)
SELECT MIN(total) FROM table_name_17 WHERE to_par > 12
Write a SQL query that answers the following question: How much To par has a Total larger than 149, and a Country of united states, and a Year(s) won of 1997?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR, country VARCHAR)
SELECT SUM(to_par) FROM table_name_32 WHERE total > 149 AND country = "united states" AND year_s__won = "1997"
Write a SQL query that answers the following question: Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR)
SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london"
Write a SQL query that answers the following question: Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (rank INTEGER, network VARCHAR, number_of_viewers VARCHAR)
SELECT SUM(rank) FROM table_name_20 WHERE network = "bbc one" AND number_of_viewers = "30.15million"
Write a SQL query that answers the following question: When has a Rank larger than 2 and a Network of itv?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (date VARCHAR, rank VARCHAR, network VARCHAR)
SELECT date FROM table_name_13 WHERE rank > 2 AND network = "itv"
Write a SQL query that answers the following question: What is the Term of office for Leonard Reynolds of NSW?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (term_of_office VARCHAR, state VARCHAR, member VARCHAR)
SELECT term_of_office FROM table_name_1 WHERE state = "nsw" AND member = "leonard reynolds"
Write a SQL query that answers the following question: What state shows for Cunningham?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (state VARCHAR, electorate VARCHAR)
SELECT state FROM table_name_3 WHERE electorate = "cunningham"
Write a SQL query that answers the following question: What is the Electorate when the term of office was 1955–1972, for Peter Howson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (electorate VARCHAR, term_of_office VARCHAR, member VARCHAR)
SELECT electorate FROM table_name_16 WHERE term_of_office = "1955–1972" AND member = "peter howson"
Write a SQL query that answers the following question: What party has a term of office of 1951–1966, and a State of sa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (party VARCHAR, term_of_office VARCHAR, state VARCHAR)
SELECT party FROM table_name_29 WHERE term_of_office = "1951–1966" AND state = "sa"
Write a SQL query that answers the following question: What was the Attendance at Jobing.com Arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (attendance VARCHAR, arena VARCHAR)
SELECT COUNT(attendance) FROM table_name_48 WHERE arena = "jobing.com arena"
Write a SQL query that answers the following question: What is the Date of the game with a Loss of Leneveu (1–0–1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_75 WHERE loss = "leneveu (1–0–1)"
Write a SQL query that answers the following question: What is the Date with a game with a Record of 2–1–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_68 WHERE record = "2–1–1"
Write a SQL query that answers the following question: What is the Score at Jobing.com Arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (score VARCHAR, arena VARCHAR)
SELECT score FROM table_name_30 WHERE arena = "jobing.com arena"
Write a SQL query that answers the following question: What is the Opponent of the game on September 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_40 WHERE date = "september 26"
Write a SQL query that answers the following question: What Label has a Region of united states, and a Format of cassette?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (label VARCHAR, region VARCHAR, format VARCHAR)
SELECT label FROM table_name_68 WHERE region = "united states" AND format = "cassette"
Write a SQL query that answers the following question: What Date has a Label of grilled cheese?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, label VARCHAR)
SELECT date FROM table_name_25 WHERE label = "grilled cheese"
Write a SQL query that answers the following question: What Catalog has a Label of geffen records / universal music special markets?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (catalog VARCHAR, label VARCHAR)
SELECT catalog FROM table_name_5 WHERE label = "geffen records / universal music special markets"
Write a SQL query that answers the following question: What Label has a Format of cd, and a Catalog of crgd 86136?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (label VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_88 WHERE format = "cd" AND catalog = "crgd 86136"
Write a SQL query that answers the following question: What Region has a Catalog of crgd 86136?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (region VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_47 WHERE catalog = "crgd 86136"
Write a SQL query that answers the following question: What Label has a Catalog of 486 136-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_13 WHERE catalog = "486 136-2"
Write a SQL query that answers the following question: Which Opponent has a Result of 0-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_98 WHERE result = "0-3"
Write a SQL query that answers the following question: What is the total attendance with a 1-0 result, at Venue H, and Round SF?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (attendance INTEGER, round VARCHAR, result VARCHAR, venue VARCHAR)
SELECT SUM(attendance) FROM table_name_35 WHERE result = "1-0" AND venue = "h" AND round = "sf"
Write a SQL query that answers the following question: What is the lowest attendance at Venue H in Round R2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR)
SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2"
Write a SQL query that answers the following question: What is the highest attendance for the opponents Club Brugge in Venue A?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (attendance INTEGER, opponent VARCHAR, venue VARCHAR)
SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "club brugge" AND venue = "a"
Write a SQL query that answers the following question: What is the round for the opponent CSKA Sofia in Venue A?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (round VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT round FROM table_name_67 WHERE opponent = "cska sofia" AND venue = "a"
Write a SQL query that answers the following question: What player placed t10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_17 WHERE place = "t10"
Write a SQL query that answers the following question: What was Bernhard Langer's highest score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score INTEGER, player VARCHAR)
SELECT MAX(score) FROM table_name_93 WHERE player = "bernhard langer"
Write a SQL query that answers the following question: What was Craig Stadler's lowest score for United states?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (score INTEGER, country VARCHAR, player VARCHAR)
SELECT MIN(score) FROM table_name_35 WHERE country = "united states" AND player = "craig stadler"
Write a SQL query that answers the following question: What Money (Β£) has a Country of ireland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (money___Β£__ VARCHAR, country VARCHAR)
SELECT money___Β£__ FROM table_name_96 WHERE country = "ireland"
Write a SQL query that answers the following question: What Player has a Place of t10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_2 WHERE place = "t10"
Write a SQL query that answers the following question: What To par has a Score of 71-73-71-71=286?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_85 WHERE score = 71 - 73 - 71 - 71 = 286
Write a SQL query that answers the following question: What Place has a To par of –4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_92 WHERE to_par = "–4"
Write a SQL query that answers the following question: What Score has a Place of t8, and a Country of scotland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_86 WHERE place = "t8" AND country = "scotland"
Write a SQL query that answers the following question: What To par has a Country of united states, and a Score of 67-66-78-77=288?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288
Write a SQL query that answers the following question: What is the average Money ( $ ), when Country is "United States", and when To par is "+3"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (money___ INTEGER, country VARCHAR, to_par VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_14 WHERE country = "united states" AND to_par = "+3"
Write a SQL query that answers the following question: What is Money ( $ ), when Player is "Morgan Pressel"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_4 WHERE player = "morgan pressel"
Write a SQL query that answers the following question: What is Place, when Player is "Mi Hyun Kim"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_94 WHERE player = "mi hyun kim"
Write a SQL query that answers the following question: What was the tonnage on 30 march 1943?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (tonnage INTEGER, date VARCHAR)
SELECT AVG(tonnage) FROM table_name_78 WHERE date = "30 march 1943"
Write a SQL query that answers the following question: What was the fate on 27 june 1942?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (fate VARCHAR, date VARCHAR)
SELECT fate FROM table_name_44 WHERE date = "27 june 1942"
Write a SQL query that answers the following question: What was the tonnage on 12 september 1942?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (tonnage VARCHAR, date VARCHAR)
SELECT tonnage FROM table_name_91 WHERE date = "12 september 1942"
Write a SQL query that answers the following question: What was Yugoslavia's fate?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR)
SELECT fate FROM table_name_56 WHERE nationality = "yugoslavia"
Write a SQL query that answers the following question: What is the status of the ship INS Ranvir?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_95 WHERE name = "ins ranvir"
Write a SQL query that answers the following question: Who was the builder of the ship INS Rana?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (builder VARCHAR, name VARCHAR)
SELECT builder FROM table_name_69 WHERE name = "ins rana"
Write a SQL query that answers the following question: What year shows 248 (sf: 217) points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (year VARCHAR, points VARCHAR)
SELECT COUNT(year) FROM table_name_70 WHERE points = "248 (sf: 217)"
Write a SQL query that answers the following question: What is the place later than 2007, with 141 (sf:83) points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (place VARCHAR, year VARCHAR, points VARCHAR)
SELECT place FROM table_name_98 WHERE year > 2007 AND points = "141 (sf:83)"
Write a SQL query that answers the following question: What artist shows 2007 and composer of Hayko?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (artist VARCHAR, year VARCHAR, composer VARCHAR)
SELECT artist FROM table_name_31 WHERE year = 2007 AND composer = "hayko"
Write a SQL query that answers the following question: What place is Corey Pavin in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_31 WHERE player = "corey pavin"
Write a SQL query that answers the following question: How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR)
SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = "gimnasia de la plata"
Write a SQL query that answers the following question: Which Atomic property has Helium of 4.16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (atomic_property VARCHAR, helium VARCHAR)
SELECT atomic_property FROM table_name_57 WHERE helium = "4.16"
Write a SQL query that answers the following question: Which Krypton has Neon of 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (krypton VARCHAR, neon VARCHAR)
SELECT krypton FROM table_name_4 WHERE neon = "10"
Write a SQL query that answers the following question: Which Radon has Neon of 4.79?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (radon VARCHAR, neon VARCHAR)
SELECT radon FROM table_name_62 WHERE neon = "4.79"
Write a SQL query that answers the following question: Which Neon has Atomic property of average valence electron energy (avee)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (neon VARCHAR, atomic_property VARCHAR)
SELECT neon FROM table_name_91 WHERE atomic_property = "average valence electron energy (avee)"
Write a SQL query that answers the following question: Which Radon has Atomic property of outer shell electron configuration?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (radon VARCHAR, atomic_property VARCHAR)
SELECT radon FROM table_name_65 WHERE atomic_property = "outer shell electron configuration"
Write a SQL query that answers the following question: Which Xenon has Neon of 20.1797(6)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (xenon VARCHAR, neon VARCHAR)
SELECT xenon FROM table_name_25 WHERE neon = "20.1797(6)"
Write a SQL query that answers the following question: What is the highest attendance of the game with eastwood town as the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (attendance INTEGER, away_team VARCHAR)
SELECT MAX(attendance) FROM table_name_46 WHERE away_team = "eastwood town"
Write a SQL query that answers the following question: What place is Scott McCarron in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_4 WHERE player = "scott mccarron"
Write a SQL query that answers the following question: What is Alexandr Elke's Weight?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (weight VARCHAR, name VARCHAR)
SELECT weight FROM table_name_59 WHERE name = "alexandr elke"
Write a SQL query that answers the following question: What is the Name of the D Player from the Dinamo Moscow Club?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (name VARCHAR, club VARCHAR, pos VARCHAR)
SELECT name FROM table_name_76 WHERE club = "dinamo moscow" AND pos = "d"
Write a SQL query that answers the following question: What is the Date of Birth of the Player from the CSK VMF Moscow Club?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (date_of_birth VARCHAR, club VARCHAR)
SELECT date_of_birth FROM table_name_50 WHERE club = "csk vmf moscow"
Write a SQL query that answers the following question: What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (weight VARCHAR, club VARCHAR, height VARCHAR)
SELECT weight FROM table_name_31 WHERE club = "dshnk almaty" AND height = "m (ft 6in)"
Write a SQL query that answers the following question: Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (position INTEGER, played VARCHAR, goals_against VARCHAR, wins VARCHAR)
SELECT SUM(position) FROM table_name_28 WHERE goals_against < 43 AND wins > 14 AND played > 38
Write a SQL query that answers the following question: Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, wins VARCHAR)
SELECT MIN(goals_for) FROM table_name_17 WHERE position < 16 AND wins < 19 AND goals_against < 32
Write a SQL query that answers the following question: Which Points have Goals against of 32, and Played larger than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (points INTEGER, goals_against VARCHAR, played VARCHAR)
SELECT MAX(points) FROM table_name_30 WHERE goals_against = 32 AND played > 38
Write a SQL query that answers the following question: Which Position has Goals against smaller than 59, and Goals for larger than 32, and Draws larger than 9, and Points larger than 35?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (position INTEGER, points VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
SELECT AVG(position) FROM table_name_90 WHERE goals_against < 59 AND goals_for > 32 AND draws > 9 AND points > 35
Write a SQL query that answers the following question: What district re-elected a Republican?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (district VARCHAR, party VARCHAR, results VARCHAR)
SELECT district FROM table_name_21 WHERE party = "republican" AND results = "re-elected"
Write a SQL query that answers the following question: Which incumbent was first elected in 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_name_84 WHERE first_elected = 1987
Write a SQL query that answers the following question: From which country is the player who made less than $216?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (country VARCHAR, money___$__ INTEGER)
SELECT country FROM table_name_63 WHERE money___$__ < 216
Write a SQL query that answers the following question: Where did the player place who is from the United States, who made more than $216, and whose score was 74-70-71-69=284?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (place VARCHAR, country VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT place FROM table_name_71 WHERE country = "united states" AND money___$__ > 216 AND score = 74 - 70 - 71 - 69 = 284
Write a SQL query that answers the following question: Which player placed in t5 and had a score of 72-71-73-78=294?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_17 WHERE place = "t5" AND score = 72 - 71 - 73 - 78 = 294
Write a SQL query that answers the following question: What is the year that a record was recorded with Libor Pesek as conductor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (year_of_recording INTEGER, conductor VARCHAR)
SELECT SUM(year_of_recording) FROM table_name_14 WHERE conductor = "libor pesek"
Write a SQL query that answers the following question: What record company did pianist Solomon Cutner record for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (record_company VARCHAR, pianist VARCHAR)
SELECT record_company FROM table_name_51 WHERE pianist = "solomon cutner"
Write a SQL query that answers the following question: What record company did conductor Mikhail Snitko record for after 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (record_company VARCHAR, year_of_recording VARCHAR, conductor VARCHAR)
SELECT record_company FROM table_name_72 WHERE year_of_recording > 1996 AND conductor = "mikhail snitko"
Write a SQL query that answers the following question: Which event had a total of 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (event VARCHAR, total VARCHAR)
SELECT event FROM table_name_51 WHERE total = "28"
Write a SQL query that answers the following question: Who was the shooter when the rank points was 8 and the event was WC Kerrville?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR)
SELECT shooter FROM table_name_64 WHERE rank_points = "8" AND event = "wc kerrville"
Write a SQL query that answers the following question: What was the total when the score points was 12 and the rank points was 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (total VARCHAR, score_points VARCHAR, rank_points VARCHAR)
SELECT total FROM table_name_79 WHERE score_points = "12" AND rank_points = "15"
Write a SQL query that answers the following question: What is the score at the Champions League, when the result shows win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (score VARCHAR, competition VARCHAR, result VARCHAR)
SELECT score FROM table_name_25 WHERE competition = "champions league" AND result = "win"
Write a SQL query that answers the following question: What was the competition when the opponent was the Randers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (competition VARCHAR, opponent VARCHAR)
SELECT competition FROM table_name_8 WHERE opponent = "randers"
Write a SQL query that answers the following question: What is the result of the UEFA Cup, against Palermo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_49 WHERE competition = "uefa cup" AND opponent = "palermo"
Write a SQL query that answers the following question: What date was the UEFA Cup against Panathinaikos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (date VARCHAR, competition VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_29 WHERE competition = "uefa cup" AND opponent = "panathinaikos"
Write a SQL query that answers the following question: What is the total number of deaths of the attack with 0 Israelis or foreigners wounded, 0 other deaths, and a total casualty of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (total_deaths VARCHAR, total_casualties VARCHAR, israeli_and_or_foreigner_wounded VARCHAR, other_deaths VARCHAR)
SELECT total_deaths FROM table_name_78 WHERE israeli_and_or_foreigner_wounded = "0" AND other_deaths = "0" AND total_casualties = "1"
Write a SQL query that answers the following question: How many Israelis and or foreigners were wounded in the attack with more than 1 Israeli death?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (israeli_and_or_foreigner_wounded VARCHAR, israeli_deaths INTEGER)
SELECT israeli_and_or_foreigner_wounded FROM table_name_45 WHERE israeli_deaths > 1
Write a SQL query that answers the following question: How many other deaths were in the attack with 242 Israelis and/or foreigners wounded?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (other_deaths VARCHAR, israeli_and_or_foreigner_wounded VARCHAR)
SELECT other_deaths FROM table_name_81 WHERE israeli_and_or_foreigner_wounded = "242"
Write a SQL query that answers the following question: What is the total number of Israeli deaths in the attack with 0 total casulaties and 0 total deaths?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (israeli_deaths VARCHAR, total_casualties VARCHAR, total_deaths VARCHAR)
SELECT COUNT(israeli_deaths) FROM table_name_37 WHERE total_casualties = "0" AND total_deaths = "0"
Write a SQL query that answers the following question: What place did the golfer who had a score of 69-68-69-70=276 finish in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_11 WHERE score = 69 - 68 - 69 - 70 = 276
Write a SQL query that answers the following question: What was the to par score for Mike Weir?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_14 WHERE player = "mike weir"
Write a SQL query that answers the following question: What country was Jay Haas representing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_77 WHERE player = "jay haas"
Write a SQL query that answers the following question: What country has the t7 place, and player Peter Oosterhuis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_48 WHERE place = "t7" AND player = "peter oosterhuis"
Write a SQL query that answers the following question: What is the score for Sandy Lyle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_93 WHERE player = "sandy lyle"
Write a SQL query that answers the following question: Who is the player that has scored more than 0 league cup goals, but has than 13 total goals, and 4 league cup appearances total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (name VARCHAR, league_cup_apps VARCHAR, league_cup_goals VARCHAR, total_goals VARCHAR)
SELECT name FROM table_name_74 WHERE league_cup_goals > 0 AND total_goals < 13 AND league_cup_apps = "4"