text
stringlengths 114
1.06k
|
---|
### question: What is the sum of silver medals for the entry with rank 3 and a total of 4 medals? ### answer: SELECT SUM(silver) FROM table_name_43 WHERE total = 4 AND rank = "3" ### context: CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR) |
### question: What season had a goal of 1? ### answer: SELECT season FROM table_name_98 WHERE goals = "1" ### context: CREATE TABLE table_name_98 (season VARCHAR, goals VARCHAR) |
### question: What club was in Netherlands and had 22 goals? ### answer: SELECT club FROM table_name_82 WHERE country = "netherlands" AND goals = "22" ### context: CREATE TABLE table_name_82 (club VARCHAR, country VARCHAR, goals VARCHAR) |
### question: What season had Belgium and 1 goal? ### answer: SELECT season FROM table_name_29 WHERE country = "belgium" AND goals = "1" ### context: CREATE TABLE table_name_29 (season VARCHAR, country VARCHAR, goals VARCHAR) |
### question: Which Year has a Category of best film? ### answer: SELECT MAX(year) FROM table_name_66 WHERE category = "best film" ### context: CREATE TABLE table_name_66 (year INTEGER, category VARCHAR) |
### question: Who is the incumbent from the democratic party in the washington 7 district? ### answer: SELECT incumbent FROM table_name_35 WHERE party = "democratic" AND district = "washington 7" ### context: CREATE TABLE table_name_35 (incumbent VARCHAR, party VARCHAR, district VARCHAR) |
### question: When was the earliest incumbent dave reichert was first elected? ### answer: SELECT MIN(first_elected) FROM table_name_86 WHERE incumbent = "dave reichert" ### context: CREATE TABLE table_name_86 (first_elected INTEGER, incumbent VARCHAR) |
### question: What is the total of the first elected year of incumbent norm dicks? ### answer: SELECT COUNT(first_elected) FROM table_name_29 WHERE incumbent = "norm dicks" ### context: CREATE TABLE table_name_29 (first_elected VARCHAR, incumbent VARCHAR) |
### question: What is the total of the first elected year of the incumbent from the washington 8 district? ### answer: SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "washington 8" ### context: CREATE TABLE table_name_91 (first_elected VARCHAR, district VARCHAR) |
### question: WHAT IS THE START THAT HAS A FINISH BIGGER THAN 3, FROM FORD, AFTER 1969? ### answer: SELECT MAX(start) FROM table_name_83 WHERE finish > 3 AND manufacturer = "ford" AND year > 1969 ### context: CREATE TABLE table_name_83 (start INTEGER, year VARCHAR, finish VARCHAR, manufacturer VARCHAR) |
### question: WHAT MANUFACTURER AFTER 1966 HAD A START SMALLER THAN 5, A WOOD TEAM AND FINISHED 35? ### answer: SELECT manufacturer FROM table_name_5 WHERE year > 1966 AND start < 5 AND team = "wood" AND finish = 35 ### context: CREATE TABLE table_name_5 (manufacturer VARCHAR, finish VARCHAR, team VARCHAR, year VARCHAR, start VARCHAR) |
### question: WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969? ### answer: SELECT COUNT(finish) FROM table_name_6 WHERE start < 20 AND year = 1969 ### context: CREATE TABLE table_name_6 (finish VARCHAR, start VARCHAR, year VARCHAR) |
### question: What is the total number of Pleasure(s), when Psychological Dependence is greater than 1.9, and when Drug is "Benzodiazepines"? ### answer: SELECT COUNT(pleasure) FROM table_name_69 WHERE psychological_dependence > 1.9 AND drug = "benzodiazepines" ### context: CREATE TABLE table_name_69 (pleasure VARCHAR, psychological_dependence VARCHAR, drug VARCHAR) |
### question: What is the highest Psychological Dependence, when Pleasure is less than 2.3, when Drug is "Cannabis", and when Physical Dependence is less than 0.8? ### answer: SELECT MAX(psychological_dependence) FROM table_name_55 WHERE pleasure < 2.3 AND drug = "cannabis" AND physical_dependence < 0.8 ### context: CREATE TABLE table_name_55 (psychological_dependence INTEGER, physical_dependence VARCHAR, pleasure VARCHAR, drug VARCHAR) |
### question: What is the average Mean, when Drug is "Alcohol", and when Psychological Dependence is greater than 1.9? ### answer: SELECT AVG(mean) FROM table_name_98 WHERE drug = "alcohol" AND psychological_dependence > 1.9 ### context: CREATE TABLE table_name_98 (mean INTEGER, drug VARCHAR, psychological_dependence VARCHAR) |
### question: What is the total number of Psychological Dependence, when Pleasure is "2.3", and when Mean is less than 1.9300000000000002? ### answer: SELECT COUNT(psychological_dependence) FROM table_name_91 WHERE pleasure = 2.3 AND mean < 1.9300000000000002 ### context: CREATE TABLE table_name_91 (psychological_dependence VARCHAR, pleasure VARCHAR, mean VARCHAR) |
### question: What is the sum of Pleasure, when Drug is "LSD", and when Psychological Dependence is greater than 1.1? ### answer: SELECT SUM(pleasure) FROM table_name_57 WHERE drug = "lsd" AND psychological_dependence > 1.1 ### context: CREATE TABLE table_name_57 (pleasure INTEGER, drug VARCHAR, psychological_dependence VARCHAR) |
### question: What Country's team is Rajasthan Royals at the 2008 Indian Premier League? ### answer: SELECT country FROM table_name_87 WHERE domestic_tournament = "2008 indian premier league" AND team = "rajasthan royals" ### context: CREATE TABLE table_name_87 (country VARCHAR, domestic_tournament VARCHAR, team VARCHAR) |
### question: What is the Domestic Tournament with Chennai Super Kings Team? ### answer: SELECT domestic_tournament FROM table_name_42 WHERE team = "chennai super kings" ### context: CREATE TABLE table_name_42 (domestic_tournament VARCHAR, team VARCHAR) |
### question: What is the Dolphins Group? ### answer: SELECT group FROM table_name_42 WHERE team = "dolphins" ### context: CREATE TABLE table_name_42 (group VARCHAR, team VARCHAR) |
### question: Who is the player that won in the year 1978? ### answer: SELECT player FROM table_name_81 WHERE year_s__won = "1978" ### context: CREATE TABLE table_name_81 (player VARCHAR, year_s__won VARCHAR) |
### question: What is the Country of the Player with a Score of 73-71-76-70=290? ### answer: SELECT country FROM table_name_58 WHERE score = 73 - 71 - 76 - 70 = 290 ### context: CREATE TABLE table_name_58 (country VARCHAR, score VARCHAR) |
### question: What is Lawson Little's Money ($) amount? ### answer: SELECT money___$__ FROM table_name_30 WHERE player = "lawson little" ### context: CREATE TABLE table_name_30 (money___$__ VARCHAR, player VARCHAR) |
### question: What is the Money ($) amount of the Player with a To par of e? ### answer: SELECT money___$__ FROM table_name_2 WHERE to_par = "e" ### context: CREATE TABLE table_name_2 (money___$__ VARCHAR, to_par VARCHAR) |
### question: What Country has a Player with Playoff Money with a Score of 72-69-73-73=287? ### answer: SELECT country FROM table_name_8 WHERE money___$__ = "playoff" AND score = 72 - 69 - 73 - 73 = 287 ### context: CREATE TABLE table_name_8 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) |
### question: What is Ben Hogan's Place? ### answer: SELECT place FROM table_name_25 WHERE player = "ben hogan" ### context: CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR) |
### question: What is the Place of the Player with a Score of 73-75-71-73=292? ### answer: SELECT place FROM table_name_32 WHERE score = 73 - 75 - 71 - 73 = 292 ### context: CREATE TABLE table_name_32 (place VARCHAR, score VARCHAR) |
### question: How many byes when there are 11 wins and fewer than 5 losses? ### answer: SELECT SUM(byes) FROM table_name_63 WHERE wins = 11 AND losses < 5 ### context: CREATE TABLE table_name_63 (byes INTEGER, wins VARCHAR, losses VARCHAR) |
### question: How many losses when there are less than 0 wins? ### answer: SELECT COUNT(losses) FROM table_name_90 WHERE wins < 0 ### context: CREATE TABLE table_name_90 (losses VARCHAR, wins INTEGER) |
### question: What are the most againsts with more than 11 losses and central murray is Nyah Nyah West Utd? ### answer: SELECT MAX(against) FROM table_name_83 WHERE central_murray = "nyah nyah west utd" AND losses > 11 ### context: CREATE TABLE table_name_83 (against INTEGER, central_murray VARCHAR, losses VARCHAR) |
### question: What is the To par of the player with Money of 7,750 or more? ### answer: SELECT to_par FROM table_name_19 WHERE money___£__ > 7 OFFSET 750 ### context: CREATE TABLE table_name_19 (to_par VARCHAR, money___£__ INTEGER) |
### question: who is the provider when up (up to kbit/s) is 1180? ### answer: SELECT provider FROM table_name_10 WHERE up__up_to_kbit_s_ = 1180 ### context: CREATE TABLE table_name_10 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR) |
### question: what is the highest down (up to kbits/s) when resale is yes, up ( up to kbit/s) is 1180 and provider is 1&1? ### answer: SELECT MAX(down__up_to_kbit_s_) FROM table_name_26 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1180 AND provider = "1&1" ### context: CREATE TABLE table_name_26 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR) |
### question: what is the resale when the down (up to kbit/s) is 24000? ### answer: SELECT resale FROM table_name_41 WHERE down__up_to_kbit_s_ = 24000 ### context: CREATE TABLE table_name_41 (resale VARCHAR, down__up_to_kbit_s_ VARCHAR) |
### question: What is the average down (up to kbit/s) when the provider is willy.tel and the up (kbit/s) is more than 1984? ### answer: SELECT AVG(down__up_to_kbit_s_) FROM table_name_73 WHERE provider = "willy.tel" AND up__up_to_kbit_s_ > 1984 ### context: CREATE TABLE table_name_73 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, up__up_to_kbit_s_ VARCHAR) |
### question: How many totals have a Gold larger than 0, and a Bronze smaller than 0? ### answer: SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0 ### context: CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR) |
### question: Which Total has a Bronze larger than 1, and a Gold larger than 0? ### answer: SELECT MAX(total) FROM table_name_57 WHERE bronze > 1 AND gold > 0 ### context: CREATE TABLE table_name_57 (total INTEGER, bronze VARCHAR, gold VARCHAR) |
### question: What country is Eugene McDowell from? ### answer: SELECT nationality FROM table_name_22 WHERE player = "eugene mcdowell" ### context: CREATE TABLE table_name_22 (nationality VARCHAR, player VARCHAR) |
### question: When was Mario Elie picked in a round before 7? ### answer: SELECT MAX(pick) FROM table_name_75 WHERE player = "mario elie" AND round < 7 ### context: CREATE TABLE table_name_75 (pick INTEGER, player VARCHAR, round VARCHAR) |
### question: In what round did someone from North Carolina State get picked larger than 91? ### answer: SELECT COUNT(round) FROM table_name_99 WHERE school_club_team = "north carolina state" AND pick > 91 ### context: CREATE TABLE table_name_99 (round VARCHAR, school_club_team VARCHAR, pick VARCHAR) |
### question: Which Results have a Category of the best new actor in lead role(female)? ### answer: SELECT results FROM table_name_32 WHERE category = "best new actor in lead role(female)" ### context: CREATE TABLE table_name_32 (results VARCHAR, category VARCHAR) |
### question: What was the category in 2008? ### answer: SELECT category FROM table_name_72 WHERE year = 2008 ### context: CREATE TABLE table_name_72 (category VARCHAR, year VARCHAR) |
### question: Which Character has a Category of favourite naya sadasya? ### answer: SELECT character FROM table_name_68 WHERE category = "favourite naya sadasya" ### context: CREATE TABLE table_name_68 (character VARCHAR, category VARCHAR) |
### question: Which Show has an Award of indian television academy awards? ### answer: SELECT show FROM table_name_77 WHERE award = "indian television academy awards" ### context: CREATE TABLE table_name_77 (show VARCHAR, award VARCHAR) |
### question: What award was won after 2008? ### answer: SELECT award FROM table_name_77 WHERE year > 2008 ### context: CREATE TABLE table_name_77 (award VARCHAR, year INTEGER) |
### question: On what Date did the massacre result with 21 Injured? ### answer: SELECT date FROM table_name_73 WHERE injured = "21" ### context: CREATE TABLE table_name_73 (date VARCHAR, injured VARCHAR) |
### question: What is City / State, when Winner is "Rohan Onslow", and when Circuit is "Oran Park Raceway"? ### answer: SELECT city___state FROM table_name_20 WHERE winner = "rohan onslow" AND circuit = "oran park raceway" ### context: CREATE TABLE table_name_20 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) |
### question: What is Winner, when City / State is "Mallala , South Australia", and when Team is "Elfin Sports Cars"? ### answer: SELECT winner FROM table_name_92 WHERE city___state = "mallala , south australia" AND team = "elfin sports cars" ### context: CREATE TABLE table_name_92 (winner VARCHAR, city___state VARCHAR, team VARCHAR) |
### question: What is Circuit, when Team is "R.J.MacArthur Onslow", and when City / State is "Sydney , New South Wales"? ### answer: SELECT circuit FROM table_name_54 WHERE team = "r.j.macarthur onslow" AND city___state = "sydney , new south wales" ### context: CREATE TABLE table_name_54 (circuit VARCHAR, team VARCHAR, city___state VARCHAR) |
### question: What is Winner, when Team is "R.J.MacArthur Onslow", and when Circuit is "Oran Park Raceway"? ### answer: SELECT winner FROM table_name_29 WHERE team = "r.j.macarthur onslow" AND circuit = "oran park raceway" ### context: CREATE TABLE table_name_29 (winner VARCHAR, team VARCHAR, circuit VARCHAR) |
### question: What is Date, when City / State is "Mallala , South Australia", and when Team is "R.J.MacArthur Onslow"? ### answer: SELECT date FROM table_name_19 WHERE city___state = "mallala , south australia" AND team = "r.j.macarthur onslow" ### context: CREATE TABLE table_name_19 (date VARCHAR, city___state VARCHAR, team VARCHAR) |
### question: What is Winner, when Date is "20 August"? ### answer: SELECT winner FROM table_name_50 WHERE date = "20 august" ### context: CREATE TABLE table_name_50 (winner VARCHAR, date VARCHAR) |
### question: What actor was nominated for best actress? ### answer: SELECT actor FROM table_name_45 WHERE result = "nominated" AND category = "best actress" ### context: CREATE TABLE table_name_45 (actor VARCHAR, result VARCHAR, category VARCHAR) |
### question: What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category? ### answer: SELECT year FROM table_name_80 WHERE film = "bullets over broadway" AND category = "best supporting actress" AND actor = "jennifer tilly" ### context: CREATE TABLE table_name_80 (year VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR) |
### question: What is the result of Samantha Morton being up for best supporting actress in a year later than 1989? ### answer: SELECT result FROM table_name_78 WHERE year > 1989 AND category = "best supporting actress" AND actor = "samantha morton" ### context: CREATE TABLE table_name_78 (result VARCHAR, actor VARCHAR, year VARCHAR, category VARCHAR) |
### question: What film was Dianne Wiest in? ### answer: SELECT film FROM table_name_56 WHERE actor = "dianne wiest" ### context: CREATE TABLE table_name_56 (film VARCHAR, actor VARCHAR) |
### question: Which class has fewer than 10 and number(s) names? ### answer: SELECT class FROM table_name_84 WHERE quantity < 10 AND number_s_ = "names" ### context: CREATE TABLE table_name_84 (class VARCHAR, quantity VARCHAR, number_s_ VARCHAR) |
### question: What is the type with a quantity of fewer than 6 and number(s) 5201? ### answer: SELECT type FROM table_name_88 WHERE quantity < 6 AND number_s_ = "5201" ### context: CREATE TABLE table_name_88 (type VARCHAR, quantity VARCHAR, number_s_ VARCHAR) |
### question: How many byes were then when there were less than 737 against? ### answer: SELECT SUM(byes) FROM table_name_13 WHERE against < 737 ### context: CREATE TABLE table_name_13 (byes INTEGER, against INTEGER) |
### question: How many wins were there when the byes were more than 3? ### answer: SELECT COUNT(wins) FROM table_name_27 WHERE byes > 3 ### context: CREATE TABLE table_name_27 (wins VARCHAR, byes INTEGER) |
### question: How many wins were there when draws were more than 0? ### answer: SELECT MIN(wins) FROM table_name_5 WHERE draws > 0 ### context: CREATE TABLE table_name_5 (wins INTEGER, draws INTEGER) |
### question: How many wins did Glenelg FL of bahgallah have when there were more than 3 byes? ### answer: SELECT COUNT(wins) FROM table_name_93 WHERE glenelg_fl = "bahgallah" AND byes > 3 ### context: CREATE TABLE table_name_93 (wins VARCHAR, glenelg_fl VARCHAR, byes VARCHAR) |
### question: What is Date, when Opponent in Final is "Guy Forget"? ### answer: SELECT date FROM table_name_64 WHERE opponent_in_final = "guy forget" ### context: CREATE TABLE table_name_64 (date VARCHAR, opponent_in_final VARCHAR) |
### question: What is Opponent in Final, when Date is "13 January 1992"? ### answer: SELECT opponent_in_final FROM table_name_12 WHERE date = "13 january 1992" ### context: CREATE TABLE table_name_12 (opponent_in_final VARCHAR, date VARCHAR) |
### question: What is Opponent in Final, when Surface is "Hard", and when Date is "13 January 1992"? ### answer: SELECT opponent_in_final FROM table_name_31 WHERE surface = "hard" AND date = "13 january 1992" ### context: CREATE TABLE table_name_31 (opponent_in_final VARCHAR, surface VARCHAR, date VARCHAR) |
### question: What is the Height of the Player with a Date of Birth of 1979-06-12? ### answer: SELECT height FROM table_name_23 WHERE date_of_birth = "1979-06-12" ### context: CREATE TABLE table_name_23 (height VARCHAR, date_of_birth VARCHAR) |
### question: What is the Height of the Player with a Date of Birth of 1982-07-05? ### answer: SELECT height FROM table_name_19 WHERE date_of_birth = "1982-07-05" ### context: CREATE TABLE table_name_19 (height VARCHAR, date_of_birth VARCHAR) |
### question: What is the Height of the Player with a Date of Birth of 1982-07-05? ### answer: SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05" ### context: CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR) |
### question: What is the Weight of the Player with a Date of Birth of 1979-09-26? ### answer: SELECT weight FROM table_name_54 WHERE date_of_birth = "1979-09-26" ### context: CREATE TABLE table_name_54 (weight VARCHAR, date_of_birth VARCHAR) |
### question: What is Elise Norwood's Pos.? ### answer: SELECT pos FROM table_name_41 WHERE name = "elise norwood" ### context: CREATE TABLE table_name_41 (pos VARCHAR, name VARCHAR) |
### question: What is the Club of the Player with a Date of Birth of 1977-02-03? ### answer: SELECT club FROM table_name_61 WHERE date_of_birth = "1977-02-03" ### context: CREATE TABLE table_name_61 (club VARCHAR, date_of_birth VARCHAR) |
### question: What home has 1-5 as the away? ### answer: SELECT home FROM table_name_69 WHERE away = "1-5" ### context: CREATE TABLE table_name_69 (home VARCHAR, away VARCHAR) |
### question: What league has 2-3 as the away? ### answer: SELECT league FROM table_name_18 WHERE away = "2-3" ### context: CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR) |
### question: What away has 1-4 as the home? ### answer: SELECT away FROM table_name_82 WHERE home = "1-4" ### context: CREATE TABLE table_name_82 (away VARCHAR, home VARCHAR) |
### question: What teams has 1-5 as the away? ### answer: SELECT teams FROM table_name_96 WHERE away = "1-5" ### context: CREATE TABLE table_name_96 (teams VARCHAR, away VARCHAR) |
### question: What Date had a Series of ATCC Round 6? ### answer: SELECT date FROM table_name_28 WHERE series = "atcc round 6" ### context: CREATE TABLE table_name_28 (date VARCHAR, series VARCHAR) |
### question: Who was the Winner in the AMC Round 4 at Lakeside International Raceway? ### answer: SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4" ### context: CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR) |
### question: What is the week 15 result for the team that had a week 9 result of Washington (6-1)? ### answer: SELECT week_15__final__dec_9 FROM table_name_98 WHERE week_9_oct_29 = "washington (6-1)" ### context: CREATE TABLE table_name_98 (week_15__final__dec_9 VARCHAR, week_9_oct_29 VARCHAR) |
### question: What is the week 10 result for the tean when the week 15 result is Illinois (10-1)? ### answer: SELECT week_10_nov_5 FROM table_name_71 WHERE week_15__final__dec_9 = "illinois (10-1)" ### context: CREATE TABLE table_name_71 (week_10_nov_5 VARCHAR, week_15__final__dec_9 VARCHAR) |
### question: What is the week 10 result where the week 9 result was Dropped: Maryland South Carolina? ### answer: SELECT week_10_nov_5 FROM table_name_13 WHERE week_9_oct_29 = "dropped: maryland south carolina" ### context: CREATE TABLE table_name_13 (week_10_nov_5 VARCHAR, week_9_oct_29 VARCHAR) |
### question: What is the week 13 result where the week 14 resulted in Maryland (10-1)? ### answer: SELECT week_13_nov_26 FROM table_name_18 WHERE week_14_dec_3 = "maryland (10-1)" ### context: CREATE TABLE table_name_18 (week_13_nov_26 VARCHAR, week_14_dec_3 VARCHAR) |
### question: What happened in week 14 when week 11's result was Michigan (7-2)? ### answer: SELECT week_14_dec_3 FROM table_name_17 WHERE week_11_nov_12 = "michigan (7-2)" ### context: CREATE TABLE table_name_17 (week_14_dec_3 VARCHAR, week_11_nov_12 VARCHAR) |
### question: What happened in week 12 when week 13 resulted in Tennessee (9-1)? ### answer: SELECT week_12_nov_19 FROM table_name_20 WHERE week_13_nov_26 = "tennessee (9-1)" ### context: CREATE TABLE table_name_20 (week_12_nov_19 VARCHAR, week_13_nov_26 VARCHAR) |
### question: What is the fewest bronze medals when the total medals is less than 10, and the gold medals less than 0? ### answer: SELECT MIN(bronze) FROM table_name_16 WHERE total < 10 AND gold < 0 ### context: CREATE TABLE table_name_16 (bronze INTEGER, total VARCHAR, gold VARCHAR) |
### question: With 8 as the rank, and a total of more than 2 medals what is the average bronze medals? ### answer: SELECT AVG(bronze) FROM table_name_34 WHERE rank = "8" AND total > 2 ### context: CREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, total VARCHAR) |
### question: What is the maximum total medals when the rank is 8? ### answer: SELECT MAX(total) FROM table_name_64 WHERE rank = "8" ### context: CREATE TABLE table_name_64 (total INTEGER, rank VARCHAR) |
### question: What is the largest number of gold medals when the bronze medals is less than 49, and there is 22 silver medals, and the total is less than 60? ### answer: SELECT MAX(gold) FROM table_name_25 WHERE bronze < 49 AND silver = 22 AND total < 60 ### context: CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR) |
### question: When the number of gold medals is greater than 59, and the rank is total, what is the average bronze medals? ### answer: SELECT AVG(bronze) FROM table_name_89 WHERE rank = "total" AND gold > 59 ### context: CREATE TABLE table_name_89 (bronze INTEGER, rank VARCHAR, gold VARCHAR) |
### question: What is the smallest number of medals a country with more than 14 silver has? ### answer: SELECT MIN(total) FROM table_name_78 WHERE silver > 14 ### context: CREATE TABLE table_name_78 (total INTEGER, silver INTEGER) |
### question: What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals? ### answer: SELECT SUM(rank) FROM table_name_67 WHERE gold > 2 AND total < 31 AND silver < 5 ### context: CREATE TABLE table_name_67 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) |
### question: WHat was the score for Phil Mickelson when he placed t3? ### answer: SELECT score FROM table_name_60 WHERE place = "t3" AND player = "phil mickelson" ### context: CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR) |
### question: What place did the golfer take whose country is South Africa? ### answer: SELECT place FROM table_name_72 WHERE country = "south africa" ### context: CREATE TABLE table_name_72 (place VARCHAR, country VARCHAR) |
### question: What was the result of the game played at Jeppesen Stadium? ### answer: SELECT result FROM table_name_95 WHERE game_site = "jeppesen stadium" ### context: CREATE TABLE table_name_95 (result VARCHAR, game_site VARCHAR) |
### question: What week was the game played on November 12, 1961, with an attendance of 7,859 played? ### answer: SELECT MIN(week) FROM table_name_71 WHERE date = "november 12, 1961" AND attendance < 7 OFFSET 859 ### context: CREATE TABLE table_name_71 (week INTEGER, date VARCHAR, attendance VARCHAR) |
### question: What decade is the artist the replacements? ### answer: SELECT decade FROM table_name_92 WHERE artist = "the replacements" ### context: CREATE TABLE table_name_92 (decade VARCHAR, artist VARCHAR) |
### question: What is the number of households in the county with median income of $65,240 and population greater than 744,344? ### answer: SELECT SUM(number_of_households) FROM table_name_76 WHERE median_family_income = "$65,240" AND population > 744 OFFSET 344 ### context: CREATE TABLE table_name_76 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) |
### question: What is the population of Tioga county? ### answer: SELECT population FROM table_name_93 WHERE county = "tioga" ### context: CREATE TABLE table_name_93 (population VARCHAR, county VARCHAR) |
### question: Which Constructor has Laps larger than 9, and a Grid smaller than 2? ### answer: SELECT constructor FROM table_name_7 WHERE laps > 9 AND grid < 2 ### context: CREATE TABLE table_name_7 (constructor VARCHAR, laps VARCHAR, grid VARCHAR) |
### question: What's filiberto rivera's height? ### answer: SELECT COUNT(height) FROM table_name_54 WHERE player = "filiberto rivera" ### context: CREATE TABLE table_name_54 (height VARCHAR, player VARCHAR) |
### question: Who has a position of sg? ### answer: SELECT player FROM table_name_86 WHERE position = "sg" ### context: CREATE TABLE table_name_86 (player VARCHAR, position VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.