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_12896884_1 (football_stadium VARCHAR, enrollment VARCHAR)
### Question:
What football stadium has a school enrollment of 43579?
### Answer:
SELECT football_stadium FROM table_12896884_1 WHERE enrollment = 43579 |
Below is an context that describes a sql 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 (rank__number VARCHAR, date VARCHAR)
### Question:
What is the rank of the match on October 19?
### Answer:
SELECT rank__number FROM table_name_72 WHERE date = "october 19" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (home_team VARCHAR, tie_no VARCHAR)
### Question:
What was the Home team in Tie no 16?
### Answer:
SELECT home_team FROM table_name_90 WHERE tie_no = "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_27 (score VARCHAR, place VARCHAR, country VARCHAR)
### Question:
What was sweden's score in T9 place?
### Answer:
SELECT score FROM table_name_27 WHERE place = "t9" AND country = "sweden" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR)
### Question:
What was the average attendance on 18 October 2000?
### Answer:
SELECT AVG(attendance) FROM table_name_51 WHERE date = "18 october 2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (hanzi VARCHAR, hanyu_pinyin VARCHAR)
### Question:
What is the Hanzi for píngfáng qū?
### Answer:
SELECT hanzi FROM table_name_4 WHERE hanyu_pinyin = "píngfáng qū" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR)
### Question:
What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings?
### Answer:
SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings" |
Below is an context that describes a sql 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 (venue VARCHAR, home VARCHAR, season VARCHAR)
### Question:
In 1958, what has the IRFU All-Stars Home Venue?
### Answer:
SELECT venue FROM table_name_18 WHERE home = "irfu all-stars" AND season = 1958 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24431348_18 (status VARCHAR, rank VARCHAR)
### Question:
What was the status of rank 20?
### Answer:
SELECT status FROM table_24431348_18 WHERE rank = 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_1341663_14 (party VARCHAR, incumbent VARCHAR)
### Question:
What is Phil Crane, democrat or republican
### Answer:
SELECT party FROM table_1341663_14 WHERE incumbent = "Phil Crane" |
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR)
### Question:
Tell me the result for week of 4
### Answer:
SELECT result FROM table_name_46 WHERE week = 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_12 (high_assists VARCHAR, date VARCHAR)
### Question:
What are the High assists for February 2?
### Answer:
SELECT high_assists FROM table_name_12 WHERE date = "february 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_89 (race VARCHAR, location VARCHAR)
### Question:
Who was the winner of the race in monza?
### Answer:
SELECT race AS Winner FROM table_name_89 WHERE location = "monza" |
Below is an context that describes a sql 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 (res VARCHAR, opponent VARCHAR)
### Question:
What is the result for the match against Wataru Sakata?
### Answer:
SELECT res FROM table_name_55 WHERE opponent = "wataru sakata" |
Below is an context that describes a sql 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 (wins VARCHAR, position VARCHAR, conceded VARCHAR)
### Question:
What is the number of wins when position was larger than 6, and conceded was smaller than 19?
### Answer:
SELECT COUNT(wins) FROM table_name_90 WHERE position > 6 AND conceded < 19 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR)
### Question:
What is the gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion?
### Answer:
SELECT gdp_per_capita__nominal_ FROM table_11780179_1 WHERE gdp__nominal_ = "$52.0 billion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR)
### Question:
Show the apartment numbers of apartments with bookings that have status code both "Provisional" and "Confirmed"
### Answer:
SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Confirmed" INTERSECT SELECT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Provisional" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (designation VARCHAR, manufacturer VARCHAR, quantity VARCHAR)
### Question:
Which Designation has a Manufacturer of siemens, and a Quantity of 52?
### Answer:
SELECT designation FROM table_name_56 WHERE manufacturer = "siemens" AND quantity = 52 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16278673_1 (inhabitants_per_km² INTEGER, markatal VARCHAR)
### Question:
Name the minimum inhabitants for markatal 49
### Answer:
SELECT MIN(inhabitants_per_km²) FROM table_16278673_1 WHERE markatal = 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_90 (division VARCHAR, appearances VARCHAR, conference VARCHAR, wins VARCHAR)
### Question:
Which division in the AFC Conference had a total of 10 wins and appeared more than 18 times?
### Answer:
SELECT division FROM table_name_90 WHERE conference = "afc" AND wins = 10 AND appearances > 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668329_18 (result VARCHAR, district VARCHAR)
### Question:
Name the result for north carolina 9
### Answer:
SELECT COUNT(result) FROM table_2668329_18 WHERE district = "North Carolina 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_44 (grand_finaldate VARCHAR, score VARCHAR)
### Question:
What is the grand final date for the game with a score or 30-24?
### Answer:
SELECT grand_finaldate FROM table_name_44 WHERE score = "30-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_name_42 (purse__ INTEGER, year INTEGER)
### Question:
How much is the purse worth (¥) after 2012?
### Answer:
SELECT SUM(purse__) AS ¥_ FROM table_name_42 WHERE year > 2012 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE savings (balance INTEGER)
### Question:
How many accounts have a savings balance above the average savings balance?
### Answer:
SELECT COUNT(*) FROM savings WHERE balance > (SELECT AVG(balance) FROM savings) |
Below is an context that describes a sql 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, date_from VARCHAR)
### Question:
What was the name for the row with Date From of 2008-02-21?
### Answer:
SELECT name FROM table_name_86 WHERE date_from = "2008-02-21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10021158_3 (best_finish VARCHAR)
### Question:
When the best finish was T69, how many people came in 2nd?
### Answer:
SELECT 2 AS nd FROM table_10021158_3 WHERE best_finish = "T69" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
What is the result for November 25, 2001?
### Answer:
SELECT result FROM table_name_45 WHERE date = "november 25, 2001" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (scores_by_each_individual_judge VARCHAR, status VARCHAR, date_performed VARCHAR)
### Question:
What Scores by each individual judge has a Status of eliminated, and a Date performed of august 13?
### Answer:
SELECT scores_by_each_individual_judge FROM table_name_15 WHERE status = "eliminated" AND date_performed = "august 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_64 (opponent VARCHAR, date VARCHAR)
### Question:
Which Opponent is on 17 november 2002?
### Answer:
SELECT opponent FROM table_name_64 WHERE date = "17 november 2002" |
Below is an context that describes a sql 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 (height VARCHAR, contestant VARCHAR)
### Question:
What is niurbi encarnación ynoa's height?
### Answer:
SELECT height FROM table_name_95 WHERE contestant = "niurbi encarnación ynoa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (nationality VARCHAR, school VARCHAR)
### Question:
Which nationality does Florida Tech have?
### Answer:
SELECT nationality FROM table_name_1 WHERE school = "florida tech" |
Below is an context that describes a sql 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 (gold_coast VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR)
### Question:
What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no?
### Answer:
SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND sydney = "yes" AND auckland = "no" AND perth = "no" |
Below is an context that describes a sql 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 (team VARCHAR, average VARCHAR, goalkeeper VARCHAR)
### Question:
What team has Carlos Sánchez as a goalkeeper and an average below 1.12?
### Answer:
SELECT team FROM table_name_64 WHERE average < 1.12 AND goalkeeper = "carlos sánchez" |
Below is an context that describes a sql 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 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR)
### Question:
Who was the player that was picked at a number less than 205 from the Michigan State Spartans?
### Answer:
SELECT player FROM table_name_46 WHERE pick__number < 205 AND team_from = "michigan state spartans" |
Below is an context that describes a sql 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 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
### Question:
Name the height in feet for the player from valparaiso
### Answer:
SELECT height_in_ft FROM table_name_80 WHERE school_club_team_country = "valparaiso" |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
Which golfer had a score of 69-71=140?
### Answer:
SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140 |
Below is an context that describes a sql 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 (city INTEGER, total VARCHAR, borough VARCHAR)
### Question:
What average city has a total less than 2, with a borough greater than 0?
### Answer:
SELECT AVG(city) FROM table_name_70 WHERE total < 2 AND borough > 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_38 (extra_points INTEGER, player VARCHAR, points VARCHAR)
### Question:
What was the highest number of extra points scored by Albert Herrnstein, when he scored more than 15 points total?
### Answer:
SELECT MAX(extra_points) FROM table_name_38 WHERE player = "albert herrnstein" AND points > 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (games VARCHAR, standing VARCHAR)
### Question:
What are the games with an Involuntary suspension of Season (hurricane Rita)?
### Answer:
SELECT games FROM table_name_72 WHERE standing = "involuntary suspension of season (hurricane rita)" |
Below is an context that describes a sql 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 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What is the to par of player johnny miller, who has a t8 place?
### Answer:
SELECT to_par FROM table_name_18 WHERE place = "t8" AND player = "johnny 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_name_74 (package_option VARCHAR, television_service VARCHAR)
### Question:
What is Package/Option, when Television Service is Sky Inside?
### Answer:
SELECT package_option FROM table_name_74 WHERE television_service = "sky inside" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20887670_1 (affiliation VARCHAR, mascot VARCHAR)
### Question:
what is the affiliation of the hilltoppers mascot?
### Answer:
SELECT affiliation FROM table_20887670_1 WHERE mascot = "Hilltoppers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (overall INTEGER, pick__number VARCHAR, name VARCHAR)
### Question:
What is the average overall of Ken Whisenhunt, who has a pick # of 5?
### Answer:
SELECT AVG(overall) FROM table_name_77 WHERE pick__number = 5 AND name = "ken whisenhunt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19948664_1 (countries_sampled INTEGER, index__year_ VARCHAR)
### Question:
How many countries were sampled for the Prosperity Index (2008)?
### Answer:
SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE index__year_ = "Prosperity Index (2008)" |
Below is an context that describes a 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_43 (candidates VARCHAR, result VARCHAR)
### Question:
When the result is retired to run for U.S. Senate Democratic Hold, who is the candidate?
### Answer:
SELECT candidates FROM table_1342218_43 WHERE result = "Retired to run for U.S. Senate Democratic hold" |
Below is an context that describes a sql 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 (owner VARCHAR, seats VARCHAR)
### Question:
Which owner has 84 seats?
### Answer:
SELECT owner FROM table_name_60 WHERE seats = 84 |
Below is an context that describes a sql 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 (bubbles VARCHAR, attribute VARCHAR)
### Question:
Which bubbles has an atribute of onlostpointercapture?
### Answer:
SELECT bubbles FROM table_name_87 WHERE attribute = "onlostpointercapture" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (method VARCHAR, record VARCHAR)
### Question:
Which method has a record of 3-0?
### Answer:
SELECT method FROM table_name_27 WHERE record = "3-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_73 (distance INTEGER, county VARCHAR, total VARCHAR)
### Question:
How much Distance has a County of faulkner, and a Total smaller than 1.5?
### Answer:
SELECT SUM(distance) FROM table_name_73 WHERE county = "faulkner" AND total < 1.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_93 (record VARCHAR, visitor VARCHAR)
### Question:
What is the record when Tampa Bay is the visitor?
### Answer:
SELECT record FROM table_name_93 WHERE visitor = "tampa bay" |
Below is an context that describes a sql 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 (series VARCHAR, north_american_release_date VARCHAR)
### Question:
What is the series with a North American release date on 2013-09-03?
### Answer:
SELECT series FROM table_name_12 WHERE north_american_release_date = "2013-09-03" |
Below is an context that describes a sql 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 (silver VARCHAR, location VARCHAR)
### Question:
Which nation(s) won silver in Doha?
### Answer:
SELECT silver FROM table_name_51 WHERE location = "doha" |
Below is an context that describes a sql 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 (player VARCHAR, games_played VARCHAR, goals_allowed VARCHAR)
### Question:
Who played over 46 games and allowed less than 195 goals?
### Answer:
SELECT player FROM table_name_50 WHERE games_played > 46 AND goals_allowed < 195 |
Below is an context that describes a sql 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 (round VARCHAR, opponent VARCHAR)
### Question:
Name the total number of rounds for gina carano
### Answer:
SELECT COUNT(round) FROM table_name_6 WHERE opponent = "gina carano" |
Below is an context that describes a sql 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 (wins INTEGER, goal_difference VARCHAR, draws VARCHAR)
### Question:
Can you tell me the average Wins that has the Goal Difference larger than -24, and the Draws larger than 7?
### Answer:
SELECT AVG(wins) FROM table_name_42 WHERE goal_difference > -24 AND draws > 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_63 (home_team VARCHAR, venue VARCHAR)
### Question:
Who is the home team at arden street oval?
### Answer:
SELECT home_team FROM table_name_63 WHERE venue = "arden street oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (chassis VARCHAR, points VARCHAR, engine VARCHAR, year VARCHAR)
### Question:
Before 1976 and with 12 points, what chassis did the Ford V8 have?
### Answer:
SELECT chassis FROM table_name_66 WHERE engine = "ford v8" AND year < 1976 AND points = "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_19753079_13 (district VARCHAR, incumbent VARCHAR)
### Question:
In what district is the incumbent John Linder?
### Answer:
SELECT district FROM table_19753079_13 WHERE incumbent = "John Linder" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (station VARCHAR, number VARCHAR, distance__km_ VARCHAR)
### Question:
What is the station with a number greater than 9 and a distance of 16.4 km?
### Answer:
SELECT station FROM table_name_10 WHERE number > 9 AND distance__km_ = 16.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 company (Id VARCHAR)
### Question:
How many gas companies are there?
### Answer:
SELECT COUNT(*) FROM company |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What did the away team score when the home team was south melbourne?
### Answer:
SELECT away_team AS score FROM table_name_80 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_15582870_1 (college VARCHAR, choice VARCHAR)
### Question:
Which college did draft pick #143 attend?
### Answer:
SELECT college FROM table_15582870_1 WHERE choice = 143 |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, record VARCHAR)
### Question:
Which Score has an Opponent of washington capitals, and a Record of 24-34-17?
### Answer:
SELECT score FROM table_name_7 WHERE opponent = "washington capitals" AND record = "24-34-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_name_47 (operator VARCHAR, peak VARCHAR)
### Question:
What is the Operator with a Peak that is 55?
### Answer:
SELECT operator FROM table_name_47 WHERE peak = "55" |
Below is an context that describes a sql 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 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
### Question:
What is the lowest number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11?
### Answer:
SELECT MIN(number_of_electorates__2003_) FROM table_name_85 WHERE district = "bhind" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "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_25 (polling_firm VARCHAR, others VARCHAR)
### Question:
What was the polling firm with others of 1%?
### Answer:
SELECT polling_firm FROM table_name_25 WHERE others = "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_11 (performer_3 VARCHAR, performer_4 VARCHAR)
### Question:
Who was the 3rd performer when Rory Bremner was the 4th performer?
### Answer:
SELECT performer_3 FROM table_name_11 WHERE performer_4 = "rory bremner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1121352_2 (margin_of_victory VARCHAR, date VARCHAR)
### Question:
Where is the margin of victory dated mar 28, 2004?
### Answer:
SELECT margin_of_victory FROM table_1121352_2 WHERE date = "Mar 28, 2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (gold_coast VARCHAR, sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, perth VARCHAR)
### Question:
Which gold Coast has a Melbourne of yes, a Perth of yes, an Auckland of no, and a Sydney of no?
### Answer:
SELECT gold_coast FROM table_name_36 WHERE melbourne = "yes" AND perth = "yes" AND auckland = "no" AND sydney = "no" |
Below is an context that describes a sql 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 (total VARCHAR, rank VARCHAR, gold VARCHAR)
### Question:
What's the total number that had a rank larger than 17 and a gold greater than 0?
### Answer:
SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 AND gold > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (to_par INTEGER, total INTEGER)
### Question:
Which To par is the highest one that has a Total smaller than 148?
### Answer:
SELECT MAX(to_par) FROM table_name_89 WHERE total < 148 |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
Who was the home team at Lake Oval?
### Answer:
SELECT home_team FROM table_name_66 WHERE venue = "lake oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (takuu VARCHAR, north_marquesan VARCHAR)
### Question:
What kind of Takuu has a North Marquesan of /vehine/?
### Answer:
SELECT takuu FROM table_name_83 WHERE north_marquesan = "/vehine/" |
Below is an context that describes a sql 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 (date VARCHAR, race_name VARCHAR)
### Question:
What is the date of the gp città di camaiore race?
### Answer:
SELECT date FROM table_name_54 WHERE race_name = "gp città di camaiore" |
Below is an context that describes a sql 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 (abb VARCHAR, disorder VARCHAR)
### Question:
What is the abbreviation of the enzyme involved in carbamoyl phosphate synthetase i deficiency?
### Answer:
SELECT abb FROM table_name_30 WHERE disorder = "carbamoyl phosphate synthetase i deficiency" |
Below is an context that describes a sql 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 (set_4 VARCHAR, date VARCHAR, set_3 VARCHAR)
### Question:
What is Set 4, when Date is Jun 27, and when Set 3 is 17-25?
### Answer:
SELECT set_4 FROM table_name_64 WHERE date = "jun 27" AND set_3 = "17-25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (note VARCHAR, catalog VARCHAR)
### Question:
Name the note for catalog of 32xa-106
### Answer:
SELECT note FROM table_name_73 WHERE catalog = "32xa-106" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11354111_3 (night_rank VARCHAR, rating VARCHAR)
### Question:
what's the night rank with rating of 6.2
### Answer:
SELECT night_rank FROM table_11354111_3 WHERE rating = "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_name_25 (report VARCHAR, circuit VARCHAR)
### Question:
Tell me the report for circuit of modena
### Answer:
SELECT report FROM table_name_25 WHERE circuit = "modena" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2803106_1 (dance_song VARCHAR, total VARCHAR)
### Question:
What dance had a score total of 31?
### Answer:
SELECT dance_song FROM table_2803106_1 WHERE total = "31" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, june_10_11 VARCHAR)
### Question:
What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?
### Answer:
SELECT january_15_16 FROM table_25216791_3 WHERE june_10_11 = "June 10, 1964" |
Below is an context that describes a sql 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 (best VARCHAR, qual_2 VARCHAR)
### Question:
What is the best when the qual 2 is 1:47.042?
### Answer:
SELECT best FROM table_name_5 WHERE qual_2 = "1:47.042" |
Below is an context that describes a sql 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 (competition VARCHAR, result VARCHAR, date VARCHAR)
### Question:
What was the competition on 29 November 1997 that resulted in a draw?
### Answer:
SELECT competition FROM table_name_97 WHERE result = "draw" AND date = "29 november 1997" |
Below is an context that describes a sql 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, competition VARCHAR, score VARCHAR)
### Question:
What is the Venue of the Friendly Competition with a Score of 1–4?
### Answer:
SELECT venue FROM table_name_58 WHERE competition = "friendly" AND score = "1–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 elimination (Team VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR, Days_held VARCHAR)
### Question:
List the names of wrestlers and the teams in elimination in descending order of days held.
### Answer:
SELECT T2.Name, T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID ORDER BY T2.Days_held 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_77 (hanja VARCHAR, hangul VARCHAR)
### Question:
Name the hanja for hangul of 주
### Answer:
SELECT hanja FROM table_name_77 WHERE hangul = "주" |
Below is an context that describes a sql 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 (Prime VARCHAR, minister VARCHAR)
### Question:
Who is the Prime Minister of Antoine Wehenkel?
### Answer:
SELECT Prime AS minister FROM table_name_71 WHERE minister = "antoine wehenkel" |
Below is an context that describes a sql 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 (catalog VARCHAR, format VARCHAR)
### Question:
Name the catalog with cd format
### Answer:
SELECT catalog FROM table_name_93 WHERE format = "cd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (points INTEGER, games VARCHAR, losses VARCHAR)
### Question:
What is the average number of points for a team that played 17 games and had more than 15 losses?
### Answer:
SELECT AVG(points) FROM table_name_37 WHERE games = 17 AND losses > 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (years VARCHAR, name VARCHAR, pct VARCHAR, lost VARCHAR)
### Question:
What years did Dwane Morrison had a pct less than 0.389 and losses less than 12?
### Answer:
SELECT years FROM table_name_11 WHERE pct < 0.389 AND lost < 12 AND name = "dwane morrison" |
Below is an context that describes a sql 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 (visitor VARCHAR, home VARCHAR)
### Question:
Name the visitor for home of ny rangers
### Answer:
SELECT visitor FROM table_name_29 WHERE home = "ny rangers" |
Below is an context that describes a sql 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 (district VARCHAR, position VARCHAR, first_election VARCHAR)
### Question:
What District has a Member with a First Election date of 1985?
### Answer:
SELECT district FROM table_name_43 WHERE position = "member" AND first_election = "1985" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27403436_1 (no VARCHAR, production_code VARCHAR)
### Question:
which number lists the production code as 2j5809
### Answer:
SELECT no FROM table_27403436_1 WHERE production_code = "2J5809" |
Below is an context that describes a sql 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 (goals_for INTEGER, played VARCHAR, goals_against VARCHAR, position VARCHAR, losses VARCHAR)
### Question:
what is the sum of goals for when the position is less than 8, the losses is less than 10 the goals against is less than 35 and played is less than 38?
### Answer:
SELECT SUM(goals_for) FROM table_name_50 WHERE position < 8 AND losses < 10 AND goals_against < 35 AND played < 38 |
Below is an context that describes a sql 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 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
### Question:
What was the time of the race for Driver Jarno Trulli on a grid smaller than 13?
### Answer:
SELECT time_retired FROM table_name_59 WHERE grid < 13 AND driver = "jarno trulli" |
Below is an context that describes a sql 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 (city___state VARCHAR, circuit VARCHAR)
### Question:
What's the city/state of Hidden Valley Raceway?
### Answer:
SELECT city___state FROM table_name_16 WHERE circuit = "hidden valley raceway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE perpetrator (Injured VARCHAR)
### Question:
List the number of people injured by perpetrators in ascending order.
### Answer:
SELECT Injured FROM perpetrator ORDER BY Injured |
Below is an context that describes a sql 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 (year_drafted INTEGER, fcsl_team VARCHAR, round VARCHAR)
### Question:
What is the drafted year when the FCSL Team was Winter Park, in the 4th round?
### Answer:
SELECT MAX(year_drafted) FROM table_name_9 WHERE fcsl_team = "winter park" AND round = "4th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE procedures (code VARCHAR, cost VARCHAR)
### Question:
Find the physician who was trained in the most expensive procedure?
### Answer:
SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment ORDER BY T3.cost 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_1566850_8 (interview_subject VARCHAR, date VARCHAR)
### Question:
Who was the interview subject on the date 1-97?
### Answer:
SELECT interview_subject FROM table_1566850_8 WHERE date = "1-97" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.