training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_74 (date VARCHAR, week INTEGER)
###human: What was the date for the game after week 16?
###assistant: SELECT date FROM table_name_74 WHERE week > 16 |
###context:CREATE TABLE table_name_61 (attendance VARCHAR, opponent VARCHAR)
###human: What was the attendance for the game against tampa bay buccaneers?
###assistant: SELECT attendance FROM table_name_61 WHERE opponent = "tampa bay buccaneers" |
###context:CREATE TABLE table_name_82 (date VARCHAR, week VARCHAR, attendance VARCHAR)
###human: What was the date of the game after week 5 with 62,262 fans attending?
###assistant: SELECT date FROM table_name_82 WHERE week > 5 AND attendance = "62,262" |
###context:CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR)
###human: Which Location has a Record of 5–2–1?
###assistant: SELECT location FROM table_name_31 WHERE record = "5–2–1" |
###context:CREATE TABLE table_name_1 (record VARCHAR, event VARCHAR)
###human: Which Record has an Event of inoki bom-ba-ye 2002?
###assistant: SELECT record FROM table_name_1 WHERE event = "inoki bom-ba-ye 2002" |
###context:CREATE TABLE table_name_80 (opponent VARCHAR, record VARCHAR)
###human: Which Opponent has a Record of 2–0?
###assistant: SELECT opponent FROM table_name_80 WHERE record = "2–0" |
###context:CREATE TABLE table_name_62 (record VARCHAR, round VARCHAR, event VARCHAR)
###human: Which Record has a Round larger than 2, and an Event of bellator 38?
###assistant: SELECT record FROM table_name_62 WHERE round > 2 AND event = "bellator 38" |
###context:CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR)
###human: What was John Jones's pick#?
###assistant: SELECT SUM(pick) FROM table_name_30 WHERE player = "john jones" |
###context:CREATE TABLE table_name_62 (pick INTEGER, hometown_school VARCHAR)
###human: What was the pick # of the player who has a hometown/school of Atlanta, GA?
###assistant: SELECT AVG(pick) FROM table_name_62 WHERE hometown_school = "atlanta, ga" |
###context:CREATE TABLE table_name_34 (monday_to_friday VARCHAR, mañana_es_para_siempre VARCHAR)
###human: What is Mañana es para siempre of impreuna pentru totdeauna from Monday to Friday?
###assistant: SELECT monday_to_friday FROM table_name_34 WHERE mañana_es_para_siempre = "impreuna pentru totdeauna" |
###context:CREATE TABLE table_name_87 (monday_to_friday VARCHAR, el_canal_de_las_estrellas VARCHAR)
###human: When does the El Canal de las Estrellas of pop tv show from Monday to Friday?
###assistant: SELECT monday_to_friday FROM table_name_87 WHERE el_canal_de_las_estrellas = "pop tv" |
###context:CREATE TABLE table_name_85 (enrollment INTEGER, ihsaa_football_class VARCHAR)
###human: What is the enrollment for the AAAA class in IHSAA?
###assistant: SELECT SUM(enrollment) FROM table_name_85 WHERE ihsaa_football_class = "aaaa" |
###context:CREATE TABLE table_name_93 (ihsaa_football_class VARCHAR, location VARCHAR)
###human: What is the IHSAA Football class at Culver?
###assistant: SELECT ihsaa_football_class FROM table_name_93 WHERE location = "culver" |
###context:CREATE TABLE table_name_86 (location VARCHAR, mascot VARCHAR)
###human: What school has the Lancers as their mascot?
###assistant: SELECT location FROM table_name_86 WHERE mascot = "lancers" |
###context:CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR)
###human: What is the total enrollment at Laville?
###assistant: SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville" |
###context:CREATE TABLE table_name_30 (avg INTEGER, rank INTEGER)
###human: What is the highest average for teams ranked higher than 9?
###assistant: SELECT MAX(avg) FROM table_name_30 WHERE rank > 9 |
###context:CREATE TABLE table_name_69 (name VARCHAR)
###human: What is the name of the 2008 club with Nadia Centoni Category:Articles with hCards?
###assistant: SELECT 2008 AS _club FROM table_name_69 WHERE name = "nadia centoni category:articles with hcards" |
###context:CREATE TABLE table_name_71 (name VARCHAR)
###human: Which 2008 club has the name Francesca Piccinini Category:Articles with hCards?
###assistant: SELECT 2008 AS _club FROM table_name_71 WHERE name = "francesca piccinini category:articles with hcards" |
###context:CREATE TABLE table_name_41 (wins INTEGER, against VARCHAR)
###human: What is the least amount of wins when against is 1314?
###assistant: SELECT MIN(wins) FROM table_name_41 WHERE against = 1314 |
###context:CREATE TABLE table_name_29 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR)
###human: What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws?
###assistant: SELECT SUM(against) FROM table_name_29 WHERE wins = 8 AND club = "south warrnambool" AND draws < 0 |
###context:CREATE TABLE table_name_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR)
###human: What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws?
###assistant: SELECT AVG(wins) FROM table_name_20 WHERE against > 1155 AND club = "warrnambool" AND draws > 0 |
###context:CREATE TABLE table_name_87 (score VARCHAR)
###human: What score has 15.0% as the 2012?
###assistant: SELECT score FROM table_name_87 WHERE 2012 = "15.0%" |
###context:CREATE TABLE table_name_31 (Id VARCHAR)
###human: What 2008 has 14.2% as the 2009?
###assistant: SELECT 2008 FROM table_name_31 WHERE 2009 = "14.2%" |
###context:CREATE TABLE table_name_16 (score VARCHAR)
###human: What score has 15.0% as the 2012?
###assistant: SELECT score FROM table_name_16 WHERE 2012 = "15.0%" |
###context:CREATE TABLE table_name_49 (Id VARCHAR)
###human: What 2009 has 18.5% as the 2007?
###assistant: SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%" |
###context:CREATE TABLE table_name_33 (Id VARCHAR)
###human: What 2011 has 12.7% as the 2010?
###assistant: SELECT 2011 FROM table_name_33 WHERE 2010 = "12.7%" |
###context:CREATE TABLE table_name_44 (week INTEGER, result VARCHAR)
###human: What is the Week of the game with a Result of L 24-0?
###assistant: SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0" |
###context:CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)
###human: What is the Week number on December 18, 1960?
###assistant: SELECT COUNT(week) FROM table_name_17 WHERE date = "december 18, 1960" |
###context:CREATE TABLE table_name_3 (pick VARCHAR, position VARCHAR)
###human: Which pick played the Defensive End position?
###assistant: SELECT pick FROM table_name_3 WHERE position = "defensive end" |
###context:CREATE TABLE table_name_41 (pick VARCHAR, position VARCHAR, round VARCHAR)
###human: How many picks were taken before round 3 and played Linebacker?
###assistant: SELECT COUNT(pick) FROM table_name_41 WHERE position = "linebacker" AND round < 3 |
###context:CREATE TABLE table_name_88 (silver INTEGER, total VARCHAR)
###human: What is the average number of silver medals won among nations that won 9 medals total?
###assistant: SELECT AVG(silver) FROM table_name_88 WHERE total = 9 |
###context:CREATE TABLE table_name_63 (round INTEGER, pick INTEGER)
###human: Which Round has a Pick larger than 179?
###assistant: SELECT MAX(round) FROM table_name_63 WHERE pick > 179 |
###context:CREATE TABLE table_name_33 (pick INTEGER, player VARCHAR)
###human: What is jamar martin's highest pick?
###assistant: SELECT MAX(pick) FROM table_name_33 WHERE player = "jamar martin" |
###context:CREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR)
###human: What teams rank is higher than 4 with a speed of 104.574mph?
###assistant: SELECT team FROM table_name_91 WHERE rank > 4 AND speed = "104.574mph" |
###context:CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR)
###human: What team does Anthony Redmond ride for?
###assistant: SELECT team FROM table_name_32 WHERE rider = "anthony redmond" |
###context:CREATE TABLE table_name_86 (speed VARCHAR, rank VARCHAR, time VARCHAR)
###human: What was the speed with a time of 1:03.41.86 and a rank smaller than 3?
###assistant: SELECT speed FROM table_name_86 WHERE rank < 3 AND time = "1:03.41.86" |
###context:CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
###human: What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class?
###assistant: SELECT school FROM table_name_11 WHERE enrollment > 473 AND ihsaa_class = "aaa" AND _number___county = "72 scott" |
###context:CREATE TABLE table_name_34 (mascot VARCHAR, school VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
###human: What's the mascot of Eastern Pekin having less than 627 enrolled and an AA for their IHSAA Class?
###assistant: SELECT mascot FROM table_name_34 WHERE enrollment < 627 AND ihsaa_class = "aa" AND school = "eastern pekin" |
###context:CREATE TABLE table_name_88 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR)
###human: What's the most enrolled having the dragons for a mascot and an AAA for the IHSAA Class?
###assistant: SELECT MAX(enrollment) FROM table_name_88 WHERE ihsaa_class = "aaa" AND mascot = "dragons" |
###context:CREATE TABLE table_name_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR)
###human: What's the county of Eastern Pekin school with fewer than 774 enrolled?
###assistant: SELECT _number___county FROM table_name_54 WHERE enrollment < 774 AND school = "eastern pekin" |
###context:CREATE TABLE table_name_28 (location VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
###human: What's the location of the school having the panthers as a mascot with an AAA for the IHSAA Class?
###assistant: SELECT location FROM table_name_28 WHERE ihsaa_class = "aaa" AND mascot = "panthers" |
###context:CREATE TABLE table_name_1 (ihsaa_class VARCHAR, mascot VARCHAR)
###human: What's the IHSAA Class when the mascot was the Musketeers?
###assistant: SELECT ihsaa_class FROM table_name_1 WHERE mascot = "musketeers" |
###context:CREATE TABLE table_name_74 (director VARCHAR, title VARCHAR)
###human: Who was the director of Chaser on the Rocks?
###assistant: SELECT director FROM table_name_74 WHERE title = "chaser on the rocks" |
###context:CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR)
###human: What are the characters from the movie Suppressed Duck?
###assistant: SELECT characters FROM table_name_80 WHERE title = "suppressed duck" |
###context:CREATE TABLE table_name_7 (pick INTEGER, player VARCHAR, round VARCHAR)
###human: How many picks on average did Jay Bruchak have before round 6?
###assistant: SELECT AVG(pick) FROM table_name_7 WHERE player = "jay bruchak" AND round < 6 |
###context:CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
###human: How many rounds did Pierre Bland have a pick larger than 148?
###assistant: SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland" |
###context:CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR)
###human: What was the earliest round that Purdue had a pick larger than 10?
###assistant: SELECT MIN(round) FROM table_name_16 WHERE college = "purdue" AND pick > 10 |
###context:CREATE TABLE table_name_31 (pick VARCHAR, player VARCHAR)
###human: How many picks did Jay Bruchak have?
###assistant: SELECT COUNT(pick) FROM table_name_31 WHERE player = "jay bruchak" |
###context:CREATE TABLE table_name_85 (round VARCHAR, home VARCHAR)
###human: In what round was the Alianza home game?
###assistant: SELECT round FROM table_name_85 WHERE home = "alianza" |
###context:CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR)
###human: What was the visiting team that played a round 16 game?
###assistant: SELECT away FROM table_name_48 WHERE round = "round 16" |
###context:CREATE TABLE table_name_68 (week INTEGER, attendance VARCHAR)
###human: How many weeks have an Attendance of 62,289?
###assistant: SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289 |
###context:CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER)
###human: Which Week has an Attendance larger than 65,070?
###assistant: SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070 |
###context:CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
###human: Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114?
###assistant: SELECT MIN(week) FROM table_name_58 WHERE opponent = "atlanta falcons" AND attendance < 63 OFFSET 114 |
###context:CREATE TABLE table_name_59 (tms VARCHAR, season VARCHAR)
###human: which Tms has a Season of 2013?
###assistant: SELECT tms FROM table_name_59 WHERE season = "2013" |
###context:CREATE TABLE table_name_19 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR)
###human: What's the population with a code more than 90902 and an area less than 1,335.47?
###assistant: SELECT MIN(population) FROM table_name_19 WHERE code > 90902 AND area__km_2__ < 1 OFFSET 335.47 |
###context:CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)
###human: What's the most area of Bochum Part 2 with a population less than 15,911?
###assistant: SELECT MAX(area__km_2__) FROM table_name_72 WHERE place = "bochum part 2" AND population < 15 OFFSET 911 |
###context:CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR)
###human: What is the Original NFL team of the CB Player?
###assistant: SELECT original_nfl_team FROM table_name_31 WHERE pos = "cb" |
###context:CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR)
###human: What is the College of the WR Player from SWC Conf?
###assistant: SELECT college FROM table_name_70 WHERE conf = "swc" AND pos = "wr" |
###context:CREATE TABLE table_name_5 (player VARCHAR, college VARCHAR)
###human: What Player is from the College of memphis?
###assistant: SELECT player FROM table_name_5 WHERE college = "memphis" |
###context:CREATE TABLE table_name_70 (college VARCHAR, pos VARCHAR, conf VARCHAR)
###human: What is the College of the LB Player with Big Ten Conf.?
###assistant: SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten" |
###context:CREATE TABLE table_name_92 (draws INTEGER, wins VARCHAR, losses VARCHAR)
###human: How many draws are there when there are 11 wins, and more than 7 losses?
###assistant: SELECT SUM(draws) FROM table_name_92 WHERE wins = 11 AND losses > 7 |
###context:CREATE TABLE table_name_20 (draws INTEGER, losses VARCHAR, wins VARCHAR)
###human: What is the draws when there are less than 3 losses and more than 16 wins?
###assistant: SELECT MAX(draws) FROM table_name_20 WHERE losses < 3 AND wins > 16 |
###context:CREATE TABLE table_name_33 (wins INTEGER, losses VARCHAR, against VARCHAR)
###human: What is the wins when there are 5 losses, and against is more than 1205?
###assistant: SELECT MAX(wins) FROM table_name_33 WHERE losses = 5 AND against > 1205 |
###context:CREATE TABLE table_name_20 (losses INTEGER, sunrayia_fl VARCHAR, against VARCHAR)
###human: What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294?
###assistant: SELECT AVG(losses) FROM table_name_20 WHERE sunrayia_fl = "red cliffs" AND against > 2294 |
###context:CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR)
###human: What is the number against when losses are smaller than 3, and wins arelarger than 16?
###assistant: SELECT COUNT(against) FROM table_name_73 WHERE losses < 3 AND wins > 16 |
###context:CREATE TABLE table_name_33 (notes VARCHAR, call_sign VARCHAR)
###human: What is the Notes of the Frequency with Call sign CFUN-FM-1?
###assistant: SELECT notes FROM table_name_33 WHERE call_sign = "cfun-fm-1" |
###context:CREATE TABLE table_name_65 (format VARCHAR, notes VARCHAR, frequency VARCHAR)
###human: What is the Format of FM 100.5 Licensed to Hope?
###assistant: SELECT format FROM table_name_65 WHERE notes = "licensed to hope" AND frequency = "fm 100.5" |
###context:CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR)
###human: What is the Notes of the Frequency with a call sign of CBUE-FM?
###assistant: SELECT notes FROM table_name_82 WHERE call_sign = "cbue-fm" |
###context:CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR)
###human: what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1?
###assistant: SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1 |
###context:CREATE TABLE table_name_42 (spartak INTEGER, played VARCHAR, dynamo VARCHAR)
###human: what is the highest spartak when played is less than 15 and dynamo is less than 3?
###assistant: SELECT MAX(spartak) FROM table_name_42 WHERE played < 15 AND dynamo < 3 |
###context:CREATE TABLE table_name_19 (draw INTEGER, competition VARCHAR, dynamo VARCHAR)
###human: what is the most draw when the competition is soviet league and dynamo is more than 34?
###assistant: SELECT MAX(draw) FROM table_name_19 WHERE competition = "soviet league" AND dynamo > 34 |
###context:CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR)
###human: what is the sum of spartak when played is 102 and draw is less than 19?
###assistant: SELECT SUM(spartak) FROM table_name_54 WHERE played = 102 AND draw < 19 |
###context:CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR)
###human: what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24?
###assistant: SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24 |
###context:CREATE TABLE table_name_85 (result VARCHAR, week VARCHAR, opponent VARCHAR)
###human: What's the result when the Washington Redskins were the opponents on a week after 8?
###assistant: SELECT result FROM table_name_85 WHERE week > 8 AND opponent = "washington redskins" |
###context:CREATE TABLE table_name_46 (nationality VARCHAR, name VARCHAR)
###human: What is the 4.45 for Anna Rogowska from Poland?
###assistant: SELECT 445 FROM table_name_46 WHERE nationality = "poland" AND name = "anna rogowska" |
###context:CREATE TABLE table_name_5 (name VARCHAR)
###human: What is the 4.45 for Yelena Isinbayeva?
###assistant: SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva" |
###context:CREATE TABLE table_name_7 (result INTEGER, name VARCHAR)
###human: What is Anna Rogowska's average result?
###assistant: SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska" |
###context:CREATE TABLE table_name_13 (nationality VARCHAR)
###human: What national has 4.45 for o and 4.55 for xo?
###assistant: SELECT nationality FROM table_name_13 WHERE 445 = "o" AND 455 = "xo" |
###context:CREATE TABLE table_name_62 (staterooms INTEGER, year_built VARCHAR, crew VARCHAR)
###human: What is the sum of staterooms in with a year buit of 2008, and a crew less than 28?
###assistant: SELECT SUM(staterooms) FROM table_name_62 WHERE year_built = 2008 AND crew < 28 |
###context:CREATE TABLE table_name_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR)
###human: What is the total for guests with a ship name of rv indochina, and a crew smaller than 28?
###assistant: SELECT COUNT(guests) FROM table_name_89 WHERE ship_name = "rv indochina" AND crew < 28 |
###context:CREATE TABLE table_name_4 (country VARCHAR, total VARCHAR, day_1 VARCHAR)
###human: what is the country when the total is 111 and the day 1 is 69?
###assistant: SELECT country FROM table_name_4 WHERE total = 111 AND day_1 = 69 |
###context:CREATE TABLE table_name_62 (rank INTEGER, day_1 VARCHAR, country VARCHAR)
###human: what is the average rank when the day 1 is less than 71 and the country is romania?
###assistant: SELECT AVG(rank) FROM table_name_62 WHERE day_1 < 71 AND country = "romania" |
###context:CREATE TABLE table_name_77 (rank VARCHAR, athlete VARCHAR, total VARCHAR)
###human: how many times is the athlete jin di and the total less than 118?
###assistant: SELECT COUNT(rank) FROM table_name_77 WHERE athlete = "jin di" AND total < 118 |
###context:CREATE TABLE table_name_6 (goals INTEGER, nat VARCHAR, ends VARCHAR)
###human: What is the highest goal for a GEO nat., that ended after 2010?
###assistant: SELECT MAX(goals) FROM table_name_6 WHERE nat = "geo" AND ends > 2010 |
###context:CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)
###human: what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
###assistant: SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = "asian games" AND event = "400 m" |
###context:CREATE TABLE table_name_7 (venue VARCHAR, event VARCHAR, competition VARCHAR)
###human: what is the venue when the event is 4x400 m relay and the competition is asian championships?
###assistant: SELECT venue FROM table_name_7 WHERE event = "4x400 m relay" AND competition = "asian championships" |
###context:CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, competition VARCHAR, event VARCHAR)
###human: what is the venue when the competition is asian games, the event is 4x400 m relay and the year is 2002?
###assistant: SELECT venue FROM table_name_93 WHERE competition = "asian games" AND event = "4x400 m relay" AND year = 2002 |
###context:CREATE TABLE table_name_7 (spokespersons VARCHAR, commentator VARCHAR, voting_order VARCHAR)
###human: During the voting order 11, when the commentator was pierre tchernia, who was the spokesperson?
###assistant: SELECT spokespersons FROM table_name_7 WHERE commentator = "pierre tchernia" AND voting_order = 11 |
###context:CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)
###human: What was the voting order when bunny carr was the commentator?
###assistant: SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr" |
###context:CREATE TABLE table_name_35 (commentator VARCHAR, spokespersons VARCHAR)
###human: Who was the commentator when the spokesperson was michael aspel?
###assistant: SELECT commentator FROM table_name_35 WHERE spokespersons = "michael aspel" |
###context:CREATE TABLE table_name_95 (voting_order VARCHAR, commentator VARCHAR)
###human: What was the voting order when the commentator was renato tagliani?
###assistant: SELECT voting_order FROM table_name_95 WHERE commentator = "renato tagliani" |
###context:CREATE TABLE table_name_15 (bronze INTEGER, total INTEGER)
###human: Which Bronze has a Total smaller than 1?
###assistant: SELECT AVG(bronze) FROM table_name_15 WHERE total < 1 |
###context:CREATE TABLE table_name_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
###human: How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank smaller than 4?
###assistant: SELECT COUNT(silver) FROM table_name_95 WHERE bronze > 1 AND gold = 0 AND rank < 4 |
###context:CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
###human: Which Bronze has a Rank of 4, and a Gold smaller than 0?
###assistant: SELECT MAX(bronze) FROM table_name_7 WHERE rank = 4 AND gold < 0 |
###context:CREATE TABLE table_name_78 (gold INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
###human: How much Gold has a Bronze smaller than 2, and a Silver of 0, and a Rank larger than 3?
###assistant: SELECT SUM(gold) FROM table_name_78 WHERE bronze < 2 AND silver = 0 AND rank > 3 |
###context:CREATE TABLE table_name_13 (percentage__2011_ VARCHAR, population__2006_ VARCHAR, percentage__2006_ VARCHAR)
###human: What percentage of the 2011 population had a mother tongue language that was spoken by 45.22% of the population in 2006 (over 120)?
###assistant: SELECT percentage__2011_ FROM table_name_13 WHERE population__2006_ > 120 AND percentage__2006_ = "45.22%" |
###context:CREATE TABLE table_name_49 (population__2011_ VARCHAR, population__2006_ VARCHAR)
###human: What is the total number of people in 2011 speaking the mother tongue language spoken by 120 in 2006?
###assistant: SELECT COUNT(population__2011_) FROM table_name_49 WHERE population__2006_ = 120 |
###context:CREATE TABLE table_name_12 (population__2006_ INTEGER, mother_tongue VARCHAR)
###human: How many people ha Romanian as their mother tongue in 2006?
###assistant: SELECT MAX(population__2006_) FROM table_name_12 WHERE mother_tongue = "romanian" |
###context:CREATE TABLE table_name_94 (mother_tongue VARCHAR, population__2006_ VARCHAR)
###human: What is the mother tongue language shared by 300 people in 2006?
###assistant: SELECT mother_tongue FROM table_name_94 WHERE population__2006_ = 300 |
###context:CREATE TABLE table_name_64 (points VARCHAR, english_translation VARCHAR, draw VARCHAR)
###human: What's the total number of points when the English translation is Long Live Life and the draw is less than 2?
###assistant: SELECT COUNT(points) FROM table_name_64 WHERE english_translation = "long live life" AND draw < 2 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.