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 store (address_id VARCHAR); CREATE TABLE address (address VARCHAR, address_id VARCHAR)
### Question:
Where is store 1 located?
### Answer:
SELECT T2.address FROM store AS T1 JOIN address AS T2 ON T1.address_id = T2.address_id WHERE store_id = 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_8 (competition VARCHAR, event VARCHAR, venue VARCHAR, position VARCHAR)
### Question:
what is the competition in paris for the parallel bars with a position of 1st?
### Answer:
SELECT competition FROM table_name_8 WHERE venue = "paris" AND position = "1st" AND event = "parallel bars"
|
Below is an context that describes a sql 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 (school VARCHAR, city VARCHAR)
### Question:
Which school comes from Brookville?
### Answer:
SELECT school FROM table_name_57 WHERE city = "brookville"
|
Below is an context that describes a sql 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 (incumbent VARCHAR, district VARCHAR)
### Question:
Which Incumbent has a District of massachusetts 8?
### Answer:
SELECT incumbent FROM table_name_47 WHERE district = "massachusetts 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_62 (date VARCHAR, opponent VARCHAR)
### Question:
When was the opponent Arsenal?
### Answer:
SELECT date FROM table_name_62 WHERE opponent = "arsenal"
|
Below is an context that describes a sql 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 (week_5 VARCHAR, week_1 VARCHAR)
### Question:
What is the week 5 after Dani Dior as week 1?
### Answer:
SELECT week_5 FROM table_name_36 WHERE week_1 = "dani dior"
|
Below is an context that describes a sql 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 (opponents VARCHAR, date VARCHAR)
### Question:
Name the opponents for 24 july 2011
### Answer:
SELECT opponents FROM table_name_45 WHERE date = "24 july 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_17521433_1 (country VARCHAR, swimsuit VARCHAR)
### Question:
What country had a swimsuit score of 8.788?
### Answer:
SELECT country FROM table_17521433_1 WHERE swimsuit = "8.788"
|
Below is an context that describes a sql 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 (runner_s__up VARCHAR, date VARCHAR)
### Question:
Who is Runner(s)-up that has a Date of may 24, 1999?
### Answer:
SELECT runner_s__up FROM table_name_37 WHERE date = "may 24, 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_57 (year INTEGER, location VARCHAR)
### Question:
What is the sum for the year with a location of newport, rhode island?
### Answer:
SELECT SUM(year) FROM table_name_57 WHERE location = "newport, rhode island"
|
Below is an context that describes a sql 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 (score VARCHAR, dance VARCHAR, result VARCHAR)
### Question:
What was the score of the team that danced a jive and was safe?
### Answer:
SELECT score FROM table_name_65 WHERE dance = "jive" AND result = "safe"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR)
### Question:
What location has a home ground of n/a, and position in 2012-13 of 13th, third division?
### Answer:
SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, 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_97 (points_for_ordinary INTEGER, points_for_foundation VARCHAR)
### Question:
With 10 as the points for foundation, what is the maximum points for ordinary?
### Answer:
SELECT MAX(points_for_ordinary) FROM table_name_97 WHERE points_for_foundation = 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 (film_title_used_in_nomination VARCHAR, country VARCHAR)
### Question:
What is the film title used in nomination for the film from South Korea?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_26 WHERE country = "south korea"
|
Below is an context that describes a sql 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 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
### Question:
How many laps have a Time/Retired of + 4 laps, and a Driver of graham hill?
### Answer:
SELECT laps FROM table_name_3 WHERE time_retired = "+ 4 laps" AND driver = "graham 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 (goals_against INTEGER, points VARCHAR, games VARCHAR, lost VARCHAR)
### Question:
How many goals against have 64 for games, a loss less than 12, with points greater than 107?
### Answer:
SELECT SUM(goals_against) FROM table_name_37 WHERE games = 64 AND lost < 12 AND points > 107
|
Below is an context that describes a sql 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 (home_team VARCHAR)
### Question:
In the match where footscray was the home team, how much did they score?
### Answer:
SELECT home_team AS score FROM table_name_55 WHERE home_team = "footscray"
|
Below is an context that describes a sql 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 (home_team VARCHAR, attendance VARCHAR)
### Question:
What home team had an attendance record of 16,971?
### Answer:
SELECT home_team FROM table_name_68 WHERE attendance = "16,971"
|
Below is an context that describes a sql 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 (player VARCHAR, school VARCHAR)
### Question:
Which player attended Hoover High School?
### Answer:
SELECT player FROM table_name_94 WHERE school = "hoover 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_1341663_26 (incumbent VARCHAR, candidates VARCHAR)
### Question:
How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
### Answer:
SELECT COUNT(incumbent) FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.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_18018214_2 (goals_conceded INTEGER, points VARCHAR)
### Question:
List the number of goals scored to equal 58.
### Answer:
SELECT MIN(goals_conceded) FROM table_18018214_2 WHERE points = 58
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1805919_1 (traditional_chinese VARCHAR, english_translation VARCHAR)
### Question:
How many traditional Chinese for the translation of "Crossing the River"?
### Answer:
SELECT COUNT(traditional_chinese) FROM table_1805919_1 WHERE english_translation = "Crossing the River"
|
Below is an context that describes a sql 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 (money___ INTEGER, score VARCHAR)
### Question:
What is the highest Money ( $ ), when Score is "69-71-70-74=284"?
### Answer:
SELECT MAX(money___) AS $__ FROM table_name_65 WHERE score = 69 - 71 - 70 - 74 = 284
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29414946_3 (team VARCHAR, replaced_by VARCHAR)
### Question:
What team hired Renato Gaúcho?
### Answer:
SELECT team FROM table_29414946_3 WHERE replaced_by = "Renato Gaúcho"
|
Below is an context that describes a sql 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 (date VARCHAR, label VARCHAR)
### Question:
What is the date for CBS label?
### Answer:
SELECT date FROM table_name_48 WHERE label = "cbs"
|
Below is an context that describes a sql 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 (attendance VARCHAR, game_site VARCHAR, result VARCHAR)
### Question:
Game Site of hoosier dome, and a Result of l 7–31 involved what attendance?
### Answer:
SELECT attendance FROM table_name_29 WHERE game_site = "hoosier dome" AND result = "l 7–31"
|
Below is an context that describes a sql 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 (surface VARCHAR, outcome VARCHAR, score VARCHAR)
### Question:
What is the Surface of the match with winner as outcome and a score of 7–5, 7–5?
### Answer:
SELECT surface FROM table_name_76 WHERE outcome = "winner" AND score = "7–5, 7–5"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (course VARCHAR, date VARCHAR)
### Question:
Name the course for 24 july
### Answer:
SELECT course FROM table_name_29 WHERE date = "24 july"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29202276_2 (train_number INTEGER, time VARCHAR)
### Question:
What is the train number when the time is 10:38?
### Answer:
SELECT MAX(train_number) FROM table_29202276_2 WHERE time = "10:38"
|
Below is an context that describes a sql 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 (year_named INTEGER, name VARCHAR)
### Question:
What is the year that nahete colles was named?
### Answer:
SELECT MAX(year_named) FROM table_name_1 WHERE name = "nahete colles"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR)
### Question:
What was the margin of the Masters Tournament?
### Answer:
SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament"
|
Below is an context that describes a sql 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 (rank INTEGER, heat INTEGER)
### Question:
Which Rank has a Heat larger than 7?
### Answer:
SELECT MAX(rank) FROM table_name_58 WHERE heat > 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 COUNTRIES (CountryName VARCHAR, Continent VARCHAR, CountryId VARCHAR); CREATE TABLE CONTINENTS (ContId VARCHAR, Continent VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)
### Question:
Which countries in europe have at least 3 car manufacturers?
### Answer:
SELECT T1.CountryName FROM COUNTRIES AS T1 JOIN CONTINENTS AS T2 ON T1.Continent = T2.ContId JOIN CAR_MAKERS AS T3 ON T1.CountryId = T3.Country WHERE T2.Continent = 'europe' GROUP BY T1.CountryName HAVING COUNT(*) >= 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_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)
### Question:
What is the total average for swimsuits smaller than 9.62 in Colorado?
### Answer:
SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2175685_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR)
### Question:
How many miles (km) were driven when the average speed (mph) was 103.145?
### Answer:
SELECT miles__km_ FROM table_2175685_1 WHERE average_speed__mph_ = "103.145"
|
Below is an context that describes a sql 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 (athlete VARCHAR, data VARCHAR)
### Question:
Who has a walking data of 3:10:48+?
### Answer:
SELECT athlete FROM table_name_11 WHERE data = "3:10:48+"
|
Below is an context that describes a sql 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 (points INTEGER, date VARCHAR)
### Question:
What were the lowest points on march 2?
### Answer:
SELECT MIN(points) FROM table_name_56 WHERE date = "march 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 festival_detail (Num_of_Audience VARCHAR, YEAR VARCHAR)
### Question:
Show the number of audience in year 2008 or 2010.
### Answer:
SELECT Num_of_Audience FROM festival_detail WHERE YEAR = 2008 OR 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_86 (no_of_villages INTEGER, name_of_janapada VARCHAR)
### Question:
What is the average number of villages with a name of janapada of Punia?
### Answer:
SELECT AVG(no_of_villages) FROM table_name_86 WHERE name_of_janapada = "punia"
|
Below is an context that describes a sql 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 (nationality VARCHAR, position VARCHAR, college_high_school_club VARCHAR)
### Question:
What is the nationality of the person drafted to Position F from Kentucky State?
### Answer:
SELECT nationality FROM table_name_7 WHERE position = "f" AND college_high_school_club = "kentucky state"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_189893_1 (population__2011_ INTEGER)
### Question:
What is the lowest population(2011)?
### Answer:
SELECT MIN(population__2011_) FROM table_189893_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_1566852_3 (cover_model VARCHAR, centerfold_model VARCHAR)
### Question:
WHO WAS THE COVER MODEL OF PLAYBOY WHERE THE CENTERFOLD MODEL WAS SHALLAN MEIERS?
### Answer:
SELECT cover_model FROM table_1566852_3 WHERE centerfold_model = "Shallan Meiers"
|
Below is an context that describes a sql 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 (division INTEGER, year INTEGER)
### Question:
What is the highest division for years earlier than 2011?
### Answer:
SELECT MAX(division) FROM table_name_27 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_77 (laps INTEGER, driver VARCHAR)
### Question:
What are the average laps for jackie stewart?
### Answer:
SELECT AVG(laps) FROM table_name_77 WHERE driver = "jackie stewart"
|
Below is an context that describes 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 (tourney_name VARCHAR)
### Question:
Find the name of tourney that has more than 10 matches.
### Answer:
SELECT tourney_name FROM matches GROUP BY tourney_name HAVING COUNT(*) > 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_64 (d_49 VARCHAR, d_46 VARCHAR)
### Question:
Tell me the D 49 and D 46 of r 13
### Answer:
SELECT d_49 FROM table_name_64 WHERE d_46 = "r 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_19061741_3 (duration VARCHAR, name VARCHAR)
### Question:
When joj agpangan* is the name how many duration's are there?
### Answer:
SELECT COUNT(duration) FROM table_19061741_3 WHERE name = "Joj Agpangan*"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17323042_8 (date VARCHAR, team VARCHAR)
### Question:
When did they play Miami?
### Answer:
SELECT date FROM table_17323042_8 WHERE team = "Miami"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17058226_5 (team VARCHAR, high_assists VARCHAR)
### Question:
What opposing team was playing when sebastian telfair (7) had the highest assists?
### Answer:
SELECT team FROM table_17058226_5 WHERE high_assists = "Sebastian Telfair (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_22847880_2 (record VARCHAR, opponent VARCHAR)
### Question:
Name the record for kentucky
### Answer:
SELECT record FROM table_22847880_2 WHERE opponent = "Kentucky"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16331025_2 (tickets_sold___available VARCHAR, sellout___percentage_ VARCHAR)
### Question:
What is the position of tickets sold/available when the sellout is 82%?
### Answer:
SELECT COUNT(tickets_sold___available) FROM table_16331025_2 WHERE sellout___percentage_ = "82%"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (tie_no INTEGER, attendance VARCHAR)
### Question:
what is the tie no when the attendance is 126?
### Answer:
SELECT AVG(tie_no) FROM table_name_66 WHERE attendance = 126
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (position VARCHAR, competition VARCHAR, year VARCHAR)
### Question:
What position did the player play in the european cross country championships in 2008?
### Answer:
SELECT position FROM table_name_90 WHERE competition = "european cross country championships" AND year = 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_10812938_3 (player VARCHAR, college VARCHAR)
### Question:
Which player went to college at Saint Mary's?
### Answer:
SELECT player FROM table_10812938_3 WHERE college = "Saint Mary's"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26166836_1 (road_race VARCHAR, country VARCHAR, location VARCHAR)
### Question:
How many races were in fukuoka, japan?
### Answer:
SELECT COUNT(road_race) FROM table_26166836_1 WHERE country = "Japan" AND location = "Fukuoka"
|
Below is an context that describes a sql 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 (s_no INTEGER, match_date VARCHAR)
### Question:
What is the highest S No, when the Match Date is Nov 1, 2003?
### Answer:
SELECT MAX(s_no) FROM table_name_8 WHERE match_date = "nov 1, 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_72 (total INTEGER, data_processing_and_exploitation VARCHAR, management_and_support VARCHAR)
### Question:
What is the lowest total data processing and exploitation of 00 0,228, and a management and support larger than 1,7?
### Answer:
SELECT MIN(total) FROM table_name_72 WHERE data_processing_and_exploitation = "00 0,228" AND management_and_support > 1 OFFSET 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_44 (record VARCHAR, loss VARCHAR)
### Question:
Which Record has a Loss of o'connor (0-1)?
### Answer:
SELECT record FROM table_name_44 WHERE loss = "o'connor (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_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)
### Question:
What category was The Suite Life on Deck nominated for later than 2010?
### Answer:
SELECT category FROM table_name_62 WHERE recipient = "the suite life on deck" 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_name_36 (date VARCHAR, venue VARCHAR)
### Question:
Which Date has a Venue of lake oval?
### Answer:
SELECT date FROM table_name_36 WHERE venue = "lake 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_62 (position VARCHAR, game_1 VARCHAR)
### Question:
What position has colin scott as game 1?
### Answer:
SELECT position FROM table_name_62 WHERE game_1 = "colin scott"
|
Below is an context that describes a sql 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 (year INTEGER, binibining_pilipinas_international VARCHAR)
### Question:
What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson?
### Answer:
SELECT MIN(year) FROM table_name_90 WHERE binibining_pilipinas_international = "jessie alice salones dixson"
|
Below is an context that describes a sql 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 (rank VARCHAR, player VARCHAR)
### Question:
What rank is the team that has a player named Isco Alarcón?
### Answer:
SELECT rank FROM table_name_34 WHERE player = "isco alarcó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_75 (result VARCHAR, incumbent VARCHAR)
### Question:
When the incumbent was William Elliott, what was the result?
### Answer:
SELECT result FROM table_name_75 WHERE incumbent = "william elliott"
|
Below is an context that describes a sql 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 (lane INTEGER, overall_rank VARCHAR, time VARCHAR)
### Question:
What is the greatest lane with an overall rank of 79 and a time larger than 26.1?
### Answer:
SELECT MAX(lane) FROM table_name_24 WHERE overall_rank = "79" AND time > 26.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_77 (crowd INTEGER, venue VARCHAR)
### Question:
What was the lowest attendance at Windy Hill?
### Answer:
SELECT MIN(crowd) FROM table_name_77 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_1204998_2 (area VARCHAR, english_name VARCHAR)
### Question:
What is the area of the English name Shanghang County?
### Answer:
SELECT area FROM table_1204998_2 WHERE english_name = "Shanghang 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_10749367_3 (_number INTEGER, air_date VARCHAR)
### Question:
What episode aired on 18 April 2007?
### Answer:
SELECT MIN(_number) FROM table_10749367_3 WHERE air_date = "18 April 2007"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22673872_1 (race_name VARCHAR, location VARCHAR, winning_driver VARCHAR)
### Question:
How many races are in College Station, Texas and won by Johnny Rutherford?
### Answer:
SELECT COUNT(race_name) FROM table_22673872_1 WHERE location = "College Station, Texas" AND winning_driver = "Johnny Rutherford"
|
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR)
### Question:
How many bronzes have a Total of 9?
### Answer:
SELECT SUM(bronze) FROM table_name_68 WHERE total = 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_28846752_5 (bbi VARCHAR)
### Question:
how many 10wi and bbi is 6/101
### Answer:
SELECT COUNT(10 AS wi) FROM table_28846752_5 WHERE bbi = "6/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_name_67 (nominee VARCHAR, category VARCHAR)
### Question:
what was the nominee of best musical
### Answer:
SELECT nominee FROM table_name_67 WHERE category = "best musical"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12715053_1 (molecular_target VARCHAR, trademark VARCHAR)
### Question:
What is the molecular target listed under the trademark of irvalec ®
### Answer:
SELECT molecular_target FROM table_12715053_1 WHERE trademark = "Irvalec ®"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (opponent VARCHAR, game VARCHAR, record VARCHAR)
### Question:
Who was the opponent when they played after Game 26 and their record was 23-4?
### Answer:
SELECT opponent FROM table_name_2 WHERE game > 26 AND record = "23-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_9 (notes VARCHAR, date VARCHAR)
### Question:
What is Notes, when Date is 2007?
### Answer:
SELECT notes FROM table_name_9 WHERE date = "2007"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18183850_12 (outcome VARCHAR, opponent VARCHAR)
### Question:
What was the outcome of the game when the opponent was Magdaléna Rybáriková?
### Answer:
SELECT outcome FROM table_18183850_12 WHERE opponent = "Magdaléna Rybáriková"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341577_10 (party VARCHAR, result VARCHAR)
### Question:
what's party with result being retired to run for u. s. senate republican hold
### Answer:
SELECT party FROM table_1341577_10 WHERE result = "Retired to run for U. S. Senate Republican hold"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23211041_10 (location_attendance VARCHAR, team VARCHAR)
### Question:
Name the location attendance for utah
### Answer:
SELECT location_attendance FROM table_23211041_10 WHERE team = "Utah"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (winner VARCHAR, date VARCHAR)
### Question:
Who is the Winner on June 2, 2007?
### Answer:
SELECT winner FROM table_name_44 WHERE date = "june 2, 2007"
|
Below is an context that describes a sql 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 (player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)
### Question:
What Player has a Place of t10, a Country of united states, and a Score of 67-73=140?
### Answer:
SELECT player FROM table_name_54 WHERE place = "t10" AND country = "united states" AND score = 67 - 73 = 140
|
Below is an context that describes a sql 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 (weight__kg_ INTEGER, birthdate VARCHAR)
### Question:
What is that if the weight for the play born on June 2, 1983?
### Answer:
SELECT SUM(weight__kg_) FROM table_name_90 WHERE birthdate = "june 2, 1983"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_256862_1 (legs INTEGER, winning_yacht VARCHAR)
### Question:
Name the most legs for steinlager 2
### Answer:
SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = "Steinlager 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_27704187_11 (location_attendance VARCHAR, game VARCHAR)
### Question:
Where did they play and how many attended game number 75?
### Answer:
SELECT location_attendance FROM table_27704187_11 WHERE game = 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_1181375_1 (builder VARCHAR, withdrawn VARCHAR)
### Question:
what's the builder where withdrawn is 1954–1958
### Answer:
SELECT builder FROM table_1181375_1 WHERE withdrawn = "1954–1958"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (team__number2 VARCHAR)
### Question:
Tell me the 1st leg for antwerp bc
### Answer:
SELECT 1 AS st_leg FROM table_name_10 WHERE team__number2 = "antwerp bc"
|
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
If the Away team is north melbourne, what's the Home team score?
### Answer:
SELECT home_team AS score FROM table_name_18 WHERE away_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_42 (round VARCHAR, opponent VARCHAR)
### Question:
In which round was Gabriel Veiga the opponent?
### Answer:
SELECT round FROM table_name_42 WHERE opponent = "gabriel veiga"
|
Below is an context that describes a sql 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 (l2_cache VARCHAR, sspec_number VARCHAR)
### Question:
What is the L2 cache with ec number of slbmm(c2)slbsr(k0)?
### Answer:
SELECT l2_cache FROM table_name_92 WHERE sspec_number = "slbmm(c2)slbsr(k0)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11621799_1 (winner VARCHAR, score VARCHAR)
### Question:
Who was the winner when the score was 281 (-6)?
### Answer:
SELECT winner FROM table_11621799_1 WHERE score = "281 (-6)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (main_span_metres VARCHAR, main_span_feet VARCHAR, year_to_open VARCHAR, country VARCHAR)
### Question:
What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585?
### Answer:
SELECT main_span_metres FROM table_name_23 WHERE year_to_open = 2013 AND country = "china" AND main_span_feet = "2,585"
|
Below is an context that describes a sql 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 (year VARCHAR, qual VARCHAR)
### Question:
The 147.481 Qual, happened in what year?
### Answer:
SELECT year FROM table_name_15 WHERE qual = "147.481"
|
Below is an context that describes a sql 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 (name VARCHAR, overall INTEGER)
### Question:
Who is drafted overall less than 49?
### Answer:
SELECT name FROM table_name_27 WHERE overall < 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_name_81 (winning_team VARCHAR, pole_position VARCHAR, date VARCHAR)
### Question:
Who's the Winning team with a Pole position of robby gordon, and a Date of june 11?
### Answer:
SELECT winning_team FROM table_name_81 WHERE pole_position = "robby gordon" AND date = "june 11"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (injured VARCHAR, place VARCHAR, killed VARCHAR)
### Question:
How many people were injured in total in East Champaran, Bihar with more than 2 people killed?
### Answer:
SELECT COUNT(injured) FROM table_name_83 WHERE place = "east champaran, bihar" AND killed > 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_15945862_1 (september VARCHAR, november VARCHAR)
### Question:
What september has 10.35 in November?
### Answer:
SELECT september FROM table_15945862_1 WHERE november = "10.35"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (second VARCHAR, nation VARCHAR)
### Question:
Who was second for the United States team?
### Answer:
SELECT second FROM table_name_35 WHERE nation = "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_name_39 (season VARCHAR, games VARCHAR)
### Question:
What season has a Games listed of 10?
### Answer:
SELECT season FROM table_name_39 WHERE games = "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_92 (draws INTEGER, wins VARCHAR, losses VARCHAR)
### Question:
How many draws are there when there are 11 wins, and more than 7 losses?
### Answer:
SELECT SUM(draws) FROM table_name_92 WHERE wins = 11 AND losses > 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_88 (score VARCHAR, date VARCHAR)
### Question:
What is the score on 22 january 2008?
### Answer:
SELECT score FROM table_name_88 WHERE date = "22 january 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_63 (date VARCHAR, venue VARCHAR)
### Question:
On what date did the match at Lake Oval take place?
### Answer:
SELECT date FROM table_name_63 WHERE venue = "lake oval"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.