question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What shows for 2006, when 2013 is 2–4? | CREATE TABLE table_name_64 (Id VARCHAR) | {
"SQL_Query": "SELECT 2006 FROM table_name_64 WHERE 2013 = \"2–4\""
} |
What shows for 2013 when the 2012 is 2r, and a 2009 is 2r? | CREATE TABLE table_name_29 (Id VARCHAR) | {
"SQL_Query": "SELECT 2013 FROM table_name_29 WHERE 2012 = \"2r\" AND 2009 = \"2r\""
} |
What is the 2006 when the 2013 is 1r, and the 2012 is 1r? | CREATE TABLE table_name_89 (Id VARCHAR) | {
"SQL_Query": "SELECT 2006 FROM table_name_89 WHERE 2013 = \"1r\" AND 2012 = \"1r\""
} |
What is the 2006 when the 2013 is 2r, and a Tournament was the us open? | CREATE TABLE table_name_91 (tournament VARCHAR) | {
"SQL_Query": "SELECT 2006 FROM table_name_91 WHERE 2013 = \"2r\" AND tournament = \"us open\""
} |
What is the Tournament when the 2013 is 2r, and a 2006 is 1r? | CREATE TABLE table_name_26 (tournament VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_26 WHERE 2013 = \"2r\" AND 2006 = \"1r\""
} |
What is the Tournament when the 2013 is 1r? | CREATE TABLE table_name_54 (tournament VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_54 WHERE 2013 = \"1r\""
} |
When in 2008 that has a 2007 of f? | CREATE TABLE table_name_30 (Id VARCHAR) | {
"SQL_Query": "SELECT 2008 FROM table_name_30 WHERE 2007 = \"f\""
} |
Which Tournament has a 2007 of 19–4? | CREATE TABLE table_name_3 (tournament VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_3 WHERE 2007 = \"19–4\""
} |
WHat in 2005 has a Win % of 82.61? | CREATE TABLE table_name_59 (win__percentage VARCHAR) | {
"SQL_Query": "SELECT 2005 FROM table_name_59 WHERE win__percentage = \"82.61\""
} |
What in 2007 has a 2008 of sf, and a 2010 of f? | CREATE TABLE table_name_95 (Id VARCHAR) | {
"SQL_Query": "SELECT 2007 FROM table_name_95 WHERE 2008 = \"sf\" AND 2010 = \"f\""
} |
What in 2013 has a 2009 of 3r? | CREATE TABLE table_name_29 (Id VARCHAR) | {
"SQL_Query": "SELECT 2013 FROM table_name_29 WHERE 2009 = \"3r\""
} |
What in 2007 has a 2010 of qf, and a 2012 of w? | CREATE TABLE table_name_92 (Id VARCHAR) | {
"SQL_Query": "SELECT 2007 FROM table_name_92 WHERE 2010 = \"qf\" AND 2012 = \"w\""
} |
What is the name of Team 2 with a Team 1 of Al Qadsia? | CREATE TABLE table_name_4 (team_2 VARCHAR, team_1 VARCHAR) | {
"SQL_Query": "SELECT team_2 FROM table_name_4 WHERE team_1 = \"al qadsia\""
} |
What is the 1st leg of the Al Fahaheel Team 1? | CREATE TABLE table_name_11 (team_1 VARCHAR) | {
"SQL_Query": "SELECT 1 AS st_leg FROM table_name_11 WHERE team_1 = \"al fahaheel\""
} |
What is the Ground with an Away that is central blues? | CREATE TABLE table_name_7 (ground VARCHAR, away VARCHAR) | {
"SQL_Query": "SELECT ground FROM table_name_7 WHERE away = \"central blues\""
} |
What is the Away with a Time that is 14:00? | CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT away FROM table_name_28 WHERE time = \"14:00\""
} |
What is the Date with a Time that is 18:45? | CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_6 WHERE time = \"18:45\""
} |
What is the Score with a Date that is 2008-06-28? | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_35 WHERE date = \"2008-06-28\""
} |
Which player was in the Omonia Nicosia club? | CREATE TABLE table_name_5 (player VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_5 WHERE club = \"omonia nicosia\""
} |
Which league's nationality was Italy when there were 62 points? | CREATE TABLE table_name_20 (league VARCHAR, nationality VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT league FROM table_name_20 WHERE nationality = \"italy\" AND points = \"62\""
} |
What is the value for the item "Lost" when the value "Tries" is 47? | CREATE TABLE table_name_86 (lost VARCHAR, tries_for VARCHAR) | {
"SQL_Query": "SELECT lost FROM table_name_86 WHERE tries_for = \"47\""
} |
What is the value for the item "Tries" when the value of the item "Played" is 18 and the value of the item "Points" is 375? | CREATE TABLE table_name_16 (tries_for VARCHAR, played VARCHAR, points_against VARCHAR) | {
"SQL_Query": "SELECT tries_for FROM table_name_16 WHERE played = \"18\" AND points_against = \"375\""
} |
What is the value of the item "Points" when the value of the item "Points against" is 272? | CREATE TABLE table_name_62 (points_for VARCHAR, points_against VARCHAR) | {
"SQL_Query": "SELECT points_for FROM table_name_62 WHERE points_against = \"272\""
} |
Which Height (cm) has a Birthplace of bloomfield hills, michigan? | CREATE TABLE table_name_52 (height__cm_ INTEGER, birthplace VARCHAR) | {
"SQL_Query": "SELECT AVG(height__cm_) FROM table_name_52 WHERE birthplace = \"bloomfield hills, michigan\""
} |
Which Height (cm) has a Birthplace of new canaan, connecticut? | CREATE TABLE table_name_52 (height__cm_ VARCHAR, birthplace VARCHAR) | {
"SQL_Query": "SELECT COUNT(height__cm_) FROM table_name_52 WHERE birthplace = \"new canaan, connecticut\""
} |
Which Class has a Number at Lincoln smaller than 1 and a Wheel Arrangement of 0-6-0? | CREATE TABLE table_name_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR) | {
"SQL_Query": "SELECT class FROM table_name_60 WHERE number_at_lincoln < 1 AND wheel_arrangement = \"0-6-0\""
} |
Which Class has a Number at Lincoln larger than 0 and a Number at Doncaster of 8? | CREATE TABLE table_name_88 (class VARCHAR, number_at_lincoln VARCHAR, number_at_doncaster VARCHAR) | {
"SQL_Query": "SELECT class FROM table_name_88 WHERE number_at_lincoln > 0 AND number_at_doncaster = 8"
} |
What was the loss for Boris Picano-Nacci? | CREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT loss FROM table_name_94 WHERE name = \"boris picano-nacci\""
} |
Which Score has smaller than 1994, and a Partner of elizabeth sayers smylie? | CREATE TABLE table_name_54 (score VARCHAR, year VARCHAR, partner VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_54 WHERE year < 1994 AND partner = \"elizabeth sayers smylie\""
} |
Who was the Partner that was a winner, a Year smaller than 1993, and a Score of 6–4, 6–2? | CREATE TABLE table_name_94 (partner VARCHAR, score VARCHAR, outcome VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT partner FROM table_name_94 WHERE outcome = \"winner\" AND year < 1993 AND score = \"6–4, 6–2\""
} |
What tournament had a victory of a 1 stroke margin and the final winning score 69-75-71-70? | CREATE TABLE table_name_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_1 WHERE margin_of_victory = \"1 stroke\" AND winning_score = \"69-75-71-70\""
} |
Which Loera has a Source of surveyusa, and a Date of may 16–may 18, 2008? | CREATE TABLE table_name_47 (loera VARCHAR, source VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT loera FROM table_name_47 WHERE source = \"surveyusa\" AND date = \"may 16–may 18, 2008\""
} |
Which Goberman has a Date of april 28–april 30, 2008? | CREATE TABLE table_name_63 (goberman VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT goberman FROM table_name_63 WHERE date = \"april 28–april 30, 2008\""
} |
Which Neville has a Novick of 23%? | CREATE TABLE table_name_62 (neville VARCHAR, novick VARCHAR) | {
"SQL_Query": "SELECT neville FROM table_name_62 WHERE novick = \"23%\""
} |
Which Goberman has an Obrist of 2%, and a Merkley of 34%? | CREATE TABLE table_name_9 (goberman VARCHAR, obrist VARCHAR, merkley VARCHAR) | {
"SQL_Query": "SELECT goberman FROM table_name_9 WHERE obrist = \"2%\" AND merkley = \"34%\""
} |
Which Novick has a Source of surveyusa, and a Neville of 8%? | CREATE TABLE table_name_59 (novick VARCHAR, source VARCHAR, neville VARCHAR) | {
"SQL_Query": "SELECT novick FROM table_name_59 WHERE source = \"surveyusa\" AND neville = \"8%\""
} |
Which Date has a Novick of 26%? | CREATE TABLE table_name_48 (date VARCHAR, novick VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_48 WHERE novick = \"26%\""
} |
What is the Coach with a Big Ten that is 2nd (79)? | CREATE TABLE table_name_72 (coach VARCHAR, big_ten VARCHAR) | {
"SQL_Query": "SELECT coach FROM table_name_72 WHERE big_ten = \"2nd (79)\""
} |
What is the Season with a Big Ten that is 2nd (386)? | CREATE TABLE table_name_6 (season VARCHAR, big_ten VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_6 WHERE big_ten = \"2nd (386)\""
} |
What is the Coach with a Big Ten that is 3rd (278)? | CREATE TABLE table_name_92 (coach VARCHAR, big_ten VARCHAR) | {
"SQL_Query": "SELECT coach FROM table_name_92 WHERE big_ten = \"3rd (278)\""
} |
What is the Coach with a Big Ten that is 1st (148)? | CREATE TABLE table_name_39 (coach VARCHAR, big_ten VARCHAR) | {
"SQL_Query": "SELECT coach FROM table_name_39 WHERE big_ten = \"1st (148)\""
} |
What is the total of First Season games with 1537 Wins and a Season greater than 109? | CREATE TABLE table_name_71 (first_season INTEGER, wins VARCHAR, seasons VARCHAR) | {
"SQL_Query": "SELECT SUM(first_season) FROM table_name_71 WHERE wins = 1537 AND seasons > 109"
} |
How many wins were there for Washington State College with losses greater than 980 and a first season before 1906 and rank greater than 42? | CREATE TABLE table_name_29 (wins VARCHAR, rank VARCHAR, college VARCHAR, losses VARCHAR, first_season VARCHAR) | {
"SQL_Query": "SELECT COUNT(wins) FROM table_name_29 WHERE losses > 980 AND first_season < 1906 AND college = \"washington state\" AND rank > 42"
} |
What is the total number of rank with losses less than 992, North Carolina State College and a season greater than 101? | CREATE TABLE table_name_87 (rank VARCHAR, seasons VARCHAR, losses VARCHAR, college VARCHAR) | {
"SQL_Query": "SELECT COUNT(rank) FROM table_name_87 WHERE losses < 992 AND college = \"north carolina state\" AND seasons > 101"
} |
What is the total number of bronzes associated with 1 silver, ranks under 6 and under 6 golds? | CREATE TABLE table_name_77 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_77 WHERE silver = 1 AND rank < 6 AND gold < 6"
} |
What is the highest number of bronzes for teams ranked number 7 with more than 0 silver? | CREATE TABLE table_name_77 (bronze INTEGER, silver VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MAX(bronze) FROM table_name_77 WHERE silver > 0 AND rank = 7"
} |
What is the average total for teams with more than 1 gold, ranked over 3 and more than 3 bronze? | CREATE TABLE table_name_39 (total INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT AVG(total) FROM table_name_39 WHERE gold > 1 AND rank > 3 AND bronze > 3"
} |
What is the sum of bronzes for teams with more than 2 gold, ranked under 3, and less than 22 silver? | CREATE TABLE table_name_82 (bronze INTEGER, silver VARCHAR, gold VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_82 WHERE gold > 2 AND rank < 3 AND silver < 22"
} |
What is the sum of silvers for teams with ranks over 3 and totals under 2? | CREATE TABLE table_name_98 (silver INTEGER, rank VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT SUM(silver) FROM table_name_98 WHERE rank > 3 AND total < 2"
} |
What is the number of Games for the Maccabi Tel Aviv Team with less than 208 Rebounds? | CREATE TABLE table_name_47 (games INTEGER, team VARCHAR, rebounds VARCHAR) | {
"SQL_Query": "SELECT AVG(games) FROM table_name_47 WHERE team = \"maccabi tel aviv\" AND rebounds < 208"
} |
How many Rebounds did Novica Veličković get in less than 22 Games? | CREATE TABLE table_name_6 (rebounds INTEGER, name VARCHAR, games VARCHAR) | {
"SQL_Query": "SELECT SUM(rebounds) FROM table_name_6 WHERE name = \"novica veličković\" AND games < 22"
} |
How many Games for Terence Morris? | CREATE TABLE table_name_57 (games VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT games FROM table_name_57 WHERE name = \"terence morris\""
} |
What is the number of Games for Partizan Belgrade player Nikola Peković with a Rank of more than 4? | CREATE TABLE table_name_25 (games INTEGER, rank VARCHAR, team VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT MIN(games) FROM table_name_25 WHERE team = \"partizan belgrade\" AND name = \"nikola peković\" AND rank > 4"
} |
Which year's rank was #4 when the country was the US? | CREATE TABLE table_name_55 (year VARCHAR, rank VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_55 WHERE rank = \"#4\" AND country = \"us\""
} |
Which publication happened in the UK? | CREATE TABLE table_name_75 (publication VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT publication FROM table_name_75 WHERE country = \"uk\""
} |
Which rank's country is the US when the accolade is 40 best albums of the year? | CREATE TABLE table_name_96 (rank VARCHAR, country VARCHAR, accolade VARCHAR) | {
"SQL_Query": "SELECT rank FROM table_name_96 WHERE country = \"us\" AND accolade = \"40 best albums of the year\""
} |
What is the nationality of the HMS Cheshire? | CREATE TABLE table_name_32 (nationality VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_32 WHERE name = \"hms cheshire\""
} |
What was the final score with Guillermo Vilas as the opponent in the final, that happened after 1972? | CREATE TABLE table_name_81 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score_in_the_final FROM table_name_81 WHERE opponent_in_the_final = \"guillermo vilas\" AND date > 1972"
} |
Which points has the driver Paul Tracy? | CREATE TABLE table_name_56 (points VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT points FROM table_name_56 WHERE driver = \"paul tracy\""
} |
What grid has 78 laps, and Ronnie Bremer as driver? | CREATE TABLE table_name_54 (grid VARCHAR, laps VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT grid FROM table_name_54 WHERE laps = 78 AND driver = \"ronnie bremer\""
} |
Who scored with a grid of 10 and the highest amount of laps? | CREATE TABLE table_name_21 (laps INTEGER, grid VARCHAR) | {
"SQL_Query": "SELECT MAX(laps) FROM table_name_21 WHERE grid = 10"
} |
Who was Fourth in the 2008 Telstra Men's Pro Event? | CREATE TABLE table_name_93 (fourth VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT fourth FROM table_name_93 WHERE event = \"2008 telstra men's pro\""
} |
Who was the Winner when Selby Riddle came in Fourth? | CREATE TABLE table_name_26 (winner VARCHAR, fourth VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_26 WHERE fourth = \"selby riddle\""
} |
Who was in Second Place with Isabelle Brayley came in Fourth? | CREATE TABLE table_name_31 (second VARCHAR, fourth VARCHAR) | {
"SQL_Query": "SELECT second FROM table_name_31 WHERE fourth = \"isabelle brayley\""
} |
What is the average Total Freshwater Withdrawal (km 3 /yr), when Industrial Use (m 3 /p/yr)(in %) is 337(63%), and when Per Capita Withdrawal (m 3 /p/yr) is greater than 535? | CREATE TABLE table_name_5 (total_freshwater_withdrawal__km_3__yr_ INTEGER, industrial_use__m_3__p_yr__in__percentage_ VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR) | {
"SQL_Query": "SELECT AVG(total_freshwater_withdrawal__km_3__yr_) FROM table_name_5 WHERE industrial_use__m_3__p_yr__in__percentage_ = \"337(63%)\" AND per_capita_withdrawal__m_3__p_yr_ > 535"
} |
What is the highest Per Capita Withdrawal (m 3 /p/yr), when Agricultural Use (m 3 /p/yr)(in %) is 1363(92%), and when Total Freshwater Withdrawal (km 3 /yr) is less than 42.7? | CREATE TABLE table_name_22 (per_capita_withdrawal__m_3__p_yr_ INTEGER, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR) | {
"SQL_Query": "SELECT MAX(per_capita_withdrawal__m_3__p_yr_) FROM table_name_22 WHERE agricultural_use__m_3__p_yr__in__percentage_ = \"1363(92%)\" AND total_freshwater_withdrawal__km_3__yr_ < 42.7"
} |
What is Agricultural Use (m 3 /p/yr)(in %), when Per Capita Withdrawal (m 3 /p/yr) is greater than 923, and when Domestic Use (m 3 /p/yr)(in %) is 73(7%)? | CREATE TABLE table_name_7 (agricultural_use__m_3__p_yr__in__percentage_ VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR, domestic_use__m_3__p_yr__in__percentage_ VARCHAR) | {
"SQL_Query": "SELECT agricultural_use__m_3__p_yr__in__percentage_ FROM table_name_7 WHERE per_capita_withdrawal__m_3__p_yr_ > 923 AND domestic_use__m_3__p_yr__in__percentage_ = \"73(7%)\""
} |
What is Industrial Use (m 3 /p/yr)(in %), when Total Freshwater Withdrawal (km 3/yr) is less than 82.75, and when Agricultural Use (m 3 /p/yr)(in %) is 1363(92%)? | CREATE TABLE table_name_32 (industrial_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR) | {
"SQL_Query": "SELECT industrial_use__m_3__p_yr__in__percentage_ FROM table_name_32 WHERE total_freshwater_withdrawal__km_3__yr_ < 82.75 AND agricultural_use__m_3__p_yr__in__percentage_ = \"1363(92%)\""
} |
Who was the leading score in the game at the Warriors? | CREATE TABLE table_name_54 (leading_scorer VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT leading_scorer FROM table_name_54 WHERE home = \"warriors\""
} |
How many average cuts made when 11 is the Top-10? | CREATE TABLE table_name_38 (cuts_made INTEGER, top_10 VARCHAR) | {
"SQL_Query": "SELECT AVG(cuts_made) FROM table_name_38 WHERE top_10 = 11"
} |
When the wins are less than 0 and the Top-5 1 what is the average cuts? | CREATE TABLE table_name_31 (cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT AVG(cuts_made) FROM table_name_31 WHERE top_5 = 1 AND wins < 0"
} |
What is the average Top-10 with a greater than 11 Top-25 and a less than 2 wins? | CREATE TABLE table_name_15 (top_10 INTEGER, top_25 VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT AVG(top_10) FROM table_name_15 WHERE top_25 > 11 AND wins < 2"
} |
What is the total of wins when the cuts made is 76 and the events greater than 115? | CREATE TABLE table_name_3 (wins INTEGER, cuts_made VARCHAR, events VARCHAR) | {
"SQL_Query": "SELECT SUM(wins) FROM table_name_3 WHERE cuts_made = 76 AND events > 115"
} |
What are the largest cuts made when the events are less than 21? | CREATE TABLE table_name_11 (cuts_made INTEGER, events INTEGER) | {
"SQL_Query": "SELECT MAX(cuts_made) FROM table_name_11 WHERE events < 21"
} |
What is the lowest Top-25 that has 3 Events and Wins greater than 0? | CREATE TABLE table_name_94 (top_25 INTEGER, events VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT MIN(top_25) FROM table_name_94 WHERE events = 3 AND wins > 0"
} |
What is the Wins of the Top-25 of 1 and 7 Events? | CREATE TABLE table_name_66 (wins VARCHAR, top_25 VARCHAR, events VARCHAR) | {
"SQL_Query": "SELECT wins FROM table_name_66 WHERE top_25 = 1 AND events = 7"
} |
What is the lowest Top-25 with Wins less than 0? | CREATE TABLE table_name_2 (top_25 INTEGER, wins INTEGER) | {
"SQL_Query": "SELECT MIN(top_25) FROM table_name_2 WHERE wins < 0"
} |
What is the total number of cuts made of tournaments with 2 Events? | CREATE TABLE table_name_81 (cuts_made VARCHAR, events VARCHAR) | {
"SQL_Query": "SELECT COUNT(cuts_made) FROM table_name_81 WHERE events = 2"
} |
Which Bleeding has a Condition of congenital afibrinogenemia? | CREATE TABLE table_name_75 (bleeding_time VARCHAR, condition VARCHAR) | {
"SQL_Query": "SELECT bleeding_time FROM table_name_75 WHERE condition = \"congenital afibrinogenemia\""
} |
which Partial thromboplastin time has a Condition of liver failure , early? | CREATE TABLE table_name_61 (partial_thromboplastin_time VARCHAR, condition VARCHAR) | {
"SQL_Query": "SELECT partial_thromboplastin_time FROM table_name_61 WHERE condition = \"liver failure , early\""
} |
Which Condition has an unaffected Partial thromboplastin time, Platelet count, and a Prothrombin time? | CREATE TABLE table_name_46 (condition VARCHAR, prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR) | {
"SQL_Query": "SELECT condition FROM table_name_46 WHERE partial_thromboplastin_time = \"unaffected\" AND platelet_count = \"unaffected\" AND prothrombin_time = \"unaffected\""
} |
Which Condition has an unaffected Prothrombin time and a Bleeding time, and a Partial thromboplastin time of prolonged? | CREATE TABLE table_name_73 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) | {
"SQL_Query": "SELECT condition FROM table_name_73 WHERE prothrombin_time = \"unaffected\" AND bleeding_time = \"unaffected\" AND partial_thromboplastin_time = \"prolonged\""
} |
What margin was in after 1981, and was Roberto De Vicenzo runner-up? | CREATE TABLE table_name_88 (margin VARCHAR, year VARCHAR, runner_s__up VARCHAR) | {
"SQL_Query": "SELECT margin FROM table_name_88 WHERE year > 1981 AND runner_s__up = \"roberto de vicenzo\""
} |
What championship was in 1985? | CREATE TABLE table_name_30 (championship VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT championship FROM table_name_30 WHERE year = 1985"
} |
What is the number of bronze medals when the total medals were 78 and there were less than 12 golds? | CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_39 WHERE total = 78 AND gold < 12"
} |
What is the average number of gold medals when the total was 1335 medals, with more than 469 bronzes and more than 14 silvers? | CREATE TABLE table_name_89 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT AVG(gold) FROM table_name_89 WHERE silver > 14 AND total = 1335 AND bronze > 469"
} |
What is the total amount of gold medals when there were more than 20 silvers and there were 135 bronze medals? | CREATE TABLE table_name_22 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT COUNT(gold) FROM table_name_22 WHERE silver > 20 AND bronze = 135"
} |
What is the average number of bronze medals for total of all nations? | CREATE TABLE table_name_85 (bronze INTEGER, nation VARCHAR) | {
"SQL_Query": "SELECT AVG(bronze) FROM table_name_85 WHERE nation = \"total\""
} |
What is the sum of gold medals for a rank of 14? | CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR) | {
"SQL_Query": "SELECT SUM(gold) FROM table_name_95 WHERE rank = \"14\""
} |
Which rank has 1 silver medal and more than 1 gold medal? | CREATE TABLE table_name_38 (rank VARCHAR, silver VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT rank FROM table_name_38 WHERE silver = 1 AND gold > 1"
} |
What is the Clubs when there are 4 for the number of fixtures? | CREATE TABLE table_name_3 (clubs VARCHAR, number_of_fixtures VARCHAR) | {
"SQL_Query": "SELECT clubs FROM table_name_3 WHERE number_of_fixtures = 4"
} |
What is the sum of Number of fixtures when the rounds shows quarter-finals? | CREATE TABLE table_name_65 (number_of_fixtures INTEGER, round VARCHAR) | {
"SQL_Query": "SELECT SUM(number_of_fixtures) FROM table_name_65 WHERE round = \"quarter-finals\""
} |
What is the New entries this round when the round is the semi-finals? | CREATE TABLE table_name_18 (new_entries_this_round VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT new_entries_this_round FROM table_name_18 WHERE round = \"semi-finals\""
} |
What is the Round when the number of fixtures is more than 2, and the Main date of 7 and 28 november 2007? | CREATE TABLE table_name_31 (round VARCHAR, number_of_fixtures VARCHAR, main_date VARCHAR) | {
"SQL_Query": "SELECT round FROM table_name_31 WHERE number_of_fixtures > 2 AND main_date = \"7 and 28 november 2007\""
} |
What is the event average for a top-25 smaller than 0? | CREATE TABLE table_name_84 (events INTEGER, top_25 INTEGER) | {
"SQL_Query": "SELECT AVG(events) FROM table_name_84 WHERE top_25 < 0"
} |
What are the highest wins with cuts smaller than 6, events of 4 and a top-5 smaller than 0? | CREATE TABLE table_name_74 (wins INTEGER, top_5 VARCHAR, cuts_made VARCHAR, events VARCHAR) | {
"SQL_Query": "SELECT MAX(wins) FROM table_name_74 WHERE cuts_made < 6 AND events = 4 AND top_5 < 0"
} |
What are the lowest top-5 with a top-25 larger than 4, 29 cuts and a top-10 larger than 18? | CREATE TABLE table_name_62 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) | {
"SQL_Query": "SELECT MIN(top_5) FROM table_name_62 WHERE top_25 > 4 AND cuts_made = 29 AND top_10 > 18"
} |
What is the lowest for top-25 with events smaller than 42 in a U.S. Open with a top-10 smaller than 5? | CREATE TABLE table_name_5 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT MIN(top_25) FROM table_name_5 WHERE events < 42 AND tournament = \"u.s. open\" AND top_10 < 5"
} |
Which birthplace's height in inches was more than 192 when the position was d and the birthday was April 5, 1983? | CREATE TABLE table_name_70 (birthplace VARCHAR, birthdate VARCHAR, height__in_ VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT birthplace FROM table_name_70 WHERE height__in_ > 192 AND position = \"d\" AND birthdate = \"april 5, 1983\""
} |
What nationality has steve kerr as the player? | CREATE TABLE table_name_95 (nationality VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_95 WHERE player = \"steve kerr\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.