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_148535_2 (hand VARCHAR)
### Question:
Name the most 1 credit for three of a kind
### Answer:
SELECT MAX(1 AS _credit) FROM table_148535_2 WHERE hand = "Three of a Kind" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341472_12 (first_elected INTEGER)
### Question:
What's the first elected year of the district who's been the last one to do so?
### Answer:
SELECT MAX(first_elected) FROM table_1341472_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_49 (residence VARCHAR, representative VARCHAR)
### Question:
What residence has representative Quincy Murphy?
### Answer:
SELECT residence FROM table_name_49 WHERE representative = "quincy murphy" |
Below is an context that describes a sql 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 (final_score VARCHAR, visiting_team VARCHAR)
### Question:
What was the final score when the New York Jets were the Visiting Team?
### Answer:
SELECT final_score FROM table_name_86 WHERE visiting_team = "new york jets" |
Below is an context that describes a sql 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 (first_elected VARCHAR, district VARCHAR)
### Question:
What is the first elected date for the incumbent in the South Carolina 4 district?
### Answer:
SELECT first_elected FROM table_name_98 WHERE district = "south carolina 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_27155990_1 (total_usd INTEGER, creator VARCHAR)
### Question:
What was the maximum total USD collected by Pebble Technology?
### Answer:
SELECT MAX(total_usd) FROM table_27155990_1 WHERE creator = "Pebble Technology" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27700530_14 (location_attendance VARCHAR, date VARCHAR)
### Question:
Where was the game and what was the attendance on April 3?
### Answer:
SELECT location_attendance FROM table_27700530_14 WHERE date = "April 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_18424435_4 (_number VARCHAR, production_code VARCHAR)
### Question:
What is the total number of episodes listed with a production code of 306?
### Answer:
SELECT COUNT(_number) FROM table_18424435_4 WHERE production_code = 306 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25997153_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)
### Question:
how many million u.s. viewers watched the episode directed by dan lerner?
### Answer:
SELECT us_viewers__million_ FROM table_25997153_1 WHERE directed_by = "Dan Lerner" |
Below is an context that describes a sql 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 (year INTEGER, state VARCHAR, name VARCHAR)
### Question:
What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa?
### Answer:
SELECT SUM(year) FROM table_name_95 WHERE state = "orissa" AND name = "prof. priyambada mohanty hejmadi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (track VARCHAR, location VARCHAR)
### Question:
What is the Track in Louisville, Kentucky?
### Answer:
SELECT track FROM table_name_56 WHERE location = "louisville, kentucky" |
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR)
### Question:
What is the sum of all crowds present at the Glenferrie Oval venue?
### Answer:
SELECT SUM(crowd) FROM table_name_35 WHERE venue = "glenferrie 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_77 (events INTEGER, top_10 VARCHAR, wins VARCHAR)
### Question:
What is the lowest number of events a tournament with more than 1 top-10 and more than 0 wins has?
### Answer:
SELECT MIN(events) FROM table_name_77 WHERE top_10 > 1 AND wins > 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_71 (overall INTEGER, college VARCHAR, pick VARCHAR)
### Question:
When Kansas State had a pick of over 35, what's the highest Overall pick found?
### Answer:
SELECT MAX(overall) FROM table_name_71 WHERE college = "kansas state" AND pick > 35 |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Which home team had the away team Southport?
### Answer:
SELECT home_team FROM table_name_9 WHERE away_team = "southport" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25286976_2 (november_3 VARCHAR, june_10_11 VARCHAR)
### Question:
When 127 is on June 10th to 11th what is November 3rd?
### Answer:
SELECT november_3 FROM table_25286976_2 WHERE june_10_11 = "127" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2501754_3 (original_airdate VARCHAR, prod_code VARCHAR)
### Question:
List the 1st air date for the episode with a iceb786e production code.
### Answer:
SELECT original_airdate FROM table_2501754_3 WHERE prod_code = "ICEB786E" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24115349_4 (coakley__percentage VARCHAR, kennedy__percentage VARCHAR)
### Question:
What was the percentage of votes for coakley when kennedy won 1.6%
### Answer:
SELECT coakley__percentage FROM table_24115349_4 WHERE kennedy__percentage = "1.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_58 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR)
### Question:
Which College/junior/club team (league) was the player from Switzerland from?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_58 WHERE nationality = "switzerland" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Which home team played against Hawthorn?
### Answer:
SELECT home_team AS score FROM table_name_49 WHERE away_team = "hawthorn" |
Below is an context that describes a 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 (ties INTEGER)
### Question:
What is the highest number of ties?
### Answer:
SELECT MAX(ties) FROM table_11233358_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_64 (rank VARCHAR, games VARCHAR)
### Question:
What is the rank that shows 426 games?
### Answer:
SELECT rank FROM table_name_64 WHERE games = "426" |
Below is an context that describes a sql 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 (attendance VARCHAR, week VARCHAR, date VARCHAR)
### Question:
What was the attendance for the game on October 30, 1994 for a week after week 2?
### Answer:
SELECT COUNT(attendance) FROM table_name_54 WHERE week > 2 AND date = "october 30, 1994" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE TV_series (Episode VARCHAR, rating VARCHAR)
### Question:
List the Episode of all TV series sorted by rating.
### Answer:
SELECT Episode FROM TV_series ORDER BY rating |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16864968_8 (attendance VARCHAR, opponent VARCHAR)
### Question:
How many people attended the Edmonton Oilers game?
### Answer:
SELECT attendance FROM table_16864968_8 WHERE opponent = "Edmonton Oilers" |
Below is an context that describes a sql 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 (matches VARCHAR, win__percentage VARCHAR, drawn VARCHAR, lost VARCHAR)
### Question:
Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches?
### Answer:
SELECT COUNT(matches) FROM table_name_5 WHERE drawn < 24 AND lost < 17 AND win__percentage < 31.25 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10815352_1 (total_attendance VARCHAR, season VARCHAR)
### Question:
What's the total attendance of the leagues in season of 2010?
### Answer:
SELECT COUNT(total_attendance) FROM table_10815352_1 WHERE season = "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_83 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
What is the lowest Bronze, when Total is greater than 10, when Silver is greater than 0, and when Rank is "Total"?
### Answer:
SELECT MIN(bronze) FROM table_name_83 WHERE "total" > 10 AND silver > 0 AND rank = "total" |
Below is an context that describes a sql 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 (pts_game INTEGER, games INTEGER)
### Question:
Can you tell me the lowest Pts/game that has the Games larger than 6?
### Answer:
SELECT MIN(pts_game) FROM table_name_98 WHERE games > 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_14098_1 (area__km²___per_sqmi_ VARCHAR, country_or_territory_with_flag VARCHAR)
### Question:
What unit of measurement for uruguay?
### Answer:
SELECT area__km²___per_sqmi_ FROM table_14098_1 WHERE country_or_territory_with_flag = "Uruguay" |
Below is an context that describes a sql 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 (heat INTEGER, nationality VARCHAR, rank VARCHAR)
### Question:
what is the heat when the nationality is australia and the rank is less than 1?
### Answer:
SELECT AVG(heat) FROM table_name_35 WHERE nationality = "australia" 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_name_58 (state VARCHAR, royal_house VARCHAR)
### Question:
What is the state for the royal house of ying?
### Answer:
SELECT state FROM table_name_58 WHERE royal_house = "ying" |
Below is an context that describes a sql 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 (engine VARCHAR, year VARCHAR)
### Question:
Which engine was used in 1987?
### Answer:
SELECT engine FROM table_name_89 WHERE year = 1987 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)
### Question:
What is the name of the performance zhu xiaoming performed?
### Answer:
SELECT act FROM table_28180840_15 WHERE name_name_of_act = "Zhu Xiaoming" |
Below is an context that describes a sql 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 (film VARCHAR, year VARCHAR)
### Question:
What film was in 1970?
### Answer:
SELECT film FROM table_name_55 WHERE year = 1970 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (away_team VARCHAR)
### Question:
What was Geelong's score when they were the away team?
### Answer:
SELECT away_team AS score FROM table_name_62 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_14670060_1 (transmitting_from VARCHAR, call_sign VARCHAR)
### Question:
How many times does the call sign XEZV appear?
### Answer:
SELECT COUNT(transmitting_from) FROM table_14670060_1 WHERE call_sign = "XEZV" |
Below is an context that describes a sql 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 (high_rebounds VARCHAR, date VARCHAR)
### Question:
Who had the high rebounds on January 24?
### Answer:
SELECT high_rebounds FROM table_name_68 WHERE date = "january 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_38 (population INTEGER, name_of_city VARCHAR)
### Question:
What is the population of Chimbote?
### Answer:
SELECT SUM(population) FROM table_name_38 WHERE name_of_city = "chimbote" |
Below is an context that describes a sql 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 (country VARCHAR, date VARCHAR)
### Question:
What is the name of the country that has 18 May 2004 as the date?
### Answer:
SELECT country FROM table_name_27 WHERE date = "18 may 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_74 (equatorial_bulge VARCHAR, body VARCHAR)
### Question:
What is the Equatorial bulge of the Body: Earth?
### Answer:
SELECT equatorial_bulge FROM table_name_74 WHERE body = "earth" |
Below is an context that describes a sql 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 (ceased_to_be_queen VARCHAR, birth VARCHAR)
### Question:
Who was born on 10 May 1788 that ceased to be queen?
### Answer:
SELECT ceased_to_be_queen FROM table_name_3 WHERE birth = "10 may 1788" |
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR)
### Question:
What is the to par for japan
### Answer:
SELECT to_par FROM table_name_49 WHERE country = "japan" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What is the away team's score when north melbourne is the home team?
### Answer:
SELECT away_team AS score FROM table_name_28 WHERE home_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14425454_1 (ground VARCHAR, crowd VARCHAR)
### Question:
What stadiums had an attendance of 8,256?
### Answer:
SELECT ground FROM table_14425454_1 WHERE crowd = "8,256" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1997759_1 (location VARCHAR, last_flew VARCHAR)
### Question:
at what location is the last flew on 11 june 2000
### Answer:
SELECT location FROM table_1997759_1 WHERE last_flew = "11 June 2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (to_par VARCHAR, player VARCHAR)
### Question:
What is the to par of player vijay singh?
### Answer:
SELECT to_par FROM table_name_31 WHERE player = "vijay singh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
Who directed the episode that was viewed by 2.57 million people in the U.S.?
### Answer:
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.57" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1889619_5 (total_footage_remaining_from_missing_episodes__mm VARCHAR, story_no VARCHAR, source VARCHAR)
### Question:
When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)?
### Answer:
SELECT total_footage_remaining_from_missing_episodes__mm AS :ss_ FROM table_1889619_5 WHERE story_no = "018" AND source = "Private individual" |
Below is an context that describes a sql 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 (vmax VARCHAR, type VARCHAR)
### Question:
What was the maximum speed for the P4-1 (24/36 ps)?
### Answer:
SELECT vmax FROM table_name_78 WHERE type = "p4-1 (24/36 ps)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13464416_8 (date VARCHAR, team VARCHAR)
### Question:
What day was the game at chicago?
### Answer:
SELECT date FROM table_13464416_8 WHERE team = "Chicago" |
Below is an context that describes a sql 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 (finish VARCHAR, year VARCHAR)
### Question:
What is the finish in 1956?
### Answer:
SELECT finish FROM table_name_17 WHERE year = "1956" |
Below is an context that describes a sql 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 (name VARCHAR, dates_active VARCHAR)
### Question:
What is the name of the storm active during season aggregates?
### Answer:
SELECT name FROM table_name_48 WHERE dates_active = "season aggregates" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26919_7 (akkadian VARCHAR, geez VARCHAR)
### Question:
if the geez is libb, what is the akkadian?
### Answer:
SELECT akkadian FROM table_26919_7 WHERE geez = "libb" |
Below is an context that describes a sql 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 (money___$__ VARCHAR, player VARCHAR)
### Question:
How much money did jodie mudd get?
### Answer:
SELECT money___$__ FROM table_name_1 WHERE player = "jodie mudd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24115349_6 (municipality VARCHAR, coakley_votes VARCHAR)
### Question:
What municipality had 754 votes for coakley?
### Answer:
SELECT municipality FROM table_24115349_6 WHERE coakley_votes = 754 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20396710_1 (points_difference VARCHAR, points_for VARCHAR)
### Question:
when the points for is 139 is points difference?
### Answer:
SELECT COUNT(points_difference) FROM table_20396710_1 WHERE points_for = "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 table_name_2 (home_campus VARCHAR, arena_venue VARCHAR)
### Question:
Which campus has the San Agustin gym?
### Answer:
SELECT home_campus FROM table_name_2 WHERE arena_venue = "san agustin gym" |
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR)
### Question:
Who was the opponent at the game when the record was 15–15?
### Answer:
SELECT opponent FROM table_name_68 WHERE record = "15–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_25 (incorporated INTEGER, company VARCHAR)
### Question:
What is the average incorporataed year of the Air India Charters company?
### Answer:
SELECT AVG(incorporated) FROM table_name_25 WHERE company = "air india charters" |
Below is an context that describes a sql 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 (time VARCHAR, team_s_ VARCHAR, artist_s_ VARCHAR)
### Question:
How long is the XXX track used by the Minnesota Vikings?
### Answer:
SELECT time FROM table_name_14 WHERE team_s_ = "minnesota vikings" AND artist_s_ = "xxx" |
Below is an context that describes a sql 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, drawn VARCHAR, try_bp VARCHAR)
### Question:
Name the Losing BP with drawn of 1 and a Try BP of 6.
### Answer:
SELECT losing_bp FROM table_name_14 WHERE drawn = "1" AND try_bp = "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_86 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
### Question:
Mike Crowley plays defense for league?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_86 WHERE position = "defense" AND player = "mike crowley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (year VARCHAR, winner__female_ VARCHAR, talent__male_ VARCHAR)
### Question:
What year had Kim Gevaert as the female winner and Xavier de Baerdemaeker as the male talent?
### Answer:
SELECT year FROM table_name_31 WHERE winner__female_ = "kim gevaert" AND talent__male_ = "xavier de baerdemaeker" |
Below is an context that describes a sql 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 (ties VARCHAR, goals_against INTEGER)
### Question:
What are the number of Ties for games with Goals Against smaller than 33?
### Answer:
SELECT ties FROM table_name_23 WHERE goals_against < 33 |
Below is an context that describes a sql 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 (recording_date VARCHAR, title VARCHAR)
### Question:
On what date was My Lord What a Mornin' recorded?
### Answer:
SELECT recording_date FROM table_name_55 WHERE title = "my lord what a mornin'" |
Below is an context that describes a 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 (arrival VARCHAR, calling_at VARCHAR)
### Question:
What was the arrival for Wansford, Peterborough East?
### Answer:
SELECT arrival FROM table_18332845_2 WHERE calling_at = "Wansford, Peterborough East" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10470082_8 (writer VARCHAR, _number VARCHAR)
### Question:
Who wrote episode #1 in season 7?
### Answer:
SELECT COUNT(writer) FROM table_10470082_8 WHERE _number = 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_9 (round VARCHAR, home VARCHAR, result VARCHAR)
### Question:
What round had a home of FC augsburg with the result of 3-0?
### Answer:
SELECT round FROM table_name_9 WHERE home = "fc augsburg" AND result = "3-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_71 (points VARCHAR, engine VARCHAR, year VARCHAR)
### Question:
How many points did Judd v8 has in 1989?
### Answer:
SELECT COUNT(points) FROM table_name_71 WHERE engine = "judd v8" AND year = 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_34 (year INTEGER, champion VARCHAR)
### Question:
what year has the highest marcel granollers champions?
### Answer:
SELECT MAX(year) FROM table_name_34 WHERE champion = "marcel granollers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (record VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What record was made in vancouver on December 8?
### Answer:
SELECT record FROM table_name_31 WHERE home = "vancouver" AND date = "december 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_29 (played VARCHAR, goal_difference VARCHAR, club VARCHAR)
### Question:
Which Played number had a goal difference of more than 0 when the club was Valencia CF?
### Answer:
SELECT COUNT(played) FROM table_name_29 WHERE goal_difference > 0 AND club = "valencia cf" |
Below is an context that describes a sql 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 (goals VARCHAR, assists VARCHAR, games VARCHAR)
### Question:
How many goals did the player score who had 33 assists in 85 games?
### Answer:
SELECT goals FROM table_name_84 WHERE assists = "33" AND games = "85" |
Below is an context that describes a sql 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 (cospar_id VARCHAR, carrier_rocket VARCHAR, satellite VARCHAR)
### Question:
What is the COSPAR ID of Ariel 4, which was launched with a Scout carrier rocket?
### Answer:
SELECT cospar_id FROM table_name_69 WHERE carrier_rocket = "scout" AND satellite = "ariel 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_73 (cfl_team VARCHAR, pick__number INTEGER)
### Question:
Which CFL Team has a Pick # larger than 31?
### Answer:
SELECT cfl_team FROM table_name_73 WHERE pick__number > 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_7 (surface VARCHAR, score VARCHAR)
### Question:
What type of surface was played on when the score was 2–6, 6–1, [10–5]?
### Answer:
SELECT surface FROM table_name_7 WHERE score = "2–6, 6–1, [10–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_50 (score VARCHAR, away_team VARCHAR)
### Question:
What was the score of the tie with an away team of Stoke City?
### Answer:
SELECT score FROM table_name_50 WHERE away_team = "stoke city" |
Below is an context that describes a sql 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 (years_as_tallest VARCHAR, floors VARCHAR)
### Question:
What is listed under the Years as tallest, that has Floors of 31?
### Answer:
SELECT years_as_tallest FROM table_name_83 WHERE floors = 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_84 (release_date VARCHAR, format VARCHAR, title VARCHAR)
### Question:
What is Release Date, when Format is CD, and when Title is Tsar Wars?
### Answer:
SELECT release_date FROM table_name_84 WHERE format = "cd" AND title = "tsar wars" |
Below is an context that describes a sql 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 (losses INTEGER, years VARCHAR)
### Question:
How many losses did Notre Dame have in 1904?
### Answer:
SELECT AVG(losses) FROM table_name_43 WHERE years = "1904" |
Below is an context that describes a sql 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 (time VARCHAR, geust VARCHAR)
### Question:
What is Time, when Geust is AC Bellinzona (CHL)?
### Answer:
SELECT time FROM table_name_77 WHERE geust = "ac bellinzona (chl)" |
Below is an context that describes a sql 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 (pick INTEGER, college VARCHAR)
### Question:
Who was the highest drafted player that attended college at Virginia?
### Answer:
SELECT MAX(pick) FROM table_name_44 WHERE college = "virginia" |
Below is an context that describes a sql 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_of_death VARCHAR, date_of_birth VARCHAR)
### Question:
When did the person born 24 September 1851 pass away?
### Answer:
SELECT date_of_death FROM table_name_66 WHERE date_of_birth = "24 september 1851" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2923917_4 (sydney VARCHAR, distance VARCHAR)
### Question:
How many dollars is listed under Sydney when the distance is 10km?
### Answer:
SELECT sydney FROM table_2923917_4 WHERE distance = "10km" |
Below is an context that describes a sql 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 (venue VARCHAR, year VARCHAR)
### Question:
Which venue hosted a tournament in 1965?
### Answer:
SELECT venue FROM table_name_78 WHERE year = 1965 |
Below is an context that describes a sql 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 (cardinalatial_title VARCHAR, elevated VARCHAR, elector VARCHAR)
### Question:
What is the cardinalatial title when the elevated is September 18, 1294, and elector is Bérard De Got?
### Answer:
SELECT cardinalatial_title FROM table_name_36 WHERE elevated = "september 18, 1294" AND elector = "bérard de got" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (player VARCHAR, score VARCHAR)
### Question:
What Player's Score is 69-68-66-70=273?
### Answer:
SELECT player FROM table_name_40 WHERE score = 69 - 68 - 66 - 70 = 273 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (tournament VARCHAR)
### Question:
What tournament what held in Cincinnati in 2009?
### Answer:
SELECT 2009 FROM table_name_53 WHERE tournament = "cincinnati" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (date VARCHAR, attendance INTEGER)
### Question:
When hasn an Attendance larger than 66,926?
### Answer:
SELECT date FROM table_name_72 WHERE attendance > 66 OFFSET 926 |
Below is an context that describes a sql 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 (winning_driver VARCHAR, race_name VARCHAR)
### Question:
Who is the Winning Driver in the race viii gran premio di siracusa?
### Answer:
SELECT winning_driver FROM table_name_42 WHERE race_name = "viii gran premio di siracusa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (interview INTEGER, average VARCHAR, swimsuit VARCHAR, province VARCHAR)
### Question:
Which Interview has a Swimsuit larger than 7.6, and a Province of la vega, and an Average smaller than 8.38?
### Answer:
SELECT SUM(interview) FROM table_name_11 WHERE swimsuit > 7.6 AND province = "la vega" AND average < 8.38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (partially_deleted VARCHAR, name VARCHAR)
### Question:
Where is the partially deleted site of fibers public supply wells located?
### Answer:
SELECT partially_deleted FROM table_name_65 WHERE name = "fibers public supply wells" |
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR)
### Question:
What is position does Dan O'Sullivan play?
### Answer:
SELECT position FROM table_name_58 WHERE player = "dan o'sullivan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR)
### Question:
Name the city for enrollment being 19900
### Answer:
SELECT city FROM table_27378582_1 WHERE enrollment = 19900 |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
I want the score for 23 july 1992
### Answer:
SELECT score FROM table_name_86 WHERE date = "23 july 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_22893781_6 (date VARCHAR, team VARCHAR)
### Question:
Name the number of date for dallas
### Answer:
SELECT COUNT(date) FROM table_22893781_6 WHERE team = "Dallas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE address (district VARCHAR)
### Question:
Which districts have at least two addresses?
### Answer:
SELECT district FROM address GROUP BY district HAVING COUNT(*) >= 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_97 (comp INTEGER, rating VARCHAR, yards VARCHAR)
### Question:
What is the highest comp for ratings less than 52.8 and yards less than 0?
### Answer:
SELECT MAX(comp) FROM table_name_97 WHERE rating < 52.8 AND yards < 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_62 (record VARCHAR, round VARCHAR, event VARCHAR)
### Question:
Which Record has a Round larger than 2, and an Event of bellator 38?
### Answer:
SELECT record FROM table_name_62 WHERE round > 2 AND event = "bellator 38" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.