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_13 (oricon VARCHAR, romaji_title VARCHAR)
### Question:
How many oricon's have a romaji title of rakuen -memorial tracks- (maxi-single)?
### Answer:
SELECT COUNT(oricon) FROM table_name_13 WHERE romaji_title = "rakuen -memorial tracks- (maxi-single)" |
Below is an context that describes a sql 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 (film_title_used_in_nomination VARCHAR, actor_actress VARCHAR, category VARCHAR)
### Question:
What was the film title that emma thompson was the actress nominated for best supporting actress?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_81 WHERE actor_actress = "emma thompson" 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 GRAPES (Grape VARCHAR, Color VARCHAR); CREATE TABLE WINE (Name VARCHAR, Score VARCHAR, Grape VARCHAR)
### Question:
What are the names and scores of wines that are made of white color grapes?
### Answer:
SELECT T2.Name, T2.Score FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "White" |
Below is an context that describes a sql 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 (name VARCHAR, locomotive VARCHAR)
### Question:
What is the name for the locomotive n464?
### Answer:
SELECT name FROM table_name_95 WHERE locomotive = "n464" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342013_5 (district VARCHAR, incumbent VARCHAR)
### Question:
What district does Harlan Hagen represent?
### Answer:
SELECT district FROM table_1342013_5 WHERE incumbent = "Harlan Hagen" |
Below is an context that describes a sql 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 (winning_team VARCHAR, losing_team VARCHAR)
### Question:
What is the Winning Team, when Losing Team is South Sydney Rabbitohs?
### Answer:
SELECT winning_team FROM table_name_50 WHERE losing_team = "south sydney rabbitohs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28180840_15 (hometown VARCHAR, name_name_of_act VARCHAR)
### Question:
What is the name of the zhou jinsong's hometown?
### Answer:
SELECT hometown FROM table_28180840_15 WHERE name_name_of_act = "Zhou Jinsong" |
Below is an context that describes a sql 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 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
### Question:
How many bronze medals has a total less than 3 with a silver less than 1 and gold more than 1?
### Answer:
SELECT AVG(bronze) FROM table_name_66 WHERE total < 3 AND silver < 1 AND gold > 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_23214833_1 (team_captain VARCHAR, club VARCHAR)
### Question:
How many different team captains does the club Sliven 2000 have?
### Answer:
SELECT COUNT(team_captain) FROM table_23214833_1 WHERE club = "Sliven 2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16010376_1 (bullet_weight VARCHAR, source VARCHAR)
### Question:
What is the weight of the bullet used in a Remington?
### Answer:
SELECT bullet_weight FROM table_16010376_1 WHERE source = "Remington" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR)
### Question:
Name the number of first elected for new york 11
### Answer:
SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 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_92 (nationality VARCHAR, result VARCHAR)
### Question:
What was the nationality of the athlete with a final result of 4.50?
### Answer:
SELECT nationality FROM table_name_92 WHERE result = "4.50" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25355392_2 (january_15_16 VARCHAR, november_3 VARCHAR)
### Question:
What is january 15-16 when november 3 is 153?
### Answer:
SELECT january_15_16 FROM table_25355392_2 WHERE november_3 = "153" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE addresses (country VARCHAR)
### Question:
How many addresses are there in country USA?
### Answer:
SELECT COUNT(*) FROM addresses WHERE country = 'USA' |
Below is an context that describes a sql 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 (player VARCHAR, hometown VARCHAR)
### Question:
What player's hometown is Washington, IN?
### Answer:
SELECT player FROM table_name_83 WHERE hometown = "washington, in" |
Below is an context that describes a sql 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 (name VARCHAR, winning_driver VARCHAR)
### Question:
Which Grand Prix did Nello Pagani win?
### Answer:
SELECT name FROM table_name_2 WHERE winning_driver = "nello pagani" |
Below is an context that describes a sql 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, loss VARCHAR)
### Question:
what date did reuschel (12-3) lose?
### Answer:
SELECT date FROM table_name_36 WHERE loss = "reuschel (12-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_24 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)
### Question:
Which Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez?
### Answer:
SELECT binibining_pilipinas_international FROM table_name_24 WHERE binibining_pilipinas_world = "sharmaine gutierrez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_protected VARCHAR)
### Question:
What is the percentage of total area in the ecozone that the percentage protected is 8.06?
### Answer:
SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_protected = "8.06" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2311410_1 (series_premiere VARCHAR, season VARCHAR)
### Question:
How many series premieres did the season "All-stars" have?
### Answer:
SELECT COUNT(series_premiere) FROM table_2311410_1 WHERE season = "All-Stars" |
Below is an context that describes a sql 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 (current_status VARCHAR, livery VARCHAR)
### Question:
What's the Current Status of Livery of the Network South-East?
### Answer:
SELECT current_status FROM table_name_66 WHERE livery = "network south-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_36 (team VARCHAR, location VARCHAR)
### Question:
Which team is located in Leicester?
### Answer:
SELECT team FROM table_name_36 WHERE location = "leicester" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27155990_1 (category VARCHAR, project_name VARCHAR)
### Question:
What was the category of the project name Mighty No. 9?
### Answer:
SELECT category FROM table_27155990_1 WHERE project_name = "Mighty No. 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_12962773_5 (player VARCHAR, no VARCHAR)
### Question:
how many player with no being 12
### Answer:
SELECT COUNT(player) FROM table_12962773_5 WHERE no = 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_61 (team_2 VARCHAR, team_1 VARCHAR)
### Question:
What is team 2 if Team 1 is Numancia?
### Answer:
SELECT team_2 FROM table_name_61 WHERE team_1 = "numancia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29619494_2 (apocalypstix VARCHAR, denim_demons VARCHAR)
### Question:
List all the places that the Apocalypstix occupied when the Denim Demons were 2nd.
### Answer:
SELECT apocalypstix FROM table_29619494_2 WHERE denim_demons = "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_name_49 (performance VARCHAR, season VARCHAR, discipline VARCHAR)
### Question:
What were the performance lengths in the 3000 m events in and after 2003?
### Answer:
SELECT performance FROM table_name_49 WHERE season > 2003 AND discipline = "3000 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 table_1140113_5 (race_name VARCHAR, circuit VARCHAR)
### Question:
What was the name of the race in Bordeaux?
### Answer:
SELECT race_name FROM table_1140113_5 WHERE circuit = "Bordeaux" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_148535_2 (hand VARCHAR)
### Question:
Name the least 2 credits for flush
### Answer:
SELECT MIN(2 AS _credits) FROM table_148535_2 WHERE hand = "Flush" |
Below is an context that describes a sql 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 (crowd VARCHAR, round VARCHAR)
### Question:
What was the attendance at Round 9?
### Answer:
SELECT COUNT(crowd) FROM table_name_59 WHERE round = "round 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_11044765_1 (location VARCHAR, mascot VARCHAR)
### Question:
What city and state is the Lancers mascot located?
### Answer:
SELECT location FROM table_11044765_1 WHERE mascot = "Lancers" |
Below is an context that describes a sql 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, competition VARCHAR)
### Question:
What was the result of the 1948 og competition?
### Answer:
SELECT result FROM table_name_59 WHERE competition = "1948 og" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24561550_1 (record VARCHAR, wildcats_points VARCHAR)
### Question:
List the record from the game where Wildcats had 48 points.
### Answer:
SELECT record FROM table_24561550_1 WHERE wildcats_points = 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_54 (work VARCHAR, category VARCHAR)
### Question:
What was nominated for the Best Movie category?
### Answer:
SELECT work FROM table_name_54 WHERE category = "best movie" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (apps INTEGER, goals VARCHAR, rank VARCHAR)
### Question:
How many apps when the rank was after 13 and having more than 73 goals?
### Answer:
SELECT AVG(apps) FROM table_name_96 WHERE goals > 73 AND rank > 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_51 (tns_sofres_6_2_09 VARCHAR, ipsos_6_3_09 VARCHAR)
### Question:
What's the TNS-Sofres when Ipsos was 27%?
### Answer:
SELECT tns_sofres_6_2_09 FROM table_name_51 WHERE ipsos_6_3_09 = "27%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (number INTEGER, home_club VARCHAR, year_end VARCHAR)
### Question:
Which Number has a Home Club of broomstones, and a Year End smaller than 1999?
### Answer:
SELECT MIN(number) FROM table_name_79 WHERE home_club = "broomstones" AND year_end < 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_86 (wins INTEGER, earnings___$__ VARCHAR)
### Question:
Name the most wins for earnings of 130,002
### Answer:
SELECT MAX(wins) FROM table_name_86 WHERE earnings___$__ = 130 OFFSET 002 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE body_builder (Clean_Jerk VARCHAR, Total VARCHAR)
### Question:
What are the clean and jerk score of the body builder with the highest total score?
### Answer:
SELECT Clean_Jerk FROM body_builder ORDER BY Total 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_93 (year_born__age_ VARCHAR, height VARCHAR, current_club VARCHAR)
### Question:
What is the Year born (Age) for the player who is taller than 2.04 and currently plays for the Los Angeles Clippers?
### Answer:
SELECT year_born__age_ FROM table_name_93 WHERE height > 2.04 AND current_club = "los angeles clippers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE courses (course_name VARCHAR)
### Question:
List the names of courses in alphabetical order?
### Answer:
SELECT course_name FROM courses ORDER BY course_name |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_247955_2 (to_par VARCHAR, runner_s__up VARCHAR)
### Question:
What is the total number of to par when runner-up was Jonathan Kaye?
### Answer:
SELECT COUNT(to_par) FROM table_247955_2 WHERE runner_s__up = "Jonathan Kaye" |
Below is an context that describes a sql 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 (round VARCHAR, year INTEGER)
### Question:
What is the round for a year earlier than 1987?
### Answer:
SELECT round FROM table_name_19 WHERE year < 1987 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE hall_of_fame (yearid VARCHAR)
### Question:
How many players enter hall of fame each year?
### Answer:
SELECT yearid, COUNT(*) FROM hall_of_fame GROUP BY yearid |
Below is an context that describes a sql 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 (average INTEGER, state VARCHAR, interview VARCHAR)
### Question:
What is the Average for South Carolina with an Interview less than 9.626?
### Answer:
SELECT SUM(average) FROM table_name_21 WHERE state = "south carolina" AND interview < 9.626 |
Below is an context that describes a sql 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 (no_8 VARCHAR, no_1 VARCHAR, no_4 VARCHAR)
### Question:
Who was No. 8 when No. 1 Michael and No. 4 Logan?
### Answer:
SELECT no_8 FROM table_name_48 WHERE no_1 = "michael" AND no_4 = "logan" |
Below is an context that describes a sql 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 (race VARCHAR, margin VARCHAR)
### Question:
Which race has a Margin of 8?
### Answer:
SELECT race FROM table_name_5 WHERE margin = "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_97 (Id VARCHAR)
### Question:
What shows for 2010 when 2007 is a and 2004 is 2r?
### Answer:
SELECT 2010 FROM table_name_97 WHERE 2007 = "a" AND 2004 = "2r" |
Below is an context that describes a sql 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 (nationality VARCHAR, name VARCHAR)
### Question:
What is the nationality of the HMS Cheshire?
### Answer:
SELECT nationality FROM table_name_32 WHERE name = "hms cheshire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2387790_2 (position VARCHAR, year VARCHAR)
### Question:
What position did he finish in 1987?
### Answer:
SELECT position FROM table_2387790_2 WHERE year = 1987 |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
Who is the away side at corio oval?
### Answer:
SELECT away_team FROM table_name_85 WHERE venue = "corio oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
### Question:
Which Score in the final has an Outcome of winner, and a Surface of hard (i)?
### Answer:
SELECT score_in_the_final FROM table_name_12 WHERE outcome = "winner" AND surface = "hard (i)" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What is the away team at corio oval?
### Answer:
SELECT away_team FROM table_name_26 WHERE venue = "corio oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (court_rank VARCHAR, courtesy_title VARCHAR)
### Question:
What is the court rank of the person with a courtesy title of nagato-no-kami?
### Answer:
SELECT court_rank FROM table_name_70 WHERE courtesy_title = "nagato-no-kami" |
Below is an context that describes a sql 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 (winner VARCHAR, third_place VARCHAR)
### Question:
Who was the winner when the third place was fernando meligeni?
### Answer:
SELECT winner FROM table_name_11 WHERE third_place = "fernando meligeni" |
Below is an context that describes a sql 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 (listed VARCHAR, name VARCHAR)
### Question:
When was the oakachoy covered bridge listed?
### Answer:
SELECT listed FROM table_name_34 WHERE name = "oakachoy covered bridge" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25764073_3 (director_s_ VARCHAR, writer_s_ VARCHAR)
### Question:
Name the directors for peter gawler
### Answer:
SELECT director_s_ FROM table_25764073_3 WHERE writer_s_ = "Peter Gawler" |
Below is an context that describes a sql 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 (attendance INTEGER, points VARCHAR, arena VARCHAR)
### Question:
What was the lowest Attendance for the Staples Center Arena when the Points were over 14?
### Answer:
SELECT MIN(attendance) FROM table_name_21 WHERE points > 14 AND arena = "staples 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_20 (tie_no VARCHAR, home_team VARCHAR)
### Question:
What was the Tie no when the Home team was Ramsgate?
### Answer:
SELECT tie_no FROM table_name_20 WHERE home_team = "ramsgate" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (team VARCHAR, points VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
Which Team has Laps smaller than 105, and a Grid smaller than 18, and Points of 11?
### Answer:
SELECT team FROM table_name_16 WHERE laps < 105 AND grid < 18 AND points = 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_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR)
### Question:
What's the school that has an enrollment more than 441 with chargers as their mascot?
### Answer:
SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = "chargers" |
Below is an context that describes a sql 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 (ends INTEGER, goals INTEGER)
### Question:
Add up all the Ends columns that have goals smaller than 0.
### Answer:
SELECT SUM(ends) FROM table_name_65 WHERE goals < 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_29 (position VARCHAR, notes VARCHAR, year VARCHAR)
### Question:
What position had notes of 20km and a year earlier than 2002?
### Answer:
SELECT position FROM table_name_29 WHERE notes = "20km" AND year < 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_21422977_1 (coalition_parties VARCHAR, nº VARCHAR)
### Question:
When nº is 3, what are all the coaliton parties?
### Answer:
SELECT coalition_parties FROM table_21422977_1 WHERE nº = 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_5 (round VARCHAR, position VARCHAR)
### Question:
Which Round was F picked?
### Answer:
SELECT round FROM table_name_5 WHERE position = "f" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (apps INTEGER, team VARCHAR, level VARCHAR)
### Question:
What is the average Apps for the team Kairat with level larger than 1?
### Answer:
SELECT AVG(apps) FROM table_name_51 WHERE team = "kairat" AND level > 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_84 (tied VARCHAR)
### Question:
What venue had a tie?
### Answer:
SELECT tied FROM table_name_84 WHERE "venue" = "venue" |
Below is an context that describes a sql 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 (date VARCHAR, result VARCHAR)
### Question:
Which Date has a Result of 3–4?
### Answer:
SELECT date FROM table_name_11 WHERE result = "3–4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR)
### Question:
Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion?
### Answer:
SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = "$33.3 billion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16907214_1 (paperback VARCHAR, title VARCHAR)
### Question:
What is the ISBN of "Dead as a Doornail?
### Answer:
SELECT paperback FROM table_16907214_1 WHERE title = "Dead as a Doornail" |
Below is an context that describes a sql 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 (_number_of_lanes VARCHAR, street VARCHAR)
### Question:
What is the # of lanes on 20th street?
### Answer:
SELECT _number_of_lanes FROM table_name_43 WHERE street = "20th street" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (player VARCHAR, original_nfl_team VARCHAR)
### Question:
What player's original team are the Oakland Raiders?
### Answer:
SELECT player FROM table_name_96 WHERE original_nfl_team = "oakland raiders" |
Below is an context that describes a sql 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 (gold VARCHAR, year VARCHAR, notes VARCHAR)
### Question:
Who won Gold later than 2004 with Notes of 2.73km, 14controls?
### Answer:
SELECT gold FROM table_name_32 WHERE year > 2004 AND notes = "2.73km, 14controls" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16025095_1 (attendance INTEGER, date VARCHAR)
### Question:
What was the minimum crowd on January 24, 1987?
### Answer:
SELECT MIN(attendance) FROM table_16025095_1 WHERE date = "January 24, 1987" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22514845_5 (reporters VARCHAR, s_analyst VARCHAR)
### Question:
Name the reporters for howard cosell
### Answer:
SELECT reporters FROM table_22514845_5 WHERE s_analyst = "Howard Cosell" |
Below is an context that describes a sql 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 (clock_multiplier VARCHAR, model_number VARCHAR)
### Question:
Which Clock Multiplier has a Model Number of c7-m 764?
### Answer:
SELECT clock_multiplier FROM table_name_23 WHERE model_number = "c7-m 764" |
Below is an context that describes a sql 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 (age_as_of_1_february_2014 VARCHAR, province_or_country_of_birth VARCHAR)
### Question:
What is the average age as of February 1, 2014 for the supercentenarians born in the United States?
### Answer:
SELECT age_as_of_1_february_2014 FROM table_name_23 WHERE province_or_country_of_birth = "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_71 (serial_no VARCHAR, engine_no VARCHAR, colour VARCHAR, pilot_car_no VARCHAR)
### Question:
What is the serial number of the pilot car that is black, has a pilot car number larger than 2, and an engine number of 1008?
### Answer:
SELECT serial_no FROM table_name_71 WHERE colour = "black" AND pilot_car_no > 2 AND engine_no = 1008 |
Below is an context that describes a sql 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 (laps VARCHAR, grid VARCHAR)
### Question:
How many laps for grid 12?
### Answer:
SELECT laps FROM table_name_50 WHERE grid = 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_34 (games VARCHAR, goals_for VARCHAR)
### Question:
How many games were recorded with Goals for number of 215?
### Answer:
SELECT COUNT(games) FROM table_name_34 WHERE goals_for = 215 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_artist VARCHAR)
### Question:
What won the Best Female Artist if Best Lyrical Record won the Best Male Artist?
### Answer:
SELECT best_female_artist FROM table_22546460_4 WHERE best_male_artist = "Best Lyrical Record" |
Below is an context that describes a sql 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 (team VARCHAR, driver VARCHAR)
### Question:
what is the team when the driver is viktor jensen?
### Answer:
SELECT team FROM table_name_64 WHERE driver = "viktor jensen" |
Below is an context that describes a sql 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 (silver INTEGER, gold INTEGER)
### Question:
What is the average Silver, when Gold is less than 0?
### Answer:
SELECT AVG(silver) FROM table_name_47 WHERE gold < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (number VARCHAR, language VARCHAR)
### Question:
What is the number of the belarusian language?
### Answer:
SELECT number FROM table_name_11 WHERE language = "belarusian" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12828723_5 (won VARCHAR, tries_against VARCHAR)
### Question:
What was the amount won with tries against at 54?
### Answer:
SELECT won FROM table_12828723_5 WHERE tries_against = "54" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (home VARCHAR, date VARCHAR)
### Question:
What is the Home on december 10?
### Answer:
SELECT home FROM table_name_33 WHERE date = "december 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_21824695_8 (lowest VARCHAR, stadium VARCHAR)
### Question:
What is the lowest when pohang steelyard is the stadium?
### Answer:
SELECT lowest FROM table_21824695_8 WHERE stadium = "Pohang Steelyard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27733909_7 (high_rebounds VARCHAR, date VARCHAR)
### Question:
Name the number of high rebounds for january 5
### Answer:
SELECT COUNT(high_rebounds) FROM table_27733909_7 WHERE date = "January 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_64 (deaths VARCHAR, storm_name VARCHAR)
### Question:
How many deaths occurred during Darby?
### Answer:
SELECT deaths FROM table_name_64 WHERE storm_name = "darby" |
Below is an context that describes a sql 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 (player VARCHAR, draft VARCHAR, pick VARCHAR)
### Question:
Who is the player in the 2008 draft with a pick greater than 5?
### Answer:
SELECT player FROM table_name_26 WHERE draft = 2008 AND pick > 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_26669939_1 (no_of_athletes VARCHAR, edition VARCHAR)
### Question:
What was the number of athletes for the 7th edition?
### Answer:
SELECT no_of_athletes FROM table_26669939_1 WHERE edition = "7th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14407512_24 (overall_nt_points VARCHAR, points VARCHAR)
### Question:
Name the number of overall nt points for 248.9
### Answer:
SELECT COUNT(overall_nt_points) FROM table_14407512_24 WHERE points = "248.9" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (set_3 VARCHAR, total VARCHAR)
### Question:
What is the set 3 when the total is 78–92?
### Answer:
SELECT set_3 FROM table_name_95 WHERE total = "78–92" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29619494_2 (season VARCHAR, apocalypstix VARCHAR)
### Question:
How many seasons did Apocalypstix place 2nd?
### Answer:
SELECT COUNT(season) FROM table_29619494_2 WHERE apocalypstix = "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_name_64 (builder VARCHAR, number VARCHAR)
### Question:
Name the builder for number 3
### Answer:
SELECT builder FROM table_name_64 WHERE number = 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_86 (nationality VARCHAR, player VARCHAR)
### Question:
Which Nationality has a Player of larry wright?
### Answer:
SELECT nationality FROM table_name_86 WHERE player = "larry wright" |
Below is an context that describes a sql 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 (attempts INTEGER, net_yards VARCHAR, touchdowns VARCHAR)
### Question:
What are the highest attempts that have net yards less than 631, and 2 for the touchdowns?
### Answer:
SELECT MAX(attempts) FROM table_name_53 WHERE net_yards < 631 AND touchdowns = 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_49 (place INTEGER, points VARCHAR, draw VARCHAR)
### Question:
What was the average place for the song that had 69 points and a draw smaller than 13?
### Answer:
SELECT AVG(place) FROM table_name_49 WHERE points = 69 AND draw < 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_6 (bronze VARCHAR, location VARCHAR, year VARCHAR)
### Question:
What is listed for the Bronze, with the Location of Bangkok, and the Year of 1978?
### Answer:
SELECT bronze FROM table_name_6 WHERE location = "bangkok" AND year = 1978 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR)
### Question:
Name the total number of series sorted for when released is april 2010
### Answer:
SELECT COUNT(series_sorted) FROM table_1620397_2 WHERE released = "April 2010" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.