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_2351952_1 (country VARCHAR, numbers VARCHAR) ### Question: The numbers 801-812 are in which country? ### Answer: SELECT country FROM table_2351952_1 WHERE numbers = "801-812"
Below is an context that describes a sql 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 (points INTEGER, team VARCHAR, laps VARCHAR) ### Question: How many points for Newman/Haas Racing with fewer than 40 laps? ### Answer: SELECT AVG(points) FROM table_name_6 WHERE team = "newman/haas racing" AND laps < 40
Below is an context that describes a sql 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 (player VARCHAR, to_par VARCHAR, country VARCHAR) ### Question: What player has E as the to par, and The United States as the country? ### Answer: SELECT player FROM table_name_6 WHERE to_par = "e" AND country = "united states"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11174272_1 (rank INTEGER) ### Question: what is the minimum rank ### Answer: SELECT MIN(rank) FROM table_11174272_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_78 (wins INTEGER, position VARCHAR, scored VARCHAR) ### Question: What was the lowest number of wins for the team that scored more than 14 points and had a position of 7? ### Answer: SELECT MIN(wins) FROM table_name_78 WHERE position = 7 AND scored > 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_16 (country VARCHAR, place VARCHAR) ### Question: What country placed 3? ### Answer: SELECT country FROM table_name_16 WHERE place = "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_38 (outcome VARCHAR, opponents_in_the_final VARCHAR) ### Question: What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb? ### Answer: SELECT outcome FROM table_name_38 WHERE opponents_in_the_final = "marius călugăru ciprian petre porumb"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR) ### Question: What is the Flattening ratio associated with the Equatorial diameter of 120,536km? ### Answer: SELECT flattening_ratio FROM table_name_75 WHERE equatorial_diameter = "120,536km"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents (project_id VARCHAR); CREATE TABLE projects (project_id VARCHAR, project_details VARCHAR) ### Question: Show the document name and the document date for all documents on project with details 'Graph Database project'. ### Answer: SELECT document_name, document_date FROM Documents AS T1 JOIN projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'Graph Database project'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_37 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: Name the settlement for александрово ### Answer: SELECT settlement FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово"
Below is an context that describes a sql 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 (example_meaning_in_english VARCHAR, standard_thai VARCHAR) ### Question: What example in English has a Standard Thai of ผ่า? ### Answer: SELECT example_meaning_in_english FROM table_name_49 WHERE standard_thai = "ผ่า"
Below is an context that describes a sql 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 (qual_2 VARCHAR, best VARCHAR) ### Question: Who in Qual 2 had the best time of 1:31.327? ### Answer: SELECT qual_2 FROM table_name_5 WHERE best = "1:31.327"
Below is an context that describes a sql 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 (package_option VARCHAR, television_service VARCHAR, country VARCHAR, content VARCHAR) ### Question: What was the option from Italy with general television content, and the Cielo television service? ### Answer: SELECT package_option FROM table_name_84 WHERE country = "italy" AND content = "general television" AND television_service = "cielo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24613895_1 (number_of_believers VARCHAR, name_of_village VARCHAR) ### Question: Name the number of believers for khosrowa ### Answer: SELECT number_of_believers FROM table_24613895_1 WHERE name_of_village = "Khosrowa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (attendance INTEGER, points VARCHAR, opponent VARCHAR) ### Question: How many attended the game against the sharks with over 86 points? ### Answer: SELECT AVG(attendance) FROM table_name_99 WHERE points > 86 AND opponent = "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_18963843_1 (asian_american_population__2010_ INTEGER, combined_statistical_area VARCHAR) ### Question: Name the asian american population 2010 for kansas city-overland park-kansas city, mo-ks csa ### Answer: SELECT MAX(asian_american_population__2010_) FROM table_18963843_1 WHERE combined_statistical_area = "Kansas City-Overland Park-Kansas City, MO-KS CSA"
Below is an context that describes a sql 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 (points_against VARCHAR, lost VARCHAR, points_for VARCHAR) ### Question: Which Points against has a Lost of 13, and Points for of 671? ### Answer: SELECT points_against FROM table_name_9 WHERE lost = "13" AND points_for = "671"
Below is an context that describes a sql 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 (total INTEGER, to_par VARCHAR) ### Question: WHAT IS THE TOTAL WITH A TO PAR OF 10? ### Answer: SELECT MAX(total) FROM table_name_30 WHERE to_par = 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_80 (result VARCHAR, date VARCHAR) ### Question: What is Result, when Date is 2003? ### Answer: SELECT result FROM table_name_80 WHERE date = "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_33 (lost VARCHAR) ### Question: Which Lost has a Club of club? ### Answer: SELECT lost FROM table_name_33 WHERE "club" = "club"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (time_retired VARCHAR, laps VARCHAR, name VARCHAR) ### Question: What is Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"? ### Answer: SELECT time_retired FROM table_name_65 WHERE laps < 49 AND name = "michael caruso"
Below is an context that describes a sql 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 (date_released VARCHAR, green_communist VARCHAR) ### Question: What's the date released when there was 9.7% of Green communist? ### Answer: SELECT date_released FROM table_name_53 WHERE green_communist = "9.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_32 (record VARCHAR, date VARCHAR) ### Question: What record has November 15 as the date? ### Answer: SELECT record FROM table_name_32 WHERE date = "november 15"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (event VARCHAR, name VARCHAR) ### Question: In what Event did Dorcus Inzikuru compete? ### Answer: SELECT event FROM table_name_86 WHERE name = "dorcus inzikuru"
Below is an context that describes a sql 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 (postseason VARCHAR, team VARCHAR) ### Question: How many postseason titles has Nebraska received? ### Answer: SELECT postseason FROM table_name_20 WHERE team = "nebraska"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, uk_vat_number INTEGER); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR) ### Question: Find the last name of the first ever contact person of the organization with the highest UK Vat number. ### Answer: SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to 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_61 (enrollment VARCHAR, ihsaa_class VARCHAR) ### Question: What is the total enrollment of the aa IHSAA class? ### Answer: SELECT COUNT(enrollment) FROM table_name_61 WHERE ihsaa_class = "aa"
Below is an context that describes a sql 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 (date VARCHAR, opponent_in_the_final VARCHAR) ### Question: What is the date of the match with arnaud di pasquale as the opponent in the final? ### Answer: SELECT date FROM table_name_69 WHERE opponent_in_the_final = "arnaud di pasquale"
Below is an context that describes a sql 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 (h_a_n VARCHAR, score VARCHAR) ### Question: What was the H/A/N for the game that ended in a score of 108-102? ### Answer: SELECT h_a_n FROM table_name_12 WHERE score = "108-102"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (home VARCHAR, series VARCHAR) ### Question: Which Home has a Series of series tied 3–3? ### Answer: SELECT home FROM table_name_92 WHERE series = "series tied 3–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_28742659_2 (reward VARCHAR, finish VARCHAR) ### Question: What is listed in reward when the finish is listed at 13th voted out 6th jury Member Day 43? ### Answer: SELECT reward FROM table_28742659_2 WHERE finish = "13th voted Out 6th Jury Member Day 43"
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR, visitor VARCHAR) ### Question: When the Vancouver Canucks were visiting, what was the record when the score was 4-2? ### Answer: SELECT record FROM table_name_6 WHERE score = "4-2" AND visitor = "vancouver canucks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR) ### Question: What are the results for the game with 82,113 attending? ### Answer: SELECT result FROM table_name_41 WHERE attendance = "82,113"
Below is an context that describes a sql 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 (result VARCHAR, category VARCHAR) ### Question: What's the result for the category of best actor in a supporting role? ### Answer: SELECT result FROM table_name_34 WHERE category = "best actor in a supporting role"
Below is an context that describes a sql 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 (record VARCHAR, event VARCHAR) ### Question: Which Record has an Event of inoki bom-ba-ye 2002? ### Answer: SELECT record FROM table_name_1 WHERE event = "inoki bom-ba-ye 2002"
Below is an context that describes a sql 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 (a_league VARCHAR, pre_season INTEGER) ### Question: How much A-League has a Pre-Season larger than 0? ### Answer: SELECT COUNT(a_league) FROM table_name_85 WHERE pre_season > 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 Behavior_Incident (incident_type_code VARCHAR) ### Question: How many distinct incident type codes are there? ### Answer: SELECT COUNT(DISTINCT incident_type_code) FROM Behavior_Incident
Below is an context that describes a sql 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 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What year has a not nominated result and a nomination title of "the color of fame"? ### Answer: SELECT year__ceremony_ FROM table_name_62 WHERE result = "not nominated" AND film_title_used_in_nomination = "the color of fame"
Below is an context that describes a sql 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 (episode_no VARCHAR, no_of_dvds VARCHAR) ### Question: WHAT IS THE EPISODE NUMBER THAT HAS 28 DVD? ### Answer: SELECT episode_no FROM table_name_78 WHERE no_of_dvds = "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 table_15582870_1 (college VARCHAR, weight VARCHAR) ### Question: Which college did the player weighing 207 pounds attend? ### Answer: SELECT college FROM table_15582870_1 WHERE weight = 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_1 (party VARCHAR, municipality VARCHAR) ### Question: Municipality of tampere involves which party? ### Answer: SELECT party FROM table_name_1 WHERE municipality = "tampere"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27114708_2 (date_of_appointment VARCHAR, team VARCHAR) ### Question: For team ascoli please mention all the appointment date. ### Answer: SELECT date_of_appointment FROM table_27114708_2 WHERE team = "Ascoli"
Below is an context that describes a sql 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 (year VARCHAR, time VARCHAR, avg_run VARCHAR) ### Question: What is the total years with average runs less than 4.75 and a time of 14.26? ### Answer: SELECT COUNT(year) FROM table_name_8 WHERE time = 14.26 AND avg_run < 4.75
Below is an context that describes a sql 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 (population__2004_est_ VARCHAR, hanzi VARCHAR) ### Question: What is the 2004 population for 山海关区? ### Answer: SELECT population__2004_est_ FROM table_name_46 WHERE hanzi = "山海关区"
Below is an context that describes a sql 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 (new_conference VARCHAR, team_nickname VARCHAR) ### Question: What is the new conference for the Gauchos team? ### Answer: SELECT new_conference FROM table_name_28 WHERE team_nickname = "gauchos"
Below is an context that describes a sql 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 (centerfold_model VARCHAR, date VARCHAR) ### Question: Who was the Centerfold Model on 9-03? ### Answer: SELECT centerfold_model FROM table_name_79 WHERE date = "9-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_19 (reg_gp INTEGER, player VARCHAR, rd__number VARCHAR) ### Question: How many reg GP for rick vaive in round 1? ### Answer: SELECT SUM(reg_gp) FROM table_name_19 WHERE player = "rick vaive" AND rd__number < 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 (total INTEGER, gold INTEGER) ### Question: Which Total has a Gold smaller than 0? ### Answer: SELECT SUM(total) FROM table_name_29 WHERE gold < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (season VARCHAR, round VARCHAR, result VARCHAR) ### Question: What season had a game in the first round with a result of 4–1, 0–1? ### Answer: SELECT season FROM table_name_87 WHERE round = "first round" AND result = "4–1, 0–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_27 (model VARCHAR, years VARCHAR) ### Question: What is the model that was made in the years 2011 2012-? ### Answer: SELECT model FROM table_name_27 WHERE years = "2011 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_64 (d_43_√ VARCHAR, d_49_√ VARCHAR) ### Question: What is the D 43 √ with a D 49 √ with d 49 √? ### Answer: SELECT d_43_√ FROM table_name_64 WHERE d_49_√ = "d 49 √"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25604014_9 (original_air_date VARCHAR, production_code VARCHAR) ### Question: Name the original air date for production code 1l16 ### Answer: SELECT original_air_date FROM table_25604014_9 WHERE production_code = "1L16"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_71 (loss VARCHAR, date VARCHAR) ### Question: Which Loss has a Date of july 2? ### Answer: SELECT loss FROM table_name_71 WHERE date = "july 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_32 (player VARCHAR, nhl_team VARCHAR, round VARCHAR, mwehl_team VARCHAR) ### Question: Who was the player in Round 7, on the MWEHL Team Detroit Honeybaked, and the NHL Team, Philadelphia Flyers teams? ### Answer: SELECT player FROM table_name_32 WHERE round = "7" AND mwehl_team = "detroit honeybaked" AND nhl_team = "philadelphia flyers"
Below is an context that describes a sql 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 (starts INTEGER, chassis VARCHAR, finishes VARCHAR) ### Question: what is the average starts when the chassis is focus rs wrc 08 and finishes is more than 27? ### Answer: SELECT AVG(starts) FROM table_name_94 WHERE chassis = "focus rs wrc 08" AND finishes > 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_5 (jury_points VARCHAR, televote_points VARCHAR) ### Question: What was the Jury Points value when there were 3 Televote Points? ### Answer: SELECT jury_points FROM table_name_5 WHERE televote_points = "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_80 (player VARCHAR, year VARCHAR, pick VARCHAR, position VARCHAR) ### Question: What is Player, when Pick is "3", when Position is "Defense", and when Year is less than 2010? ### Answer: SELECT player FROM table_name_80 WHERE pick = "3" AND position = "defense" AND year < 2010
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24051050_1 (challengers__female_ VARCHAR, episode VARCHAR) ### Question: Which female challengers featured in episode 28? ### Answer: SELECT challengers__female_ FROM table_24051050_1 WHERE episode = 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 table_name_99 (score1 VARCHAR, opponent VARCHAR) ### Question: What was the final score for the Thurrock? ### Answer: SELECT score1 FROM table_name_99 WHERE opponent = "thurrock"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE FACULTY (Fname VARCHAR, Lname VARCHAR, FacID VARCHAR); CREATE TABLE MEMBER_OF (FacID VARCHAR, DNO VARCHAR) ### Question: Find the full names of faculties who are members of department with department number 520. ### Answer: SELECT T1.Fname, T1.Lname FROM FACULTY AS T1 JOIN MEMBER_OF AS T2 ON T1.FacID = T2.FacID WHERE T2.DNO = 520
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (name VARCHAR, qual_1 VARCHAR) ### Question: What was the Name of the person with a Qual 1 of 1:26.056? ### Answer: SELECT name FROM table_name_59 WHERE qual_1 = "1:26.056"
Below is an context that describes a sql 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 (player VARCHAR, year_born VARCHAR, current_club VARCHAR) ### Question: Who is the player who was born before 1980 who currently plays for the Toronto Raptors? ### Answer: SELECT player FROM table_name_22 WHERE year_born < 1980 AND current_club = "toronto raptors"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (avge VARCHAR, name VARCHAR, goals VARCHAR) ### Question: What is the total avge of John Hall, who has less than 63 goals? ### Answer: SELECT COUNT(avge) FROM table_name_25 WHERE name = "john hall" AND goals < 63
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1682026_2 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) ### Question: When the assets are 2,550, what is the Market Value? ### Answer: SELECT market_value__billion_$_ FROM table_1682026_2 WHERE assets__billion_$_ = "2,550"
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR) ### Question: At the match in windy hill, how much did the home team score? ### Answer: SELECT home_team AS score FROM table_name_33 WHERE venue = "windy hill"
Below is an context that describes a sql 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 (carries VARCHAR, average VARCHAR, touchdowns VARCHAR) ### Question: How many carries have an average under 8.7 and touchdowns of 72? ### Answer: SELECT COUNT(carries) FROM table_name_37 WHERE average < 8.7 AND touchdowns = 72
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30121082_1 (area__acres__ INTEGER, poor_law_union VARCHAR, civil_parish VARCHAR) ### Question: What is the greatest area when the Poor Law Union is Skibbereen and the Civil Parish is Tullagh? ### Answer: SELECT MAX(area__acres__) FROM table_30121082_1 WHERE poor_law_union = "Skibbereen" AND civil_parish = "Tullagh"
Below is an context that describes a sql 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 (dates VARCHAR, location VARCHAR, grade VARCHAR) ### Question: What were the dates for Honolulu, Hawaii in Kindergarten? ### Answer: SELECT dates FROM table_name_89 WHERE location = "honolulu, hawaii" AND grade = "kindergarten"
Below is an context that describes a sql 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 (genre VARCHAR, station VARCHAR) ### Question: What genre has a station of Class 95FM? ### Answer: SELECT genre FROM table_name_53 WHERE station = "class 95fm"
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR) ### Question: What was the home team that played at Corio Oval? ### Answer: SELECT home_team FROM table_name_15 WHERE venue = "corio oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (score VARCHAR, attendance VARCHAR) ### Question: What is Score, when Attendance is 2,444? ### Answer: SELECT score FROM table_name_33 WHERE attendance = "2,444"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (laps INTEGER, driver VARCHAR, grid VARCHAR) ### Question: what is the least laps when the driver is rolf stommelen and the grid is more than 18? ### Answer: SELECT MIN(laps) FROM table_name_99 WHERE driver = "rolf stommelen" AND grid > 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_18 (year INTEGER, manufacturer VARCHAR, finish VARCHAR) ### Question: Smaller than 37, the highest year for Ford? ### Answer: SELECT MAX(year) FROM table_name_18 WHERE manufacturer = "ford" AND finish < 37
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14563349_11 (date VARCHAR, opponent VARCHAR) ### Question: How many days were the Kansas City Chiefs the opposing team? ### Answer: SELECT COUNT(date) FROM table_14563349_11 WHERE opponent = "Kansas City Chiefs"
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, score VARCHAR, to_par VARCHAR) ### Question: Which Place has a Score smaller than 72, and a To par of −1, and a Country of spain? ### Answer: SELECT place FROM table_name_51 WHERE score < 72 AND to_par = "−1" AND country = "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_15621965_16 (years_in_orlando VARCHAR, school_club_team VARCHAR) ### Question: What years did the player who's school is Clemson spend in Orlando? ### Answer: SELECT years_in_orlando FROM table_15621965_16 WHERE school_club_team = "Clemson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19753079_41 (incumbent VARCHAR, district VARCHAR) ### Question: When pennsylvania 3 is the district who is the incumbent? ### Answer: SELECT incumbent FROM table_19753079_41 WHERE district = "Pennsylvania 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_15451122_2 (assembled VARCHAR, first_member VARCHAR) ### Question: What date was parliament assembled when John rudhale was first member? ### Answer: SELECT assembled FROM table_15451122_2 WHERE first_member = "John Rudhale"
Below is an context that describes a sql 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 (team_1 VARCHAR, team_2 VARCHAR) ### Question: What is team one that has tp englebert for team 2? ### Answer: SELECT team_1 FROM table_name_32 WHERE team_2 = "tp englebert"
Below is an context that describes a sql 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 (location_attendance VARCHAR, opponent VARCHAR) ### Question: What was the location when the opponent was Seattle Supersonics? ### Answer: SELECT location_attendance FROM table_name_6 WHERE opponent = "seattle supersonics"
Below is an context that describes a sql 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 (round INTEGER, college VARCHAR, pick VARCHAR) ### Question: What is the largest round of a pick smaller than 92 from Toledo University? ### Answer: SELECT MAX(round) FROM table_name_34 WHERE college = "toledo" AND pick < 92
Below is an context that describes a sql 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 (date__from_ VARCHAR, name_of_system VARCHAR, traction_type VARCHAR) ### Question: On what date did the event begin that had a steam traction type and used the system named HSM (1883–1910) GT (1915–1922)? ### Answer: SELECT date__from_ FROM table_name_46 WHERE name_of_system = "hsm (1883–1910) gt (1915–1922)" AND traction_type = "steam"
Below is an context that describes a sql 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 (runner_up VARCHAR, year VARCHAR) ### Question: Who was the runner-up in 1887 competition for 'Articles with HCards'? ### Answer: SELECT runner_up FROM table_name_39 WHERE year = 1887
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27765443_2 (model___computer_name VARCHAR, cpu_type VARCHAR) ### Question: Name the total number of model for amd opteron dual-core 2.6ghz ### Answer: SELECT COUNT(model___computer_name) FROM table_27765443_2 WHERE cpu_type = "AMD Opteron dual-core 2.6GHz"
Below is an context that describes a sql 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 (player VARCHAR, school VARCHAR) ### Question: Which Player attended George Washington High School? ### Answer: SELECT player FROM table_name_8 WHERE school = "george washington high school"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR, time__seconds_ VARCHAR) ### Question: What is the Record for 23 january 2010, with a time smaller than 42.679 seconds? ### Answer: SELECT record FROM table_name_42 WHERE date = "23 january 2010" AND time__seconds_ < 42.679
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR) ### Question: List the first name and last name of all customers. ### Answer: SELECT first_name, last_name FROM Customers
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR) ### Question: Which method was used when Alessio Sakara was the opponent? ### Answer: SELECT method FROM table_name_38 WHERE opponent = "alessio sakara"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14433719_1 (time___et__ VARCHAR, opponent VARCHAR) ### Question: What time in eastern standard time was game held at denver broncos? ### Answer: SELECT time___et__ FROM table_14433719_1 WHERE opponent = "at Denver Broncos"
Below is an context that describes a sql 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 (viewers__millions_ INTEGER, episode__number VARCHAR, share VARCHAR) ### Question: What is the average number of million viewers that watched an episode before episode 11 with a share of 4? ### Answer: SELECT AVG(viewers__millions_) FROM table_name_28 WHERE episode__number < 11 AND share = "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_40 (date_of_issue VARCHAR, place_of_issue VARCHAR) ### Question: On what date were sheets issued in Tallahassee, Florida? ### Answer: SELECT date_of_issue FROM table_name_40 WHERE place_of_issue = "tallahassee, florida"
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR) ### Question: When was the game played against Norway with a result of 1:0? ### Answer: SELECT date FROM table_name_7 WHERE opponent = "norway" AND results¹ = "1:0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (silver VARCHAR, nation VARCHAR, rank VARCHAR) ### Question: What is the total number of Silvers held by France when their rank was over 14? ### Answer: SELECT COUNT(silver) FROM table_name_63 WHERE nation = "france" AND rank > 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_23 (format VARCHAR, _special_notes VARCHAR, title VARCHAR) ### Question: What is the Format and Special Notes for of the pact: ...of the gods? ### Answer: SELECT format, _special_notes FROM table_name_23 WHERE title = "the pact: ...of the gods"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE college (state VARCHAR, enr INTEGER) ### Question: What is the number of states that has some college whose enrollment is larger than the average enrollment? ### Answer: SELECT COUNT(DISTINCT state) FROM college WHERE enr > (SELECT AVG(enr) FROM 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_39 (record VARCHAR, score VARCHAR) ### Question: What is the record of the game with a score of 1 – 5? ### Answer: SELECT record FROM table_name_39 WHERE score = "1 – 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_76 (division VARCHAR, playoffs VARCHAR, year VARCHAR, regular_season VARCHAR) ### Question: Which Division has a Year larger than 1996,a Regular Season of 4th, and a Playoffs of final? ### Answer: SELECT division FROM table_name_76 WHERE year > 1996 AND regular_season = "4th" AND playoffs = "final"
Below is an context that describes a sql 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 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR) ### Question: Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor? ### Answer: SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = "puma" AND shirt_sponsor = "puma"
Below is an context that describes a sql 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 (floors VARCHAR, street_address VARCHAR) ### Question: How many floors have 207 w. hastings st. as the address? ### Answer: SELECT COUNT(floors) FROM table_name_1 WHERE street_address = "207 w. hastings st."
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1132600_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) ### Question: Which round had Michael Schumacher in the pole position, David Coulthard with the fastest lap, and McLaren - Mercedes as the winning constructor? ### Answer: SELECT COUNT(round) FROM table_1132600_3 WHERE pole_position = "Michael Schumacher" AND fastest_lap = "David Coulthard" AND winning_constructor = "McLaren - Mercedes"