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_88 (authority VARCHAR, name VARCHAR) ### Question: Name the authority for morrinsville college ### Answer: SELECT authority FROM table_name_88 WHERE name = "morrinsville college"
Below is an context that describes a 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 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR) ### Question: What circuit did Luigi Villoresi win the Lausanne Grand Prix? ### Answer: SELECT circuit FROM table_name_58 WHERE winning_driver = "luigi villoresi" AND name = "lausanne grand prix"
Below is an context that describes a 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_20 (distance VARCHAR, stage VARCHAR) ### Question: What is the Distance of the 1945 Vuelta a Espana with 4A Stage? ### Answer: SELECT distance FROM table_name_20 WHERE stage = "4a"
Below is an context that describes a 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 (urban_sub_area VARCHAR, population VARCHAR) ### Question: Which urban sub-area has a population of 16,140? ### Answer: SELECT urban_sub_area FROM table_name_58 WHERE population = "16,140"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2383498_4 (last_year_in_qld_cup VARCHAR, qld_cup_premierships VARCHAR) ### Question: How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001? ### Answer: SELECT COUNT(last_year_in_qld_cup) FROM table_2383498_4 WHERE qld_cup_premierships = "1996, 2001"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1773707_2 (length VARCHAR, body_style VARCHAR) ### Question: What's the length of the model with Sedan body style? ### Answer: SELECT length FROM table_1773707_2 WHERE body_style = "Sedan"
Below is an context that describes a 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 (draw INTEGER, lost VARCHAR) ### Question: For entries with a lost of 5, what is the sum of the draw entry? ### Answer: SELECT SUM(draw) FROM table_name_23 WHERE lost = 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 (place VARCHAR, player VARCHAR) ### Question: What is Place, when Player is "John Cook"? ### Answer: SELECT place FROM table_name_49 WHERE player = "john cook"
Below is an context that describes a 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_27 (win__number INTEGER, year VARCHAR, points VARCHAR) ### Question: What is the lowest Win #, when Year is "2011-12", and when Points is less than 97? ### Answer: SELECT MIN(win__number) FROM table_name_27 WHERE year = "2011-12" AND points < 97
Below is an context that describes a 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 (date VARCHAR, runner_s__up VARCHAR) ### Question: Which Date has a Runner(s)-up of fred funk? ### Answer: SELECT date FROM table_name_55 WHERE runner_s__up = "fred funk"
Below is an context that describes a 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 (rank INTEGER, country VARCHAR, total VARCHAR) ### Question: Which Rank is the Country of soviet union with a Total smaller than 19? ### Answer: SELECT MIN(rank) FROM table_name_94 WHERE country = "soviet union" AND total < 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_39 (works_number VARCHAR, date VARCHAR, name VARCHAR) ### Question: In early 1873, Owen sound had what works number? ### Answer: SELECT works_number FROM table_name_39 WHERE date = "early 1873" AND name = "owen sound"
Below is an context that describes a 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 (loss VARCHAR, date VARCHAR) ### Question: Who lost on August 27? ### Answer: SELECT loss FROM table_name_93 WHERE date = "august 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_name_58 (record VARCHAR, visitor VARCHAR, score VARCHAR) ### Question: Which Record has a Visitor of quebec nordiques with a Score of 4–5? ### Answer: SELECT record FROM table_name_58 WHERE visitor = "quebec nordiques" AND score = "4–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 staff_department_assignments (department_id VARCHAR) ### Question: What is the id of the department with the least number of staff? ### Answer: SELECT department_id FROM staff_department_assignments GROUP BY department_id ORDER BY COUNT(*) 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_60 (governments VARCHAR, party VARCHAR) ### Question: Which goverment had a party of yisrael beiteinu? ### Answer: SELECT governments FROM table_name_60 WHERE party = "yisrael beiteinu"
Below is an context that describes a 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 (score VARCHAR, venue VARCHAR) ### Question: What was the score at North Shore Events Centre? ### Answer: SELECT score FROM table_name_9 WHERE venue = "north shore events centre"
Below is an context that describes a 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_37 (avoirdupois_value VARCHAR, russian VARCHAR) ### Question: What Avoirdupois value has a Russian of берковец? ### Answer: SELECT avoirdupois_value FROM table_name_37 WHERE russian = "берковец"
Below is an context that describes a 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 (venue VARCHAR, date VARCHAR) ### Question: Where was a game played on 23,24,25,26 july 1992? ### Answer: SELECT venue FROM table_name_13 WHERE date = "23,24,25,26 july 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_90 (away_team VARCHAR, venue VARCHAR) ### Question: Which away team had a venue of mcg? ### Answer: SELECT away_team FROM table_name_90 WHERE venue = "mcg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27671835_3 (old_membership_total INTEGER) ### Question: What is the smallest number for old membership total? ### Answer: SELECT MIN(old_membership_total) FROM table_27671835_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_60 (away_team VARCHAR, crowd INTEGER) ### Question: Which away team had a crowd bigger than 21,000? ### Answer: SELECT away_team FROM table_name_60 WHERE crowd > 21 OFFSET 000
Below is an context that describes a 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 (type VARCHAR, moving_from VARCHAR) ### Question: What is the type when Rangers are the moving from? ### Answer: SELECT type FROM table_name_40 WHERE moving_from = "rangers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Ref_calendar (calendar_date VARCHAR, day_Number VARCHAR) ### Question: Show all calendar dates and day Numbers. ### Answer: SELECT calendar_date, day_Number FROM Ref_calendar
Below is an context that describes a 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 (score VARCHAR, record VARCHAR) ### Question: What is the score of the game where the Rangers record was 16-8-4? ### Answer: SELECT score FROM table_name_81 WHERE record = "16-8-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 (shot_pct INTEGER, ends_won VARCHAR, ends_lost VARCHAR) ### Question: What is the smallest shot % with ends won larger than 29 and ends lost smaller than 26? ### Answer: SELECT MIN(shot_pct) FROM table_name_1 WHERE ends_won > 29 AND ends_lost < 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_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR) ### Question: How many receptions does Chris Watton with yards of less than 1? ### Answer: SELECT COUNT(rec) FROM table_name_84 WHERE player = "chris watton" AND yards < 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_29 (draws INTEGER, points VARCHAR, wins VARCHAR) ### Question: What was the biggest draws, for wins under 4, and points of 20-18? ### Answer: SELECT MAX(draws) FROM table_name_29 WHERE points = "20-18" AND wins < 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_1805191_2 (first_elected VARCHAR, incumbent VARCHAR) ### Question: During what year was Representative Spencer Bachus first elected? ### Answer: SELECT COUNT(first_elected) FROM table_1805191_2 WHERE incumbent = "Spencer Bachus"
Below is an context that describes a 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 (launched VARCHAR, builder VARCHAR) ### Question: what is the launched date when the builder is john brown, clydebank? ### Answer: SELECT launched FROM table_name_57 WHERE builder = "john brown, clydebank"
Below is an context that describes a 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 (total_assists INTEGER, ast_avg VARCHAR, games VARCHAR) ### Question: What is the total number of assists for players with under 55 games and over 6 assists per game average? ### Answer: SELECT SUM(total_assists) FROM table_name_11 WHERE ast_avg > 6 AND games < 55
Below is an context that describes a 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 (round INTEGER, away_team VARCHAR) ### Question: What is the latest round for Pohang Steelers as the away team? ### Answer: SELECT MAX(round) FROM table_name_28 WHERE away_team = "pohang steelers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22904752_1 (directed_by VARCHAR, no VARCHAR) ### Question: Who is no. 79 directed by? ### Answer: SELECT directed_by FROM table_22904752_1 WHERE no = 79
Below is an context that describes a 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 (rounds VARCHAR, driver VARCHAR) ### Question: How many rounds did shirley van der lof go? ### Answer: SELECT rounds FROM table_name_46 WHERE driver = "shirley van der lof"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23944514_15 (sprint_classification VARCHAR, aggressive_rider VARCHAR) ### Question: Name the sprint classification for michael barry ### Answer: SELECT sprint_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry"
Below is an context that describes a 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 (status VARCHAR, against VARCHAR, date VARCHAR) ### Question: WHat status had an against larger than 6 and a date of 01/02/1975? ### Answer: SELECT status FROM table_name_30 WHERE against > 6 AND date = "01/02/1975"
Below is an context that describes a 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_20 (rank INTEGER, network VARCHAR, number_of_viewers VARCHAR) ### Question: Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2 ### Answer: SELECT SUM(rank) FROM table_name_20 WHERE network = "bbc one" AND number_of_viewers = "30.15million"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR) ### Question: What is the name of the episode written by karina csolty? ### Answer: SELECT title FROM table_27969432_2 WHERE written_by = "Karina Csolty"
Below is an context that describes a 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 (location_attendance VARCHAR, record VARCHAR) ### Question: What is the Location and Attendance with a Record of 21–22? ### Answer: SELECT location_attendance FROM table_name_16 WHERE record = "21–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 table_12496904_1 (_august_15 VARCHAR, _2002 VARCHAR, population INTEGER) ### Question: What is the highest population for the ### Answer: SELECT MAX(population), _august_15, _2002 FROM table_12496904_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 church (name VARCHAR, open_date VARCHAR) ### Question: List all church names in descending order of opening date. ### Answer: SELECT name FROM church ORDER BY open_date 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_34 (country VARCHAR, icao VARCHAR) ### Question: Which country is Lemd the ICAO of? ### Answer: SELECT country FROM table_name_34 WHERE icao = "lemd"
Below is an context that describes a 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_34 (japanese_title VARCHAR, romaji_title VARCHAR) ### Question: With the Romaji title of Hanayome Wa Yakudoshi!, what is the Japanese title? ### Answer: SELECT japanese_title FROM table_name_34 WHERE romaji_title = "hanayome wa yakudoshi!"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29474407_11 (major_users VARCHAR, name__designation VARCHAR) ### Question: Who are all the major users of the Gordon Close-Support Weapon System? ### Answer: SELECT major_users FROM table_29474407_11 WHERE name__designation = "Gordon Close-Support Weapon System"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR) ### Question: Who was the jockey at Rosehill and the weight was 57.5 kg? ### Answer: SELECT jockey FROM table_1360997_3 WHERE venue = "Rosehill" AND weight__kg_ = "57.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_89 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, official_name VARCHAR) ### Question: What is the area (in km2) for the village of Paquetville, with a population over 706? ### Answer: SELECT AVG(area_km_2) FROM table_name_89 WHERE status = "village" AND official_name = "paquetville" AND population > 706
Below is an context that describes a 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What home team played Hinckley United? ### Answer: SELECT home_team FROM table_name_30 WHERE away_team = "hinckley united"
Below is an context that describes a 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 (vehicle VARCHAR, class VARCHAR) ### Question: Which vehicle had a class of CM14? ### Answer: SELECT vehicle FROM table_name_8 WHERE class = "cm14"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR) ### Question: what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph? ### Answer: SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph"
Below is an context that describes a 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 (money___ INTEGER, score VARCHAR) ### Question: What is the monetary sum with a score of 75-71-75-72=293? ### Answer: SELECT SUM(money___) AS $__ FROM table_name_12 WHERE score = 75 - 71 - 75 - 72 = 293
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE LOCATIONS (Address VARCHAR, Location_Name VARCHAR) ### Question: What is the address of the location "UK Gallery"? ### Answer: SELECT Address FROM LOCATIONS WHERE Location_Name = "UK Gallery"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE countrylanguage (countrycode VARCHAR, language VARCHAR); CREATE TABLE country (name VARCHAR, code VARCHAR) ### Question: What are the countries where either English or Dutch is the official language ? ### Answer: SELECT t1.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode WHERE t2.language = "english" AND isofficial = "t" UNION SELECT t1.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode WHERE t2.language = "dutch" AND isofficial = "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_49 (away_team VARCHAR, home_team VARCHAR) ### Question: When the Home team of collingwood played, what was the opposing Away team score? ### Answer: SELECT away_team AS score FROM table_name_49 WHERE home_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_5 (collaboration VARCHAR, indication VARCHAR) ### Question: What company collaborated with non-hodgkin lymphoma? ### Answer: SELECT collaboration FROM table_name_5 WHERE indication = "non-hodgkin lymphoma"
Below is an context that describes a 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, record VARCHAR) ### Question: The game that had a record of 39-25, what was the score? ### Answer: SELECT score FROM table_name_77 WHERE record = "39-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 table_name_84 (time VARCHAR, lane VARCHAR, nationality VARCHAR) ### Question: Spain had what time with lanes smaller than 4? ### Answer: SELECT time FROM table_name_84 WHERE lane < 4 AND nationality = "spain"
Below is an context that describes a 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_83 (player VARCHAR, total VARCHAR, finish VARCHAR) ### Question: Total larger than 285, and a Finish of t30 belongs to what player? ### Answer: SELECT player FROM table_name_83 WHERE total > 285 AND finish = "t30"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1827690_4 (assembled VARCHAR, elected VARCHAR) ### Question: When 1472 was the elected when was the assembled? ### Answer: SELECT assembled FROM table_1827690_4 WHERE elected = "1472"
Below is an context that describes a 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_62 (position VARCHAR, round VARCHAR, team VARCHAR) ### Question: What was the position of the team Minneapolis Lakers during round T? ### Answer: SELECT position FROM table_name_62 WHERE round = "t" AND team = "minneapolis lakers"
Below is an context that describes a 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_37 (station_code VARCHAR, departure VARCHAR) ### Question: What is the Station Code of the Destination Station Departure? ### Answer: SELECT station_code FROM table_name_37 WHERE departure = "destination station"
Below is an context that describes a 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 (attendance INTEGER, score VARCHAR) ### Question: How many people were in attendance for the game with a score of 98–111? ### Answer: SELECT SUM(attendance) FROM table_name_12 WHERE score = "98–111"
Below is an context that describes a 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_35 (date VARCHAR, opponent VARCHAR, home_away VARCHAR) ### Question: What is the date of the game away against Pride? ### Answer: SELECT date FROM table_name_35 WHERE opponent = "pride" AND home_away = "away"
Below is an context that describes a 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 (surface VARCHAR, date VARCHAR) ### Question: Date of april 10, 2006 had what surface? ### Answer: SELECT surface FROM table_name_51 WHERE date = "april 10, 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 CUSTOMER (State VARCHAR) ### Question: Find all the customer information in state NY. ### Answer: SELECT * FROM CUSTOMER WHERE State = "NY"
Below is an context that describes a 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 (player VARCHAR, score VARCHAR) ### Question: Who is the player with a 77-68=145 score? ### Answer: SELECT player FROM table_name_56 WHERE score = 77 - 68 = 145
Below is an context that describes a 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 (unformatted_capacity_per_side VARCHAR, size VARCHAR) ### Question: What is the unformatted capacity per side if the size is 8in? ### Answer: SELECT unformatted_capacity_per_side FROM table_name_42 WHERE size = "8in"
Below is an context that describes a 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 (player VARCHAR, no_s_ VARCHAR, school_club_team_country VARCHAR) ### Question: Which player from Oregon used the number 12? ### Answer: SELECT player FROM table_name_16 WHERE no_s_ = "12" AND school_club_team_country = "oregon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE song (genre_is VARCHAR, rating INTEGER, f_id VARCHAR); CREATE TABLE files (duration INTEGER, f_id VARCHAR) ### Question: What are the shortest duration and lowest rating of songs grouped by genre and ordered by genre? ### Answer: SELECT MIN(T1.duration), MIN(T2.rating), T2.genre_is FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY T2.genre_is ORDER BY T2.genre_is
Below is an context that describes a 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 (location VARCHAR, aircraft VARCHAR, tail_number VARCHAR) ### Question: What was the location that had an accident by the F-27-600RF aircraft with tail number 6O-SAZ? ### Answer: SELECT location FROM table_name_42 WHERE aircraft = "f-27-600rf" AND tail_number = "6o-saz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11058032_1 (no_in_season INTEGER, directed_by VARCHAR) ### Question: What episode in the season was directed by Jeff Melman? ### Answer: SELECT MIN(no_in_season) FROM table_11058032_1 WHERE directed_by = "Jeff Melman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17104539_12 (score VARCHAR, record VARCHAR) ### Question: What was the score of the game played when the team was 16-17? ### Answer: SELECT score FROM table_17104539_12 WHERE record = "16-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_name_26 (opponent VARCHAR, date VARCHAR) ### Question: What opponent played on 07-09-2012? ### Answer: SELECT opponent FROM table_name_26 WHERE date = "07-09-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_80 (build_date VARCHAR, total_produced VARCHAR) ### Question: What is the build date when total produced is 2? ### Answer: SELECT build_date FROM table_name_80 WHERE total_produced = 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_70 (synchronisation VARCHAR, fieldbus VARCHAR) ### Question: What is the synchronisation for the controlnet fieldbus? ### Answer: SELECT synchronisation FROM table_name_70 WHERE fieldbus = "controlnet"
Below is an context that describes a 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 (driver VARCHAR, grid VARCHAR) ### Question: Who drove the grid 11 car? ### Answer: SELECT driver FROM table_name_43 WHERE grid = 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_94 (final_score VARCHAR, stadium VARCHAR, visiting_team VARCHAR) ### Question: When the new orleans saints were visiting texas stadium, what was the final score? ### Answer: SELECT final_score FROM table_name_94 WHERE stadium = "texas stadium" AND visiting_team = "new orleans saints"
Below is an context that describes a 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 (long VARCHAR, avg_g VARCHAR) ### Question: What is the long value for the year with an average/game of 160.9? ### Answer: SELECT long FROM table_name_17 WHERE avg_g = "160.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_93 (lost INTEGER, against VARCHAR, played VARCHAR) ### Question: What is the Lost with Against smaller than 25, and Played smaller than 1? ### Answer: SELECT AVG(lost) FROM table_name_93 WHERE against < 25 AND played < 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_52 (lane INTEGER, nationality VARCHAR) ### Question: What is the average lane for china? ### Answer: SELECT AVG(lane) FROM table_name_52 WHERE nationality = "china"
Below is an context that describes a 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 (score VARCHAR, player VARCHAR) ### Question: What is the Score that has a Player of Ernie Els? ### Answer: SELECT score FROM table_name_28 WHERE player = "ernie els"
Below is an context that describes a 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 (date VARCHAR, score VARCHAR, attendance VARCHAR) ### Question: Score of 3–4, and a Attendance larger than 34,609 happened on what date? ### Answer: SELECT date FROM table_name_39 WHERE score = "3–4" AND attendance > 34 OFFSET 609
Below is an context that describes a 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 (first_criticality VARCHAR, electric_power VARCHAR) ### Question: Name the first citicality for electric power of 1,380 mw ### Answer: SELECT first_criticality FROM table_name_3 WHERE electric_power = "1,380 mw"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27329061_2 (version VARCHAR, compatible_repository VARCHAR) ### Question: What is the version when the compatible reposityory is xubuntu 10.04 ### Answer: SELECT version FROM table_27329061_2 WHERE compatible_repository = "Xubuntu 10.04"
Below is an context that describes a 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 (_percentage_of_pop INTEGER, country__or_dependent_territory_ VARCHAR, average_relative_annual_growth___percentage_ VARCHAR) ### Question: What is the average % of population Tunisia, which has an average relative annual growth smaller than 1.03? ### Answer: SELECT AVG(_percentage_of_pop) FROM table_name_17 WHERE country__or_dependent_territory_ = "tunisia" AND average_relative_annual_growth___percentage_ < 1.03
Below is an context that describes a 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_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR) ### Question: Which Opponents in Final has an Outcome of winner, and a Surface of hard, and a Date of april 17, 1994? ### Answer: SELECT opponents_in_final FROM table_name_15 WHERE outcome = "winner" AND surface = "hard" AND date = "april 17, 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_name_16 (total INTEGER, tally VARCHAR) ### Question: What is the average total of the 0-8 tally? ### Answer: SELECT AVG(total) FROM table_name_16 WHERE tally = "0-8"
Below is an context that describes a 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 (date VARCHAR, week INTEGER) ### Question: Which date has a week larger than 14? ### Answer: SELECT date FROM table_name_42 WHERE week > 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_7 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) ### Question: What is the highest total Bronze larger than 10, Silver larger than 28, and a Gold of 58? ### Answer: SELECT MAX(total) FROM table_name_7 WHERE bronze > 10 AND silver > 28 AND gold = 58
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17120964_8 (attendance VARCHAR, result VARCHAR) ### Question: How many attendance figures are given for the game where the final score was lost 5-3? ### Answer: SELECT COUNT(attendance) FROM table_17120964_8 WHERE result = "Lost 5-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_42 (crowd VARCHAR, venue VARCHAR) ### Question: What's the total number of people to attend games at junction oval? ### Answer: SELECT COUNT(crowd) FROM table_name_42 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_2251578_4 (province VARCHAR, elevation__m_ VARCHAR) ### Question: Which province has an elevation of 4550? ### Answer: SELECT province FROM table_2251578_4 WHERE elevation__m_ = 4550
Below is an context that describes a 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 (wins INTEGER, goal_difference VARCHAR, position VARCHAR, goals_for VARCHAR) ### Question: Name the least wins for goal difference being less than -20 with position less than 20 and goals for of 35 ### Answer: SELECT MIN(wins) FROM table_name_19 WHERE position < 20 AND goals_for = 35 AND goal_difference < -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_19068566_1 (directed_by VARCHAR, production_code VARCHAR) ### Question: When 3t7461 is the production code who is the director? ### Answer: SELECT directed_by FROM table_19068566_1 WHERE production_code = "3T7461"
Below is an context that describes a 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 (nationality VARCHAR, player VARCHAR) ### Question: What is the nationality of Stromile Swift? ### Answer: SELECT nationality FROM table_name_48 WHERE player = "stromile swift"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23018775_3 (pos VARCHAR, total_time VARCHAR) ### Question: How many positions have a total time of 1:30.4135? ### Answer: SELECT COUNT(pos) FROM table_23018775_3 WHERE total_time = "1:30.4135"
Below is an context that describes a 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 (recorded VARCHAR, track VARCHAR, translation VARCHAR) ### Question: Which recording has a Track larger than 2, and a Translation of the last meal? ### Answer: SELECT recorded FROM table_name_31 WHERE track > 2 AND translation = "the last meal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18733814_2 (points_classification VARCHAR, stage VARCHAR) ### Question: When 19 is the stage who is the points classification? ### Answer: SELECT points_classification FROM table_18733814_2 WHERE stage = 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 users (user_name VARCHAR, password VARCHAR, role_code VARCHAR) ### Question: List all the username and passwords of users with the most popular role. ### Answer: SELECT user_name, password FROM users GROUP BY role_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_11630008_4 (original_air_date VARCHAR, production_code VARCHAR) ### Question: How many air dates are there for production code 206? ### Answer: SELECT COUNT(original_air_date) FROM table_11630008_4 WHERE production_code = 206
Below is an context that describes a 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 (county VARCHAR, year_joined VARCHAR, location VARCHAR) ### Question: Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma? ### Answer: SELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = "montezuma"