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_42 (period_active VARCHAR, artist VARCHAR)
### Question:
Name the period active for enya
### Answer:
SELECT period_active FROM table_name_42 WHERE artist = "enya" |
Below is an context that describes a sql 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 (country VARCHAR, name VARCHAR)
### Question:
Name the country for pieroni
### Answer:
SELECT country FROM table_name_46 WHERE name = "pieroni" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, area__km²_ VARCHAR)
### Question:
Name the population 2000 census for 77 area
### Answer:
SELECT population_2000_census FROM table_14986292_1 WHERE area__km²_ = "77" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1008653_9 (country___exonym__ VARCHAR, country___endonym__ VARCHAR)
### Question:
Which country (exonym) is the country (endonym) isle of man ellan vannin?
### Answer:
SELECT country___exonym__ FROM table_1008653_9 WHERE country___endonym__ = "Isle of Man Ellan Vannin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (district VARCHAR, former_local_authority VARCHAR)
### Question:
What district is the parish who had the South Cambridgeshire rural district as the former local authority?
### Answer:
SELECT district FROM table_name_71 WHERE former_local_authority = "south cambridgeshire rural district" |
Below is an context that describes a sql 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 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
### Question:
What was the home team for the 2nd leg of the match having an aggregate of 2-3?
### Answer:
SELECT home__2nd_leg_ FROM table_name_59 WHERE aggregate = "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_22496344_1 (_number INTEGER, home_town VARCHAR)
### Question:
What is the # when conroe, tx is the hometown?
### Answer:
SELECT MIN(_number) FROM table_22496344_1 WHERE home_town = "Conroe, TX" |
Below is an context that describes a sql 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 (week INTEGER, attendance VARCHAR)
### Question:
What is the sum of week(s) with an attendance of 30,751?
### Answer:
SELECT SUM(week) FROM table_name_77 WHERE attendance = 30 OFFSET 751 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (tries INTEGER, season VARCHAR, appearance VARCHAR)
### Question:
what is the average tries for the season 2008 warrington wolves with an appearance more than 7?
### Answer:
SELECT AVG(tries) FROM table_name_55 WHERE season = "2008 warrington wolves" AND appearance > 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_13241993_3 (part_6 VARCHAR, episode__number VARCHAR)
### Question:
How many part 6 parts are there in the episode number 5?
### Answer:
SELECT COUNT(part_6) FROM table_13241993_3 WHERE episode__number = 5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23018775_3 (avg_speed VARCHAR, total_time VARCHAR)
### Question:
What was the average speed where the total time was 1:30.4842?
### Answer:
SELECT avg_speed FROM table_23018775_3 WHERE total_time = "1:30.4842" |
Below is an context that describes a sql 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 (pick VARCHAR, player VARCHAR, nfl_club VARCHAR)
### Question:
Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers?
### Answer:
SELECT pick FROM table_name_58 WHERE player = "chuck bryant" AND nfl_club = "san diego chargers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (Id VARCHAR)
### Question:
What is the 2012 value when the 2011 and 2007 values are 1R?
### Answer:
SELECT 2012 FROM table_name_28 WHERE 2011 = "1r" AND 2007 = "1r" |
Below is an context that describes a sql 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 (rank INTEGER, team VARCHAR, bb_so VARCHAR)
### Question:
What is the average rank for team cle when the BB/SO is 10.89?
### Answer:
SELECT AVG(rank) FROM table_name_97 WHERE team = "cle" AND bb_so = 10.89 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2820584_2 (year INTEGER)
### Question:
What is the most recent year shown for Betty Stove?
### Answer:
SELECT MAX(year) FROM table_2820584_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_17 (goals INTEGER, name VARCHAR)
### Question:
Which Goals have a Name of lee dong-gook?
### Answer:
SELECT MAX(goals) FROM table_name_17 WHERE name = "lee dong-gook" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19730892_1 (fa_cup_apps VARCHAR, name VARCHAR)
### Question:
Name the fa cup apps for arthur morton
### Answer:
SELECT fa_cup_apps FROM table_19730892_1 WHERE name = "Arthur Morton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE match_season (player VARCHAR, College VARCHAR)
### Question:
Return all players sorted by college in ascending alphabetical order.
### Answer:
SELECT player FROM match_season ORDER BY College |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Movie (director VARCHAR)
### Question:
What are the names of the directors who made exactly one movie excluding director NULL?
### Answer:
SELECT director FROM Movie WHERE director <> "null" GROUP BY director HAVING COUNT(*) = 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_13 (score VARCHAR, date VARCHAR)
### Question:
What is the score on December 31?
### Answer:
SELECT score FROM table_name_13 WHERE date = "december 31" |
Below is an context that describes a sql 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 (to_par VARCHAR, score VARCHAR)
### Question:
What is the To par value that goes with a Score of 70-69=139?
### Answer:
SELECT to_par FROM table_name_78 WHERE score = 70 - 69 = 139 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Sportsinfo (gamesplayed INTEGER, sportname VARCHAR, onscholarship VARCHAR)
### Question:
How many games are played for all football games by students on scholarship?
### Answer:
SELECT SUM(gamesplayed) FROM Sportsinfo WHERE sportname = "Football" AND onscholarship = 'Y' |
Below is an context that describes a sql 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 (notes VARCHAR, time VARCHAR)
### Question:
What are the notes with the time 6:24.21?
### Answer:
SELECT notes FROM table_name_94 WHERE time = "6:24.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_86 (draw INTEGER, points VARCHAR)
### Question:
What is the draw number that has 59 points?
### Answer:
SELECT AVG(draw) FROM table_name_86 WHERE points = 59 |
Below is an context that describes a sql 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 (home_team VARCHAR, date VARCHAR)
### Question:
Which Home team score is on sunday 24 february?
### Answer:
SELECT home_team AS score FROM table_name_74 WHERE date = "sunday 24 february" |
Below is an context that describes a sql 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 (fastest_lap VARCHAR, race_winner VARCHAR)
### Question:
Who had the fastest lap where Joan Lascorz was the winner?
### Answer:
SELECT fastest_lap FROM table_name_45 WHERE race_winner = "joan lascorz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (score VARCHAR, tournament VARCHAR)
### Question:
What is the score for the Tournament of Cordenons?
### Answer:
SELECT score FROM table_name_12 WHERE tournament = "cordenons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE CAR_NAMES (model VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR, model VARCHAR); CREATE TABLE CAR_MAKERS (Id VARCHAR, Maker VARCHAR)
### Question:
What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?
### Answer:
SELECT T1.Id, T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING COUNT(*) >= 2 INTERSECT SELECT T1.Id, T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model GROUP BY T1.Id HAVING COUNT(*) > 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_20301877_2 (player VARCHAR)
### Question:
what is the 3-dart average of raymond van barneveld
### Answer:
SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player = "Raymond van Barneveld" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_293465_1 (rank_2010 VARCHAR, country VARCHAR)
### Question:
When indonesia is the country what is the rank of 2010?
### Answer:
SELECT rank_2010 FROM table_293465_1 WHERE country = "Indonesia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Rooms (bedType VARCHAR)
### Question:
Find the number of rooms with a king bed.
### Answer:
SELECT COUNT(*) FROM Rooms WHERE bedType = "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_23248967_10 (date VARCHAR, game VARCHAR)
### Question:
What date was game 78 played on?
### Answer:
SELECT date FROM table_23248967_10 WHERE game = 78 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (country VARCHAR, youth__15_24__literacy_rate_total VARCHAR, youth_men VARCHAR)
### Question:
What country has a Youth (15-24) Literacy Rate Total of 99%, and a Youth Men of 98%?
### Answer:
SELECT country FROM table_name_50 WHERE youth__15_24__literacy_rate_total = "99%" AND youth_men = "98%" |
Below is an context that describes a sql 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 (points INTEGER, engine VARCHAR, year VARCHAR)
### Question:
How many points did the Weslake v12 get in 1966?
### Answer:
SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966 |
Below is an context that describes a sql 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 (playoffs_2 VARCHAR, season VARCHAR)
### Question:
What is the playoffs 2 result of season 2010-11?
### Answer:
SELECT playoffs_2 FROM table_name_18 WHERE season = "2010-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_11303072_5 (batting_team VARCHAR, fielding_team VARCHAR)
### Question:
Name the batting team at Durham
### Answer:
SELECT batting_team FROM table_11303072_5 WHERE fielding_team = "Durham" |
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
What is the Attendance of the game on December 12, 2004?
### Answer:
SELECT attendance FROM table_name_84 WHERE date = "december 12, 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_71 (change VARCHAR, share VARCHAR)
### Question:
Name the change with share of 2.9%
### Answer:
SELECT change FROM table_name_71 WHERE share = "2.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_21 (date VARCHAR, visitor VARCHAR)
### Question:
What date has boston as the visitor?
### Answer:
SELECT date FROM table_name_21 WHERE visitor = "boston" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23141790_1 (director VARCHAR, original_title VARCHAR)
### Question:
Name the total number of director for vesničko má středisková
### Answer:
SELECT COUNT(director) FROM table_23141790_1 WHERE original_title = "Vesničko má středisková" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20866024_4 (gvw__kg_ton_ VARCHAR, model_designation VARCHAR)
### Question:
What is the GVW for model 97H00?
### Answer:
SELECT gvw__kg_ton_ FROM table_20866024_4 WHERE model_designation = "97H00" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26250176_1 (song_choice VARCHAR, result VARCHAR)
### Question:
What song was used resulting in the bottom 3?
### Answer:
SELECT song_choice FROM table_26250176_1 WHERE result = "Bottom 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_90 (location_attendance VARCHAR, game VARCHAR, record VARCHAR)
### Question:
What is the location and attendance of the game with a game number greater than 7 and a record of 5-2-1?
### Answer:
SELECT location_attendance FROM table_name_90 WHERE game > 7 AND record = "5-2-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_11727969_1 (species_in_the_peruvian_amazon INTEGER, species_in_peru VARCHAR)
### Question:
what's the minimum species in the peruvian amazon with species in peru of 1000
### Answer:
SELECT MIN(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE species_in_peru = 1000 |
Below is an context that describes a sql 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_passengers INTEGER, annual_change VARCHAR, rank VARCHAR)
### Question:
What is the highest Total Passengers when the annual change is 18.3%, and the rank is less than 11?
### Answer:
SELECT MAX(total_passengers) FROM table_name_49 WHERE annual_change = "18.3%" AND rank < 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_9 (analog VARCHAR, callsign VARCHAR)
### Question:
what is the analog type for wxmi?
### Answer:
SELECT analog FROM table_name_9 WHERE callsign = "wxmi" |
Below is an context that describes a sql 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 (nightly_rank VARCHAR, viewers__millions_ INTEGER)
### Question:
Rank for viewers larger than 1.244?
### Answer:
SELECT nightly_rank FROM table_name_21 WHERE viewers__millions_ > 1.244 |
Below is an context that describes a sql 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 (runners_up INTEGER, years_won VARCHAR)
### Question:
How many runners up for the team that won in 1993?
### Answer:
SELECT MIN(runners_up) FROM table_name_66 WHERE years_won = "1993" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR)
### Question:
During the 2013 debut, what is the w-I(total) number?
### Answer:
SELECT COUNT(w_l__total_) FROM table_11233358_2 WHERE debut = 2013 |
Below is an context that describes a sql 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 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR)
### Question:
What is the average of the top-25 with 16 cuts and less than 23 events?
### Answer:
SELECT AVG(top_25) FROM table_name_79 WHERE cuts_made = 16 AND events < 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_35 (lost VARCHAR, try_bonus VARCHAR, losing_bonus VARCHAR)
### Question:
What is the value for Lost, when the value for Try bonus is 2, and when the value for Losing bonus is 4?
### Answer:
SELECT lost FROM table_name_35 WHERE try_bonus = "2" AND losing_bonus = "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_12792876_2 (drawn VARCHAR, tries_against VARCHAR)
### Question:
How many draws were there when there were 30 tries against?
### Answer:
SELECT drawn FROM table_12792876_2 WHERE tries_against = "30" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE institution (institution_id VARCHAR, founded VARCHAR, type VARCHAR); CREATE TABLE protein (institution_id VARCHAR)
### Question:
How many proteins are associated with an institution founded after 1880 or an institution with type "Private"?
### Answer:
SELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id WHERE T1.founded > 1880 OR T1.type = 'Private' |
Below is an context that describes a sql 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 (opponent VARCHAR, location_attendance VARCHAR)
### Question:
What is Opponent, when Location/Attendance is "Mellon Arena - 17,132"?
### Answer:
SELECT opponent FROM table_name_67 WHERE location_attendance = "mellon arena - 17,132" |
Below is an context that describes a sql 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 (result VARCHAR, athlete VARCHAR)
### Question:
Show the Result of inger miller?
### Answer:
SELECT result FROM table_name_75 WHERE athlete = "inger miller" |
Below is an context that describes a sql 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 (year VARCHAR, engine VARCHAR, pts VARCHAR)
### Question:
What year had a Ford engine and 13 points?
### Answer:
SELECT year FROM table_name_16 WHERE engine = "ford" AND pts = 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_47 (duration VARCHAR, province VARCHAR)
### Question:
What is the duration of the commissioner from the zeeland province?
### Answer:
SELECT duration FROM table_name_47 WHERE province = "zeeland" |
Below is an context that describes a sql 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 (ipsos_5_25_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
### Question:
Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%?
### Answer:
SELECT ipsos_5_25_09 FROM table_name_26 WHERE tns_sofres_5_28_09 = "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_51 (losses VARCHAR, goals_against VARCHAR, goal_difference VARCHAR, draws VARCHAR)
### Question:
How many losses are there with 5 goal differences, drew more than 10 times, and 43 goals against?
### Answer:
SELECT COUNT(losses) FROM table_name_51 WHERE goal_difference = 5 AND draws > 10 AND goals_against = 43 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13557843_3 (high_assists VARCHAR, team VARCHAR)
### Question:
Who had the high assists against charlotte?
### Answer:
SELECT high_assists FROM table_13557843_3 WHERE team = "Charlotte" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
In the match where geelong was the away team, who was the home team?
### Answer:
SELECT home_team FROM table_name_46 WHERE away_team = "geelong" |
Below is an context that describes a sql 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 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)
### Question:
I want the average bronze for total of 19 and silver of 8 with rank of 31
### Answer:
SELECT AVG(bronze) FROM table_name_12 WHERE total = 19 AND silver = 8 AND rank = "31" |
Below is an context that describes a sql 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 (round VARCHAR, college VARCHAR)
### Question:
What is the total number of Round, when College is Northern Illinois?
### Answer:
SELECT COUNT(round) FROM table_name_39 WHERE college = "northern illinois" |
Below is an context that describes a sql 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 (release_date VARCHAR, country VARCHAR, release_format VARCHAR)
### Question:
How many release dates have a Country of west germany, and a Release format of vinyl?
### Answer:
SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR)
### Question:
How many cuts did Bernd Wiesberger make?
### Answer:
SELECT cuts_made FROM table_28540609_2 WHERE player = "Bernd Wiesberger" |
Below is an context that describes a sql 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 (goals__2008_ INTEGER, games__2008_ VARCHAR, debut_round VARCHAR)
### Question:
What is the average number of goals with 21 games for a debut round less than 1?
### Answer:
SELECT AVG(goals__2008_) FROM table_name_47 WHERE games__2008_ = 21 AND debut_round < 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_20833768_4 (w__ot_so_ VARCHAR, season VARCHAR)
### Question:
In season is 2008–09, how many wins did they have?
### Answer:
SELECT w__ot_so_ FROM table_20833768_4 WHERE season = "2008–09" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27537518_7 (score VARCHAR, record VARCHAR)
### Question:
What was the final score the game where the Thrashers over-all record went to 22-16-6?
### Answer:
SELECT score FROM table_27537518_7 WHERE record = "22-16-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_73 (owner VARCHAR, name VARCHAR)
### Question:
Which owner had MRT 1 HD?
### Answer:
SELECT owner FROM table_name_73 WHERE name = "mrt 1 hd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2175858_1 (laps VARCHAR, year VARCHAR)
### Question:
How many laps were driven in 2009?
### Answer:
SELECT laps FROM table_2175858_1 WHERE year = 2009 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (a_score INTEGER, b_score VARCHAR, total VARCHAR)
### Question:
What is the lowest A Score when the B Score is 9.15, and total is 16.05?
### Answer:
SELECT MIN(a_score) FROM table_name_61 WHERE b_score = 9.15 AND total = 16.05 |
Below is an context that describes a sql 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 (venue VARCHAR, date VARCHAR)
### Question:
What is the venue of the game on 20 November 2002?
### Answer:
SELECT venue FROM table_name_33 WHERE date = "20 november 2002" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26202788_7 (championship VARCHAR, date VARCHAR)
### Question:
How many championships are there on the date January 9, 2005?
### Answer:
SELECT COUNT(championship) FROM table_26202788_7 WHERE date = "January 9, 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_13 (placing VARCHAR, horse VARCHAR)
### Question:
What place was the viewed horse?
### Answer:
SELECT placing FROM table_name_13 WHERE horse = "viewed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, original_channel VARCHAR)
### Question:
When bbc two is the original channel what is the date of original removal?
### Answer:
SELECT date_s__of_original_removal FROM table_19114172_11 WHERE original_channel = "BBC Two" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (original_canadian_air_date VARCHAR, director VARCHAR)
### Question:
What was the Original Canadian air-date for the episode directed by mark rydell?
### Answer:
SELECT original_canadian_air_date FROM table_name_25 WHERE director = "mark rydell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (channel VARCHAR, play_by_play VARCHAR)
### Question:
Which channel has Joel Meyers as the Play by play commentator?
### Answer:
SELECT channel FROM table_name_71 WHERE play_by_play = "joel meyers" |
Below is an context that describes a sql 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 (competition VARCHAR, score VARCHAR)
### Question:
What is the name of the competition with a score of 1-5?
### Answer:
SELECT competition FROM table_name_49 WHERE score = "1-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_13 (date VARCHAR, game_site VARCHAR, week VARCHAR)
### Question:
Which date has rich stadium as the game site for week 1?
### Answer:
SELECT date FROM table_name_13 WHERE game_site = "rich stadium" AND week = 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_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR)
### Question:
Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?
### Answer:
SELECT general_classification FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND winner = "Erik Dekker" |
Below is an context that describes a sql 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 (circuit VARCHAR, date VARCHAR, length VARCHAR)
### Question:
Which circuit was held on May 7 for 1 hour?
### Answer:
SELECT circuit FROM table_name_24 WHERE date = "may 7" AND length = "1 hour" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (average INTEGER, rank VARCHAR, celebrity VARCHAR)
### Question:
What is the highest average of celebrity Natalia Lesz, who is ranked greater than 4?
### Answer:
SELECT MAX(average) FROM table_name_19 WHERE rank > 4 AND celebrity = "natalia lesz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28677723_11 (tor_fløysvik VARCHAR, christer_tornell VARCHAR)
### Question:
how many for floysvik and christer tornell is 7?
### Answer:
SELECT COUNT(tor_fløysvik) FROM table_28677723_11 WHERE christer_tornell = 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 locations (location_id VARCHAR, city VARCHAR); CREATE TABLE employees (department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR)
### Question:
display the full name (first and last name), and salary of those employees who working in any department located in London.
### Answer:
SELECT first_name, last_name, salary FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id WHERE T3.city = 'London' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (area VARCHAR, _percentage_hindu VARCHAR)
### Question:
What area shows % Hindu of statistics from the bbc in depth report.?
### Answer:
SELECT area FROM table_name_71 WHERE _percentage_hindu = "statistics from the bbc in depth report." |
Below is an context that describes a sql 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 (date VARCHAR, election VARCHAR)
### Question:
When was the Election of 1953?
### Answer:
SELECT date FROM table_name_46 WHERE election = "1953" |
Below is an context that describes a sql 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 (venue VARCHAR, tournament VARCHAR)
### Question:
Where was the mediterranean games held?
### Answer:
SELECT venue FROM table_name_83 WHERE tournament = "mediterranean games" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19517621_4 (original_airdate VARCHAR, title VARCHAR)
### Question:
What was the original air date for the episode Calle, The Transit of Venus?
### Answer:
SELECT original_airdate FROM table_19517621_4 WHERE title = "The Transit of Venus" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1637041_2 (starts VARCHAR, year VARCHAR)
### Question:
How many instances do you see the year 2003?
### Answer:
SELECT COUNT(starts) FROM table_1637041_2 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_name_77 (rank VARCHAR, season VARCHAR)
### Question:
What is the Rank that has a Season of 1995/96?
### Answer:
SELECT rank FROM table_name_77 WHERE season = "1995/96" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20193855_2 (year INTEGER, author_s__or_editor_s_ VARCHAR)
### Question:
In which year were the authors or editors Delia Sherman?
### Answer:
SELECT MAX(year) FROM table_20193855_2 WHERE author_s__or_editor_s_ = "Delia Sherman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20140132_1 (location VARCHAR, team VARCHAR)
### Question:
What is the location of the team Saturn?
### Answer:
SELECT location FROM table_20140132_1 WHERE team = "Saturn" |
Below is an context that describes a sql 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 (loss INTEGER, gain VARCHAR)
### Question:
Can you tell me the sum of Loss that has the Gain of 2646?
### Answer:
SELECT SUM(loss) FROM table_name_82 WHERE gain = 2646 |
Below is an context that describes a sql 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 (record VARCHAR, location_attendance VARCHAR)
### Question:
What was the season record when the location attendance was Air Canada Centre 19,800?
### Answer:
SELECT record FROM table_name_26 WHERE location_attendance = "air canada centre 19,800" |
Below is an context that describes a sql 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 (result VARCHAR, home VARCHAR)
### Question:
What is the result for SSV ULM 1846?
### Answer:
SELECT result FROM table_name_75 WHERE home = "ssv ulm 1846" |
Below is an context that describes a sql 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 (total INTEGER, tournament VARCHAR, regular_season VARCHAR)
### Question:
Name the highest total for the tournament more than 0 and regular season after 8
### Answer:
SELECT MAX(total) FROM table_name_15 WHERE tournament > 0 AND regular_season > 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_94 (draws INTEGER, goal_difference VARCHAR, losses VARCHAR)
### Question:
For a goal difference greater than 3 and fewer than 8 losses, what is the most draws scored?
### Answer:
SELECT MAX(draws) FROM table_name_94 WHERE goal_difference > 3 AND losses < 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_12 (record VARCHAR, date VARCHAR)
### Question:
Date of september 28 had what record?
### Answer:
SELECT record FROM table_name_12 WHERE date = "september 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_43 (rank_by_average INTEGER, number_of_dances VARCHAR, total VARCHAR, average VARCHAR)
### Question:
What is the rank by average where the total was larger than 245 and the average was 27.1 with fewer than 15 dances?
### Answer:
SELECT AVG(rank_by_average) FROM table_name_43 WHERE total > 245 AND average = 27.1 AND number_of_dances < 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_94 (location VARCHAR, tournament VARCHAR)
### Question:
What is the Location of the byron nelson golf classic?
### Answer:
SELECT location FROM table_name_94 WHERE tournament = "byron nelson golf classic" |
Subsets and Splits