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_79 (score VARCHAR, date VARCHAR) ### Question: What was the score on 1/10/1974? ### Answer: SELECT score FROM table_name_79 WHERE date = "1/10/1974"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27437601_2 (original_air_date VARCHAR, no_in_season VARCHAR) ### Question: List the 1st air date for season 12. ### Answer: SELECT original_air_date 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_17 (nationality VARCHAR, round VARCHAR, pick VARCHAR) ### Question: What is Nationality, when Round is less than 2, and when Pick is "24"? ### Answer: SELECT nationality FROM table_name_17 WHERE round < 2 AND pick = 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_27698941_6 (game VARCHAR, high_rebounds VARCHAR) ### Question: How many games are shown for the game where andre iguodala (9) had the high rebounds? ### Answer: SELECT COUNT(game) FROM table_27698941_6 WHERE high_rebounds = "Andre Iguodala (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_69 (conference VARCHAR, division VARCHAR, home_stadium VARCHAR) ### Question: What is the name of the Conference which Division is south, and the Home Stadium is georgia dome? ### Answer: SELECT conference FROM table_name_69 WHERE division = "south" AND home_stadium = "georgia dome"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19722436_2 (rnd VARCHAR, gt1_winning_team VARCHAR) ### Question: When julien jousse patrice goueslard yann clairay is teh gt1 of the winning team how many measurements of rnd. are there? ### Answer: SELECT COUNT(rnd) FROM table_19722436_2 WHERE gt1_winning_team = "Julien Jousse Patrice Goueslard Yann Clairay"
Below is an context that describes a sql 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 (studio_s_ VARCHAR, movie VARCHAR) ### Question: What is the studio of ra.one? ### Answer: SELECT studio_s_ FROM table_name_89 WHERE movie = "ra.one"
Below is an context that describes a sql 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 (equipment VARCHAR, points VARCHAR, position VARCHAR) ### Question: What is the Equipment that has a Points littler than 442, and a Position of 9? ### Answer: SELECT equipment FROM table_name_93 WHERE points < 442 AND position = 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 item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) ### Question: Find the name of the item with the lowest average rating. ### Answer: SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) 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_19852975_4 (series__number VARCHAR, writer_s_ VARCHAR) ### Question: From writer Max Ehrlich, what is the total amount of series numbers? ### Answer: SELECT COUNT(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23995075_2 (qualifying_end_date VARCHAR) ### Question: What is the qualifying end date when the qualifying start date is qualifying start date? ### Answer: SELECT qualifying_end_date FROM table_23995075_2 WHERE "qualifying_start_date" = "qualifying_start_date"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28436909_4 (founding_date VARCHAR, canadian_chapters VARCHAR) ### Question: When 1 active, 1 inactive is the canadian chapters how many founding dates are there? ### Answer: SELECT COUNT(founding_date) FROM table_28436909_4 WHERE canadian_chapters = "1 Active, 1 Inactive"
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR, opponents VARCHAR) ### Question: On which date did they play Leicester City in Venue A? ### Answer: SELECT date FROM table_name_38 WHERE venue = "a" AND opponents = "leicester city"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17918238_1 (length VARCHAR, maximum_diameter VARCHAR) ### Question: What is the length for a diameter totaling 450 mm? ### Answer: SELECT length FROM table_17918238_1 WHERE maximum_diameter = "450 mm"
Below is an context that describes a sql 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 (week VARCHAR, kickoff_time VARCHAR, attendance VARCHAR) ### Question: What week number was the kickoff time cbs 1:00pm, with 60,473 people in attendance? ### Answer: SELECT COUNT(week) FROM table_name_12 WHERE kickoff_time = "cbs 1:00pm" AND attendance = "60,473"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staff_id VARCHAR) ### Question: Find the products which have problems reported by both Lacey Bosco and Kenton Champlin? ### Answer: SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = "Lacey" AND T3.staff_last_name = "Bosco" INTERSECT SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = "Kenton" AND T3.staff_last_name = "Champlin"
Below is an context that describes a sql 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 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR) ### Question: What was the date of the away game that they lost to Accrington? ### Answer: SELECT date FROM table_name_6 WHERE venue = "away" AND win_draw_lose = "lost" AND team = "accrington"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11961582_10 (high_rebounds VARCHAR, date VARCHAR) ### Question: Who had the high rebounds for the game on april 23? ### Answer: SELECT high_rebounds FROM table_11961582_10 WHERE date = "April 23"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (year INTEGER, player VARCHAR) ### Question: What is the latest year featuring candace parker? ### Answer: SELECT MAX(year) FROM table_name_47 WHERE player = "candace parker"
Below is an context that describes a sql 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 (wickets VARCHAR, rank INTEGER) ### Question: What are the total number of Wickets that ranger higher than 5? ### Answer: SELECT COUNT(wickets) FROM table_name_22 WHERE rank > 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_36 (frequency_mhz INTEGER, erp_w VARCHAR) ### Question: Which Frequency MHz has a ERP W of 250? ### Answer: SELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR) ### Question: Find the distinct last names of the students who have class president votes. ### Answer: SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_President_VOTE
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR) ### Question: Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees? ### Answer: SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.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_14603212_1 (school_year VARCHAR, class_a VARCHAR, class_aAA VARCHAR, Cuero VARCHAR) ### Question: Which school years have a class a being lindsay and a class aaa being cuero? ### Answer: SELECT school_year FROM table_14603212_1 WHERE class_a = "Lindsay" AND class_aAA = Cuero
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10556257_1 (team VARCHAR, season VARCHAR) ### Question: What is the team for season 1911-12? ### Answer: SELECT team FROM table_10556257_1 WHERE season = "1911-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_2305948_1 (_number VARCHAR, name VARCHAR) ### Question: What are the rank/s of Eddie Guerrero? ### Answer: SELECT _number FROM table_2305948_1 WHERE name = "Eddie Guerrero"
Below is an context that describes a sql 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 (channel VARCHAR, country VARCHAR) ### Question: Which channel comes out of Israel? ### Answer: SELECT channel FROM table_name_83 WHERE country = "israel"
Below is an context that describes a 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 (_number_number INTEGER, team VARCHAR) ### Question: What is tthe lowest number on team 3g? ### Answer: SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = "team 3G"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, population_2010_census VARCHAR) ### Question: What is the population density of the administrative division with a population in 2010 of 264170 according to the census? ### Answer: SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE population_2010_census = 264170
Below is an context that describes a sql 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 (record VARCHAR, decision VARCHAR, date VARCHAR) ### Question: What was the record for the game on November 28 when the decision was Backstrom? ### Answer: SELECT record FROM table_name_69 WHERE decision = "backstrom" AND date = "november 28"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR) ### Question: Show the id and details for the investors who have the top 3 number of transactions. ### Answer: SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 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_28819393_1 (_percentage_of_total_vote VARCHAR, year VARCHAR) ### Question: What was the percentage of total votes in 1997? ### Answer: SELECT _percentage_of_total_vote FROM table_28819393_1 WHERE year = "1997"
Below is an context that describes a sql 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 (total VARCHAR, nation VARCHAR, e_score VARCHAR) ### Question: What is the total of Poland, which has an E score greater than 7.725? ### Answer: SELECT COUNT(total) FROM table_name_97 WHERE nation = "poland" AND e_score > 7.725
Below is an context that describes a sql 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 (year VARCHAR, runner_up VARCHAR, winners VARCHAR) ### Question: Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners? ### Answer: SELECT year FROM table_name_3 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (january VARCHAR, points VARCHAR) ### Question: what is the average for January with points of 51 ### Answer: SELECT january FROM table_name_7 WHERE points = 51
Below is an context that describes a sql 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 (party VARCHAR, district VARCHAR) ### Question: What is Party, when District is "Tennessee 8"? ### Answer: SELECT party FROM table_name_33 WHERE district = "tennessee 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_24 (total_points INTEGER, games VARCHAR, rank VARCHAR) ### Question: What was the average of points with ranks smaller than 7 but with total point games of 113? ### Answer: SELECT AVG(total_points) FROM table_name_24 WHERE games = 113 AND 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 bank (no_of_customers INTEGER, state VARCHAR) ### Question: Find the average number of customers in all banks of Utah state. ### Answer: SELECT AVG(no_of_customers) FROM bank WHERE state = 'Utah'
Below is an context that describes a sql 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 (conference_joined VARCHAR, year_joined VARCHAR, mascot VARCHAR) ### Question: Which conference joined in 1954 with a beavers mascot? ### Answer: SELECT conference_joined FROM table_name_40 WHERE year_joined = 1954 AND mascot = "beavers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (total INTEGER, a_score VARCHAR, b_score VARCHAR) ### Question: What was the total rating that had a score higher than 7 and a b score smaller than 8.65? ### Answer: SELECT SUM(total) FROM table_name_87 WHERE a_score > 7 AND b_score < 8.65
Below is an context that describes a sql 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 (pick VARCHAR, round VARCHAR, position VARCHAR) ### Question: What is the pick number for the tight end who was picked after round 6? ### Answer: SELECT COUNT(pick) FROM table_name_67 WHERE round > 6 AND position = "tight end"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE editor (editor_id VARCHAR, Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal_committee (Editor_ID VARCHAR) ### Question: Show the id, name of each editor and the number of journal committees they are on. ### Answer: SELECT T1.editor_id, T1.Name, COUNT(*) FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID = T2.Editor_ID GROUP BY T1.editor_id
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: When the home team was fitzroy, what did the away team score? ### Answer: SELECT away_team AS score FROM table_name_16 WHERE home_team = "fitzroy"
Below is an context that describes a sql 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 (date VARCHAR, crowd INTEGER) ### Question: What date is the crowd larger than 20,000? ### Answer: SELECT date FROM table_name_56 WHERE crowd > 20 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_64 (gender VARCHAR, full_name VARCHAR) ### Question: Chukwubuikem Maduabuchi is what gender? ### Answer: SELECT gender FROM table_name_64 WHERE full_name = "chukwubuikem maduabuchi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24910733_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) ### Question: How many writers are listed when the U.S viewers are 11.21 million? ### Answer: SELECT COUNT(written_by) FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (series_1 VARCHAR, series_2 VARCHAR) ### Question: What series 1 has a Doug Richards in Series 2? ### Answer: SELECT series_1 FROM table_name_58 WHERE series_2 = "doug richards"
Below is an context that describes a sql 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 (class VARCHAR, city_of_license VARCHAR) ### Question: Which class has a city of Richmond, Virginia? ### Answer: SELECT class FROM table_name_20 WHERE city_of_license = "richmond, virginia"
Below is an context that describes a sql 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 (chassis VARCHAR, points VARCHAR) ### Question: Which of the chassis had a total of 7 points? ### Answer: SELECT chassis FROM table_name_60 WHERE points = 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_11959669_4 (location_attendance VARCHAR, high_points VARCHAR) ### Question: What was the location attendance when High points was by Pierce (22)? ### Answer: SELECT location_attendance FROM table_11959669_4 WHERE high_points = "Pierce (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_name_13 (austria VARCHAR, croatia VARCHAR) ### Question: What is shown for Austria when Croatia shows Ireland? ### Answer: SELECT austria FROM table_name_13 WHERE croatia = "ireland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (viewers__in_households_ INTEGER, finale VARCHAR, episodes VARCHAR) ### Question: What is the minimum number of views that watched the show when there was more than 22 episodes and the finale was on May 23, 1995? ### Answer: SELECT MIN(viewers__in_households_) FROM table_name_54 WHERE finale = "may 23, 1995" AND episodes > 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_name_48 (start_time VARCHAR, date VARCHAR) ### Question: Tell me the start time for december 24, 2005 ### Answer: SELECT start_time FROM table_name_48 WHERE date = "december 24, 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 (year VARCHAR, rank INTEGER) ### Question: What year ranked larger than 5? ### Answer: SELECT year FROM table_name_18 WHERE rank > 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_23 (attendance VARCHAR, week VARCHAR) ### Question: What is the attendance of week 8? ### Answer: SELECT COUNT(attendance) FROM table_name_23 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_29160596_1 (top_mc VARCHAR, year_inducted VARCHAR, peak_ranking VARCHAR) ### Question: List all the MCs with peak ranking of 6 who were inducted in 2007. ### Answer: SELECT top_mc FROM table_29160596_1 WHERE year_inducted = 2007 AND peak_ranking = 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (tournament VARCHAR, score VARCHAR) ### Question: what game had a score of 4–6, 6–3, 7–6(10)? ### Answer: SELECT tournament FROM table_name_54 WHERE score = "4–6, 6–3, 7–6(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_61 (place VARCHAR, score VARCHAR) ### Question: What is the Place of the Player with a Score of 70-71=141? ### Answer: SELECT place FROM table_name_61 WHERE score = 70 - 71 = 141
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE League (name VARCHAR, country_id VARCHAR); CREATE TABLE Country (name VARCHAR, id VARCHAR) ### Question: List all country and league names. ### Answer: SELECT T1.name, T2.name FROM Country AS T1 JOIN League AS T2 ON T1.id = T2.country_id
Below is an context that describes a sql 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 (distance VARCHAR, feature VARCHAR) ### Question: what is the distance for ridge? ### Answer: SELECT distance FROM table_name_57 WHERE feature = "ridge"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (clubs_involved VARCHAR, clubs_remaining VARCHAR) ### Question: What are the clubs involved with 16 clubs remaining? ### Answer: SELECT clubs_involved FROM table_name_63 WHERE clubs_remaining = 16
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (title_rank VARCHAR, actor VARCHAR) ### Question: What is the title rank of actor pauline moran? ### Answer: SELECT title_rank FROM table_name_93 WHERE actor = "pauline moran"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (rank INTEGER, heat VARCHAR, nation VARCHAR) ### Question: what is the rank when heat is 9 and the nation is great britain? ### Answer: SELECT SUM(rank) FROM table_name_21 WHERE heat = 9 AND nation = "great britain"
Below is an context that describes a sql 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 (half_life VARCHAR, discovery_year VARCHAR) ### Question: What is the half-life discovered in 2003? ### Answer: SELECT half_life FROM table_name_22 WHERE discovery_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_63 (lost INTEGER, name VARCHAR, position VARCHAR) ### Question: What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4? ### Answer: SELECT AVG(lost) FROM table_name_63 WHERE name = "ec amberg (n)" AND position < 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_43 (opponent VARCHAR, record VARCHAR, location VARCHAR, method VARCHAR) ### Question: What is Opponent, when Location is "Tokyo , Japan", when Method is "Decision (unanimous)", and when Record is "4-1"? ### Answer: SELECT opponent FROM table_name_43 WHERE location = "tokyo , japan" AND method = "decision (unanimous)" AND record = "4-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_225093_4 (date_successor_seated VARCHAR, district VARCHAR) ### Question: What is the date successor seated where Massachusetts 2nd is the district? ### Answer: SELECT date_successor_seated FROM table_225093_4 WHERE district = "Massachusetts 2nd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE station (name VARCHAR, LOCATION VARCHAR, number_of_platforms VARCHAR) ### Question: Show the name, location, and number of platforms for all stations. ### Answer: SELECT name, LOCATION, number_of_platforms FROM 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_89 (runner_s__up VARCHAR, date VARCHAR) ### Question: Who was the runner-up on Jan 19, 1964? ### Answer: SELECT runner_s__up FROM table_name_89 WHERE date = "jan 19, 1964"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE country (Name VARCHAR, IndepYear INTEGER) ### Question: What are the names of all the countries that became independent after 1950? ### Answer: SELECT Name FROM country WHERE IndepYear > 1950
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_3002894_4 (apple VARCHAR, sonnet VARCHAR) ### Question: When 4 mb is the sonnet what is the apple? ### Answer: SELECT apple FROM table_3002894_4 WHERE sonnet = "4 MB"
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR, points VARCHAR, game VARCHAR) ### Question: Which Record has Points smaller than 40, and a Game larger than 25, and a Score of 2–0? ### Answer: SELECT record FROM table_name_49 WHERE points < 40 AND game > 25 AND score = "2–0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22879323_10 (high_points VARCHAR, high_rebounds VARCHAR) ### Question: What was the high points when rebounds were Terrence Williams (8)? ### Answer: SELECT high_points FROM table_22879323_10 WHERE high_rebounds = "Terrence Williams (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_2668378_5 (candidates VARCHAR, incumbent VARCHAR) ### Question: Name the candidates for john boyle ### Answer: SELECT candidates FROM table_2668378_5 WHERE incumbent = "John Boyle"
Below is an context that describes a sql 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 (club VARCHAR, try_bonus VARCHAR) ### Question: Which club has a try bonus of 2 ? ### Answer: SELECT club FROM table_name_8 WHERE try_bonus = "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_53 (opponent VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR) ### Question: Which game had a kickoff at 1:00 and a record of 3-7? ### Answer: SELECT opponent FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND record = "3-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_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR) ### Question: Name the % asian american for 23526 ### Answer: SELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = 23526
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR) ### Question: What is the To Par for Player Chris Riley? ### Answer: SELECT to_par FROM table_name_62 WHERE player = "chris riley"
Below is an context that describes a sql 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 (higgins VARCHAR, scallon VARCHAR) ### Question: What is the Higgins with a Scallon that is 2%? ### Answer: SELECT higgins FROM table_name_35 WHERE scallon = "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_85 (points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) ### Question: Which Points is the lowest one that has Touchdowns smaller than 2, and an Extra points of 7, and a Field goals smaller than 0? ### Answer: SELECT MIN(points) FROM table_name_85 WHERE touchdowns < 2 AND extra_points = 7 AND field_goals < 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_23286158_9 (score VARCHAR, record VARCHAR) ### Question: What was the score for the game when the record was 37-27? ### Answer: SELECT score FROM table_23286158_9 WHERE record = "37-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_22 (Id VARCHAR) ### Question: what is 1980 when 1978 is 2.3? ### Answer: SELECT 1980 FROM table_name_22 WHERE 1978 = "2.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_25737761_3 (no VARCHAR, viewing_figure VARCHAR) ### Question: What was the episode number that had 797000 viewers? ### Answer: SELECT no FROM table_25737761_3 WHERE viewing_figure = 797000
Below is an context that describes a sql 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 (house VARCHAR, four VARCHAR) ### Question: What is "house", when "four" is "opat"? ### Answer: SELECT house FROM table_name_89 WHERE four = "opat"
Below is an context that describes a sql 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 (position INTEGER, team VARCHAR, against VARCHAR) ### Question: What was the position for team corinthians with over 14 against? ### Answer: SELECT AVG(position) FROM table_name_90 WHERE team = "corinthians" AND against > 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_16724844_1 (mens_40 VARCHAR, mens_u20 VARCHAR) ### Question: What were the results for mens 40 when the mens u20 was Southern Suns def Gold Coast Sharks? ### Answer: SELECT mens_40 FROM table_16724844_1 WHERE mens_u20 = "Southern Suns def Gold Coast Sharks"
Below is an context that describes a sql 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 (year VARCHAR, location VARCHAR, score VARCHAR) ### Question: In what Year was the match at Sopot with a Score of 2–6, 6–2, 6–3? ### Answer: SELECT COUNT(year) FROM table_name_77 WHERE location = "sopot" AND score = "2–6, 6–2, 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_32 (english VARCHAR, what VARCHAR) ### Question: What is the language, when "what" is "ango"? ### Answer: SELECT english FROM table_name_32 WHERE what = "ango"
Below is an context that describes a sql 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 (city VARCHAR) ### Question: What 2007-08 season has marcianise as the city? ### Answer: SELECT 2007 AS _08_season FROM table_name_60 WHERE city = "marcianise"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (date VARCHAR, score VARCHAR) ### Question: What is the Date of the Tournament with a Score of 3–6, 7–6(6), 5–7? ### Answer: SELECT date FROM table_name_72 WHERE score = "3–6, 7–6(6), 5–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_24 (record VARCHAR, location VARCHAR, date VARCHAR) ### Question: What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"? ### Answer: SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 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_17 (to_par VARCHAR, country VARCHAR, name VARCHAR) ### Question: What is the To par of Willie MacFarlane from the country of Scotland? ### Answer: SELECT to_par FROM table_name_17 WHERE country = "scotland" AND name = "willie macfarlane"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (away_team VARCHAR) ### Question: What is the away team score of Melbourne? ### Answer: SELECT away_team AS score FROM table_name_54 WHERE away_team = "melbourne"
Below is an context that describes a sql 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 (final VARCHAR, run_2 VARCHAR) ### Question: Which Final has a Run 2 of 1:27.58? ### Answer: SELECT final FROM table_name_50 WHERE run_2 = "1:27.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_name_66 (province VARCHAR, city VARCHAR) ### Question: What province is Hamilton part of? ### Answer: SELECT province FROM table_name_66 WHERE city = "hamilton"
Below is an context that describes a sql 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 (first_issued INTEGER, color VARCHAR) ### Question: When was Color of green first issued? ### Answer: SELECT MIN(first_issued) FROM table_name_51 WHERE color = "green"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1410384_1 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__japanese_ VARCHAR) ### Question: how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi ### Answer: SELECT COUNT(voice_actor__english_1998___pioneer_) FROM table_1410384_1 WHERE voice_actor__japanese_ = "Shinobu Satouchi"
Below is an context that describes a sql 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 (minutes_played VARCHAR, points VARCHAR, opponent VARCHAR) ### Question: How many minutes were played when there were 18 points and the opponent was Chicago Bulls? ### Answer: SELECT COUNT(minutes_played) FROM table_name_55 WHERE points = 18 AND opponent = "chicago bulls"
Below is an context that describes a sql 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 (director VARCHAR, season VARCHAR) ### Question: What is Director, when Season is 1.4? ### Answer: SELECT director FROM table_name_11 WHERE season = 1.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_44 (notes VARCHAR, time VARCHAR) ### Question: what is the notes when the time is 7:58.71? ### Answer: SELECT notes FROM table_name_44 WHERE time = "7:58.71"