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_10 (airport VARCHAR, icao VARCHAR)
### Question:
What is the Airport with the ICAO fo KSEA?
### Answer:
SELECT airport FROM table_name_10 WHERE icao = "ksea" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR)
### Question:
what's the model name with engine code being b5254 t4
### Answer:
SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5254 T4" |
Below is an context that describes a sql 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 (iata VARCHAR, country VARCHAR, airport VARCHAR)
### Question:
What is the IATA for Ringway Airport in the United Kingdom?
### Answer:
SELECT iata FROM table_name_1 WHERE country = "united kingdom" AND airport = "ringway airport" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10748727_1 (points VARCHAR, series VARCHAR, team_name VARCHAR)
### Question:
how much did the british formula three called "fortec motorsport" score?
### Answer:
SELECT points FROM table_10748727_1 WHERE series = "British Formula Three" AND team_name = "Fortec Motorsport" |
Below is an context that describes a sql 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 (year_started INTEGER, current_car VARCHAR, number_of_cars VARCHAR)
### Question:
Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1?
### Answer:
SELECT MAX(year_started) FROM table_name_38 WHERE current_car = "arctic sun" AND number_of_cars < 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_2668243_22 (incumbent VARCHAR, district VARCHAR)
### Question:
Who was the "incumbent" of district south carolina 7?
### Answer:
SELECT incumbent FROM table_2668243_22 WHERE district = "South Carolina 7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1213511_7 (nationality VARCHAR, pick__number VARCHAR)
### Question:
What nationality is pick # 89
### Answer:
SELECT nationality FROM table_1213511_7 WHERE pick__number = 89 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (finish VARCHAR, country VARCHAR)
### Question:
What was the finish by the player from West Germany?
### Answer:
SELECT finish FROM table_name_36 WHERE country = "west germany" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE products_booked (product_id VARCHAR)
### Question:
What is the id of the product that is booked for 3 times?
### Answer:
SELECT product_id FROM products_booked GROUP BY product_id HAVING COUNT(*) = 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR)
### Question:
How many total gold medals did Australia receive?
### Answer:
SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia" |
Below is an context that describes a sql 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 (location VARCHAR, type VARCHAR, date VARCHAR, year VARCHAR, president VARCHAR)
### Question:
What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled?
### Answer:
SELECT location FROM table_name_63 WHERE year > 2011 AND president = "herman van rompuy (2nd term)" AND date = "28–29 june" AND type = "scheduled" |
Below is an context that describes a sql 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 (jerseys VARCHAR, points VARCHAR, young_rider VARCHAR, country VARCHAR)
### Question:
how many times is young rider more than 0, country is france and points less than 1?
### Answer:
SELECT COUNT(jerseys) FROM table_name_78 WHERE young_rider > 0 AND country = "france" AND points < 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_87 (language VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR)
### Question:
What language is the moviein that is on UMP movies network through Sky service?
### Answer:
SELECT language FROM table_name_87 WHERE genre = "movies" AND service = "sky" AND network = "ump movies" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (wednesday VARCHAR, sunday VARCHAR)
### Question:
Which Wednesday has a Sunday of གཟའ་ཉི་མ།?
### Answer:
SELECT wednesday FROM table_name_16 WHERE sunday = "གཟའ་ཉི་མ།" |
Below is an context that describes a sql 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 (result VARCHAR, year VARCHAR, episode VARCHAR)
### Question:
What was the result of nomination for Season 6 after 1995?
### Answer:
SELECT result FROM table_name_49 WHERE year > 1995 AND episode = "season 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_17598822_11 (challenge_cup INTEGER, player VARCHAR)
### Question:
Name the most challenge cup for damon gray
### Answer:
SELECT MAX(challenge_cup) FROM table_17598822_11 WHERE player = "Damon Gray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, season VARCHAR)
### Question:
What are all values for viewers for 1st season?
### Answer:
SELECT viewers__in_millions_ FROM table_175980_2 WHERE season = "1st" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR)
### Question:
What surface was used when she played with Remi Tezuka?
### Answer:
SELECT surface FROM table_name_76 WHERE partner = "remi tezuka" |
Below is an context that describes a sql 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 (lost INTEGER, years VARCHAR, total_games VARCHAR)
### Question:
How many losses had more than 122 years and more than 1244 total games?
### Answer:
SELECT SUM(lost) FROM table_name_2 WHERE years > 122 AND total_games > 1244 |
Below is an context that describes a sql 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 (opponent VARCHAR, event VARCHAR)
### Question:
What is Opponent, when Event is "ISCF - Southeast Championships"?
### Answer:
SELECT opponent FROM table_name_17 WHERE event = "iscf - southeast championships" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (cuts_made VARCHAR, events VARCHAR)
### Question:
What is the total number of cuts made of tournaments with 2 Events?
### Answer:
SELECT COUNT(cuts_made) FROM table_name_81 WHERE events = 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_15 (score VARCHAR, date VARCHAR)
### Question:
Tell me the score for 9 may 2001
### Answer:
SELECT score FROM table_name_15 WHERE date = "9 may 2001" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (premiers VARCHAR, points VARCHAR, score VARCHAR)
### Question:
What is the premier team that has 38 points and won with a score of 38-0?
### Answer:
SELECT premiers FROM table_name_16 WHERE points = 38 AND score = "38-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_16 (country VARCHAR, olympics VARCHAR, name VARCHAR)
### Question:
Which country in the 2008 summer olympics is vadim devyatovskiy from?
### Answer:
SELECT country FROM table_name_16 WHERE olympics = "2008 summer olympics" AND name = "vadim devyatovskiy" |
Below is an context that describes a sql 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 (rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR)
### Question:
Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18?
### Answer:
SELECT rank_points FROM table_name_75 WHERE event = "wc beijing" AND score_points = "13" AND total = "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_27723228_3 (team VARCHAR, game VARCHAR)
### Question:
What team did the Hornets play in game 4?
### Answer:
SELECT team FROM table_27723228_3 WHERE game = 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_78 (year VARCHAR, total VARCHAR, competitors VARCHAR)
### Question:
In what Year did Yugoslavia have 4 Competitors with 0 medals Total?
### Answer:
SELECT year FROM table_name_78 WHERE total = "0" AND competitors = "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_2226817_12 (title VARCHAR, production_code VARCHAR)
### Question:
what is the name of the episode if the production code is 11.12?
### Answer:
SELECT title FROM table_2226817_12 WHERE production_code = "11.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_228439_4 (district VARCHAR, successor VARCHAR)
### Question:
What district is Samuel A. Bridges ( D ) assigned to as a successor?
### Answer:
SELECT district FROM table_228439_4 WHERE successor = "Samuel A. Bridges ( D )" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (venue VARCHAR, position VARCHAR)
### Question:
What is the venue of the race where Lineth Chepkurui placed 4th?
### Answer:
SELECT venue FROM table_name_12 WHERE position = "4th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE match_season (Name VARCHAR, Team_id VARCHAR, Team VARCHAR); CREATE TABLE team (Name VARCHAR, Team_id VARCHAR, Team VARCHAR)
### Question:
What are the names of teams that do no have match season record?
### Answer:
SELECT Name FROM team WHERE NOT Team_id IN (SELECT Team FROM match_season) |
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR)
### Question:
What is the name of the competition that was held on August 20, 2004?
### Answer:
SELECT competition FROM table_name_4 WHERE date = "august 20, 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_2 (icao VARCHAR, airport VARCHAR)
### Question:
What is the ICAO of Lohausen airport?
### Answer:
SELECT icao FROM table_name_2 WHERE airport = "lohausen airport" |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
What is the largest crowd for any game where Footscray is the home team?
### Answer:
SELECT MAX(crowd) FROM table_name_9 WHERE home_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE hosting_city (year VARCHAR, host_city VARCHAR)
### Question:
What is the host year of city "Taizhou ( Zhejiang )"?
### Answer:
SELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T1.city = "Taizhou ( Zhejiang )" |
Below is an context that describes a sql 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 (city_of_license VARCHAR, frequency_mhz VARCHAR)
### Question:
Which City of license has a Frequency MHz of 91.5 fm?
### Answer:
SELECT city_of_license FROM table_name_42 WHERE frequency_mhz = "91.5 fm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14465871_1 (cmdexe___commandcom VARCHAR, unix_shell VARCHAR)
### Question:
What are all values of CMD.EXE / COMMAND.COM for the unix shell echo?
### Answer:
SELECT cmdexe___commandcom FROM table_14465871_1 WHERE unix_shell = "echo" |
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR)
### Question:
What place did bobby wadkins come in?
### Answer:
SELECT place FROM table_name_13 WHERE player = "bobby wadkins" |
Below is an context that describes a sql 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 (fs VARCHAR, sp INTEGER, points VARCHAR, rank VARCHAR)
### Question:
What is the highest SP+FS that has 131.02 Points, and a Rank larger than 15?
### Answer:
SELECT MAX(sp) + fs FROM table_name_84 WHERE points = 131.02 AND rank > 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_70 (year INTEGER, category VARCHAR)
### Question:
What is the latest year for the distinguished performance?
### Answer:
SELECT MAX(year) FROM table_name_70 WHERE category = "distinguished performance" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (wins VARCHAR, league VARCHAR)
### Question:
What is the number of wins in the playoffs league?
### Answer:
SELECT wins FROM table_name_10 WHERE league = "playoffs" |
Below is an context that describes a sql 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 (wins INTEGER, earnings__$__ INTEGER)
### Question:
How many wins do the players that earned more than 720,134 have?
### Answer:
SELECT SUM(wins) FROM table_name_8 WHERE earnings__$__ > 720 OFFSET 134 |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is the value in 2008 for the US Open?
### Answer:
SELECT 2008 FROM table_name_31 WHERE tournament = "us open" |
Below is an context that describes a sql 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 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)
### Question:
Which entrant, with an Offenhauser L4 engine and a Kurtis Kraft KK500A chassis, scored 9 points before 1955?
### Answer:
SELECT entrant FROM table_name_15 WHERE engine = "offenhauser l4" AND year < 1955 AND chassis = "kurtis kraft kk500a" AND points = 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_14395920_2 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
### Question:
Who won the stage when Mark Cavendish led the points classification, Rinaldo Nocentini led the general classification, and the stage was less than 11.0?
### Answer:
SELECT winner FROM table_14395920_2 WHERE points_classification = "Mark Cavendish" AND general_classification = "Rinaldo Nocentini" AND stage < 11.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_66 (enrollment INTEGER, mascot VARCHAR)
### Question:
What is the Enrollment where Cougars is a Mascot?
### Answer:
SELECT SUM(enrollment) FROM table_name_66 WHERE mascot = "cougars" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28081876_4 (title VARCHAR, production_code VARCHAR)
### Question:
name the title of the episode with production code 201
### Answer:
SELECT title FROM table_28081876_4 WHERE production_code = 201 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21676617_1 (year VARCHAR, odds_of_winner VARCHAR)
### Question:
When were the odds of winner 16.66?
### Answer:
SELECT year FROM table_21676617_1 WHERE odds_of_winner = "16.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_1868929_1 (fuel_gas VARCHAR, upper_index_mj__nm_3 VARCHAR)
### Question:
Name the fuel gas for upper index mj/nm3 for 92.32
### Answer:
SELECT fuel_gas FROM table_1868929_1 WHERE upper_index_mj__nm_3 = "92.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_22355_20 (silver INTEGER)
### Question:
Who has the minimum number of silver?
### Answer:
SELECT MIN(silver) FROM table_22355_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_81 (rank INTEGER, years VARCHAR)
### Question:
What is the highest Rank 1960—?
### Answer:
SELECT MAX(rank) FROM table_name_81 WHERE years = "1960—" |
Below is an context that describes a sql 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 (lane VARCHAR, nationality VARCHAR, time VARCHAR)
### Question:
What lane is from Great Britain and a 57.78 time?
### Answer:
SELECT COUNT(lane) FROM table_name_95 WHERE nationality = "great britain" AND time > 57.78 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (overall INTEGER, pick INTEGER)
### Question:
What was the Overall number that is the lowest, and has a pick greater than 9?
### Answer:
SELECT MIN(overall) FROM table_name_86 WHERE pick > 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_90 (_number___county VARCHAR, year_joined VARCHAR, location VARCHAR)
### Question:
which # / county is correct for year less than 1981 and chalmers as location?
### Answer:
SELECT _number___county FROM table_name_90 WHERE year_joined < 1981 AND location = "chalmers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR)
### Question:
which is the new pageant from spain?
### Answer:
SELECT new_pageant FROM table_14308895_2 WHERE country_territory = "Spain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR)
### Question:
Which suzuki gsx-r1000 k7 has the highest time of retirement?
### Answer:
SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7" |
Below is an context that describes a sql 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 (points VARCHAR, club VARCHAR)
### Question:
How many points for the skater from club btsc?
### Answer:
SELECT COUNT(points) FROM table_name_43 WHERE club = "btsc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (tv_season VARCHAR, season VARCHAR, households__in_millions_ VARCHAR)
### Question:
Which TV season has a Season smaller than 8, and a Household (in millions) of 15.92 (17.1 rating)?
### Answer:
SELECT tv_season FROM table_name_61 WHERE season < 8 AND households__in_millions_ = "15.92 (17.1 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_name_10 (points INTEGER, games VARCHAR, tied VARCHAR, goals_for VARCHAR)
### Question:
What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played?
### Answer:
SELECT MAX(points) FROM table_name_10 WHERE tied = "4" AND goals_for < 257 AND games > 72 |
Below is an context that describes a sql 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 (pick__number VARCHAR, position VARCHAR, player VARCHAR)
### Question:
What was the pick# for Lorenzo Freeman as defensive tackle?
### Answer:
SELECT pick__number FROM table_name_97 WHERE position = "defensive tackle" AND player = "lorenzo freeman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10240125_1 (total_goals INTEGER)
### Question:
What is the smallest number of Total Goals?
### Answer:
SELECT MIN(total_goals) FROM table_10240125_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_25926120_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
### Question:
Who won best actress?
### Answer:
SELECT awardee_s_ FROM table_25926120_3 WHERE name_of_award = "Best 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_27715173_2 (game INTEGER)
### Question:
What is the maximum basketball game?
### Answer:
SELECT MAX(game) FROM table_27715173_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_7 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
What is the team 1 with a (g14)morolo team 2?
### Answer:
SELECT team_1 FROM table_name_7 WHERE team_2 = "(g14)morolo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10015132_14 (no VARCHAR, player VARCHAR)
### Question:
Which number was Patrick O'Bryant?
### Answer:
SELECT no FROM table_10015132_14 WHERE player = "Patrick O'Bryant" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24466191_1 (poles INTEGER, series VARCHAR)
### Question:
Name th most poles for macau grand prix
### Answer:
SELECT MAX(poles) FROM table_24466191_1 WHERE series = "Macau Grand Prix" |
Below is an context that describes a sql 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 (team VARCHAR, winner VARCHAR)
### Question:
What is the team of winner Dick Johnson?
### Answer:
SELECT team FROM table_name_55 WHERE winner = "dick johnson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (team VARCHAR, class VARCHAR, rank VARCHAR)
### Question:
Which team has a class of 500cc and rank of 16th?
### Answer:
SELECT team FROM table_name_88 WHERE class = "500cc" AND rank = "16th" |
Below is an context that describes a sql 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 (result VARCHAR, round VARCHAR)
### Question:
What result is found for the round that has f?
### Answer:
SELECT result FROM table_name_37 WHERE round = "f" |
Below is an context that describes a sql 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 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
### Question:
How many Wins have Goals against smaller than 30, and Goals for larger than 25, and Draws larger than 5?
### Answer:
SELECT COUNT(wins) FROM table_name_66 WHERE goals_against < 30 AND goals_for > 25 AND draws > 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_52 (record VARCHAR, date VARCHAR)
### Question:
What is the Record for the game held on December 2, 2001?
### Answer:
SELECT record FROM table_name_52 WHERE date = "december 2, 2001" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11256021_1 (founder VARCHAR, moderate VARCHAR)
### Question:
what's the founder where moderate is ether
### Answer:
SELECT founder FROM table_11256021_1 WHERE moderate = "ether" |
Below is an context that describes a sql 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 (competition VARCHAR, assist_pass VARCHAR, date VARCHAR)
### Question:
Name the competition for stephanie cox on 2011-07-02
### Answer:
SELECT competition FROM table_name_64 WHERE assist_pass = "stephanie cox" AND date = "2011-07-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_21 (lane VARCHAR, time VARCHAR)
### Question:
What is the lane number of the swimmer with a time of 55.69?
### Answer:
SELECT lane FROM table_name_21 WHERE time = 55.69 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
### Question:
Which country has a score of 70-71-72=213?
### Answer:
SELECT country FROM table_name_76 WHERE score = 70 - 71 - 72 = 213 |
Below is an context that describes a sql 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 (attendance VARCHAR, score VARCHAR)
### Question:
Which attendance has a Score of 3-5?
### Answer:
SELECT attendance FROM table_name_88 WHERE score = "3-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_51 (surface VARCHAR, week VARCHAR)
### Question:
what is the surface for the week of october 25?
### Answer:
SELECT surface FROM table_name_51 WHERE week = "october 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 user_profiles (name VARCHAR, email VARCHAR)
### Question:
Find the names of users whose emails contain ‘superstar’ or ‘edu’.
### Answer:
SELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%' |
Below is an context that describes a sql 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 (games VARCHAR, goals VARCHAR, rank VARCHAR)
### Question:
How many games have 23 goals with a rank greater than 9?
### Answer:
SELECT COUNT(games) FROM table_name_62 WHERE goals = 23 AND rank > 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_71 (record VARCHAR, time VARCHAR)
### Question:
What is the record at 3:00?
### Answer:
SELECT record FROM table_name_71 WHERE time = "3:00" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27462177_1 (no_in_series VARCHAR, written_by VARCHAR)
### Question:
How many episodes did Eve Weston write?
### Answer:
SELECT COUNT(no_in_series) FROM table_27462177_1 WHERE written_by = "Eve Weston" |
Below is an context that describes a sql 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 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
### Question:
Which call sign has a frequency greater than 98.5MHz and ERP W under 155?
### Answer:
SELECT call_sign FROM table_name_41 WHERE frequency_mhz > 98.5 AND erp_w < 155 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE order_items (product_id VARCHAR, order_quantity INTEGER); CREATE TABLE products (product_details VARCHAR, product_id VARCHAR)
### Question:
Find the name and ID of the product whose total order quantity is the largest.
### Answer:
SELECT t2.product_details, t2.product_id FROM order_items AS t1 JOIN products AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_id ORDER BY SUM(t1.order_quantity) 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_1971074_1 (location VARCHAR, nickname VARCHAR)
### Question:
Where is the school whose students are nicknamed Panthers located?
### Answer:
SELECT location FROM table_1971074_1 WHERE nickname = "Panthers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR)
### Question:
Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina?
### Answer:
SELECT AVG(power__mw_) FROM table_name_26 WHERE voltage__kv_ = 500 AND country = "argentina" |
Below is an context that describes a sql 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 (team_1 VARCHAR)
### Question:
What's the score of the 1st leg when Water Corporation was Team 1?
### Answer:
SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation" |
Below is an context that describes a sql 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 (perfect_stem VARCHAR, future_stem VARCHAR)
### Question:
What is the perfect stem for the word that has a future stem of emango?
### Answer:
SELECT perfect_stem FROM table_name_79 WHERE future_stem = "emango" |
Below is an context that describes a sql 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 (production_cost VARCHAR, producer VARCHAR)
### Question:
What is the production cost when the producer is raintree pictures?
### Answer:
SELECT production_cost FROM table_name_63 WHERE producer = "raintree pictures" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR, tie_no VARCHAR, date VARCHAR)
### Question:
Which Home team has a Tie no of replay, a Date of 19 november 1985, and an Away team of tranmere rovers?
### Answer:
SELECT home_team FROM table_name_25 WHERE tie_no = "replay" AND date = "19 november 1985" AND away_team = "tranmere 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_name_95 (peak_lessons_taught INTEGER, evaluation_average__before_april_2009_ VARCHAR)
### Question:
What is the largest number of Peak lessons taught when the Evaluation average (Before April 2009) was 4.4?
### Answer:
SELECT MAX(peak_lessons_taught) FROM table_name_95 WHERE evaluation_average__before_april_2009_ = "4.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_7 (season VARCHAR, name VARCHAR)
### Question:
Which season did Jovy Sese play?
### Answer:
SELECT season FROM table_name_7 WHERE name = "jovy sese" |
Below is an context that describes a sql 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 (speed_rank VARCHAR, year VARCHAR)
### Question:
What's the speed rank in 1963?
### Answer:
SELECT speed_rank FROM table_name_11 WHERE year = "1963" |
Below is an context that describes a 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, latitude VARCHAR)
### Question:
what is the diameter (km) of feature of latitude 40.5s
### Answer:
SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "40.5S" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_33 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
### Question:
What is the other name for martonoš?
### Answer:
SELECT cyrillic_name_other_names FROM table_2562572_33 WHERE settlement = "Martonoš" |
Below is an context that describes a sql 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 (students INTEGER, city VARCHAR, pupil_teacher_ratio VARCHAR)
### Question:
What is the highest number of students for schools in Campbell with pupil to teacher ratios over 25?
### Answer:
SELECT MAX(students) FROM table_name_13 WHERE city = "campbell" AND pupil_teacher_ratio > 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_29756040_1 (original_artist VARCHAR, order__number VARCHAR)
### Question:
Which artists have order # 1?
### Answer:
SELECT original_artist FROM table_29756040_1 WHERE order__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_25 (team_1 VARCHAR)
### Question:
What was the 1st leg for a team 1 of Teteks?
### Answer:
SELECT 1 AS st_leg FROM table_name_25 WHERE team_1 = "teteks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, job_id VARCHAR, salary INTEGER)
### Question:
display the employee number, name( first name and last name ) and job title for all employees whose salary is more than any salary of those employees whose job title is PU_MAN.
### Answer:
SELECT employee_id, first_name, last_name, job_id FROM employees WHERE salary > (SELECT MAX(salary) FROM employees WHERE job_id = 'PU_MAN') |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR)
### Question:
what's the chroma format with name being high profile
### Answer:
SELECT chroma_format FROM table_1376890_2 WHERE name = "High profile" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Highschooler (grade VARCHAR)
### Question:
Which grade has the most high schoolers?
### Answer:
SELECT grade FROM Highschooler GROUP BY grade ORDER BY COUNT(*) DESC LIMIT 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.