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_39 (week VARCHAR, date VARCHAR) ### Question: Which week was the game played on December 8, 1974? ### Answer: SELECT week FROM table_name_39 WHERE date = "december 8, 1974"
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 (division_west VARCHAR, division_north VARCHAR) ### Question: Who won Division West when Division North was won by Alumina? ### Answer: SELECT division_west FROM table_name_69 WHERE division_north = "alumina"
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 (other VARCHAR, control VARCHAR, labour VARCHAR, green VARCHAR, independent VARCHAR) ### Question: Which Other has a Green of 0, and an Independent of 1, and a Labour smaller than 45, and a Control of labour lose to no overall control? ### Answer: SELECT other FROM table_name_90 WHERE green = 0 AND independent = 1 AND labour < 45 AND control = "labour lose to no overall control"
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_87 (losing_team VARCHAR, winning_team VARCHAR, venue VARCHAR, total VARCHAR) ### Question: WHich Losing Team has a Venue of sydney football stadium, and a Total larger than 80, and a Winning Team of tigers? ### Answer: SELECT losing_team FROM table_name_87 WHERE venue = "sydney football stadium" AND total > 80 AND winning_team = "tigers"
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_1973729_1 (location VARCHAR, enrollment VARCHAR) ### Question: What location contains a school that has an enrollment of 2686? ### Answer: SELECT location FROM table_1973729_1 WHERE enrollment = 2686
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 (matches VARCHAR, draw VARCHAR, lost VARCHAR, season VARCHAR) ### Question: What is the total number of matches with a loss less than 5 in the 2008/2009 season and has a draw larger than 9? ### Answer: SELECT COUNT(matches) FROM table_name_53 WHERE lost < 5 AND season = "2008/2009" AND draw > 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_73 (venue VARCHAR, result VARCHAR) ### Question: What was the venue where the result was 12th? ### Answer: SELECT venue FROM table_name_73 WHERE result = "12th"
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_44 (city_of_license VARCHAR, call_sign VARCHAR) ### Question: What city of license is associated with call sign w244bk? ### Answer: SELECT city_of_license FROM table_name_44 WHERE call_sign = "w244bk"
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_26919_6 (arabic VARCHAR, tigrinya VARCHAR) ### Question: Name the arabic for ħamuʃte ### Answer: SELECT arabic FROM table_26919_6 WHERE tigrinya = "ħamuʃte"
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 (american_labor_ticket VARCHAR, republican_ticket VARCHAR) ### Question: Which American Labor candidate ran against Republican Thomas E. Dewey? ### Answer: SELECT american_labor_ticket FROM table_name_91 WHERE republican_ticket = "thomas e. dewey"
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_99 (location VARCHAR, round VARCHAR, opponent VARCHAR) ### Question: Where's the location for the opponent James Zikic and 3 rounds? ### Answer: SELECT location FROM table_name_99 WHERE round = 3 AND opponent = "james zikic"
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 (population_under_1_year_old_censo_2007_hab_ VARCHAR, population_censo_2007_hab_ VARCHAR) ### Question: What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*? ### Answer: SELECT population_under_1_year_old_censo_2007_hab_ FROM table_name_91 WHERE population_censo_2007_hab_ = "112.054*"
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_10392906_2 (opponent VARCHAR, date VARCHAR) ### Question: How many opponents were played on Saturday, June 9? ### Answer: SELECT COUNT(opponent) FROM table_10392906_2 WHERE date = "Saturday, June 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_25640730_7 (title VARCHAR, _number VARCHAR) ### Question: What is the episode title for episode number 12? ### Answer: SELECT title FROM table_25640730_7 WHERE _number = 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_7 (week INTEGER, record VARCHAR) ### Question: Which week did the Seattle Seahawks have a record of 6-6? ### Answer: SELECT AVG(week) FROM table_name_7 WHERE record = "6-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_51 (year VARCHAR, team VARCHAR) ### Question: What is the year when Scuderia Lancia Corse competed? ### Answer: SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse"
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 (foundation INTEGER, official_name_in_malay VARCHAR) ### Question: what was the foundation of Politeknik Pagoh? ### Answer: SELECT AVG(foundation) FROM table_name_73 WHERE official_name_in_malay = "politeknik pagoh"
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_20549371_3 (vehicle VARCHAR, epa_rated_highway_fuel_economy VARCHAR) ### Question: What vehicle has an epa highway fuel economy of 109 mpg-e? ### Answer: SELECT vehicle FROM table_20549371_3 WHERE epa_rated_highway_fuel_economy = "109 mpg-e"
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_19 (tie_no VARCHAR, home_team VARCHAR, date VARCHAR) ### Question: What was the Tie no when then home team was Stoke City for the game played on 9 February 1946? ### Answer: SELECT tie_no FROM table_name_19 WHERE home_team = "stoke city" AND date = "9 february 1946"
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 (place_of_birth VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR) ### Question: What is the birth place for someone elevated by Lucius III, and has the Cardinalatial title of Deacon of S. Giorgio in Velabro? ### Answer: SELECT place_of_birth FROM table_name_65 WHERE elevator = "lucius iii" AND cardinalatial_title = "deacon of s. giorgio in velabro"
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_1346137_4 (party VARCHAR, incumbent VARCHAR) ### Question: What was the winning party when the incumbent was richard s. whaley? ### Answer: SELECT party FROM table_1346137_4 WHERE incumbent = "Richard S. Whaley"
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 (pada_1 VARCHAR, pada_2 VARCHAR) ### Question: What kind of Pada 1 has a Pada 2 of सा sa? ### Answer: SELECT pada_1 FROM table_name_8 WHERE pada_2 = "सा sa"
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 (country VARCHAR, to_par VARCHAR, player VARCHAR) ### Question: Which country is Jay Haas from when he had a to par of E? ### Answer: SELECT country FROM table_name_92 WHERE to_par = "e" AND player = "jay haas"
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_24 (date VARCHAR, location VARCHAR, record VARCHAR) ### Question: On what date did they play in Boston Garden with a record of 22-4? ### Answer: SELECT date FROM table_name_24 WHERE location = "boston garden" AND record = "22-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_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR) ### Question: What type has an unspecified species and less than 367 genes? ### Answer: SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367
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_94 (drawn INTEGER, goals VARCHAR) ### Question: What is the sum of draws with 274-357 goals? ### Answer: SELECT SUM(drawn) FROM table_name_94 WHERE goals = "274-357"
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 (points INTEGER, goals VARCHAR, assists VARCHAR, games VARCHAR) ### Question: If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria? ### Answer: SELECT SUM(points) FROM table_name_78 WHERE assists = 7 AND games = 11 AND goals < 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_84 (tournament VARCHAR) ### Question: What is the value for 2008 for the US Open Tournament? ### Answer: SELECT 2008 FROM table_name_84 WHERE tournament = "us 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_31 (time VARCHAR, home VARCHAR) ### Question: What is the Time with a Home that is high park demons? ### Answer: SELECT time FROM table_name_31 WHERE home = "high park demons"
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_54 (second_member VARCHAR, second_party VARCHAR, election VARCHAR) ### Question: Who is the second member that is a second party Whig in the 1834 election? ### Answer: SELECT second_member FROM table_name_54 WHERE second_party = "whig" AND election = "1834"
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_29 (release_date VARCHAR, production_num VARCHAR) ### Question: When was Production Number 9105 released? ### Answer: SELECT release_date FROM table_name_29 WHERE production_num = "9105"
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_18159601_1 (status VARCHAR, city VARCHAR) ### Question: what is the status in vestal ### Answer: SELECT status FROM table_18159601_1 WHERE city = "Vestal"
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_49 (lost INTEGER, points INTEGER) ### Question: What average lost has points greater than 108? ### Answer: SELECT AVG(lost) FROM table_name_49 WHERE points > 108
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 (crowd VARCHAR, venue VARCHAR) ### Question: What was the listed crowd at junction oval? ### Answer: SELECT crowd FROM table_name_28 WHERE venue = "junction oval"
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 (total INTEGER, bronze VARCHAR, gold VARCHAR, silver VARCHAR) ### Question: What average total has a gold greater than 0, and a silver greater than 0, with a bronze greater than 2? ### Answer: SELECT AVG(total) FROM table_name_9 WHERE gold > 0 AND silver > 0 AND bronze > 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_63 (date VARCHAR, venue VARCHAR) ### Question: On which date was the match in Manama, Bahrain? ### Answer: SELECT date FROM table_name_63 WHERE venue = "manama, bahrain"
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 TV_Channel (Package_Option VARCHAR, series_name VARCHAR) ### Question: What is the Package Option of TV Channel with serial name "Sky Radio"? ### Answer: SELECT Package_Option FROM TV_Channel WHERE series_name = "Sky Radio"
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_36 (attendance INTEGER, result VARCHAR, week VARCHAR) ### Question: What is the highest Attendance, when Result is l 26-16, and when Week is less than 12? ### Answer: SELECT MAX(attendance) FROM table_name_36 WHERE result = "l 26-16" AND week < 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_82 (total INTEGER, tournament INTEGER) ### Question: Name the average total for tournament less than 0 ### Answer: SELECT AVG(total) FROM table_name_82 WHERE tournament < 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_73 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR) ### Question: What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20? ### Answer: SELECT set_2 FROM table_name_73 WHERE score = "3-0" AND date = "may 11" AND set_1 = "25-20"
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_58 (game INTEGER, record VARCHAR) ### Question: What is the lowest game number when the record was 26-24-9? ### Answer: SELECT MIN(game) FROM table_name_58 WHERE record = "26-24-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_18784280_3 (position_in_table VARCHAR, team VARCHAR) ### Question: Which position in the table is the team watford? ### Answer: SELECT position_in_table FROM table_18784280_3 WHERE team = "Watford"
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_16403890_1 (location VARCHAR, institution VARCHAR) ### Question: How many locations does Elon University have? ### Answer: SELECT COUNT(location) FROM table_16403890_1 WHERE institution = "Elon University"
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_57 (high_assists VARCHAR, high_points VARCHAR) ### Question: What is High Assists, when High Points is Keon Clark (19)? ### Answer: SELECT high_assists FROM table_name_57 WHERE high_points = "keon clark (19)"
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 (week INTEGER, result VARCHAR) ### Question: What is the highest Week, when Result is W 34-21? ### Answer: SELECT MAX(week) FROM table_name_89 WHERE result = "w 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_72 (pick INTEGER, school VARCHAR) ### Question: What's the total number of picks for mckinney high school? ### Answer: SELECT SUM(pick) FROM table_name_72 WHERE school = "mckinney high school"
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 (event VARCHAR, medal VARCHAR, games VARCHAR) ### Question: What event did Pakistan get the bronze medal at the 1988 Seoul Games? ### Answer: SELECT event FROM table_name_82 WHERE medal = "bronze" AND games = "1988 seoul"
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 (date_of_birth VARCHAR, player VARCHAR) ### Question: What is the birth date for Mervyn Dillon? ### Answer: SELECT date_of_birth FROM table_name_11 WHERE player = "mervyn dillon"
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_19753079_36 (result VARCHAR, district VARCHAR) ### Question: Name the result for north carolina 7 ### Answer: SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7"
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_24918268_2 (final_score VARCHAR, kickoff VARCHAR) ### Question: What was the score for the game that kicked off at 6:00 p.m.? ### Answer: SELECT final_score FROM table_24918268_2 WHERE kickoff = "6:00 p.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_name_14 (driver VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: What driver has less than 18 laps and a grid number under 16? ### Answer: SELECT driver FROM table_name_14 WHERE laps < 18 AND grid < 16
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 (score VARCHAR, date VARCHAR) ### Question: What was the score on March 23? ### Answer: SELECT score FROM table_name_2 WHERE date = "march 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_58 (attendance VARCHAR, result VARCHAR) ### Question: What was the Attendance in the game with a Result of won 5-2? ### Answer: SELECT attendance FROM table_name_58 WHERE result = "won 5-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_23 (loss VARCHAR, record VARCHAR) ### Question: Name the loss for record of 71-81 ### Answer: SELECT loss FROM table_name_23 WHERE record = "71-81"
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_41 (attendance INTEGER, score VARCHAR) ### Question: What is the sum of the attendance where the score was 1:1? ### Answer: SELECT SUM(attendance) FROM table_name_41 WHERE score = "1: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_85 (combined_consumption VARCHAR, code VARCHAR) ### Question: What is the combined consumption of the engine with the code k9k 796? ### Answer: SELECT combined_consumption FROM table_name_85 WHERE code = "k9k 796"
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 (week INTEGER, date VARCHAR) ### Question: What is the low week from october 15, 1961? ### Answer: SELECT MIN(week) FROM table_name_82 WHERE date = "october 15, 1961"
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_1405704_1 (team VARCHAR, winning_driver VARCHAR) ### Question: What team does Al Unser drive for? ### Answer: SELECT team FROM table_1405704_1 WHERE winning_driver = "Al Unser"
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_70 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR) ### Question: On which date was the manager fired and replaced by Albert Cartier? ### Answer: SELECT date_of_vacancy FROM table_name_70 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier"
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_2610582_2 (power_kw__erp_ VARCHAR, location__transmitter_site_ VARCHAR) ### Question: The location (transmitter site) San Fernando, Pampanga ** has what Power kW (ERP)? ### Answer: SELECT power_kw__erp_ FROM table_2610582_2 WHERE location__transmitter_site_ = "San Fernando, Pampanga **"
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 appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR) ### Question: what are name and phone number of patients who had more than one appointment? ### Answer: SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 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_43 (rank INTEGER, studio_s_ VARCHAR, year VARCHAR) ### Question: Tell me the average rank for dharma productions before 2013 ### Answer: SELECT AVG(rank) FROM table_name_43 WHERE studio_s_ = "dharma productions" AND year < 2013
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_48 (proto_germanic VARCHAR, german VARCHAR) ### Question: What's the Proto-Germanic when the German is /t/? ### Answer: SELECT proto_germanic FROM table_name_48 WHERE german = "/t/"
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 (Id VARCHAR) ### Question: What is the average for 2009 when 2001 is more than 0, 1996 is less than 1 and 2004 is more than 2 ### Answer: SELECT AVG(2009) FROM table_name_60 WHERE 2001 > 0 AND 1996 < 1 AND 2004 > 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_12 (country VARCHAR, to_par VARCHAR, score VARCHAR) ### Question: What is the Country of the Player with a To par of +1 and a Score of 74-70-70=214? ### Answer: SELECT country FROM table_name_12 WHERE to_par = "+1" AND score = 74 - 70 - 70 = 214
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_14747043_1 (class_aAAA VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, school_year VARCHAR) ### Question: Who was the class AAAA when class AAAAA was Weslaco in 1994-95 ### Answer: SELECT class_aAAA FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND school_year = "1994-95"
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 (opponents_in_the_final VARCHAR, tournament VARCHAR) ### Question: Who were the opponents in the final at Noida? ### Answer: SELECT opponents_in_the_final FROM table_name_15 WHERE tournament = "noida"
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_7 (tournament VARCHAR, date VARCHAR) ### Question: Which tournament was played on October 1, 2006? ### Answer: SELECT tournament FROM table_name_7 WHERE date = "october 1, 2006"
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_97 (capacity VARCHAR, vehicle VARCHAR) ### Question: How much Capacity has a Vehicle of 2003 holden commodore ute? ### Answer: SELECT COUNT(capacity) FROM table_name_97 WHERE vehicle = "2003 holden commodore ute"
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_15400878_1 (difference VARCHAR, drawn INTEGER) ### Question: Name the difference for when drawn is larger than 2.0 ### Answer: SELECT difference FROM table_15400878_1 WHERE drawn > 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_70 (high_rebounds VARCHAR, game VARCHAR) ### Question: who had the high rebounds when the game number was 6? ### Answer: SELECT high_rebounds FROM table_name_70 WHERE game = 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_59 (result VARCHAR, venue VARCHAR) ### Question: What was the Result at Strathclyde Homes Stadium? ### Answer: SELECT result FROM table_name_59 WHERE venue = "strathclyde homes stadium"
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_21063459_1 (opponent VARCHAR, result VARCHAR) ### Question: Who did the team play against in the game that resulted with a loss? ### Answer: SELECT opponent FROM table_21063459_1 WHERE result = "Loss"
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 (silver INTEGER, rank VARCHAR, gold VARCHAR) ### Question: What is the average silver with a Rank smaller than 2 and more than 1 gold? ### Answer: SELECT AVG(silver) FROM table_name_61 WHERE rank < 2 AND gold > 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_93 (semifinalists VARCHAR, tournament VARCHAR) ### Question: What is Semifinalists, when Tournament is Rome ### Answer: SELECT semifinalists FROM table_name_93 WHERE tournament = "rome"
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_7 (college VARCHAR, name VARCHAR, overall VARCHAR, position VARCHAR) ### Question: Which College has an Overall larger than 211, a Position of db, and a Name of carl charon? ### Answer: SELECT college FROM table_name_7 WHERE overall > 211 AND position = "db" AND name = "carl charon"
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_1182314_5 (norwegian_americans__2000_ INTEGER, norwegian_americans__1990_ VARCHAR) ### Question: what is the maximum norwegian americans (2000) where norwegian americans (1990) is 9170 ### Answer: SELECT MAX(norwegian_americans__2000_) FROM table_1182314_5 WHERE norwegian_americans__1990_ = 9170
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_12 (aspect VARCHAR, programming VARCHAR) ### Question: What Aspect has a Programming of Saigon Network Television? ### Answer: SELECT aspect FROM table_name_12 WHERE programming = "saigon network television"
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_184334_2 (population__2010_census_ INTEGER, area___has__ VARCHAR) ### Question: What is the population (2010 census) if the area is 66.11? ### Answer: SELECT MIN(population__2010_census_) FROM table_184334_2 WHERE area___has__ = "66.11"
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 (overall VARCHAR, position VARCHAR, player VARCHAR) ### Question: What was the overall draft number of Tom Fleming, a wide receiver? ### Answer: SELECT COUNT(overall) FROM table_name_28 WHERE position = "wide receiver" AND player = "tom fleming"
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 (pick INTEGER, college VARCHAR) ### Question: Which pick came from Texas El-Paso? ### Answer: SELECT SUM(pick) FROM table_name_25 WHERE college = "texas el-paso"
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 orchestra (Record_Company VARCHAR, Year_of_Founded INTEGER) ### Question: Show the record companies shared by orchestras founded before 2003 and after 2003. ### Answer: SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003
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 (state VARCHAR, royal_house VARCHAR, name VARCHAR) ### Question: What state had the name of wu for the royal house of ji? ### Answer: SELECT state FROM table_name_21 WHERE royal_house = "ji" AND name = "wu"
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_25820584_7 (win_loss VARCHAR, year_s_ VARCHAR) ### Question: What was the win loss record the lady who appeard in 1969? ### Answer: SELECT win_loss FROM table_25820584_7 WHERE year_s_ = "1969"
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 (lost INTEGER, drawn VARCHAR, played VARCHAR) ### Question: Which Lost has Drawn larger than 1, and a Played larger than 14? ### Answer: SELECT MIN(lost) FROM table_name_30 WHERE drawn > 1 AND played > 14
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_1566852_10 (cover_model VARCHAR, centerfold_model VARCHAR) ### Question: How many cover models were on the edition that featured Jennifer Pershing as the centerfold? ### Answer: SELECT COUNT(cover_model) FROM table_1566852_10 WHERE centerfold_model = "Jennifer Pershing"
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_1425958_1 (name VARCHAR, _percentage_change VARCHAR) ### Question: Where was there a change of 6.5%? ### Answer: SELECT name FROM table_1425958_1 WHERE _percentage_change = "6.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_46 (governors_1950 VARCHAR, general_1950 VARCHAR) ### Question: What is the Governors 1950 when the General 1950 is general 1979? ### Answer: SELECT governors_1950 FROM table_name_46 WHERE general_1950 = "general 1979"
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 (silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) ### Question: What team had less than 291 total points whole having 76 bronze and over 21 gold? ### Answer: SELECT SUM(silver) FROM table_name_67 WHERE gold > 21 AND bronze = 76 AND total < 291
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 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent on August 14? ### Answer: SELECT opponent FROM table_name_91 WHERE date = "august 14"
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_70 (year VARCHAR, venue VARCHAR) ### Question: In what years did Salina Kosgei compete in Singapore? ### Answer: SELECT COUNT(year) FROM table_name_70 WHERE venue = "singapore"
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_28677723_5 (karianne_gulliksen INTEGER) ### Question: What is the largest number for karianne gulliksen? ### Answer: SELECT MAX(karianne_gulliksen) FROM table_28677723_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_5 (rookie VARCHAR, goalkeeper VARCHAR, week VARCHAR) ### Question: Who is the rookie goalkeeper Rob Scherr who played before week 6? ### Answer: SELECT rookie FROM table_name_5 WHERE goalkeeper = "rob scherr" AND 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_94 (lost INTEGER, drawn VARCHAR, goals_against VARCHAR) ### Question: Which Lost has Drawn larger than 12, and Goals Against of 54? ### Answer: SELECT MAX(lost) FROM table_name_94 WHERE drawn > 12 AND goals_against = 54
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_14006_1 (bleeding_time VARCHAR, platelet_count VARCHAR) ### Question: what's the bleeding time with platelet count being decreased or unaffected ### Answer: SELECT bleeding_time FROM table_14006_1 WHERE platelet_count = "Decreased or unaffected"
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 (name VARCHAR, roll VARCHAR, years VARCHAR) ### Question: Which name has a Roll larger than 297, and Years of 7–13? ### Answer: SELECT name FROM table_name_1 WHERE roll > 297 AND years = "7–13"
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_2127933_3 (partner VARCHAR, opponents VARCHAR) ### Question: Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent? ### Answer: SELECT partner FROM table_2127933_3 WHERE opponents = "Harry Johnson Hazel Hotchkiss Wightman"
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_52 (fc_matches VARCHAR, location VARCHAR) ### Question: What FC Match was played in Darlington? ### Answer: SELECT fc_matches FROM table_name_52 WHERE location = "darlington"
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 (date VARCHAR, opponent VARCHAR) ### Question: What is Date, when Opponent is At Saskatchewan Roughriders? ### Answer: SELECT date FROM table_name_13 WHERE opponent = "at saskatchewan roughriders"
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_44 (model VARCHAR, graphics VARCHAR, fsb__mhz_ VARCHAR) ### Question: Which model(s) has AGP graphics and 400 FSB (MHz)? ### Answer: SELECT model FROM table_name_44 WHERE graphics = "agp" AND fsb__mhz_ = "400"