training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_56 (tournament VARCHAR)
###human: What's the 2009 of the Australian Open having a 1R in 2011?
###assistant: SELECT 2009 FROM table_name_56 WHERE 2011 = "1r" AND tournament = "australian open" |
###context:CREATE TABLE table_name_87 (tournament VARCHAR)
###human: What's the 2008 of the Australian Open when the 2011 was 1R?
###assistant: SELECT 2008 FROM table_name_87 WHERE 2011 = "1r" AND tournament = "australian open" |
###context:CREATE TABLE table_name_17 (tournament VARCHAR)
###human: What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R?
###assistant: SELECT 2008 FROM table_name_17 WHERE 2011 = "1r" AND 2010 = "2r" AND tournament = "us open" |
###context:CREATE TABLE table_name_22 (number_of_episodes INTEGER, airing_date VARCHAR)
###human: What is the lowest number of episodes in a series with an airing date of 12 jan- 6 feb?
###assistant: SELECT MIN(number_of_episodes) FROM table_name_22 WHERE airing_date = "12 jan- 6 feb" |
###context:CREATE TABLE table_name_40 (tournament VARCHAR, opponent_in_the_final VARCHAR)
###human: What tournament has petra mandula patricia wartusch as the opponent in the final?
###assistant: SELECT tournament FROM table_name_40 WHERE opponent_in_the_final = "petra mandula patricia wartusch" |
###context:CREATE TABLE table_name_92 (date VARCHAR, opponent_in_the_final VARCHAR)
###human: What date has kimberly po nathalie tauziat as the opponent in the final?
###assistant: SELECT date FROM table_name_92 WHERE opponent_in_the_final = "kimberly po nathalie tauziat" |
###context:CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)
###human: What score has February 12, 2006 as the date?
###assistant: SELECT score FROM table_name_38 WHERE date = "february 12, 2006" |
###context:CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR)
###human: What opponent in the final has October 9, 2005 as the date?
###assistant: SELECT opponent_in_the_final FROM table_name_69 WHERE date = "october 9, 2005" |
###context:CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR)
###human: What is the to par for Bo Bae Song?
###assistant: SELECT to_par FROM table_name_20 WHERE player = "bo bae song" |
###context:CREATE TABLE table_name_70 (to_par VARCHAR, place VARCHAR, player VARCHAR)
###human: What is the to par for Jiyai Shin when the place is t1?
###assistant: SELECT to_par FROM table_name_70 WHERE place = "t1" AND player = "jiyai shin" |
###context:CREATE TABLE table_name_49 (to_par VARCHAR, place VARCHAR, player VARCHAR)
###human: What is the to par for Jiyai Shin in place t1?
###assistant: SELECT to_par FROM table_name_49 WHERE place = "t1" AND player = "jiyai shin" |
###context:CREATE TABLE table_name_72 (score VARCHAR, place VARCHAR, player VARCHAR)
###human: What was Laura Diaz's score for place t9?
###assistant: SELECT score FROM table_name_72 WHERE place = "t9" AND player = "laura diaz" |
###context:CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR)
###human: What country does Bo Bae Song play for?
###assistant: SELECT country FROM table_name_65 WHERE player = "bo bae song" |
###context:CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)
###human: How many gold medals did Brazil win with a total of more than 55 medals?
###assistant: SELECT AVG(gold) FROM table_name_37 WHERE nation = "brazil" AND total > 55 |
###context:CREATE TABLE table_name_38 (rank VARCHAR, silver VARCHAR, bronze VARCHAR)
###human: How many teams won more than 2 silver medals and fewer than 2 Bronze medals?
###assistant: SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2 |
###context:CREATE TABLE table_name_92 (gold INTEGER, nation VARCHAR)
###human: What is the fewest gold medals won by Greece?
###assistant: SELECT MIN(gold) FROM table_name_92 WHERE nation = "greece" |
###context:CREATE TABLE table_name_55 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
###human: What is the lowest rank of the United States, with fewer than 4 bronze medals?
###assistant: SELECT MIN(rank) FROM table_name_55 WHERE nation = "united states" AND bronze < 4 |
###context:CREATE TABLE table_name_83 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
###human: What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals?
###assistant: SELECT MAX(gold) FROM table_name_83 WHERE silver < 2 AND bronze < 4 |
###context:CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, lane VARCHAR, rank VARCHAR)
###human: Which React has a Lane smaller than 4, and a Rank larger than 4, and a Time larger than 23.22?
###assistant: SELECT AVG(react) FROM table_name_72 WHERE lane < 4 AND rank > 4 AND time > 23.22 |
###context:CREATE TABLE table_name_67 (against INTEGER, draws VARCHAR, losses VARCHAR)
###human: What shows for against when draws are 0, and losses are 16?
###assistant: SELECT AVG(against) FROM table_name_67 WHERE draws = 0 AND losses = 16 |
###context:CREATE TABLE table_name_59 (wins INTEGER, draws VARCHAR, byes VARCHAR)
###human: What is the highest number of wins when draws are larger than 1, and byes are larger than 0?
###assistant: SELECT MAX(wins) FROM table_name_59 WHERE draws > 1 AND byes > 0 |
###context:CREATE TABLE table_name_24 (team VARCHAR, winners VARCHAR, years_runners_up VARCHAR)
###human: Which team were runners-up in 2007 and had 1 under winners?
###assistant: SELECT team FROM table_name_24 WHERE winners = 1 AND years_runners_up = "2007" |
###context:CREATE TABLE table_name_31 (winners VARCHAR, years_won VARCHAR)
###human: What is the sum of winners when 1983 is the years won?
###assistant: SELECT COUNT(winners) FROM table_name_31 WHERE years_won = "1983" |
###context:CREATE TABLE table_name_72 (rank INTEGER, total VARCHAR)
###human: Which Rank has a Total of 12?
###assistant: SELECT AVG(rank) FROM table_name_72 WHERE total = 12 |
###context:CREATE TABLE table_name_12 (rank VARCHAR, opposition VARCHAR)
###human: Which Rank has an Opposition of limerick?
###assistant: SELECT rank FROM table_name_12 WHERE opposition = "limerick" |
###context:CREATE TABLE table_name_37 (rank VARCHAR, tally VARCHAR, opposition VARCHAR)
###human: How much Rank has a Tally of 0-10, and an Opposition of cork?
###assistant: SELECT COUNT(rank) FROM table_name_37 WHERE tally = "0-10" AND opposition = "cork" |
###context:CREATE TABLE table_name_18 (total INTEGER, rank VARCHAR, county VARCHAR)
###human: Which Total has a Rank smaller than 3, and a County of cork?
###assistant: SELECT MIN(total) FROM table_name_18 WHERE rank < 3 AND county = "cork" |
###context:CREATE TABLE table_name_36 (rank INTEGER, tally VARCHAR)
###human: Which Rank has a Tally of 4-0?
###assistant: SELECT AVG(rank) FROM table_name_36 WHERE tally = "4-0" |
###context:CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)
###human: Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?
###assistant: SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = "geiner mosquera" |
###context:CREATE TABLE table_name_24 (react VARCHAR, athlete VARCHAR, lane VARCHAR)
###human: How many reactions have an Athlete of alleyne francique, and a Lane larger than 9?
###assistant: SELECT COUNT(react) FROM table_name_24 WHERE athlete = "alleyne francique" AND lane > 9 |
###context:CREATE TABLE table_name_67 (year VARCHAR, waterford_score VARCHAR)
###human: What yeae has 6-08 (24) as a waterford score?
###assistant: SELECT year FROM table_name_67 WHERE waterford_score = "6-08 (24)" |
###context:CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)
###human: What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?
###assistant: SELECT MIN(year) FROM table_name_95 WHERE competition = "all-ireland hurling final" AND waterford_score = "6-08 (24)" |
###context:CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR)
###human: What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition?
###assistant: SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = "all-ireland hurling final replay" |
###context:CREATE TABLE table_name_28 (rounds VARCHAR, team VARCHAR, drivers VARCHAR)
###human: What rounds did RML Racing Silverline and James Nash compete?
###assistant: SELECT rounds FROM table_name_28 WHERE team = "rml racing silverline" AND drivers = "james nash" |
###context:CREATE TABLE table_name_28 (class VARCHAR, drivers VARCHAR)
###human: What class is Rob Collard in?
###assistant: SELECT class FROM table_name_28 WHERE drivers = "rob collard" |
###context:CREATE TABLE table_name_68 (car_spec VARCHAR, team VARCHAR, drivers VARCHAR)
###human: What is the car specs for team Airwaves BMW's driver Rob Collard?
###assistant: SELECT car_spec FROM table_name_68 WHERE team = "airwaves bmw" AND drivers = "rob collard" |
###context:CREATE TABLE table_name_83 (language VARCHAR, name VARCHAR)
###human: What is the language of TV3?
###assistant: SELECT language FROM table_name_83 WHERE name = "tv3" |
###context:CREATE TABLE table_name_70 (group VARCHAR, name VARCHAR)
###human: What is the group of ESPN International Sports?
###assistant: SELECT group FROM table_name_70 WHERE name = "espn international sports" |
###context:CREATE TABLE table_name_74 (type VARCHAR, name VARCHAR)
###human: What is the type of station for ESPN International Sports?
###assistant: SELECT type FROM table_name_74 WHERE name = "espn international sports" |
###context:CREATE TABLE table_name_18 (type VARCHAR, group VARCHAR)
###human: What is the type of station that is in the movies group?
###assistant: SELECT type FROM table_name_18 WHERE group = "movies" |
###context:CREATE TABLE table_name_6 (name VARCHAR, total VARCHAR)
###human: What is the name of the person with a total of 22?
###assistant: SELECT name FROM table_name_6 WHERE total = 22 |
###context:CREATE TABLE table_name_82 (nationality VARCHAR, athlete VARCHAR, time VARCHAR)
###human: What's the nationality of Henry Carr having a time of 20.3y?
###assistant: SELECT nationality FROM table_name_82 WHERE athlete = "henry carr" AND time = "20.3y" |
###context:CREATE TABLE table_name_53 (nationality VARCHAR, athlete VARCHAR)
###human: What's the nationality of Livio Berruti?
###assistant: SELECT nationality FROM table_name_53 WHERE athlete = "livio berruti" |
###context:CREATE TABLE table_name_70 (nationality VARCHAR, time VARCHAR, athlete VARCHAR)
###human: What's the nationality of Ray norton with a time of 20.6?
###assistant: SELECT nationality FROM table_name_70 WHERE time = "20.6" AND athlete = "ray norton" |
###context:CREATE TABLE table_name_39 (prominence__m_ INTEGER, country VARCHAR)
###human: What is the sum of the prominence in m of slovakia?
###assistant: SELECT SUM(prominence__m_) FROM table_name_39 WHERE country = "slovakia" |
###context:CREATE TABLE table_name_57 (prominence__m_ VARCHAR, col__m_ INTEGER)
###human: What is the prominence in m of a col in m greater than 738?
###assistant: SELECT prominence__m_ FROM table_name_57 WHERE col__m_ > 738 |
###context:CREATE TABLE table_name_69 (col__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)
###human: Whta is the lowest col in m of gerlachovský štít peak, which has an elevation greater than 2,655 m?
###assistant: SELECT MIN(col__m_) FROM table_name_69 WHERE peak = "gerlachovský štít" AND elevation__m_ > 2 OFFSET 655 |
###context:CREATE TABLE table_name_48 (prominence__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)
###human: What is the average prominence in m of pietrosul rodnei peak, which has an elevation less than 2,303?
###assistant: SELECT AVG(prominence__m_) FROM table_name_48 WHERE peak = "pietrosul rodnei" AND elevation__m_ < 2 OFFSET 303 |
###context:CREATE TABLE table_name_9 (score VARCHAR, comp VARCHAR)
###human: What is the Score of the Shooter with a Comp of OG?
###assistant: SELECT score FROM table_name_9 WHERE comp = "og" |
###context:CREATE TABLE table_name_70 (b_score INTEGER, total VARCHAR, position VARCHAR)
###human: What is the B Score when the total is more than 16.125, and position is 3rd?
###assistant: SELECT SUM(b_score) FROM table_name_70 WHERE total > 16.125 AND position = "3rd" |
###context:CREATE TABLE table_name_61 (a_score INTEGER, b_score VARCHAR, total VARCHAR)
###human: What is the lowest A Score when the B Score is 9.15, and total is 16.05?
###assistant: SELECT MIN(a_score) FROM table_name_61 WHERE b_score = 9.15 AND total = 16.05 |
###context:CREATE TABLE table_name_39 (athlete VARCHAR, time VARCHAR)
###human: Who had a time of 7:14.64?
###assistant: SELECT athlete FROM table_name_39 WHERE time = "7:14.64" |
###context:CREATE TABLE table_name_9 (rank VARCHAR, athlete VARCHAR)
###human: What rank was Lassi Karonen?
###assistant: SELECT COUNT(rank) FROM table_name_9 WHERE athlete = "lassi karonen" |
###context:CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR)
###human: What was the rank when then time was 7:52.53?
###assistant: SELECT MIN(rank) FROM table_name_10 WHERE time = "7:52.53" |
###context:CREATE TABLE table_name_73 (athlete VARCHAR, notes VARCHAR, country VARCHAR)
###human: Who was the athlete from Germany with notes of Q?
###assistant: SELECT athlete FROM table_name_73 WHERE notes = "q" AND country = "germany" |
###context:CREATE TABLE table_name_74 (rank VARCHAR, country VARCHAR)
###human: What rank is Germany?
###assistant: SELECT rank FROM table_name_74 WHERE country = "germany" |
###context:CREATE TABLE table_name_71 (athlete VARCHAR, country VARCHAR)
###human: Who was the athlete from Hong Kong?
###assistant: SELECT athlete FROM table_name_71 WHERE country = "hong kong" |
###context:CREATE TABLE table_name_75 (school VARCHAR, conference_joined VARCHAR, mascot VARCHAR)
###human: Which school has a mascot of the Blazers and in the Northeast Corner conference?
###assistant: SELECT school FROM table_name_75 WHERE conference_joined = "northeast corner" AND mascot = "blazers" |
###context:CREATE TABLE table_name_80 (mascot VARCHAR, ihsaa_class___football_class VARCHAR)
###human: Which mascot has an IHSAA Class and Football class of 2A/2A?
###assistant: SELECT mascot FROM table_name_80 WHERE ihsaa_class___football_class = "2a/2a" |
###context:CREATE TABLE table_name_33 (player VARCHAR, round INTEGER)
###human: Which player was selected in rounds under 3?
###assistant: SELECT player FROM table_name_33 WHERE round < 3 |
###context:CREATE TABLE table_name_91 (water__sqmi_ INTEGER, pop__2010_ VARCHAR, longitude VARCHAR)
###human: Which Water (sqmi) has a Pop (2010) of 359, and a Longitude smaller than -97.176811?
###assistant: SELECT MAX(water__sqmi_) FROM table_name_91 WHERE pop__2010_ = 359 AND longitude < -97.176811 |
###context:CREATE TABLE table_name_79 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR)
###human: Which Land (sqmi) has a Water (sqmi) smaller than 0.04, and a Longitude of -96.794706?
###assistant: SELECT MIN(land___sqmi__) FROM table_name_79 WHERE water__sqmi_ < 0.04 AND longitude = -96.794706 |
###context:CREATE TABLE table_name_9 (latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR)
###human: How much Latitude has a Water (sqmi) of 0.267, and an ANSI code larger than 1759605?
###assistant: SELECT SUM(latitude) FROM table_name_9 WHERE water__sqmi_ = 0.267 AND ansi_code > 1759605 |
###context:CREATE TABLE table_name_48 (ansi_code INTEGER, latitude VARCHAR, pop__2010_ VARCHAR, geo_id VARCHAR, water__sqmi_ VARCHAR)
###human: Which ANSI code has a GEO ID larger than 3809927140, and a Water (sqmi) smaller than 0.492, and a Pop (2010) of 37, and a Latitude larger than 48.245979?
###assistant: SELECT MIN(ansi_code) FROM table_name_48 WHERE geo_id > 3809927140 AND water__sqmi_ < 0.492 AND pop__2010_ = 37 AND latitude > 48.245979 |
###context:CREATE TABLE table_name_64 (owner VARCHAR, frequency VARCHAR)
###human: What is the Owner of Frequency 00 99.3?
###assistant: SELECT owner FROM table_name_64 WHERE frequency = "00 99.3" |
###context:CREATE TABLE table_name_70 (branding VARCHAR, frequency VARCHAR)
###human: What is the Branding of Frequency 00 94.5?
###assistant: SELECT branding FROM table_name_70 WHERE frequency = "00 94.5" |
###context:CREATE TABLE table_name_33 (call_sign VARCHAR, owner VARCHAR)
###human: What is the Call Sign of the Frequency by Owner CKUA Radio Foundation?
###assistant: SELECT call_sign FROM table_name_33 WHERE owner = "ckua radio foundation" |
###context:CREATE TABLE table_name_40 (owner VARCHAR, format VARCHAR)
###human: What is the Owner of the Frequency with a Format of First Nations Community Radio?
###assistant: SELECT owner FROM table_name_40 WHERE format = "first nations community radio" |
###context:CREATE TABLE table_name_78 (school VARCHAR, location VARCHAR, previous_conference VARCHAR, year_joined VARCHAR)
###human: Which School has a Previous Conference of none (new school), and a Year Joined larger than 1960, and a Location of versailles?
###assistant: SELECT school FROM table_name_78 WHERE previous_conference = "none (new school)" AND year_joined > 1960 AND location = "versailles" |
###context:CREATE TABLE table_name_95 (location VARCHAR, previous_conference VARCHAR, mascot VARCHAR)
###human: Which Location has a Previous Conference of independents, and a Mascot of hilltoppers?
###assistant: SELECT location FROM table_name_95 WHERE previous_conference = "independents" AND mascot = "hilltoppers" |
###context:CREATE TABLE table_name_88 (year_joined INTEGER, mascot VARCHAR, size VARCHAR, previous_conference VARCHAR)
###human: Which Year Joined has a Size larger than 93, and a Previous Conference of none (new school), and a Mascot of rebels?
###assistant: SELECT AVG(year_joined) FROM table_name_88 WHERE size > 93 AND previous_conference = "none (new school)" AND mascot = "rebels" |
###context:CREATE TABLE table_name_68 (year_joined VARCHAR, school VARCHAR, size VARCHAR, ihsaa_class VARCHAR)
###human: How many years Joined have a Size smaller than 417, and an IHSAA Class of A, and a School of jac-cen-del?
###assistant: SELECT COUNT(year_joined) FROM table_name_68 WHERE size < 417 AND ihsaa_class = "a" AND school = "jac-cen-del" |
###context:CREATE TABLE table_name_71 (Id VARCHAR)
###human: What is the 1957 number when the 1955 is smaller than 0.63, and 1952 is larger than 0.22?
###assistant: SELECT COUNT(1957) FROM table_name_71 WHERE 1955 < 0.63 AND 1952 > 0.22 |
###context:CREATE TABLE table_name_37 (Id VARCHAR)
###human: What is the 1952 rate when the 1954 is more than 4.2?
###assistant: SELECT SUM(1952) FROM table_name_37 WHERE 1954 > 4.2 |
###context:CREATE TABLE table_name_7 (Id VARCHAR)
###human: What is the 1955 rate when the 1956 is more than 2.9, and 1953 is larger than 4.5?
###assistant: SELECT SUM(1955) FROM table_name_7 WHERE 1956 > 2.9 AND 1953 > 4.5 |
###context:CREATE TABLE table_name_97 (week INTEGER, result VARCHAR, partner VARCHAR)
###human: In what Week resulting in the bottom 3 was Endre Jansen Partner?
###assistant: SELECT MAX(week) FROM table_name_97 WHERE result = "bottom 3" AND partner = "endre jansen" |
###context:CREATE TABLE table_name_16 (dance VARCHAR, result VARCHAR, week VARCHAR)
###human: What Dance in Week 1 resulted in Safe?
###assistant: SELECT dance FROM table_name_16 WHERE result = "safe" AND week = 1 |
###context:CREATE TABLE table_name_16 (week INTEGER, dance VARCHAR)
###human: In what Week was the Locking Dance?
###assistant: SELECT MAX(week) FROM table_name_16 WHERE dance = "locking" |
###context:CREATE TABLE table_name_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)
###human: What position has 7 as the round, with a pick # less than 214?
###assistant: SELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214 |
###context:CREATE TABLE table_name_95 (college VARCHAR, round VARCHAR, player VARCHAR)
###human: What college has a round greater than 1, with dylan mcfarland as the player?
###assistant: SELECT college FROM table_name_95 WHERE round > 1 AND player = "dylan mcfarland" |
###context:CREATE TABLE table_name_44 (player VARCHAR, pick__number INTEGER)
###human: What player has a pick # greater than 207?
###assistant: SELECT player FROM table_name_44 WHERE pick__number > 207 |
###context:CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR)
###human: Which artist had a 4x platinum?
###assistant: SELECT artist FROM table_name_42 WHERE certification = "4x platinum" |
###context:CREATE TABLE table_name_48 (peak_position INTEGER, album VARCHAR)
###human: What was the highest peak position for the album one of the boys?
###assistant: SELECT MAX(peak_position) FROM table_name_48 WHERE album = "one of the boys" |
###context:CREATE TABLE table_name_31 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)
###human: How many sales had a peak position of 1 and a certification of 6x platinum?
###assistant: SELECT COUNT(sales) FROM table_name_31 WHERE peak_position = 1 AND certification = "6x platinum" |
###context:CREATE TABLE table_name_25 (album VARCHAR, certification VARCHAR, peak_position VARCHAR)
###human: What album had a peak position of 6 and a certification of 3x platinum?
###assistant: SELECT album FROM table_name_25 WHERE certification = "3x platinum" AND peak_position = 6 |
###context:CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)
###human: How many sales had a peak position more than 2 and a Certification of 3x platinum?
###assistant: SELECT COUNT(sales) FROM table_name_44 WHERE peak_position > 2 AND certification = "3x platinum" |
###context:CREATE TABLE table_name_18 (rowers VARCHAR, time VARCHAR)
###human: Who were the rowers who had a time of 7:39.70?
###assistant: SELECT rowers FROM table_name_18 WHERE time = "7:39.70" |
###context:CREATE TABLE table_name_51 (rowers VARCHAR, rank VARCHAR, country VARCHAR)
###human: Who were the rowers from china wh had a rank smaller than 4?
###assistant: SELECT rowers FROM table_name_51 WHERE rank < 4 AND country = "china" |
###context:CREATE TABLE table_name_26 (notes VARCHAR, country VARCHAR)
###human: What is the notes for the rowers from denmark?
###assistant: SELECT notes FROM table_name_26 WHERE country = "denmark" |
###context:CREATE TABLE table_name_21 (bronze INTEGER, nation VARCHAR, total VARCHAR)
###human: Which Bronze has a Nation of austria, and a Total larger than 6?
###assistant: SELECT MAX(bronze) FROM table_name_21 WHERE nation = "austria" AND total > 6 |
###context:CREATE TABLE table_name_13 (rank VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR)
###human: Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria?
###assistant: SELECT rank FROM table_name_13 WHERE silver = 1 AND gold = 0 AND nation = "austria" |
###context:CREATE TABLE table_name_67 (total INTEGER, rank VARCHAR, bronze VARCHAR)
###human: Which Total has a Rank of 5, and a Bronze smaller than 0?
###assistant: SELECT AVG(total) FROM table_name_67 WHERE rank = "5" AND bronze < 0 |
###context:CREATE TABLE table_name_37 (total INTEGER, bronze VARCHAR, silver VARCHAR)
###human: Which Total has a Bronze of 5, and a Silver smaller than 1?
###assistant: SELECT MIN(total) FROM table_name_37 WHERE bronze = 5 AND silver < 1 |
###context:CREATE TABLE table_name_25 (year INTEGER, formula VARCHAR)
###human: What is the highest year with a formula of Grand Prix?
###assistant: SELECT MAX(year) FROM table_name_25 WHERE formula = "grand prix" |
###context:CREATE TABLE table_name_64 (formula VARCHAR, driver VARCHAR)
###human: Which formula had a driver of John Moore-Brabazon?
###assistant: SELECT formula FROM table_name_64 WHERE driver = "john moore-brabazon" |
###context:CREATE TABLE table_name_51 (driver VARCHAR, year INTEGER)
###human: Which driver had a year under 1905?
###assistant: SELECT driver FROM table_name_51 WHERE year < 1905 |
###context:CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR)
###human: How many years had a formula of Grand Prix?
###assistant: SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix" |
###context:CREATE TABLE table_name_15 (location VARCHAR, driver VARCHAR)
###human: Which location was won by George Heath?
###assistant: SELECT location FROM table_name_15 WHERE driver = "george heath" |
###context:CREATE TABLE table_name_64 (country VARCHAR)
###human: What is the 2010 total for ghana?
###assistant: SELECT COUNT(2010) FROM table_name_64 WHERE country = "ghana" |
###context:CREATE TABLE table_name_73 (country VARCHAR, airport VARCHAR)
###human: Which country is the nnamdi azikiwe international airport in?
###assistant: SELECT country FROM table_name_73 WHERE airport = "nnamdi azikiwe international airport" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.