instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What round has a name of vladimir morozov?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (round VARCHAR, name VARCHAR)
SELECT round FROM table_name_90 WHERE name = "vladimir morozov"
Write a SQL query that answers the following question: What is the record for the date of 12 december?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_36 WHERE date = "12 december"
Write a SQL query that answers the following question: What is the date for the name ryan lochte?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_79 WHERE name = "ryan lochte"
Write a SQL query that answers the following question: What is the record for the date 15 december, and a round of final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR, round VARCHAR)
SELECT record FROM table_name_6 WHERE date = "15 december" AND round = "final"
Write a SQL query that answers the following question: What is the lowest attendance for week 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (attendance INTEGER, week VARCHAR)
SELECT MIN(attendance) FROM table_name_46 WHERE week = 11
Write a SQL query that answers the following question: What is the total number of spectators on week 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_98 WHERE week = 4
Write a SQL query that answers the following question: What was the sample size for polling on May 2-7, 2007 for Hillary Clinton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (sample_size VARCHAR, date VARCHAR, democrat VARCHAR)
SELECT sample_size FROM table_name_35 WHERE date = "may 2-7, 2007" AND democrat = "hillary clinton"
Write a SQL query that answers the following question: Who was the republican when hillary clinton was the democrat and the sample size was more than 1087 with a margin of error of 2.6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (republican VARCHAR, margin_of_error VARCHAR, sample_size VARCHAR, democrat VARCHAR)
SELECT republican FROM table_name_47 WHERE sample_size > 1087 AND democrat = "hillary clinton" AND margin_of_error = 2.6
Write a SQL query that answers the following question: Where is the poll source when Hillary clinton was the democrat, john mccain was the republican, and the margin of error was less than 4.5 on May 2-7, 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (poll_source VARCHAR, date VARCHAR, republican VARCHAR, democrat VARCHAR, margin_of_error VARCHAR)
SELECT poll_source FROM table_name_41 WHERE democrat = "hillary clinton" AND margin_of_error < 4.5 AND republican = "john mccain" AND date = "may 2-7, 2007"
Write a SQL query that answers the following question: What si the total sample size at rasmussen reports when the margin of error was bigger than 4.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (sample_size VARCHAR, poll_source VARCHAR, margin_of_error VARCHAR)
SELECT COUNT(sample_size) FROM table_name_59 WHERE poll_source = "rasmussen reports" AND margin_of_error > 4.5
Write a SQL query that answers the following question: What is the date that the polls were going on at quinnipiac when john mccain was the republican, barack obama was the democrat and the sample size was bigger than 1427?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date VARCHAR, sample_size VARCHAR, democrat VARCHAR, republican VARCHAR, poll_source VARCHAR)
SELECT date FROM table_name_67 WHERE republican = "john mccain" AND poll_source = "quinnipiac" AND democrat = "barack obama" AND sample_size > 1427
Write a SQL query that answers the following question: What is To Par, when Player is Greg Norman?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_65 WHERE player = "greg norman"
Write a SQL query that answers the following question: What is Score, when Money ( $ ) is 32,200, and when Player is Chip Beck?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT score FROM table_name_2 WHERE money___$__ = "32,200" AND player = "chip beck"
Write a SQL query that answers the following question: What is Money ( $ ), when Player is Greg Norman?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_1 WHERE player = "greg norman"
Write a SQL query that answers the following question: What is Player, when Country is United States, and when Score is 73-76-72-66=287?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_6 WHERE country = "united states" AND score = 73 - 76 - 72 - 66 = 287
Write a SQL query that answers the following question: What is To Par, when Money ( $ ) is Playoff, and when Score is 68-73-77-65=283?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (to_par VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_97 WHERE money___$__ = "playoff" AND score = 68 - 73 - 77 - 65 = 283
Write a SQL query that answers the following question: What country was Ernie Els from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_80 WHERE player = "ernie els"
Write a SQL query that answers the following question: What was the par for the t5 place player Steve Jones?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_16 WHERE place = "t5" AND player = "steve jones"
Write a SQL query that answers the following question: What type is You from the state of Chen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (type VARCHAR, state VARCHAR, name VARCHAR)
SELECT type FROM table_name_91 WHERE state = "chen" AND name = "you"
Write a SQL query that answers the following question: What country had the runner abubaker kaki khamis in lane 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (country VARCHAR, lane VARCHAR, name VARCHAR)
SELECT country FROM table_name_9 WHERE lane = 5 AND name = "abubaker kaki khamis"
Write a SQL query that answers the following question: What is the highest heat for a lane past 1 and mark of 1:48.61?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (heat INTEGER, lane VARCHAR, mark VARCHAR)
SELECT MAX(heat) FROM table_name_79 WHERE lane > 1 AND mark = "1:48.61"
Write a SQL query that answers the following question: What is average for Benito Lorenzi league when total is smaller than 143?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (league INTEGER, name VARCHAR, total VARCHAR)
SELECT AVG(league) FROM table_name_20 WHERE name = "benito lorenzi" AND total < 143
Write a SQL query that answers the following question: Which league has total smaller than 284, with Sandro Mazzola league?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (league INTEGER, total VARCHAR, name VARCHAR)
SELECT MIN(league) FROM table_name_42 WHERE total < 284 AND name = "sandro mazzola"
Write a SQL query that answers the following question: What is the earliest election with 2 seats and the outcome of the election of minority in parliament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR)
SELECT MIN(election) FROM table_name_67 WHERE outcome_of_election = "minority in parliament" AND seats = "2"
Write a SQL query that answers the following question: How many seats does the election with the outcome of election of minority in parliament and 186,226 PNC votes have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (seats VARCHAR, outcome_of_election VARCHAR, number_of_pnc_votes VARCHAR)
SELECT seats FROM table_name_86 WHERE outcome_of_election = "minority in parliament" AND number_of_pnc_votes = "186,226"
Write a SQL query that answers the following question: How many seats did the election before 2004 with 3.4% share of votes have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (seats VARCHAR, election VARCHAR, share_of_votes VARCHAR)
SELECT seats FROM table_name_72 WHERE election < 2004 AND share_of_votes = "3.4%"
Write a SQL query that answers the following question: How many PNC votes did the election before 1996 have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (number_of_pnc_votes VARCHAR, election INTEGER)
SELECT number_of_pnc_votes FROM table_name_39 WHERE election < 1996
Write a SQL query that answers the following question: How many times is the postion S?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (overall VARCHAR, position VARCHAR)
SELECT COUNT(overall) FROM table_name_4 WHERE position = "s"
Write a SQL query that answers the following question: how many times is the name Derek Smith when the round is higher than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (overall VARCHAR, name VARCHAR, round VARCHAR)
SELECT COUNT(overall) FROM table_name_63 WHERE name = "derek smith" AND round > 3
Write a SQL query that answers the following question: what is the lowest overall when the pick is 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (overall INTEGER, pick VARCHAR)
SELECT MIN(overall) FROM table_name_50 WHERE pick = 20
Write a SQL query that answers the following question: what is the highest round when the overall is less than 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (round INTEGER, overall INTEGER)
SELECT MAX(round) FROM table_name_32 WHERE overall < 17
Write a SQL query that answers the following question: What is Partner, when Opponents In The Final is Remi Tezuka Shuko Aoyama?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_name_98 WHERE opponents_in_the_final = "remi tezuka shuko aoyama"
Write a SQL query that answers the following question: What is Opponents In The Final, when Score is 4-1 5-4 (7) 4-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (opponents_in_the_final VARCHAR, score VARCHAR)
SELECT opponents_in_the_final FROM table_name_84 WHERE score = "4-1 5-4 (7) 4-2"
Write a SQL query that answers the following question: What is Date, when Opponents In The Final, is Maria-Fernanda Alves Stéphanie Dubois?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, opponents_in_the_final VARCHAR)
SELECT date FROM table_name_59 WHERE opponents_in_the_final = "maria-fernanda alves stéphanie dubois"
Write a SQL query that answers the following question: Where was the Fury FC 4: High Voltage event held?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_5 WHERE event = "fury fc 4: high voltage"
Write a SQL query that answers the following question: What's the nat that ends in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (nat VARCHAR, ends VARCHAR)
SELECT nat FROM table_name_93 WHERE ends = "2009"
Write a SQL query that answers the following question: What is the type when they move from Gimnàstic?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (type VARCHAR, moving_from VARCHAR)
SELECT type FROM table_name_69 WHERE moving_from = "gimnàstic"
Write a SQL query that answers the following question: What's the transfer window that ends in 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (transfer_window VARCHAR, ends VARCHAR)
SELECT transfer_window FROM table_name_19 WHERE ends = "2012"
Write a SQL query that answers the following question: What's the type that ends in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (type VARCHAR, ends VARCHAR)
SELECT type FROM table_name_60 WHERE ends = "2009"
Write a SQL query that answers the following question: What's the moving of the Esp with a transfer and named De La Red?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (moving_from VARCHAR, name VARCHAR, type VARCHAR, nat VARCHAR)
SELECT moving_from FROM table_name_53 WHERE type = "transfer" AND nat = "esp" AND name = "de la red"
Write a SQL query that answers the following question: What type is González?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_20 WHERE name = "gonzález"
Write a SQL query that answers the following question: How many sales took place with a peak of 1 for Boris?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (sales VARCHAR, peak VARCHAR, artist VARCHAR)
SELECT COUNT(sales) FROM table_name_81 WHERE peak = 1 AND artist = "boris"
Write a SQL query that answers the following question: What was the record in the game where the opponent was the cincinnati royals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_60 WHERE opponent = "cincinnati royals"
Write a SQL query that answers the following question: What was the attendance of game 25 when the played the San Francisco Warriors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (location_attendance VARCHAR, opponent VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_name_43 WHERE opponent = "san francisco warriors" AND game = 25
Write a SQL query that answers the following question: Which manufacturer has a grid of 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (manufacturer VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_25 WHERE grid = "6"
Write a SQL query that answers the following question: Who is the rider for Honda with a grid of 25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_72 WHERE manufacturer = "honda" AND grid = "25"
Write a SQL query that answers the following question: How many laps has a grid of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (laps VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_62 WHERE grid = "5"
Write a SQL query that answers the following question: Who is the rider whose time/retired is accident?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (rider VARCHAR, time_retired VARCHAR)
SELECT rider FROM table_name_43 WHERE time_retired = "accident"
Write a SQL query that answers the following question: How many laps have a time/retired of +23.080?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_51 WHERE time_retired = "+23.080"
Write a SQL query that answers the following question: Who is the manufacturer for Henk Vd Lagemaat?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (manufacturer VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_68 WHERE rider = "henk vd lagemaat"
Write a SQL query that answers the following question: what is the technology when the gel pouring is no and the analysis time is 8 days?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR)
SELECT technology FROM table_name_88 WHERE gel_pouring = "no" AND analysis_time = "8 days"
Write a SQL query that answers the following question: what is the throughput (including analysis) when the analysis time is 4 hours?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (throughput__including_analysis_ VARCHAR, analysis_time VARCHAR)
SELECT throughput__including_analysis_ FROM table_name_77 WHERE analysis_time = "4 hours"
Write a SQL query that answers the following question: What is Geust, when Result is 0:9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (geust VARCHAR, result VARCHAR)
SELECT geust FROM table_name_45 WHERE result = "0:9"
Write a SQL query that answers the following question: What is Home, when Time is 18:00, and when Geust is Servette FC (CHL)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (home VARCHAR, time VARCHAR, geust VARCHAR)
SELECT home FROM table_name_49 WHERE time = "18:00" AND geust = "servette fc (chl)"
Write a SQL query that answers the following question: What is Time, when Geust is AC Bellinzona (CHL)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (time VARCHAR, geust VARCHAR)
SELECT time FROM table_name_77 WHERE geust = "ac bellinzona (chl)"
Write a SQL query that answers the following question: What was the transfer fee when winter was the transfer window?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (transfer_fee VARCHAR, transfer_window VARCHAR)
SELECT transfer_fee FROM table_name_1 WHERE transfer_window = "winter"
Write a SQL query that answers the following question: What transfer fee has both winter as the transfer window, and Madureira as the moving to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR)
SELECT transfer_fee FROM table_name_68 WHERE transfer_window = "winter" AND moving_to = "madureira"
Write a SQL query that answers the following question: What was the moving that has a free transfer fee, and the nationality of CYP, and winter as the transfer window?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (moving_to VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR, nat VARCHAR)
SELECT moving_to FROM table_name_12 WHERE transfer_fee = "free" AND nat = "cyp" AND transfer_window = "winter"
Write a SQL query that answers the following question: Who is moving to Metalurh Donetsk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (name VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_9 WHERE moving_to = "metalurh donetsk"
Write a SQL query that answers the following question: The player moving to Villa Rio has what transfer fee?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (transfer_fee VARCHAR, moving_to VARCHAR)
SELECT transfer_fee FROM table_name_11 WHERE moving_to = "villa rio"
Write a SQL query that answers the following question: Emerson has what transfer window?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_90 WHERE name = "emerson"
Write a SQL query that answers the following question: Where was the fight located that lasted a time of 2:33?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (location VARCHAR, time VARCHAR)
SELECT location FROM table_name_7 WHERE time = "2:33"
Write a SQL query that answers the following question: What is the total number of Game, when Attendance is "18,568"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (game VARCHAR, attendance VARCHAR)
SELECT COUNT(game) FROM table_name_7 WHERE attendance = 18 OFFSET 568
Write a SQL query that answers the following question: In Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (rank INTEGER, county_and_state VARCHAR, capacity__thousands_of_metric_tons_ VARCHAR)
SELECT MAX(rank) FROM table_name_21 WHERE county_and_state = "silver bow county, montana" AND capacity__thousands_of_metric_tons_ > 45
Write a SQL query that answers the following question: In Pinal County, Arizona, when there's a capacity of over 5 metric tons, and the rank is under 14, what's the mine called?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (mine VARCHAR, county_and_state VARCHAR, rank VARCHAR, capacity__thousands_of_metric_tons_ VARCHAR)
SELECT mine FROM table_name_67 WHERE rank < 14 AND capacity__thousands_of_metric_tons_ > 5 AND county_and_state = "pinal county, arizona"
Write a SQL query that answers the following question: How many sets lost have a loss smaller than 3 and a rank larger than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (sets_lost INTEGER, loss VARCHAR, rank VARCHAR)
SELECT SUM(sets_lost) FROM table_name_26 WHERE loss < 3 AND rank > 1
Write a SQL query that answers the following question: What is Bids, when Champions is "1"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (bids VARCHAR, champions VARCHAR)
SELECT bids FROM table_name_34 WHERE champions = "1"
Write a SQL query that answers the following question: Which finalist played in the week of October 21?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (finalist VARCHAR, week VARCHAR)
SELECT finalist FROM table_name_38 WHERE week = "october 21"
Write a SQL query that answers the following question: On what surface did they play the match in the week of October 21?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (surface VARCHAR, week VARCHAR)
SELECT surface FROM table_name_27 WHERE week = "october 21"
Write a SQL query that answers the following question: Who was the finalist in the Monte Carlo Tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (finalist VARCHAR, tournament VARCHAR)
SELECT finalist FROM table_name_91 WHERE tournament = "monte carlo"
Write a SQL query that answers the following question: What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (rank INTEGER, gold VARCHAR, total VARCHAR)
SELECT SUM(rank) FROM table_name_65 WHERE gold > 1 AND total > 4
Write a SQL query that answers the following question: What is the Gold for the Nation in Rank 4 with less than 1 Silver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (gold INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_37 WHERE rank = 4 AND silver < 1
Write a SQL query that answers the following question: What is the transfer window for Steven Thompson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_1 WHERE name = "steven thompson"
Write a SQL query that answers the following question: What type is Kevin Muscat?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_35 WHERE name = "kevin muscat"
Write a SQL query that answers the following question: What is the freestyle leg for the Netherlands?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (freestyle_leg VARCHAR, country VARCHAR)
SELECT freestyle_leg FROM table_name_5 WHERE country = "netherlands"
Write a SQL query that answers the following question: What is the release date when the location is Europe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (release_date VARCHAR, location VARCHAR)
SELECT release_date FROM table_name_37 WHERE location = "europe"
Write a SQL query that answers the following question: What is the release in Germany?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (release_date VARCHAR, location VARCHAR)
SELECT release_date FROM table_name_96 WHERE location = "germany"
Write a SQL query that answers the following question: What is the name with a release date of December 1966, and a Location of UK?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (name VARCHAR, release_date VARCHAR, location VARCHAR)
SELECT name FROM table_name_42 WHERE release_date = "december 1966" AND location = "uk"
Write a SQL query that answers the following question: What is the US release date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (release_date VARCHAR, location VARCHAR)
SELECT release_date FROM table_name_5 WHERE location = "us"
Write a SQL query that answers the following question: What is the name in the UK, with a release date of December 1966?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (name VARCHAR, location VARCHAR, release_date VARCHAR)
SELECT name FROM table_name_24 WHERE location = "uk" AND release_date = "december 1966"
Write a SQL query that answers the following question: What away team scored 107-104?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_84 WHERE score = "107-104"
Write a SQL query that answers the following question: What was the away team for the New Zealand breakers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (report VARCHAR, away_team VARCHAR)
SELECT report FROM table_name_59 WHERE away_team = "new zealand breakers"
Write a SQL query that answers the following question: What was the away team that scored 63-69?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_73 WHERE score = "63-69"
Write a SQL query that answers the following question: Where is the player Davis Love III?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_82 WHERE player = "davis love iii"
Write a SQL query that answers the following question: What is the second qualifying time for the dale coyne racing team with a first qualifying time of 1:00.081?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (qual_2 VARCHAR, team VARCHAR, qual_1 VARCHAR)
SELECT qual_2 FROM table_name_31 WHERE team = "dale coyne racing" AND qual_1 = "1:00.081"
Write a SQL query that answers the following question: Which team had a second qualifying time of 58.539?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (team VARCHAR, qual_2 VARCHAR)
SELECT team FROM table_name_71 WHERE qual_2 = "58.539"
Write a SQL query that answers the following question: What is the best time from patrick carpentier from the forsythe racing team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (best VARCHAR, team VARCHAR, name VARCHAR)
SELECT best FROM table_name_33 WHERE team = "forsythe racing" AND name = "patrick carpentier"
Write a SQL query that answers the following question: What is the best time for a team with a first-qualifying time of 59.448?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (best VARCHAR, qual_1 VARCHAR)
SELECT best FROM table_name_6 WHERE qual_1 = "59.448"
Write a SQL query that answers the following question: What is the name of the racer with a best time of 57.546?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (name VARCHAR, best VARCHAR)
SELECT name FROM table_name_34 WHERE best = "57.546"
Write a SQL query that answers the following question: What is the name of the racer with a first-qualifying time of 58.991?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (name VARCHAR, qual_1 VARCHAR)
SELECT name FROM table_name_76 WHERE qual_1 = "58.991"
Write a SQL query that answers the following question: What is the average Points, when Played is greater than 126?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (points INTEGER, played INTEGER)
SELECT AVG(points) FROM table_name_3 WHERE played > 126
Write a SQL query that answers the following question: What is the sum of Average, when 2006 is "36/40", and when Played is greater than 126?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (average INTEGER, played VARCHAR)
SELECT SUM(average) FROM table_name_64 WHERE 2006 = "36/40" AND played > 126
Write a SQL query that answers the following question: What is 2006, when Team is "Tacuary"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (team VARCHAR)
SELECT 2006 FROM table_name_13 WHERE team = "tacuary"
Write a SQL query that answers the following question: Which Rank has a Bronze of 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (rank VARCHAR, bronze VARCHAR)
SELECT rank FROM table_name_94 WHERE bronze = 3
Write a SQL query that answers the following question: What are the Runner(s)-up of the 1956 Championship?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (runner_s__up VARCHAR, year VARCHAR)
SELECT runner_s__up FROM table_name_52 WHERE year = "1956"
Write a SQL query that answers the following question: What are the Runner(s)-up of the 1972 Championship?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (runner_s__up VARCHAR, year VARCHAR)
SELECT runner_s__up FROM table_name_41 WHERE year = "1972"
Write a SQL query that answers the following question: What is the Country of the Championship with a Score of 293?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_12 WHERE score = "293"
Write a SQL query that answers the following question: What is the total enrollment at the school that has the nickname of the Fightin' Blue Hens?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (enrollment VARCHAR, nickname VARCHAR)
SELECT COUNT(enrollment) FROM table_name_52 WHERE nickname = "fightin' blue hens"
Write a SQL query that answers the following question: What was the score for set 3 when set 1 was 14–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (set_3 VARCHAR, set_1 VARCHAR)
SELECT set_3 FROM table_name_1 WHERE set_1 = "14–25"
Write a SQL query that answers the following question: What is the time when the set 3 score is 31–29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (time VARCHAR, set_3 VARCHAR)
SELECT time FROM table_name_23 WHERE set_3 = "31–29"