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_34 (Birth VARCHAR, end_of_reign VARCHAR) ### Question: What is the Birth Name of the Archbishop with a Current End of Reign? ### Answer: SELECT Birth AS name FROM table_name_34 WHERE end_of_reign = "current"
Below is an context that describes a sql 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 (points VARCHAR, draws VARCHAR, wins VARCHAR, goal_difference VARCHAR) ### Question: How many points have more than 14 wins, a goal difference of 14, and more than 6 draws? ### Answer: SELECT COUNT(points) FROM table_name_13 WHERE wins > 14 AND goal_difference = 14 AND draws > 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 ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHAR) ### Question: Find the average grade point of student whose last name is Smith. ### Answer: SELECT AVG(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = "Smith"
Below is an context that describes a sql 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 (date VARCHAR, visitor VARCHAR) ### Question: What was the date of the game when St. Louis was the visiting team? ### Answer: SELECT date FROM table_name_17 WHERE visitor = "st. louis"
Below is an context that describes a sql 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 (latest_stable_release VARCHAR, name VARCHAR) ### Question: What is the latest stable release date for Crawltrack? ### Answer: SELECT latest_stable_release FROM table_name_83 WHERE name = "crawltrack"
Below is an context that describes a sql 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 (country VARCHAR, date VARCHAR) ### Question: What was the nationality of the winner on December 8, 1968? ### Answer: SELECT country FROM table_name_99 WHERE date = "december 8, 1968"
Below is an context that describes a sql 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 (date VARCHAR, competition VARCHAR) ### Question: What is the date of Competition of 2008 africa cup of nations? ### Answer: SELECT date FROM table_name_37 WHERE competition = "2008 africa cup of nations"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13018091_1 (position INTEGER, club VARCHAR) ### Question: What position did the sheffield eagles finish in? ### Answer: SELECT MAX(position) FROM table_13018091_1 WHERE club = "Sheffield Eagles"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12261714_2 (general_classification VARCHAR, stage VARCHAR) ### Question: Who's leading in the general classification in stage 1a? ### Answer: SELECT general_classification FROM table_12261714_2 WHERE stage = "1a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR) ### Question: what is the title of the episode daphne field wrote? ### Answer: SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: Which Date has a Record of 3-4? ### Answer: SELECT date FROM table_name_30 WHERE record = "3-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (subjunctive VARCHAR, indicative VARCHAR) ### Question: What subjunctive has the indicative of se måchan(t)? ### Answer: SELECT subjunctive FROM table_name_77 WHERE indicative = "se måchan(t)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Customers (customer_code INTEGER) ### Question: What is the largest and smallest customer codes? ### Answer: SELECT MAX(customer_code), MIN(customer_code) 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_11 (venue VARCHAR, result VARCHAR) ### Question: Where was the game with result 7-2 played? ### Answer: SELECT venue FROM table_name_11 WHERE result = "7-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_17 (score VARCHAR, player VARCHAR) ### Question: What is the score of Player Tom Kite? ### Answer: SELECT score FROM table_name_17 WHERE player = "tom kite"
Below is an context that describes a sql 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 (gold INTEGER, rank VARCHAR, bronze VARCHAR) ### Question: What is the most gold when the rank is 7 and bronze is less than 0? ### Answer: SELECT MAX(gold) FROM table_name_40 WHERE rank = "7" AND bronze < 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_21 (aam_member VARCHAR, city VARCHAR, astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR) ### Question: What is AAM Member, when AAM Accredited is No, when State is California, when ASTC Member is Yes, and when City is Sacramento? ### Answer: SELECT aam_member FROM table_name_21 WHERE aam_accredited = "no" AND state = "california" AND astc_member = "yes" AND city = "sacramento"
Below is an context that describes a sql 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 (gold VARCHAR, year VARCHAR) ### Question: What Gold has the Year of 2006? ### Answer: SELECT gold FROM table_name_56 WHERE year = 2006
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (to_par VARCHAR, total INTEGER) ### Question: What was the score to par for 156 strokes? ### Answer: SELECT COUNT(to_par) FROM table_name_37 WHERE total > 156
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1350350_2 (county VARCHAR, per_capita_income VARCHAR) ### Question: how many county with per capita income being $20,101 ### Answer: SELECT COUNT(county) FROM table_1350350_2 WHERE per_capita_income = "$20,101"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1949746_1 (format VARCHAR, frequency VARCHAR) ### Question: When 790 am is the frequency what is the format? ### Answer: SELECT format FROM table_1949746_1 WHERE frequency = "790 AM"
Below is an context that describes a sql 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 (team VARCHAR, points VARCHAR) ### Question: What is the name of the team that has 13 points? ### Answer: SELECT team FROM table_name_47 WHERE points = 13
Below is an context that describes a sql 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 (circuit VARCHAR, class VARCHAR, date VARCHAR) ### Question: What circuit was on June 1 with a class of both? ### Answer: SELECT circuit FROM table_name_16 WHERE class = "both" AND date = "june 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 actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR) ### Question: List the name of musicals that do not have actors. ### Answer: SELECT Name FROM musical WHERE NOT Musical_ID IN (SELECT Musical_ID FROM actor)
Below is an context that describes a sql 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 (name VARCHAR, position VARCHAR) ### Question: Who was the head coach? ### Answer: SELECT name FROM table_name_19 WHERE position = "head coach"
Below is an context that describes a sql 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 (quarterback VARCHAR, team_wins VARCHAR, career_wins VARCHAR, teams VARCHAR) ### Question: Which Seattle quarterback has more than 81 career wins and less than 70 team wins? ### Answer: SELECT quarterback FROM table_name_33 WHERE career_wins > 81 AND teams = "seattle" AND team_wins < 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 technician (Name VARCHAR, Age VARCHAR) ### Question: Show the name of technicians aged either 36 or 37 ### Answer: SELECT Name FROM technician WHERE Age = 36 OR Age = 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_name_95 (away_team VARCHAR, home_team VARCHAR) ### Question: In the game against Essendon at home, what did the away team score? ### Answer: SELECT away_team AS score FROM table_name_95 WHERE home_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_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR) ### Question: When did the episode that had 3.69 million total viewers (Live and SD types combined) first air? ### Answer: SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "3.69 million"
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR) ### Question: What is the biggest crowd when carlton is the away squad? ### Answer: SELECT MAX(crowd) FROM table_name_48 WHERE away_team = "carlton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2102714_1 (archive VARCHAR, run_time VARCHAR) ### Question: What is he archive for the episode with a run time of 24:05? ### Answer: SELECT archive FROM table_2102714_1 WHERE run_time = "24:05"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (standing_broad_jump__cm_ VARCHAR, grade VARCHAR) ### Question: Which standing broad jump (cm) had the b grade? ### Answer: SELECT standing_broad_jump__cm_ FROM table_name_67 WHERE grade = "b"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (crowd INTEGER, home_team VARCHAR) ### Question: When the home team was Richmond, what was the largest crowd? ### Answer: SELECT MAX(crowd) FROM table_name_49 WHERE home_team = "richmond"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11965481_13 (game VARCHAR, date VARCHAR) ### Question: Name the number of games on june 12 ### Answer: SELECT COUNT(game) FROM table_11965481_13 WHERE date = "June 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 (league VARCHAR, play_off VARCHAR, year VARCHAR) ### Question: Which League that has no playoffs in the Year of 2008–09? ### Answer: SELECT league FROM table_name_17 WHERE play_off = "–" AND year = "2008–09"
Below is an context that describes a sql 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 (launched INTEGER, name VARCHAR) ### Question: Tell me the highest launced for trn ### Answer: SELECT MAX(launched) FROM table_name_1 WHERE name = "trn"
Below is an context that describes a sql 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 INTEGER, opponent VARCHAR, attendance VARCHAR) ### Question: What is the average week for the game against baltimore colts with less than 41,062 in attendance? ### Answer: SELECT AVG(week) FROM table_name_12 WHERE opponent = "baltimore colts" AND attendance < 41 OFFSET 062
Below is an context that describes a sql 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 (club VARCHAR) ### Question: Where did the Vitória de Setúbal club place in the 2006-2007 season? ### Answer: SELECT 2006 AS _2007_season FROM table_name_13 WHERE club = "vitória de setúbal"
Below is an context that describes a sql 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 (skipper VARCHAR, points VARCHAR) ### Question: Which skipper has 78 points? ### Answer: SELECT skipper FROM table_name_90 WHERE points = "78"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (country VARCHAR, to_par VARCHAR, money___$__ VARCHAR, score VARCHAR) ### Question: Which Country has a To par smaller than 6, and a Money ($) larger than 700, and a Score of 69-73-70-71=283? ### Answer: SELECT country FROM table_name_18 WHERE to_par < 6 AND money___$__ > 700 AND score = 69 - 73 - 70 - 71 = 283
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, color_code VARCHAR) ### Question: What is the name of the product with the color description 'yellow'? ### Answer: SELECT T1.product_name FROM products AS T1 JOIN ref_colors AS T2 ON T1.color_code = T2.color_code WHERE T2.color_description = 'yellow'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14242137_4 (oberliga_baden_württemberg VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR) ### Question: Name the oberliga for where tsv 1860 munich and borussia neunkirchen ### Answer: SELECT oberliga_baden_württemberg FROM table_14242137_4 WHERE oberliga_bayern = "TSV 1860 Munich" AND oberliga_südwest = "Borussia Neunkirchen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (date VARCHAR, name VARCHAR) ### Question: When is vanderbilt cup in? ### Answer: SELECT date FROM table_name_55 WHERE name = "vanderbilt cup"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR) ### Question: What was the score for the golfer from the country of fiji? ### Answer: SELECT COUNT(score) FROM table_name_88 WHERE country = "fiji"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23285805_8 (high_assists VARCHAR, team VARCHAR) ### Question: Who has the high assists when the team is Oklahoma City? ### Answer: SELECT high_assists FROM table_23285805_8 WHERE team = "Oklahoma 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_name_91 (race VARCHAR, track VARCHAR) ### Question: What race happened at Iowa Speedway? ### Answer: SELECT race FROM table_name_91 WHERE track = "iowa speedway"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341690_5 (party VARCHAR, district VARCHAR) ### Question: How many parties won the election in the California 23 district? ### Answer: SELECT COUNT(party) FROM table_1341690_5 WHERE district = "California 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_83 (venue VARCHAR, away_team VARCHAR) ### Question: Where did Essendon play as the away team? ### Answer: SELECT venue FROM table_name_83 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_19017269_5 (asia VARCHAR, latin_america_caribbean VARCHAR) ### Question: what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)? ### Answer: SELECT asia FROM table_19017269_5 WHERE latin_america_caribbean = "783 (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 phone (Company_name VARCHAR) ### Question: How many phone hardware models are produced by the company named "Nokia Corporation"? ### Answer: SELECT COUNT(*) FROM phone WHERE Company_name = "Nokia Corporation"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE matches (loser_name VARCHAR) ### Question: Find the number of distinct name of losers. ### Answer: SELECT COUNT(DISTINCT loser_name) FROM matches
Below is an context that describes a sql 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 (date VARCHAR, competition VARCHAR) ### Question: On what date was the Competition of Friendly held? ### Answer: SELECT date FROM table_name_70 WHERE competition = "friendly"
Below is an context that describes a sql 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 (team VARCHAR, year VARCHAR, overall_pick VARCHAR) ### Question: In 1981 which team picked overall 148? ### Answer: SELECT team FROM table_name_8 WHERE year = 1981 AND overall_pick = "148"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17355716_10 (high_rebounds VARCHAR, date VARCHAR) ### Question: what is the high rebounds stat on april 11 ### Answer: SELECT high_rebounds FROM table_17355716_10 WHERE date = "April 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_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) ### Question: Who proceeded to the quarter final when the london irish were eliminated from competition? ### Answer: SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29163303_2 (score VARCHAR, championship VARCHAR) ### Question: What are the results of those matches where the championship is French Open? ### Answer: SELECT score FROM table_29163303_2 WHERE championship = "French 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_13 (year_left INTEGER, location VARCHAR) ### Question: How much Year Left has a Location of howe? ### Answer: SELECT SUM(year_left) FROM table_name_13 WHERE location = "howe"
Below is an context that describes a sql 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 (time_retired VARCHAR, grid INTEGER) ### Question: What was the time of the driver in grid 2? ### Answer: SELECT time_retired FROM table_name_54 WHERE grid < 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 swimmer (nationality VARCHAR) ### Question: How many different countries are all the swimmers from? ### Answer: SELECT COUNT(DISTINCT nationality) FROM swimmer
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE INVOICE (BillingCountry VARCHAR) ### Question: What are the distinct billing countries of the invoices? ### Answer: SELECT DISTINCT (BillingCountry) FROM INVOICE
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (draw INTEGER, english_translation VARCHAR, place VARCHAR) ### Question: What is the lowest draw that has We The Lovers for the english translation, with a place greater than 1? ### Answer: SELECT MIN(draw) FROM table_name_26 WHERE english_translation = "we the lovers" AND place > 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_48 (final_score VARCHAR, date VARCHAR) ### Question: What is the Final score on november 22? ### Answer: SELECT final_score FROM table_name_48 WHERE date = "november 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_70 (team__number2 VARCHAR, team__number1 VARCHAR) ### Question: Which Team #2 has a Team #1 of gambrinus sika brno? ### Answer: SELECT team__number2 FROM table_name_70 WHERE team__number1 = "gambrinus sika brno"
Below is an context that describes a sql 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 (set_2 VARCHAR, total VARCHAR) ### Question: What set 2 has a total of 97–74? ### Answer: SELECT set_2 FROM table_name_85 WHERE total = "97–74"
Below is an context that describes a sql 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 (lost INTEGER, pct VARCHAR, tied VARCHAR, years VARCHAR) ### Question: What is the highest number lost when the number tied is more than 42, the years are less than 132, and the PCT is less than 0.5729000000000001? ### Answer: SELECT MAX(lost) FROM table_name_57 WHERE tied > 42 AND years < 132 AND pct < 0.5729000000000001
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR) ### Question: What is the football conference for Henniker, New Hampshire>? ### Answer: SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341453_20 (candidates VARCHAR, first_elected VARCHAR) ### Question: How many candidates were elected first in 1980? ### Answer: SELECT COUNT(candidates) FROM table_1341453_20 WHERE first_elected = 1980
Below is an context that describes a 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_41 (candidates VARCHAR, district VARCHAR) ### Question: Who were the candidates in the election in the Tennessee 9 district? ### Answer: SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 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_56 (country VARCHAR, notes VARCHAR, athlete VARCHAR) ### Question: Which country is the athlete latt shwe zin with notes of sc/d from? ### Answer: SELECT country FROM table_name_56 WHERE notes = "sc/d" AND athlete = "latt shwe zin"
Below is an context that describes a sql 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 (years_in_the_acc VARCHAR, founded VARCHAR, location VARCHAR) ### Question: What are the years in the ACC of an institution that was founded before 1885 and is located in College Park, Maryland? ### Answer: SELECT years_in_the_acc FROM table_name_24 WHERE founded < 1885 AND location = "college park, maryland"
Below is an context that describes a sql 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 (home_ground VARCHAR, position_in_2012_13 VARCHAR) ### Question: When the position in 2012-12 is 7th, third division what is the home ground? ### Answer: SELECT home_ground FROM table_name_24 WHERE position_in_2012_13 = "7th, third division"
Below is an context that describes a sql 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 (host_team VARCHAR, stadium VARCHAR) ### Question: What was the name of the host team at Texas stadium? ### Answer: SELECT host_team FROM table_name_1 WHERE stadium = "texas stadium"
Below is an context that describes a sql 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 (home_team VARCHAR, attendance INTEGER) ### Question: What is the home team of the match with an attendance greater than 202? ### Answer: SELECT home_team FROM table_name_22 WHERE attendance > 202
Below is an context that describes a sql 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 (engine VARCHAR, displacement VARCHAR, model VARCHAR) ### Question: Which of the engines has a displacement of 1,585 cc, with a model number of 90i? ### Answer: SELECT engine FROM table_name_78 WHERE displacement = "1,585 cc" AND model = "90i"
Below is an context that describes a sql 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 (position VARCHAR, school VARCHAR) ### Question: What position did the school of alabama draft? ### Answer: SELECT position FROM table_name_21 WHERE school = "alabama"
Below is an context that describes a sql 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 (representative_work VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) ### Question: What is the name of the Representative Work in a year later than 2005 with a Result of nominated, and an Award of best variety show host? ### Answer: SELECT representative_work FROM table_name_20 WHERE year > 2005 AND result = "nominated" AND award = "best variety show host"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR) ### Question: When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications? ### Answer: SELECT conversion_from_patent_application FROM table_2279413_1 WHERE maximum_term = "10 years" AND pct_route_available = "Yes"
Below is an context that describes a sql 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 (third_runner_up VARCHAR, year VARCHAR) ### Question: Can you tell me the Third runner-up that has the Year of 1969? ### Answer: SELECT third_runner_up FROM table_name_80 WHERE year = 1969
Below is an context that describes a 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 (lmp1_winning_team VARCHAR, gt1_winning_team VARCHAR) ### Question: When peter kox roman rusinov is the gt1 of the winning team how many lmp1 winning teams are there? ### Answer: SELECT COUNT(lmp1_winning_team) FROM table_19722436_2 WHERE gt1_winning_team = "Peter Kox Roman Rusinov"
Below is an context that describes a sql 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 (website VARCHAR, license VARCHAR) ### Question: What is Website, when License is Apache License 2.0? ### Answer: SELECT website FROM table_name_55 WHERE license = "apache license 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_25146455_1 (position INTEGER, winnings VARCHAR) ### Question: In what position was the driver who won $60,000? ### Answer: SELECT MIN(position) FROM table_25146455_1 WHERE winnings = "$60,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_55 (tyre VARCHAR, drivers VARCHAR, rounds VARCHAR, team VARCHAR) ### Question: What is the tyre of nismo team member satoshi motoyama when he has rounds of all? ### Answer: SELECT tyre FROM table_name_55 WHERE rounds = "all" AND team = "nismo" AND drivers = "satoshi motoyama"
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR) ### Question: What was the score of the game against Minnesota? ### Answer: SELECT score FROM table_name_55 WHERE opponent = "minnesota"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22822468_2 (share INTEGER, viewers__millions_ VARCHAR) ### Question: Name the most share for 2.76 million viewers ### Answer: SELECT MAX(share) FROM table_22822468_2 WHERE viewers__millions_ = "2.76"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (soccer VARCHAR, cross_country VARCHAR, school_year VARCHAR) ### Question: What is Soccer, when Cross Country is Lexington, and when School Year is 2011-12? ### Answer: SELECT soccer FROM table_name_74 WHERE cross_country = "lexington" AND school_year = "2011-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 vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR) ### Question: Which vocal type has the band mate with first name "Solveig" played the most? ### Answer: SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = "Solveig" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22034853_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What was the language for the movie "Late Bloomers"? ### Answer: SELECT language_s_ FROM table_22034853_1 WHERE film_title_used_in_nomination = "Late Bloomers"
Below is an context that describes a sql 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 (k_league_classic VARCHAR, teams INTEGER) ### Question: What K League classic had less than 10 teams? ### Answer: SELECT k_league_classic FROM table_name_3 WHERE teams < 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_26 (nation VARCHAR, bronze VARCHAR, gold VARCHAR) ### Question: What is the Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16? ### Answer: SELECT nation FROM table_name_26 WHERE bronze < 17 AND gold < 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_70 (away VARCHAR, score VARCHAR) ### Question: What is the Away with a Score that is 46-82? ### Answer: SELECT away FROM table_name_70 WHERE score = "46-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_22670216_1 (rnd VARCHAR, location VARCHAR, pole_position VARCHAR) ### Question: If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number? ### Answer: SELECT COUNT(rnd) FROM table_22670216_1 WHERE location = "Brooklyn, Michigan" AND pole_position = "Bobby Unser"
Below is an context that describes a sql 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 (bask VARCHAR, indoor_track VARCHAR, school VARCHAR) ### Question: What is the basketball status for Valparaiso who has an indoor track status of yes? ### Answer: SELECT bask FROM table_name_69 WHERE indoor_track = "yes" AND school = "valparaiso"
Below is an context that describes a sql 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 (gold_medals VARCHAR, appearances VARCHAR, silver_medals VARCHAR) ### Question: What is the total number of 4th place that has 3 appearances for 3, and a more than 0 silver medals, and no gold medals? ### Answer: SELECT COUNT(4 AS th_place) FROM table_name_27 WHERE appearances = 3 AND silver_medals > 0 AND gold_medals < 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_91 (position VARCHAR, years_for_grizzlies VARCHAR) ### Question: What position did the person who was with the grizzlies in 1998-1999 play? ### Answer: SELECT position FROM table_name_91 WHERE years_for_grizzlies = "1998-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_32 (fastest_lap VARCHAR, winning_driver VARCHAR) ### Question: What was Jimmy Vasser's fastest lap? ### Answer: SELECT fastest_lap FROM table_name_32 WHERE winning_driver = "jimmy vasser"
Below is an context that describes a sql 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 (lineup VARCHAR, competition VARCHAR, match VARCHAR) ### Question: What was the lineup for match 12 that had a competition of Group Stage? ### Answer: SELECT lineup FROM table_name_65 WHERE competition = "group stage" AND match = "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_26 (goals_for INTEGER, lost VARCHAR) ### Question: What is the highest number of goals for for teams with 25 losses? ### Answer: SELECT MAX(goals_for) FROM table_name_26 WHERE lost = 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_1205598_1 (nhl_team_s_ VARCHAR, nba_team_s_ VARCHAR) ### Question: What is the the name of the NHL team that is in the same market as the NBA team, Nuggets? ### Answer: SELECT nhl_team_s_ FROM table_1205598_1 WHERE nba_team_s_ = "Nuggets"
Below is an context that describes a sql 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 (pl_gp INTEGER, pick__number VARCHAR, rd__number VARCHAR) ### Question: What was the PI GP fpr pick# 235 for Rd# larger than 12? ### Answer: SELECT MIN(pl_gp) FROM table_name_18 WHERE pick__number = 235 AND rd__number > 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_16 (overall_record VARCHAR, team VARCHAR) ### Question: What is the overall record of the Ravens? ### Answer: SELECT overall_record FROM table_name_16 WHERE team = "ravens"