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_76 (games INTEGER, points VARCHAR, rank VARCHAR, team VARCHAR)
### Question:
What is the game average that has a rank larger than 2 with team Olympiacos and points larger than 113?
### Answer:
SELECT AVG(games) FROM table_name_76 WHERE rank > 2 AND team = "olympiacos" AND points > 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_42 (location VARCHAR, race VARCHAR)
### Question:
Where was the argentine grand prix?
### Answer:
SELECT location FROM table_name_42 WHERE race = "argentine grand prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Student_Addresses (monthly_rental INTEGER)
### Question:
Find the maximum and minimum monthly rental for all student addresses.
### Answer:
SELECT MAX(monthly_rental), MIN(monthly_rental) FROM Student_Addresses |
Below is an context that describes a sql 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 (player VARCHAR, school_club_team_country VARCHAR)
### Question:
What player had a school of missouri
### Answer:
SELECT player FROM table_name_13 WHERE school_club_team_country = "missouri" |
Below is an context that describes a sql 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 (one_mora VARCHAR, three_mora_word VARCHAR)
### Question:
What is the one mora for the three-mora word /˩haruꜜ/ [hàɽɯ́ ~ hàɽɯ̂]?
### Answer:
SELECT one_mora FROM table_name_29 WHERE three_mora_word = "/˩haruꜜ/ [hàɽɯ́ ~ hàɽɯ̂]" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16066063_1 (distance VARCHAR)
### Question:
How many passengers (in millions) flew through along the route that is 1075km long in 2012?
### Answer:
SELECT 2012 AS _passengers__in_millions_ FROM table_16066063_1 WHERE distance = "1075km" |
Below is an context that describes a sql 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 (date VARCHAR, outcome VARCHAR, score VARCHAR)
### Question:
Name the date with outcome of winner and score of 4–6 6–2 7–6 (7–4)
### Answer:
SELECT date FROM table_name_25 WHERE outcome = "winner" AND score = "4–6 6–2 7–6 (7–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_11964154_9 (team VARCHAR, date VARCHAR)
### Question:
what's the team where date is february 8
### Answer:
SELECT team FROM table_11964154_9 WHERE date = "February 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_45 (shoulder_charge VARCHAR, body_tackle VARCHAR)
### Question:
Which shoulder charge has restricted as the body tackle?
### Answer:
SELECT shoulder_charge FROM table_name_45 WHERE body_tackle = "restricted" |
Below is an context that describes a sql 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 (model VARCHAR, years VARCHAR)
### Question:
What was the model that had years 2004-?
### Answer:
SELECT model FROM table_name_67 WHERE years = "2004-" |
Below is an context that describes a sql 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 (year_joined VARCHAR, school VARCHAR)
### Question:
What year did a school from Jennings County join?
### Answer:
SELECT year_joined FROM table_name_5 WHERE school = "jennings county" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
### Question:
How many million U.s. Viewers watched episode 12 in the season?
### Answer:
SELECT us_viewers__millions_ FROM table_22265225_1 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_79 (kk___1 VARCHAR, kk___3 VARCHAR)
### Question:
What is KK -1 if KK -3 is 1,100?
### Answer:
SELECT kk___1 FROM table_name_79 WHERE kk___3 = "1,100" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15926991_1 (group VARCHAR, time VARCHAR)
### Question:
Which group had the time 1:11.65?
### Answer:
SELECT group FROM table_15926991_1 WHERE time = "1:11.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_9 (score1 VARCHAR, match VARCHAR)
### Question:
What is the Score1 of Match 42?
### Answer:
SELECT score1 FROM table_name_9 WHERE match = 42 |
Below is an context that describes a sql 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 (home__2nd_leg_ VARCHAR)
### Question:
What was the 2nd leg score when atlético tucumán played at home?
### Answer:
SELECT 2 AS nd_leg FROM table_name_84 WHERE home__2nd_leg_ = "atlético tucumán" |
Below is an context that describes a sql 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 (races INTEGER, season VARCHAR, podiums VARCHAR, position VARCHAR)
### Question:
How many races have less than 2 podiums and 19th position before 2009?
### Answer:
SELECT AVG(races) FROM table_name_56 WHERE podiums < 2 AND position = "19th" AND season < 2009 |
Below is an context that describes a sql 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 (erp_w INTEGER, call_sign VARCHAR)
### Question:
What is listed as the highest ERP W with a Call sign of W262AC?
### Answer:
SELECT MAX(erp_w) FROM table_name_22 WHERE call_sign = "w262ac" |
Below is an context that describes a sql 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 (against INTEGER, difference VARCHAR, position VARCHAR)
### Question:
Difference of - 20, and a Position smaller than 17 is the highest against?
### Answer:
SELECT MAX(against) FROM table_name_47 WHERE difference = "- 20" AND position < 17 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (english VARCHAR, sanskrit VARCHAR)
### Question:
Which English has a Sanskrit of samādhi?
### Answer:
SELECT english FROM table_name_42 WHERE sanskrit = "samādhi" |
Below is an context that describes a sql 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 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
### Question:
What is Runner(s)-Up when Margin of Victory is 6 Strokes?
### Answer:
SELECT runner_s__up FROM table_name_87 WHERE margin_of_victory = "6 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25531112_2 (challenge VARCHAR, circuit VARCHAR)
### Question:
Who made the challenge on the Albert Park Grand Prix Circuit?
### Answer:
SELECT challenge FROM table_25531112_2 WHERE circuit = "Albert Park Grand Prix circuit" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16162581_1 (date__ce_ VARCHAR, pinyin VARCHAR)
### Question:
Name the date for qíngyuán … yìmǎ
### Answer:
SELECT date__ce_ FROM table_16162581_1 WHERE pinyin = "qíngyuán … yìmǎ" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)
### Question:
What are the ids of the problems reported after the date of any problems reported by Rylan Homenick?
### Answer:
SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported > (SELECT MAX(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = "Rylan" AND T4.staff_last_name = "Homenick") |
Below is an context that describes a sql 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 (sitalsasthi_carnival VARCHAR, kosal VARCHAR)
### Question:
What is the sitalsasthi carnival with sonepur as kosal?
### Answer:
SELECT sitalsasthi_carnival FROM table_name_97 WHERE kosal = "sonepur" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE trip (start_station_name VARCHAR, end_station_name VARCHAR, id VARCHAR)
### Question:
Give me the start station and end station for the trips with the three oldest id.
### Answer:
SELECT start_station_name, end_station_name FROM trip ORDER BY id 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_name_68 (team VARCHAR, season VARCHAR)
### Question:
What team did the 2003-04 winner play for?
### Answer:
SELECT team FROM table_name_68 WHERE season = "2003-04" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR)
### Question:
What was the lowest week at Ralph Wilson Stadium on October 7, 2001?
### Answer:
SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28367242_1 (name VARCHAR, incorporation_date__city_ VARCHAR)
### Question:
What is the name of the city which incorporated on july 16, 1860?
### Answer:
SELECT name FROM table_28367242_1 WHERE incorporation_date__city_ = "July 16, 1860" |
Below is an context that describes a sql 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 (nationality VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)
### Question:
Which nationality do the Montreal Canadiens belong to with a pick# of 25?
### Answer:
SELECT nationality FROM table_name_55 WHERE nhl_team = "montreal canadiens" AND pick__number = "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 Flight (departure_date VARCHAR, arrival_date VARCHAR, origin VARCHAR, destination VARCHAR)
### Question:
Show me the departure date and arrival date for all flights from Los Angeles to Honolulu.
### Answer:
SELECT departure_date, arrival_date FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu" |
Below is an context that describes a sql 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 (weeks_on_top INTEGER, artist VARCHAR)
### Question:
What is the longest weeks on top when the Artist was Bruce Hornsby and the Range?
### Answer:
SELECT MAX(weeks_on_top) FROM table_name_74 WHERE artist = "bruce hornsby and the range" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1805919_1 (standard_order INTEGER, english_translation VARCHAR)
### Question:
What is the place of "A Lament for Ying"?
### Answer:
SELECT MAX(standard_order) FROM table_1805919_1 WHERE english_translation = "A Lament for Ying" |
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR)
### Question:
On what Date was the Score 4–1?
### Answer:
SELECT date FROM table_name_76 WHERE score = "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_name_59 (result VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
What result was a date of 20/03/2008 with leeds as the opponent
### Answer:
SELECT result FROM table_name_59 WHERE opponent = "leeds" AND date = "20/03/2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (away_team VARCHAR, home_team VARCHAR)
### Question:
what was the away team for the north melbourne home team?
### Answer:
SELECT away_team FROM table_name_60 WHERE home_team = "north 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_73 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
### Question:
Who is the incumbent that is a republican and first elected before 1864?
### Answer:
SELECT incumbent FROM table_name_73 WHERE party = "republican" AND first_elected < 1864 |
Below is an context that describes a sql 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 (score INTEGER, place VARCHAR, player VARCHAR)
### Question:
What is Sum of Score, when Place is T2, and when Player is Justin Leonard?
### Answer:
SELECT SUM(score) FROM table_name_13 WHERE place = "t2" AND player = "justin leonard" |
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
When the record was 32-37 what was the score?
### Answer:
SELECT score FROM table_name_92 WHERE record = "32-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_7 (game VARCHAR, year VARCHAR)
### Question:
What game was in 2011?
### Answer:
SELECT game FROM table_name_7 WHERE year = 2011 |
Below is an context that describes a sql 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 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
### Question:
How many laps did John Love have on a grid less than 11?
### Answer:
SELECT laps FROM table_name_18 WHERE grid < 11 AND driver = "john love" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR)
### Question:
How many positions are associated with the St. Louis Blues?
### Answer:
SELECT COUNT(position) FROM table_2850912_4 WHERE nhl_team = "St. Louis Blues" |
Below is an context that describes a sql 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 (miss_maja_pilipinas VARCHAR, second_runner_up VARCHAR)
### Question:
Can you tell me the Miss Pilipinas that has the Second runner-up of maria penson?
### Answer:
SELECT miss_maja_pilipinas FROM table_name_55 WHERE second_runner_up = "maria penson" |
Below is an context that describes a sql 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 (season INTEGER, winners VARCHAR, fourth_placed VARCHAR)
### Question:
What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th?
### Answer:
SELECT SUM(season) FROM table_name_1 WHERE winners = "dalian wanda" AND fourth_placed = "yanbian aodong" |
Below is an context that describes a sql 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 (total VARCHAR, player VARCHAR)
### Question:
What is Total, when Player is "Hale Irwin"?
### Answer:
SELECT total FROM table_name_12 WHERE player = "hale irwin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20140132_1 (head_coach VARCHAR, venue VARCHAR)
### Question:
Who is the head coach of the team who's venue is Lokomotiv?
### Answer:
SELECT head_coach FROM table_20140132_1 WHERE venue = "Lokomotiv" |
Below is an context that describes a sql 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 (order_year VARCHAR, model VARCHAR, builder VARCHAR, length__ft_ VARCHAR)
### Question:
What is the order year of obi builder and 05.505 model that is 30 feet long?
### Answer:
SELECT order_year FROM table_name_89 WHERE builder = "obi" AND length__ft_ = "30" AND model = "05.505" |
Below is an context that describes a sql 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 (rank INTEGER, director VARCHAR)
### Question:
What is the highest Rank, when Director is "Henry Hathaway"?
### Answer:
SELECT MAX(rank) FROM table_name_63 WHERE director = "henry hathaway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29002641_1 (Serial INTEGER, scrapped VARCHAR)
### Question:
Name the most serial number for feb 1994
### Answer:
SELECT MAX(Serial) AS number FROM table_29002641_1 WHERE scrapped = "Feb 1994" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (Id VARCHAR)
### Question:
What is the value for 2011 corresponding to a 2007 value of 1r?
### Answer:
SELECT 2011 FROM table_name_32 WHERE 2007 = "1r" |
Below is an context that describes a sql 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 (candidate VARCHAR, race VARCHAR)
### Question:
Who is the candidate in Race for State representative, hd18?
### Answer:
SELECT candidate FROM table_name_57 WHERE race = "state representative, hd18" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20361783_1 (womens_doubles VARCHAR, year VARCHAR)
### Question:
who won womens doubles in 2010
### Answer:
SELECT womens_doubles FROM table_20361783_1 WHERE 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_name_42 (time VARCHAR, rank VARCHAR, rider VARCHAR)
### Question:
What is the time value for the rider Brian Finch and a rank greater than 3?
### Answer:
SELECT time FROM table_name_42 WHERE rank > 3 AND rider = "brian finch" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR)
### Question:
What was the position in 1959-1960 for the club that had 14 seasons at this level?
### Answer:
SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12842068_1 (film_title_used_in_nomination VARCHAR, submitting_country VARCHAR)
### Question:
What was the title of the movie from lebanon?
### Answer:
SELECT film_title_used_in_nomination FROM table_12842068_1 WHERE submitting_country = "Lebanon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_143554_1 (timeslot VARCHAR, season VARCHAR)
### Question:
Name the timeslot for season 5
### Answer:
SELECT timeslot FROM table_143554_1 WHERE season = 5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (Id VARCHAR)
### Question:
What is 2007, when 2000 is "0 / 4"?
### Answer:
SELECT 2007 FROM table_name_89 WHERE 2000 = "0 / 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_78 (team__number2 VARCHAR, team__number1 VARCHAR)
### Question:
Tell me the team 2 for handelsministerium vienna
### Answer:
SELECT team__number2 FROM table_name_78 WHERE team__number1 = "handelsministerium vienna" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2985714_2 (draws VARCHAR, tournament VARCHAR)
### Question:
When jordan fa cup is the tournament how many draws?
### Answer:
SELECT COUNT(draws) FROM table_2985714_2 WHERE tournament = "Jordan FA 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 Claims (Amount_Settled VARCHAR, Amount_Claimed VARCHAR)
### Question:
Among all the claims, what is the amount claimed in the claim with the least amount settled? List both the settlement amount and claim amount.
### Answer:
SELECT Amount_Settled, Amount_Claimed FROM Claims ORDER BY Amount_Settled 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_22815568_13 (market_income_per_capita VARCHAR, county VARCHAR)
### Question:
what is the market income per capita where the county is hancock?
### Answer:
SELECT market_income_per_capita FROM table_22815568_13 WHERE county = "Hancock" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15887683_15 (television_service VARCHAR, language VARCHAR, n° VARCHAR)
### Question:
How many television service are in italian and n°is greater than 856.0?
### Answer:
SELECT television_service FROM table_15887683_15 WHERE language = "Italian" AND n° > 856.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_18 (goals_for INTEGER, points VARCHAR, losses VARCHAR, position VARCHAR)
### Question:
Name the most goals with losses less than 15 and position more than 8 with points of 42+4
### Answer:
SELECT MAX(goals_for) FROM table_name_18 WHERE losses < 15 AND position > 8 AND points = "42+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_22 (name VARCHAR, career_caps VARCHAR, tour_apps VARCHAR, tests VARCHAR)
### Question:
What name has tour Apps larger than 7, tests larger than 4, and a Career caps of 20?
### Answer:
SELECT name FROM table_name_22 WHERE tour_apps > 7 AND tests > 4 AND career_caps = 20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (week INTEGER, result VARCHAR)
### Question:
Which week has a result L 56-3?
### Answer:
SELECT AVG(week) FROM table_name_93 WHERE result = "l 56-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_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
### Question:
On what date did the match against Flavio Cipolla, played on a clay surface, occur?
### Answer:
SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17802778_1 (laps VARCHAR, year VARCHAR)
### Question:
How many laps recorded in 2001?
### Answer:
SELECT laps FROM table_17802778_1 WHERE year = 2001 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (open_cup VARCHAR, year VARCHAR)
### Question:
which open cup was in 2012?
### Answer:
SELECT open_cup FROM table_name_36 WHERE year = "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_1008653_1 (official_or_native_language_s___alphabet_script_ VARCHAR, capital___exonym__ VARCHAR)
### Question:
What official or native languages are spoken in the country whose capital city is Canberra?
### Answer:
SELECT official_or_native_language_s___alphabet_script_ FROM table_1008653_1 WHERE capital___exonym__ = "Canberra" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What is the record on June 13?
### Answer:
SELECT record FROM table_name_57 WHERE date = "june 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_29583818_3 (place VARCHAR, couple VARCHAR)
### Question:
How many times is the couple laura and colin?
### Answer:
SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Laura and Colin" |
Below is an context that describes a sql 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 (lengths_behind VARCHAR, jockey VARCHAR)
### Question:
What's the lengths behind of Jockey Ramon A. Dominguez?
### Answer:
SELECT lengths_behind FROM table_name_63 WHERE jockey = "ramon a. dominguez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (round INTEGER, time VARCHAR)
### Question:
What is the highest number of rounds for a 3:16 fight?
### Answer:
SELECT MAX(round) FROM table_name_98 WHERE time = "3: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_95 (home_team VARCHAR, score VARCHAR)
### Question:
What is the home team of the game that ended with a score of 0-1?
### Answer:
SELECT home_team FROM table_name_95 WHERE score = "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_13688489_1 (matches VARCHAR, goals_olimpia VARCHAR)
### Question:
What was the number of matches when the Goals Olimpia was 149?
### Answer:
SELECT matches FROM table_13688489_1 WHERE goals_olimpia = 149 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1966992_1 (census_2006_population INTEGER, lga_name VARCHAR)
### Question:
What is the maximum 2006 census population of LGA name Opobo/Nkoro?
### Answer:
SELECT MAX(census_2006_population) FROM table_1966992_1 WHERE lga_name = "Opobo/Nkoro" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1706942_1 (q1_order INTEGER, driver VARCHAR)
### Question:
What is the Q1 order for Felipe Massa?
### Answer:
SELECT MAX(q1_order) FROM table_1706942_1 WHERE driver = "Felipe Massa" |
Below is an context that describes a sql 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 (position INTEGER, difference VARCHAR, played VARCHAR)
### Question:
What position was played with a Difference of - 5, and a Played larger than 14?
### Answer:
SELECT AVG(position) FROM table_name_48 WHERE difference = "- 5" AND played > 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_50 (fa_cup INTEGER, total VARCHAR, fa_trophy VARCHAR, club VARCHAR)
### Question:
What is the sum of FA cups of club Stalybridge Celtic, which has more than 0 FA trophies and a total less than 20?
### Answer:
SELECT SUM(fa_cup) FROM table_name_50 WHERE fa_trophy > 0 AND club = "stalybridge celtic" AND total < 20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)
### Question:
What date shows the Outcome of winner against nikola fraňková carmen klaschka?
### Answer:
SELECT date FROM table_name_54 WHERE outcome = "winner" AND opponents_in_the_final = "nikola fraňková carmen klaschka" |
Below is an context that describes a sql 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 (record VARCHAR, time VARCHAR)
### Question:
What was his record when the match went for 3:05?
### Answer:
SELECT record FROM table_name_62 WHERE time = "3: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_89 (event VARCHAR, opponent VARCHAR)
### Question:
What event had the opponent Ryan Bow?
### Answer:
SELECT event FROM table_name_89 WHERE opponent = "ryan bow" |
Below is an context that describes a sql 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 (drawn INTEGER, played INTEGER)
### Question:
what is the highest drawn when played is more than 14?
### Answer:
SELECT MAX(drawn) FROM table_name_79 WHERE played > 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_1 (player VARCHAR, place VARCHAR)
### Question:
What is the Place 2 Player?
### Answer:
SELECT player FROM table_name_1 WHERE place = "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_34 (label VARCHAR, region VARCHAR, date VARCHAR)
### Question:
What is the label for the UK in 1996?
### Answer:
SELECT label FROM table_name_34 WHERE region = "uk" AND date = "1996" |
Below is an context that describes a sql 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 (school_club_team VARCHAR, position VARCHAR)
### Question:
What is the team that has forward-center as a position?
### Answer:
SELECT school_club_team FROM table_name_24 WHERE position = "forward-center" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (reference VARCHAR, japanese_title VARCHAR)
### Question:
What reference is used with the title アイシテル?
### Answer:
SELECT reference FROM table_name_39 WHERE japanese_title = "アイシテル" |
Below is an context that describes a sql 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 (english_title VARCHAR, chinese__simplified_ VARCHAR)
### Question:
What is 你 朋友's English title?
### Answer:
SELECT english_title FROM table_name_11 WHERE chinese__simplified_ = "你 朋友" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20854943_2 (position INTEGER, loa__metres_ VARCHAR)
### Question:
What position is the boat with 20.12 LOA (metres)?
### Answer:
SELECT MAX(position) FROM table_20854943_2 WHERE loa__metres_ = "20.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_16034882_4 (position INTEGER, loses VARCHAR)
### Question:
What position did the team with 3 losses finish?
### Answer:
SELECT MIN(position) FROM table_16034882_4 WHERE loses = 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_56 (Id VARCHAR)
### Question:
What is the highest 2007 value with a 1985 value greater than 52, a 1987 value greater than 130, and a 1990 less than 1990?
### Answer:
SELECT MAX(2007) FROM table_name_56 WHERE 1985 > 52 AND 1987 > 130 AND 1990 < 1990 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29418619_1 (former_school VARCHAR, hometown VARCHAR)
### Question:
What is the former school of the player from Detroit, MI?
### Answer:
SELECT former_school FROM table_29418619_1 WHERE hometown = "Detroit, MI" |
Below is an context that describes a sql 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 (no5 VARCHAR, no1 VARCHAR, no2 VARCHAR)
### Question:
Who is no. 5 when Lena Claudisabel is no. 1 and Lena Sylvie is no. 2?
### Answer:
SELECT no5 FROM table_name_29 WHERE no1 = "lena claudisabel" AND no2 = "lena sylvie" |
Below is an context that describes a sql 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 (maximum_diameter VARCHAR, name__year_commissioned_ VARCHAR)
### Question:
What is the maximum diameter of the Mid West Gas Pipeline (1999)?
### Answer:
SELECT maximum_diameter FROM table_name_57 WHERE name__year_commissioned_ = "mid west gas pipeline (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_60 (event VARCHAR, year VARCHAR, position VARCHAR)
### Question:
what is the event for the year less than 1913 with the position of 2nd?
### Answer:
SELECT event FROM table_name_60 WHERE year < 1913 AND position = "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 table_171666_1 (national_share___percentage_ VARCHAR, administrative_division VARCHAR)
### Question:
What is the national share of Guizhou's administrative division?
### Answer:
SELECT national_share___percentage_ FROM table_171666_1 WHERE administrative_division = "Guizhou" |
Below is an context that describes a sql 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 (country VARCHAR, format VARCHAR, label VARCHAR)
### Question:
Which country has Hydra Head Records with a 2lp format?
### Answer:
SELECT country FROM table_name_97 WHERE format = "2lp" AND label = "hydra head records" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1973842_2 (nickname VARCHAR, joined VARCHAR)
### Question:
What's the nickname of the students of the school that joined the Conference in 2010?
### Answer:
SELECT nickname FROM table_1973842_2 WHERE joined = 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_13564702_4 (points VARCHAR)
### Question:
What is the value of the points column when the value of the column lost is "lost"
### Answer:
SELECT points FROM table_13564702_4 WHERE "lost" = "lost" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR)
### Question:
What is Injured, when Date is "09.15 Sep. 15"?
### Answer:
SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15" |
Subsets and Splits