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_47 (surface VARCHAR, runner_up VARCHAR) ### Question: What is the surface of the match with Brian Gottfried as the runner-up? ### Answer: SELECT surface FROM table_name_47 WHERE runner_up = "brian gottfried"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17778417_1 (attendance VARCHAR, week VARCHAR) ### Question: How many people attended the Week 8 game when Denver played Buffalo? ### Answer: SELECT attendance FROM table_17778417_1 WHERE week = 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_17 (laps INTEGER, qual VARCHAR) ### Question: How many laps resulted from a Qual of 165.229? ### Answer: SELECT MAX(laps) FROM table_name_17 WHERE qual = "165.229"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10470082_7 (villains VARCHAR, storyteller VARCHAR, director VARCHAR) ### Question: Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director? ### Answer: SELECT villains FROM table_10470082_7 WHERE storyteller = "Megan" AND director = "Lorette LeBlanc"
Below is an context that describes a sql 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 (event VARCHAR, round VARCHAR) ### Question: What is Event, when Round is "10"? ### Answer: SELECT event FROM table_name_62 WHERE round = 10
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, score VARCHAR) ### Question: What player has The United States as the country with 70 as the score? ### Answer: SELECT player FROM table_name_91 WHERE country = "united states" AND score = 70
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_22 (holmenkollen VARCHAR, country VARCHAR, winner VARCHAR) ### Question: Which Holmenkollen has a Country of norway, and a Winner of tom sandberg? ### Answer: SELECT holmenkollen FROM table_name_22 WHERE country = "norway" AND winner = "tom sandberg"
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR) ### Question: Who is the opponent for week 5? ### Answer: SELECT opponent FROM table_name_96 WHERE week = 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_29619494_2 (season VARCHAR, sake_tuyas VARCHAR) ### Question: What season did the Sake Tuyas come in 1st place? ### Answer: SELECT season FROM table_29619494_2 WHERE sake_tuyas = "1st"
Below is an context that describes a sql 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 (city VARCHAR, state VARCHAR, team VARCHAR) ### Question: Where is the city of Maharashtra's Pune team? ### Answer: SELECT city FROM table_name_31 WHERE state = "maharashtra" AND team = "pune"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27437601_2 (no_in_series VARCHAR, no_in_season VARCHAR) ### Question: List the series number for season 12. ### Answer: SELECT COUNT(no_in_series) FROM table_27437601_2 WHERE no_in_season = 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_22 (release_date VARCHAR, sspec_number VARCHAR) ### Question: What is Release Date, when sSpec Number is SLBZE(C0)SLBR8? ### Answer: SELECT release_date FROM table_name_22 WHERE sspec_number = "slbze(c0)slbr8"
Below is an context that describes a sql 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 (height_ft___m VARCHAR, year_completed VARCHAR, name VARCHAR) ### Question: How tall is the florida life building, completed before 1990? ### Answer: SELECT height_ft___m FROM table_name_44 WHERE year_completed < 1990 AND name = "florida life building"
Below is an context that describes a sql 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 (became_duchess VARCHAR, death VARCHAR) ### Question: WHo Became Duchess that has a Death of 26 october 1614? ### Answer: SELECT became_duchess FROM table_name_84 WHERE death = "26 october 1614"
Below is an context that describes a sql 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 (date VARCHAR, time VARCHAR) ### Question: Which Date has a Time of 1:00.59? ### Answer: SELECT date FROM table_name_90 WHERE time = "1:00.59"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER) ### Question: Find the name of the department that offers the largest number of credits of all classes. ### Answer: SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (home VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: Name the home when the visitor was dallas on february 2 ### Answer: SELECT home FROM table_name_12 WHERE visitor = "dallas" AND date = "february 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_11 (pick__number INTEGER, league_from VARCHAR, player VARCHAR) ### Question: What is the average pick # from the Quebec Major Junior Hockey League player Samuel Carrier? ### Answer: SELECT AVG(pick__number) FROM table_name_11 WHERE league_from = "quebec major junior hockey league" AND player = "samuel carrier"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR) ### Question: What is the length (miles) when pico to 7th st/metro center are the endpoints? ### Answer: SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = "Pico to 7th St/Metro Center"
Below is an context that describes a sql 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 (value___usd__ VARCHAR, country VARCHAR, date VARCHAR, business VARCHAR) ### Question: In New Zealand, what's the value that has an unknown date and is an energy business? ### Answer: SELECT value___usd__ FROM table_name_70 WHERE date = "unknown" AND business = "energy" AND country = "new zealand"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: what is the tournament when the performance in 2012 is 3r and 2011 is qf? ### Answer: SELECT tournament FROM table_name_77 WHERE 2012 = "3r" AND 2011 = "qf"
Below is an context that describes a sql 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 (home_city VARCHAR, stadium VARCHAR) ### Question: What is the home city when the stadium was Gradski Stadion U Poljudu? ### Answer: SELECT home_city FROM table_name_69 WHERE stadium = "gradski stadion u poljudu"
Below is an context that describes a sql 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 (catalog VARCHAR, region VARCHAR) ### Question: Which catalog value has a region of world? ### Answer: SELECT catalog FROM table_name_34 WHERE region = "world"
Below is an context that describes a 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 (control VARCHAR, type VARCHAR) ### Question: Is art school public or private? ### Answer: SELECT control FROM table_2076595_1 WHERE type = "Art 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_95 (game INTEGER, opponent VARCHAR, february VARCHAR) ### Question: What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25? ### Answer: SELECT MIN(game) FROM table_name_95 WHERE opponent = "minnesota north stars" AND february < 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_83 (rec INTEGER, yards VARCHAR, avg VARCHAR) ### Question: How many receptions for players with over 647 yards and an under 14 yard average? ### Answer: SELECT MIN(rec) FROM table_name_83 WHERE yards > 647 AND avg < 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_85 (college_junior_club_team VARCHAR, round INTEGER) ### Question: What is the college club that plays before round 3? ### Answer: SELECT college_junior_club_team FROM table_name_85 WHERE round < 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_88 (silver INTEGER, rank INTEGER) ### Question: What is the highest number of silvers for ranks over 7? ### Answer: SELECT MAX(silver) FROM table_name_88 WHERE rank > 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_13 (record VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: What was the record from the Golden State Warriors on 11/18? ### Answer: SELECT record FROM table_name_13 WHERE visitor = "golden state warriors" AND date = "11/18"
Below is an context that describes a sql 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 (artist VARCHAR, date VARCHAR) ### Question: What is the Artist with a Date that is june 1979? ### Answer: SELECT artist FROM table_name_48 WHERE date = "june 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 TRANSACTIONS (investor_id VARCHAR, share_count INTEGER) ### Question: Show the average share count of transactions each each investor, ordered by average share count. ### Answer: SELECT investor_id, AVG(share_count) FROM TRANSACTIONS GROUP BY investor_id ORDER BY AVG(share_count)
Below is an context that describes a sql 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 (winning_score VARCHAR, margin VARCHAR) ### Question: What is the winning score of the match with a margin of 3 strokes? ### Answer: SELECT winning_score FROM table_name_39 WHERE margin = "3 strokes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15463188_1 (position VARCHAR, name VARCHAR) ### Question: Name the position for judy-ann ramirez ### Answer: SELECT position FROM table_15463188_1 WHERE name = "judy-ann ramirez"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1481865_1 (original_air_date VARCHAR, number_of_episode VARCHAR) ### Question: What was the original air date for episode number 6? ### Answer: SELECT original_air_date FROM table_1481865_1 WHERE number_of_episode = 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_25735_1 (competition VARCHAR, winner VARCHAR) ### Question: Which competition did the toronto city saints win? ### Answer: SELECT competition FROM table_25735_1 WHERE winner = "Toronto City 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_89 (end_of_term VARCHAR, age_at_inauguration VARCHAR) ### Question: What is the End of term of the President with an Age at inauguration of 78years, 160days? ### Answer: SELECT end_of_term FROM table_name_89 WHERE age_at_inauguration = "78years, 160days"
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) ### Question: Who is the Opponent in the final after 1983 with an Outcome of runner-up? ### Answer: SELECT opponent_in_the_final FROM table_name_48 WHERE outcome = "runner-up" AND date > 1983
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (draws INTEGER, against INTEGER) ### Question: What was the lowest draw when the against was larger than 2638? ### Answer: SELECT MIN(draws) FROM table_name_50 WHERE against > 2638
Below is an context that describes a sql 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 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR) ### Question: What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O? ### Answer: SELECT release_price___usd__ FROM table_name_12 WHERE i_o_bus = "1 × 6.4 gt/s qpi" AND part_number_s_ = "bx80601975at80601002274aa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27450976_1 (title VARCHAR, production_code VARCHAR) ### Question: What is the title of the episode with a production code of 2j5504? ### Answer: SELECT title FROM table_27450976_1 WHERE production_code = "2J5504"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (lost INTEGER, against VARCHAR, diff VARCHAR, points VARCHAR) ### Question: What is the average number lost with a difference of -16, 19 points, and more than 24 against? ### Answer: SELECT AVG(lost) FROM table_name_33 WHERE diff > -16 AND points = 19 AND against > 24
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23235679_1 (written_by VARCHAR, production_code VARCHAR) ### Question: Name who wrote 5ajn11 ### Answer: SELECT written_by FROM table_23235679_1 WHERE production_code = "5AJN11"
Below is an context that describes a sql 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 (countries_visited VARCHAR, presenter VARCHAR) ### Question: Which country did Natalia Makarova visit? ### Answer: SELECT countries_visited FROM table_name_96 WHERE presenter = "natalia makarova"
Below is an context that describes a sql 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 (name VARCHAR, league_cup VARCHAR, fa_cup VARCHAR) ### Question: What is the Name when the League Cup shows 0 (0), and the FA Cup is 12 (14)? ### Answer: SELECT name FROM table_name_40 WHERE league_cup = "0 (0)" AND fa_cup = "12 (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_32 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR) ### Question: What is the highest Number of Bearers 2008, when Surname is Hansen, and when Rank is less than 1? ### Answer: SELECT MAX(number_of_bearers_2008) FROM table_name_32 WHERE surname = "hansen" AND rank < 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_23274514_7 (high_rebounds VARCHAR, record VARCHAR) ### Question: Name the high rebounds for 17-33 ### Answer: SELECT high_rebounds FROM table_23274514_7 WHERE record = "17-33"
Below is an context that describes a sql 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 (opponent VARCHAR, score VARCHAR) ### Question: who is the opponent when the score is 3–6, 6–1, 7–5? ### Answer: SELECT opponent FROM table_name_22 WHERE score = "3–6, 6–1, 7–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_28 (opponent VARCHAR, week VARCHAR) ### Question: What is the Opponent on Week 11? ### Answer: SELECT opponent FROM table_name_28 WHERE week = 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_78 (away_team VARCHAR, venue VARCHAR) ### Question: Which team played away at Victoria park? ### Answer: SELECT away_team AS score FROM table_name_78 WHERE venue = "victoria park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (location VARCHAR, record VARCHAR) ### Question: Where was the location when the record was 12-5? ### Answer: SELECT location FROM table_name_89 WHERE record = "12-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_23281862_9 (score VARCHAR, record VARCHAR) ### Question: What is the score when 36-33 is the record? ### Answer: SELECT score FROM table_23281862_9 WHERE record = "36-33"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE pilot (POSITION VARCHAR, Join_Year INTEGER) ### Question: Show the pilot positions that have both pilots joining after year 2005 and pilots joining before 2000. ### Answer: SELECT POSITION FROM pilot WHERE Join_Year < 2000 INTERSECT SELECT POSITION FROM pilot WHERE Join_Year > 2005
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (country VARCHAR, host VARCHAR) ### Question: Which Country has a Host of miguel esteban? ### Answer: SELECT country FROM table_name_18 WHERE host = "miguel esteban"
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR) ### Question: What is the Country of the Player with a Score of 66-72-70-69=277? ### Answer: SELECT country FROM table_name_47 WHERE score = 66 - 72 - 70 - 69 = 277
Below is an context that describes a sql 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 (city_area_km_2__ INTEGER, district VARCHAR, city_population__2009_ VARCHAR) ### Question: What is the sum of the area for the bahawalnagar district with a population more than 134,936? ### Answer: SELECT SUM(city_area_km_2__) FROM table_name_32 WHERE district = "bahawalnagar district" AND city_population__2009_ > 134 OFFSET 936
Below is an context that describes a sql 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 (time VARCHAR, opponent VARCHAR) ### Question: At what time did the opponent Takaichi Hirayama have an event? ### Answer: SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama"
Below is an context that describes a sql 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 (result VARCHAR, h___a VARCHAR, round VARCHAR) ### Question: What is the result for an H/A of H and a round value of R6 replay? ### Answer: SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2866456_1 (directed_by VARCHAR, production_code VARCHAR) ### Question: Who is the directed by when 2t6404 is the production code? ### Answer: SELECT directed_by FROM table_2866456_1 WHERE production_code = "2T6404"
Below is an context that describes a sql 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 (start VARCHAR, rank VARCHAR) ### Question: Which start has 4 as a rank? ### Answer: SELECT start FROM table_name_55 WHERE rank = "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_46 (variant_id VARCHAR) ### Question: Which 5’UTR splice has a Variant ID at sftpa1 variant 2? ### Answer: SELECT 5 AS ’utr_splice FROM table_name_46 WHERE variant_id = "sftpa1 variant 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_2 (seasons VARCHAR, coach VARCHAR) ### Question: How many seasons did Pat Chambers coach? ### Answer: SELECT COUNT(seasons) FROM table_name_2 WHERE coach = "pat chambers"
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, gold VARCHAR) ### Question: Which Bronze has a Total of 4, and a Gold smaller than 1? ### Answer: SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 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 area_code_state (area_code INTEGER) ### Question: What are the maximum and minimum values of area codes? ### Answer: SELECT MAX(area_code), MIN(area_code) FROM area_code_state
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: For the record of 52-60 what's the date? ### Answer: SELECT date FROM table_name_60 WHERE record = "52-60"
Below is an context that describes a sql 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 (game INTEGER, opponent VARCHAR) ### Question: What is the sum of the game with the boston bruins as the opponent? ### Answer: SELECT SUM(game) FROM table_name_84 WHERE opponent = "boston bruins"
Below is an context that describes a sql 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 (country VARCHAR, to_par VARCHAR, score VARCHAR) ### Question: Which country has -9 to par with a Score of 70-69-68=207? ### Answer: SELECT country FROM table_name_55 WHERE to_par = "-9" AND score = 70 - 69 - 68 = 207
Below is an context that describes a sql 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 (titles INTEGER, current_run_since VARCHAR, club VARCHAR) ### Question: What is the highest number of titles won by the Järve club before 2013? ### Answer: SELECT MAX(titles) FROM table_name_9 WHERE current_run_since < 2013 AND club = "järve"
Below is an context that describes a sql 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 (engine VARCHAR, year VARCHAR) ### Question: What engine was used in 1999? ### Answer: SELECT engine FROM table_name_76 WHERE year = "1999"
Below is an context that describes a sql 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 (time VARCHAR, country VARCHAR) ### Question: What time was the race for the country of france? ### Answer: SELECT time FROM table_name_37 WHERE country = "france"
Below is an context that describes a sql 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 (outgoing_manager VARCHAR, date_of_appointment VARCHAR) ### Question: I want the outgoing manager for 19 february ### Answer: SELECT outgoing_manager FROM table_name_57 WHERE date_of_appointment = "19 february"
Below is an context that describes a sql 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 (hole VARCHAR, player VARCHAR) ### Question: How many holes does Player Vijay Singh have? ### Answer: SELECT COUNT(hole) FROM table_name_61 WHERE player = "vijay singh"
Below is an context that describes a sql 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 (drawn VARCHAR, club VARCHAR) ### Question: What was drawn for llanishen rfc? ### Answer: SELECT drawn FROM table_name_56 WHERE club = "llanishen rfc"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2226817_7 (directed_by VARCHAR, original_air_date VARCHAR) ### Question: If the original air date January 19, 1992, who was the episode directed by? ### Answer: SELECT directed_by FROM table_2226817_7 WHERE original_air_date = "January 19, 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_29434211_1 (poles VARCHAR, series VARCHAR) ### Question: How many poles does the European F3 Open series have? ### Answer: SELECT poles FROM table_29434211_1 WHERE series = "European F3 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_85 (seat INTEGER, season_6 VARCHAR) ### Question: Which Seat has a Season 6 of kevin o'leary? ### Answer: SELECT MAX(seat) FROM table_name_85 WHERE season_6 = "kevin o'leary"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (total_seats INTEGER, share_of_votes VARCHAR) ### Question: When the share of votes is 33.9%, what's the highest total amount of seats? ### Answer: SELECT MAX(total_seats) FROM table_name_4 WHERE share_of_votes = "33.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_61 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR) ### Question: What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging? ### Answer: SELECT name FROM table_name_61 WHERE route_of_administration = "oral or iv" AND investigation = "thyroid imaging thyroid metastases imaging"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14573770_4 (fourth_place INTEGER, nation VARCHAR) ### Question: How many teams named argentina? ### Answer: SELECT MAX(fourth_place) FROM table_14573770_4 WHERE nation = "Argentina"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (jockey VARCHAR, horse_name VARCHAR) ### Question: What jockey is on hard spun? ### Answer: SELECT jockey FROM table_name_50 WHERE horse_name = "hard spun"
Below is an context that describes a sql 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 (game INTEGER, record VARCHAR) ### Question: Record of 20–4 involved what highest game? ### Answer: SELECT MAX(game) FROM table_name_44 WHERE record = "20–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_5 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR) ### Question: Which season had a trade with the school/club team La Salle? ### Answer: SELECT season FROM table_name_5 WHERE acquisition_via = "trade" AND school_club_team = "la salle"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (guest VARCHAR, attendance VARCHAR) ### Question: Who was the guest when attendance was 3? ### Answer: SELECT guest FROM table_name_98 WHERE attendance = 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 (wins VARCHAR, points VARCHAR, finishes VARCHAR, starts VARCHAR) ### Question: What is the number of wins associated with 1 point, more than 1 start, and under 7 finishes? ### Answer: SELECT wins FROM table_name_68 WHERE finishes < 7 AND starts > 1 AND points = 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_25594271_2 (yacht VARCHAR, loa__metres_ VARCHAR) ### Question: What yacht had LOA Metres of 13.34? ### Answer: SELECT yacht FROM table_25594271_2 WHERE loa__metres_ = "13.34"
Below is an context that describes a sql 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 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR) ### Question: What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802? ### Answer: SELECT MAX(draws) FROM table_name_24 WHERE ballarat_fl = "sebastapol" AND against < 1802
Below is an context that describes a sql 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 (area__sqdeg_ INTEGER, area__msr_ VARCHAR, right_ascension__hm_ VARCHAR) ### Question: What is the total sum of Areas (sq.deg) that have an Area (msr) of 43.059 and a Right ascension (hm) larger than 747.73? ### Answer: SELECT SUM(area__sqdeg_) FROM table_name_47 WHERE area__msr_ = 43.059 AND right_ascension__hm_ > 747.73
Below is an context that describes a sql 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 (golden_tickets VARCHAR, audition_city VARCHAR) ### Question: How many golden tickets were given out when the auditions were held in San Francisco, California? ### Answer: SELECT COUNT(golden_tickets) FROM table_name_51 WHERE audition_city = "san francisco, california"
Below is an context that describes a sql 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 (date_of_birth VARCHAR, height VARCHAR) ### Question: What is Date of Birth, when Height is "Head Coach: Adel Shamala"? ### Answer: SELECT date_of_birth FROM table_name_31 WHERE height = "head coach: adel shamala"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR, score VARCHAR) ### Question: Name the opponent for jul 31 and score of w 5-1 ### Answer: SELECT opponent FROM table_name_50 WHERE date = "jul 31" AND score = "w 5-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 club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) ### Question: What is the average age of the members of the club "Bootup Baltimore"? ### Answer: SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11764007_2 (member VARCHAR, week_arrived_on_main_island VARCHAR) ### Question: How many members arrived on the main island in week 4? ### Answer: SELECT COUNT(member) FROM table_11764007_2 WHERE week_arrived_on_main_island = "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_1342370_17 (district VARCHAR, incumbent VARCHAR) ### Question: In which district is James O'Connor the incumbent? ### Answer: SELECT district FROM table_1342370_17 WHERE incumbent = "James O'Connor"
Below is an context that describes a sql 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 (round INTEGER, player VARCHAR) ### Question: What lowest round has orlando pace as the player? ### Answer: SELECT MIN(round) FROM table_name_3 WHERE player = "orlando pace"
Below is an context that describes a sql 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 (runners VARCHAR, placing INTEGER) ### Question: How many runners had placings over 8? ### Answer: SELECT COUNT(runners) FROM table_name_34 WHERE placing > 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_97 (time VARCHAR, rider VARCHAR) ### Question: what was valentino rossi's rider time? ### Answer: SELECT time FROM table_name_97 WHERE rider = "valentino rossi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (games VARCHAR, event VARCHAR, medal VARCHAR) ### Question: Which Olympic Games had a silver medal for the Men's Singles? ### Answer: SELECT games FROM table_name_33 WHERE event = "men's singles" AND medal = "silver"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE review (rating INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) ### Question: Find the titles of items whose rating is higher than the average review rating of all items. ### Answer: SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > (SELECT AVG(rating) FROM review)
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR) ### Question: WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? ### Answer: SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "essendon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11690135_1 (country VARCHAR, evening_gown VARCHAR) ### Question: Who had evening gown score of 9.82? ### Answer: SELECT country FROM table_11690135_1 WHERE evening_gown = "9.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_89 (points VARCHAR, year VARCHAR) ### Question: Name the total number of points for 1952 ### Answer: SELECT COUNT(points) FROM table_name_89 WHERE year = 1952