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_15187735_12 (segment_b VARCHAR, series_ep VARCHAR)
### Question:
What is Segment B for series episode 12-02?
### Answer:
SELECT segment_b FROM table_15187735_12 WHERE series_ep = "12-02"
|
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
Which Result that is on june 5?
### Answer:
SELECT result FROM table_name_79 WHERE date = "june 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_177766_1 (percentage VARCHAR, abbreviation VARCHAR)
### Question:
What is the percentage of this constellation abbreviated as 'nor'?
### Answer:
SELECT percentage FROM table_177766_1 WHERE abbreviation = "Nor"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR)
### Question:
Which opponent was on July 21, 2008?
### Answer:
SELECT opponent FROM table_name_57 WHERE date = "july 21, 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_22905641_2 (race_3_winner VARCHAR, race_2_winner VARCHAR)
### Question:
How many race 3 winners were there when Mitch Evans won race 2?
### Answer:
SELECT COUNT(race_3_winner) FROM table_22905641_2 WHERE race_2_winner = "Mitch Evans"
|
Below is an context that describes a sql 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 (support_category VARCHAR, round VARCHAR)
### Question:
Which Support Category had a Round score of 9?
### Answer:
SELECT support_category FROM table_name_67 WHERE round = 9
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (opponent VARCHAR, time VARCHAR)
### Question:
Which opponent had a time of 1:26?
### Answer:
SELECT opponent FROM table_name_1 WHERE time = "1: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_85 (population INTEGER, area_km_2 VARCHAR)
### Question:
What is the Population of the Parish with an Area km 2 of 236.76?
### Answer:
SELECT MIN(population) FROM table_name_85 WHERE area_km_2 = 236.76
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15331868_1 (won INTEGER, difference VARCHAR)
### Question:
What is the highest number won with a difference of 1?
### Answer:
SELECT MAX(won) FROM table_15331868_1 WHERE difference = "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_97 (population_per_square_km VARCHAR, population_112006 VARCHAR)
### Question:
Name the total number of population per square km with population 1.12006 of 12.757
### Answer:
SELECT COUNT(population_per_square_km) FROM table_name_97 WHERE population_112006 = 12.757
|
Below is an context that describes a sql 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 (home_captain VARCHAR, result VARCHAR)
### Question:
What is the name of the home captain when the result was Aus by 229 runs?
### Answer:
SELECT home_captain FROM table_name_83 WHERE result = "aus by 229 runs"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19236587_4 (series_no INTEGER, season_no VARCHAR)
### Question:
What's the series number of the episode with season number 2?
### Answer:
SELECT MIN(series_no) FROM table_19236587_4 WHERE season_no = 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_60 (goals_conceded INTEGER, lost VARCHAR, points VARCHAR)
### Question:
Name the sum of goals conceded when lost is more than 7 and points less than 26
### Answer:
SELECT SUM(goals_conceded) FROM table_name_60 WHERE lost > 7 AND points < 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_5 (away VARCHAR, date VARCHAR)
### Question:
Which away game was played on 2008-07-18?
### Answer:
SELECT away FROM table_name_5 WHERE date = "2008-07-18"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR)
### Question:
what is the film when the year is earlier than 2002 and the category is outstanding actress?
### Answer:
SELECT film FROM table_name_21 WHERE year < 2002 AND category = "outstanding actress"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28039032_1 (winners_from_previous_round VARCHAR, round VARCHAR)
### Question:
How many winners from previous round were there in the semi finals?
### Answer:
SELECT winners_from_previous_round FROM table_28039032_1 WHERE round = "Semi finals"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1058787_1 (examples VARCHAR, existential_question_ VARCHAR, _not_in_citation_given_ VARCHAR)
### Question:
Which examples ask the existential question "Can I Love?"
### Answer:
SELECT examples FROM table_1058787_1 WHERE existential_question_[_not_in_citation_given_] = "Can I Love?"
|
Below is an context that describes a sql 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 (city VARCHAR, july__avg_high_°f_ VARCHAR, january__avg_low_°f_ VARCHAR)
### Question:
What city had a july high below 84, and a january low of 34.3?
### Answer:
SELECT city FROM table_name_84 WHERE july__avg_high_°f_ < 84 AND january__avg_low_°f_ = "34.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_27003223_4 (republican VARCHAR, d_r_spread VARCHAR)
### Question:
What is the percentage of republican voters in which the d-r spread is -14.1%?
### Answer:
SELECT republican FROM table_27003223_4 WHERE d_r_spread = "-14.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_41 (game INTEGER, points INTEGER)
### Question:
What is the sum of the game numbers for games with less than 30 points?
### Answer:
SELECT SUM(game) FROM table_name_41 WHERE points < 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 table_name_73 (score VARCHAR, date VARCHAR)
### Question:
On the Date of 15 June 1992 what is the Score that is listed?
### Answer:
SELECT score FROM table_name_73 WHERE date = "15 june 1992"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR)
### Question:
How many dates of polls occur in the Madhya Pradesh state?
### Answer:
SELECT COUNT(date_of_polls) FROM table_15329030_1 WHERE state = "Madhya Pradesh"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1847180_4 (district VARCHAR, vacator VARCHAR)
### Question:
Which district did Ralph Harvey (r) vacated when he resigned?
### Answer:
SELECT district FROM table_1847180_4 WHERE vacator = "Ralph Harvey (R)"
|
Below is an context that describes a sql 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 (state VARCHAR, frequency VARCHAR, city_of_license VARCHAR)
### Question:
What state is the radio station in that has a frequency of 90.1 FM and a city license in New Castle?
### Answer:
SELECT state FROM table_name_71 WHERE frequency = "90.1 fm" AND city_of_license = "new castle"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10960039_1 (pick__number VARCHAR, player VARCHAR)
### Question:
What is player Alexis Bwenge's pick number?
### Answer:
SELECT pick__number FROM table_10960039_1 WHERE player = "Alexis Bwenge"
|
Below is an context that describes a 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_3 (model_designation VARCHAR, gvw__kg_ton_ VARCHAR, axle_ratio VARCHAR)
### Question:
What's the model designation of the model with GVW of 2828/2.78 kg/ton and axle ratio of 9/47?
### Answer:
SELECT model_designation FROM table_20866024_3 WHERE gvw__kg_ton_ = "2828/2.78" AND axle_ratio = "9/47"
|
Below is an context that describes a sql 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 (total INTEGER, rank INTEGER)
### Question:
Which Total is the lowest one that has a Rank smaller than 1?
### Answer:
SELECT MIN(total) FROM table_name_47 WHERE rank < 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_23 (rider VARCHAR, time VARCHAR, grid VARCHAR, manufacturer VARCHAR)
### Question:
What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?
### Answer:
SELECT rider FROM table_name_23 WHERE grid < 16 AND manufacturer = "aprilia" AND time = "+28.288"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employee (city VARCHAR, age INTEGER)
### Question:
Which cities do more than one employee under age 30 come from?
### Answer:
SELECT city FROM employee WHERE age < 30 GROUP BY city 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_36 (control VARCHAR, labour_party VARCHAR)
### Question:
Who was in control the year that Labour Party won 12 (+6) seats?
### Answer:
SELECT control FROM table_name_36 WHERE labour_party = "12 (+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 perpetrator (Country VARCHAR)
### Question:
What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there.
### Answer:
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country
|
Below is an context that describes a sql 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 (position INTEGER, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
### Question:
Name the average position when the goals against are more than 42 and draws less than 16 with goals of 44
### Answer:
SELECT AVG(position) FROM table_name_4 WHERE goals_against > 42 AND goals_for = 44 AND draws < 16
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14345690_4 (entered VARCHAR, famous_for VARCHAR)
### Question:
Name the entered for famous for page 3 model
### Answer:
SELECT entered FROM table_14345690_4 WHERE famous_for = "Page 3 Model"
|
Below is an context that describes a sql 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 (laps VARCHAR, car_no VARCHAR)
### Question:
How many laps did car 23 do?
### Answer:
SELECT laps FROM table_name_17 WHERE car_no = "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_52 (Id VARCHAR)
### Question:
What 1953 has 2 for 1947, and dne as 1938?
### Answer:
SELECT 1953 FROM table_name_52 WHERE 1947 = "2" AND 1938 = "dne"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26176081_29 (ff INTEGER, solo VARCHAR)
### Question:
What is the highest ff when solo is 56?
### Answer:
SELECT MAX(ff) FROM table_26176081_29 WHERE solo = 56
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24384861_1 (dock_connection VARCHAR, version VARCHAR)
### Question:
What type of dock connection does the sounddock series III have?
### Answer:
SELECT dock_connection FROM table_24384861_1 WHERE version = "SoundDock series III"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (grid INTEGER, time_retired VARCHAR)
### Question:
What is the smallest grid for a time/retired of 1:56:18.22?
### Answer:
SELECT MIN(grid) FROM table_name_89 WHERE time_retired = "1:56:18.22"
|
Below is an context that describes a sql 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 (date VARCHAR, goal VARCHAR)
### Question:
When did the team score 21 goals?
### Answer:
SELECT date FROM table_name_67 WHERE goal = 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_2226817_9 (production_code VARCHAR, written_by VARCHAR)
### Question:
What is the production code of the episode directed by Stacie Lipp?
### Answer:
SELECT production_code FROM table_2226817_9 WHERE written_by = "Stacie Lipp"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23292220_8 (jasons_team VARCHAR, first_broadcast VARCHAR)
### Question:
Who was on Jason's team for the 12 June 2009 episode?
### Answer:
SELECT jasons_team FROM table_23292220_8 WHERE first_broadcast = "12 June 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_43 (goals INTEGER, season VARCHAR, division VARCHAR)
### Question:
What is the sum of Goals, when Season is "2005-06", and when Division is less than 1?
### Answer:
SELECT SUM(goals) FROM table_name_43 WHERE season = "2005-06" AND division < 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_98 (country VARCHAR, rank INTEGER)
### Question:
What is the country with a rank less than 2?
### Answer:
SELECT country FROM table_name_98 WHERE rank < 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_23575917_7 (first_broadcast VARCHAR, episode VARCHAR)
### Question:
If the episode is 6x03, what is the first broadcast total number?
### Answer:
SELECT COUNT(first_broadcast) FROM table_23575917_7 WHERE episode = "6x03"
|
Below is an context that describes a sql 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 (club VARCHAR, played VARCHAR, lost VARCHAR)
### Question:
What club has a played number of 19, and the lost of 14?
### Answer:
SELECT club FROM table_name_93 WHERE played = "19" AND lost = "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_3 (mls_team VARCHAR, pick__number VARCHAR)
### Question:
Which MLS team had a pick number of 32?
### Answer:
SELECT mls_team FROM table_name_3 WHERE pick__number = 32
|
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
What date was the game when the away team was carlton?
### Answer:
SELECT date FROM table_name_45 WHERE away_team = "carlton"
|
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What was the away team score at Corio Oval?
### Answer:
SELECT away_team AS score FROM table_name_42 WHERE venue = "corio oval"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, record VARCHAR)
### Question:
What was the score of the game against the Braves with a record of 41–27?
### Answer:
SELECT score FROM table_name_25 WHERE opponent = "braves" AND record = "41–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_1341568_6 (status VARCHAR, party VARCHAR, elected VARCHAR)
### Question:
What is the elected status of the Democratic party in 1989?
### Answer:
SELECT status FROM table_1341568_6 WHERE party = "Democratic" AND elected = "1989"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (method VARCHAR, race VARCHAR, name VARCHAR)
### Question:
How was the native american, Wau-Bau-Ne-Me-Mee, executed?
### Answer:
SELECT method FROM table_name_19 WHERE race = "native american" AND name = "wau-bau-ne-me-mee"
|
Below is an context that describes a sql 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 (zone INTEGER, stations VARCHAR, platforms VARCHAR)
### Question:
Name the average zone for waddon railway station and has more than 2 platforms
### Answer:
SELECT AVG(zone) FROM table_name_54 WHERE stations = "waddon railway station" AND platforms > 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_35 (position VARCHAR, player VARCHAR)
### Question:
Which Position has a Player of patrick macdonald?
### Answer:
SELECT position FROM table_name_35 WHERE player = "patrick macdonald"
|
Below is an context that describes a sql 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 (played INTEGER, points VARCHAR, drawn VARCHAR)
### Question:
Which Played is the highest one that has Points of 5, and a Drawn smaller than 1?
### Answer:
SELECT MAX(played) FROM table_name_94 WHERE points = 5 AND drawn < 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_6 (opponent VARCHAR, week VARCHAR)
### Question:
Name the opponent for week of 2
### Answer:
SELECT opponent FROM table_name_6 WHERE week = 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_68 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR)
### Question:
Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk?
### Answer:
SELECT score FROM table_name_68 WHERE year > 1980 AND margin_of_victory = "2 strokes" AND country = "united states" AND player = "jim furyk"
|
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
What was the record for opponent Matt Serra?
### Answer:
SELECT record FROM table_name_36 WHERE opponent = "matt serra"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR)
### Question:
What is the tournament of aug 29?
### Answer:
SELECT tournament FROM table_11621747_1 WHERE date = "Aug 29"
|
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What was the score for the match on November 13, 2005?
### Answer:
SELECT score FROM table_name_20 WHERE date = "november 13, 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_1341930_11 (district VARCHAR, incumbent VARCHAR)
### Question:
What is the district for carl vinson?
### Answer:
SELECT district FROM table_1341930_11 WHERE incumbent = "Carl Vinson"
|
Below is an context that describes a sql 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 (res VARCHAR, time VARCHAR, record VARCHAR)
### Question:
What is the result when the time was 5:00 and a record of 14-4?
### Answer:
SELECT res FROM table_name_43 WHERE time = "5:00" AND record = "14-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_25800134_9 (title VARCHAR, airdate VARCHAR)
### Question:
what is the title where the airdate is december 5, 1964?
### Answer:
SELECT title FROM table_25800134_9 WHERE airdate = "December 5, 1964"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2009095_2 (championship VARCHAR, outcome VARCHAR, opponents VARCHAR)
### Question:
Name the championship for winner and judy tegart dalton lesley turner bowrey
### Answer:
SELECT COUNT(championship) FROM table_2009095_2 WHERE outcome = "Winner" AND opponents = "Judy Tegart Dalton Lesley Turner Bowrey"
|
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is the tournament when 2012 is q2?
### Answer:
SELECT tournament FROM table_name_64 WHERE 2012 = "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_22 (result VARCHAR, date VARCHAR)
### Question:
Tell me the result for 15 july
### Answer:
SELECT result FROM table_name_22 WHERE date = "15 july"
|
Below is an context that describes a sql 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 (weight VARCHAR, denomination VARCHAR)
### Question:
What weight has one rupee as the denomination?
### Answer:
SELECT weight FROM table_name_88 WHERE denomination = "one rupee"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (year INTEGER, tournament VARCHAR, points VARCHAR)
### Question:
What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points?
### Answer:
SELECT MIN(year) FROM table_name_52 WHERE tournament = "hypo-meeting" AND points = "8002"
|
Below is an context that describes a sql 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 (high_points VARCHAR, date VARCHAR)
### Question:
Who had the most points in the game on November 12?
### Answer:
SELECT high_points FROM table_name_86 WHERE date = "november 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_91 (points INTEGER, year VARCHAR, class VARCHAR)
### Question:
What is the smallest point amount for years prior to 1958 when the class is 350cc?
### Answer:
SELECT MIN(points) FROM table_name_91 WHERE year < 1958 AND class = "350cc"
|
Below is an context that describes a sql 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 (losing_bp VARCHAR, lost VARCHAR, club VARCHAR)
### Question:
Name the Losing BP of Newport Saracens RFC and has a Lost of 19.
### Answer:
SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc"
|
Below is an context that describes a sql 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 (market_value__us INTEGER, rank VARCHAR, revenues__us$_billion_ VARCHAR, company VARCHAR)
### Question:
What is the average market value with a revenue greater than 6.2, a Company of national bank of greece, and a Rank smaller than 1?
### Answer:
SELECT AVG(market_value__us) AS $_billion_ FROM table_name_87 WHERE revenues__us$_billion_ > 6.2 AND company = "national bank of greece" AND rank < 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_23619005_3 (position VARCHAR, player VARCHAR)
### Question:
What was Michael Shaver's position?
### Answer:
SELECT position FROM table_23619005_3 WHERE player = "Michael Shaver"
|
Below is an context that describes a sql 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 (final VARCHAR, team VARCHAR)
### Question:
Which Final has a Team of liechtenstein (lie) liechtenstein i?
### Answer:
SELECT final FROM table_name_55 WHERE team = "liechtenstein (lie) liechtenstein i"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR, score VARCHAR)
### Question:
What is the country sergio garcía, who has a score of 69-70-67=206, is from?
### Answer:
SELECT country FROM table_name_43 WHERE score = 69 - 70 - 67 = 206 AND player = "sergio garcía"
|
Below is an context that describes a sql 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 (attendance INTEGER, week VARCHAR, date VARCHAR)
### Question:
What is the average attendance for the game that was after week 4 and on November 14, 1954?
### Answer:
SELECT AVG(attendance) FROM table_name_30 WHERE week > 4 AND date = "november 14, 1954"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)
### Question:
Who were the umpires when Paul Medhurst (C) won the Simpson Medal?
### Answer:
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11340432_1 (information VARCHAR, shadow_ridge VARCHAR)
### Question:
How many informations does Michael Hawkins have?
### Answer:
SELECT COUNT(information) FROM table_11340432_1 WHERE shadow_ridge = "Michael Hawkins"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE machine (Machine_series VARCHAR, machine_id VARCHAR); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)
### Question:
Show names of technicians and series of machines they are assigned to repair.
### Answer:
SELECT T3.Name, T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16575609_5 (college VARCHAR, pick__number VARCHAR)
### Question:
How many colleges did the player drafted at 36 attend?
### Answer:
SELECT COUNT(college) FROM table_16575609_5 WHERE pick__number = 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_44 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR, company VARCHAR)
### Question:
Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21?
### Answer:
SELECT MIN(market_value__billion_) AS $_ FROM table_name_44 WHERE assets__billion_$_ > 276.81 AND company = "toyota" AND profits__billion_$_ > 17.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_18 (round INTEGER, college VARCHAR, pick VARCHAR)
### Question:
What is the average round of the player from the college of baylor with a pick less than 28?
### Answer:
SELECT AVG(round) FROM table_name_18 WHERE college = "baylor" AND pick < 28
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (att VARCHAR, time VARCHAR)
### Question:
What was the attendance of the game that lasted 3:55?
### Answer:
SELECT att FROM table_name_1 WHERE time = "3:55"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (byes VARCHAR, wins VARCHAR, losses VARCHAR)
### Question:
What is the sum of byes when wins are 8, and losses are larger than 10?
### Answer:
SELECT COUNT(byes) FROM table_name_96 WHERE wins = 8 AND losses > 10
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (theme VARCHAR, show VARCHAR, order VARCHAR)
### Question:
For the week 1 show and order 2, what was the theme?
### Answer:
SELECT theme FROM table_name_59 WHERE show = "week 1" AND order = "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_21 (host_team VARCHAR, stadium VARCHAR, final_score VARCHAR)
### Question:
Who was the host team at Louisiana Superdome when the final score was 10-20?
### Answer:
SELECT host_team FROM table_name_21 WHERE stadium = "louisiana superdome" AND final_score = "10-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_7 (result VARCHAR, attendance VARCHAR)
### Question:
What is the result when the attendance is 54,814?
### Answer:
SELECT result FROM table_name_7 WHERE attendance = "54,814"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1616608_2 (released_date VARCHAR, western_title VARCHAR)
### Question:
What is the released date for Super Mario 64 DS?
### Answer:
SELECT released_date FROM table_1616608_2 WHERE western_title = "Super Mario 64 DS"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (width_feet__m_ VARCHAR, source__year_ VARCHAR)
### Question:
What is the width feet in meeters for the truss with a source of nbi (2009)?
### Answer:
SELECT width_feet__m_ FROM table_name_63 WHERE source__year_ = "nbi (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_23284271_10 (high_points VARCHAR, record VARCHAR)
### Question:
Who has high points when 50-26 is the record?
### Answer:
SELECT high_points FROM table_23284271_10 WHERE record = "50-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_44 (qual VARCHAR, rank VARCHAR, year VARCHAR)
### Question:
What is the qual for rank 18 in 1964?
### Answer:
SELECT qual FROM table_name_44 WHERE rank = "18" AND year = "1964"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24370270_10 (weight_lost__kg_ VARCHAR, starting_weight__kg_ VARCHAR)
### Question:
What is every amount for weight lost if the starting weight is 97.4?
### Answer:
SELECT weight_lost__kg_ FROM table_24370270_10 WHERE starting_weight__kg_ = "97.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_14 (score VARCHAR, december VARCHAR, record VARCHAR)
### Question:
What's the Score that's got a listing of December that larger than 8 and Record of 25-8-3?
### Answer:
SELECT score FROM table_name_14 WHERE december > 8 AND record = "25-8-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 furniture_manufacte (price_in_dollar VARCHAR, Furniture_ID VARCHAR); CREATE TABLE furniture (name VARCHAR, Furniture_ID VARCHAR)
### Question:
Give me the names and prices of furnitures which some companies are manufacturing.
### Answer:
SELECT t1.name, t2.price_in_dollar FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID
|
Below is an context that describes a sql 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 (qual_2 VARCHAR, team VARCHAR, best VARCHAR)
### Question:
What is the qual 2 of team Forsythe racing, which has a 1:09.515 best?
### Answer:
SELECT qual_2 FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:09.515"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14242137_11 (regionalliga_nord VARCHAR, regionalliga_süd VARCHAR)
### Question:
what's the regionalliga nord with regionalliga süd being 1. fc nuremberg spvgg greuther fürth
### Answer:
SELECT regionalliga_nord FROM table_14242137_11 WHERE regionalliga_süd = "1. FC Nuremberg SpVgg Greuther Fürth"
|
Below is an context that describes a sql 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 (frequency_mhz INTEGER, erp_w INTEGER)
### Question:
Tell me the sum of frequency for ERP W less than 1
### Answer:
SELECT SUM(frequency_mhz) FROM table_name_43 WHERE erp_w < 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_1137703_2 (date VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
### Question:
On which date was the winning driver Alain Prost and and had Damon Hill in the pole position?
### Answer:
SELECT date FROM table_1137703_2 WHERE winning_driver = "Alain Prost" AND pole_position = "Damon Hill"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE scientists (name VARCHAR)
### Question:
List the names of all scientists sorted in alphabetical order.
### Answer:
SELECT name FROM scientists ORDER BY 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_99 (outcome VARCHAR, date VARCHAR)
### Question:
What was the outcome on 25 october 2004?
### Answer:
SELECT outcome FROM table_name_99 WHERE date = "25 october 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_60 (score VARCHAR, tournament VARCHAR, date VARCHAR)
### Question:
What was the Score on October 24, 1982 in Tokyo, Japan?
### Answer:
SELECT score FROM table_name_60 WHERE tournament = "tokyo, japan" AND date = "october 24, 1982"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.