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_94 (record VARCHAR, date VARCHAR, loss VARCHAR)
### Question:
What was the record at the game held on May 1st with a loss of Speier (1–3)?
### Answer:
SELECT record FROM table_name_94 WHERE date = "may 1" AND loss = "speier (1–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_11 (gold INTEGER, nation VARCHAR, total VARCHAR)
### Question:
How many golds for west germany with over 8 total?
### Answer:
SELECT MIN(gold) FROM table_name_11 WHERE nation = "west germany" AND total > 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)
### Question:
What was the location and attendance for the game on December 12?
### Answer:
SELECT location_attendance FROM table_name_68 WHERE date = "december 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_50 (fog__days_year_ INTEGER, rain__mm_year_ VARCHAR)
### Question:
What is the amount of fog where the rain is 1 109?
### Answer:
SELECT SUM(fog__days_year_) FROM table_name_50 WHERE rain__mm_year_ = "1 109" |
Below is an context that describes a sql 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 (result VARCHAR, scored INTEGER)
### Question:
What is the result of the contest with over 1 scored?
### Answer:
SELECT result FROM table_name_30 WHERE scored > 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 TRANSACTIONS (date_of_transaction VARCHAR, transaction_type_code VARCHAR)
### Question:
Show all dates of transactions whose type code is "SALE".
### Answer:
SELECT date_of_transaction FROM TRANSACTIONS WHERE transaction_type_code = "SALE" |
Below is an context that describes a sql 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 (agg VARCHAR, team__number2 VARCHAR)
### Question:
What is the agg when team #2 is 2006 UEFA Intertoto Cup?
### Answer:
SELECT agg FROM table_name_24 WHERE team__number2 = "2006 uefa intertoto cup" |
Below is an context that describes a sql 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 (circuit VARCHAR, round INTEGER)
### Question:
Which circuit had a round larger than 5?
### Answer:
SELECT circuit FROM table_name_30 WHERE round > 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_94 (yellow_109_percentage VARCHAR, brazil_100_percentage VARCHAR)
### Question:
What's the Yellow fertility rate when Brazil is 0,43407?
### Answer:
SELECT yellow_109_percentage FROM table_name_94 WHERE brazil_100_percentage = "0,43407" |
Below is an context that describes a sql 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 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR)
### Question:
For what Japanese title is there less than 11 episodes and the Romaji title is Regatta~Kimi to Ita Eien~?
### Answer:
SELECT japanese_title FROM table_name_89 WHERE episodes < 11 AND romaji_title = "regatta~kimi to ita eien~" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29545993_3 (l INTEGER, pa VARCHAR)
### Question:
What is maximum loss record when the pa record is 47?
### Answer:
SELECT MAX(l) FROM table_29545993_3 WHERE pa = 47 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (date VARCHAR, away VARCHAR)
### Question:
When did the team play an away game against the Toronto Eagles?
### Answer:
SELECT date FROM table_name_39 WHERE away = "toronto eagles" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
Who was the away team at Windy Hill?
### Answer:
SELECT away_team FROM table_name_11 WHERE venue = "windy hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1529260_2 (country VARCHAR, margin_of_victory VARCHAR)
### Question:
What countries have a margin of victory at 6 strokes?
### Answer:
SELECT country FROM table_1529260_2 WHERE margin_of_victory = "6 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (date VARCHAR, eliminated VARCHAR)
### Question:
On what date was elimination on final night?
### Answer:
SELECT date FROM table_name_43 WHERE eliminated = "final night" |
Below is an context that describes a sql 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 (area_president__quorum_ VARCHAR, area_name VARCHAR)
### Question:
Name the area president when the area name is south america south
### Answer:
SELECT area_president__quorum_ FROM table_name_44 WHERE area_name = "south america south" |
Below is an context that describes a sql 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 (attendance INTEGER, record VARCHAR)
### Question:
What was the average attendance of a team with a 38–31–8 record?
### Answer:
SELECT AVG(attendance) FROM table_name_16 WHERE record = "38–31–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_97 (outcome VARCHAR, opponent_in_final VARCHAR)
### Question:
Name the outcome for alizé cornet janette husárová being opponent in final
### Answer:
SELECT outcome FROM table_name_97 WHERE opponent_in_final = "alizé cornet janette husárová" |
Below is an context that describes a sql 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 (series VARCHAR, title VARCHAR)
### Question:
Name the Series with a Title of elmer's pet rabbit?
### Answer:
SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit" |
Below is an context that describes a 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_5 (package_option VARCHAR, content VARCHAR, n° VARCHAR)
### Question:
What package offers cinema content and is n. 333?
### Answer:
SELECT package_option FROM table_15887683_5 WHERE content = "cinema" AND n° = "333" |
Below is an context that describes a sql 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 (player_name VARCHAR, position VARCHAR, college VARCHAR)
### Question:
Who was a defensive end at California?
### Answer:
SELECT player_name FROM table_name_93 WHERE position = "defensive end" AND college = "california" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)
### Question:
What are the number of days in 1945 where the constituent was heywood and radcliffe?
### Answer:
SELECT days FROM table_name_18 WHERE year = "1945" AND constituency = "heywood and radcliffe" |
Below is an context that describes a sql 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 (score INTEGER, opposition VARCHAR, city VARCHAR)
### Question:
What was the score when the opposition was sussex in liverpool?
### Answer:
SELECT SUM(score) FROM table_name_96 WHERE opposition = "sussex" AND city = "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_11 (week INTEGER, game_site VARCHAR, date VARCHAR)
### Question:
What average week has shea stadium as the game site, and 1979-12-09 as the date?
### Answer:
SELECT AVG(week) FROM table_name_11 WHERE game_site = "shea stadium" AND date = "1979-12-09" |
Below is an context that describes a sql 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 (city_population__2009_ INTEGER, serial_no VARCHAR, city_area_km_2__ VARCHAR, district VARCHAR)
### Question:
What was the lowest city population for the district of rajanpur district with a area of 6 km squared and a serial number less than 29?
### Answer:
SELECT MIN(city_population__2009_) FROM table_name_15 WHERE city_area_km_2__ = 6 AND district = "rajanpur district" AND serial_no < 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_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR)
### Question:
What was the score of the match that took place at 6:00 PM with 79,419 in attendance?
### Answer:
SELECT result FROM table_name_69 WHERE time = "6:00 pm" AND attendance = "79,419" |
Below is an context that describes a sql 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 (dimension__m_ VARCHAR, range__km_ VARCHAR)
### Question:
Tell me the dimension that has a range of 8,000 – 10,000
### Answer:
SELECT dimension__m_ FROM table_name_57 WHERE range__km_ = "8,000 – 10,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 player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (Coach_ID VARCHAR, Rank VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR)
### Question:
Show the names of players coached by the rank 1 coach.
### Answer:
SELECT T3.Player_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T2.Rank = 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_2 (team VARCHAR, grid VARCHAR)
### Question:
What team started in grid 11?
### Answer:
SELECT team FROM table_name_2 WHERE grid = "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_47 (swimsuit INTEGER, evening_gown VARCHAR, state VARCHAR)
### Question:
What is the lowest swimsuit that has an evening gown bigger than 8.794 for illinois?
### Answer:
SELECT MIN(swimsuit) FROM table_name_47 WHERE evening_gown > 8.794 AND state = "illinois" |
Below is an context that describes a sql 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 (driver VARCHAR, race_1 VARCHAR, points VARCHAR, team VARCHAR)
### Question:
Which driver for Bob Holden Motors has fewer than 36 points and placed 7 in race 1?
### Answer:
SELECT driver FROM table_name_80 WHERE points < 36 AND team = "bob holden motors" AND race_1 = "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_2655016_10 (season__number INTEGER, nick_prod__number VARCHAR)
### Question:
What was the latest season with a nick production number of 942?
### Answer:
SELECT MAX(season__number) FROM table_2655016_10 WHERE nick_prod__number = 942 |
Below is an context that describes a sql 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 (loss VARCHAR, attendance VARCHAR)
### Question:
What Loss had an Attendance of 17,675?
### Answer:
SELECT loss FROM table_name_35 WHERE attendance = "17,675" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (place INTEGER, song VARCHAR)
### Question:
What is the average Place, when Song is "Dis Oui"?
### Answer:
SELECT AVG(place) FROM table_name_14 WHERE song = "dis oui" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (player VARCHAR, college VARCHAR, round VARCHAR, pick__number VARCHAR)
### Question:
What is Player, when Round is greater than 8, when Pick # is greater than 234, and when College is "Louisville"?
### Answer:
SELECT player FROM table_name_22 WHERE round > 8 AND pick__number > 234 AND college = "louisville" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22583466_3 (race_caller VARCHAR, year VARCHAR)
### Question:
Who called the race in 1998?
### Answer:
SELECT race_caller FROM table_22583466_3 WHERE year = 1998 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR)
### Question:
What is the team whose driver Jeff Simmons?
### Answer:
SELECT team FROM table_17319931_1 WHERE driver = "Jeff Simmons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (conceded INTEGER, draws VARCHAR, position VARCHAR)
### Question:
Which Conceded has Draws smaller than 5, and a Position larger than 6?
### Answer:
SELECT SUM(conceded) FROM table_name_39 WHERE draws < 5 AND position > 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_46 (year_joined VARCHAR, enrollment VARCHAR)
### Question:
Which year did the school with enrollment of 413 join?
### Answer:
SELECT year_joined FROM table_name_46 WHERE enrollment = 413 |
Below is an context that describes a sql 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 (total_time___s__ VARCHAR, horse VARCHAR)
### Question:
What is the total time (s) for the horse Pinot Grigio?
### Answer:
SELECT total_time___s__ FROM table_name_53 WHERE horse = "pinot grigio" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18933037_3 (unit VARCHAR, mission_target VARCHAR)
### Question:
When same target; linebacker ii offensive is the same target what is the unit?
### Answer:
SELECT unit FROM table_18933037_3 WHERE mission_target = "Same target; Linebacker II Offensive" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, year INTEGER); CREATE TABLE people (name VARCHAR, people_id VARCHAR)
### Question:
Show the pair of male and female names in all weddings after year 2014
### Answer:
SELECT T2.name, T3.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id WHERE T1.year > 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_name_28 (name VARCHAR, street_address VARCHAR)
### Question:
What is the Name of the Building at 100 North Tampa Street?
### Answer:
SELECT name FROM table_name_28 WHERE street_address = "100 north tampa street" |
Below is an context that describes a sql 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 (name VARCHAR, replacement VARCHAR)
### Question:
What is the name of the manager who was replaced by michael skibbe?
### Answer:
SELECT name FROM table_name_87 WHERE replacement = "michael skibbe" |
Below is an context that describes a sql 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 (silver VARCHAR, nation VARCHAR)
### Question:
How many silvers for finland?
### Answer:
SELECT silver FROM table_name_48 WHERE nation = "finland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE airlines (country VARCHAR, active VARCHAR)
### Question:
Which countries has the most number of airlines whose active status is 'Y'?
### Answer:
SELECT country FROM airlines WHERE active = 'Y' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26736040_1 (no_in_series INTEGER, directed_by VARCHAR)
### Question:
What is the highest number in series with director as Phil Abraham?
### Answer:
SELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = "Phil Abraham" |
Below is an context that describes a sql 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 (player VARCHAR, pick__number VARCHAR)
### Question:
Which player was Pick #40?
### Answer:
SELECT player FROM table_name_98 WHERE pick__number = "40" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19722233_5 (assists VARCHAR, minutes VARCHAR)
### Question:
how many assists did the player who played 195 minutes make
### Answer:
SELECT assists FROM table_19722233_5 WHERE minutes = 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_98 (nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
What is the nation when gold is 0, bronze is more than 0 and rank is 16?
### Answer:
SELECT nation FROM table_name_98 WHERE gold = 0 AND bronze > 0 AND rank = "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_93 (date VARCHAR, record VARCHAR)
### Question:
What was the date when the Twins had a record of 44-37?
### Answer:
SELECT date FROM table_name_93 WHERE record = "44-37" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20398823_1 (season VARCHAR, team VARCHAR)
### Question:
Name the number of season for team bruichladdich
### Answer:
SELECT COUNT(season) FROM table_20398823_1 WHERE team = "team Bruichladdich" |
Below is an context that describes a sql 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 (played INTEGER, lost VARCHAR, drawn VARCHAR)
### Question:
What is the highest number of played of the team with less than 11 losses and less than 12 drawns?
### Answer:
SELECT MAX(played) FROM table_name_9 WHERE lost < 11 AND drawn < 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_12 (label VARCHAR, catalog VARCHAR, region VARCHAR)
### Question:
What is the label for the catalog of none, and is in the United Kingdom?
### Answer:
SELECT label FROM table_name_12 WHERE catalog = "none" AND region = "united kingdom" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1566848_6 (pictorials VARCHAR, interview_subject VARCHAR)
### Question:
Name the pictorials when the interview subject is steve jobs
### Answer:
SELECT pictorials FROM table_1566848_6 WHERE interview_subject = "Steve Jobs" |
Below is an context that describes a sql 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 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
### Question:
When has a Surface of clay, and an Opponent in the final of andrés gómez javier sánchez?
### Answer:
SELECT date FROM table_name_98 WHERE surface = "clay" AND opponent_in_the_final = "andrés gómez javier 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_51 (place VARCHAR, score VARCHAR)
### Question:
What is the place of the player with a 72-70-67=209 score?
### Answer:
SELECT place FROM table_name_51 WHERE score = 72 - 70 - 67 = 209 |
Below is an context that describes a sql 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 (season VARCHAR, losses VARCHAR)
### Question:
Which season has Losses of 30?
### Answer:
SELECT season FROM table_name_65 WHERE losses = "30" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR)
### Question:
How many attended on march 1?
### Answer:
SELECT AVG(attendance) FROM table_name_19 WHERE date = "march 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_67 (score VARCHAR, opponent VARCHAR)
### Question:
What was the score with the opponent being New Zealand Warriors?
### Answer:
SELECT score FROM table_name_67 WHERE opponent = "new zealand 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_39 (platelet_count VARCHAR, condition VARCHAR)
### Question:
Which Platelet count has a Condition of factor v deficiency?
### Answer:
SELECT platelet_count FROM table_name_39 WHERE condition = "factor v 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_93 (number_of_dances INTEGER, rank_by_average VARCHAR, place VARCHAR)
### Question:
What is the lowest number of dances with a rank larger than 4 and a place of 8?
### Answer:
SELECT MIN(number_of_dances) FROM table_name_93 WHERE rank_by_average > 4 AND place = 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_23 (tournament VARCHAR, date VARCHAR, partner VARCHAR)
### Question:
What Tournament on October 24, 1982 had Alycia Moulton as the Partner?
### Answer:
SELECT tournament FROM table_name_23 WHERE date = "october 24, 1982" AND partner = "alycia moulton" |
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR)
### Question:
What was the score when the team played at the bobcats?
### Answer:
SELECT score FROM table_name_92 WHERE home = "bobcats" |
Below is an context that describes a sql 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 (name VARCHAR, cerclis_id VARCHAR, proposed VARCHAR, county VARCHAR)
### Question:
What name was proposed on 12/30/1982 in rockingham county with a CERCLIS ID of nhd062004569?
### Answer:
SELECT name FROM table_name_87 WHERE proposed = "12/30/1982" AND county = "rockingham" AND cerclis_id = "nhd062004569" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR)
### Question:
Tell me the opponent of week 14
### Answer:
SELECT opponent FROM table_name_59 WHERE week = 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_8 (grid INTEGER, laps INTEGER)
### Question:
What is the highest Grid with over 72 laps?
### Answer:
SELECT MAX(grid) FROM table_name_8 WHERE laps > 72 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
### Question:
Which player was +4 to par and won the Open in 1995?
### Answer:
SELECT player FROM table_name_3 WHERE to_par = "+4" AND year_s__won = "1995" |
Below is an context that describes a sql 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 (date VARCHAR, sample_size VARCHAR, democrat VARCHAR, republican VARCHAR, poll_source VARCHAR)
### Question:
What is the date that the polls were going on at quinnipiac when john mccain was the republican, barack obama was the democrat and the sample size was bigger than 1427?
### Answer:
SELECT date FROM table_name_67 WHERE republican = "john mccain" AND poll_source = "quinnipiac" AND democrat = "barack obama" AND sample_size > 1427 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR)
### Question:
List the name of all rooms sorted by their prices.
### Answer:
SELECT roomName FROM Rooms ORDER BY basePrice |
Below is an context that describes a sql 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 (tournament VARCHAR, date VARCHAR)
### Question:
What tournament was played on May 29, 2010?
### Answer:
SELECT tournament FROM table_name_8 WHERE date = "may 29, 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_63 (mascot VARCHAR, enrollment VARCHAR)
### Question:
Which Mascot has an Enrollment of 640?
### Answer:
SELECT mascot FROM table_name_63 WHERE enrollment = 640 |
Below is an context that describes a sql 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 (apparent_magnitude INTEGER, ngc_number INTEGER)
### Question:
What is the total of Apparent magnitudes for an NGC number larger than 3293?
### Answer:
SELECT SUM(apparent_magnitude) FROM table_name_45 WHERE ngc_number > 3293 |
Below is an context that describes a sql 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 (name_of_deity VARCHAR, name_of_the_state_where_found_in_india VARCHAR)
### Question:
What is the name of the deity that the state of Bihar was named after?
### Answer:
SELECT name_of_deity FROM table_name_29 WHERE name_of_the_state_where_found_in_india = "bihar" |
Below is an context that describes a sql 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 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
### Question:
Name the date with margin of victory of 1 stroke and tournament of legend financial group classic
### Answer:
SELECT date FROM table_name_83 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic" |
Below is an context that describes a sql 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 (label VARCHAR, catalogue__number VARCHAR)
### Question:
What is the label for CAD 2014 CD?
### Answer:
SELECT label FROM table_name_57 WHERE catalogue__number = "cad 2014 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_7 (recipient VARCHAR, year INTEGER)
### Question:
Who was the recipient for Outstanding actress television series prior to 2008?
### Answer:
SELECT recipient FROM table_name_7 WHERE year < 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_name_72 (date VARCHAR, region VARCHAR)
### Question:
What is the release Date for the Region in New Zealand ?
### Answer:
SELECT date FROM table_name_72 WHERE region = "new zealand" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
2007 of 1r is involved in what 2001?
### Answer:
SELECT 2001 FROM table_name_31 WHERE 2007 = "1r" |
Below is an context that describes a sql 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 (grid INTEGER, time VARCHAR, laps VARCHAR)
### Question:
What is the smallest grid when the time is +8.051 and there were less than 23 laps?
### Answer:
SELECT MIN(grid) FROM table_name_43 WHERE time = "+8.051" AND laps < 23 |
Below is an context that describes a sql 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 (air_date VARCHAR, viewers VARCHAR)
### Question:
When did the episode air that had 7.3 viewers?
### Answer:
SELECT air_date FROM table_name_65 WHERE viewers = 7.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_16 (event VARCHAR, method VARCHAR, notes VARCHAR)
### Question:
I want the event for method of points with notes of opening round
### Answer:
SELECT event FROM table_name_16 WHERE method = "points" AND notes = "opening round" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1099080_1 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
### Question:
How many conditions have an unaffected prothrombin time and a prolonged bleeding time
### Answer:
SELECT COUNT(condition) FROM table_1099080_1 WHERE prothrombin_time = "Unaffected" AND bleeding_time = "Prolonged" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25730326_2 (extra_points INTEGER)
### Question:
What is the least number of extra points?
### Answer:
SELECT MIN(extra_points) FROM table_25730326_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_24 (points VARCHAR)
### Question:
What is 1987-88, when Points is "136"?
### Answer:
SELECT 1987 AS _88 FROM table_name_24 WHERE points = 136 |
Below is an context that describes a sql 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 (location VARCHAR, founded VARCHAR, team_nickname VARCHAR)
### Question:
What is the location of the team nicknamed Broncos, which was founded after 1889?
### Answer:
SELECT location FROM table_name_59 WHERE founded > 1889 AND team_nickname = "broncos" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Claims (claim_id VARCHAR, date_claim_made VARCHAR); CREATE TABLE Settlements (claim_id VARCHAR)
### Question:
Which claim incurred the most number of settlements? List the claim id, the date the claim was made, and the number.
### Answer:
SELECT T1.claim_id, T1.date_claim_made, COUNT(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (lane INTEGER, nationality VARCHAR)
### Question:
What is the highest Lane used by a racer from Malta?
### Answer:
SELECT MAX(lane) FROM table_name_67 WHERE nationality = "malta" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR)
### Question:
Name the score for game 66
### Answer:
SELECT score FROM table_17288845_9 WHERE game = 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_70 (ba__place_ VARCHAR, year VARCHAR, team VARCHAR, bb_ VARCHAR, hbp VARCHAR)
### Question:
In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA (Place)?
### Answer:
SELECT ba__place_ FROM table_name_70 WHERE bb_ + hbp > 49 AND team = "seibu lions" AND year = "1992" |
Below is an context that describes a sql 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 (top_5 INTEGER, wins INTEGER)
### Question:
What is the lowest top 5 winners with less than 0?
### Answer:
SELECT MIN(top_5) FROM table_name_30 WHERE wins < 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_23 (club VARCHAR, third VARCHAR)
### Question:
Yumie Hayashi was third for which club?
### Answer:
SELECT club FROM table_name_23 WHERE third = "yumie hayashi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)
### Question:
What is the date of the finale where Holly Bell was runner-up?
### Answer:
SELECT finale FROM table_28962227_1 WHERE runners_up = "Holly Bell" |
Below is an context that describes a sql 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 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)
### Question:
What is the nationality of the player that plays forward and is from depaul?
### Answer:
SELECT nationality FROM table_name_19 WHERE position = "forward" AND school_club_team = "depaul" |
Below is an context that describes a sql 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 (class_aAAAA VARCHAR, class_aAA VARCHAR, atlanta VARCHAR, class_aA VARCHAR, weimar VARCHAR)
### Question:
Where Class AAA is Atlanta and Class AA is Weimar, what is Class AAAAA?
### Answer:
SELECT class_aAAAA FROM table_name_65 WHERE class_aAA = atlanta AND class_aA = weimar |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1984697_53 (city___town VARCHAR, principal VARCHAR)
### Question:
Where's the school that Mark Fletcher is the principal of?
### Answer:
SELECT city___town FROM table_1984697_53 WHERE principal = "Mark Fletcher" |
Below is an context that describes a sql 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 (country VARCHAR, to_par VARCHAR)
### Question:
What is the Country of the Player with a To par of +1?
### Answer:
SELECT country FROM table_name_59 WHERE to_par = "+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_42 (events VARCHAR, player VARCHAR, earnings___$__ VARCHAR)
### Question:
What is the total number of events that Al Geiberger has played with earnings larger than 527,033?
### Answer:
SELECT COUNT(events) FROM table_name_42 WHERE player = "al geiberger" AND earnings___$__ > 527 OFFSET 033 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668336_19 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR)
### Question:
Who were the incumbent(s) when the result was a retired democratic-republican hold and the first elected representative was in 1816>
### Answer:
SELECT incumbent FROM table_2668336_19 WHERE result = "Retired Democratic-Republican hold" AND first_elected = "1816" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Apartment_Buildings (building_id VARCHAR, building_short_name VARCHAR); CREATE TABLE Apartments (room_count INTEGER, building_id VARCHAR)
### Question:
Show the total number of rooms of the apartments in the building with short name "Columbus Square".
### Answer:
SELECT SUM(T2.room_count) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_short_name = "Columbus Square" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.