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 architect (name VARCHAR, id VARCHAR); CREATE TABLE bridge (length_meters INTEGER, architect_id VARCHAR)
### Question:
What is the maximum length in meters for the bridges and what are the architects' names?
### Answer:
SELECT MAX(T1.length_meters), T2.name FROM bridge AS T1 JOIN architect AS T2 ON T1.architect_id = T2.id |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
### Question:
Which language is the most popular in Aruba?
### Answer:
SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Aruba" ORDER BY Percentage 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_name_34 (death VARCHAR, birth VARCHAR)
### Question:
When did the person born on 6 january 1655 die?
### Answer:
SELECT death FROM table_name_34 WHERE birth = "6 january 1655" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13403120_1 (originalairdate VARCHAR, repeatairdate_s_ VARCHAR)
### Question:
What is the original date of the repeat air date of 26/01/1969?
### Answer:
SELECT originalairdate FROM table_13403120_1 WHERE repeatairdate_s_ = "26/01/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_name_37 (losses VARCHAR, goal_difference VARCHAR, position VARCHAR)
### Question:
What is the number of losses when the goal difference was -8, and position is smaller than 10?
### Answer:
SELECT COUNT(losses) FROM table_name_37 WHERE goal_difference = -8 AND position < 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_2 (model_number VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR)
### Question:
What is the model number with a release price of $303, and a sSpec number of sr14q(c0)?
### Answer:
SELECT model_number FROM table_name_2 WHERE release_price___usd__ = "$303" AND sspec_number = "sr14q(c0)" |
Below is an context that describes a sql 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 (position INTEGER, drawn VARCHAR, played VARCHAR, points VARCHAR)
### Question:
Which Position has a Played larger than 9, and a Points smaller than 11, and a Drawn smaller than 0?
### Answer:
SELECT MIN(position) FROM table_name_95 WHERE played > 9 AND points < 11 AND drawn < 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_1602858_1 (winning_score VARCHAR, runner_s__up VARCHAR)
### Question:
What was the winning score for the tournament with runner-up Rory Sabbatini?
### Answer:
SELECT winning_score FROM table_1602858_1 WHERE runner_s__up = "Rory Sabbatini" |
Below is an context that describes a sql 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 (pos INTEGER, car__number VARCHAR, driver VARCHAR)
### Question:
Which Pos has a Car # smaller than 18, and a Driver of mike skinner?
### Answer:
SELECT AVG(pos) FROM table_name_91 WHERE car__number < 18 AND driver = "mike skinner" |
Below is an context that describes a sql 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 (party VARCHAR, district VARCHAR)
### Question:
What is Illinois 13 District's Party?
### Answer:
SELECT party FROM table_name_59 WHERE district = "illinois 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_25 (home_or_away VARCHAR, shirt_number INTEGER)
### Question:
Can you tell me the Home or the Away that has the Shirt Number larger than 18?
### Answer:
SELECT home_or_away FROM table_name_25 WHERE shirt_number > 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (player VARCHAR, country VARCHAR)
### Question:
Name the player for fiji
### Answer:
SELECT player FROM table_name_29 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_1341577_44 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who were the candidates when Jack Fields was the incumbent?
### Answer:
SELECT candidates FROM table_1341577_44 WHERE incumbent = "Jack Fields" |
Below is an context that describes a sql 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 (torque VARCHAR, power VARCHAR, trim VARCHAR)
### Question:
What is the Torque that has a Power of hp (kw), and a Trim of xr (2009)? Question 6
### Answer:
SELECT torque FROM table_name_18 WHERE power = "hp (kw)" AND trim = "xr (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_24 (played VARCHAR, club VARCHAR)
### Question:
How many matches have Rhymney RFC played?
### Answer:
SELECT played FROM table_name_24 WHERE club = "rhymney rfc" |
Below is an context that describes a sql 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 (ground VARCHAR, away VARCHAR)
### Question:
On what grounds did the away team of the Toronto Rebels play?
### Answer:
SELECT ground FROM table_name_5 WHERE away = "toronto rebels" |
Below is an context that describes a sql 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 (high_rebounds VARCHAR, location VARCHAR, record VARCHAR)
### Question:
Who had the most rebounds in the game at the Mohegan Sun Arena that led to a 24-7 record?
### Answer:
SELECT high_rebounds FROM table_name_75 WHERE location = "mohegan sun arena" AND record = "24-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_1358608_4 (result VARCHAR, date VARCHAR)
### Question:
What was Northerly's result at the race on 19 Oct 2002?
### Answer:
SELECT result FROM table_1358608_4 WHERE date = "19 Oct 2002" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (penalty VARCHAR, player VARCHAR)
### Question:
What is the penalty for Jonathan Toews?
### Answer:
SELECT penalty FROM table_name_19 WHERE player = "jonathan toews" |
Below is an context that describes a sql 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 (weblink VARCHAR, college_or_campus_name VARCHAR)
### Question:
What Weblink has a College or Campus Name of anna university college of engineering kanchipuram?
### Answer:
SELECT weblink FROM table_name_85 WHERE college_or_campus_name = "anna university college of engineering kanchipuram" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17382360_9 (location_attendance VARCHAR, score VARCHAR)
### Question:
What was the location and attendance at the game where the final score is w 118-112?
### Answer:
SELECT location_attendance FROM table_17382360_9 WHERE score = "W 118-112" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (city_of_license VARCHAR, channels_tv___rf VARCHAR)
### Question:
Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf )
### Answer:
SELECT city_of_license FROM table_name_4 WHERE channels_tv___rf = "67 ( psip ) 29 ( uhf )" |
Below is an context that describes a sql 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 (home VARCHAR, league VARCHAR)
### Question:
What is the home for the league 3rd liga (iii)?
### Answer:
SELECT home FROM table_name_81 WHERE league = "3rd liga (iii)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR)
### Question:
What is the house colour associated with the house name of Kupe?
### Answer:
SELECT house_colour FROM table_1942683_1 WHERE house_name = "Kupe" |
Below is an context that describes a sql 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 (poles INTEGER, position VARCHAR, team VARCHAR)
### Question:
What is the lowest poles of team comtec racing, which has a nc position?
### Answer:
SELECT MIN(poles) FROM table_name_84 WHERE position = "nc" AND team = "comtec racing" |
Below is an context that describes a sql 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 (decision VARCHAR, home VARCHAR)
### Question:
Who made the decision when toronto was the home team?
### Answer:
SELECT decision FROM table_name_21 WHERE home = "toronto" |
Below is an context that describes a sql 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 (title VARCHAR, label VARCHAR, Nr VARCHAR, st VARCHAR)
### Question:
What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124?
### Answer:
SELECT title FROM table_name_3 WHERE label = "pacific jazz" AND label - Nr = st - 20124 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26173063_2 (× VARCHAR, faisaly VARCHAR)
### Question:
what is x when faisaly is 0-0?
### Answer:
SELECT × FROM table_26173063_2 WHERE faisaly = "0-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_2508633_4 (position VARCHAR, player VARCHAR)
### Question:
What number draft pick was linebacker Steve Maidlow in the 1983 NFL Draft?
### Answer:
SELECT position FROM table_2508633_4 WHERE player = "Steve Maidlow" |
Below is an context that describes a sql 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 (game_3 VARCHAR, game_2 VARCHAR)
### Question:
Wjat game 3 has ian french as a game of 2?
### Answer:
SELECT game_3 FROM table_name_92 WHERE game_2 = "ian french" |
Below is an context that describes a sql 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 (points VARCHAR, try_bonus VARCHAR, club VARCHAR)
### Question:
What is the points when the club is Barry RFC with a 5 as the try bonus?
### Answer:
SELECT points FROM table_name_27 WHERE try_bonus = "5" AND club = "barry rfc" |
Below is an context that describes a sql 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 (entrant VARCHAR, points VARCHAR, year VARCHAR)
### Question:
What Entrant has 0 points and from 1997?
### Answer:
SELECT entrant FROM table_name_67 WHERE points = 0 AND year = 1997 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (year INTEGER, class VARCHAR, wins VARCHAR)
### Question:
Class of 500cc, and a Wins smaller than 0 had what average year?
### Answer:
SELECT AVG(year) FROM table_name_75 WHERE class = "500cc" AND wins < 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_2534387_11 (winner VARCHAR, event__number VARCHAR)
### Question:
If the event number is 5, what is the winner total number?
### Answer:
SELECT COUNT(winner) FROM table_2534387_11 WHERE event__number = 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_56 (title VARCHAR, riaa VARCHAR)
### Question:
What is the title of the album that had a RIAA of gold?
### Answer:
SELECT title FROM table_name_56 WHERE riaa = "gold" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16710971_2 (opponents VARCHAR, record VARCHAR)
### Question:
How many opponents were there for the game recorded as 6-4 in the Atlanta Falcons 1978 season?
### Answer:
SELECT COUNT(opponents) FROM table_16710971_2 WHERE record = "6-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_29 (location_attendance VARCHAR, date VARCHAR)
### Question:
What was the Location/Attendance on Dec 2?
### Answer:
SELECT location_attendance FROM table_name_29 WHERE date = "dec 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_8 (points INTEGER, place INTEGER)
### Question:
Which places have points larger than 10?
### Answer:
SELECT MIN(points) FROM table_name_8 WHERE place > 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_86 (score VARCHAR, player VARCHAR)
### Question:
What was Ernie Els's score?
### Answer:
SELECT score FROM table_name_86 WHERE player = "ernie els" |
Below is an context that describes a sql 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 (venue VARCHAR, opponent VARCHAR)
### Question:
Where was the venue that Linfield was the opponent?
### Answer:
SELECT venue FROM table_name_58 WHERE opponent = "linfield" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29289372_1 (city_municipality VARCHAR, area__km²_ VARCHAR)
### Question:
When 106 is the area in kilometers squared what is the city/municipality?
### Answer:
SELECT city_municipality FROM table_29289372_1 WHERE area__km²_ = "106" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25461946_8 (date VARCHAR, team VARCHAR)
### Question:
When did they play Dayton?
### Answer:
SELECT date FROM table_25461946_8 WHERE team = "Dayton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18102421_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
### Question:
How many millions of U.S. viewers watched the episode directed by Allison Liddi-Brown?
### Answer:
SELECT us_viewers__millions_ FROM table_18102421_2 WHERE directed_by = "Allison Liddi-Brown" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE election (Vote_Percent INTEGER)
### Question:
What are the minimum and maximum vote percents of elections?
### Answer:
SELECT MIN(Vote_Percent), MAX(Vote_Percent) FROM election |
Below is an context that describes a sql 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 (school VARCHAR, mascot VARCHAR)
### Question:
Which School has a Mascot of generals?
### Answer:
SELECT school FROM table_name_21 WHERE mascot = "generals" |
Below is an context that describes a sql 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 (money___$__ VARCHAR, player VARCHAR)
### Question:
How much did Larry Nelson win?
### Answer:
SELECT money___$__ FROM table_name_73 WHERE player = "larry nelson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29273182_1 (written_by VARCHAR, production_code VARCHAR)
### Question:
Who wrote the episode with a production code of ip03007?
### Answer:
SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18638067_1 (year__ceremony_ VARCHAR, actor_actress VARCHAR, category VARCHAR)
### Question:
What year was Teresa Wright nominated best supporting actress?
### Answer:
SELECT year__ceremony_ FROM table_18638067_1 WHERE actor_actress = "Teresa Wright" AND category = "Best Supporting Actress" |
Below is an context that describes a sql 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 (meet VARCHAR, event VARCHAR)
### Question:
what is the meet when the event is flying 200 m time trial?
### Answer:
SELECT meet FROM table_name_99 WHERE event = "flying 200 m time trial" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26362472_1 (district VARCHAR, took_office VARCHAR)
### Question:
In how many district has a politician took office on 1844-10-14?
### Answer:
SELECT district FROM table_26362472_1 WHERE took_office = "1844-10-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_99 (player VARCHAR, to_par VARCHAR)
### Question:
Name the Player which has a To par of –6?
### Answer:
SELECT player FROM table_name_99 WHERE to_par = "–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_43 (date VARCHAR, loss VARCHAR)
### Question:
What date was the loss of sparks (0–1)?
### Answer:
SELECT date FROM table_name_43 WHERE loss = "sparks (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_94 (position VARCHAR, pick VARCHAR)
### Question:
What is pick 246's position?
### Answer:
SELECT position FROM table_name_94 WHERE pick = 246 |
Below is an context that describes a sql 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 (season VARCHAR, viewer_rank___number_ VARCHAR)
### Question:
What season had a viewer rank of #4?
### Answer:
SELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = "#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_24 (year VARCHAR, third VARCHAR)
### Question:
In which year did Kati Klinzing finish 3rd?
### Answer:
SELECT year FROM table_name_24 WHERE third = "kati klinzing" |
Below is an context that describes a sql 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 (artist VARCHAR, draw INTEGER)
### Question:
Which artist has a draw greater than 15?
### Answer:
SELECT artist FROM table_name_58 WHERE draw > 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (winning_score VARCHAR, date VARCHAR)
### Question:
What is the winning score of the tournament on 16 May 1993?
### Answer:
SELECT winning_score FROM table_name_20 WHERE date = "16 may 1993" |
Below is an context that describes a sql 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 (points INTEGER, played VARCHAR, lost VARCHAR, difference VARCHAR)
### Question:
What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12?
### Answer:
SELECT MAX(points) FROM table_name_66 WHERE lost > 5 AND difference = "- 10" AND played > 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_71 (version VARCHAR, year VARCHAR)
### Question:
Tell me the version for 1940-45
### Answer:
SELECT version FROM table_name_71 WHERE year = "1940-45" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11964047_5 (score VARCHAR, record VARCHAR)
### Question:
what's the score where record is 0–2
### Answer:
SELECT score FROM table_11964047_5 WHERE record = "0–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_56 (example VARCHAR, type VARCHAR)
### Question:
What is the example with the associative type?
### Answer:
SELECT example FROM table_name_56 WHERE type = "associative" |
Below is an context that describes a sql 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 (author VARCHAR, company VARCHAR)
### Question:
Which author has a company of the Semeio Theatre?
### Answer:
SELECT author FROM table_name_22 WHERE company = "semeio theatre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13755296_1 (season__number INTEGER, directed_by VARCHAR)
### Question:
What's the season number of the episode directed by Dan Attias?
### Answer:
SELECT MIN(season__number) FROM table_13755296_1 WHERE directed_by = "Dan Attias" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)
### Question:
What is Date, when Record is 12-58?
### Answer:
SELECT date FROM table_name_31 WHERE record = "12-58" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (date VARCHAR, format VARCHAR, label VARCHAR)
### Question:
When did Avex Entertainment release a CD?
### Answer:
SELECT date FROM table_name_22 WHERE format = "cd" AND label = "avex entertainment" |
Below is an context that describes a sql 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 (catalog VARCHAR, date VARCHAR)
### Question:
What is the catalog number of the May 27, 2009 release?
### Answer:
SELECT catalog FROM table_name_89 WHERE date = "may 27, 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_8 (match_points VARCHAR, points_against VARCHAR)
### Question:
What match points have 755 as the points against?
### Answer:
SELECT match_points FROM table_name_8 WHERE points_against = "755" |
Below is an context that describes a sql 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 (winning_score VARCHAR, to_par VARCHAR)
### Question:
What is the Winning score when the To par was −21?
### Answer:
SELECT winning_score FROM table_name_21 WHERE to_par = "−21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (round INTEGER, pick VARCHAR)
### Question:
How many rounds have a Pick of 13?
### Answer:
SELECT SUM(round) FROM table_name_21 WHERE pick = 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_15 (opponents VARCHAR, edition VARCHAR, against VARCHAR)
### Question:
Who were the opponents during the 2006 fed cup europe/africa group ii against greece?
### Answer:
SELECT opponents FROM table_name_15 WHERE edition = "2006 fed cup europe/africa group ii" AND against = "greece" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11734041_2 (position VARCHAR, height_in_ft VARCHAR, no_s_ VARCHAR)
### Question:
What position is number 35 whose height is 6-6?
### Answer:
SELECT position FROM table_11734041_2 WHERE height_in_ft = "6-6" AND no_s_ = "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_66 (date VARCHAR, winner VARCHAR)
### Question:
What is Date, when Winner is "Murilo Figueiredo"?
### Answer:
SELECT date FROM table_name_66 WHERE winner = "murilo figueiredo" |
Below is an context that describes a sql 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 (power VARCHAR, name VARCHAR)
### Question:
What is the power of 1.9 diesel?
### Answer:
SELECT power FROM table_name_66 WHERE name = "1.9 diesel" |
Below is an context that describes a sql 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 (listed VARCHAR, location VARCHAR)
### Question:
On what date was the bridge located in McClain listed?
### Answer:
SELECT listed FROM table_name_29 WHERE location = "mcclain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Documents (document_name VARCHAR, template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR, template_type_code VARCHAR)
### Question:
Show all document names using templates with template type code BK.
### Answer:
SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = "BK" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10975034_4 (college VARCHAR, position VARCHAR)
### Question:
How many colleges have a DB position?
### Answer:
SELECT COUNT(college) FROM table_10975034_4 WHERE position = "DB" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16684420_2 (skip VARCHAR, stolen_ends_against VARCHAR)
### Question:
Who was the skip when the stolen ends against was 13?
### Answer:
SELECT skip FROM table_16684420_2 WHERE stolen_ends_against = 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_20 (start VARCHAR, qual VARCHAR)
### Question:
What was the start of the competitor with a qualifying time of 84.300?
### Answer:
SELECT start FROM table_name_20 WHERE qual = "84.300" |
Below is an context that describes a sql 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 (replaced_by VARCHAR, position_in_table VARCHAR)
### Question:
Who replaced when the position in table is 5th?
### Answer:
SELECT replaced_by FROM table_name_58 WHERE position_in_table = "5th" |
Below is an context that describes a sql 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 (total_orphans__total_ INTEGER, total_orphans__aids_related_ VARCHAR, maternal__total_ VARCHAR)
### Question:
What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, and the Maternal (Total) is smaller than 31,000?
### Answer:
SELECT MIN(total_orphans__total_) FROM table_name_66 WHERE total_orphans__aids_related_ = "< 100" AND maternal__total_ < 31 OFFSET 000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who was the away team for the match with a home team of Citizen Team A?
### Answer:
SELECT away_team FROM table_name_78 WHERE home_team = "citizen team a" |
Below is an context that describes a sql 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 (score VARCHAR)
### Question:
What score has 15.0% as the 2012?
### Answer:
SELECT score FROM table_name_87 WHERE 2012 = "15.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_2508633_9 (player VARCHAR, nfl_team VARCHAR, position VARCHAR)
### Question:
How many players were the running back draft pick for the New England Patriots?
### Answer:
SELECT COUNT(player) FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Running back" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14342592_7 (points VARCHAR, position VARCHAR)
### Question:
How many points did the player who was right guard score?
### Answer:
SELECT COUNT(points) FROM table_14342592_7 WHERE position = "Right guard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11803648_20 (player VARCHAR, round VARCHAR)
### Question:
Which player is in round 5?
### Answer:
SELECT player FROM table_11803648_20 WHERE round = 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_16295365_2 (round_eliminated VARCHAR, conf_record VARCHAR)
### Question:
Name the round eliminated where conference record is 12-6
### Answer:
SELECT round_eliminated FROM table_16295365_2 WHERE conf_record = "12-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 document_sections (document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR)
### Question:
What is the name of the document with the most number of sections?
### Answer:
SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code GROUP BY t1.document_code 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_17012578_37 (w INTEGER, l VARCHAR)
### Question:
Of the teams that lost 5 games, what is the highest number of wins?
### Answer:
SELECT MAX(w) FROM table_17012578_37 WHERE l = 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_14609295_4 (conference VARCHAR, postseason VARCHAR)
### Question:
What was the Ram's conference record when they were the CBI champions?
### Answer:
SELECT conference FROM table_14609295_4 WHERE postseason = "CBI Champions" |
Below is an context that describes a sql 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 (visiting_team VARCHAR, stadium VARCHAR, final_score VARCHAR)
### Question:
Who was the visiting team at Lincoln Financial Field when the final score was 24-14?
### Answer:
SELECT visiting_team FROM table_name_34 WHERE stadium = "lincoln financial field" AND final_score = "24-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 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game with a record of 34–17–11–2?
### Answer:
SELECT score FROM table_name_1 WHERE record = "34–17–11–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_29273182_1 (title VARCHAR, no_in_series VARCHAR)
### Question:
What is the name of episode number 29 in the series?
### Answer:
SELECT title FROM table_29273182_1 WHERE no_in_series = 29 |
Below is an context that describes a sql 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 (released VARCHAR, dvd_name VARCHAR)
### Question:
What was escape to river cottage released?
### Answer:
SELECT released FROM table_name_64 WHERE dvd_name = "escape to river cottage" |
Below is an context that describes a sql 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 (games INTEGER, team VARCHAR, rebounds VARCHAR)
### Question:
What is the number of Games for the Maccabi Tel Aviv Team with less than 208 Rebounds?
### Answer:
SELECT AVG(games) FROM table_name_47 WHERE team = "maccabi tel aviv" AND rebounds < 208 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is 1994, when 1996 is "Grand Slams"?
### Answer:
SELECT 1994 FROM table_name_65 WHERE 1996 = "grand slams" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (rank__week_ INTEGER, rank__night_ VARCHAR, rating VARCHAR, viewers__millions_ VARCHAR)
### Question:
What is the average week rank with 1.2 ratings, less than 1.94 million viewers, and a night rank less than 11?
### Answer:
SELECT AVG(rank__week_) FROM table_name_53 WHERE rating = 1.2 AND viewers__millions_ < 1.94 AND rank__night_ < 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 Person (name VARCHAR, age INTEGER)
### Question:
Who is the person whose age is below 30?
### Answer:
SELECT name FROM Person WHERE age < 30 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23281862_6 (score VARCHAR, high_rebounds VARCHAR)
### Question:
What's the end score of the game where Shane Battier (8) did the high rebounds?
### Answer:
SELECT score FROM table_23281862_6 WHERE high_rebounds = "Shane Battier (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_11748792_2 (friday VARCHAR, monday VARCHAR)
### Question:
Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East?
### Answer:
SELECT friday FROM table_11748792_2 WHERE monday = "Emma Willis Jamie East" |
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, score VARCHAR)
### Question:
What did United States place when the score was 71-70-72-68=281?
### Answer:
SELECT place FROM table_name_17 WHERE country = "united states" AND score = 71 - 70 - 72 - 68 = 281 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.