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_65 (party VARCHAR, state VARCHAR, member VARCHAR) ### Question: What party is Peter Fisher from Vic serve in office? ### Answer: SELECT party FROM table_name_65 WHERE state = "vic" AND member = "peter fisher"
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 (bronze VARCHAR, total VARCHAR) ### Question: What nation had 135 Bronze medals? ### Answer: SELECT COUNT(bronze) FROM table_name_89 WHERE total = 135
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 (location VARCHAR, time VARCHAR) ### Question: Time of 10.82 has what location? ### Answer: SELECT location FROM table_name_84 WHERE time = 10.82
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 (team VARCHAR, city VARCHAR) ### Question: What team is located in brooklyn? ### Answer: SELECT team FROM table_name_5 WHERE city = "brooklyn"
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 (date VARCHAR, circuit VARCHAR) ### Question: What is the date of the circuit of Monaco? ### Answer: SELECT date FROM table_name_97 WHERE circuit = "monaco"
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 (elector VARCHAR, cardinalatial_title VARCHAR) ### Question: Who is the Elector with a Cardinalatial title of Priest of S. Sabina and Archbishop of Reims? ### Answer: SELECT elector FROM table_name_91 WHERE cardinalatial_title = "priest of s. sabina and archbishop of reims"
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_29785324_5 (district VARCHAR, constituency_no VARCHAR) ### Question: What district has 213 constituents? ### Answer: SELECT COUNT(district) FROM table_29785324_5 WHERE constituency_no = 213
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_86 (semimajor_axis___au__ VARCHAR, companion__in_order_from_star_ VARCHAR) ### Question: What Semimajor axis (AU) has a Companion (in order from star) of g? ### Answer: SELECT semimajor_axis___au__ FROM table_name_86 WHERE companion__in_order_from_star_ = "g"
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 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR) ### Question: What is the fewest number of bronze medals won among the nations ranked 12 that won no gold medals and 1 medal overall? ### Answer: SELECT MIN(bronze) FROM table_name_51 WHERE total = 1 AND rank = "12" 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_94 (pos INTEGER, driver VARCHAR) ### Question: What is the lowest position for driver Kyle Busch? ### Answer: SELECT MIN(pos) FROM table_name_94 WHERE driver = "kyle busch"
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_11622896_1 (purse__$__ VARCHAR, location VARCHAR) ### Question: What is the purse value for the New York location? ### Answer: SELECT purse__$__ FROM table_11622896_1 WHERE location = "New York"
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_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR) ### Question: What is the average number of against with less than 10 losses, more than 0 draws, and more than 7 wins? ### Answer: SELECT AVG(against) FROM table_name_74 WHERE losses < 10 AND draws > 0 AND wins > 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_25691838_12 (the_wørd VARCHAR, guest VARCHAR) ### Question: What is "the wørd" when guests were daniel ellsberg , william wegman , julie taymor? ### Answer: SELECT the_wørd FROM table_25691838_12 WHERE guest = "Daniel Ellsberg , William Wegman , Julie Taymor"
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_21436373_11 (result_games VARCHAR, attendance VARCHAR) ### Question: Name the result/games for 54530 ### Answer: SELECT result_games FROM table_21436373_11 WHERE attendance = 54530
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_22771048_3 (extension VARCHAR, city_neighborhood VARCHAR) ### Question: Name the extension for university of washington ### Answer: SELECT extension FROM table_22771048_3 WHERE city_neighborhood = "University of Washington"
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_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ VARCHAR, population__2006_est_ VARCHAR) ### Question: Name the total number of median income for population 2006 for 365540 ### Answer: SELECT COUNT(median_monthly_per_capita___labour_force_income__hkd_) FROM table_151994_1 WHERE population__2006_est_ = 365540
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 (easa__eu_ VARCHAR, notes VARCHAR) ### Question: What is the EASA (EU) when the notes show aoc 135? ### Answer: SELECT easa__eu_ FROM table_name_76 WHERE notes = "aoc 135"
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 department (school_code VARCHAR, dept_name VARCHAR) ### Question: Find the number of different departments in each school whose number of different departments is less than 5. ### Answer: SELECT COUNT(DISTINCT dept_name), school_code FROM department GROUP BY school_code HAVING COUNT(DISTINCT dept_name) < 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_68 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the away team score with geelong home team? ### Answer: SELECT away_team AS score FROM table_name_68 WHERE home_team = "geelong"
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 (loss VARCHAR, date VARCHAR) ### Question: How much did they lose by on April 26? ### Answer: SELECT loss FROM table_name_67 WHERE date = "april 26"
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_24852001_2 (game_site VARCHAR, opponent VARCHAR) ### Question: What was the game site for the matchup against the Frankfurt Galaxy? ### Answer: SELECT game_site FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy"
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_25800134_1 (writer_s_ VARCHAR, series__number VARCHAR) ### Question: Who wrote the episode with series number 56? ### Answer: SELECT writer_s_ FROM table_25800134_1 WHERE series__number = 56
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 (away_team VARCHAR, venue VARCHAR) ### Question: When vfl park is the venue what's the Away team playing? ### Answer: SELECT away_team FROM table_name_81 WHERE venue = "vfl 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_18821196_1 (status VARCHAR, weekly_schedule VARCHAR) ### Question: What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm? ### Answer: SELECT status FROM table_18821196_1 WHERE weekly_schedule = "Monday to Thursday @ 11:00 pm"
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_143352_1 (accounting_closure_date INTEGER, agr_power_station VARCHAR) ### Question: What is the Closure date of Hunterston B ### Answer: SELECT MIN(accounting_closure_date) FROM table_143352_1 WHERE agr_power_station = "Hunterston B"
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 (museum VARCHAR, discoverer VARCHAR) ### Question: What is the city of the Museum that houses the specimen discovered by Jane Solem? ### Answer: SELECT museum AS city FROM table_name_28 WHERE discoverer = "jane solem"
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_17432028_1 (score VARCHAR, record VARCHAR) ### Question: Name the score for record of 2-5 ### Answer: SELECT score FROM table_17432028_1 WHERE record = "2-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_25369796_1 (season INTEGER, position VARCHAR) ### Question: What was the earliest season where a team got a 29th position? ### Answer: SELECT MIN(season) FROM table_25369796_1 WHERE position = "29th"
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 (gold VARCHAR, silver VARCHAR, year VARCHAR) ### Question: Can you tell me the Gold that has the Silver of south korea, and the Year of 1986? ### Answer: SELECT gold FROM table_name_39 WHERE silver = "south korea" AND year = 1986
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_96 (laps INTEGER, bike VARCHAR, grid VARCHAR) ### Question: How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR? ### Answer: SELECT SUM(laps) FROM table_name_96 WHERE bike = "honda cbr600rr" AND grid = 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_23379776_6 (location VARCHAR, year VARCHAR) ### Question: Name the location for 2007 ### Answer: SELECT location FROM table_23379776_6 WHERE year = 2007
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_189598_7 (land_area__km²_ VARCHAR, population__2011_ VARCHAR) ### Question: When 1233 is the population of 2011 what is the land area in kilometers squared? ### Answer: SELECT land_area__km²_ FROM table_189598_7 WHERE population__2011_ = 1233
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, score VARCHAR) ### Question: What was the date of the game with a score of 15–6? ### Answer: SELECT date FROM table_name_15 WHERE score = "15–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_1182314_5 (percent__2000_ VARCHAR, percent__1980_ VARCHAR) ### Question: what is the total number of percent (2000) where percent (1980) is 3.4% ### Answer: SELECT COUNT(percent__2000_) FROM table_1182314_5 WHERE percent__1980_ = "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_name_1 (rank INTEGER, time VARCHAR) ### Question: What is the rank of the team with a time of 1:00.61? ### Answer: SELECT AVG(rank) FROM table_name_1 WHERE time = "1:00.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 table_name_44 (team_1 VARCHAR) ### Question: Fulham as Team 1 has the 2nd leg score of what? ### Answer: SELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = "fulham"
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_15887683_10 (package_option VARCHAR, television_service VARCHAR) ### Question: Name the number of package options for music box italia ### Answer: SELECT COUNT(package_option) FROM table_15887683_10 WHERE television_service = "Music Box Italia"
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 (date VARCHAR, home VARCHAR) ### Question: What was the date of the Capitals game when Columbus was the home team? ### Answer: SELECT date FROM table_name_28 WHERE home = "columbus"
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 (track INTEGER, catalogue VARCHAR, time VARCHAR) ### Question: What is the sum of every track with a catalogue of EPA 4054 with a 2:05 length? ### Answer: SELECT SUM(track) FROM table_name_12 WHERE catalogue = "epa 4054" AND time = "2:05"
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_66 (engine VARCHAR, driver VARCHAR, chassis VARCHAR) ### Question: What was the engine driven by Jean-Pierre Jarier and has a chassis of PC4? ### Answer: SELECT engine FROM table_name_66 WHERE driver = "jean-pierre jarier" AND chassis = "pc4"
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 (result VARCHAR, award VARCHAR, year VARCHAR) ### Question: What is the result for the Outer Critics Circle award earlier than 2004? ### Answer: SELECT result FROM table_name_6 WHERE award = "outer critics circle award" AND year < 2004
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 (ratt VARCHAR, long VARCHAR) ### Question: What is the Ratt of the year with a 78 long? ### Answer: SELECT ratt FROM table_name_97 WHERE long = "78"
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_14342367_13 (class VARCHAR, player VARCHAR) ### Question: What was George W. Gregory's class? ### Answer: SELECT class FROM table_14342367_13 WHERE player = "George W. Gregory"
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 (year INTEGER, extra VARCHAR) ### Question: Tell me the sum of year for extra of junior team competition ### Answer: SELECT SUM(year) FROM table_name_31 WHERE extra = "junior team competition"
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 races (name VARCHAR, circuitid VARCHAR, year VARCHAR); CREATE TABLE circuits (circuitid VARCHAR, country VARCHAR) ### Question: What are the unique names of races that held after 2000 and the circuits were in Spain? ### Answer: SELECT DISTINCT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2000
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_64 (stations VARCHAR, city VARCHAR) ### Question: Which Stations are in vancouver, bc? ### Answer: SELECT stations FROM table_name_64 WHERE city = "vancouver, bc"
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 (cuts_made INTEGER, events VARCHAR, wins VARCHAR) ### Question: What is the average number of cuts made for events with under 4 entries and more than 0 wins? ### Answer: SELECT AVG(cuts_made) FROM table_name_59 WHERE events < 4 AND wins > 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_84 (first_match VARCHAR, last_match VARCHAR) ### Question: Name the first match for 11 may 2008 ### Answer: SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008"
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_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR) ### Question: How many goals were conceded against the Chepo F.C. team where they lost 7 games? ### Answer: SELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = "chepo f.c."
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_25737761_4 (_number INTEGER, writer VARCHAR) ### Question: What episode number of the season did Tony Basgallop write? ### Answer: SELECT MIN(_number) FROM table_25737761_4 WHERE writer = "Tony Basgallop"
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_47 (production_year VARCHAR) ### Question: What is the average 2006 value for wheat with a 2005 value greater than 7340? ### Answer: SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340
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 (goals_for INTEGER, points_1 VARCHAR, played VARCHAR) ### Question: How many goals when the points 1 is 38 and the played number is less than 42? ### Answer: SELECT SUM(goals_for) FROM table_name_24 WHERE points_1 = 38 AND played < 42
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_95 (away_team VARCHAR, home_team VARCHAR) ### Question: Who was the away team when Brighton & Hove Albion was home? ### Answer: SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion"
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 (tournament VARCHAR, date VARCHAR) ### Question: What tournament was on Jan 29, 2012? ### Answer: SELECT tournament FROM table_name_8 WHERE date = "jan 29, 2012"
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 (result VARCHAR, location VARCHAR) ### Question: What was the result for the match held in Boston? ### Answer: SELECT result FROM table_name_97 WHERE location = "boston"
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_2076595_1 (school VARCHAR, founded VARCHAR) ### Question: What school was founded in 1791? ### Answer: SELECT school FROM table_2076595_1 WHERE founded = 1791
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_75 (laps INTEGER, rider VARCHAR, grid VARCHAR) ### Question: How many Laps have Rider of olivier jacque, and a Grid larger than 7? ### Answer: SELECT SUM(laps) FROM table_name_75 WHERE rider = "olivier jacque" AND grid > 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_28181401_4 (attendance INTEGER, round VARCHAR) ### Question: When semi final (2nd leg) is the round what is the highest attendance? ### Answer: SELECT MAX(attendance) FROM table_28181401_4 WHERE round = "Semi Final (2nd leg)"
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_22 (attendance INTEGER, away_team VARCHAR) ### Question: What is the sum of Attendance when macclesfield town was the way team? ### Answer: SELECT SUM(attendance) FROM table_name_22 WHERE away_team = "macclesfield town"
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 (ties VARCHAR, wins VARCHAR) ### Question: What is the tie with a win of 0? ### Answer: SELECT ties FROM table_name_38 WHERE wins = "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_49 (pick INTEGER, college VARCHAR, round VARCHAR) ### Question: WHAT IS THE AVERAGE PICK FOR PURDUE, WITH A ROUND SMALLER THAN 5? ### Answer: SELECT AVG(pick) FROM table_name_49 WHERE college = "purdue" AND round < 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_49 (returning VARCHAR, show VARCHAR) ### Question: When did soul train music awards return? ### Answer: SELECT returning FROM table_name_49 WHERE show = "soul train music awards"
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_14904221_1 (mens_singles VARCHAR, year VARCHAR) ### Question: WHo won men's singles in 1994? ### Answer: SELECT mens_singles FROM table_14904221_1 WHERE year = 1994
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_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR) ### Question: What was the rainfall by volume in Huetar Atlantico where the rainfall depth (mm/year) was 3527? ### Answer: SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 3527
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_24463470_1 (setting VARCHAR, difficulty VARCHAR) ### Question: What is the setting for the hard difficulty? ### Answer: SELECT setting FROM table_24463470_1 WHERE difficulty = "Hard"
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, streak VARCHAR) ### Question: On what date was the streak at lost 7? ### Answer: SELECT date FROM table_name_67 WHERE streak = "lost 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_name_67 (points VARCHAR, points_for VARCHAR) ### Question: Name the point with points for of 255 ### Answer: SELECT points FROM table_name_67 WHERE points_for = "255"
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 (circuit VARCHAR, date VARCHAR) ### Question: What Circuit has a Date of 25 july? ### Answer: SELECT circuit FROM table_name_55 WHERE date = "25 july"
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_22879262_14 (high_rebounds VARCHAR, score VARCHAR) ### Question: Name the number of high rebounds for l 92–96 (ot) ### Answer: SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = "L 92–96 (OT)"
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 (category VARCHAR, outcome VARCHAR, year VARCHAR) ### Question: What category was the nominated in after 2008? ### Answer: SELECT category FROM table_name_31 WHERE outcome = "nominated" AND year > 2008
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 Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR) ### Question: What are the names of the courses that have exactly 1 student enrollment? ### Answer: SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name 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_2248784_4 (rank_asia VARCHAR, rank_mideast VARCHAR) ### Question: How many asian rank have 1 as a mideast rank? ### Answer: SELECT COUNT(rank_asia) FROM table_2248784_4 WHERE rank_mideast = 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_88 (score VARCHAR, losing_semifinalists VARCHAR) ### Question: What was the Score when the Losing Semifinalists were Toluca Unam? ### Answer: SELECT score FROM table_name_88 WHERE losing_semifinalists = "toluca unam"
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 (model VARCHAR, engine_type VARCHAR) ### Question: What is the model with a engine type with b5244 s2? ### Answer: SELECT model FROM table_name_97 WHERE engine_type = "b5244 s2"
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 railway (LOCATION VARCHAR) ### Question: Show different locations of railways along with the corresponding number of railways at each location. ### Answer: SELECT LOCATION, COUNT(*) FROM railway GROUP BY LOCATION
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 (purpose VARCHAR, freq_currently VARCHAR) ### Question: What is the Purpose of the Callsign with a Freq currently of 4rph? ### Answer: SELECT purpose FROM table_name_43 WHERE freq_currently = "4rph"
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_27599216_6 (founded INTEGER, team VARCHAR) ### Question: What is the year founded for the team Dinos? ### Answer: SELECT MAX(founded) FROM table_27599216_6 WHERE team = "Dinos"
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_24115349_4 (kennedy_votes INTEGER, coakley__percentage VARCHAR) ### Question: How many votes did kennedy win when coakley won 66.2% ### Answer: SELECT MIN(kennedy_votes) FROM table_24115349_4 WHERE coakley__percentage = "66.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_21469545_2 (winning_score VARCHAR, date VARCHAR) ### Question: Name the winning score for 8 feb 2009 ### Answer: SELECT COUNT(winning_score) FROM table_21469545_2 WHERE date = "8 Feb 2009"
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 (video VARCHAR, channel INTEGER) ### Question: WHich Video has a Channel larger than 56.4? ### Answer: SELECT video FROM table_name_17 WHERE channel > 56.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_10021158_3 (scoring_average VARCHAR, money_list_rank VARCHAR) ### Question: When the money list rank was n/a, what was the scoring average? ### Answer: SELECT scoring_average FROM table_10021158_3 WHERE money_list_rank = "n/a"
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 (week INTEGER, time__cst_ VARCHAR, game_site VARCHAR) ### Question: What is the lowest week that has 7:15 p.m. as the time (cst) and fedexfield as the game site? ### Answer: SELECT MIN(week) FROM table_name_53 WHERE time__cst_ = "7:15 p.m." AND game_site = "fedexfield"
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_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR, u21_womens VARCHAR) ### Question: Who won the mixed restricted when Tomasz Rzeszotko won the mixed veteran and Karina Le Fevre won the U21 womens? ### Answer: SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Tomasz Rzeszotko" AND u21_womens = "Karina Le Fevre"
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 (status VARCHAR, elected VARCHAR, district VARCHAR) ### Question: Elected smaller than 2001, and a District of 83rd has what status? ### Answer: SELECT status FROM table_name_77 WHERE elected < 2001 AND district = "83rd"
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 (address VARCHAR, mascot VARCHAR) ### Question: What is the address for the Scorpions' mascot? ### Answer: SELECT address FROM table_name_80 WHERE mascot = "scorpions"
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 (venue VARCHAR, date VARCHAR) ### Question: What venue was the game played on 9 February 2011 played at? ### Answer: SELECT venue FROM table_name_28 WHERE date = "9 february 2011"
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_95 (first_member VARCHAR, election VARCHAR) ### Question: What is First Member, when Election is "1871 by-election"? ### Answer: SELECT first_member FROM table_name_95 WHERE election = "1871 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_17482534_1 (title VARCHAR, no_in_series VARCHAR) ### Question: What is the title of episode number 96 in the series? ### Answer: SELECT title FROM table_17482534_1 WHERE no_in_series = "96"
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_47 (attendance INTEGER, away VARCHAR) ### Question: What was the lowest attendance by the game that had an away team of Vida? ### Answer: SELECT MIN(attendance) FROM table_name_47 WHERE away = "vida"
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 (broadcaster VARCHAR, year VARCHAR) ### Question: Who was the broadcaster in 2003? ### Answer: SELECT broadcaster FROM table_name_24 WHERE year = "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_40 (average_population__x_1000_ INTEGER, deaths VARCHAR, crude_death_rate__per_1000_ VARCHAR) ### Question: What is the average population when deaths are 3 557 and crude death date is less than 11.9? ### Answer: SELECT AVG(average_population__x_1000_) FROM table_name_40 WHERE deaths = "3 557" AND crude_death_rate__per_1000_ < 11.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_53 (home VARCHAR, time VARCHAR) ### Question: Who was the home team of the game at the time of 14:00? ### Answer: SELECT home FROM table_name_53 WHERE time = "14:00"
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 (wins VARCHAR, top_5 VARCHAR, top_25 VARCHAR, events VARCHAR) ### Question: What is the total number of wins for events with under 2 top-5s, under 5 top-25s, and more than 4 events played? ### Answer: SELECT COUNT(wins) FROM table_name_92 WHERE top_25 < 5 AND events > 4 AND top_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 manufacturers (revenue INTEGER, Headquarter VARCHAR) ### Question: What is the total revenue of all companies whose main office is at Tokyo or Taiwan? ### Answer: SELECT SUM(revenue) FROM manufacturers WHERE Headquarter = 'Tokyo' OR Headquarter = 'Taiwan'
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_23680576_2 (party VARCHAR, dec_2008 VARCHAR) ### Question: Name the party/s when the polling percentage was 6.3% in Dec 2008. ### Answer: SELECT party FROM table_23680576_2 WHERE dec_2008 = "6.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_68 (_percentage_change VARCHAR, airport VARCHAR) ### Question: What is the % Change at London Heathrow airport? ### Answer: SELECT _percentage_change FROM table_name_68 WHERE airport = "london heathrow airport"
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 (roll INTEGER, authority VARCHAR, decile VARCHAR) ### Question: What is the average roll of a school with state authority and a decile of 9? ### Answer: SELECT AVG(roll) FROM table_name_93 WHERE authority = "state" AND decile = 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_43 (fa_cup INTEGER, total VARCHAR, championship VARCHAR) ### Question: What is the highest value for FA cups, that has a total of 0 4, with less than 4 championships? ### Answer: SELECT MAX(fa_cup) FROM table_name_43 WHERE total = "0 4" AND championship < 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_61 (attendance VARCHAR, opponent VARCHAR) ### Question: What was the attendance for the game against tampa bay buccaneers? ### Answer: SELECT attendance FROM table_name_61 WHERE opponent = "tampa bay buccaneers"
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 (attendance INTEGER, home VARCHAR) ### Question: What is the average attendance for matches where the home team was vida? ### Answer: SELECT AVG(attendance) FROM table_name_2 WHERE home = "vida"