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_2 (score VARCHAR, record VARCHAR)
### Question:
What is the Score of the game with a Record of 5–4–3?
### Answer:
SELECT score FROM table_name_2 WHERE record = "5–4–3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16090262_1 (originalairdate VARCHAR, tv_broadcast VARCHAR)
### Question:
When was the show originally aired that had a TV broadcast of S07E04?
### Answer:
SELECT originalairdate FROM table_16090262_1 WHERE tv_broadcast = "S07E04" |
Below is an context that describes a sql 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 (wins INTEGER, points VARCHAR, rank VARCHAR)
### Question:
What is the lowest wins with points larger than 46, and a rank of 10th?
### Answer:
SELECT MIN(wins) FROM table_name_55 WHERE points > 46 AND rank = "10th" |
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR, to_par VARCHAR, place VARCHAR)
### Question:
What is Score, when To Par is greater than 7, when Place is "T4", and when Player is "Bob Rosburg"?
### Answer:
SELECT score FROM table_name_38 WHERE to_par > 7 AND place = "t4" AND player = "bob rosburg" |
Below is an context that describes a sql 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 (division_north VARCHAR, division_southwest VARCHAR, division_west VARCHAR)
### Question:
Who won Division North when Division Southwest was won by Novaci and Division West by Vrapčište?
### Answer:
SELECT division_north FROM table_name_75 WHERE division_southwest = "novaci" AND division_west = "vrapčište" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25926120_3 (name_of_film VARCHAR, language VARCHAR)
### Question:
How many films were in hindi?
### Answer:
SELECT COUNT(name_of_film) FROM table_25926120_3 WHERE language = "Hindi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11562143_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
### Question:
What date got 9.82 million viewers?
### Answer:
SELECT original_air_date FROM table_11562143_1 WHERE us_viewers__million_ = "9.82" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR)
### Question:
When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there?
### Answer:
SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND period = "2011" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
### Question:
What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0?
### Answer:
SELECT MIN(bronze) FROM table_name_52 WHERE total = 3 AND nation = "hungary" AND gold < 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_16799784_7 (diameter__km_ VARCHAR, longitude VARCHAR)
### Question:
what is the diameter (km) of longitude 170.1e
### Answer:
SELECT diameter__km_ FROM table_16799784_7 WHERE longitude = "170.1E" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27704187_11 (game INTEGER, date VARCHAR)
### Question:
What game number was played on april 8?
### Answer:
SELECT MIN(game) FROM table_27704187_11 WHERE date = "April 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 mountain (Country VARCHAR, Height INTEGER)
### Question:
What are the countries of mountains with height bigger than 5000?
### Answer:
SELECT Country FROM mountain WHERE Height > 5000 |
Below is an context that describes a sql 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 (player VARCHAR, years_at_club VARCHAR, goals VARCHAR, debut_year VARCHAR)
### Question:
Which Player has Goals larger than 10, and a Debut year smaller than 1993, and Years at club of 1990–1993?
### Answer:
SELECT player FROM table_name_71 WHERE goals > 10 AND debut_year < 1993 AND years_at_club = "1990–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_21584646_10 (runner_up VARCHAR, champion VARCHAR)
### Question:
Who is the runner up for the champion of john mcenroe 6–2, 6–3?
### Answer:
SELECT runner_up FROM table_21584646_10 WHERE champion = "John McEnroe 6–2, 6–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_24 (record VARCHAR, game VARCHAR)
### Question:
What is Record, when Game is "24"?
### Answer:
SELECT record FROM table_name_24 WHERE game = 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_22457674_1 (master_recording VARCHAR, artist VARCHAR)
### Question:
Name the number of master recording for doobie brothers the doobie brothers
### Answer:
SELECT COUNT(master_recording) FROM table_22457674_1 WHERE artist = "Doobie Brothers The Doobie Brothers" |
Below is an context that describes a sql 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 (years VARCHAR, player VARCHAR)
### Question:
What years did Alvin Mitchell play?
### Answer:
SELECT years FROM table_name_44 WHERE player = "alvin mitchell" |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
What is the smallest crowd when collingwood is home team?
### Answer:
SELECT MIN(crowd) FROM table_name_91 WHERE home_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (color_code VARCHAR)
### Question:
What is the description of the color for most products?
### Answer:
SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code GROUP BY t2.color_description ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12454156_1 (losing_hand VARCHAR, winning_hand VARCHAR)
### Question:
What was the losing hand where the winning hand was 7h 7s?
### Answer:
SELECT losing_hand FROM table_12454156_1 WHERE winning_hand = "7h 7s" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342149_6 (incumbent VARCHAR, first_elected VARCHAR)
### Question:
Who was the first elected incumbent in the 1946 election?
### Answer:
SELECT incumbent FROM table_1342149_6 WHERE first_elected = "1946" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What is the Record for April 22?
### Answer:
SELECT record FROM table_name_54 WHERE date = "april 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_43 (losses VARCHAR, byes VARCHAR, wins VARCHAR, golden_rivers VARCHAR)
### Question:
How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2?
### Answer:
SELECT COUNT(losses) FROM table_name_43 WHERE wins < 12 AND golden_rivers = "ultima" AND byes > 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_19925114_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
### Question:
How many different numbers of people in the US who'd seen the episode with a season number 8 are there?
### Answer:
SELECT COUNT(us_viewers__millions_) FROM table_19925114_1 WHERE no_in_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_25 (score VARCHAR, away_team VARCHAR)
### Question:
What was the score for the away team of Brentford?
### Answer:
SELECT score FROM table_name_25 WHERE away_team = "brentford" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (novelty VARCHAR, authors VARCHAR)
### Question:
What is the Novelty of the dinosaur, whose naming Author was Galton?
### Answer:
SELECT novelty FROM table_name_37 WHERE authors = "galton" |
Below is an context that describes a sql 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 (born_died VARCHAR, name VARCHAR)
### Question:
What is the Born-Died dates of Xhafer Bej Ypi?
### Answer:
SELECT born_died FROM table_name_39 WHERE name = "xhafer bej ypi" |
Below is an context that describes a sql 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 (displacement VARCHAR, model VARCHAR)
### Question:
What displacement has a model of 2000?
### Answer:
SELECT displacement FROM table_name_78 WHERE model = "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_21 (player VARCHAR, school VARCHAR, division VARCHAR, team VARCHAR)
### Question:
What Player is from the west Division and the Team of special teams and is from the School Toledo Western Michigan?
### Answer:
SELECT player FROM table_name_21 WHERE division = "west" AND team = "special teams" AND school = "toledo western michigan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24099916_1 (model__list_ VARCHAR, tdp VARCHAR)
### Question:
What's the model of the processor with a 5.5 w TDP?
### Answer:
SELECT model__list_ FROM table_24099916_1 WHERE tdp = "5.5 W" |
Below is an context that describes a sql 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 (round INTEGER, player VARCHAR)
### Question:
What round was Ken Irvin drafted?
### Answer:
SELECT MAX(round) FROM table_name_54 WHERE player = "ken irvin" |
Below is an context that describes a sql 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 (finish INTEGER, year VARCHAR, start VARCHAR, engine VARCHAR)
### Question:
What was the finish associated with under 11 starts, a honda engine, before 2003?
### Answer:
SELECT AVG(finish) FROM table_name_19 WHERE start < 11 AND engine = "honda" AND 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_91 (college_junior_club_team VARCHAR, nationality VARCHAR)
### Question:
What was the College/junior/club team of the player with the united states nationality?
### Answer:
SELECT college_junior_club_team FROM table_name_91 WHERE nationality = "united states" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (series VARCHAR, release_date VARCHAR)
### Question:
What is the Series of the Filmography with Release date of 1946-01-05?
### Answer:
SELECT series FROM table_name_1 WHERE release_date = "1946-01-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_27 (result VARCHAR, venue VARCHAR)
### Question:
What was the result of the game played in Venue H?
### Answer:
SELECT result FROM table_name_27 WHERE venue = "h" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What shows for 2009 when the 2012 is 1R?
### Answer:
SELECT 2009 FROM table_name_5 WHERE 2012 = "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 Draft_Copies (document_id VARCHAR, copy_number VARCHAR)
### Question:
Which document has the most draft copies? List its document id and number of draft copies.
### Answer:
SELECT document_id, COUNT(copy_number) FROM Draft_Copies GROUP BY document_id ORDER BY COUNT(copy_number) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (location_attendance VARCHAR, game VARCHAR)
### Question:
How many people attended game 42?
### Answer:
SELECT location_attendance FROM table_name_30 WHERE game = 42 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (nominating_festival VARCHAR, film VARCHAR)
### Question:
What Nominating festival was party of the adjustment film?
### Answer:
SELECT nominating_festival FROM table_name_69 WHERE film = "adjustment" |
Below is an context that describes a sql 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 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR)
### Question:
What's the smallest amount of earnings when the wins are less than 72 and the rank is more than 3?
### Answer:
SELECT MIN(earnings___) AS $__ FROM table_name_87 WHERE wins < 72 AND rank > 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_33 (visitor VARCHAR, home VARCHAR)
### Question:
what team was the visitor in the chicago game
### Answer:
SELECT visitor FROM table_name_33 WHERE home = "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_30047613_12 (high_rebounds VARCHAR, date VARCHAR)
### Question:
in april 13 who made the high rebounds
### Answer:
SELECT high_rebounds FROM table_30047613_12 WHERE date = "April 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_35 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
### Question:
Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai?
### Answer:
SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai" |
Below is an context that describes a sql 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 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
### Question:
Who constructed the car that Derek Warwick raced in with a TG181 chassis?
### Answer:
SELECT constructor FROM table_name_20 WHERE chassis = "tg181" AND driver = "derek warwick" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What was the home team that played Collingwood?
### Answer:
SELECT home_team FROM table_name_73 WHERE away_team = "collingwood" |
Below is an context that describes a sql 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 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
### Question:
WHAT COUNTRY HAS THE HIGHEST BRONZE COUNT, MORE THAN 1 SILVER METAL, AND LESS THAN 1ST PLACE?
### Answer:
SELECT MAX(bronze) FROM table_name_46 WHERE silver > 1 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_1570003_2 (open_cup VARCHAR, year VARCHAR)
### Question:
During 2003 what was open cup qualifying status?
### Answer:
SELECT open_cup FROM table_1570003_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_12369913_1 (result VARCHAR, original_title VARCHAR)
### Question:
How many results are there with the original title of ani ohev otach roza (אני אוהב אותך רוזה)?
### Answer:
SELECT COUNT(result) FROM table_12369913_1 WHERE original_title = "Ani Ohev Otach Roza (אני אוהב אותך רוזה)" |
Below is an context that describes 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 (name VARCHAR, Num_of_Component VARCHAR, market_rate VARCHAR)
### Question:
Find the name and component amount of the least popular furniture.
### Answer:
SELECT name, Num_of_Component FROM furniture ORDER BY market_rate LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (crowd INTEGER, venue VARCHAR)
### Question:
How many people were in attendance at Glenferrie Oval?
### Answer:
SELECT MIN(crowd) FROM table_name_43 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_47 (position VARCHAR, college VARCHAR)
### Question:
What position is drafted from Grambling?
### Answer:
SELECT position FROM table_name_47 WHERE college = "grambling" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_rating INTEGER)
### Question:
List all player names who have an overall rating higher than the average.
### Answer:
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.overall_rating > (SELECT AVG(overall_rating) FROM Player_Attributes) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR)
### Question:
Which player went to Gonzaga?
### Answer:
SELECT player FROM table_name_80 WHERE school_country = "gonzaga" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22347090_6 (written_by VARCHAR, production_code VARCHAR)
### Question:
Who wrote the episode that has a production code 3x7557?
### Answer:
SELECT written_by FROM table_22347090_6 WHERE production_code = "3X7557" |
Below is an context that describes a sql 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 (artist VARCHAR, label VARCHAR, standard_number VARCHAR)
### Question:
Which Artist has the Label of Columbia and the Standard number of COCC-72073?
### Answer:
SELECT artist FROM table_name_86 WHERE label = "columbia" AND standard_number = "cocc-72073" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Properties (property_type_code VARCHAR); CREATE TABLE Ref_Property_Types (property_type_description VARCHAR, property_type_code VARCHAR)
### Question:
Show the property type descriptions of properties belonging to that code.
### Answer:
SELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code |
Below is an context that describes a sql 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 (race VARCHAR, jockey VARCHAR)
### Question:
Which Race that Jockey of d. nikolic is in?
### Answer:
SELECT race FROM table_name_78 WHERE jockey = "d. nikolic" |
Below is an context that describes a sql 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 (pole_positions INTEGER, percentage VARCHAR)
### Question:
What's the average pole position for the driver that has a percentage of 44.81%?
### Answer:
SELECT AVG(pole_positions) FROM table_name_33 WHERE percentage = "44.81%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE country (SurfaceArea INTEGER, Region VARCHAR)
### Question:
What is the total surface area of the countries in the Caribbean region?
### Answer:
SELECT SUM(SurfaceArea) FROM country WHERE Region = "Caribbean" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21501511_1 (song_choice VARCHAR, week__number VARCHAR)
### Question:
What was Lambert's song choice in the top 13?
### Answer:
SELECT song_choice FROM table_21501511_1 WHERE week__number = "Top 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_1858574_3 (yacht VARCHAR, sail_number VARCHAR)
### Question:
On what yacht was the sail number aus70?
### Answer:
SELECT yacht FROM table_1858574_3 WHERE sail_number = "AUS70" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR)
### Question:
What is the average attendance when the Forest Green Rovers is the away team?
### Answer:
SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1013129_3 (pick VARCHAR, college_junior_club_team VARCHAR)
### Question:
What's the pick number of the player from Springfield Olympics (Nejhl)?
### Answer:
SELECT pick FROM table_1013129_3 WHERE college_junior_club_team = "Springfield Olympics (NEJHL)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13625792_1 (total__number INTEGER, county VARCHAR)
### Question:
How many votes were cast in Wayne county?
### Answer:
SELECT MAX(total__number) FROM table_13625792_1 WHERE county = "Wayne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23916539_3 (record VARCHAR, location VARCHAR)
### Question:
What is the record if the location is Clarke Stadium?
### Answer:
SELECT record FROM table_23916539_3 WHERE location = "Clarke Stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (country VARCHAR, money___$__ VARCHAR, score VARCHAR)
### Question:
What Country has a Player with Playoff Money with a Score of 72-69-73-73=287?
### Answer:
SELECT country FROM table_name_8 WHERE money___$__ = "playoff" AND score = 72 - 69 - 73 - 73 = 287 |
Below is an context that describes a sql 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 (set_3 VARCHAR, total VARCHAR)
### Question:
What is the Set 3 when the Total was 62 - 75?
### Answer:
SELECT set_3 FROM table_name_72 WHERE total = "62 - 75" |
Below is an context that describes a sql 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 (isbn VARCHAR, series VARCHAR, title VARCHAR)
### Question:
What is the ISBN of the Conan the Barbarian series that has the title of Queen of the Black Coast?
### Answer:
SELECT isbn FROM table_name_75 WHERE series = "conan the barbarian" AND title = "queen of the black coast" |
Below is an context that describes a sql 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 (country VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
Where was the film about the garden of the finzi-continis made?
### Answer:
SELECT country FROM table_name_30 WHERE film_title_used_in_nomination = "the garden of the finzi-continis" |
Below is an context that describes a sql 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 (tournament VARCHAR, runner_up VARCHAR)
### Question:
What tournament was Thomas Enqvist runner up?
### Answer:
SELECT tournament FROM table_name_15 WHERE runner_up = "thomas enqvist" |
Below is an context that describes a sql 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 (std_rank INTEGER, name VARCHAR, year VARCHAR)
### Question:
How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?
### Answer:
SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990 |
Below is an context that describes a sql 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 (goals_conceded__gc_ INTEGER, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR)
### Question:
Goals Conceded (GC) that has a Draw (PE) larger than 2, and a Goals Scored (GF) larger than 19?
### Answer:
SELECT MAX(goals_conceded__gc_) FROM table_name_33 WHERE draw__pe_ > 2 AND goals_scored__gf_ > 19 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR)
### Question:
what's the points with driver mark martin
### Answer:
SELECT points FROM table_10160447_1 WHERE driver = "Mark Martin" |
Below is an context that describes a sql 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 (hometown VARCHAR, college VARCHAR)
### Question:
What is the hometown for a college in Wisconsin?
### Answer:
SELECT hometown FROM table_name_43 WHERE college = "wisconsin" |
Below is an context that describes a sql 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 (name VARCHAR, type VARCHAR)
### Question:
What bridge is a pratt pony through truss tyoe bridge?
### Answer:
SELECT name FROM table_name_4 WHERE type = "pratt pony through truss" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1160304_2 (date_of_exit VARCHAR, chart VARCHAR)
### Question:
What is the exit date for the Dutch Albums Top 100 Chart?
### Answer:
SELECT date_of_exit FROM table_1160304_2 WHERE chart = "Dutch Albums Top 100" |
Below is an context that describes a sql 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 (elevator VARCHAR, cardinalatial_title VARCHAR)
### Question:
What is listed for the Elevator, that also has the Cardinalatial title of Deacon of S. Maria in Portico?
### Answer:
SELECT elevator FROM table_name_78 WHERE cardinalatial_title = "deacon of s. maria in portico" |
Below is an context that describes a sql 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 (wins VARCHAR, top_25 VARCHAR, events VARCHAR)
### Question:
Name the total number of wins with top-25 of 10 and events less than 26
### Answer:
SELECT COUNT(wins) FROM table_name_67 WHERE top_25 = 10 AND events < 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_55 (Id VARCHAR)
### Question:
What is the 2004 value with A in 2005, A in 2008, and lq in 2009?
### Answer:
SELECT 2004 FROM table_name_55 WHERE 2005 = "a" AND 2008 = "a" AND 2009 = "lq" |
Below is an context that describes a sql 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, rockets_score VARCHAR, game VARCHAR)
### Question:
Which Date has a Rockets score of 94, and a Game of 66?
### Answer:
SELECT date FROM table_name_21 WHERE rockets_score = 94 AND game = 66 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24496403_1 (launched VARCHAR, disposition VARCHAR)
### Question:
When was the stokers' training ship launched?
### Answer:
SELECT launched FROM table_24496403_1 WHERE disposition = "Stokers' training ship" |
Below is an context that describes a sql 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 (uk_chart VARCHAR, artist VARCHAR)
### Question:
Where did Scott Fitzgerald rank on the UK charts?
### Answer:
SELECT uk_chart FROM table_name_84 WHERE artist = "scott fitzgerald" |
Below is an context that describes a sql 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 (location__numbersites__global_local_ VARCHAR, as_number VARCHAR)
### Question:
Which location has an AS-number of N/A?
### Answer:
SELECT location__numbersites__global_local_ FROM table_name_60 WHERE as_number = "n/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_2562113_1 (location VARCHAR, nickname VARCHAR)
### Question:
What is the location of the institution nicknamed Lions?
### Answer:
SELECT location FROM table_2562113_1 WHERE nickname = "Lions" |
Below is an context that describes a sql 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 (overall INTEGER, player VARCHAR, round VARCHAR)
### Question:
What is the lowest Overall, when Player is "Dan Jennings", and when Round is greater than 9?
### Answer:
SELECT MIN(overall) FROM table_name_23 WHERE player = "dan jennings" AND 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_27277284_27 (tdp VARCHAR, order_part_number VARCHAR)
### Question:
How many thermal design power levels does part number amql65dam22gg have?
### Answer:
SELECT COUNT(tdp) FROM table_27277284_27 WHERE order_part_number = "AMQL65DAM22GG" |
Below is an context that describes a sql 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 (company_name VARCHAR, accreditation_level VARCHAR, accreditation_status VARCHAR)
### Question:
What is the Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accreditation Status is Approved (Awarded 17.05.13)?
### Answer:
SELECT company_name FROM table_name_13 WHERE accreditation_level = "joyn hot fixes" AND accreditation_status = "approved (awarded 17.05.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_21 (injured VARCHAR, country VARCHAR)
### Question:
What is Injured, when Country is "Afghanistan"?
### Answer:
SELECT injured FROM table_name_21 WHERE country = "afghanistan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (rank VARCHAR, notes VARCHAR, time VARCHAR)
### Question:
Which Rank has Notes of fb, and a Time of 5:57.31?
### Answer:
SELECT rank FROM table_name_70 WHERE notes = "fb" AND time = "5:57.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_47 (water__sqmi_ INTEGER, county VARCHAR, longitude VARCHAR)
### Question:
What was the lowest water(sqmi) in the county of dickey where the longitude was smaller than -98.444062?
### Answer:
SELECT MIN(water__sqmi_) FROM table_name_47 WHERE county = "dickey" AND longitude < -98.444062 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1015521_2 (us_air_force_equivalent VARCHAR, commonwealth_equivalent VARCHAR)
### Question:
If you are a pilot officer in the commonwealth then what will you called as in the US air force?
### Answer:
SELECT us_air_force_equivalent FROM table_1015521_2 WHERE commonwealth_equivalent = "Pilot Officer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25711913_8 (touchdowns INTEGER, position VARCHAR)
### Question:
How many touchdowns did the fullback score?
### Answer:
SELECT MIN(touchdowns) FROM table_25711913_8 WHERE position = "Fullback" |
Below is an context that describes a sql 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 (fall_09 INTEGER, fall_05 INTEGER)
### Question:
What is the mean Fall 09 number where fall 05 is less than 3?
### Answer:
SELECT AVG(fall_09) FROM table_name_34 WHERE fall_05 < 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_18662026_1 (horizontal_bar VARCHAR, rings VARCHAR)
### Question:
If the rings is 58.975, what is the number for the horizontal bar?
### Answer:
SELECT horizontal_bar FROM table_18662026_1 WHERE rings = "58.975" |
Below is an context that describes a sql 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 (total INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
What is the average total medals Egypt, who has less than 2 gold, has?
### Answer:
SELECT AVG(total) FROM table_name_67 WHERE nation = "egypt" AND gold < 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_2374338_2 (population INTEGER)
### Question:
What is the largest value of population?
### Answer:
SELECT MAX(population) FROM table_2374338_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_30 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Question:
What is the highest attendance for December 3, 1972 after week 12?
### Answer:
SELECT MAX(attendance) FROM table_name_30 WHERE date = "december 3, 1972" AND week > 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_2509113_2 (vinto_municipality INTEGER, language VARCHAR)
### Question:
If the language is Spanish, what is the Vinto Municipality minimum?
### Answer:
SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE language = "Spanish" |
Below is an context that describes a sql 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 (hometown_school VARCHAR, team VARCHAR, player VARCHAR)
### Question:
What was the home town of Bob Geren, picked by the San Diego Padres?
### Answer:
SELECT hometown_school FROM table_name_18 WHERE team = "san diego padres" AND player = "bob geren" |
Below is an context that describes a sql 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 (current_club VARCHAR, player VARCHAR)
### Question:
What is the club for Sam Magri?
### Answer:
SELECT current_club FROM table_name_9 WHERE player = "sam magri" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.