training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_15 (draw INTEGER, points VARCHAR, played VARCHAR)
###human: What's the draw that's played less than 36 and has 42 points?
###assistant: SELECT AVG(draw) FROM table_name_15 WHERE points = 42 AND played < 36 |
###context:CREATE TABLE table_name_21 (lost INTEGER, goals_scored VARCHAR, points VARCHAR)
###human: What the lost that has less than 10 points and less than 38 goals scored?
###assistant: SELECT SUM(lost) FROM table_name_21 WHERE goals_scored < 38 AND points < 10 |
###context:CREATE TABLE table_name_26 (lost INTEGER, team VARCHAR, draw VARCHAR)
###human: what the most lost for Alianza with a draw less than 6?
###assistant: SELECT MAX(lost) FROM table_name_26 WHERE team = "alianza" AND draw < 6 |
###context:CREATE TABLE table_name_87 (lost INTEGER, goals_scored VARCHAR, place VARCHAR)
###human: What the lost in place less than 3 and having more than 63 goals scored?
###assistant: SELECT SUM(lost) FROM table_name_87 WHERE goals_scored > 63 AND place < 3 |
###context:CREATE TABLE table_name_15 (rank INTEGER, rate VARCHAR, apps VARCHAR, player VARCHAR)
###human: What is the total Rank for ümit karan when Apps is more than 39 and Rate is more than 0.58?
###assistant: SELECT SUM(rank) FROM table_name_15 WHERE apps > 39 AND player = "ümit karan" AND rate > 0.58 |
###context:CREATE TABLE table_name_43 (rate INTEGER, rank INTEGER)
###human: When rank is more than 10, what is the total rate?
###assistant: SELECT SUM(rate) FROM table_name_43 WHERE rank > 10 |
###context:CREATE TABLE table_name_51 (winning_amount VARCHAR, contestant_name VARCHAR)
###human: What winning amount has himesh reshammiya as the contestant name?
###assistant: SELECT winning_amount FROM table_name_51 WHERE contestant_name = "himesh reshammiya" |
###context:CREATE TABLE table_name_25 (eliminated_contestant VARCHAR, date_premiered__2009_ VARCHAR)
###human: What eliminated contestant has October 10, 2009 as the date premiered?
###assistant: SELECT eliminated_contestant FROM table_name_25 WHERE date_premiered__2009_ = "october 10" |
###context:CREATE TABLE table_name_40 (date_premiered__2009_ VARCHAR, contestant_name VARCHAR)
###human: What date premiered (2009) has kareena kapoor as the contestant name?
###assistant: SELECT date_premiered__2009_ FROM table_name_40 WHERE contestant_name = "kareena kapoor" |
###context:CREATE TABLE table_name_66 (episode__number VARCHAR, eliminated_contestant VARCHAR)
###human: What episode # has govinda & david dhawan as the eliminated contestant?
###assistant: SELECT episode__number FROM table_name_66 WHERE eliminated_contestant = "govinda & david dhawan" |
###context:CREATE TABLE table_name_2 (winning_amount VARCHAR, date_premiered__2009_ VARCHAR)
###human: What is the winning amount that has May 30, 2009 as the date premiered?
###assistant: SELECT winning_amount FROM table_name_2 WHERE date_premiered__2009_ = "may 30" |
###context:CREATE TABLE table_name_39 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
###human: What is the Reserved For of Lahar?
###assistant: SELECT reserved_for___sc___st__none_ FROM table_name_39 WHERE name = "lahar" |
###context:CREATE TABLE table_name_75 (clock_speed__mhz_ INTEGER, introduced VARCHAR)
###human: What is the least clock speed (MHz) with January 1986 as introduced?
###assistant: SELECT MIN(clock_speed__mhz_) FROM table_name_75 WHERE introduced = "january 1986" |
###context:CREATE TABLE table_name_36 (clock_speed__mhz_ INTEGER, introduced VARCHAR)
###human: With April 1986 as the introduced, what is the least clock speed (MHz)?
###assistant: SELECT MIN(clock_speed__mhz_) FROM table_name_36 WHERE introduced = "april 1986" |
###context:CREATE TABLE table_name_58 (processor VARCHAR, model VARCHAR)
###human: The Powerbook 100 model has what processor?
###assistant: SELECT processor FROM table_name_58 WHERE model = "powerbook 100" |
###context:CREATE TABLE table_name_45 (discontinued VARCHAR, model VARCHAR)
###human: When was the Lisa 2 model discontinued?
###assistant: SELECT discontinued FROM table_name_45 WHERE model = "lisa 2" |
###context:CREATE TABLE table_name_33 (rowers VARCHAR, notes VARCHAR, time VARCHAR)
###human: Who are the rowers with a time of 6:41.45 and notes of FA?
###assistant: SELECT rowers FROM table_name_33 WHERE notes = "fa" AND time = "6:41.45" |
###context:CREATE TABLE table_name_6 (rowers VARCHAR, country VARCHAR)
###human: Who are the rowers from the United States?
###assistant: SELECT rowers FROM table_name_6 WHERE country = "united states" |
###context:CREATE TABLE table_name_76 (time VARCHAR, country VARCHAR)
###human: What time did the team from Ukraine have?
###assistant: SELECT time FROM table_name_76 WHERE country = "ukraine" |
###context:CREATE TABLE table_name_26 (rank INTEGER, notes VARCHAR, time VARCHAR)
###human: What is the rank for the team that had a time of 6:41.45 and note FA?
###assistant: SELECT SUM(rank) FROM table_name_26 WHERE notes = "fa" AND time = "6:41.45" |
###context:CREATE TABLE table_name_77 (rank VARCHAR, country VARCHAR)
###human: What rank was the team from Australia?
###assistant: SELECT COUNT(rank) FROM table_name_77 WHERE country = "australia" |
###context:CREATE TABLE table_name_6 (game INTEGER, date VARCHAR)
###human: What is the highest game that has July 31 as the date?
###assistant: SELECT MAX(game) FROM table_name_6 WHERE date = "july 31" |
###context:CREATE TABLE table_name_34 (river_mile INTEGER, location_ VARCHAR, l_ VARCHAR)
###human: What is the total of the River Mile in Greenup, Kentucky?
###assistant: SELECT SUM(river_mile) FROM table_name_34 WHERE location_[l_] = "greenup, kentucky" |
###context:CREATE TABLE table_name_32 (river_mile VARCHAR, lock_side VARCHAR, pool_length__miles_ VARCHAR)
###human: What is the River Mile with a RDB lock side and a pool length of 55.4?
###assistant: SELECT river_mile FROM table_name_32 WHERE lock_side = "rdb" AND pool_length__miles_ = "55.4" |
###context:CREATE TABLE table_name_71 (river_mile INTEGER, pool_length__miles_ VARCHAR, lock_lift_drop__in_feet_ VARCHAR)
###human: What is the highest River Mile that has a pool length of 42.2 miles or a lock/lift drop of 21 feet?
###assistant: SELECT MAX(river_mile) FROM table_name_71 WHERE pool_length__miles_ = "42.2" AND lock_lift_drop__in_feet_ = "21" |
###context:CREATE TABLE table_name_8 (location_ VARCHAR, l_ VARCHAR, river_mile VARCHAR, locks_ VARCHAR, _dam VARCHAR)
###human: What is the location of the river mile that is larger than 938.9, and Olmsted Locks and Dam?
###assistant: SELECT location_[l_] FROM table_name_8 WHERE river_mile > 938.9 AND locks_ & _dam = "olmsted locks and dam" |
###context:CREATE TABLE table_name_4 (rank INTEGER, time VARCHAR)
###human: What is the lowest ranking for 8:13.67?
###assistant: SELECT MIN(rank) FROM table_name_4 WHERE time = "8:13.67" |
###context:CREATE TABLE table_name_57 (time VARCHAR, country VARCHAR)
###human: What is the time for Kazakhstan?
###assistant: SELECT time FROM table_name_57 WHERE country = "kazakhstan" |
###context:CREATE TABLE table_name_8 (notes VARCHAR, country VARCHAR)
###human: What are the notes for South Africa?
###assistant: SELECT notes FROM table_name_8 WHERE country = "south africa" |
###context:CREATE TABLE table_name_29 (country VARCHAR, rank INTEGER)
###human: What country is ranked higher than 5?
###assistant: SELECT country FROM table_name_29 WHERE rank > 5 |
###context:CREATE TABLE table_name_24 (rank VARCHAR, notes VARCHAR, country VARCHAR)
###human: What is the total rank and fc notes from South Africa?
###assistant: SELECT COUNT(rank) FROM table_name_24 WHERE notes = "fc" AND country = "south africa" |
###context:CREATE TABLE table_name_15 (series VARCHAR, director VARCHAR, production_number VARCHAR)
###human: From what series was the title with a production number of 1614 that was directed by Friz Freleng?
###assistant: SELECT series FROM table_name_15 WHERE director = "friz freleng" AND production_number = 1614 |
###context:CREATE TABLE table_name_39 (result VARCHAR, record VARCHAR)
###human: What is the Result of the event with a Record of 1-3?
###assistant: SELECT result FROM table_name_39 WHERE record = "1-3" |
###context:CREATE TABLE table_name_61 (round VARCHAR, record VARCHAR)
###human: What is the Round of the event with a Record of 5-4?
###assistant: SELECT round FROM table_name_61 WHERE record = "5-4" |
###context:CREATE TABLE table_name_51 (latitude VARCHAR, township VARCHAR, geo_id VARCHAR, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR)
###human: What was the latitude for van meter who had a land(sqmi) larger than 35.747, Water(sqmi) of 0 and a GEO ID smaller than 3809981860?
###assistant: SELECT COUNT(latitude) FROM table_name_51 WHERE land___sqmi__ > 35.747 AND water__sqmi_ = 0 AND geo_id < 3809981860 AND township = "van meter" |
###context:CREATE TABLE table_name_85 (pop__2010_ INTEGER, latitude VARCHAR, water__sqmi_ VARCHAR)
###human: What was the population fo the township with a Latitude of 48.853051, and a Water (sqmi) smaller than 0.9590000000000001?
###assistant: SELECT MAX(pop__2010_) FROM table_name_85 WHERE latitude = 48.853051 AND water__sqmi_ < 0.9590000000000001 |
###context:CREATE TABLE table_name_63 (ansi_code INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR, township VARCHAR)
###human: Van Meter has a water(sqmi) of 0 and a longitude larger than -98.444062, what was their highest ANSI code?
###assistant: SELECT MAX(ansi_code) FROM table_name_63 WHERE water__sqmi_ = 0 AND township = "van meter" AND longitude > -98.444062 |
###context:CREATE TABLE table_name_47 (water__sqmi_ INTEGER, county VARCHAR, longitude VARCHAR)
###human: What was the lowest water(sqmi) in the county of dickey where the longitude was smaller than -98.444062?
###assistant: SELECT MIN(water__sqmi_) FROM table_name_47 WHERE county = "dickey" AND longitude < -98.444062 |
###context:CREATE TABLE table_name_36 (coach VARCHAR, team VARCHAR)
###human: Who is the coach for the Northamptonshire Steelbacks?
###assistant: SELECT coach FROM table_name_36 WHERE team = "northamptonshire steelbacks" |
###context:CREATE TABLE table_name_36 (team VARCHAR, location VARCHAR)
###human: Which team is located in Leicester?
###assistant: SELECT team FROM table_name_36 WHERE location = "leicester" |
###context:CREATE TABLE table_name_5 (team VARCHAR, county VARCHAR)
###human: Which team is in Sussex county?
###assistant: SELECT team FROM table_name_5 WHERE county = "sussex" |
###context:CREATE TABLE table_name_96 (home_ground VARCHAR, location VARCHAR)
###human: What is the home ground for the team located in Canterbury?
###assistant: SELECT home_ground FROM table_name_96 WHERE location = "canterbury" |
###context:CREATE TABLE table_name_28 (captain VARCHAR, coach VARCHAR)
###human: Who is the captain of the team coached by Giles White?
###assistant: SELECT captain FROM table_name_28 WHERE coach = "giles white" |
###context:CREATE TABLE table_name_68 (division VARCHAR, team VARCHAR)
###human: Which division is the Derbyshire Falcons in?
###assistant: SELECT division FROM table_name_68 WHERE team = "derbyshire falcons" |
###context:CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
###human: Which tie number had a home team of Derby County?
###assistant: SELECT tie_no FROM table_name_52 WHERE home_team = "derby county" |
###context:CREATE TABLE table_name_50 (score VARCHAR, away_team VARCHAR)
###human: What was the score of the tie with an away team of Stoke City?
###assistant: SELECT score FROM table_name_50 WHERE away_team = "stoke city" |
###context:CREATE TABLE table_name_70 (artist VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR)
###human: Which Artist has a Draw smaller than 14, and Points less than 73, and a Language of turkish?
###assistant: SELECT artist FROM table_name_70 WHERE draw < 14 AND points < 73 AND language = "turkish" |
###context:CREATE TABLE table_name_1 (points VARCHAR, artist VARCHAR)
###human: How many points does mia martini have?
###assistant: SELECT COUNT(points) FROM table_name_1 WHERE artist = "mia martini" |
###context:CREATE TABLE table_name_92 (artist VARCHAR, english_translation VARCHAR)
###human: Which Artist has an English translation of all this is music?
###assistant: SELECT artist FROM table_name_92 WHERE english_translation = "all this is music" |
###context:CREATE TABLE table_name_96 (athlete VARCHAR, place VARCHAR)
###human: What athlete has a Grenoble place?
###assistant: SELECT athlete FROM table_name_96 WHERE place = "grenoble" |
###context:CREATE TABLE table_name_76 (pick VARCHAR, college VARCHAR)
###human: What is the Pick number of the Player from Syracuse?
###assistant: SELECT pick FROM table_name_76 WHERE college = "syracuse" |
###context:CREATE TABLE table_name_68 (player VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR)
###human: What is the Offensive Guard Player from Mississippi State College with a Pick number larter than 44?
###assistant: SELECT player FROM table_name_68 WHERE pick > 44 AND position = "offensive guard" AND college = "mississippi state" |
###context:CREATE TABLE table_name_47 (college VARCHAR, team VARCHAR)
###human: What is the College of the Pick from Denver Broncos?
###assistant: SELECT college FROM table_name_47 WHERE team = "denver broncos" |
###context:CREATE TABLE table_name_15 (democratic VARCHAR)
###human: What's the 2008 Status of Rosa Delauro?
###assistant: SELECT 2008 AS _status FROM table_name_15 WHERE democratic = "rosa delauro" |
###context:CREATE TABLE table_name_63 (incumbent VARCHAR, republican VARCHAR)
###human: Who was the incumbent when Bo Itshaky was the Republican?
###assistant: SELECT incumbent FROM table_name_63 WHERE republican = "bo itshaky" |
###context:CREATE TABLE table_name_49 (republican VARCHAR, district INTEGER)
###human: Who was the Republican in the district more than 4?
###assistant: SELECT republican FROM table_name_49 WHERE district > 4 |
###context:CREATE TABLE table_name_27 (republican VARCHAR, green VARCHAR)
###human: Who was the Republican when the green was Harold Burbank?
###assistant: SELECT republican FROM table_name_27 WHERE green = "harold burbank" |
###context:CREATE TABLE table_name_40 (democratic VARCHAR, incumbent VARCHAR)
###human: Who was the Democratic when then Incumbent was Christopher Shays?
###assistant: SELECT democratic FROM table_name_40 WHERE incumbent = "christopher shays" |
###context:CREATE TABLE table_name_35 (director VARCHAR, title VARCHAR)
###human: Who is the director of Antz?
###assistant: SELECT director FROM table_name_35 WHERE title = "antz" |
###context:CREATE TABLE table_name_71 (studio_s_ VARCHAR, director VARCHAR)
###human: What studio has the director Philip Frank Messina?
###assistant: SELECT studio_s_ FROM table_name_71 WHERE director = "philip frank messina" |
###context:CREATE TABLE table_name_43 (clubs VARCHAR, round VARCHAR)
###human: What are the club number for the first round?
###assistant: SELECT clubs FROM table_name_43 WHERE round = "first round" |
###context:CREATE TABLE table_name_82 (new_entries_this_round VARCHAR, clubs VARCHAR)
###human: when there were 48 → 32 clubs?
###assistant: SELECT new_entries_this_round FROM table_name_82 WHERE clubs = "48 → 32" |
###context:CREATE TABLE table_name_94 (location VARCHAR, time VARCHAR)
###human: Where was the fight that took a time of 1:37?
###assistant: SELECT location FROM table_name_94 WHERE time = "1:37" |
###context:CREATE TABLE table_name_79 (res VARCHAR, time VARCHAR, opponent VARCHAR)
###human: What was the resolution of the fight against kiuma kunioku with a time of 15:00?
###assistant: SELECT res FROM table_name_79 WHERE time = "15:00" AND opponent = "kiuma kunioku" |
###context:CREATE TABLE table_name_67 (bronze INTEGER, nation VARCHAR)
###human: What is the average number of bronze medals won by Poland?
###assistant: SELECT AVG(bronze) FROM table_name_67 WHERE nation = "poland" |
###context:CREATE TABLE table_name_90 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
###human: What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal?
###assistant: SELECT AVG(gold) FROM table_name_90 WHERE total > 1 AND bronze < 10 AND nation = "switzerland" AND silver > 1 |
###context:CREATE TABLE table_name_7 (rank VARCHAR, col__m_ INTEGER)
###human: What is the rank when the col is larger than 0?
###assistant: SELECT COUNT(rank) FROM table_name_7 WHERE col__m_ > 0 |
###context:CREATE TABLE table_name_22 (elevation__m_ INTEGER, country VARCHAR, rank VARCHAR)
###human: What is the elevation of Vanuatu, when the rank is smaller than 3?
###assistant: SELECT AVG(elevation__m_) FROM table_name_22 WHERE country = "vanuatu" AND rank < 3 |
###context:CREATE TABLE table_name_89 (platform VARCHAR, title VARCHAR)
###human: What's the platform of Super Mario All-Stars?
###assistant: SELECT platform FROM table_name_89 WHERE title = "super mario all-stars" |
###context:CREATE TABLE table_name_44 (losses INTEGER, wins VARCHAR, against VARCHAR)
###human: What is the average number of losses when there are more than 4 wins, and the against matches is more than 1728?
###assistant: SELECT AVG(losses) FROM table_name_44 WHERE wins < 4 AND against > 1728 |
###context:CREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR)
###human: What is the total number of draws when there is 1 Win, and less than 1728 against matches?
###assistant: SELECT COUNT(draws) FROM table_name_41 WHERE wins = 1 AND against < 1728 |
###context:CREATE TABLE table_name_80 (wins INTEGER, losses INTEGER)
###human: What is the highest number of wins when there are less than 2 losses?
###assistant: SELECT MAX(wins) FROM table_name_80 WHERE losses < 2 |
###context:CREATE TABLE table_name_92 (losses INTEGER, club VARCHAR, wins VARCHAR)
###human: What is the highest number of losses for the Cobden club when there is less than 1 win?
###assistant: SELECT MAX(losses) FROM table_name_92 WHERE club = "cobden" AND wins < 1 |
###context:CREATE TABLE table_name_43 (wins INTEGER, club VARCHAR, draws VARCHAR)
###human: What is the average number of wins for the Terang Club, when there are less than 0 draws?
###assistant: SELECT AVG(wins) FROM table_name_43 WHERE club = "terang" AND draws < 0 |
###context:CREATE TABLE table_name_93 (host_location VARCHAR, year VARCHAR)
###human: Who was the 2nd place team when the location was Tulsa, OK before 1956?
###assistant: SELECT 2 AS nd_place_team FROM table_name_93 WHERE host_location = "tulsa, ok" AND year < 1956 |
###context:CREATE TABLE table_name_9 (year INTEGER, location VARCHAR)
###human: In what Year is the Location of the Festival Koror, Palau?
###assistant: SELECT SUM(year) FROM table_name_9 WHERE location = "koror, palau" |
###context:CREATE TABLE table_name_40 (location VARCHAR, iteration VARCHAR)
###human: What is the Location of the 10th Iteration?
###assistant: SELECT location FROM table_name_40 WHERE iteration = "10th" |
###context:CREATE TABLE table_name_16 (county INTEGER, party VARCHAR, borough VARCHAR)
###human: How many counties have people before profit as the party, and a borough greater than 0?
###assistant: SELECT SUM(county) FROM table_name_16 WHERE party = "people before profit" AND borough > 0 |
###context:CREATE TABLE table_name_54 (county INTEGER, town VARCHAR, total VARCHAR, city VARCHAR)
###human: How many counties have 2 as the total, 0 as the city with a town less than 1?
###assistant: SELECT SUM(county) FROM table_name_54 WHERE total = 2 AND city = 0 AND town < 1 |
###context:CREATE TABLE table_name_70 (city INTEGER, total VARCHAR, borough VARCHAR)
###human: What average city has a total less than 2, with a borough greater than 0?
###assistant: SELECT AVG(city) FROM table_name_70 WHERE total < 2 AND borough > 0 |
###context:CREATE TABLE table_name_21 (rank VARCHAR, lane VARCHAR)
###human: What is the rank # of the swimmer in Lane 5?
###assistant: SELECT COUNT(rank) FROM table_name_21 WHERE lane = 5 |
###context:CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR)
###human: What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat?
###assistant: SELECT total_fat FROM table_name_33 WHERE smoke_point = "°c ()" AND polyunsaturated_fat = "37g" |
###context:CREATE TABLE table_name_6 (saturated_fat VARCHAR, polyunsaturated_fat VARCHAR)
###human: What is the saturated fat with 28g of polyunsaturated fat?
###assistant: SELECT saturated_fat FROM table_name_6 WHERE polyunsaturated_fat = "28g" |
###context:CREATE TABLE table_name_22 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR)
###human: What is the monounsaturated fat with 15g of saturated fat?
###assistant: SELECT monounsaturated_fat FROM table_name_22 WHERE saturated_fat = "15g" |
###context:CREATE TABLE table_name_94 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR)
###human: What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat?
###assistant: SELECT saturated_fat FROM table_name_94 WHERE total_fat = "100g" AND polyunsaturated_fat = "11g" |
###context:CREATE TABLE table_name_85 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR, polyunsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR)
###human: What is the monounsaturated fat with a smoke point of °c (), a total fat of 100g, 11g of polyunsaturated fat, and 14g of saturated fat?
###assistant: SELECT monounsaturated_fat FROM table_name_85 WHERE smoke_point = "°c ()" AND total_fat = "100g" AND polyunsaturated_fat = "11g" AND saturated_fat = "14g" |
###context:CREATE TABLE table_name_28 (polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR)
###human: What is the polyunsaturated fat with a smoke point of °c (), a total fat of 100g and 63g of monounsaturated fat?
###assistant: SELECT polyunsaturated_fat FROM table_name_28 WHERE smoke_point = "°c ()" AND total_fat = "100g" AND monounsaturated_fat = "63g" |
###context:CREATE TABLE table_name_14 (win__percentage VARCHAR)
###human: What is the win % of the 2003 atp world tour finals?
###assistant: SELECT win__percentage FROM table_name_14 WHERE 2003 = "atp world tour finals" |
###context:CREATE TABLE table_name_64 (Id VARCHAR)
###human: What is the 2006 value of the 2011 grand slam tournaments?
###assistant: SELECT 2006 FROM table_name_64 WHERE 2011 = "grand slam tournaments" |
###context:CREATE TABLE table_name_38 (Id VARCHAR)
###human: What is the 2007 value with a 1r in 2009?
###assistant: SELECT 2007 FROM table_name_38 WHERE 2009 = "1r" |
###context:CREATE TABLE table_name_48 (Id VARCHAR)
###human: What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009?
###assistant: SELECT 2007 FROM table_name_48 WHERE 2006 = "4r" AND 2004 = "1r" AND 2009 = "4r" |
###context:CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR)
###human: who is the home team when the away team is rivercity rage?
###assistant: SELECT home_team FROM table_name_91 WHERE away_team = "rivercity rage" |
###context:CREATE TABLE table_name_64 (winner VARCHAR, score VARCHAR)
###human: who is the winner when the score is 71-62?
###assistant: SELECT winner FROM table_name_64 WHERE score = "71-62" |
###context:CREATE TABLE table_name_48 (winner VARCHAR, home_team VARCHAR, year VARCHAR)
###human: who is the winner when the home team is sioux falls storm and the year is earlier than 2012?
###assistant: SELECT winner FROM table_name_48 WHERE home_team = "sioux falls storm" AND year < 2012 |
###context:CREATE TABLE table_name_99 (score VARCHAR, away_team VARCHAR)
###human: what is the score when the away team is rivercity rage?
###assistant: SELECT score FROM table_name_99 WHERE away_team = "rivercity rage" |
###context:CREATE TABLE table_name_37 (year INTEGER, score VARCHAR)
###human: what is the year when the score is 59-32?
###assistant: SELECT SUM(year) FROM table_name_37 WHERE score = "59-32" |
###context:CREATE TABLE table_name_77 (venue VARCHAR, established INTEGER)
###human: What is the venue established after 1948?
###assistant: SELECT venue FROM table_name_77 WHERE established > 1948 |
###context:CREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR)
###human: What is the league established before 1930 with the rayo vallecano club?
###assistant: SELECT league FROM table_name_26 WHERE established < 1930 AND club = "rayo vallecano" |
###context:CREATE TABLE table_name_64 (sport VARCHAR, club VARCHAR)
###human: What sport is the rayo vallecano club in?
###assistant: SELECT sport FROM table_name_64 WHERE club = "rayo vallecano" |
###context:CREATE TABLE table_name_46 (sport VARCHAR, club VARCHAR)
###human: What sport is the cb estudiantes club in?
###assistant: SELECT sport FROM table_name_46 WHERE club = "cb estudiantes" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.