text
stringlengths
293
1.24k
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (attendance VARCHAR, result_f_a VARCHAR) ### Question: Result F–A of 2–0 had what total number of attendance? ### Answer: SELECT COUNT(attendance) FROM table_name_42 WHERE result_f_a = "2–0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (silver INTEGER, rank VARCHAR, bronze VARCHAR) ### Question: What is the average number of silver medals for rank 2 and more than 1 bronze medal? ### Answer: SELECT AVG(silver) FROM table_name_15 WHERE rank = 2 AND bronze > 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (network VARCHAR, viewers VARCHAR) ### Question: Which Network has 16.0 million Viewers? ### Answer: SELECT network FROM table_name_67 WHERE viewers = "16.0 million"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_171748_3 (change_over_same_quarter_the_previous_year VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ VARCHAR) ### Question: What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)? ### Answer: SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = "89.6%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (structure_height_ VARCHAR, m VARCHAR, name VARCHAR, country VARCHAR, year VARCHAR, type VARCHAR) ### Question: What is the height of the fort peck dam which was built before 1968, is located in the united states and has a dam type of TE ? ### Answer: SELECT structure_height_[m] FROM table_name_93 WHERE year < 1968 AND type = "te" AND country = "united states" AND name = "fort peck dam"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25887826_17 (pos INTEGER, avg VARCHAR) ### Question: How many POS when the average is 1.8529? ### Answer: SELECT MAX(pos) FROM table_25887826_17 WHERE avg = "1.8529"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: What driver has a grid of under 10, and under 70 laps? ### Answer: SELECT driver FROM table_name_84 WHERE grid < 10 AND laps < 70
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (date VARCHAR, builder VARCHAR, number VARCHAR) ### Question: How many Dates have a Builder of laconia car company, and a Number of 63-68? ### Answer: SELECT COUNT(date) FROM table_name_8 WHERE builder = "laconia car company" AND number = "63-68"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (venue VARCHAR, result VARCHAR, goals VARCHAR) ### Question: Which venue has a Result of w, and a Goal of deacon 5/5? ### Answer: SELECT venue FROM table_name_84 WHERE result = "w" AND goals = "deacon 5/5"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (gold VARCHAR, rank VARCHAR, silver VARCHAR) ### Question: What is the total number of gold medals of the ranked 2nd nation, which has less than 2 silvers? ### Answer: SELECT COUNT(gold) FROM table_name_16 WHERE rank = "2" AND silver < 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (driver VARCHAR, laps VARCHAR, grid VARCHAR, constructor VARCHAR) ### Question: Who drove the renault that went over 23 laps and had a grid under 11? ### Answer: SELECT driver FROM table_name_21 WHERE grid < 11 AND constructor = "renault" AND laps > 23
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR) ### Question: What opponent had an attendance of 10,089? ### Answer: SELECT opponent FROM table_name_11 WHERE attendance = "10,089"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (proposed VARCHAR, cerclis_id VARCHAR) ### Question: What was the Proposed date of the entry that has a CERCLIS ID of al0001058056? ### Answer: SELECT proposed FROM table_name_56 WHERE cerclis_id = "al0001058056"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (week INTEGER, attendance INTEGER) ### Question: Can you tell me the lowest Week that has the Attendance smaller than 34,336? ### Answer: SELECT MIN(week) FROM table_name_60 WHERE attendance < 34 OFFSET 336
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (election VARCHAR) ### Question: Which 1st Party has an Election of 1893 by-election? ### Answer: SELECT 1 AS st_party FROM table_name_10 WHERE election = "1893 by-election"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR) ### Question: What is the to par for Bart Bryant? ### Answer: SELECT to_par FROM table_name_9 WHERE player = "bart bryant"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR) ### Question: What was the record on september 2? ### Answer: SELECT record FROM table_name_6 WHERE date = "september 2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR) ### Question: Which To Par has a Money ($) of 350, and a Player of henry picard? ### Answer: SELECT to_par FROM table_name_69 WHERE money___$__ = 350 AND player = "henry picard"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE policies (policy_type_code VARCHAR) ### Question: Which type of policy is most frequently used? Give me the policy type code. ### Answer: SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (skip VARCHAR, lead VARCHAR) ### Question: Which skip's lead is Gordon McDougall? ### Answer: SELECT skip FROM table_name_17 WHERE lead = "gordon mcdougall"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (date VARCHAR, opponent VARCHAR) ### Question: Which date has an Opponent of bye? ### Answer: SELECT date FROM table_name_78 WHERE opponent = "bye"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25438110_5 (road VARCHAR, county VARCHAR) ### Question: What road is associated with Carson Valley county? ### Answer: SELECT road FROM table_25438110_5 WHERE county = "Carson Valley"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (away_captain VARCHAR, date VARCHAR) ### Question: What is Away Captain, when Date is 30 Dec, 1,2,3 Jan 1911/2? ### Answer: SELECT away_captain FROM table_name_38 WHERE date = "30 dec, 1,2,3 jan 1911/2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23281862_6 (location_attendance VARCHAR, high_points VARCHAR) ### Question: Where was the game in which Carl Landry (25) did the most high points played? ### Answer: SELECT location_attendance FROM table_23281862_6 WHERE high_points = "Carl Landry (25)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE Customers_cards (customer_id VARCHAR, card_number VARCHAR) ### Question: What is the first name, last name, and phone of the customer with card 4560596484842. ### Answer: SELECT T2.customer_first_name, T2.customer_last_name, T2.customer_phone FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.card_number = "4560596484842"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR, score VARCHAR) ### Question: Which player placed in t5 and had a score of 72-71-73-78=294? ### Answer: SELECT player FROM table_name_17 WHERE place = "t5" AND score = 72 - 71 - 73 - 78 = 294
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16912000_13 (p_ret VARCHAR, kr_avg VARCHAR) ### Question: How many p.ret are there when kr avg is 11.3 ? ### Answer: SELECT COUNT(p_ret) FROM table_16912000_13 WHERE kr_avg = "11.3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR, high_points VARCHAR) ### Question: What is Team, when Location Attendance is "Madison Square Garden Unknown", and when High Points is "Alonzo Mourning (24)"? ### Answer: SELECT team FROM table_name_69 WHERE location_attendance = "madison square garden unknown" AND high_points = "alonzo mourning (24)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Aircraft (name VARCHAR, distance INTEGER) ### Question: Show names for all aircrafts with distances more than the average. ### Answer: SELECT name FROM Aircraft WHERE distance > (SELECT AVG(distance) FROM Aircraft)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (track VARCHAR, time VARCHAR) ### Question: What track has a time of 2:30? ### Answer: SELECT track FROM table_name_23 WHERE time = "2:30"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR) ### Question: What is the Year of Kodansha Novels' Tokyo Nightmare? ### Answer: SELECT year FROM table_name_80 WHERE first_publisher = "kodansha novels" AND english_title = "tokyo nightmare"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (competition VARCHAR, year VARCHAR, notes VARCHAR) ### Question: Which Competition has a Year smaller than 2009, and Notes of 56.16 m? ### Answer: SELECT competition FROM table_name_13 WHERE year < 2009 AND notes = "56.16 m"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22384475_1 (margin VARCHAR, match_date VARCHAR) ### Question: What was the margin of the match on 19 Jan 2002? ### Answer: SELECT margin FROM table_22384475_1 WHERE match_date = "19 Jan 2002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341423_32 (first_elected VARCHAR, incumbent VARCHAR) ### Question: Name the first election for john mchugh ### Answer: SELECT COUNT(first_elected) FROM table_1341423_32 WHERE incumbent = "John McHugh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (bask INTEGER, indoor_track VARCHAR, swimming VARCHAR) ### Question: Which Bask has an Indoor track of 0, and a Swimming of 5? ### Answer: SELECT MIN(bask) FROM table_name_73 WHERE indoor_track = "0" AND swimming = "5"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15869204_5 (record VARCHAR, game VARCHAR) ### Question: Name the total number of record for 27 ### Answer: SELECT COUNT(record) FROM table_15869204_5 WHERE game = 27
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12792876_4 (try_bonus VARCHAR, points_against VARCHAR) ### Question: Name the try bonus of points against at 430 ### Answer: SELECT try_bonus FROM table_12792876_4 WHERE points_against = "430"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (tournament VARCHAR) ### Question: What Tournament of monte carlo had 1996 and a 1987 of nme? ### Answer: SELECT 1996 FROM table_name_45 WHERE 1987 = "nme" AND tournament = "monte carlo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22050544_4 (event VARCHAR, event__number VARCHAR) ### Question: What is the event name with the number 8M? ### Answer: SELECT event FROM table_22050544_4 WHERE event__number = "8M"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (system VARCHAR, current_version VARCHAR) ### Question: What system has a current version of 1.4e? ### Answer: SELECT system FROM table_name_65 WHERE current_version = "1.4e"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (location VARCHAR, method VARCHAR) ### Question: In which location was the method decision (split)? ### Answer: SELECT location FROM table_name_26 WHERE method = "decision (split)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (money___$__ VARCHAR, player VARCHAR) ### Question: What is Money ( $ ), when Player is Greg Norman? ### Answer: SELECT money___$__ FROM table_name_1 WHERE player = "greg norman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (year VARCHAR, partner VARCHAR, venue VARCHAR) ### Question: In what Year did the German Open have Yoo Sang-Hee as Partner? ### Answer: SELECT year FROM table_name_8 WHERE partner = "yoo sang-hee" AND venue = "german open"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR) ### Question: What is No. 10, when No. 1 is Noah, and when No. 9 is Carter? ### Answer: SELECT no_10 FROM table_name_45 WHERE no_1 = "noah" AND no_9 = "carter"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (venue VARCHAR, away_team VARCHAR) ### Question: Where does Collingwood play their games? ### Answer: SELECT venue FROM table_name_55 WHERE away_team = "collingwood"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (loss INTEGER, pa_per_game VARCHAR, last_5 VARCHAR, streak VARCHAR) ### Question: Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43? ### Answer: SELECT AVG(loss) FROM table_name_80 WHERE last_5 = "4-1" AND streak = "w2" AND pa_per_game < 88.43
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR) ### Question: What CFL team did Darcy Brown play for? ### Answer: SELECT cfl_team FROM table_20170644_1 WHERE player = "Darcy Brown"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (score VARCHAR, to_par VARCHAR, player VARCHAR) ### Question: Which Score has a To par of –4, and a Player of duffy waldorf? ### Answer: SELECT score FROM table_name_30 WHERE to_par = "–4" AND player = "duffy waldorf"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR) ### Question: Name the driver for race time being 2:34:21 ### Answer: SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (catalog VARCHAR, label VARCHAR, date VARCHAR) ### Question: Which catalog did Village Records have on February 14, 2002? ### Answer: SELECT catalog FROM table_name_60 WHERE label = "village records" AND date = "february 14, 2002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (points INTEGER, chassis VARCHAR) ### Question: What is the low score for the jaguar r3 chasis? ### Answer: SELECT MIN(points) FROM table_name_90 WHERE chassis = "jaguar r3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (location VARCHAR, founded VARCHAR, left VARCHAR, type VARCHAR) ### Question: Where was the former private member that was founded in 1891 and left in 1975? ### Answer: SELECT location FROM table_name_98 WHERE left = 1975 AND type = "private" AND founded = 1891
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (label VARCHAR, date VARCHAR, catalog VARCHAR) ### Question: Which Label has a Date smaller than 2008, and a Catalog of fall cd 006? ### Answer: SELECT label FROM table_name_82 WHERE date < 2008 AND catalog = "fall cd 006"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26218124_1 (original_club VARCHAR, name VARCHAR) ### Question: Which club was originally named the newcastle falcons? ### Answer: SELECT original_club FROM table_26218124_1 WHERE name = "Newcastle Falcons"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_5 (series VARCHAR, game VARCHAR) ### Question: What was the series standing after game 1? ### Answer: SELECT series FROM table_name_5 WHERE game = 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23453931_4 (opponent VARCHAR, points VARCHAR) ### Question: What team did the Maple Leafs score 9 points against? ### Answer: SELECT opponent FROM table_23453931_4 WHERE points = 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_2 (webcast VARCHAR, format VARCHAR, callsign VARCHAR) ### Question: What Tejano webcast has a callsign of KBDR? ### Answer: SELECT webcast FROM table_name_2 WHERE format = "tejano" AND callsign = "kbdr"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (power VARCHAR, year VARCHAR) ### Question: Tell me the power for 1935-45 ### Answer: SELECT power FROM table_name_91 WHERE year = "1935-45"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (loser VARCHAR, result VARCHAR, winner VARCHAR, location VARCHAR) ### Question: What is the name of the Loser when the winner was new england patriots, and a Location of giants stadium, and a Result of 30–28? ### Answer: SELECT loser FROM table_name_46 WHERE winner = "new england patriots" AND location = "giants stadium" AND result = "30–28"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (romanization VARCHAR, english_title VARCHAR) ### Question: What is the Romanization for my old sweetheart? ### Answer: SELECT romanization FROM table_name_81 WHERE english_title = "my old sweetheart"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28652521_1 (for_shank_type VARCHAR, storage_case VARCHAR) ### Question: What's the shank type of the buttonholer with red plastic box as storage case? ### Answer: SELECT for_shank_type FROM table_28652521_1 WHERE storage_case = "red plastic box"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) ### Question: What was the home team's score in the match at Victoria Park? ### Answer: SELECT home_team AS score FROM table_name_6 WHERE venue = "victoria park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (city VARCHAR, host VARCHAR) ### Question: Which city is the University of Montana located in? ### Answer: SELECT city FROM table_name_80 WHERE host = "university of montana"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (game INTEGER, score VARCHAR) ### Question: Which Game has a Score of 3–4? ### Answer: SELECT MIN(game) FROM table_name_76 WHERE score = "3–4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29569969_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) ### Question: Who directed the episode that had 1.48 million viewers in the U.S.? ### Answer: SELECT directed_by FROM table_29569969_2 WHERE us_viewers__millions_ = "1.48"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (cfl_team VARCHAR, player VARCHAR) ### Question: What CFL Team is Pascal Masson on? ### Answer: SELECT cfl_team FROM table_name_76 WHERE player = "pascal masson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12027364_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) ### Question: Who won the mixed doubles when ji xinpeng won the mens singles? ### Answer: SELECT mixed_doubles FROM table_12027364_1 WHERE mens_singles = "Ji Xinpeng"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (date VARCHAR, home_team VARCHAR) ### Question: When did Essendon play at home? ### Answer: SELECT date FROM table_name_15 WHERE home_team = "essendon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (goals INTEGER, player VARCHAR) ### Question: What is the smallest number of goals for andy williams? ### Answer: SELECT MIN(goals) FROM table_name_92 WHERE player = "andy williams"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (record VARCHAR, arena VARCHAR, loss VARCHAR) ### Question: What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10–11–1)? ### Answer: SELECT record FROM table_name_53 WHERE arena = "arrowhead pond of anaheim" AND loss = "bryzgalov (10–11–1)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE school (Denomination VARCHAR) ### Question: Please show different denominations and the corresponding number of schools in descending order. ### Answer: SELECT Denomination, COUNT(*) FROM school GROUP BY Denomination ORDER BY COUNT(*) DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (run_1 VARCHAR, athletes VARCHAR) ### Question: What is Run 1, when Athletes is "Theo Kitt & Friedrich Kuhn"? ### Answer: SELECT run_1 FROM table_name_89 WHERE athletes = "theo kitt & friedrich kuhn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25058269_1 (season VARCHAR) ### Question: In season 2005–06, who is 3rd place? ### Answer: SELECT 3 AS rd_place FROM table_25058269_1 WHERE season = "2005–06"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR) ### Question: What day did the play on week 6? ### Answer: SELECT date FROM table_name_3 WHERE week = 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR) ### Question: What date was Bury the home team? ### Answer: SELECT date FROM table_name_67 WHERE away_team = "bury"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (pick__number VARCHAR, nhl_team VARCHAR) ### Question: Which Pick # has an NHL team of detroit red wings? ### Answer: SELECT pick__number FROM table_name_69 WHERE nhl_team = "detroit red wings"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR) ### Question: What county has a football team in IHSAA class AAAAA and a school macot of the Grizzly Cubs? ### Answer: SELECT county FROM table_name_25 WHERE ihsaa_football_class = "aaaaa" AND mascot = "grizzly cubs"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_5 (gold INTEGER, nation VARCHAR, silver VARCHAR) ### Question: What is the gold total for lithuania with under 2 silvers? ### Answer: SELECT SUM(gold) FROM table_name_5 WHERE nation = "lithuania" AND silver < 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR) ### Question: What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners? ### Answer: SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29218221_1 (thurs_2_june VARCHAR, fri_3_june VARCHAR) ### Question: What is the Thurs 2 June time for the rider with a Fri 3 June time of 17' 36.58 128.554mph? ### Answer: SELECT thurs_2_june FROM table_29218221_1 WHERE fri_3_june = "17' 36.58 128.554mph"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12094609_1 (evening_gown VARCHAR, state VARCHAR) ### Question: what's the evening gown where state is south dakota ### Answer: SELECT evening_gown FROM table_12094609_1 WHERE state = "South Dakota"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR) ### Question: Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time? ### Answer: SELECT race FROM table_name_4 WHERE pole_position = "alberto ascari" AND winning_driver = "alberto ascari" AND fastest_lap = "luigi villoresi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_2 (city___municipality VARCHAR, urban_settlement VARCHAR) ### Question: What is the number of cities/municipalities having an urban settlement of Srbobran? ### Answer: SELECT COUNT(city___municipality) FROM table_2562572_2 WHERE urban_settlement = "Srbobran"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (points_against VARCHAR, lost VARCHAR) ### Question: Which points against has 17 as the lost? ### Answer: SELECT points_against FROM table_name_61 WHERE lost = "17"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1013129_1 (position VARCHAR, nhl_team VARCHAR) ### Question: What positions do the hartford whalers nhl team have? ### Answer: SELECT position FROM table_1013129_1 WHERE nhl_team = "Hartford Whalers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (opponent_in_final VARCHAR, surface VARCHAR, date VARCHAR) ### Question: What is Opponent in Final, when Surface is "Hard", and when Date is "13 January 1992"? ### Answer: SELECT opponent_in_final FROM table_name_31 WHERE surface = "hard" AND date = "13 january 1992"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (skip VARCHAR, lead VARCHAR) ### Question: Who has the role of skip when the lead is Dominik Greindl? ### Answer: SELECT skip FROM table_name_69 WHERE lead = "dominik greindl"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11963601_11 (location_attendance VARCHAR, date VARCHAR) ### Question: Where was the game on May 15 and how many were in attendance? ### Answer: SELECT location_attendance FROM table_11963601_11 WHERE date = "May 15"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (team VARCHAR, game VARCHAR) ### Question: What teams played in Capital Bowl IV? ### Answer: SELECT team FROM table_name_31 WHERE game = "capital bowl iv"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_71 (in_service INTEGER, vessel VARCHAR) ### Question: What is the lowest listed In service for a vessel of xavery czernicki class? ### Answer: SELECT MIN(in_service) FROM table_name_71 WHERE vessel = "xavery czernicki class"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR) ### Question: Who is the player in t8 place with a 75-71=146 score? ### Answer: SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (format VARCHAR, catalog VARCHAR) ### Question: What s the format for the catalog nebcd058? ### Answer: SELECT format FROM table_name_3 WHERE catalog = "nebcd058"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) ### Question: What is the Score with a Date that is march 12? ### Answer: SELECT score FROM table_name_93 WHERE date = "march 12"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (tournament VARCHAR) ### Question: What did the Tournament of Australian Championships, with an A in 1969, get in 1954? ### Answer: SELECT 1954 FROM table_name_28 WHERE 1969 = "a" AND tournament = "australian championships"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11630008_5 (season__number INTEGER, series__number VARCHAR) ### Question: What was the season number for the episode with the series number 61? ### Answer: SELECT MAX(season__number) FROM table_11630008_5 WHERE series__number = 61
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Teachers (first_name VARCHAR, last_name VARCHAR) ### Question: Find the first names and last names of teachers in alphabetical order of last name. ### Answer: SELECT first_name, last_name FROM Teachers ORDER BY last_name
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (round INTEGER, position VARCHAR, player VARCHAR) ### Question: What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson? ### Answer: SELECT MIN(round) FROM table_name_50 WHERE position = "linebacker" AND player = "thomas henderson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (country VARCHAR, year_s__won VARCHAR) ### Question: What county won in 1991? ### Answer: SELECT country FROM table_name_14 WHERE year_s__won = "1991"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (rebounds INTEGER, name VARCHAR, games VARCHAR) ### Question: How many Rebounds did Novica Veličković get in less than 22 Games? ### Answer: SELECT SUM(rebounds) FROM table_name_6 WHERE name = "novica veličković" AND games < 22
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Companies (Industry VARCHAR) ### Question: How many different industries are the companies in? ### Answer: SELECT COUNT(DISTINCT Industry) FROM Companies