instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which of the first parties has second member as Charles Robert Colvile, and a liberal second party?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (first_party VARCHAR, second_member VARCHAR, second_party VARCHAR)
SELECT first_party FROM table_name_50 WHERE second_member = "charles robert colvile" AND second_party = "liberal"
Write a SQL query that answers the following question: Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (election VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR)
SELECT election FROM table_name_40 WHERE second_member = "charles robert colvile" AND first_party = "conservative" AND first_member = "william mundy"
Write a SQL query that answers the following question: Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (second_party VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR)
SELECT second_party FROM table_name_31 WHERE second_member = "charles robert colvile" AND first_party = "conservative" AND first_member = "william mundy"
Write a SQL query that answers the following question: Who is the first member in the 1868 election?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (first_member VARCHAR, election VARCHAR)
SELECT first_member FROM table_name_79 WHERE election = "1868"
Write a SQL query that answers the following question: WHAT IS THE SOURCE WITH A TYPE OF TRANSFER AND MEX?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (source VARCHAR, type VARCHAR, nat VARCHAR)
SELECT source FROM table_name_14 WHERE type = "transfer" AND nat = "mex"
Write a SQL query that answers the following question: WHAT IS THE NAME WITH BAYER LEVERKUSEN?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (name VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_53 WHERE moving_to = "bayer leverkusen"
Write a SQL query that answers the following question: WHAT NAME HAS A FREE TRANSFER FREE AND RETIRED?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_74 WHERE transfer_fee = "free" AND moving_to = "retired"
Write a SQL query that answers the following question: WHAT TRANSFER FEE HAS A TYPE OF TRANSFER FOR DOS SANTOS?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_62 WHERE type = "transfer" AND name = "dos santos"
Write a SQL query that answers the following question: What is the sum of the all around with a 37.75 total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (all_around INTEGER, total VARCHAR)
SELECT SUM(all_around) FROM table_name_68 WHERE total = 37.75
Write a SQL query that answers the following question: What is the average final with an all around larger than 19.4 and total more than 39.9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (final INTEGER, all_around VARCHAR, total VARCHAR)
SELECT AVG(final) FROM table_name_12 WHERE all_around > 19.4 AND total > 39.9
Write a SQL query that answers the following question: What is the name of the storm active during season aggregates?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (name VARCHAR, dates_active VARCHAR)
SELECT name FROM table_name_48 WHERE dates_active = "season aggregates"
Write a SQL query that answers the following question: What report has tour match as the status, with an against less than 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (report VARCHAR, status VARCHAR, against VARCHAR)
SELECT report FROM table_name_92 WHERE status = "tour match" AND against < 22
Write a SQL query that answers the following question: How many againsts have asba park, kimberley as the venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (against INTEGER, venue VARCHAR)
SELECT SUM(against) FROM table_name_66 WHERE venue = "asba park, kimberley"
Write a SQL query that answers the following question: What status has gauteng falcons as the opposing team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (status VARCHAR, opposing_team VARCHAR)
SELECT status FROM table_name_2 WHERE opposing_team = "gauteng falcons"
Write a SQL query that answers the following question: What opposing team has second test as the status?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (opposing_team VARCHAR, status VARCHAR)
SELECT opposing_team FROM table_name_12 WHERE status = "second test"
Write a SQL query that answers the following question: What report has gauteng falcons as the opposing team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (report VARCHAR, opposing_team VARCHAR)
SELECT report FROM table_name_81 WHERE opposing_team = "gauteng falcons"
Write a SQL query that answers the following question: What status has 18 as the against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (status VARCHAR, against VARCHAR)
SELECT status FROM table_name_34 WHERE against = 18
Write a SQL query that answers the following question: What is the number of recepits per arrival in 2010 (col 2)/(col 1) USD with colombia (1) as the selected carribean and latin american country?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (receipts_per_arrival_2010__col_2___col_1____usd__ VARCHAR, selected_caribbean_and_n_latin_america_countries VARCHAR)
SELECT receipts_per_arrival_2010__col_2___col_1____usd__ FROM table_name_71 WHERE selected_caribbean_and_n_latin_america_countries = "colombia (1)"
Write a SQL query that answers the following question: What is 17th c., when Initial-Syllable Open/Semi-Open Unstressed Vowels is "o /ɵ/"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (initial_syllable_open_semi_open_unstressed_vowels VARCHAR)
SELECT 17 AS th_c FROM table_name_76 WHERE initial_syllable_open_semi_open_unstressed_vowels = "o /ɵ/"
Write a SQL query that answers the following question: What is British, when Examples is "November, rotunda, colossus, proscenium"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (british VARCHAR, examples VARCHAR)
SELECT british FROM table_name_12 WHERE examples = "november, rotunda, colossus, proscenium"
Write a SQL query that answers the following question: What is American, when British is "ɪ, ə", and when Initial-Syllable Open/Semi-Open Unstressed Vowels is "æ /ɨ/"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (american VARCHAR, british VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR)
SELECT american FROM table_name_23 WHERE british = "ɪ, ə" AND initial_syllable_open_semi_open_unstressed_vowels = "æ /ɨ/"
Write a SQL query that answers the following question: What is Initial-Syllable Open/Semi-Open Unstresses Vowels, when Australian is "ə"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (initial_syllable_open_semi_open_unstressed_vowels VARCHAR, australian VARCHAR)
SELECT initial_syllable_open_semi_open_unstressed_vowels FROM table_name_15 WHERE australian = "ə"
Write a SQL query that answers the following question: What is Australian, when British is "aɪ, ɪ, ə"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (australian VARCHAR, british VARCHAR)
SELECT australian FROM table_name_12 WHERE british = "aɪ, ɪ, ə"
Write a SQL query that answers the following question: What is American, when Initial-Syllable Open/Semi-Open Unstressed Vowels is "y /aɪ, ɨ/"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (american VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR)
SELECT american FROM table_name_7 WHERE initial_syllable_open_semi_open_unstressed_vowels = "y /aɪ, ɨ/"
Write a SQL query that answers the following question: What is the date for catalog RCD 10160?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_15 WHERE catalog = "rcd 10160"
Write a SQL query that answers the following question: What country has CD format and catalog RCD 10523?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (country VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT country FROM table_name_45 WHERE format = "cd" AND catalog = "rcd 10523"
Write a SQL query that answers the following question: Which country is dated October 20, 1976?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR)
SELECT country FROM table_name_83 WHERE date = "october 20, 1976"
Write a SQL query that answers the following question: Which label has the catalog CDZAP22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_65 WHERE catalog = "cdzap22"
Write a SQL query that answers the following question: What is the date for the catalog CDZAP22 in the United Kingdom?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date VARCHAR, country VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_69 WHERE country = "united kingdom" AND catalog = "cdzap22"
Write a SQL query that answers the following question: What is Place, when Score is "66", when Country is "United States", and when Player is "Dudley Hart"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (place VARCHAR, player VARCHAR, score VARCHAR, country VARCHAR)
SELECT place FROM table_name_84 WHERE score = 66 AND country = "united states" AND player = "dudley hart"
Write a SQL query that answers the following question: What is the lowest Score, when Place is "1"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score INTEGER, place VARCHAR)
SELECT MIN(score) FROM table_name_32 WHERE place = "1"
Write a SQL query that answers the following question: What is To Par, when Score is "66", and when Player is "Brad Faxon"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (to_par VARCHAR, score VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_25 WHERE score = 66 AND player = "brad faxon"
Write a SQL query that answers the following question: What is the Opponent in the final after 2008 at the Paul Hunter Classic?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (opponent_in_the_final VARCHAR, year VARCHAR, championship VARCHAR)
SELECT opponent_in_the_final FROM table_name_1 WHERE year > 2008 AND championship = "paul hunter classic"
Write a SQL query that answers the following question: What is the latest year for first elected with john hostettler as incumbent and a result of lost re-election democratic gain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_name_40 WHERE results = "lost re-election democratic gain" AND incumbent = "john hostettler"
Write a SQL query that answers the following question: Who is the owner/operator of the line from Kambalda to Esperance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (owner_operator VARCHAR, from_to VARCHAR)
SELECT owner_operator FROM table_name_18 WHERE from_to = "kambalda to esperance"
Write a SQL query that answers the following question: What is the name of the line from Karratha to Port Hedland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (name__year_commissioned_ VARCHAR, from_to VARCHAR)
SELECT name__year_commissioned_ FROM table_name_74 WHERE from_to = "karratha to port hedland"
Write a SQL query that answers the following question: What is the maximum diameter of the Mid West Gas Pipeline (1999)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (maximum_diameter VARCHAR, name__year_commissioned_ VARCHAR)
SELECT maximum_diameter FROM table_name_57 WHERE name__year_commissioned_ = "mid west gas pipeline (1999)"
Write a SQL query that answers the following question: Who is the owner operator who has license number PL 59?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (owner_operator VARCHAR, licence_number VARCHAR)
SELECT owner_operator FROM table_name_85 WHERE licence_number = "pl 59"
Write a SQL query that answers the following question: What is the license number where the maximum diameter is 400 mm?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (licence_number VARCHAR, maximum_diameter VARCHAR)
SELECT licence_number FROM table_name_14 WHERE maximum_diameter = "400 mm"
Write a SQL query that answers the following question: What is the name where the license number is PL 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (name__year_commissioned_ VARCHAR, licence_number VARCHAR)
SELECT name__year_commissioned_ FROM table_name_7 WHERE licence_number = "pl 22"
Write a SQL query that answers the following question: Which venue has 16 against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (venue VARCHAR, against VARCHAR)
SELECT venue FROM table_name_5 WHERE against = 16
Write a SQL query that answers the following question: What is the against for the opposing team of Wales with the status of Five Nations?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (against INTEGER, status VARCHAR, opposing_teams VARCHAR)
SELECT AVG(against) FROM table_name_52 WHERE status = "five nations" AND opposing_teams = "wales"
Write a SQL query that answers the following question: Can you tell me the average Average that has the Rank larger than 4, and the Player of dean minors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (average INTEGER, rank VARCHAR, player VARCHAR)
SELECT AVG(average) FROM table_name_77 WHERE rank > 4 AND player = "dean minors"
Write a SQL query that answers the following question: What is the venue where john zibnack was the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (venue VARCHAR, runner_up VARCHAR)
SELECT venue FROM table_name_54 WHERE runner_up = "john zibnack"
Write a SQL query that answers the following question: Who is the winner in des moines, iowa where p.h. finkbank was the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (winner VARCHAR, location VARCHAR, runner_up VARCHAR)
SELECT winner FROM table_name_14 WHERE location = "des moines, iowa" AND runner_up = "p.h. finkbank"
Write a SQL query that answers the following question: What is the location where ed c. kingsley was the runner-up in 1939?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (location VARCHAR, runner_up VARCHAR, year VARCHAR)
SELECT location FROM table_name_63 WHERE runner_up = "ed c. kingsley" AND year = "1939"
Write a SQL query that answers the following question: Who is the winner when mark fuller was the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (winner VARCHAR, runner_up VARCHAR)
SELECT winner FROM table_name_81 WHERE runner_up = "mark fuller"
Write a SQL query that answers the following question: What is the venue in 2002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (venue VARCHAR, year VARCHAR)
SELECT venue FROM table_name_86 WHERE year = "2002"
Write a SQL query that answers the following question: Who is the runner-up in 1901?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (runner_up VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_78 WHERE year = "1901"
Write a SQL query that answers the following question: What Australian sound is equivalent to e /ɛ/?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (australian VARCHAR, short_vowels VARCHAR)
SELECT australian FROM table_name_81 WHERE short_vowels = "e /ɛ/"
Write a SQL query that answers the following question: What was the score of the game when they played at new york islanders?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_99 WHERE home = "new york islanders"
Write a SQL query that answers the following question: Which of the R. Epp, has J Thiessen of Tjoatj?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (r_epp VARCHAR, j_thiessen VARCHAR)
SELECT r_epp FROM table_name_90 WHERE j_thiessen = "tjoatj"
Write a SQL query that answers the following question: Which of the R. Epp, has Ed Zacharias from Rollen, Jerolt, Golt?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (r_epp VARCHAR, ed_zacharias VARCHAR)
SELECT r_epp FROM table_name_97 WHERE ed_zacharias = "rollen, jerolt, golt"
Write a SQL query that answers the following question: Which of the A. Dyck has J. Thiessen of Du?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (a_dyck VARCHAR, j_thiessen VARCHAR)
SELECT a_dyck FROM table_name_68 WHERE j_thiessen = "du"
Write a SQL query that answers the following question: Which of the H. Rempel has J. J. Neufeld of Sajen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (h_rempel VARCHAR, j_j_neufeld VARCHAR)
SELECT h_rempel FROM table_name_31 WHERE j_j_neufeld = "sajen"
Write a SQL query that answers the following question: What is the sum of Against, when Status is "Six Nations", and when Date is "30/03/2003"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (against INTEGER, status VARCHAR, date VARCHAR)
SELECT SUM(against) FROM table_name_20 WHERE status = "six nations" AND date = "30/03/2003"
Write a SQL query that answers the following question: What is Opposing Teams, when Against is less than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (opposing_teams VARCHAR, against INTEGER)
SELECT opposing_teams FROM table_name_86 WHERE against < 6
Write a SQL query that answers the following question: What is Date, when Against is "22"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (date VARCHAR, against VARCHAR)
SELECT date FROM table_name_87 WHERE against = 22
Write a SQL query that answers the following question: What shows for money (£) when South Africa is the country?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (money___ INTEGER, country VARCHAR)
SELECT MAX(money___) AS £__ FROM table_name_44 WHERE country = "south africa"
Write a SQL query that answers the following question: What is the To par when Lanny Wadkins is the player?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_66 WHERE player = "lanny wadkins"
Write a SQL query that answers the following question: What was the score of the marco island tournament match when Kathleen Horvath won runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (score VARCHAR, outcome VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_91 WHERE outcome = "runner-up" AND tournament = "marco island"
Write a SQL query that answers the following question: What was the tournament that was on july 6, 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_55 WHERE date = "july 6, 1987"
Write a SQL query that answers the following question: What is pick 246's position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (position VARCHAR, pick VARCHAR)
SELECT position FROM table_name_94 WHERE pick = 246
Write a SQL query that answers the following question: Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (pick VARCHAR, player VARCHAR, nfl_club VARCHAR)
SELECT pick FROM table_name_58 WHERE player = "chuck bryant" AND nfl_club = "san diego chargers"
Write a SQL query that answers the following question: What is the position of the pittsburgh steelers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (position VARCHAR, nfl_club VARCHAR)
SELECT position FROM table_name_29 WHERE nfl_club = "pittsburgh steelers"
Write a SQL query that answers the following question: Which NFL Club has a Player of sam tidmore, and a Pick of 81?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (nfl_club VARCHAR, player VARCHAR, pick VARCHAR)
SELECT nfl_club FROM table_name_43 WHERE player = "sam tidmore" AND pick = 81
Write a SQL query that answers the following question: Which club had round of group stage round 1 and 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (club VARCHAR, round VARCHAR)
SELECT club FROM table_name_1 WHERE round = "group stage round 1 and 5"
Write a SQL query that answers the following question: What is the aggregate for the first round for K.S.V. Waregem?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (aggregate VARCHAR, round VARCHAR, club VARCHAR)
SELECT aggregate FROM table_name_54 WHERE round = "first round" AND club = "k.s.v. waregem"
Write a SQL query that answers the following question: What is the away where the round is the second round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (away VARCHAR, round VARCHAR)
SELECT away FROM table_name_40 WHERE round = "second round"
Write a SQL query that answers the following question: What was the broadcaste date for the episode with a run time of 24:44?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (broadcast_date VARCHAR, run_time VARCHAR)
SELECT broadcast_date FROM table_name_60 WHERE run_time = "24:44"
Write a SQL query that answers the following question: Which Episode had 9.1 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (episode VARCHAR, viewers__in_millions_ VARCHAR)
SELECT episode FROM table_name_65 WHERE viewers__in_millions_ = "9.1"
Write a SQL query that answers the following question: What is Country, when Previous Team (League) is "Kingston Frontenacs ( OHL )", and when Player is "Anthony Stewart Category:Articles with hCards"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (country VARCHAR, previous_team__league_ VARCHAR, player VARCHAR)
SELECT country FROM table_name_45 WHERE previous_team__league_ = "kingston frontenacs ( ohl )" AND player = "anthony stewart category:articles with hcards"
Write a SQL query that answers the following question: What is Player, when Pick is "3", when Position is "Defense", and when Year is less than 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (player VARCHAR, year VARCHAR, pick VARCHAR, position VARCHAR)
SELECT player FROM table_name_80 WHERE pick = "3" AND position = "defense" AND year < 2010
Write a SQL query that answers the following question: What is Position, when Year is less than 2000, and when Player is "Radek Dvorak Category:Articles with hCards"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (position VARCHAR, year VARCHAR, player VARCHAR)
SELECT position FROM table_name_81 WHERE year < 2000 AND player = "radek dvorak category:articles with hcards"
Write a SQL query that answers the following question: What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR)
SELECT player FROM table_name_90 WHERE previous_team__league_ = "medicine hat tigers ( whl )" AND year < 2002
Write a SQL query that answers the following question: What is Country, when Year is "1994"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (country VARCHAR, year VARCHAR)
SELECT country FROM table_name_93 WHERE year = 1994
Write a SQL query that answers the following question: What episode has 7.8 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (episode VARCHAR, viewers__in_millions_ VARCHAR)
SELECT episode FROM table_name_13 WHERE viewers__in_millions_ = "7.8"
Write a SQL query that answers the following question: What episode has a run time of 25:12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (episode VARCHAR, run_time VARCHAR)
SELECT episode FROM table_name_51 WHERE run_time = "25:12"
Write a SQL query that answers the following question: What is the broadcast date with 7.0 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
SELECT broadcast_date FROM table_name_46 WHERE viewers__in_millions_ = "7.0"
Write a SQL query that answers the following question: What is the average total for Dave Stockton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (total INTEGER, player VARCHAR)
SELECT AVG(total) FROM table_name_66 WHERE player = "dave stockton"
Write a SQL query that answers the following question: What is the sum of the to par for the United States in the winning year of 1967, and has a total of more than 146?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (to_par INTEGER, total VARCHAR, country VARCHAR, year_s__won VARCHAR)
SELECT SUM(to_par) FROM table_name_38 WHERE country = "united states" AND year_s__won = "1967" AND total > 146
Write a SQL query that answers the following question: What is the score for the game in which Arsenal was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_42 WHERE away_team = "arsenal"
Write a SQL query that answers the following question: What is the score for the tie number 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_13 WHERE tie_no = "15"
Write a SQL query that answers the following question: What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT outgoing_manager FROM table_name_78 WHERE manner_of_departure = "end of tenure as caretaker" AND replaced_by = "jesper hansen"
Write a SQL query that answers the following question: What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (team VARCHAR, position_in_table VARCHAR, manner_of_departure VARCHAR)
SELECT team FROM table_name_52 WHERE position_in_table = "pre-season" AND manner_of_departure = "end of tenure as caretaker"
Write a SQL query that answers the following question: What place is Fredrik Jacobson from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_87 WHERE player = "fredrik jacobson"
Write a SQL query that answers the following question: What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_98 WHERE score < 67 AND place = "t1" AND player = "tiger woods"
Write a SQL query that answers the following question: What place is player Brad Faxon from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_33 WHERE player = "brad faxon"
Write a SQL query that answers the following question: What is Sweden's lowest score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (score INTEGER, country VARCHAR)
SELECT MIN(score) FROM table_name_90 WHERE country = "sweden"
Write a SQL query that answers the following question: Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_92 WHERE year_built > 1894 AND parish__prestegjeld_ = "jostedal parish"
Write a SQL query that answers the following question: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, church_name VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_30 WHERE parish__prestegjeld_ = "hafslo parish" AND church_name = "hafslo kyrkje"
Write a SQL query that answers the following question: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, location_of_the_church VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_52 WHERE parish__prestegjeld_ = "hafslo parish" AND location_of_the_church = "urnes"
Write a SQL query that answers the following question: Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = "jostedal parish" AND location_of_the_church = "gaupne"
Write a SQL query that answers the following question: Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (sub_parish__sogn_ VARCHAR, church_name VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_99 WHERE church_name = "jostedal kyrkje"
Write a SQL query that answers the following question: What's the national title of miss international ikumi yoshimatsu?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (national_title VARCHAR, miss_international VARCHAR)
SELECT national_title FROM table_name_11 WHERE miss_international = "ikumi yoshimatsu"
Write a SQL query that answers the following question: What's the earliest year the philippines won?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (year INTEGER, country_territory VARCHAR)
SELECT MIN(year) FROM table_name_6 WHERE country_territory = "philippines"
Write a SQL query that answers the following question: What's the average year lebanon won?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (year INTEGER, country_territory VARCHAR)
SELECT AVG(year) FROM table_name_51 WHERE country_territory = "lebanon"
Write a SQL query that answers the following question: What country or territory is małgorzata rożniecka from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (country_territory VARCHAR, miss_international VARCHAR)
SELECT country_territory FROM table_name_33 WHERE miss_international = "małgorzata rożniecka"
Write a SQL query that answers the following question: Which team had a league of regionalliga süd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (teams VARCHAR, league VARCHAR)
SELECT teams FROM table_name_84 WHERE league = "regionalliga süd"
Write a SQL query that answers the following question: What was the home for season 1949-50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (home VARCHAR, season VARCHAR)
SELECT home FROM table_name_79 WHERE season = "1949-50"