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_225095_4 (reason_for_change VARCHAR, successor VARCHAR)
### Question:
How many reasons for change were listed when Edward Hempstead was the successor?
### Answer:
SELECT COUNT(reason_for_change) FROM table_225095_4 WHERE successor = "Edward Hempstead" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR)
### Question:
What is the population of the country of McDowell?
### Answer:
SELECT population FROM table_22815568_7 WHERE county = "McDowell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140116_6 (race_name VARCHAR, circuit VARCHAR)
### Question:
How many races take place in Dessau circuit?
### Answer:
SELECT COUNT(race_name) FROM table_1140116_6 WHERE circuit = "Dessau" |
Below is an context that describes a sql 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, team_performance VARCHAR, team_defense_rank VARCHAR, year VARCHAR)
### Question:
What was the position of the player whose team lost super bowl xxv before 1992, with a team defense rank larger than 3?
### Answer:
SELECT position FROM table_name_47 WHERE team_defense_rank > 3 AND year < 1992 AND team_performance = "lost super bowl xxv" |
Below is an context that describes a sql 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 (playoffs_1 VARCHAR, season VARCHAR)
### Question:
What is the playoffs 1 result of season 2004-05?
### Answer:
SELECT playoffs_1 FROM table_name_41 WHERE season = "2004-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_14058433_3 (losing_bonus VARCHAR, points VARCHAR)
### Question:
What is the losing bonus when the points are 24?
### Answer:
SELECT losing_bonus FROM table_14058433_3 WHERE points = "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_16729457_16 (driver___passenger VARCHAR, position VARCHAR)
### Question:
Name the driver/passenger for position 8
### Answer:
SELECT driver___passenger FROM table_16729457_16 WHERE position = 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_13618584_2 (district VARCHAR)
### Question:
How many election results are there from the 19th district?
### Answer:
SELECT COUNT(2007 AS _result) FROM table_13618584_2 WHERE district = "19th" |
Below is an context that describes a sql 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 (week VARCHAR, result VARCHAR)
### Question:
Which week has a result showing L 24-10?
### Answer:
SELECT week FROM table_name_82 WHERE result = "l 24-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_24 (facility_id INTEGER, city_of_license VARCHAR)
### Question:
What is the lowest facility ID that's in Beckley?
### Answer:
SELECT MIN(facility_id) FROM table_name_24 WHERE city_of_license = "beckley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21471897_2 (races VARCHAR, team_name VARCHAR)
### Question:
Name the races for the prada challenge
### Answer:
SELECT races FROM table_21471897_2 WHERE team_name = "Prada Challenge" |
Below is an context that describes a sql 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 (Block INTEGER, assists VARCHAR, total_blocks VARCHAR)
### Question:
When assists is more than 32 and total blocks is more than 88, what is the total of block assists?
### Answer:
SELECT SUM(Block) AS assists FROM table_name_12 WHERE assists > 32 AND total_blocks > 88 |
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR)
### Question:
What is the home team of the game on February 3?
### Answer:
SELECT home FROM table_name_72 WHERE date = "february 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_54 (passengers VARCHAR, airport VARCHAR, rank VARCHAR)
### Question:
What was the number of passengers going to MCO with a rank larger than 9?
### Answer:
SELECT COUNT(passengers) FROM table_name_54 WHERE airport = "mco" 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_15 (current_manager VARCHAR, location VARCHAR)
### Question:
Who is the current manager of the team located in tubize?
### Answer:
SELECT current_manager FROM table_name_15 WHERE location = "tubize" |
Below is an context that describes a sql 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 VARCHAR, name VARCHAR, points VARCHAR)
### Question:
How much Drawn has a Name of erc lechbruck, and Points smaller than 17?
### Answer:
SELECT COUNT(drawn) FROM table_name_13 WHERE name = "erc lechbruck" AND points < 17 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17927935_1 (week INTEGER, opponent VARCHAR)
### Question:
What was the week number when the opponent was the New York Jets?
### Answer:
SELECT MAX(week) FROM table_17927935_1 WHERE opponent = "New York Jets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE FLIGHTS (DestAirport VARCHAR); CREATE TABLE AIRPORTS (City VARCHAR, AirportCode VARCHAR)
### Question:
Which city has most number of arriving flights?
### Answer:
SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City 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_28540609_2 (earnings__ VARCHAR, best_finish VARCHAR)
### Question:
How many earnings values are associated with players who had a best finish of T38?
### Answer:
SELECT COUNT(earnings__) AS €_ FROM table_28540609_2 WHERE best_finish = "T38" |
Below is an context that describes a sql 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 (rider_2 VARCHAR, city VARCHAR, horse_1 VARCHAR)
### Question:
Who was the second rider when papayero raced as Horse 1 in the city of rancagua?
### Answer:
SELECT rider_2 FROM table_name_2 WHERE city = "rancagua" AND horse_1 = "papayero" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1108394_47 (queens VARCHAR)
### Question:
Which candidate won 88 votes in Queens in 1921?
### Answer:
SELECT 1921 FROM table_1108394_47 WHERE queens = "88" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25474825_1 (platform VARCHAR, software VARCHAR)
### Question:
What is the platform of Geworkbench?
### Answer:
SELECT platform FROM table_25474825_1 WHERE software = "GeWorkbench" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR)
### Question:
I want the driver for Laps more than 8 and ferrari with Grid of 8
### Answer:
SELECT driver FROM table_name_45 WHERE laps > 8 AND constructor = "ferrari" AND grid = 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_68 (top_speed VARCHAR)
### Question:
What is the 0–100km/h (62mph) acceleration of the model with a top speed of 208km/h (129mph)?
### Answer:
SELECT 0 AS _100km_h__62mph_ FROM table_name_68 WHERE top_speed = "208km/h (129mph)" |
Below is an context that describes a sql 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 (tuesday_tiw__tyr VARCHAR, sunday_sunna_sól VARCHAR)
### Question:
Which Tuesday Tiw/Tyr has a Sunday Sunna/Sol of sondag?
### Answer:
SELECT tuesday_tiw__tyr FROM table_name_61 WHERE sunday_sunna_sól = "sondag" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR)
### Question:
Name the total number of affiliation for enrollment being 14898
### Answer:
SELECT COUNT(affiliation) FROM table_16383772_1 WHERE enrollment = 14898 |
Below is an context that describes a sql 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 (runner_s__up VARCHAR, date VARCHAR)
### Question:
Who was the runner-up on Jul 14, 1968?
### Answer:
SELECT runner_s__up FROM table_name_64 WHERE date = "jul 14, 1968" |
Below is an context that describes a sql 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 (metas_volantes_classification VARCHAR, stage VARCHAR)
### Question:
Who led the metas volantes classification for stage 4?
### Answer:
SELECT metas_volantes_classification FROM table_name_36 WHERE stage = 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_26137666_3 (pole_position VARCHAR, round VARCHAR)
### Question:
How many pole positions for round 20?
### Answer:
SELECT COUNT(pole_position) FROM table_26137666_3 WHERE round = 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_6 (to_par INTEGER, player VARCHAR)
### Question:
What is the to par for Tom Weiskopf?
### Answer:
SELECT AVG(to_par) FROM table_name_6 WHERE player = "tom weiskopf" |
Below is an context that describes a sql 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 (long INTEGER, name VARCHAR)
### Question:
What is the sum of Long for derrick locke?
### Answer:
SELECT SUM(long) FROM table_name_30 WHERE name = "derrick locke" |
Below is an context that describes a sql 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 (preston_north_end VARCHAR, blackpool INTEGER)
### Question:
How much Preston North End has a Blackpool smaller than 0?
### Answer:
SELECT COUNT(preston_north_end) FROM table_name_90 WHERE blackpool < 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_82 (total INTEGER, nation VARCHAR, bronze VARCHAR)
### Question:
What is the high total for algeria with over 2 bronzes?
### Answer:
SELECT MAX(total) FROM table_name_82 WHERE nation = "algeria" AND bronze > 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_27184837_1 (australasia VARCHAR, americas VARCHAR)
### Question:
How many times did Australasia received a program if the Americas received 115 program?
### Answer:
SELECT COUNT(australasia) FROM table_27184837_1 WHERE americas = 115 |
Below is an context that describes a sql 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 (top_10 VARCHAR, tournament VARCHAR, events VARCHAR)
### Question:
What is the total for a top-10 in a masters tournament in an event smaller than 4?
### Answer:
SELECT COUNT(top_10) FROM table_name_52 WHERE tournament = "masters tournament" AND events < 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_35 (champion VARCHAR, venue VARCHAR)
### Question:
Which Champion has a Venue of old waverly golf club?
### Answer:
SELECT champion FROM table_name_35 WHERE venue = "old waverly golf club" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, gdp__nominal___billions_usd_ VARCHAR)
### Question:
What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4?
### Answer:
SELECT population__millions, _2011_ FROM table_2155836_1 WHERE gdp__nominal___billions_usd_ = "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_3 (incumbent VARCHAR, district VARCHAR)
### Question:
Who is the Incumbent that has a District of ohio 13 in Democratic Party?
### Answer:
SELECT incumbent FROM table_name_3 WHERE district = "ohio 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_78 (tie_no VARCHAR, home_team VARCHAR)
### Question:
What is the Tie no for Scunthorpe United?
### Answer:
SELECT tie_no FROM table_name_78 WHERE home_team = "scunthorpe united" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18600760_20 (land___sqmi__ VARCHAR, latitude VARCHAR)
### Question:
What is the land area (sqmi) for the township at longtidue 47.548602?
### Answer:
SELECT land___sqmi__ FROM table_18600760_20 WHERE latitude = "47.548602" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_4 (player VARCHAR, college VARCHAR)
### Question:
Which player went to the college Southern California?
### Answer:
SELECT player FROM table_11677691_4 WHERE college = "Southern California" |
Below is an context that describes a sql 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 (serials_issued VARCHAR, issued VARCHAR)
### Question:
What is the issued serial given in 1966?
### Answer:
SELECT serials_issued FROM table_name_71 WHERE issued = 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_32 (player VARCHAR, rank INTEGER)
### Question:
Who's ranked less than 2?
### Answer:
SELECT player FROM table_name_32 WHERE rank < 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (team VARCHAR, home_city VARCHAR)
### Question:
What team is from terni?
### Answer:
SELECT team FROM table_name_59 WHERE home_city = "terni" |
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR)
### Question:
What was the date of the game when St. Louis was the home team?
### Answer:
SELECT date FROM table_name_55 WHERE home = "st. louis" |
Below is an context that describes a sql 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 (year VARCHAR, venue VARCHAR)
### Question:
How many years had a Venue of eindhoven?
### Answer:
SELECT COUNT(year) FROM table_name_88 WHERE venue = "eindhoven" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (catalog VARCHAR, format VARCHAR, date VARCHAR)
### Question:
From what catalog was the release that happened on April 12, 1968, and in LP format?
### Answer:
SELECT catalog FROM table_name_28 WHERE format = "lp" AND date = "april 12, 1968" |
Below is an context that describes a sql 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 (product_name VARCHAR, company_name VARCHAR)
### Question:
What is the Product Name, when the Company Name is HTC Corporation?
### Answer:
SELECT product_name FROM table_name_63 WHERE company_name = "htc 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_1013129_8 (nationality VARCHAR, pick VARCHAR)
### Question:
How many nationalities are the pick 193?
### Answer:
SELECT COUNT(nationality) FROM table_1013129_8 WHERE pick = 193 |
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, score VARCHAR)
### Question:
Which Opponents in the final have a Score of 4–6, 6–4, 2–6, 4–6?
### Answer:
SELECT opponents_in_the_final FROM table_name_18 WHERE score = "4–6, 6–4, 2–6, 4–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_9 (score VARCHAR, comp VARCHAR)
### Question:
What is the Score of the Shooter with a Comp of OG?
### Answer:
SELECT score FROM table_name_9 WHERE comp = "og" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1876262_10 (safari VARCHAR, internet_explorer VARCHAR)
### Question:
If Internet Explorer is 47.22%, what is the Safari total?
### Answer:
SELECT safari FROM table_1876262_10 WHERE internet_explorer = "47.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_26611679_3 (average VARCHAR, category VARCHAR)
### Question:
Name the average for assists per game
### Answer:
SELECT average FROM table_26611679_3 WHERE category = "Assists per game" |
Below is an context that describes a sql 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 (tournament VARCHAR, date VARCHAR)
### Question:
What is the tournament on 5 October 2004?
### Answer:
SELECT tournament FROM table_name_50 WHERE date = "5 october 2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Paragraphs (document_id VARCHAR, paragraph_text VARCHAR)
### Question:
Show the document id with paragraph text 'Brazil' and 'Ireland'.
### Answer:
SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Brazil' INTERSECT SELECT document_id FROM Paragraphs WHERE paragraph_text = 'Ireland' |
Below is an context that describes a sql 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 (notes VARCHAR, authors VARCHAR)
### Question:
What are the notes where the authors are Zhou & Zhang?
### Answer:
SELECT notes FROM table_name_11 WHERE authors = "zhou & zhang" |
Below is an context that describes a sql 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 (score VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What is Score, when Place is "T9", and when Player is "Jeff Sluman"?
### Answer:
SELECT score FROM table_name_39 WHERE place = "t9" AND player = "jeff sluman" |
Below is an context that describes a sql 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 (game INTEGER, attendance INTEGER)
### Question:
Attendance larger than 55,189 is which average game?
### Answer:
SELECT AVG(game) FROM table_name_25 WHERE attendance > 55 OFFSET 189 |
Below is an context that describes a sql 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 (position VARCHAR, round VARCHAR, college VARCHAR)
### Question:
What was the position of the player from the college of Nevada with a round over 5?
### Answer:
SELECT position FROM table_name_23 WHERE round > 5 AND college = "nevada" |
Below is an context that describes a sql 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 (opponents VARCHAR, venue VARCHAR, competition VARCHAR)
### Question:
What was the opponent at the League Play Offs at home?
### Answer:
SELECT opponents FROM table_name_8 WHERE venue = "home" AND competition = "league play offs" |
Below is an context that describes a sql 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 (analog_channel VARCHAR, digital_channel VARCHAR)
### Question:
Which analog channel has a digital channel of 4.1?
### Answer:
SELECT analog_channel FROM table_name_31 WHERE digital_channel = "4.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_34 (laps INTEGER, qual VARCHAR)
### Question:
What is the lowest laps with a 142.744 qual?
### Answer:
SELECT MIN(laps) FROM table_name_34 WHERE qual = "142.744" |
Below is an context that describes a sql 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 (games_played INTEGER, goals_scored VARCHAR)
### Question:
How many games had 2 goals scored?
### Answer:
SELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = "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_2668401_17 (district VARCHAR, incumbent VARCHAR)
### Question:
In what district was the incumbent Edwin Gray?
### Answer:
SELECT district FROM table_2668401_17 WHERE incumbent = "Edwin 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_14598_5 (composition VARCHAR, christians VARCHAR)
### Question:
How many data points for chrstians are 39.7?
### Answer:
SELECT COUNT(composition) FROM table_14598_5 WHERE christians = "39.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_name_73 (games VARCHAR, points VARCHAR, losses VARCHAR)
### Question:
What's the total number of games that had more than 34 points and exactly 3 losses?
### Answer:
SELECT COUNT(games) FROM table_name_73 WHERE points = 34 AND losses = 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_12113888_1 (number INTEGER)
### Question:
What is the highest number listed?
### Answer:
SELECT MAX(number) FROM table_12113888_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_13 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game with a record of 33–25–9?
### Answer:
SELECT score FROM table_name_13 WHERE record = "33–25–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_7 (start_source VARCHAR, country VARCHAR, ended VARCHAR)
### Question:
What is the start source of the irl country, which ended on 13 April?
### Answer:
SELECT start_source FROM table_name_7 WHERE country = "irl" AND ended = "13 april" |
Below is an context that describes a sql 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 (release_price___usd__ VARCHAR, socket VARCHAR)
### Question:
Socket of without quickassist has what release price?
### Answer:
SELECT release_price___usd__ FROM table_name_63 WHERE socket = "without quickassist" |
Below is an context that describes a sql 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 (series VARCHAR, team VARCHAR)
### Question:
what is the series when the team is gunbroker racing?
### Answer:
SELECT series FROM table_name_95 WHERE team = "gunbroker racing" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16617025_1 (season__number VARCHAR, directed_by VARCHAR)
### Question:
In what seasons did Kate Woods direct Without A Trace?
### Answer:
SELECT season__number FROM table_16617025_1 WHERE directed_by = "Kate Woods" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22815568_3 (status VARCHAR, county VARCHAR)
### Question:
How many statuses are listed for Wayne county?
### Answer:
SELECT COUNT(status) FROM table_22815568_3 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_name_17 (record VARCHAR, date VARCHAR)
### Question:
What is the record for March 10?
### Answer:
SELECT record FROM table_name_17 WHERE date = "march 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_1939235_1 (league VARCHAR, regular_season VARCHAR)
### Question:
When 4th, great lakes is the regular season what is the league?
### Answer:
SELECT league FROM table_1939235_1 WHERE regular_season = "4th, Great Lakes" |
Below is an context that describes a sql 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 (winning_score VARCHAR, margin_of_victory VARCHAR)
### Question:
For the tournament ending with a margin of victory of 6 strokes, what was the winning score?
### Answer:
SELECT winning_score FROM table_name_90 WHERE margin_of_victory = "6 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1745843_2 (verb_meaning VARCHAR, part_3 VARCHAR)
### Question:
What is the verb meaning for *bundun?
### Answer:
SELECT verb_meaning FROM table_1745843_2 WHERE part_3 = "*bundun" |
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR, country VARCHAR, money___$__ VARCHAR)
### Question:
Which Place has a Country of united states, and a Money ($) larger than 0, and a Player of craig wood?
### Answer:
SELECT place FROM table_name_39 WHERE country = "united states" AND money___$__ > 0 AND player = "craig wood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13328239_4 (opponent VARCHAR, round VARCHAR)
### Question:
Who was the opponent in round 2?
### Answer:
SELECT opponent FROM table_13328239_4 WHERE round = "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_26259391_1 (production_code VARCHAR, original_air_date VARCHAR)
### Question:
Which production code had original air dated february20,2011
### Answer:
SELECT production_code FROM table_26259391_1 WHERE original_air_date = "February20,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_41 (first_leg VARCHAR, round VARCHAR)
### Question:
What was the first leg score in the 2nd round?
### Answer:
SELECT first_leg FROM table_name_41 WHERE round = "2nd" |
Below is an context that describes a sql 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 (date VARCHAR, ground VARCHAR)
### Question:
What date was the Colonial Stadium?
### Answer:
SELECT date FROM table_name_62 WHERE ground = "colonial 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_80 (finish VARCHAR, total VARCHAR)
### Question:
What was the finish of the player who had a total of 282?
### Answer:
SELECT finish FROM table_name_80 WHERE total = 282 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18600760_3 (county VARCHAR, longitude VARCHAR)
### Question:
What was the county with a longitude of -102.302775?
### Answer:
SELECT county FROM table_18600760_3 WHERE longitude = "-102.302775" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
When was Fitzroy the home team?
### Answer:
SELECT date FROM table_name_94 WHERE home_team = "fitzroy" |
Below is an context that describes a sql 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 (cup_goals INTEGER, league_goals VARCHAR, league_apps VARCHAR, cup_apps VARCHAR)
### Question:
How many cup goals in the season with more than 5 league apps, 1 cup apps and fewer than 4 league goals?
### Answer:
SELECT SUM(cup_goals) FROM table_name_78 WHERE league_apps > 5 AND cup_apps = 1 AND league_goals < 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_24906653_5 (field_goals VARCHAR, points VARCHAR)
### Question:
List the number of long range shors where the score is 171.
### Answer:
SELECT COUNT(field_goals) FROM table_24906653_5 WHERE points = 171 |
Below is an context that describes a sql 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 (year INTEGER, total_score VARCHAR)
### Question:
What's the year with a score of 305?
### Answer:
SELECT MIN(year) FROM table_name_60 WHERE total_score = "305" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE camera_lens (brand VARCHAR)
### Question:
How many different kinds of lens brands are there?
### Answer:
SELECT COUNT(DISTINCT brand) FROM camera_lens |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (location VARCHAR, opponent VARCHAR, time VARCHAR)
### Question:
Where did the Lightning play the NY Rangers at 7:00 pm?
### Answer:
SELECT location FROM table_name_96 WHERE opponent = "ny rangers" AND time = "7:00 pm" |
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR, week VARCHAR)
### Question:
What is the total number of fans attending the game on October 8, 1989 before week 5?
### Answer:
SELECT COUNT(attendance) FROM table_name_4 WHERE date = "october 8, 1989" AND week < 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_15187735_10 (episode VARCHAR, segment_a VARCHAR)
### Question:
Name the total number of episodes for s fire extinguisher
### Answer:
SELECT COUNT(episode) FROM table_15187735_10 WHERE segment_a = "s Fire Extinguisher" |
Below is an context that describes a sql 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 (date VARCHAR, week VARCHAR, result VARCHAR)
### Question:
When was the game before week 15 with the result of bye?
### Answer:
SELECT date FROM table_name_26 WHERE week < 15 AND result = "bye" |
Below is an context that describes a sql 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 (date_of_birth VARCHAR, club VARCHAR)
### Question:
What is the birth date of a member of the Club of bvsc vízilabda?
### Answer:
SELECT date_of_birth FROM table_name_39 WHERE club = "bvsc vízilabda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27756314_11 (game VARCHAR, high_assists VARCHAR)
### Question:
In how many different games did Luke Ridnour (5) did the most high assists?
### Answer:
SELECT COUNT(game) FROM table_27756314_11 WHERE high_assists = "Luke Ridnour (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_87 (date VARCHAR, winning_score VARCHAR)
### Question:
Which date was the Winning Score 72-66-67-71=276?
### Answer:
SELECT date FROM table_name_87 WHERE winning_score = 72 - 66 - 67 - 71 = 276 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (opponents VARCHAR, venue VARCHAR)
### Question:
Who was the opponent at Ullevi?
### Answer:
SELECT opponents FROM table_name_22 WHERE venue = "ullevi" |
Below is an context that describes a sql 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 (week_14_nov_24 VARCHAR, week_11_nov_3 VARCHAR)
### Question:
What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)?
### Answer:
SELECT week_14_nov_24 FROM table_name_44 WHERE week_11_nov_3 = "usc (6-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_2970978_1 (___ave_on_prev_season VARCHAR, competition VARCHAR)
### Question:
What is every value for average on previous season if the competition is league two?
### Answer:
SELECT ___ave_on_prev_season FROM table_2970978_1 WHERE competition = "League Two" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27712180_13 (date VARCHAR, game VARCHAR)
### Question:
What was the date of game #3?
### Answer:
SELECT date FROM table_27712180_13 WHERE game = 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.