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_16439764_1 (gun VARCHAR, time_to_ft__m__at_55°__seconds_ VARCHAR)
### Question:
What gun has a time to feet ratio of 18.8 at 55 degrees?
### Answer:
SELECT gun FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "18.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_2 (icao VARCHAR, commenced_operations INTEGER)
### Question:
What is the ICAO with commenced operations before 1989?
### Answer:
SELECT icao FROM table_name_2 WHERE commenced_operations < 1989 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19722233_5 (field_goals INTEGER, assists VARCHAR)
### Question:
what is the highest number of goals did the player with 27 asists score
### Answer:
SELECT MAX(field_goals) FROM table_19722233_5 WHERE assists = 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_92 (wins INTEGER, loses VARCHAR, draws VARCHAR)
### Question:
What average Wins has Losses 2, and Draws less than 0?
### Answer:
SELECT AVG(wins) FROM table_name_92 WHERE loses = 2 AND draws < 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_73 (nationality VARCHAR, years_for_jazz VARCHAR)
### Question:
What is the nationality of the player on the Jazz from 1974-79?
### Answer:
SELECT nationality FROM table_name_73 WHERE years_for_jazz = "1974-79" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
How many total medals for the nation with 1 gold and 6 bronzes?
### Answer:
SELECT COUNT(total) FROM table_name_52 WHERE gold = 1 AND bronze = 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_15 (floors INTEGER, street_address VARCHAR)
### Question:
How many floors are there at 32 n. main street?
### Answer:
SELECT SUM(floors) FROM table_name_15 WHERE street_address = "32 n. main 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_58 (safari VARCHAR, period VARCHAR)
### Question:
What safari has 2012 q4 as the period?
### Answer:
SELECT safari FROM table_name_58 WHERE period = "2012 q4" |
Below is an context that describes a sql 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 (position VARCHAR, points VARCHAR, series VARCHAR)
### Question:
What is Position, when Points is greater than 7, and when Series is Toyota Racing Series?
### Answer:
SELECT position FROM table_name_3 WHERE points > 7 AND series = "toyota racing series" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23944514_15 (youth_classification VARCHAR, aggressive_rider VARCHAR)
### Question:
Name the youth classification for michael barry
### Answer:
SELECT youth_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15026994_2 (writer VARCHAR, viewing_figure VARCHAR)
### Question:
What writers are associated with a viewing figure of 7.01 million?
### Answer:
SELECT writer FROM table_15026994_2 WHERE viewing_figure = "7.01 million" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (total VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
What is the total number of medals when the Bronze, Silver, and Gold medals are smaller than 1?
### Answer:
SELECT COUNT(total) FROM table_name_61 WHERE bronze < 1 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_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR)
### Question:
What is the lowest To par of gary player, with more than 145 total?
### Answer:
SELECT MIN(to_par) FROM table_name_8 WHERE player = "gary player" AND total > 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_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR)
### Question:
What was the final result when the Mountaineers scored less than 13 and their opponents scored 26?
### Answer:
SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26 |
Below is an context that describes a sql 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 (appearances VARCHAR, goals VARCHAR, name VARCHAR)
### Question:
How many appearances did Gary Depalma make when he scored less than 30 goals?
### Answer:
SELECT appearances FROM table_name_75 WHERE goals < 30 AND name = "gary depalma" |
Below is an context that describes a sql 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 (european_competitions VARCHAR, tier INTEGER)
### Question:
What is the European competition when the tier is more than 2?
### Answer:
SELECT european_competitions FROM table_name_33 WHERE tier > 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_1805919_1 (transcription__based_on_pinyin_ VARCHAR, english_translation VARCHAR)
### Question:
What is the Pinyin transcription for "Alas for the Days Gone By"?
### Answer:
SELECT transcription__based_on_pinyin_ FROM table_1805919_1 WHERE english_translation = "Alas for the Days Gone By" |
Below is an context that describes a sql 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 (total VARCHAR, player VARCHAR)
### Question:
What is Davis Love III's total?
### Answer:
SELECT total FROM table_name_33 WHERE player = "davis love 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_name_57 (record VARCHAR, method VARCHAR)
### Question:
What was his record when the method was technical submission (forearm choke)?
### Answer:
SELECT record FROM table_name_57 WHERE method = "technical submission (forearm choke)" |
Below is an context that describes a sql 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 (total VARCHAR)
### Question:
What is the year 2001 with a total larger than 1, and 2009 with 8?
### Answer:
SELECT 2001 FROM table_name_26 WHERE total > 1 AND 2009 = "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_81 (score VARCHAR, date VARCHAR)
### Question:
What was the score of the game on June 28?
### Answer:
SELECT score FROM table_name_81 WHERE date = "june 28" |
Below is an context that describes a sql 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 (bronze VARCHAR, gold VARCHAR)
### Question:
What's the Bronze that's also got a Godl of Kim Woo-Jin?
### Answer:
SELECT bronze FROM table_name_75 WHERE gold = "kim woo-jin" |
Below is an context that describes a sql 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 (total INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
What is the average total medals of the nation ranked 1 with less than 1 silver?
### Answer:
SELECT AVG(total) FROM table_name_62 WHERE rank = "1" AND silver < 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_42 (engine VARCHAR, entrant VARCHAR, year VARCHAR, points VARCHAR)
### Question:
What was the engine of the Hoover Motor Express after 1955 with greater than 0 points?
### Answer:
SELECT engine FROM table_name_42 WHERE year > 1955 AND points > 0 AND entrant = "hoover motor express" |
Below is an context that describes a sql 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 (surface VARCHAR, partner VARCHAR)
### Question:
What was the surface for the game that had a partner of vania king?
### Answer:
SELECT surface FROM table_name_85 WHERE partner = "vania king" |
Below is an context that describes a sql 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 (record VARCHAR, game VARCHAR)
### Question:
What was their record bfore game 54?
### Answer:
SELECT record FROM table_name_66 WHERE game = 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_89 (player VARCHAR, finish VARCHAR)
### Question:
Who has a finish of t66?
### Answer:
SELECT player FROM table_name_89 WHERE finish = "t66" |
Below is an context that describes a sql 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 (density VARCHAR, simplified VARCHAR)
### Question:
What is the density when simplified shows 南山区?
### Answer:
SELECT density FROM table_name_33 WHERE simplified = "南山区" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (losing_bonus VARCHAR, played VARCHAR, points_for VARCHAR)
### Question:
What was the losing bonus for the 20 played, and 353 points?
### Answer:
SELECT losing_bonus FROM table_name_89 WHERE played = "20" AND points_for = "353" |
Below is an context that describes a 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_14 (first_elected INTEGER, incumbent VARCHAR)
### Question:
What year was Frank Annunzio elected
### Answer:
SELECT MIN(first_elected) FROM table_1341663_14 WHERE incumbent = "Frank Annunzio" |
Below is an context that describes a sql 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 (score VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What's the score of Lee Janzen in T4 place?
### Answer:
SELECT score FROM table_name_94 WHERE place = "t4" AND player = "lee janzen" |
Below is an context that describes a sql 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 (loss VARCHAR, date VARCHAR)
### Question:
What loss happened june 8?
### Answer:
SELECT loss FROM table_name_43 WHERE date = "june 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_91 (round INTEGER, school VARCHAR)
### Question:
What is the earliest round drafted for a University of Southern California player?
### Answer:
SELECT MIN(round) FROM table_name_91 WHERE school = "university of southern california" |
Below is an context that describes a sql 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 (gold INTEGER, nation VARCHAR, total VARCHAR)
### Question:
How many gold have a National of New Zealand with a total less than 2?
### Answer:
SELECT SUM(gold) FROM table_name_15 WHERE nation = "new zealand" AND total < 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_7 (date VARCHAR, opponent VARCHAR)
### Question:
When was varvara lepchenko the opponent?
### Answer:
SELECT date FROM table_name_7 WHERE opponent = "varvara lepchenko" |
Below is an context that describes a sql 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 (time VARCHAR, heat VARCHAR, nationality VARCHAR)
### Question:
What's Australia's time in the heat more than 4?
### Answer:
SELECT time FROM table_name_43 WHERE heat > 4 AND nationality = "australia" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
Who was the away team at Arden Street Oval?
### Answer:
SELECT away_team FROM table_name_24 WHERE venue = "arden street 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_83 (away_team VARCHAR, venue VARCHAR)
### Question:
What was the score of the away team when the game was played at vfl park?
### Answer:
SELECT away_team AS score FROM table_name_83 WHERE venue = "vfl park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23117208_3 (no_in_season INTEGER, no_in_series VARCHAR)
### Question:
which is the biggest number of episode in the season, where the number of the episode in series is 20?
### Answer:
SELECT MAX(no_in_season) FROM table_23117208_3 WHERE no_in_series = 20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (country VARCHAR, date VARCHAR, catalog_nr VARCHAR)
### Question:
Which country has the catalog nr of thr-048 in 2004?
### Answer:
SELECT country FROM table_name_43 WHERE date = "2004" AND catalog_nr = "thr-048" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29997112_3 (international_use VARCHAR, flag_name VARCHAR)
### Question:
What is the international use of the 1 единица flag?
### Answer:
SELECT international_use FROM table_29997112_3 WHERE flag_name = "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_12113888_1 (number VARCHAR, rebuilt VARCHAR, scrapped_sold VARCHAR)
### Question:
How many times does the rebuilt data contain cannot handle non-empty timestamp argument! 1929 and scrapped data contain cannot handle non-empty timestamp argument! 1954?
### Answer:
SELECT COUNT(number) FROM table_12113888_1 WHERE rebuilt = "Cannot handle non-empty timestamp argument! 1929" AND scrapped_sold = "Cannot handle non-empty timestamp argument! 1954" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (try_bonus VARCHAR, tries_against VARCHAR)
### Question:
tries against is 55, what is the try bonus?
### Answer:
SELECT try_bonus FROM table_name_80 WHERE tries_against = "55" |
Below is an context that describes a sql 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 (début VARCHAR, team VARCHAR, player VARCHAR)
### Question:
What is the year of debut when Tom Feeney plays for the Waterford team?
### Answer:
SELECT début FROM table_name_9 WHERE team = "waterford" AND player = "tom feeney" |
Below is an context that describes a sql 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 (socket VARCHAR, release_date VARCHAR, order_part_number VARCHAR)
### Question:
What is the socket with an order part number of amm300dbo22gq and a September 10, 2009 release date?
### Answer:
SELECT socket FROM table_name_34 WHERE release_date = "september 10, 2009" AND order_part_number = "amm300dbo22gq" |
Below is an context that describes a sql 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 (kickoff__et_ VARCHAR, result VARCHAR)
### Question:
Which Kickoff (ET) has a Result of w 34–23?
### Answer:
SELECT kickoff__et_ FROM table_name_67 WHERE result = "w 34–23" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (pick INTEGER, player VARCHAR)
### Question:
What is the total pick with Bill Duffy?
### Answer:
SELECT SUM(pick) FROM table_name_12 WHERE player = "bill duffy" |
Below is an context that describes a sql 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 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, points VARCHAR)
### Question:
Name the points against when tries against is 51 and points is 52 with played of 22
### Answer:
SELECT points_against FROM table_name_91 WHERE played = "22" AND points = "52" AND tries_against = "51" |
Below is an context that describes a sql 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 (name VARCHAR, length_meters VARCHAR, km_from_kingston VARCHAR)
### Question:
What is Name, when Length Meters is greater than 66.4, and when Km From Kingston is 138.8?
### Answer:
SELECT name FROM table_name_54 WHERE length_meters > 66.4 AND km_from_kingston = 138.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 captain (name VARCHAR, flag VARCHAR, ship_id VARCHAR, rank VARCHAR); CREATE TABLE ship (name VARCHAR, flag VARCHAR, ship_id VARCHAR, rank VARCHAR)
### Question:
Find the name and flag of ships that are not steered by any captain with Midshipman rank.
### Answer:
SELECT name, flag FROM ship WHERE NOT ship_id IN (SELECT ship_id FROM captain WHERE rank = 'Midshipman') |
Below is an context that describes a sql 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 (stuffit VARCHAR, iso_cd_image VARCHAR, lha_lzh VARCHAR)
### Question:
What is the StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image?
### Answer:
SELECT stuffit AS X FROM table_name_26 WHERE stuffit = "unknown" AND lha_lzh = "yes" AND iso_cd_image = "unknown" |
Below is an context that describes a sql 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 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
### Question:
What is the average total for teams with under 34 bronzes, 0 silver, and under 14 gold?
### Answer:
SELECT AVG(total) FROM table_name_88 WHERE bronze < 34 AND gold < 14 AND silver < 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_64 (completed VARCHAR, rank VARCHAR)
### Question:
When did the rank 9 building got completed?
### Answer:
SELECT completed FROM table_name_64 WHERE rank = "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_10240125_1 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR)
### Question:
When FA Cup Apps is 9 what is the smallest number of FA Cup Goals?
### Answer:
SELECT MIN(fa_cup_goals) FROM table_10240125_1 WHERE fa_cup_apps = 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 student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE takes (id VARCHAR, course_id VARCHAR)
### Question:
Find the name of students who have taken the prerequisite course of the course with title International Finance.
### Answer:
SELECT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE T2.course_id IN (SELECT T4.prereq_id FROM course AS T3 JOIN prereq AS T4 ON T3.course_id = T4.course_id WHERE T3.title = 'International Finance') |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24055352_1 (name VARCHAR, hometown VARCHAR)
### Question:
How many players came from Los Angeles?
### Answer:
SELECT COUNT(name) FROM table_24055352_1 WHERE hometown = "Los Angeles" |
Below is an context that describes a sql 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 (goal_gain INTEGER, game INTEGER)
### Question:
What team with a Game smaller than 18 has the lowest Goal Gain?
### Answer:
SELECT MIN(goal_gain) FROM table_name_31 WHERE game < 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_78 (final_score VARCHAR, visiting_team VARCHAR)
### Question:
What was the final score in the game against the Cincinnati Bengals?
### Answer:
SELECT final_score FROM table_name_78 WHERE visiting_team = "cincinnati bengals" |
Below is an context that describes a sql 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 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals?
### Answer:
SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = "austria" |
Below is an context that describes a sql 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 (games VARCHAR, event VARCHAR)
### Question:
Tell me the games for men's 5000 metres
### Answer:
SELECT games FROM table_name_18 WHERE event = "men's 5000 metres" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15353123_1 (pick__number VARCHAR, player VARCHAR)
### Question:
How many players named Dean Kirkland were picked
### Answer:
SELECT COUNT(pick__number) FROM table_15353123_1 WHERE player = "Dean Kirkland" |
Below is an context that describes a sql 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 (nationality VARCHAR, position VARCHAR)
### Question:
What nationality is the forward/center position?
### Answer:
SELECT nationality FROM table_name_37 WHERE position = "forward/center" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (yards INTEGER, rushes VARCHAR, games VARCHAR)
### Question:
What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games?
### Answer:
SELECT MAX(yards) FROM table_name_48 WHERE rushes < 51 AND games > 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_45 (game INTEGER, time VARCHAR)
### Question:
How many games had a Time of 2:14?
### Answer:
SELECT SUM(game) FROM table_name_45 WHERE time = "2: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_25996938_1 (title VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Which episode did 18.74 million people tune in?
### Answer:
SELECT title FROM table_25996938_1 WHERE us_viewers__million_ = "18.74" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
### Question:
Who are the members of the club named "Hopkins Student Enterprises"? Show the last name.
### Answer:
SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" |
Below is an context that describes a sql 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 (hppa VARCHAR, ppc64 VARCHAR, mips VARCHAR, alpha VARCHAR)
### Question:
Which hppa contains a ppc64 of yes 3+, no for mips and no for alpha?
### Answer:
SELECT hppa FROM table_name_72 WHERE mips = "no" AND alpha = "no" AND ppc64 = "yes 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_10408617_5 (prefixes VARCHAR, scheme VARCHAR, approx_premium VARCHAR)
### Question:
What prefixes are priced at pence per minute, fixed at all times with a premium of 3p/min?
### Answer:
SELECT prefixes FROM table_10408617_5 WHERE scheme = "Pence per minute, fixed at all times" AND approx_premium = "3p/min" |
Below is an context that describes a sql 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 (field VARCHAR, result VARCHAR)
### Question:
Say the field with a result of w 12-11
### Answer:
SELECT field FROM table_name_43 WHERE result = "w 12-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_97 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
### Question:
How many Laps have a Grid smaller than 5, and a Time/Retired of retirement?
### Answer:
SELECT SUM(laps) FROM table_name_97 WHERE grid < 5 AND time_retired = "retirement" |
Below is an context that describes a sql 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 (Giant VARCHAR, slalom VARCHAR)
### Question:
Which Giant Slalom has a Slalom of 45?
### Answer:
SELECT Giant AS slalom FROM table_name_26 WHERE slalom = "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_name_85 (engine VARCHAR, points VARCHAR)
### Question:
Which engine scored 9 points?
### Answer:
SELECT engine FROM table_name_85 WHERE points = 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_40 (home_team VARCHAR, score VARCHAR)
### Question:
What is the Home team in the Game with a Score of 1–0?
### Answer:
SELECT home_team FROM table_name_40 WHERE score = "1–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_26 (team VARCHAR, venue VARCHAR)
### Question:
What team plays at Spartak, Mogilev?
### Answer:
SELECT team FROM table_name_26 WHERE venue = "spartak, mogilev" |
Below is an context that describes a sql 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 (coach VARCHAR, team VARCHAR)
### Question:
Who is the coach for the Northamptonshire Steelbacks?
### Answer:
SELECT coach FROM table_name_36 WHERE team = "northamptonshire steelbacks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22897453_1 (kr_narayanan__votes_ INTEGER, value_of_each_vote VARCHAR)
### Question:
Name the most kr votes for value of each vote for 208
### Answer:
SELECT MAX(kr_narayanan__votes_) FROM table_22897453_1 WHERE value_of_each_vote = 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_30018460_1 (manhunt_international INTEGER)
### Question:
What is the minimum manhunt beauty contest?
### Answer:
SELECT MIN(manhunt_international) FROM table_30018460_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_88 (winning_constructor VARCHAR, winning_driver VARCHAR)
### Question:
What was the constructor when riccardo patrese was the winning driver?
### Answer:
SELECT winning_constructor FROM table_name_88 WHERE winning_driver = "riccardo patrese" |
Below is an context that describes a sql 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 (mountain_peak VARCHAR, location VARCHAR)
### Question:
Name the mountain peak with location of 46.7000°n 60.5992°w
### Answer:
SELECT mountain_peak FROM table_name_17 WHERE location = "46.7000°n 60.5992°w" |
Below is an context that describes a sql 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 (nationality VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR)
### Question:
What nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player?
### Answer:
SELECT nationality FROM table_name_75 WHERE position = "left wing" AND round > 4 AND player = "mattia baldi" |
Below is an context that describes a sql 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 (pick INTEGER, position VARCHAR, round VARCHAR)
### Question:
What is the highest pick of the back player from round 28?
### Answer:
SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 28 |
Below is an context that describes a sql 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 (lost VARCHAR, played INTEGER)
### Question:
How many lost stats have a played number of less than 8?
### Answer:
SELECT COUNT(lost) FROM table_name_1 WHERE played < 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_93 (league VARCHAR, season VARCHAR)
### Question:
What is the league for season 1955-56?
### Answer:
SELECT league FROM table_name_93 WHERE season = "1955-56" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (year INTEGER, album VARCHAR)
### Question:
What is the total number of Year that has an Album of Remixes?
### Answer:
SELECT SUM(year) FROM table_name_52 WHERE album = "remixes" |
Below is an context that describes a sql 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 (giant_slalom VARCHAR, career VARCHAR, victories VARCHAR, slalom VARCHAR)
### Question:
What Giant Slalom has Victories larger than 27, a Slalom of –, and a Career of 1996–2009?
### Answer:
SELECT giant_slalom FROM table_name_45 WHERE victories > 27 AND slalom = "–" AND career = "1996–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_17672500_19 (stage__winner_ VARCHAR, team_classification VARCHAR)
### Question:
Who are all the stage winners where the team classification is Caisse D'epargne?
### Answer:
SELECT stage__winner_ FROM table_17672500_19 WHERE team_classification = "Caisse d'Epargne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (title VARCHAR, tracks VARCHAR)
### Question:
What movie has noxialicht as a track?
### Answer:
SELECT title FROM table_name_98 WHERE tracks = "noxialicht" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26565936_2 (no_in_season INTEGER, directed_by VARCHAR)
### Question:
What was the first episode in the season directed by nelson mccormick?
### Answer:
SELECT MIN(no_in_season) FROM table_26565936_2 WHERE directed_by = "Nelson McCormick" |
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR)
### Question:
On which week was the opponent the oakland raiders?
### Answer:
SELECT SUM(week) FROM table_name_91 WHERE opponent = "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_99 (points INTEGER)
### Question:
What is the lowest 2nd (m) when the points were larger than 251.6?
### Answer:
SELECT MIN(2 AS nd__m_) FROM table_name_99 WHERE points > 251.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_38 (heat VARCHAR, name VARCHAR, lane VARCHAR)
### Question:
What is the total number of heats with a finisher named Gregor Tait in lanes over 6?
### Answer:
SELECT COUNT(heat) FROM table_name_38 WHERE name = "gregor tait" AND lane > 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_48 (attendance INTEGER, date VARCHAR)
### Question:
What is the total attendance for the August 8 game?
### Answer:
SELECT SUM(attendance) FROM table_name_48 WHERE date = "august 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_13 (released VARCHAR, series_sorted VARCHAR)
### Question:
What was the date of release for the episode sorted value of 6Y/AA?
### Answer:
SELECT released FROM table_name_13 WHERE series_sorted = "6y/aa" |
Below is an context that describes a sql 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 (position VARCHAR, pick VARCHAR)
### Question:
Tell me the position for pick of 146
### Answer:
SELECT position FROM table_name_7 WHERE pick = "146" |
Below is an context that describes a sql 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 (english_translation VARCHAR, language VARCHAR, artist VARCHAR)
### Question:
What is the English Translation for the French song by the Artist Rachel?
### Answer:
SELECT english_translation FROM table_name_12 WHERE language = "french" AND artist = "rachel" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (date VARCHAR, pitcher VARCHAR)
### Question:
I want the date for aníbal sánchez
### Answer:
SELECT date FROM table_name_58 WHERE pitcher = "aníbal sánchez" |
Below is an context that describes a sql 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 (year INTEGER, entrant VARCHAR, points VARCHAR)
### Question:
What is the year when Spirit Tom's Racing had more than 3 points?
### Answer:
SELECT SUM(year) FROM table_name_70 WHERE entrant = "spirit tom's racing" AND points > 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_96 (founded INTEGER, team VARCHAR)
### Question:
What is the mean Founded number when the team is the Baton Rouge Blaze?
### Answer:
SELECT AVG(founded) FROM table_name_96 WHERE team = "baton rouge blaze" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (finish_construction VARCHAR, unit VARCHAR)
### Question:
What was the date that construction was finished when the unit was greifswald - 4 (kgr 4)?
### Answer:
SELECT finish_construction FROM table_name_28 WHERE unit = "greifswald - 4 (kgr 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_34 (away VARCHAR, round VARCHAR)
### Question:
Who was the away team in the semifinals?
### Answer:
SELECT away FROM table_name_34 WHERE round = "semifinals" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.