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_11207040_5 (team VARCHAR, stadium VARCHAR)
### Question:
What team plays at Palmerston Park?
### Answer:
SELECT team FROM table_11207040_5 WHERE stadium = "Palmerston Park" |
Below is an context that describes a sql 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 (points VARCHAR, time_retired VARCHAR)
### Question:
How many points were scored in 1:44:59.557 of time?
### Answer:
SELECT points FROM table_name_64 WHERE time_retired = "1:44:59.557" |
Below is an context that describes a sql 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 (name VARCHAR, overall VARCHAR, round VARCHAR)
### Question:
What is Name, when Overall is greater than 132, and when Round is 12?
### Answer:
SELECT name FROM table_name_59 WHERE overall > 132 AND round = 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_14778650_1 (arranger VARCHAR, writer VARCHAR)
### Question:
Who was the arranger for the track written by Nizar Francis ?
### Answer:
SELECT arranger FROM table_14778650_1 WHERE writer = "Nizar Francis" |
Below is an context that describes a sql 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 (second VARCHAR, skip VARCHAR)
### Question:
Which Second has a Skip of barbora vojtusova?
### Answer:
SELECT second FROM table_name_27 WHERE skip = "barbora vojtusova" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23274514_9 (score VARCHAR, record VARCHAR)
### Question:
What was the score when the record was 22-53?
### Answer:
SELECT score FROM table_23274514_9 WHERE record = "22-53" |
Below is an context that describes a sql 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 (pick INTEGER, player VARCHAR)
### Question:
What is the sum of the pick for player roger zatkoff?
### Answer:
SELECT SUM(pick) FROM table_name_24 WHERE player = "roger zatkoff" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (season VARCHAR, goals VARCHAR, club VARCHAR, rank VARCHAR)
### Question:
Which Season has a Club of real madrid, and a Rank smaller than 6, and less than 121 goals?
### Answer:
SELECT season FROM table_name_7 WHERE club = "real madrid" AND rank < 6 AND goals < 121 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12792876_3 (losing_bonus VARCHAR, points_against VARCHAR)
### Question:
What was the losing bonus when the points against was 445?
### Answer:
SELECT losing_bonus FROM table_12792876_3 WHERE points_against = "445" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12419515_4 (total_viewers__in_millions_ VARCHAR, season__number VARCHAR)
### Question:
How many millions of total viewers watched season #8?
### Answer:
SELECT total_viewers__in_millions_ FROM table_12419515_4 WHERE season__number = 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_55 (chassis VARCHAR, points VARCHAR)
### Question:
Which chassis scored 52 points?
### Answer:
SELECT chassis FROM table_name_55 WHERE points = 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_name_62 (origin VARCHAR, hanzi VARCHAR)
### Question:
Where did the Hanzi of 凤凰卫视电影台 originate?
### Answer:
SELECT origin FROM table_name_62 WHERE hanzi = "凤凰卫视电影台" |
Below is an context that describes a sql 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 (role VARCHAR, theatre VARCHAR)
### Question:
Tell me the role of festival theatre
### Answer:
SELECT role FROM table_name_35 WHERE theatre = "festival theatre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28138035_26 (mens_doubles VARCHAR, womens_singles VARCHAR)
### Question:
Who won the mens doubles when wu yang won the womens singles?
### Answer:
SELECT mens_doubles FROM table_28138035_26 WHERE womens_singles = "Wu Yang" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE procedures (cost INTEGER)
### Question:
What are the highest cost, lowest cost and average cost of procedures?
### Answer:
SELECT MAX(cost), MIN(cost), AVG(cost) FROM procedures |
Below is an context that describes a sql 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 (building VARCHAR, storeys VARCHAR)
### Question:
Which building has 26 storeys?
### Answer:
SELECT building FROM table_name_42 WHERE storeys = 26 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (name VARCHAR, number VARCHAR, date VARCHAR)
### Question:
What is the name of the train numbered less than 6 before 1993?
### Answer:
SELECT name FROM table_name_41 WHERE number < 6 AND date < 1993 |
Below is an context that describes a sql 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 (total VARCHAR, rank VARCHAR)
### Question:
What is the total for Rank 11?
### Answer:
SELECT COUNT(total) FROM table_name_57 WHERE rank = 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_92 (outcome VARCHAR, opponent VARCHAR)
### Question:
The match against Paul-Henri Mathieu had what outcome?
### Answer:
SELECT outcome FROM table_name_92 WHERE opponent = "paul-henri mathieu" |
Below is an context that describes a sql 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 (malaysia_cup VARCHAR, total INTEGER)
### Question:
How many Malaysia Cups have a total less than 0?
### Answer:
SELECT COUNT(malaysia_cup) FROM table_name_5 WHERE total < 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_17309500_1 (assists VARCHAR, games VARCHAR)
### Question:
Name the assists for 157 games
### Answer:
SELECT assists FROM table_17309500_1 WHERE games = 157 |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR)
### Question:
What was the score when the opponent was Montreal Canadiens?
### Answer:
SELECT score FROM table_name_8 WHERE opponent = "montreal canadiens" |
Below is an context that describes a sql 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 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR)
### Question:
Which Election has a Municipality of laives, and Inhabitants smaller than 17,197?
### Answer:
SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (college VARCHAR, position VARCHAR, school VARCHAR)
### Question:
What is the college for the player that went to ridge community high school and is defensive back?
### Answer:
SELECT college FROM table_name_19 WHERE position = "defensive back" AND school = "ridge community high school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
### Question:
What is the score for 04 september 2006?
### Answer:
SELECT score FROM table_name_21 WHERE date = "04 september 2006" |
Below is an context that describes a sql 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 (losses INTEGER, byes INTEGER)
### Question:
What are the highest losses when byes are larger than 0?
### Answer:
SELECT MAX(losses) FROM table_name_95 WHERE byes > 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_269920_17 (turbo_boost VARCHAR, model VARCHAR)
### Question:
Does the model e5504 have a turbo boost?
### Answer:
SELECT turbo_boost FROM table_269920_17 WHERE model = "E5504" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1520559_1 (purse___$__ VARCHAR, winners_share__$_ VARCHAR)
### Question:
What purses had a winners share equal to $428650?
### Answer:
SELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28628309_9 (totals VARCHAR, average VARCHAR, category VARCHAR)
### Question:
What is the total listed when the average is 0.667 and the category is 3-pt field goal percentage?
### Answer:
SELECT totals FROM table_28628309_9 WHERE average = "0.667" AND category = "3-pt field goal percentage" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE storm (number_deaths INTEGER, damage_millions_USD INTEGER, max_speed INTEGER)
### Question:
What is the total number of deaths and damage for all storms with a max speed greater than the average?
### Answer:
SELECT SUM(number_deaths), SUM(damage_millions_USD) FROM storm WHERE max_speed > (SELECT AVG(max_speed) FROM storm) |
Below is an context that describes a sql 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 (airport VARCHAR, city VARCHAR)
### Question:
What is the name of the airport in the city of Kota Kinabalu?
### Answer:
SELECT airport FROM table_name_85 WHERE city = "kota kinabalu" |
Below is an context that describes a sql 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 (director VARCHAR, original_title VARCHAR)
### Question:
Who is the Director of the Original title of The Crying Game?
### Answer:
SELECT director FROM table_name_59 WHERE original_title = "the crying 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_1341577_22 (district VARCHAR, first_elected VARCHAR)
### Question:
What is the district for 1952?
### Answer:
SELECT district FROM table_1341577_22 WHERE first_elected = 1952 |
Below is an context that describes a sql 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 (country VARCHAR, place VARCHAR, player VARCHAR)
### Question:
Which country has is Len Mattiace in T10 place?
### Answer:
SELECT country FROM table_name_54 WHERE place = "t10" AND player = "len mattiace" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1682865_1 (reverse VARCHAR, £1_fraction VARCHAR)
### Question:
What is the reverse when the £1 fraction is 1/480?
### Answer:
SELECT reverse FROM table_1682865_1 WHERE £1_fraction = "1/480" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22360_3 (discipline VARCHAR, bronze VARCHAR)
### Question:
Name the discipline for bronze being 0
### Answer:
SELECT discipline FROM table_22360_3 WHERE bronze = 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_94 (location VARCHAR, capacity INTEGER)
### Question:
Which location has a capacity larger than 52,000?
### Answer:
SELECT location FROM table_name_94 WHERE capacity > 52 OFFSET 000 |
Below is an context that describes a sql 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 (number_of_clubs INTEGER, season VARCHAR, total_wins VARCHAR)
### Question:
What is the sum of the number of clubs in seasons before 1992 with more than 3 total wins?
### Answer:
SELECT SUM(number_of_clubs) FROM table_name_30 WHERE season < 1992 AND total_wins > 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 accelerator_compatible_browser (id VARCHAR, accelerator_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, accelerator_id VARCHAR)
### Question:
How many accelerators are not compatible with the browsers listed ?
### Answer:
SELECT COUNT(*) FROM web_client_accelerator WHERE NOT id IN (SELECT accelerator_id FROM accelerator_compatible_browser) |
Below is an context that describes a sql 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 (total INTEGER, rank VARCHAR, gold VARCHAR)
### Question:
What is the lowest Total for rank 3 with more than 4 gold?
### Answer:
SELECT MIN(total) FROM table_name_13 WHERE rank = "3" AND gold > 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 (enrollment INTEGER, school VARCHAR)
### Question:
What is lebanon's enrollment?
### Answer:
SELECT AVG(enrollment) FROM table_name_99 WHERE school = "lebanon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE trip (name VARCHAR, end_station_name VARCHAR, city VARCHAR); CREATE TABLE station (name VARCHAR, end_station_name VARCHAR, city VARCHAR)
### Question:
What are the names of stations that are located in Palo Alto city but have never been the ending point of trips more than 100 times?
### Answer:
SELECT name FROM station WHERE city = "Palo Alto" EXCEPT SELECT end_station_name FROM trip GROUP BY end_station_name HAVING COUNT(*) > 100 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27816698_2 (founded VARCHAR, location VARCHAR)
### Question:
When was the institution in boise, idaho founded?
### Answer:
SELECT founded FROM table_27816698_2 WHERE location = "Boise, Idaho" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11667521_17 (stage__winner_ VARCHAR, general_classification VARCHAR)
### Question:
IN WHAT STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION?
### Answer:
SELECT stage__winner_ FROM table_11667521_17 WHERE general_classification = "Alexander Vinokourov" |
Below is an context that describes a sql 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 (winter_olympics VARCHAR, country VARCHAR)
### Question:
What was the Winter Olympics was Japan as the country?
### Answer:
SELECT winter_olympics FROM table_name_38 WHERE country = "japan" |
Below is an context that describes a sql 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 (report VARCHAR, circuit VARCHAR, race_name VARCHAR)
### Question:
Name the report for circuit of kyalami for south african republic trophy
### Answer:
SELECT report FROM table_name_8 WHERE circuit = "kyalami" AND race_name = "south african republic trophy" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Which 2008-12 has a 2013 of A, and a Tournament of wimbledon?
### Answer:
SELECT 2008 AS _12 FROM table_name_77 WHERE 2013 = "a" AND tournament = "wimbledon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22319599_1 (njcaa_championships INTEGER)
### Question:
What is the minimum possible for the NJCAA championships?
### Answer:
SELECT MIN(njcaa_championships) FROM table_22319599_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_14102379_4 (attendance VARCHAR, stadium VARCHAR)
### Question:
how many attendance with stadium being cotton bowl
### Answer:
SELECT COUNT(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl" |
Below is an context that describes a sql 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 (winner VARCHAR, result VARCHAR)
### Question:
Who was the winner with the 24-21 result?
### Answer:
SELECT winner FROM table_name_60 WHERE result = "24-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_name_66 (pick VARCHAR, position VARCHAR, name VARCHAR)
### Question:
What pick had a wide receiver named johnny holloway?
### Answer:
SELECT pick FROM table_name_66 WHERE position = "wide receiver" AND name = "johnny holloway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14937957_1 (martial_art_style VARCHAR, city VARCHAR)
### Question:
Which martial arts style was shown in Rio de Janeiro?
### Answer:
SELECT martial_art_style FROM table_14937957_1 WHERE city = "Rio de Janeiro" |
Below is an context that describes a sql 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 (year VARCHAR, competition VARCHAR, event VARCHAR)
### Question:
How many years was the 400 m event in the olympic games?
### Answer:
SELECT COUNT(year) FROM table_name_28 WHERE competition = "olympic games" AND event = "400 m" |
Below is an context that describes a sql 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 (fa_cup INTEGER, total VARCHAR, league VARCHAR)
### Question:
How many FA Cups on average have a larger total than 32 and a larger league than 24?
### Answer:
SELECT AVG(fa_cup) FROM table_name_15 WHERE total > 32 AND league > 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_22683369_8 (p VARCHAR, player VARCHAR)
### Question:
What is bryan hodge's player number
### Answer:
SELECT COUNT(p) FROM table_22683369_8 WHERE player = "Bryan Hodge" |
Below is an context that describes a sql 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 (weight_ VARCHAR, _height VARCHAR, player VARCHAR)
### Question:
Which Weight & Height has a Player of michael worrincy?
### Answer:
SELECT weight_ & _height FROM table_name_65 WHERE player = "michael worrincy" |
Below is an context that describes a sql 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 (result VARCHAR, nominee VARCHAR)
### Question:
What was the result of Frank Langella?
### Answer:
SELECT result FROM table_name_64 WHERE nominee = "frank langella" |
Below is an context that describes a sql 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 (tie_no VARCHAR, away_team VARCHAR)
### Question:
Which Tie no that has an Away team of altrincham?
### Answer:
SELECT tie_no FROM table_name_28 WHERE away_team = "altrincham" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
What is the Date for the Home team West Ham United
### Answer:
SELECT date FROM table_name_70 WHERE home_team = "west ham 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_255188_3 (location VARCHAR, nickname VARCHAR)
### Question:
What location is nicknamed the 49ers?
### Answer:
SELECT location FROM table_255188_3 WHERE nickname = "49ers" |
Below is an context that describes a sql 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 (pole_position VARCHAR, winning_team VARCHAR, name VARCHAR)
### Question:
What is the Pole Position for Winning Team Penske Racing, and the Name of II Copa Mexico 150?
### Answer:
SELECT pole_position FROM table_name_41 WHERE winning_team = "penske racing" AND name = "ii copa mexico 150" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_145439_1 (economics VARCHAR, justice VARCHAR)
### Question:
what's the economics score with justice being 90.8
### Answer:
SELECT economics FROM table_145439_1 WHERE justice = "90.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_2101431_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
### Question:
Which episode was watched by 7.2 million viewers?
### Answer:
SELECT episode FROM table_2101431_1 WHERE viewers__in_millions_ = "7.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_30 (score VARCHAR, arena VARCHAR)
### Question:
What is the Score at Jobing.com Arena?
### Answer:
SELECT score FROM table_name_30 WHERE arena = "jobing.com arena" |
Below is an context that describes a sql 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 (total INTEGER, finish VARCHAR, year_won VARCHAR)
### Question:
Which Total has a Finish of t64, and a Year won larger than 2006?
### Answer:
SELECT MAX(total) FROM table_name_64 WHERE finish = "t64" AND year_won > 2006 |
Below is an context that describes a 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_26 (first_elected INTEGER)
### Question:
When was the earliest first election?
### Answer:
SELECT MIN(first_elected) FROM table_1341663_26 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (score VARCHAR, country VARCHAR)
### Question:
What is the score of the player from fiji?
### Answer:
SELECT score FROM table_name_6 WHERE country = "fiji" |
Below is an context that describes a sql 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 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR)
### Question:
Who had the lowest field goals but had 10 points and more than 2 touchdowns?
### Answer:
SELECT MIN(field_goals) FROM table_name_68 WHERE points = 10 AND touchdowns > 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_17 (head_coach VARCHAR, city VARCHAR)
### Question:
Who is the head coach for the club from Estoril?
### Answer:
SELECT head_coach FROM table_name_17 WHERE city = "estoril" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
Name the date that had a record of 90-60
### Answer:
SELECT date FROM table_name_31 WHERE record = "90-60" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)
### Question:
What is the method for a match with a Round larger than 2, he took a loss, and 15–3 was the record?
### Answer:
SELECT method FROM table_name_67 WHERE round > 2 AND res = "loss" AND record = "15–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_83 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
### Question:
What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals?
### Answer:
SELECT MAX(gold) FROM table_name_83 WHERE silver < 2 AND bronze < 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_61 (team_2 VARCHAR)
### Question:
What was the 2nd leg score for Al-Merrikh as team 2?
### Answer:
SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "al-merrikh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2820584_3 (partner VARCHAR, year VARCHAR)
### Question:
How many different partners played in the finale in 1973?
### Answer:
SELECT COUNT(partner) FROM table_2820584_3 WHERE year = 1973 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1974782_1 (joined INTEGER, institution VARCHAR)
### Question:
When has Clark University joined the Conference?
### Answer:
SELECT MAX(joined) FROM table_1974782_1 WHERE institution = "Clark University" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (centerfold_model VARCHAR, date VARCHAR)
### Question:
Who was the Centerfold model on 5-88?
### Answer:
SELECT centerfold_model FROM table_name_20 WHERE date = "5-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_11703336_1 (link_abilities VARCHAR, predecessors VARCHAR)
### Question:
What is the link abilities when the predecessors is ti-85?
### Answer:
SELECT link_abilities FROM table_11703336_1 WHERE predecessors = "TI-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_41 (college VARCHAR, overall VARCHAR, round VARCHAR)
### Question:
What is the college when the over is larger than 15 in round 7?
### Answer:
SELECT college FROM table_name_41 WHERE overall > 15 AND round = 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_142159_1 (arrival INTEGER, name VARCHAR)
### Question:
What is the arrival time of greenbat
### Answer:
SELECT MAX(arrival) FROM table_142159_1 WHERE name = "Greenbat" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
### Question:
What is the manner of departure when the date of vacancy is 28 september 2010?
### Answer:
SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 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_46 (result VARCHAR, nominee VARCHAR)
### Question:
What is the result for Brent Spiner?
### Answer:
SELECT result FROM table_name_46 WHERE nominee = "brent spiner" |
Below is an context that describes a sql 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 (nba_draft VARCHAR, height VARCHAR, college VARCHAR)
### Question:
For the player with a Height of 6-9 and College of Kentucky what was their NBA Draft?
### Answer:
SELECT nba_draft FROM table_name_41 WHERE height = "6-9" AND college = "kentucky" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12280396_1 (county VARCHAR, isolation__km_ VARCHAR)
### Question:
What county is in isolation of 29?
### Answer:
SELECT county FROM table_12280396_1 WHERE isolation__km_ = 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_22753245_1 (constituency VARCHAR, runner_up_a VARCHAR)
### Question:
Who is the constituency when the runner-up was d. Venugopal?
### Answer:
SELECT constituency FROM table_22753245_1 WHERE runner_up_a = "D. Venugopal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR)
### Question:
What is the frequency of the model whose part number is ado520biaa5do?
### Answer:
SELECT frequency FROM table_13869651_3 WHERE part_number_s_ = "ADO520BIAA5DO" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE station (city VARCHAR, lat INTEGER)
### Question:
For each city, return the highest latitude among its stations.
### Answer:
SELECT city, MAX(lat) FROM station GROUP BY city |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14342367_15 (field_goals__5_points_ INTEGER)
### Question:
How many 5 points field goals is minimum
### Answer:
SELECT MIN(field_goals__5_points_) FROM table_14342367_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_93 (total INTEGER, gold VARCHAR, silver VARCHAR)
### Question:
What is the average total medals of the team with 2 gold and less than 1 silver?
### Answer:
SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 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_58 (league VARCHAR, regular_season VARCHAR)
### Question:
Which League has a Regular Season of 2nd, southeast?
### Answer:
SELECT league FROM table_name_58 WHERE regular_season = "2nd, southeast" |
Below is an context that describes a sql 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 (money___ INTEGER, score VARCHAR)
### Question:
WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE?
### Answer:
SELECT MIN(money___) AS $__ FROM table_name_2 WHERE score = 74 - 74 - 76 - 74 = 298 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25762852_1 (name VARCHAR, runs VARCHAR)
### Question:
How many resorts have 118 runs?
### Answer:
SELECT COUNT(name) FROM table_25762852_1 WHERE runs = "118" |
Below is an context that describes a sql 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 (player VARCHAR, year VARCHAR, position VARCHAR)
### Question:
Which player played wide receiver after 2008?
### Answer:
SELECT player FROM table_name_17 WHERE year > 2008 AND position = "wide receiver" |
Below is an context that describes a sql 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 (school VARCHAR, team VARCHAR)
### Question:
What is the School, when the Team is Golden Knights?
### Answer:
SELECT school FROM table_name_15 WHERE team = "golden knights" |
Below is an context that describes a sql 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 (home_team VARCHAR)
### Question:
What was Melbourne's score as the home team?
### Answer:
SELECT home_team AS score FROM table_name_16 WHERE home_team = "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_23249053_8 (score VARCHAR, game INTEGER)
### Question:
What is the score when the game is bigger than 29.0?
### Answer:
SELECT score FROM table_23249053_8 WHERE game > 29.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_81 (nominee VARCHAR, category VARCHAR, award VARCHAR, result VARCHAR)
### Question:
Which nominee won the Drama Desk Award for outstanding choreography?
### Answer:
SELECT nominee FROM table_name_81 WHERE award = "drama desk award" AND result = "won" AND category = "outstanding choreography" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341577_44 (party VARCHAR, incumbent VARCHAR)
### Question:
What party did Beau Boulter represent?
### Answer:
SELECT party FROM table_1341577_44 WHERE incumbent = "Beau Boulter" |
Below is an context that describes a sql 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 (time_retired VARCHAR, grid VARCHAR)
### Question:
What was the retired time for someone who was on grid 18?
### Answer:
SELECT time_retired FROM table_name_76 WHERE grid = "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_11404452_1 (director VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
Who was the director when there were 13.66 million u.s viewers?
### Answer:
SELECT director FROM table_11404452_1 WHERE us_viewers__millions_ = "13.66" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (run_rate INTEGER, rank VARCHAR)
### Question:
What is the run rate for rank 4?
### Answer:
SELECT MAX(run_rate) FROM table_name_61 WHERE rank = 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.