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_81 (l_100km_combined INTEGER, mpg_uk_extra_urban VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR)
### Question:
What's the average L/km combines when the L/100km Urban is 13.9, the mpg-UK combined is more than 28.5 and the mpg-UK extra urban is less than 38.7?
### Answer:
SELECT AVG(l_100km_combined) FROM table_name_81 WHERE l_100km_urban__cold_ = 13.9 AND mpg_uk_combined > 28.5 AND mpg_uk_extra_urban < 38.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_11 (shirt_no INTEGER, height VARCHAR, position VARCHAR, nationality VARCHAR)
### Question:
What is the shirt no with a position of setter, a nationality of Italy, and height larger than 172?
### Answer:
SELECT SUM(shirt_no) FROM table_name_11 WHERE position = "setter" AND nationality = "italy" AND height > 172 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
What was the year when My Mother's Teahouse was not nominated?
### Answer:
SELECT year__ceremony_ FROM table_17350255_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "My Mother's Teahouse" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE candidate (Candidate_ID VARCHAR, oppose_rate VARCHAR)
### Question:
Find the id of the candidate who got the lowest oppose rate.
### Answer:
SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (partner VARCHAR, edition VARCHAR)
### Question:
Who was partner for the 1988 world group i edition?
### Answer:
SELECT partner FROM table_name_23 WHERE edition = "1988 world group i" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25518547_4 (affiliation VARCHAR, player VARCHAR)
### Question:
What university is kwaku nyamekye affiliated with?
### Answer:
SELECT affiliation FROM table_25518547_4 WHERE player = "Kwaku Nyamekye" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25005714_3 (code_name VARCHAR, model VARCHAR)
### Question:
What is every code name for the model Radeon HD 6650m?
### Answer:
SELECT code_name FROM table_25005714_3 WHERE model = "Radeon HD 6650M" |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
Where did Collingwood play ae the away team?
### Answer:
SELECT venue FROM table_name_57 WHERE away_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (position INTEGER, goals_against VARCHAR, played VARCHAR)
### Question:
Which Position has 47 Goals Against, and a Played larger than 34?
### Answer:
SELECT MAX(position) FROM table_name_2 WHERE goals_against = 47 AND played > 34 |
Below is an context that describes a sql 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 (best_dancer VARCHAR, dance VARCHAR, worst_dancer VARCHAR, best_score VARCHAR)
### Question:
Who is the Best dancer with the Worst dancer of Jerry Springer, a Best score of 29, and the Dance was the Quickstep?
### Answer:
SELECT best_dancer FROM table_name_47 WHERE worst_dancer = "jerry springer" AND best_score = 29 AND dance = "quickstep" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341690_21 (party VARCHAR, candidates VARCHAR)
### Question:
what is the party where the candidates are edward boland (d) unopposed?
### Answer:
SELECT party FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17265535_7 (equation VARCHAR)
### Question:
If the equation is 1 × 9² + 4 × 9 + 0, what is the 2nd throw?
### Answer:
SELECT 2 AS nd_throw FROM table_17265535_7 WHERE equation = "1 × 9² + 4 × 9 + 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_47 (trailers VARCHAR, formed_from VARCHAR)
### Question:
Name the trailers for formed from pan/pul/res cars
### Answer:
SELECT trailers FROM table_name_47 WHERE formed_from = "pan/pul/res cars" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27435931_1 (continent VARCHAR, country VARCHAR)
### Question:
what is the continent in which the country russia is listed?
### Answer:
SELECT continent FROM table_27435931_1 WHERE country = "Russia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23285849_5 (location_attendance VARCHAR, record VARCHAR)
### Question:
What location and how many people were in attendance where the record was 9-4 for the season?
### Answer:
SELECT location_attendance FROM table_23285849_5 WHERE record = "9-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_99 (tries_for VARCHAR, club VARCHAR)
### Question:
How many tries for Nelson RFC?
### Answer:
SELECT tries_for FROM table_name_99 WHERE club = "nelson rfc" |
Below is an context that describes a sql 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 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR)
### Question:
With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total?
### Answer:
SELECT AVG(total) FROM table_name_23 WHERE rank > 4 AND silver > 0 AND bronze < 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_24224647_2 (main_presenter VARCHAR, region_country VARCHAR)
### Question:
Who is every main presenter for the Estonia region/country?
### Answer:
SELECT main_presenter FROM table_24224647_2 WHERE region_country = "Estonia" |
Below is an context that describes 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 (AirportCode VARCHAR, City VARCHAR)
### Question:
How many flights arriving in Aberdeen city?
### Answer:
SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = "Aberdeen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR)
### Question:
Who is the candidate for the district Arkansas 2?
### Answer:
SELECT candidates FROM table_1342218_5 WHERE district = "Arkansas 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_58 (venue VARCHAR, year VARCHAR, home_team VARCHAR)
### Question:
What is the Venue of the 2009 St. Louis Rams Home game?
### Answer:
SELECT venue FROM table_name_58 WHERE year = 2009 AND home_team = "st. louis rams" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23950611_2 (assets__bil_usd__ VARCHAR, rank__all__2013 VARCHAR)
### Question:
How many assets in billions US$, for the company that ranked 1532 overall in 2013?
### Answer:
SELECT assets__bil_usd__ FROM table_23950611_2 WHERE rank__all__2013 = 1532 |
Below is an context that describes 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 (order_item_id VARCHAR, product_id VARCHAR)
### Question:
Find the ids of all the order items whose product id is 11.
### Answer:
SELECT order_item_id FROM order_items WHERE product_id = 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_22297198_3 (team VARCHAR, date_of_vacancy VARCHAR)
### Question:
What team did a manager leave on 12 Dec 2009
### Answer:
SELECT team FROM table_22297198_3 WHERE date_of_vacancy = "12 Dec 2009" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28719193_19 (date VARCHAR, matchups_results VARCHAR)
### Question:
What was the date of the game that had a result of Army 16, SMU 14?
### Answer:
SELECT date FROM table_28719193_19 WHERE matchups_results = "Army 16, SMU 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_49 (opponent VARCHAR, week VARCHAR)
### Question:
Which opponent has a week of 11?
### Answer:
SELECT opponent FROM table_name_49 WHERE week = 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_70 (player VARCHAR, place VARCHAR)
### Question:
What is Player, when Place is "1"?
### Answer:
SELECT player FROM table_name_70 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_10942714_1 (hk_viewers VARCHAR, premiere VARCHAR)
### Question:
How many viewers were there for the premier with 34
### Answer:
SELECT hk_viewers FROM table_10942714_1 WHERE premiere = 34 |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Which tournament had the result with 2009 was F and 2010 was F?
### Answer:
SELECT tournament FROM table_name_61 WHERE 2009 = "f" AND 2010 = "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_15873014_3 (high_assists VARCHAR, team VARCHAR)
### Question:
How many players had the most assists against New Jersey?
### Answer:
SELECT COUNT(high_assists) FROM table_15873014_3 WHERE team = "New Jersey" |
Below is an context that describes a sql 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 (away_team VARCHAR, score VARCHAR)
### Question:
Who was the away team for the game with a score of 139-119?
### Answer:
SELECT away_team FROM table_name_75 WHERE score = "139-119" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23886181_1 (seasons VARCHAR, no VARCHAR)
### Question:
what are the seasons for no 3?
### Answer:
SELECT seasons FROM table_23886181_1 WHERE no = "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_65 (laps INTEGER, grid VARCHAR, driver VARCHAR)
### Question:
What is the low lap total for the under 4 grid car driven by juan pablo montoya?
### Answer:
SELECT MIN(laps) FROM table_name_65 WHERE grid < 4 AND driver = "juan pablo montoya" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)
### Question:
what is the country when the bie recognised is no and years(s) is 2014?
### Answer:
SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26007767_1 (localities INTEGER)
### Question:
What is the highest localities?
### Answer:
SELECT MAX(localities) FROM table_26007767_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_15887683_1 (content VARCHAR, television_service VARCHAR)
### Question:
What is the content of the rai 1 television service?
### Answer:
SELECT content FROM table_15887683_1 WHERE television_service = "Rai 1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, game VARCHAR)
### Question:
Where date is october 7 and game greater than 1, what is the highest attendance?
### Answer:
SELECT MAX(attendance) FROM table_name_43 WHERE date = "october 7" AND game > 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_25479607_3 (max_demand_charge___rs__kva_ VARCHAR, tariff___rs__kwh_ VARCHAR)
### Question:
What was the max demand charge for the user with a tariff of 8.85?
### Answer:
SELECT max_demand_charge___rs__kva_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "8.85" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (insurgents VARCHAR, civilians VARCHAR)
### Question:
Name the insurgents for civilians being 49
### Answer:
SELECT insurgents FROM table_name_75 WHERE civilians = "49" |
Below is an context that describes a sql 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 (losses VARCHAR, name VARCHAR)
### Question:
How many losses does Alex Wilkinson have?
### Answer:
SELECT COUNT(losses) FROM table_name_98 WHERE name = "alex wilkinson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28730459_3 (league_goals VARCHAR, league_matches VARCHAR, tebe_career VARCHAR)
### Question:
What is the number of league goals for players with 10 league matches and a TeBe career of 2003?
### Answer:
SELECT league_goals FROM table_28730459_3 WHERE league_matches = 10 AND tebe_career = "2003" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (player VARCHAR, place VARCHAR, score VARCHAR)
### Question:
Who is the player with a t5 place and a 75-70=145 score?
### Answer:
SELECT player FROM table_name_47 WHERE place = "t5" AND score = 75 - 70 = 145 |
Below is an context that describes a 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_8 (year_named INTEGER, latitude VARCHAR)
### Question:
In what year was the feature at a 33.3S latitude named?
### Answer:
SELECT MAX(year_named) FROM table_16799784_8 WHERE latitude = "33.3S" |
Below is an context that describes a sql 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, opponent_in_the_final VARCHAR)
### Question:
Which surface has wynne prakusya as the opponent in the final?
### Answer:
SELECT surface FROM table_name_51 WHERE opponent_in_the_final = "wynne prakusya" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_228973_11 (no_in_season VARCHAR, original_air_date VARCHAR)
### Question:
The episode which originally aired on February 11, 2005 had which episode # of the season?
### Answer:
SELECT no_in_season FROM table_228973_11 WHERE original_air_date = "February 11, 2005" |
Below is an context that describes a sql 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 (entrant VARCHAR, chassis VARCHAR, driver VARCHAR)
### Question:
Which Entrant had the Bugatti T35B Chassis and the Driver, Heinrich-Joachim Von Morgen?
### Answer:
SELECT entrant FROM table_name_66 WHERE chassis = "bugatti t35b" AND driver = "heinrich-joachim von morgen" |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
Who does pádraig harrington play for?
### Answer:
SELECT country FROM table_name_72 WHERE player = "pádraig harrington" |
Below is an context that describes a sql 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 (stadium VARCHAR, city VARCHAR)
### Question:
What stadium is in penrith?
### Answer:
SELECT stadium FROM table_name_11 WHERE city = "penrith" |
Below is an context that describes a sql 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 (team VARCHAR, game VARCHAR)
### Question:
Name the team for 48 game
### Answer:
SELECT team FROM table_name_16 WHERE game = 48 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (engine VARCHAR, points VARCHAR, entrant VARCHAR)
### Question:
Which engine did Élie Bayol use when they earned 0 points?
### Answer:
SELECT engine FROM table_name_74 WHERE points = 0 AND entrant = "élie bayol" |
Below is an context that describes a sql 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 (year INTEGER, position VARCHAR, performance VARCHAR, competition VARCHAR)
### Question:
What was the earliest year in which long jump was performed in the world indoor Championships in 5th position?
### Answer:
SELECT MIN(year) FROM table_name_69 WHERE performance = "long jump" AND competition = "world indoor championships" AND position = "5th" |
Below is an context that describes a sql 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 (year INTEGER, power VARCHAR, trim VARCHAR)
### Question:
What's the Year Average that has a Power of BHP (KW) and Trim of LS/2LT?
### Answer:
SELECT AVG(year) FROM table_name_25 WHERE power = "bhp (kw)" AND trim = "ls/2lt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE department (dept_name VARCHAR, building VARCHAR, budget VARCHAR)
### Question:
List the names and buildings of all departments sorted by the budget from large to small.
### Answer:
SELECT dept_name, building FROM department ORDER BY budget DESC |
Below is an context that describes a sql 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 (attendance VARCHAR, score VARCHAR)
### Question:
What was the attendance for the game where the score was 0-6?
### Answer:
SELECT attendance FROM table_name_8 WHERE score = "0-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_84 (year VARCHAR, date VARCHAR)
### Question:
what is the year when the date is not played?
### Answer:
SELECT year FROM table_name_84 WHERE date = "not played" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE gymnast (Horizontal_Bar_Points INTEGER)
### Question:
What is the average horizontal bar points for all gymnasts?
### Answer:
SELECT AVG(Horizontal_Bar_Points) FROM gymnast |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Which 1992 has a 1996 of sf and a 1993 of a?
### Answer:
SELECT 1992 FROM table_name_59 WHERE 1996 = "sf" AND 1993 = "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_1341672_10 (candidates VARCHAR, district VARCHAR)
### Question:
who are the candidates where the district is florida 8?
### Answer:
SELECT candidates FROM table_1341672_10 WHERE district = "Florida 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_59 (date VARCHAR, opponent VARCHAR)
### Question:
When did alfonse d'amore compete?
### Answer:
SELECT date FROM table_name_59 WHERE opponent = "alfonse d'amore" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14346950_1 (season__number VARCHAR, teleplay_by VARCHAR, directed_by VARCHAR)
### Question:
What is the season # for a teleplay by Richard Price and the director is Steve Shill?
### Answer:
SELECT season__number FROM table_14346950_1 WHERE teleplay_by = "Richard Price" AND directed_by = "Steve Shill" |
Below is an context that describes a sql 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 (production_number VARCHAR, series VARCHAR, release_date VARCHAR)
### Question:
What is the Production Number of the Filmography in MM Series with a Release date of 1964-06-27?
### Answer:
SELECT production_number FROM table_name_96 WHERE series = "mm" AND release_date = "1964-06-27" |
Below is an context that describes a sql 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 (tournament VARCHAR, winning_score VARCHAR)
### Question:
What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)?
### Answer:
SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17355408_5 (high_assists VARCHAR, game VARCHAR)
### Question:
Name the high assists for 29 game
### Answer:
SELECT high_assists FROM table_17355408_5 WHERE game = 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, continent VARCHAR)
### Question:
what is the elevation of south america?
### Answer:
SELECT elevation_ft FROM table_27435931_1 WHERE continent = "South America" |
Below is an context that describes a sql 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 (rank VARCHAR, nation VARCHAR)
### Question:
Which rank is Austria?
### Answer:
SELECT rank FROM table_name_42 WHERE nation = "austria" |
Below is an context that describes a sql 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 (rider VARCHAR, time VARCHAR)
### Question:
Who is the rider who had the time of 1:27.37.22?
### Answer:
SELECT rider FROM table_name_52 WHERE time = "1:27.37.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_1342379_23 (incumbent VARCHAR, district VARCHAR)
### Question:
who is the incumbent for district mississippi 4
### Answer:
SELECT incumbent FROM table_1342379_23 WHERE district = "Mississippi 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_48 (director_s_ VARCHAR, date VARCHAR, recipient VARCHAR)
### Question:
Who was the director of the film that Sister Films received an award for on 2/3/05?
### Answer:
SELECT director_s_ FROM table_name_48 WHERE date = "2/3/05" AND recipient = "sister films" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24172157_3 (date_of_vacancy VARCHAR, table VARCHAR, team VARCHAR)
### Question:
What is the date of vacancy for the Liverpool team with a table named pre-season?
### Answer:
SELECT date_of_vacancy FROM table_24172157_3 WHERE table = "Pre-season" AND team = "Liverpool" |
Below is an context that describes a sql 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 (runner_up VARCHAR, year VARCHAR)
### Question:
who was the runner-up in the 1915 competition for 'Articles with HCards'?
### Answer:
SELECT runner_up FROM table_name_25 WHERE year = 1915 |
Below is an context that describes a sql 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 (place VARCHAR, season VARCHAR, location VARCHAR)
### Question:
What place result was the 1996 season at Lake Louise, Canada?
### Answer:
SELECT place FROM table_name_73 WHERE season = 1996 AND location = "lake louise, 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_14330096_4 (total_number INTEGER)
### Question:
What is the highest total number?
### Answer:
SELECT MAX(total_number) FROM table_14330096_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_76 (nation VARCHAR, model VARCHAR)
### Question:
What is Nation, when Model is M1895 & M1897 Carbine?
### Answer:
SELECT nation FROM table_name_76 WHERE model = "m1895 & m1897 carbine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22825679_1 (overall_record VARCHAR, road_record VARCHAR)
### Question:
Name the overall record for road record being 4-3
### Answer:
SELECT overall_record FROM table_22825679_1 WHERE road_record = "4-3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (block_a VARCHAR, toshizo VARCHAR)
### Question:
Name the block A for shuji kondo
### Answer:
SELECT block_a FROM table_name_93 WHERE toshizo = "shuji kondo" |
Below is an context that describes a sql 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 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR)
### Question:
What was the age of the member of the United States House of Representatives that began their term on May 7, 1886?
### Answer:
SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = "may 7, 1886" |
Below is an context that describes a 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_12 (incumbent VARCHAR, candidates VARCHAR)
### Question:
Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%.
### Answer:
SELECT incumbent FROM table_2668401_12 WHERE candidates = "Joseph Hiester (DR) 83.2% Roswell Wells (F) 16.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 races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR)
### Question:
Find the id and forenames of drivers who participated both the races with name Australian Grand Prix and the races with name Chinese Grand Prix?
### Answer:
SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Australian Grand Prix" INTERSECT SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Chinese 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_73 (manufacturer VARCHAR, year_made VARCHAR)
### Question:
What manufacturer has a year made of 1923?
### Answer:
SELECT manufacturer FROM table_name_73 WHERE year_made = "1923" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR)
### Question:
The original artist Joan Osborne has what result?
### Answer:
SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16279520_1 (series VARCHAR, release VARCHAR)
### Question:
Under what series was the 3.5 release?
### Answer:
SELECT series FROM table_16279520_1 WHERE release = "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_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)
### Question:
how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?
### Answer:
SELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = "1" AND name = "bob mountain" AND fa_cup_goals < 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_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR)
### Question:
How many times is the tournament the masters tournament and the top-10 is less than 2?
### Answer:
SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 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 ALBUM (Title VARCHAR)
### Question:
Please list all album titles in alphabetical order.
### Answer:
SELECT Title FROM ALBUM ORDER BY Title |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25774493_3 (blocks_per_game VARCHAR, field_goal_percentage VARCHAR)
### Question:
What were the blocks per game in the selection where the field goal percentage was .594 (2nd)?
### Answer:
SELECT blocks_per_game FROM table_25774493_3 WHERE field_goal_percentage = ".594 (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_21 (grid VARCHAR, driver VARCHAR)
### Question:
In what grid did jim clark drive in?
### Answer:
SELECT grid FROM table_name_21 WHERE driver = "jim clark" |
Below is an context that describes a sql 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 (position VARCHAR, college VARCHAR)
### Question:
What position did the Saskatchewan player get drafted as?
### Answer:
SELECT position FROM table_name_51 WHERE college = "saskatchewan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
### Question:
Find the number of vocal types used in song "Demon Kitty Rag"?
### Answer:
SELECT COUNT(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Demon Kitty Rag" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10715317_2 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
### Question:
What is the title of the episode directed by Peter Markle and written by Jerry Stahl?
### Answer:
SELECT title FROM table_10715317_2 WHERE directed_by = "Peter Markle" AND written_by = "Jerry Stahl" |
Below is an context that describes a sql 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 (director VARCHAR, language VARCHAR)
### Question:
Who directed the Romanian film?
### Answer:
SELECT director FROM table_name_60 WHERE language = "romanian" |
Below is an context that describes a sql 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 (game_site VARCHAR, attendance VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
### Question:
Which game site Kickoff [a] of 1:00, and an Attendance of 63,251?
### Answer:
SELECT game_site FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND attendance = "63,251" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341453_32 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who were the candidates in the district whose incumbent is Bill Pascrell?
### Answer:
SELECT candidates FROM table_1341453_32 WHERE incumbent = "Bill Pascrell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24051050_1 (events VARCHAR, episode VARCHAR)
### Question:
What events took place in episode 12?
### Answer:
SELECT events FROM table_24051050_1 WHERE episode = 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (pick__number VARCHAR, position VARCHAR)
### Question:
What is the pick number of the DB?
### Answer:
SELECT COUNT(pick__number) FROM table_name_46 WHERE position = "db" |
Below is an context that describes a sql 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 (date VARCHAR, location VARCHAR, result VARCHAR, competition VARCHAR)
### Question:
What date has a result of win, in a friendly competition in Porto?
### Answer:
SELECT date FROM table_name_79 WHERE result = "win" AND competition = "friendly" AND location = "porto" |
Below is an context that describes a sql 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 (runners_up VARCHAR, winning_years VARCHAR)
### Question:
What is the total number of runners-up for a club with winning years of 2010?
### Answer:
SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = "2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (wins INTEGER, year VARCHAR, class VARCHAR, team VARCHAR)
### Question:
Tell me the lowest wins for class of 50cc and team of tomos for year less than 1969
### Answer:
SELECT MIN(wins) FROM table_name_9 WHERE class = "50cc" AND team = "tomos" AND year < 1969 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1637041_6 (winnings VARCHAR, avg_finish VARCHAR)
### Question:
What are the winnings for the season where the average finish is 11.1?
### Answer:
SELECT winnings FROM table_1637041_6 WHERE avg_finish = "11.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_262508_1 (joined VARCHAR, nickname VARCHAR)
### Question:
How many joined the Warriors?
### Answer:
SELECT COUNT(joined) FROM table_262508_1 WHERE nickname = "Warriors" |
Below is an context that describes a sql 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 (visa_4 VARCHAR, visa_1 VARCHAR)
### Question:
Which Visa 4 has besart berisha as Visa 1?
### Answer:
SELECT visa_4 FROM table_name_42 WHERE visa_1 = "besart berisha" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.