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_1153898_1 (semi_ddm_class VARCHAR, comparisons VARCHAR)
### Question:
Is drawing tablet support part of the semi-DDM class?
### Answer:
SELECT semi_ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17467447_1 (written_by VARCHAR, production_code VARCHAR)
### Question:
Who were the writers for production code 2t6268?
### Answer:
SELECT written_by FROM table_17467447_1 WHERE production_code = "2T6268" |
Below is an context that describes a sql 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 (trans_1 VARCHAR, total_time VARCHAR)
### Question:
How long did the trans 1 take when 2:00:40.20 is the total time?
### Answer:
SELECT trans_1 FROM table_name_28 WHERE total_time = "2:00:40.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_18 (decision VARCHAR, date VARCHAR)
### Question:
What was the decision on November 26?
### Answer:
SELECT decision FROM table_name_18 WHERE date = "november 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_48 (opponent_in_the_final VARCHAR, score VARCHAR, date VARCHAR, partnering VARCHAR)
### Question:
Who was the opponent before 1990 that had a score of 4–6, 6–3, 6–4 and Partnering of Yannick Noah?
### Answer:
SELECT opponent_in_the_final FROM table_name_48 WHERE date < 1990 AND partnering = "yannick noah" AND score = "4–6, 6–3, 6–4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14308895_2 (last_competed INTEGER, country_territory VARCHAR)
### Question:
when did new zealand last compete?
### Answer:
SELECT MAX(last_competed) FROM table_14308895_2 WHERE country_territory = "New Zealand" |
Below is an context that describes a sql 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 (nhl_team VARCHAR, player VARCHAR)
### Question:
Tell me the NHL team for ryan johnson
### Answer:
SELECT nhl_team FROM table_name_69 WHERE player = "ryan johnson" |
Below is an context that describes a sql 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 (Callback VARCHAR, date VARCHAR)
### Question:
What was the callback date for the auditions held on July 29, 2008?
### Answer:
SELECT Callback AS date FROM table_name_28 WHERE date = "july 29, 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26358264_2 (winning_aircraft VARCHAR, country VARCHAR)
### Question:
When united arab emirates is the country what is the winning aircraft?
### Answer:
SELECT winning_aircraft FROM table_26358264_2 WHERE country = "United Arab Emirates" |
Below is an context that describes a sql 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 (venue VARCHAR, competition VARCHAR, date VARCHAR)
### Question:
Name the venue for friendly competition october 16, 2012
### Answer:
SELECT venue FROM table_name_89 WHERE competition = "friendly" AND date = "october 16, 2012" |
Below is an context that describes a sql 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, visitor VARCHAR)
### Question:
What date has ny islanders as the visitor?
### Answer:
SELECT date FROM table_name_66 WHERE visitor = "ny islanders" |
Below is an context that describes a sql 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 (school_club_team VARCHAR, wnba_team VARCHAR)
### Question:
What school or club team did the player chosen for the Sacramento Monarchs play for?
### Answer:
SELECT school_club_team FROM table_name_94 WHERE wnba_team = "sacramento monarchs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11621915_1 (date VARCHAR, tournament VARCHAR)
### Question:
what's the date with tournament value of ford senior players championship
### Answer:
SELECT date FROM table_11621915_1 WHERE tournament = "Ford Senior Players Championship" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (second VARCHAR, team VARCHAR, third VARCHAR)
### Question:
Who is the second on the North America team for which Cathy Overton-Clapham the third?
### Answer:
SELECT second FROM table_name_10 WHERE team = "north america" AND third = "cathy overton-clapham" |
Below is an context that describes a sql 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 (goals_against INTEGER, club VARCHAR, points VARCHAR)
### Question:
Which Goals against have a Club of cd castellón, and Points smaller than 24?
### Answer:
SELECT AVG(goals_against) FROM table_name_15 WHERE club = "cd castellón" AND points < 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_17 (lithium VARCHAR, caesium VARCHAR)
### Question:
what is the properties of lithium when caesium is ki (1.7)?
### Answer:
SELECT lithium FROM table_name_17 WHERE caesium = "ki (1.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_25271777_1 (murder VARCHAR, forcible_rape VARCHAR)
### Question:
What was the number of murders the year forcible rapes were at 166?
### Answer:
SELECT murder FROM table_25271777_1 WHERE forcible_rape = 166 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18332845_2 (departure VARCHAR, arrival VARCHAR)
### Question:
What was the departure time when the arrival was 14.40?
### Answer:
SELECT departure FROM table_18332845_2 WHERE arrival = "14.40" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (winner VARCHAR, loser VARCHAR, result VARCHAR)
### Question:
Which team won against the New England Patriots 40-21?
### Answer:
SELECT winner FROM table_name_14 WHERE loser = "new england patriots" AND result = "40-21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (series VARCHAR, city___state VARCHAR)
### Question:
what series was in sydney, new south wales?
### Answer:
SELECT series FROM table_name_49 WHERE city___state = "sydney, new south wales" |
Below is an context that describes a sql 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 (tournaments_played VARCHAR, money_list_rank VARCHAR, cuts_made VARCHAR)
### Question:
how many times is the money list rank 221 and cuts more than 2?
### Answer:
SELECT COUNT(tournaments_played) FROM table_name_97 WHERE money_list_rank = "221" AND cuts_made > 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_1342370_5 (candidates VARCHAR, incumbent VARCHAR)
### Question:
What candidates ran in the election that featured harry lane englebright?
### Answer:
SELECT candidates FROM table_1342370_5 WHERE incumbent = "Harry Lane Englebright" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1348989_2 (TV VARCHAR, season VARCHAR)
### Question:
In what TV season did the 3rd season air?
### Answer:
SELECT TV AS season FROM table_1348989_2 WHERE season = "3rd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (total INTEGER, player VARCHAR)
### Question:
Name the Total of jeff sluman?
### Answer:
SELECT AVG(total) FROM table_name_76 WHERE player = "jeff sluman" |
Below is an context that describes a sql 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 (points VARCHAR, year VARCHAR, chassis VARCHAR)
### Question:
How many points are there for a Mclaren m23 chassis later than 1972?
### Answer:
SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Documents_with_expenses (budget_type_code VARCHAR)
### Question:
What is the budget type code with most number of documents.
### Answer:
SELECT budget_type_code FROM Documents_with_expenses GROUP BY budget_type_code ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (club VARCHAR, wins VARCHAR, losses VARCHAR, goals_for VARCHAR)
### Question:
What club has less than 10 losses, less than 55 goals, and 13 wins?
### Answer:
SELECT club FROM table_name_47 WHERE losses < 10 AND goals_for < 55 AND wins = 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_93 (surface VARCHAR, date VARCHAR)
### Question:
Name the surface for january 8, 2001
### Answer:
SELECT surface FROM table_name_93 WHERE date = "january 8, 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_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER)
### Question:
Tell me the score for score in legs and year less than 2012
### Answer:
SELECT score__l__ = _score_in_legs, __s__ = _score_in_sets FROM table_name_51 WHERE year < 2012 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26733129_1 (musical_performance VARCHAR, air_date VARCHAR)
### Question:
What musical performances aired on 5 April 2010?
### Answer:
SELECT musical_performance FROM table_26733129_1 WHERE air_date = "5 April 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_10 (display_size__in_ INTEGER, model VARCHAR)
### Question:
Which Display size (in) has a Model of versapro vy10f/bh-l?
### Answer:
SELECT MIN(display_size__in_) FROM table_name_10 WHERE model = "versapro vy10f/bh-l" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR)
### Question:
What is the nationality of the player from Vancouver Canucks?
### Answer:
SELECT nationality FROM table_1013129_3 WHERE nhl_team = "Vancouver Canucks" |
Below is an context that describes a sql 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 (losses INTEGER, goals_against VARCHAR, wins VARCHAR)
### Question:
What is the average loss with a goal higher than 51 and wins higher than 14?
### Answer:
SELECT AVG(losses) FROM table_name_88 WHERE goals_against > 51 AND wins > 14 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (grid INTEGER, constructor VARCHAR)
### Question:
What is the high grid total for maserati?
### Answer:
SELECT MAX(grid) FROM table_name_68 WHERE constructor = "maserati" |
Below is an context that describes a sql 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 (driver VARCHAR, grid VARCHAR)
### Question:
Who drove the car with a grid of 7?
### Answer:
SELECT driver FROM table_name_38 WHERE grid = 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (opponent VARCHAR, venue VARCHAR)
### Question:
Who was the opponent at the competition held at Jeonju?
### Answer:
SELECT opponent FROM table_name_20 WHERE venue = "jeonju" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18600760_18 (geo_id INTEGER, land___sqmi__ VARCHAR)
### Question:
What is the GEO ID of the township with area of 32.532 square miles?
### Answer:
SELECT MAX(geo_id) FROM table_18600760_18 WHERE land___sqmi__ = "32.532" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (opponent VARCHAR, date VARCHAR)
### Question:
Who played the Rams on October 2, 2005?
### Answer:
SELECT opponent FROM table_name_22 WHERE date = "october 2, 2005" |
Below is an context that describes a sql 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 (election VARCHAR)
### Question:
What is the 1st party during the 1857 election?
### Answer:
SELECT 1 AS st_party FROM table_name_34 WHERE election = "1857" |
Below is an context that describes a sql 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 (seats INTEGER, share_of_votes VARCHAR, total_seats VARCHAR)
### Question:
with shares of 45.3% and total seats less than 166. what is the greatest number of seat?
### Answer:
SELECT MAX(seats) FROM table_name_61 WHERE share_of_votes = "45.3%" AND total_seats < 166 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What's the 2010 when Q2 happened in 2011?
### Answer:
SELECT 2010 FROM table_name_45 WHERE 2011 = "q2" |
Below is an context that describes a sql 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 (pop__2010_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, ansi_code VARCHAR, longitude VARCHAR)
### Question:
Which Pop (2010) has an ANSI code smaller than 1036864, and a Longitude larger than -98.46611, and a Land (sqmi) smaller than 36.238, and a Latitude smaller than 48.144102?
### Answer:
SELECT AVG(pop__2010_) FROM table_name_21 WHERE ansi_code < 1036864 AND longitude > -98.46611 AND land___sqmi__ < 36.238 AND latitude < 48.144102 |
Below is an context that describes a sql 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 (visitor VARCHAR, home VARCHAR)
### Question:
Who was the visiting team that played against the Kings?
### Answer:
SELECT visitor FROM table_name_42 WHERE home = "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_32 (drawn INTEGER, name VARCHAR, points VARCHAR)
### Question:
What is the average games that were drawn with ERSC Amberg as name and less than 14 points?
### Answer:
SELECT AVG(drawn) FROM table_name_32 WHERE name = "ersc amberg" AND points < 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_16227492_1 (_number INTEGER, opponent VARCHAR)
### Question:
Name the most number for new england blazers
### Answer:
SELECT MAX(_number) FROM table_16227492_1 WHERE opponent = "New England Blazers" |
Below is an context that describes a sql 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 (mission VARCHAR, name VARCHAR)
### Question:
David Scott went on which mission?
### Answer:
SELECT mission FROM table_name_8 WHERE name = "david scott" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (competition VARCHAR, year VARCHAR)
### Question:
What was the competition held in 2003?
### Answer:
SELECT competition FROM table_name_17 WHERE year = 2003 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17058226_5 (high_rebounds VARCHAR, high_points VARCHAR)
### Question:
Who had all the high rebounds when kevin love (20) scored the highest points?
### Answer:
SELECT high_rebounds FROM table_17058226_5 WHERE high_points = "Kevin Love (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_33 (call_sign VARCHAR, frequency_mhz VARCHAR)
### Question:
What is the name of call sign that uses a Frequency MHz of 91.1 fm?
### Answer:
SELECT call_sign FROM table_name_33 WHERE frequency_mhz = "91.1 fm" |
Below is an context that describes a sql 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 (country VARCHAR, iata VARCHAR)
### Question:
Which country has an IATA of EVN?
### Answer:
SELECT country FROM table_name_8 WHERE iata = "evn" |
Below is an context that describes a sql 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 (doctor_who_episode VARCHAR, episode__number VARCHAR)
### Question:
Which Doctor Who episode has a Episode # of 11?
### Answer:
SELECT doctor_who_episode FROM table_name_78 WHERE episode__number = "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_21564794_3 (championships_in_st_louis VARCHAR, sport VARCHAR)
### Question:
How many championships were won for arena football?
### Answer:
SELECT championships_in_st_louis FROM table_21564794_3 WHERE sport = "Arena Football" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19744915_14 (place VARCHAR, rank_by_average INTEGER)
### Question:
What place would you be in if your rank by average is less than 2.0?
### Answer:
SELECT place FROM table_19744915_14 WHERE rank_by_average < 2.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_78 (status VARCHAR, vehicle_numbers VARCHAR)
### Question:
what status is the vehicle numbers of adb977554?
### Answer:
SELECT status FROM table_name_78 WHERE vehicle_numbers = "adb977554" |
Below is an context that describes a sql 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 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
### Question:
Which Time has a Lane smaller than 2, and a Nationality of spain?
### Answer:
SELECT time FROM table_name_73 WHERE lane < 2 AND nationality = "spain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28760804_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
### Question:
How many million U.S. viewers saw the episode with production code 3X5710?
### Answer:
SELECT us_viewers__million_ FROM table_28760804_1 WHERE production_code = "3X5710" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16779068_5 (weightlifter VARCHAR)
### Question:
Name the 3 where weightlifter is m. van der goten ( bel )
### Answer:
SELECT 3 FROM table_16779068_5 WHERE weightlifter = "M. Van der Goten ( BEL )" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24598274_20 (channel VARCHAR, local_title VARCHAR)
### Question:
The local title "Live to Dance" was aired in which channel?
### Answer:
SELECT channel FROM table_24598274_20 WHERE local_title = "Live to Dance" |
Below is an context that describes a sql 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 (tonnage__grt_ INTEGER, date VARCHAR)
### Question:
Which Tonnage (GRT) is the highest one that has a Date of 16 june 1940?
### Answer:
SELECT MAX(tonnage__grt_) FROM table_name_52 WHERE date = "16 june 1940" |
Below is an context that describes a sql 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 (venue VARCHAR, score VARCHAR, date VARCHAR)
### Question:
what is the venue when the score is 1 goal and the date is october 11, 1997?
### Answer:
SELECT venue FROM table_name_96 WHERE score = "1 goal" AND date = "october 11, 1997" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (season VARCHAR, round VARCHAR, away_result VARCHAR)
### Question:
Round of 1r, and an away result of 7–1 is what season?
### Answer:
SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7–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_49 (total_produced VARCHAR, service VARCHAR, builder’s_model VARCHAR)
### Question:
What is the total amount of freight produced of u28c?
### Answer:
SELECT total_produced FROM table_name_49 WHERE service = "freight" AND builder’s_model = "u28c" |
Below is an context that describes a sql 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 (team VARCHAR, high_points VARCHAR)
### Question:
What is Team, when High Points is "Tracy McGrady (24)"?
### Answer:
SELECT team FROM table_name_49 WHERE high_points = "tracy mcgrady (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_64 (rounds VARCHAR, driver VARCHAR)
### Question:
How many rounds did Ken Wharton go?
### Answer:
SELECT rounds FROM table_name_64 WHERE driver = "ken wharton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20799587_1 (mccain_number INTEGER, county VARCHAR)
### Question:
How many votes did McCain get in Scott?
### Answer:
SELECT MIN(mccain_number) FROM table_20799587_1 WHERE county = "Scott" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
### Question:
Which Bronze has a Gold larger than 1, and a Silver smaller than 3, and a Rank smaller than 5?
### Answer:
SELECT bronze FROM table_name_69 WHERE gold > 1 AND silver < 3 AND rank < 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_87 (game_site VARCHAR, date VARCHAR)
### Question:
Which game site hosted a match on April 10, 2004?
### Answer:
SELECT game_site FROM table_name_87 WHERE date = "april 10, 2004" |
Below is an context that describes a sql 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 (model_number VARCHAR, sspec_number VARCHAR)
### Question:
What is the model number for the processor with sSpec number of sl3jm(kc0)sl3jt(kc0)?
### Answer:
SELECT model_number FROM table_name_32 WHERE sspec_number = "sl3jm(kc0)sl3jt(kc0)" |
Below is an context that describes a sql 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 (pts INTEGER, engine VARCHAR)
### Question:
What is the highest number of points the cosworth straight-4 engine scored?
### Answer:
SELECT MAX(pts) FROM table_name_51 WHERE engine = "cosworth straight-4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (lost INTEGER, points_1 VARCHAR, goals_against VARCHAR)
### Question:
What is the maximum lost with points 1 more than 58 and 66 goals against?
### Answer:
SELECT MAX(lost) FROM table_name_9 WHERE points_1 > 58 AND goals_against = 66 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16275828_4 (location VARCHAR, track_name VARCHAR)
### Question:
What location is farmer city speedway?
### Answer:
SELECT location FROM table_16275828_4 WHERE track_name = "Farmer City Speedway" |
Below is an context that describes a sql 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 (score VARCHAR, year VARCHAR)
### Question:
What is the score in 1929?
### Answer:
SELECT score FROM table_name_46 WHERE year = "1929" |
Below is an context that describes a sql 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 (floors INTEGER, building_type VARCHAR, sr_no VARCHAR)
### Question:
what is the least floors when the building type is residential and the sr no is 8?
### Answer:
SELECT MIN(floors) FROM table_name_79 WHERE building_type = "residential" AND sr_no = 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 (total_goals VARCHAR, total_apps VARCHAR, league_goals VARCHAR)
### Question:
How many total goals have 0 (3) as total apps, with league goals less than 0?
### Answer:
SELECT COUNT(total_goals) FROM table_name_80 WHERE total_apps = "0 (3)" AND league_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_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR)
### Question:
What is the year when the Winner was the new york jets, with a Result of 24–17, played at giants stadium?
### Answer:
SELECT SUM(year) FROM table_name_39 WHERE winner = "new york jets" AND result = "24–17" AND location = "giants stadium" |
Below is an context that describes a sql 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 (class VARCHAR, machine VARCHAR, points VARCHAR)
### Question:
What class has nsr250 as the machine, with points greater than 97?
### Answer:
SELECT class FROM table_name_45 WHERE machine = "nsr250" AND points > 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_13 (finish INTEGER, year VARCHAR, team VARCHAR, start VARCHAR)
### Question:
Lowest finish for ganassi at smaller than 19 start for smaller than 2004 year?
### Answer:
SELECT MIN(finish) FROM table_name_13 WHERE team = "ganassi" AND start < 19 AND year < 2004 |
Below is an context that describes a sql 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 (tier INTEGER, turkish_cup VARCHAR, pos VARCHAR)
### Question:
What is the lowest tier for a position smaller than 7 for a Turkish Cup group stage?
### Answer:
SELECT MIN(tier) FROM table_name_99 WHERE turkish_cup = "group stage" AND pos < 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (pick__number VARCHAR, college VARCHAR)
### Question:
What is the total number of picks for Calgary College?
### Answer:
SELECT COUNT(pick__number) FROM table_name_30 WHERE college = "calgary" |
Below is an context that describes a sql 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 (gold INTEGER, rank VARCHAR)
### Question:
What is the sum of gold medals for a rank of 14?
### Answer:
SELECT SUM(gold) FROM table_name_95 WHERE rank = "14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (total INTEGER, to_par VARCHAR)
### Question:
What is the maximum total when the To par is +3?
### Answer:
SELECT MAX(total) FROM table_name_16 WHERE to_par = "+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_26 (new_zealand_kennel_club_toy_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR)
### Question:
What is the New Zealand Kennel Club Toy Group with papillon as the Australian National Kennel Council Toy Dogs Group breed?
### Answer:
SELECT new_zealand_kennel_club_toy_group FROM table_name_26 WHERE australian_national_kennel_council_toy_dogs_group = "papillon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR)
### Question:
what is the smallest series episode number whose production code is 2t7211?
### Answer:
SELECT MIN(no) FROM table_21979779_1 WHERE production_code = "2T7211" |
Below is an context that describes a sql 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 (surface VARCHAR, date VARCHAR)
### Question:
What was the surface on 23 October 2011?
### Answer:
SELECT surface FROM table_name_97 WHERE date = "23 october 2011" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (label VARCHAR, catalog VARCHAR, date VARCHAR)
### Question:
What is the Label of the September 20, 2008 release with Catalog number RTRADCD491?
### Answer:
SELECT label FROM table_name_22 WHERE catalog = "rtradcd491" AND date = "september 20, 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (type VARCHAR, list_entry_number VARCHAR)
### Question:
Which type has list entry number of 1356677?
### Answer:
SELECT type FROM table_name_52 WHERE list_entry_number = 1356677 |
Below is an context that describes a sql 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 (city_of_license VARCHAR, network VARCHAR)
### Question:
In which city is the network latv licensed?
### Answer:
SELECT city_of_license FROM table_name_93 WHERE network = "latv" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22355_65 (total_min_2_medals_ INTEGER)
### Question:
What is the lowest overall number for total(min. 2 medals)?
### Answer:
SELECT MIN(total_min_2_medals_) FROM table_22355_65 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28967275_3 (original_air_date VARCHAR, episode__number VARCHAR)
### Question:
when 69 is the episode number what is the air date?
### Answer:
SELECT original_air_date FROM table_28967275_3 WHERE episode__number = 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 song (artist_name VARCHAR, languages VARCHAR, resolution INTEGER)
### Question:
What is the language that was used most often in songs with resolution above 500?
### Answer:
SELECT artist_name FROM song WHERE resolution > 500 GROUP BY languages ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE people (Name VARCHAR, Age VARCHAR)
### Question:
Show the names of people aged either 35 or 36.
### Answer:
SELECT Name FROM people WHERE Age = 35 OR Age = 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_35 (record VARCHAR, opponent VARCHAR)
### Question:
What is the record of the opponent that has a bye?
### Answer:
SELECT record FROM table_name_35 WHERE opponent = "bye" |
Below is an context that describes a sql 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 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
What is the sum of Gold, when Total is greater than 2, when Bronze is greater than 1, and when Silver is less than 1?
### Answer:
SELECT SUM(gold) FROM table_name_70 WHERE total > 2 AND bronze > 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_27 (moving_from VARCHAR, type VARCHAR, name VARCHAR)
### Question:
What is Moving, when Type is "Transfer", and when Name is "Andy Webster"?
### Answer:
SELECT moving_from FROM table_name_27 WHERE type = "transfer" AND name = "andy webster" |
Below is an context that describes a sql 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 (city_of_license VARCHAR, founded VARCHAR)
### Question:
Name the city of license for when founded is october 2010
### Answer:
SELECT city_of_license FROM table_name_3 WHERE founded = "october 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_7 (result INTEGER, name VARCHAR)
### Question:
What is Anna Rogowska's average result?
### Answer:
SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13762472_5 (high_points VARCHAR, record VARCHAR)
### Question:
Who had the high point total when the team was 24-17?
### Answer:
SELECT high_points FROM table_13762472_5 WHERE record = "24-17" |
Below is an context that describes a sql 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 (surface VARCHAR, tournament VARCHAR)
### Question:
What is Surface, when Tournament is "Saint Joseph , United States"?
### Answer:
SELECT surface FROM table_name_87 WHERE tournament = "saint joseph , 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_74 (record VARCHAR, score VARCHAR)
### Question:
What was the record after the game that ended in a 2-3 loss?
### Answer:
SELECT record FROM table_name_74 WHERE score = "2-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_6 (visitor VARCHAR, date VARCHAR)
### Question:
Who visited on march 26?
### Answer:
SELECT visitor FROM table_name_6 WHERE date = "march 26" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.