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_92 (release_date VARCHAR, series VARCHAR, title VARCHAR)
### Question:
What is the release date of the mm series which has the title confederate honey?
### Answer:
SELECT release_date FROM table_name_92 WHERE series = "mm" AND title = "confederate honey"
|
Below is an context that describes a sql 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 (score VARCHAR, visitor VARCHAR)
### Question:
What was the score for the game in which the Edmonton Oilers were visitors?
### Answer:
SELECT score FROM table_name_4 WHERE visitor = "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_54 (webcast VARCHAR, website VARCHAR)
### Question:
The KTRH.com website includes which type of webcast?
### Answer:
SELECT webcast FROM table_name_54 WHERE website = "ktrh.com"
|
Below is an context that describes a sql 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 (rank VARCHAR, s_wicket VARCHAR, player VARCHAR)
### Question:
Which rank is 40 for s Wicket with a player of Daniel Marsh?
### Answer:
SELECT rank FROM table_name_63 WHERE s_wicket = "40" AND player = "daniel marsh"
|
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR)
### Question:
What position does Wayne Ellington play?
### Answer:
SELECT position FROM table_name_24 WHERE player = "wayne ellington"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16457934_4 (Id VARCHAR)
### Question:
what is the minimum of 60 -64?
### Answer:
SELECT MIN(60 AS _to_64) FROM table_16457934_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_10966926_2 (position VARCHAR, player_name VARCHAR)
### Question:
Which position does Colt Brennan play?
### Answer:
SELECT position FROM table_10966926_2 WHERE player_name = "Colt Brennan"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (team VARCHAR, college VARCHAR)
### Question:
What is the team of the player from ohio state?
### Answer:
SELECT team FROM table_name_93 WHERE college = "ohio state"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16388506_1 (home_team VARCHAR)
### Question:
What are the home team scores when richmond is the home team?
### Answer:
SELECT home_team AS score FROM table_16388506_1 WHERE home_team = "Richmond"
|
Below is an context that describes a sql 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 (league_goals INTEGER, total_apps VARCHAR, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
### Question:
Who has the lowest league total goals with 0 FA cup goals and no FA cup appearances, plays the DF position and has appeared in total of 3 times?
### Answer:
SELECT MIN(league_goals) FROM table_name_84 WHERE fa_cup_goals = "0" AND fa_cup_apps = "0" AND position = "df" AND total_apps = "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_254776_1 (type VARCHAR, location VARCHAR)
### Question:
What type of school is in swarthmore, pennsylvania?
### Answer:
SELECT type FROM table_254776_1 WHERE location = "Swarthmore, Pennsylvania"
|
Below is an context that describes a sql 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 (title VARCHAR, series VARCHAR, release_date VARCHAR)
### Question:
What is the Title of the LT Series Filmography with a Release date of 1964-02-08?
### Answer:
SELECT title FROM table_name_89 WHERE series = "lt" AND release_date = "1964-02-08"
|
Below is an context that describes a sql 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 (branding VARCHAR, frequency VARCHAR)
### Question:
Tell me the branding for frequency of 680 khz
### Answer:
SELECT branding FROM table_name_88 WHERE frequency = "680 khz"
|
Below is an context that describes a sql 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 (weight_ VARCHAR, _height VARCHAR, player VARCHAR)
### Question:
Which Weight & Height has a Player of james donaldson?
### Answer:
SELECT weight_ & _height FROM table_name_43 WHERE player = "james donaldson"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, _percentage_2001 VARCHAR)
### Question:
What was the percentage in 2011 of the province that had 2.4% population in 2001?
### Answer:
SELECT _percentage_2011 FROM table_1717824_1 WHERE _percentage_2001 = "2.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_20453681_1 (county VARCHAR, obama_percentage VARCHAR)
### Question:
Where did Obama get 37.1%?
### Answer:
SELECT county FROM table_20453681_1 WHERE obama_percentage = "37.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_55 (rank VARCHAR, player VARCHAR)
### Question:
What is the rank of player Jason Dunstall?
### Answer:
SELECT rank FROM table_name_55 WHERE player = "jason dunstall"
|
Below is an context that describes a sql 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 (score INTEGER, player VARCHAR)
### Question:
What person had an opponent of linda wessberg and scored an average score?
### Answer:
SELECT AVG(score) FROM table_name_4 WHERE player = "linda wessberg"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25360865_1 (height VARCHAR, _number VARCHAR)
### Question:
Name the total number of height for number 32
### Answer:
SELECT COUNT(height) FROM table_25360865_1 WHERE _number = 32
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (rank VARCHAR, total VARCHAR, silver VARCHAR)
### Question:
Which Rank has a Total larger than 17, and a Silver smaller than 13?
### Answer:
SELECT rank FROM table_name_94 WHERE total > 17 AND silver < 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_21636599_2 (civilians VARCHAR, security_forces VARCHAR)
### Question:
What are the civilian total when the security force total is 36?
### Answer:
SELECT civilians FROM table_21636599_2 WHERE security_forces = "36"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (score VARCHAR, year VARCHAR, country VARCHAR)
### Question:
What is the Score, when the Year is after 2007, and when the Country is England?
### Answer:
SELECT score FROM table_name_5 WHERE year > 2007 AND country = "england"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (Id VARCHAR)
### Question:
What shows for 1993 when 1991 is grand slams?
### Answer:
SELECT 1993 FROM table_name_6 WHERE 1991 = "grand slams"
|
Below is an context that describes a sql 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 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR)
### Question:
When John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters?
### Answer:
SELECT sideline_reporters FROM table_name_84 WHERE color_commentator = "john harkes" AND pregame_analysts = "alexi lalas and steve mcmanaman"
|
Below is an context that describes a sql 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 (round VARCHAR, record VARCHAR)
### Question:
How many rounds did the match last when his record was 6-6?
### Answer:
SELECT round FROM table_name_72 WHERE record = "6-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_81 (score VARCHAR, country VARCHAR)
### Question:
What is Canada's score?
### Answer:
SELECT score FROM table_name_81 WHERE country = "canada"
|
Below is an context that describes a sql 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 (driver VARCHAR, sponsor VARCHAR)
### Question:
Who drives for the sponsor w.h. bolin?
### Answer:
SELECT driver FROM table_name_82 WHERE sponsor = "w.h. bolin"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (name_designation VARCHAR, status VARCHAR, range__varies_with_payload_weight_ VARCHAR)
### Question:
What is the name/designation for Operational Status and a range of 1,930km?
### Answer:
SELECT name_designation FROM table_name_85 WHERE status = "operational" AND range__varies_with_payload_weight_ = "1,930km"
|
Below is an context that describes a sql 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 (time_retired VARCHAR, driver VARCHAR)
### Question:
What is the time/retired for alain prost?
### Answer:
SELECT time_retired FROM table_name_60 WHERE driver = "alain prost"
|
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who was the away team when the home team was South Melbourne?
### Answer:
SELECT away_team FROM table_name_7 WHERE home_team = "south 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_name_16 (laps INTEGER, time VARCHAR, grid VARCHAR)
### Question:
Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7?
### Answer:
SELECT AVG(laps) FROM table_name_16 WHERE time = "+17.485" AND grid < 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 Products (Product_Type_Code VARCHAR, Product_Price INTEGER)
### Question:
Show the product type codes that have both products with price higher than 4500 and products with price lower than 3000.
### Answer:
SELECT Product_Type_Code FROM Products WHERE Product_Price > 4500 INTERSECT SELECT Product_Type_Code FROM Products WHERE Product_Price < 3000
|
Below is an context that describes a sql 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 (orbit VARCHAR, specific_orbital_energy VARCHAR)
### Question:
specific orbital energy of −29.8 mj/kg has what orbit?
### Answer:
SELECT orbit FROM table_name_14 WHERE specific_orbital_energy = "−29.8 mj/kg"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26736040_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
How many titles have U.S. viewers 1.66 million.
### Answer:
SELECT COUNT(title) FROM table_26736040_1 WHERE us_viewers__millions_ = "1.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_name_41 (total INTEGER, games VARCHAR, silver VARCHAR)
### Question:
What is the average medal total of the country who had 0 silver medals and participated in less than 15 games?
### Answer:
SELECT AVG(total) FROM table_name_41 WHERE games < 15 AND silver < 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_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)
### Question:
What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?
### Answer:
SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = "cardinal-priest of ss. xii apostoli"
|
Below is an context that describes a sql 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 (year INTEGER, program_title VARCHAR, score VARCHAR)
### Question:
What was the latest year placement for Taboo with a score smaller than 96.125?
### Answer:
SELECT MAX(year) FROM table_name_50 WHERE program_title = "taboo" AND score < 96.125
|
Below is an context that describes a sql 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 (score VARCHAR, away_team VARCHAR)
### Question:
What was the score fore the away team Dartford?
### Answer:
SELECT score FROM table_name_88 WHERE away_team = "dartford"
|
Below is an context that describes a sql 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 (sales_area__m²_ INTEGER, sales_per_area VARCHAR, no_of_stores VARCHAR)
### Question:
What is the smallest sales area (m²) that has €4,094/m² and more than 2 stores?
### Answer:
SELECT MIN(sales_area__m²_) FROM table_name_20 WHERE sales_per_area = "€4,094/m²" AND no_of_stores > 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_10975034_5 (college VARCHAR, player VARCHAR)
### Question:
What college did Craig Zimmer go to?
### Answer:
SELECT college FROM table_10975034_5 WHERE player = "Craig Zimmer"
|
Below is an context that describes a sql 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 (game_site VARCHAR, attendance VARCHAR)
### Question:
What is the site of the game that had an attendance of 54,040?
### Answer:
SELECT game_site FROM table_name_23 WHERE attendance = "54,040"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (opponent VARCHAR, date VARCHAR)
### Question:
On 10/20/1979*, who was the Opponent?
### Answer:
SELECT opponent FROM table_name_59 WHERE date = "10/20/1979*"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (international_tourist_arrivals__2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR)
### Question:
In 2011, how many tourists visited the country that had 23.4 million tourists in 2012?
### Answer:
SELECT international_tourist_arrivals__2011_ FROM table_name_6 WHERE international_tourist_arrivals__2012_ = "23.4 million"
|
Below is an context that describes a 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 (joined VARCHAR, location VARCHAR)
### Question:
In how many different years did schools located in Logan Township, Pennsylvania join the Conference?
### Answer:
SELECT COUNT(joined) FROM table_1971074_1 WHERE location = "Logan Township, Pennsylvania"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (sspec_number VARCHAR, i_o_bus VARCHAR)
### Question:
What's the sSpec number of the processor having an ultra-low power I/O?
### Answer:
SELECT sspec_number FROM table_name_57 WHERE i_o_bus = "ultra-low power"
|
Below is an context that describes a sql 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 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)
### Question:
What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?
### Answer:
SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "theodoros baev"
|
Below is an context that describes a sql 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 (name VARCHAR, place VARCHAR)
### Question:
Can you tell me the Name that has the Place of 1?
### Answer:
SELECT name FROM table_name_86 WHERE place = 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_55 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the opponents score when Carlton played at home?
### Answer:
SELECT away_team AS score FROM table_name_55 WHERE home_team = "carlton"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR)
### Question:
What opponent has a loss of Trachsel (10-11)?
### Answer:
SELECT opponent FROM table_name_12 WHERE loss = "trachsel (10-11)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR)
### Question:
What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th?
### Answer:
SELECT season FROM table_name_62 WHERE winner = "kanto gakuin university" AND attendance = "n/a" AND title = "37th"
|
Below is an context that describes a sql 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 (city VARCHAR, country VARCHAR)
### Question:
Name the city for thailand
### Answer:
SELECT city FROM table_name_97 WHERE country = "thailand"
|
Below is an context that describes a sql 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 (home_team VARCHAR, crowd INTEGER)
### Question:
When the Crowd is larger than 23,327, what Home team is playing?
### Answer:
SELECT home_team FROM table_name_65 WHERE crowd > 23 OFFSET 327
|
Below is an context that describes a sql 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 (attendance VARCHAR, record VARCHAR)
### Question:
How many people attended when the record was broken with 47–63?
### Answer:
SELECT attendance FROM table_name_38 WHERE record = "47–63"
|
Below is an context that describes a sql 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 (year VARCHAR, category VARCHAR, result VARCHAR)
### Question:
Name the year with the best female pop vocal album and result of won
### Answer:
SELECT year FROM table_name_43 WHERE category = "best female pop vocal album" AND result = "won"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1566852_5 (date VARCHAR)
### Question:
Name the 20 questions for 8-04
### Answer:
SELECT 20 AS _questions FROM table_1566852_5 WHERE date = "8-04"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19517621_3 (title VARCHAR, written_by VARCHAR)
### Question:
What is the title for the episode that written by Michael Miller?
### Answer:
SELECT title FROM table_19517621_3 WHERE written_by = "Michael Miller"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19189856_1 (last_performance VARCHAR, performer VARCHAR)
### Question:
what is the last performance of leon varkas category:articles with hcards
### Answer:
SELECT last_performance FROM table_19189856_1 WHERE performer = "Leon Varkas category:Articles with hCards"
|
Below is an context that describes a sql 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 (rounds VARCHAR, engine VARCHAR, chassis VARCHAR)
### Question:
Name the round for engine of ford cosworth dfv 3.0 v8 with chassis fo 751
### Answer:
SELECT rounds FROM table_name_90 WHERE engine = "ford cosworth dfv 3.0 v8" AND chassis = "751"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (incumbent VARCHAR, district VARCHAR)
### Question:
Who was the incumbent for south carolina 3 district?
### Answer:
SELECT incumbent FROM table_name_64 WHERE district = "south carolina 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_2 (arena VARCHAR, points VARCHAR, date VARCHAR)
### Question:
Which Arena has Points larger than 28, and a Date of december 14?
### Answer:
SELECT arena FROM table_name_2 WHERE points > 28 AND date = "december 14"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)
### Question:
What is the Q1+Q2 time for the driver whose Q1 time was 1:14.819, ?
### Answer:
SELECT q1 + q2_time FROM table_name_51 WHERE q1_time = "1:14.819"
|
Below is an context that describes a sql 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 (drawn INTEGER, lost VARCHAR, games VARCHAR)
### Question:
Name the sum of drawn with lost more than 1 and games less than 5
### Answer:
SELECT SUM(drawn) FROM table_name_13 WHERE lost > 1 AND games < 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_17330069_1 (fin_pos INTEGER, grid VARCHAR)
### Question:
If grid is 2, what is the minimum fin. pos number?
### Answer:
SELECT MIN(fin_pos) FROM table_17330069_1 WHERE grid = 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 (score VARCHAR, team VARCHAR)
### Question:
What is the score of team chicago?
### Answer:
SELECT score FROM table_name_64 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 cars_data (year VARCHAR, weight INTEGER)
### Question:
In which years cars were produced weighing no less than 3000 and no more than 4000 ?
### Answer:
SELECT DISTINCT year FROM cars_data WHERE weight BETWEEN 3000 AND 4000
|
Below is an context that describes a sql 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 (year_s__won VARCHAR, total INTEGER)
### Question:
In which year(s) did the person with a total greater than 286 win?
### Answer:
SELECT year_s__won FROM table_name_36 WHERE total > 286
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
### Question:
What was the result for the contestant who was a small business owner?
### Answer:
SELECT result FROM table_19810459_1 WHERE background = "Small business owner"
|
Below is an context that describes a sql 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 (hometown VARCHAR, school VARCHAR)
### Question:
Where is the Hometown that the person who attended Camarillo High School is from?
### Answer:
SELECT hometown FROM table_name_40 WHERE school = "camarillo high school"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341568_14 (party VARCHAR, incumbent VARCHAR)
### Question:
What party was Lane Evans?
### Answer:
SELECT party FROM table_1341568_14 WHERE incumbent = "Lane Evans"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (score VARCHAR, game VARCHAR)
### Question:
What was the final score of game 26?
### Answer:
SELECT score FROM table_name_64 WHERE game = 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_12 (channel INTEGER, aspect VARCHAR, psip_short_name VARCHAR)
### Question:
Name the highest Channel with an Aspect of 4:3, and a PSIP Short Name of ibc-tv?
### Answer:
SELECT MAX(channel) FROM table_name_12 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2570269_2 (episode__number VARCHAR, episode_title VARCHAR)
### Question:
What is the episode number for episode title Leave Takers?
### Answer:
SELECT episode__number FROM table_2570269_2 WHERE episode_title = "Leave Takers"
|
Below is an context that describes a sql 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 (award VARCHAR, category VARCHAR)
### Question:
Which Award has best performance by a leading actor in a musical
### Answer:
SELECT award FROM table_name_20 WHERE category = "best performance by a leading actor in a musical"
|
Below is an context that describes a sql 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 (name VARCHAR, rank VARCHAR)
### Question:
What is the name of Rank 5?
### Answer:
SELECT name FROM table_name_89 WHERE rank = 5
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (attendance VARCHAR, week VARCHAR)
### Question:
What was the attendance in week 6?
### Answer:
SELECT attendance FROM table_name_13 WHERE week = 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_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR)
### Question:
What is the mintage for a location of Sion and a denomination of 00500 500 Francs?
### Answer:
SELECT mintage FROM table_26336060_19 WHERE location = "Sion" AND denomination = "00500 500 francs"
|
Below is an context that describes a sql 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 (draws INTEGER, losses VARCHAR, season VARCHAR)
### Question:
Which Draws have Losses larger than 16, and a Season larger than 1966?
### Answer:
SELECT SUM(draws) FROM table_name_53 WHERE losses > 16 AND season > 1966
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR)
### Question:
Which Nationality has a Position of defense, and a Player of nikita korovkin?
### Answer:
SELECT nationality FROM table_name_51 WHERE position = "defense" AND player = "nikita korovkin"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12094300_1 (interview VARCHAR, state VARCHAR)
### Question:
What is the score for the interview for the state of New York?
### Answer:
SELECT interview FROM table_12094300_1 WHERE state = "New York"
|
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is the Tournament with a 3r 2011 and A 2010?
### Answer:
SELECT tournament FROM table_name_63 WHERE 2011 = "3r" AND 2010 = "a"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (builder VARCHAR, name VARCHAR)
### Question:
Who was the builder for the USS cambridge?
### Answer:
SELECT builder FROM table_name_98 WHERE name = "uss cambridge"
|
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR)
### Question:
What is the bronze number when the total is 54/
### Answer:
SELECT AVG(bronze) FROM table_name_30 WHERE total = 54
|
Below is an context that describes a sql 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 (catalog VARCHAR, format VARCHAR, date VARCHAR)
### Question:
What catalog has a format of ED remaster CD and a date of December 19, 2001?
### Answer:
SELECT catalog FROM table_name_68 WHERE format = "ed remaster cd" AND date = "december 19, 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_10932739_2 (planet VARCHAR, orbital_period VARCHAR)
### Question:
Which planet has an orbital period of 11.86 years?
### Answer:
SELECT planet FROM table_10932739_2 WHERE orbital_period = "11.86 years"
|
Below is an context that describes a sql 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 VARCHAR, attendance VARCHAR)
### Question:
Who was the home team during the match where there were 2709 in attendance?
### Answer:
SELECT home FROM table_name_49 WHERE attendance = 2709
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (date VARCHAR, result VARCHAR)
### Question:
On what date was the Result l 38-14?
### Answer:
SELECT date FROM table_name_46 WHERE result = "l 38-14"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (year INTEGER, position VARCHAR)
### Question:
What is the total year with a Position of 12th?
### Answer:
SELECT SUM(year) FROM table_name_89 WHERE position = "12th"
|
Below is an context that describes a sql 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 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR)
### Question:
Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap?
### Answer:
SELECT MAX(frequency_mhz) FROM table_name_52 WHERE erp_w > 205 AND call_sign = "k230ap"
|
Below is an context that describes a sql 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 (prr_class VARCHAR, wheel_arrangement VARCHAR)
### Question:
What PRR class has a Wheel arrangement of a1a-a1a?
### Answer:
SELECT prr_class FROM table_name_33 WHERE wheel_arrangement = "a1a-a1a"
|
Below is an context that describes a sql 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 (date VARCHAR, year VARCHAR, location VARCHAR)
### Question:
What was the date for morocco when the year was lerger than 1981?
### Answer:
SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2950964_5 (_number VARCHAR, title VARCHAR)
### Question:
The Empty House audiobook has what #?
### Answer:
SELECT _number FROM table_2950964_5 WHERE title = "The Empty House"
|
Below is an context that describes a sql 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 (post INTEGER, jockey VARCHAR)
### Question:
What is the lowest post number for calvin borel?
### Answer:
SELECT MIN(post) FROM table_name_31 WHERE jockey = "calvin borel"
|
Below is an context that describes a sql 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 (position VARCHAR, round VARCHAR, pick__number VARCHAR)
### Question:
What position has 7 as the round, with a pick # less than 214?
### Answer:
SELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Video_games (gtype VARCHAR)
### Question:
Show all video game types and the number of video games in each type.
### Answer:
SELECT gtype, COUNT(*) FROM Video_games GROUP BY gtype
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (name VARCHAR, roll VARCHAR)
### Question:
With what Name does the Roll of 637 belong?
### Answer:
SELECT name FROM table_name_57 WHERE roll = "637"
|
Below is an context that describes a sql 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 (points INTEGER, draw VARCHAR, rank VARCHAR)
### Question:
What is the lowest points with 6 draws and lower than rank 10?
### Answer:
SELECT MIN(points) FROM table_name_62 WHERE draw = 6 AND rank > 10
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (attendance INTEGER, group_position VARCHAR, result_f_a VARCHAR)
### Question:
Group position of 1st, and a Result F–A of 2–0 has what average attendance?
### Answer:
SELECT AVG(attendance) FROM table_name_69 WHERE group_position = "1st" AND result_f_a = "2–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 Rooms (roomName VARCHAR, RoomId VARCHAR, basePrice VARCHAR, maxOccupancy VARCHAR)
### Question:
Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.
### Answer:
SELECT roomName, RoomId FROM Rooms WHERE basePrice > 160 AND maxOccupancy > 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_29 (location VARCHAR, date VARCHAR)
### Question:
What was the location on October 16?
### Answer:
SELECT location FROM table_name_29 WHERE date = "october 16"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (distance_medellín_downtown___km__ VARCHAR, municipalities VARCHAR)
### Question:
What is the Distance Medellín Downtown (km) when the municipalities Envigado?
### Answer:
SELECT distance_medellín_downtown___km__ FROM table_name_86 WHERE municipalities = "envigado"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.