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_7 (range VARCHAR, name VARCHAR, rank VARCHAR)
### Question:
Which range includes Mount Fukushima, and is ranked 38?
### Answer:
SELECT range FROM table_name_7 WHERE name = "mount fukushima" AND rank = 38
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR)
### Question:
Where is the headquarters of the getinge group located?
### Answer:
SELECT headquarters FROM table_name_26 WHERE company = "getinge group"
|
Below is an context that describes a sql 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 (main_location_s_ VARCHAR, area VARCHAR)
### Question:
What Main Location(s) has an Area of 19,800 HA?
### Answer:
SELECT main_location_s_ FROM table_name_16 WHERE area = "19,800 ha"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17968282_1 (points VARCHAR, team VARCHAR)
### Question:
Name the total number of points for newell's old boys
### Answer:
SELECT COUNT(points) FROM table_17968282_1 WHERE team = "Newell's Old Boys"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25800134_2 (writer_s_ VARCHAR, season__number VARCHAR)
### Question:
Who are all the writers of episodes in season 24?
### Answer:
SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24
|
Below is an context that describes a sql 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 (tuesday VARCHAR, series VARCHAR)
### Question:
Which Tuesday does big brother 12 air?
### Answer:
SELECT tuesday FROM table_name_16 WHERE series = "big brother 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_2252745_1 (pop__km² VARCHAR, _number VARCHAR)
### Question:
When the # is 4, what is the pop./ km²?
### Answer:
SELECT pop__km² FROM table_2252745_1 WHERE _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_92 (top_25 VARCHAR, top_5 INTEGER)
### Question:
What is the total amount of Top-25 having a Top-5 greater than 1?
### Answer:
SELECT COUNT(top_25) FROM table_name_92 WHERE top_5 > 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_21091157_1 (game INTEGER)
### Question:
Name the most game
### Answer:
SELECT MAX(game) FROM table_21091157_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_72 (grid VARCHAR, time_retired VARCHAR)
### Question:
How many grids had a Time/Retired of +4 laps?
### Answer:
SELECT COUNT(grid) FROM table_name_72 WHERE time_retired = "+4 laps"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (outcome VARCHAR, tournament VARCHAR)
### Question:
What was the outcome of the tournament in Edinburgh?
### Answer:
SELECT outcome FROM table_name_82 WHERE tournament = "edinburgh"
|
Below is an context that describes a sql 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 (scored INTEGER, result VARCHAR, date VARCHAR)
### Question:
What is the highest score with a Result of 1–1 on 4 march 2001?
### Answer:
SELECT MAX(scored) FROM table_name_59 WHERE result = "1–1" AND date = "4 march 2001"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (round INTEGER, name VARCHAR)
### Question:
What is the round for marcus howard?
### Answer:
SELECT SUM(round) FROM table_name_32 WHERE name = "marcus howard"
|
Below is an context that describes a sql 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 (winner VARCHAR, time VARCHAR, owner VARCHAR)
### Question:
What's the WInner with a TIme of 1:10.60, and Owner of Leslie Combs II?
### Answer:
SELECT winner FROM table_name_43 WHERE time = "1:10.60" AND owner = "leslie combs ii"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR)
### Question:
What episode number originally aired on November 21, 1993?
### Answer:
SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = "November 21, 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 Delivery_Routes (route_name VARCHAR)
### Question:
List the names of all routes in alphabetic order.
### Answer:
SELECT route_name FROM Delivery_Routes ORDER BY route_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_name_23 (time_retired VARCHAR, grid VARCHAR)
### Question:
What is Time/Retired with a Grid of 12?
### Answer:
SELECT time_retired FROM table_name_23 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_21094951_1 (date VARCHAR, record VARCHAR)
### Question:
Name the date for 6-2 record
### Answer:
SELECT date FROM table_21094951_1 WHERE record = "6-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_31 (launched VARCHAR, date_of_commission VARCHAR)
### Question:
What is the Launched which is on 3 may 2001?
### Answer:
SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11630008_7 (series__number VARCHAR, production_code VARCHAR)
### Question:
What is the number of series with production code 503?
### Answer:
SELECT COUNT(series__number) FROM table_11630008_7 WHERE production_code = 503
|
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR)
### Question:
Who was the home team on April 15?
### Answer:
SELECT home FROM table_name_91 WHERE date = "april 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_37 (position VARCHAR, no_s_ VARCHAR)
### Question:
Name the position for numbers of 41
### Answer:
SELECT position FROM table_name_37 WHERE no_s_ = "41"
|
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR)
### Question:
What was the date of the home game for Hartford?
### Answer:
SELECT date FROM table_name_87 WHERE home = "hartford"
|
Below is an context that describes a sql 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 (location VARCHAR, score VARCHAR)
### Question:
What is the location of the game with a 115-105 score?
### Answer:
SELECT location FROM table_name_35 WHERE score = "115-105"
|
Below is an context that describes a sql 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 (frequency VARCHAR, first_published VARCHAR)
### Question:
What is the frequency that the magazine issues that was first published on april 27, 2010?
### Answer:
SELECT frequency FROM table_name_67 WHERE first_published = "april 27, 2010"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (home_team VARCHAR, score VARCHAR)
### Question:
Which home team had a score of 100-86?
### Answer:
SELECT home_team FROM table_name_29 WHERE score = "100-86"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (order INTEGER, built VARCHAR)
### Question:
with build 5/69-6/69 what's the order?
### Answer:
SELECT SUM(order) FROM table_name_89 WHERE built = "5/69-6/69"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30047613_12 (date VARCHAR, streak VARCHAR)
### Question:
in which date the strea was w 2
### Answer:
SELECT date FROM table_30047613_12 WHERE streak = "W 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_17288869_7 (high_assists VARCHAR, high_rebounds VARCHAR)
### Question:
Who had the high assists while Erick Dampier (8) had the high rebounds?
### Answer:
SELECT high_assists FROM table_17288869_7 WHERE high_rebounds = "Erick Dampier (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_80 (quantity VARCHAR, number_of_seats VARCHAR, make VARCHAR)
### Question:
What is the quantity with more than 45 seats and MCI make?
### Answer:
SELECT quantity FROM table_name_80 WHERE number_of_seats > 45 AND make = "mci"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1974482_1 (location VARCHAR, nickname VARCHAR)
### Question:
Name the location of statesmen
### Answer:
SELECT location FROM table_1974482_1 WHERE nickname = "Statesmen"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR)
### Question:
What are the titles of segment b when segment c is standby generators (part 1)?
### Answer:
SELECT segment_b FROM table_15187735_21 WHERE segment_c = "Standby Generators (Part 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 Student (city_code VARCHAR)
### Question:
How many students live in HKG or CHI?
### Answer:
SELECT COUNT(*) FROM Student WHERE city_code = "HKG" OR city_code = "CHI"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (city VARCHAR, venue VARCHAR)
### Question:
What city is Mackey Arena in?
### Answer:
SELECT city FROM table_name_46 WHERE venue = "mackey arena"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR)
### Question:
Who directed the episode that aired on September 25, 1967?
### Answer:
SELECT director FROM table_25800134_12 WHERE airdate = "September 25, 1967"
|
Below is an context that describes a sql 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 (year_s__won VARCHAR, to_par VARCHAR)
### Question:
Which Year(s) won has a To par of +8?
### Answer:
SELECT year_s__won FROM table_name_65 WHERE to_par = "+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_22993636_2 (overall_record VARCHAR, road_record VARCHAR)
### Question:
What's the overall record of the team with 4-3 road record?
### Answer:
SELECT overall_record FROM table_22993636_2 WHERE road_record = "4-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_13480122_5 (high_points VARCHAR, score VARCHAR)
### Question:
who is the the high points with score being w 117–93
### Answer:
SELECT high_points FROM table_13480122_5 WHERE score = "W 117–93"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (total INTEGER, league_cup INTEGER)
### Question:
Which Total has a League Cup smaller than 0?
### Answer:
SELECT MAX(total) FROM table_name_69 WHERE league_cup < 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_75 (material_collected VARCHAR, isbn VARCHAR)
### Question:
What's the Material collected for the 978-1401209674 ISBN?
### Answer:
SELECT material_collected FROM table_name_75 WHERE isbn = "978-1401209674"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17628022_2 (pregame_host VARCHAR, sideline_reporters VARCHAR)
### Question:
Who were the pregame hosts when the sideline reporters were Steve Armitage and Brenda Irving?
### Answer:
SELECT pregame_host FROM table_17628022_2 WHERE sideline_reporters = "Steve Armitage and Brenda Irving"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1914090_2 (europe VARCHAR, america VARCHAR)
### Question:
How many members did Europe have the year that America had 403892?
### Answer:
SELECT europe FROM table_1914090_2 WHERE america = 403892
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (date VARCHAR, silbert VARCHAR)
### Question:
What is the date of the poll with Silbert at 10.0%?
### Answer:
SELECT date FROM table_name_48 WHERE silbert = "10.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_69 (week INTEGER, game_site VARCHAR, result VARCHAR)
### Question:
What is the highest week when the game site was Verizon Wireless Arena, and the result was w 59–42?
### Answer:
SELECT MAX(week) FROM table_name_69 WHERE game_site = "verizon wireless arena" AND result = "w 59–42"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (pos VARCHAR, name VARCHAR)
### Question:
What is Eftychia Karagianni Pos.?
### Answer:
SELECT pos FROM table_name_64 WHERE name = "eftychia karagianni"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)
### Question:
How many digital terrestrial channels are there for channel 4?
### Answer:
SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 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_62 (pick INTEGER, position VARCHAR, overall VARCHAR)
### Question:
What is the highest pick of the wr player with an overall less than 15?
### Answer:
SELECT MAX(pick) FROM table_name_62 WHERE position = "wr" AND overall < 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 TEACHERS (gender VARCHAR, last_name VARCHAR)
### Question:
What is the gender of the teacher with last name "Medhurst"?
### Answer:
SELECT gender FROM TEACHERS WHERE last_name = "Medhurst"
|
Below is an context that describes a sql 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 (qual VARCHAR, laps VARCHAR, start VARCHAR)
### Question:
Which Qual with laps less than 200 and an 11 start?
### Answer:
SELECT qual FROM table_name_4 WHERE laps < 200 AND start = "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_13 (type VARCHAR, date VARCHAR)
### Question:
What was the course type on 22 May?
### Answer:
SELECT type FROM table_name_13 WHERE date = "22 may"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11552751_2 (ship_types_delivered VARCHAR)
### Question:
What was the delivery date when s2 (lst) type, s2 (frigate) type, c1-m type was delivered?
### Answer:
SELECT 1 AS st_ship_delivery_date FROM table_11552751_2 WHERE ship_types_delivered = "S2 (LST) type, S2 (frigate) type, C1-M type"
|
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
During melbourne's home game, who was the away team?
### Answer:
SELECT away_team FROM table_name_51 WHERE home_team = "melbourne"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR)
### Question:
Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir?
### Answer:
SELECT MIN(year_completed) FROM table_name_31 WHERE dam_type = "concrete gravity" AND impounded_body_of_water = "deep creek reservoir"
|
Below is an context that describes a sql 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 (events INTEGER, top_10 VARCHAR, top_5 VARCHAR)
### Question:
What is the sum of Events, when Top-10 is 7, and when Top-5 is greater than 4?
### Answer:
SELECT SUM(events) FROM table_name_80 WHERE top_10 = 7 AND top_5 > 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_23248940_9 (score VARCHAR, game VARCHAR)
### Question:
How did the game number 50 end?
### Answer:
SELECT score FROM table_23248940_9 WHERE game = 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_name_94 (lost VARCHAR, drawn VARCHAR, points VARCHAR)
### Question:
What is Lost, when Drawn is "2", and when Points is "36"?
### Answer:
SELECT lost FROM table_name_94 WHERE drawn = "2" AND points = "36"
|
Below is an context that describes a sql 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 (election_date VARCHAR, electorate VARCHAR)
### Question:
What is the election date for the city of auckland category:articles with hcards?
### Answer:
SELECT election_date FROM table_name_16 WHERE electorate = "city of auckland category:articles with hcards"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Video_games (gname VARCHAR, gtype VARCHAR)
### Question:
Show all video games and their types in the order of their names.
### Answer:
SELECT gname, gtype FROM Video_games ORDER BY gname
|
Below is an context that describes a sql 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 (score INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR)
### Question:
What was Adam Scott's total score when playing in Australia with a to par of e?
### Answer:
SELECT SUM(score) FROM table_name_51 WHERE country = "australia" AND to_par = "e" AND player = "adam scott"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)
### Question:
Find courses that ran in Fall 2009 or in Spring 2010.
### Answer:
SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 UNION SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (name VARCHAR, position VARCHAR, round VARCHAR)
### Question:
Which player had a position of OT during round 27?
### Answer:
SELECT name FROM table_name_43 WHERE position = "ot" AND round = 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_77 (money___ INTEGER, player VARCHAR)
### Question:
What is raymond floyd's lowest $?
### Answer:
SELECT MIN(money___) AS $__ FROM table_name_77 WHERE player = "raymond floyd"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (attendance VARCHAR, score VARCHAR)
### Question:
How many were in attendance with a score of 0:1?
### Answer:
SELECT attendance FROM table_name_82 WHERE score = "0:1"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_201400_2 (telugu_name_తెలుగు VARCHAR, kannada_name_ಕನ್ನಡ VARCHAR)
### Question:
what is the telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ
### Answer:
SELECT telugu_name_తెలుగు FROM table_201400_2 WHERE kannada_name_ಕನ್ನಡ = "Utthara ಉತ್ತರ"
|
Below is an context that describes a sql 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 (pick INTEGER, player VARCHAR)
### Question:
When was steve bartalo picked?
### Answer:
SELECT MAX(pick) FROM table_name_79 WHERE player = "steve bartalo"
|
Below is an context that describes a sql 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 (game VARCHAR, decision VARCHAR, opponent VARCHAR)
### Question:
What game has valiquette as the decision, with @ los angeles kings as the opponent?
### Answer:
SELECT game FROM table_name_96 WHERE decision = "valiquette" AND opponent = "@ los angeles kings"
|
Below is an context that describes a sql 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 (score VARCHAR, attendance VARCHAR, date VARCHAR)
### Question:
What is Score, when Attendance is Gund Arena 20,562, and when Date is January 27?
### Answer:
SELECT score FROM table_name_33 WHERE attendance = "gund arena 20,562" AND date = "january 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_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR)
### Question:
What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind?
### Answer:
SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__km_ > 18 AND peak = "store lenangstind"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR)
### Question:
How many people attended the game on December 2, 1951?
### Answer:
SELECT attendance FROM table_name_69 WHERE date = "december 2, 1951"
|
Below is an context that describes a sql 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 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
How many total medals for the nation ranked 7 with 1 silver and under 4 bronzes?
### Answer:
SELECT AVG(total) FROM table_name_56 WHERE bronze < 4 AND silver = 1 AND rank = "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_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)
### Question:
WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?
### Answer:
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Piret Hamer Helen Reino"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27094070_4 (home_total INTEGER)
### Question:
What was the highest home total?
### Answer:
SELECT MAX(home_total) FROM table_27094070_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_26250155_1 (original_artist VARCHAR, theme VARCHAR)
### Question:
Who was the original artist of the First solo theme?
### Answer:
SELECT original_artist FROM table_26250155_1 WHERE theme = "First Solo"
|
Below is an context that describes a sql 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 (track INTEGER, song_title VARCHAR)
### Question:
Which track has a title : Just a little bit
### Answer:
SELECT MIN(track) FROM table_name_64 WHERE song_title = "just a little bit"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21062353_1 (record VARCHAR, opponent VARCHAR)
### Question:
What was the record of the Wildcats after playing Florida?
### Answer:
SELECT record FROM table_21062353_1 WHERE opponent = "Florida"
|
Below is an context that describes a sql 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 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
### Question:
What is the total number of Points that Peter Whitehead earned in a Ferrari 125?
### Answer:
SELECT SUM(points) FROM table_name_42 WHERE entrant = "peter whitehead" AND chassis = "ferrari 125"
|
Below is an context that describes a sql 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 (away_captain VARCHAR, venue VARCHAR)
### Question:
What is the name of the away captain when the game was at Adelaide Oval?
### Answer:
SELECT away_captain FROM table_name_5 WHERE venue = "adelaide 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_66 (date VARCHAR, circuit VARCHAR, race VARCHAR)
### Question:
What is the date of the Paul Revere 250 race in the Daytona International Speedway circuit?
### Answer:
SELECT date FROM table_name_66 WHERE circuit = "daytona international speedway" AND race = "paul revere 250"
|
Below is an context that describes a sql 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 (circuit VARCHAR, date VARCHAR)
### Question:
Which Circuit is on July 24?
### Answer:
SELECT circuit FROM table_name_56 WHERE date = "july 24"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28342423_1 (aircraft_type VARCHAR, parent_unit VARCHAR)
### Question:
Name the aircraft type for jagdgeschwader 26
### Answer:
SELECT aircraft_type FROM table_28342423_1 WHERE parent_unit = "Jagdgeschwader 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_27293285_2 (points_against VARCHAR, points_for VARCHAR)
### Question:
How many points against did the club who had 353 points for have?
### Answer:
SELECT points_against FROM table_27293285_2 WHERE 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_name_75 (game VARCHAR, january VARCHAR)
### Question:
What was the total number of games on January 20?
### Answer:
SELECT COUNT(game) FROM table_name_75 WHERE january = 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_59 (visiting_team VARCHAR, date VARCHAR)
### Question:
Tell me the visiting team for october 4
### Answer:
SELECT visiting_team FROM table_name_59 WHERE date = "october 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_24901152_2 (year INTEGER, championship VARCHAR)
### Question:
When Australian open is the championship what is the lowest year?
### Answer:
SELECT MIN(year) FROM table_24901152_2 WHERE championship = "Australian Open"
|
Below is an context that describes a sql 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 (year VARCHAR, championship VARCHAR)
### Question:
Which year was the peter jackson classic?
### Answer:
SELECT year FROM table_name_36 WHERE championship = "peter jackson classic"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27657925_1 (original_air_date VARCHAR, written_by VARCHAR)
### Question:
When steve holland is the writer what is the air date?
### Answer:
SELECT original_air_date FROM table_27657925_1 WHERE written_by = "Steve Holland"
|
Below is an context that describes a sql 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 (college VARCHAR, round INTEGER)
### Question:
Which college had rounds smaller than 2?
### Answer:
SELECT college FROM table_name_80 WHERE round < 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_10015132_11 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR)
### Question:
What player played guard for toronto in 1996-97?
### Answer:
SELECT player FROM table_10015132_11 WHERE position = "Guard" AND years_in_toronto = "1996-97"
|
Below is an context that describes a sql 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 (year VARCHAR, award VARCHAR, category VARCHAR)
### Question:
What year was there a Tony award category of Best Revival of a Musical?
### Answer:
SELECT year FROM table_name_72 WHERE award = "tony award" AND category = "best revival of a musical"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (horse_name VARCHAR, jockey VARCHAR, post_time_odds VARCHAR)
### Question:
What horse does todd pletcher ride with odds of 14.20-1?
### Answer:
SELECT horse_name FROM table_name_84 WHERE jockey = "todd pletcher" AND post_time_odds = "14.20-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_12 (played INTEGER, team VARCHAR, against VARCHAR)
### Question:
What is the sum of games Played by the Team Vasco Da Gama, with fewer than 12 Against?
### Answer:
SELECT SUM(played) FROM table_name_12 WHERE team = "vasco da gama" AND against < 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_37 (call_sign VARCHAR, tail_code VARCHAR, weapon_systems_officer VARCHAR)
### Question:
Which Call Sign that has a Tail Code of oy belong to Weapon Systems Officer Capt Charles B. Debellevue?
### Answer:
SELECT call_sign FROM table_name_37 WHERE tail_code = "oy" AND weapon_systems_officer = "capt charles b. debellevue"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE MEDIATYPE (MediaTypeId VARCHAR, Name VARCHAR); CREATE TABLE TRACK (MediaTypeId VARCHAR)
### Question:
How many tracks are in the AAC audio file media type?
### Answer:
SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = "AAC audio file"
|
Below is an context that describes a sql 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 (tennessee VARCHAR, kentucky VARCHAR)
### Question:
What is the Tennessee with a Kentucky of Larry Seiple
### Answer:
SELECT tennessee FROM table_name_11 WHERE kentucky = "larry seiple"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2560677_1 (end_date VARCHAR, artist_s_ VARCHAR)
### Question:
What is the end date for the artist s. moldoff/j. giella/c. infantino?
### Answer:
SELECT end_date FROM table_2560677_1 WHERE artist_s_ = "S. Moldoff/J. Giella/C. Infantino"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)
### Question:
Which urban area has a 2011 population of 5010?
### Answer:
SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 5010
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, ships_name VARCHAR)
### Question:
what are all the date withdrawn for koningin beatrix
### Answer:
SELECT date_withdrawn FROM table_11662133_3 WHERE ships_name = "Koningin Beatrix"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR)
### Question:
what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa?
### Answer:
SELECT circuit FROM table_29686983_1 WHERE fastest_lap = "Sam Lowes" AND winning_rider = "Luca Scassa"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342218_24 (result VARCHAR, incumbent VARCHAR)
### Question:
What was the result of the election with jamie l. whitten?
### Answer:
SELECT result FROM table_1342218_24 WHERE incumbent = "Jamie L. Whitten"
|
Below is an context that describes a sql 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 (h___a VARCHAR, date VARCHAR)
### Question:
What is the H/A for 20 february 2007?
### Answer:
SELECT h___a FROM table_name_54 WHERE date = "20 february 2007"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.