training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_54 (tickets_sold___available VARCHAR, city VARCHAR)
###human: How many tickets were there sold/available in Barcelona?
###assistant: SELECT tickets_sold___available FROM table_name_54 WHERE city = "barcelona" |
###context:CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
###human: How many tickets were sold/available when the gross revenue (2011) was $366,916?
###assistant: SELECT tickets_sold___available FROM table_name_44 WHERE gross_revenue__2011_ = "$366,916" |
###context:CREATE TABLE table_name_4 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
###human: How many tickets were sold/available when the gross revenue (2011) was $5,948,390?
###assistant: SELECT tickets_sold___available FROM table_name_4 WHERE gross_revenue__2011_ = "$5,948,390" |
###context:CREATE TABLE table_name_83 (gross_revenue__1986_ VARCHAR, tickets_sold___available VARCHAR)
###human: What was the gross revenue (1986) when there were tickets sold/available of 24,000 / 24,000 (100%)?
###assistant: SELECT gross_revenue__1986_ FROM table_name_83 WHERE tickets_sold___available = "24,000 / 24,000 (100%)" |
###context:CREATE TABLE table_name_34 (team_2 VARCHAR)
###human: What was the score in the 1st leg when Stade d'Abidjan was Team 2?
###assistant: SELECT 1 AS st_leg FROM table_name_34 WHERE team_2 = "stade d'abidjan" |
###context:CREATE TABLE table_name_55 (agg VARCHAR, team_1 VARCHAR)
###human: What was the aggregate score that had Union Douala as Team 1?
###assistant: SELECT agg FROM table_name_55 WHERE team_1 = "union douala" |
###context:CREATE TABLE table_name_46 (agg VARCHAR)
###human: What was the 2nd leg score of the aggregate score of 4-9?
###assistant: SELECT 2 AS nd_leg FROM table_name_46 WHERE agg = "4-9" |
###context:CREATE TABLE table_name_81 (team_2 VARCHAR, team_1 VARCHAR)
###human: Who was Team 2 when Stationery Stores was Team 1?
###assistant: SELECT team_2 FROM table_name_81 WHERE team_1 = "stationery stores" |
###context:CREATE TABLE table_name_13 (team_1 VARCHAR, agg VARCHAR)
###human: Which Team 1 has an aggregate score of 1-1 1?
###assistant: SELECT team_1 FROM table_name_13 WHERE agg = "1-1 1" |
###context:CREATE TABLE table_name_47 (chassis VARCHAR, year VARCHAR)
###human: Can you tell me the Chassis that has the Year of 1977?
###assistant: SELECT chassis FROM table_name_47 WHERE year = 1977 |
###context:CREATE TABLE table_name_7 (entrant VARCHAR, chassis VARCHAR, year VARCHAR)
###human: Can you tell me the Entrant that has the Chassis of march 742, and the Year larger than 1974?
###assistant: SELECT entrant FROM table_name_7 WHERE chassis = "march 742" AND year > 1974 |
###context:CREATE TABLE table_name_61 (chassis VARCHAR, entrant VARCHAR)
###human: Can you tell me the Chassis that has the Entrant of trivellato racing team?
###assistant: SELECT chassis FROM table_name_61 WHERE entrant = "trivellato racing team" |
###context:CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR, points VARCHAR, year VARCHAR)
###human: Can you tell me the Chassis that has the Points of 13, and the Year of 1975, and the Entrant of scuderia citta del mille?
###assistant: SELECT chassis FROM table_name_5 WHERE points = 13 AND year = 1975 AND entrant = "scuderia citta del mille" |
###context:CREATE TABLE table_name_26 (value__ INTEGER, revenue__$m_ VARCHAR, debt_as__percentageof_value VARCHAR)
###human: What is the lowest value of a team with revenue less than 374 and a debt of 84%?
###assistant: SELECT MIN(value__) AS $m_ FROM table_name_26 WHERE revenue__$m_ < 374 AND debt_as__percentageof_value = "84" |
###context:CREATE TABLE table_name_23 (operating_income_ INTEGER, _percentage_change_on_year VARCHAR, value__$m_ VARCHAR)
###human: What is the highest operating income that change by 2% and is less than $1,036m?
###assistant: SELECT MAX(operating_income_) AS $m_ FROM table_name_23 WHERE _percentage_change_on_year = "2" AND value__$m_ < 1 OFFSET 036 |
###context:CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)
###human: Which team did they play on September 19?
###assistant: SELECT opponent FROM table_name_66 WHERE date = "september 19" |
###context:CREATE TABLE table_name_8 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
###human: What's the FCC info with a Frequency MHz thats smaller than 91.9 and has a CIty of license of Dansville, NY?
###assistant: SELECT fcc_info FROM table_name_8 WHERE frequency_mhz < 91.9 AND city_of_license = "dansville, ny" |
###context:CREATE TABLE table_name_85 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
###human: What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY?
###assistant: SELECT fcc_info FROM table_name_85 WHERE frequency_mhz < 100.3 AND city_of_license = "lowville, ny" |
###context:CREATE TABLE table_name_26 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
###human: What's the Call sign with a Frequency MHz thats smaller than 95.9 and an ERP W of 10?
###assistant: SELECT call_sign FROM table_name_26 WHERE frequency_mhz < 95.9 AND erp_w = 10 |
###context:CREATE TABLE table_name_22 (erp_w INTEGER, call_sign VARCHAR)
###human: What is listed as the highest ERP W with a Call sign of W262AC?
###assistant: SELECT MAX(erp_w) FROM table_name_22 WHERE call_sign = "w262ac" |
###context:CREATE TABLE table_name_2 (erp_w VARCHAR, frequency_mhz INTEGER)
###human: What's the sum of ERP W with a Frequency MHz that larger than 97.7?
###assistant: SELECT COUNT(erp_w) FROM table_name_2 WHERE frequency_mhz > 97.7 |
###context:CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
###human: What was the score of the game played on September 9?
###assistant: SELECT score FROM table_name_5 WHERE date = "september 9" |
###context:CREATE TABLE table_name_9 (overall_record VARCHAR, school VARCHAR)
###human: Name the overall record for indian river
###assistant: SELECT overall_record FROM table_name_9 WHERE school = "indian river" |
###context:CREATE TABLE table_name_17 (money___$__ VARCHAR, score VARCHAR)
###human: How much money was won for the game with a score of 74-76-71-71=292?
###assistant: SELECT money___$__ FROM table_name_17 WHERE score = 74 - 76 - 71 - 71 = 292 |
###context:CREATE TABLE table_name_74 (country VARCHAR, score VARCHAR)
###human: What country was the player from with a score of 70-79-74-68=291?
###assistant: SELECT country FROM table_name_74 WHERE score = 70 - 79 - 74 - 68 = 291 |
###context:CREATE TABLE table_name_51 (score VARCHAR, to_par INTEGER)
###human: When To par was less than 2, what was the score?
###assistant: SELECT score FROM table_name_51 WHERE to_par < 2 |
###context:CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR)
###human: When was the match with a result of sa by 10 wkts?
###assistant: SELECT date FROM table_name_23 WHERE result = "sa by 10 wkts" |
###context:CREATE TABLE table_name_18 (date VARCHAR, result VARCHAR)
###human: When was the match with a result of sa by 10 wkts?
###assistant: SELECT date FROM table_name_18 WHERE result = "sa by 10 wkts" |
###context:CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR)
###human: When was there a match in Centurion Park?
###assistant: SELECT date FROM table_name_49 WHERE venue = "centurion park" |
###context:CREATE TABLE table_name_1 (finish VARCHAR, qual VARCHAR)
###human: Name the finish which has qual of 144.817
###assistant: SELECT finish FROM table_name_1 WHERE qual = "144.817" |
###context:CREATE TABLE table_name_78 (qual VARCHAR, rank VARCHAR)
###human: Name the qual for rank of 9
###assistant: SELECT qual FROM table_name_78 WHERE rank = "9" |
###context:CREATE TABLE table_name_1 (qual VARCHAR, year VARCHAR)
###human: Name the qual for 1957
###assistant: SELECT qual FROM table_name_1 WHERE year = "1957" |
###context:CREATE TABLE table_name_61 (status VARCHAR, name VARCHAR)
###human: What shows as the status for the name of de la red?
###assistant: SELECT status FROM table_name_61 WHERE name = "de la red" |
###context:CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR)
###human: What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález?
###assistant: SELECT country FROM table_name_39 WHERE transfer_fee = "—" AND transfer_window = "summer" AND status = "loaned out" AND name = "gonzález" |
###context:CREATE TABLE table_name_29 (status VARCHAR, name VARCHAR)
###human: What shows as the status for Diogo?
###assistant: SELECT status FROM table_name_29 WHERE name = "diogo" |
###context:CREATE TABLE table_name_20 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR)
###human: What is the name when the country is ESP and the transfer fee is € 7m?
###assistant: SELECT name FROM table_name_20 WHERE country = "esp" AND transfer_fee = "€ 7m" |
###context:CREATE TABLE table_name_49 (transfer_window VARCHAR, country VARCHAR, name VARCHAR)
###human: What is the transfer window for the country of ESP and the name of de la red?
###assistant: SELECT transfer_window FROM table_name_49 WHERE country = "esp" AND name = "de la red" |
###context:CREATE TABLE table_name_53 (transfer_fee VARCHAR, name VARCHAR)
###human: What is the transfer fee of Diogo?
###assistant: SELECT transfer_fee FROM table_name_53 WHERE name = "diogo" |
###context:CREATE TABLE table_name_2 (att INTEGER, loss VARCHAR)
###human: What was the lowest attendance at a game that had a loss of lohse (12–11)?
###assistant: SELECT MIN(att) FROM table_name_2 WHERE loss = "lohse (12–11)" |
###context:CREATE TABLE table_name_4 (time VARCHAR, opponent VARCHAR, record VARCHAR)
###human: What was time of the game against the Royals with a record of 81–73?
###assistant: SELECT time FROM table_name_4 WHERE opponent = "royals" AND record = "81–73" |
###context:CREATE TABLE table_name_42 (round VARCHAR, kick_off VARCHAR)
###human: Which round has a Kick Off of 1992-10-01 21:15?
###assistant: SELECT round FROM table_name_42 WHERE kick_off = "1992-10-01 21:15" |
###context:CREATE TABLE table_name_8 (round VARCHAR, kick_off VARCHAR)
###human: Which round has a Kick Off of 1993-02-17 20:30?
###assistant: SELECT round FROM table_name_8 WHERE kick_off = "1993-02-17 20:30" |
###context:CREATE TABLE table_name_84 (maximum_fps INTEGER, width VARCHAR, height VARCHAR)
###human: What is the lowest maximum of fps with a width of 3072 and a height less than 1620?
###assistant: SELECT MIN(maximum_fps) FROM table_name_84 WHERE width = 3072 AND height < 1620 |
###context:CREATE TABLE table_name_47 (maximum_fps VARCHAR, least_compression_at_maximum_fps VARCHAR, height VARCHAR, least_compression_at_24_fps VARCHAR)
###human: What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1?
###assistant: SELECT maximum_fps AS HDRx FROM table_name_47 WHERE height > 1080 AND least_compression_at_24_fps = "6:1" AND least_compression_at_maximum_fps = "7:1" |
###context:CREATE TABLE table_name_22 (loss VARCHAR, record VARCHAR)
###human: Who got the loss on the game that ended in a 52-36 record?
###assistant: SELECT loss FROM table_name_22 WHERE record = "52-36" |
###context:CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR)
###human: Who got the loss for the game ending in a record of 55-41?
###assistant: SELECT loss FROM table_name_74 WHERE record = "55-41" |
###context:CREATE TABLE table_name_93 (opponent VARCHAR, loss VARCHAR)
###human: Which team opponent had a loss with their pitcher Dotson (8-6)?
###assistant: SELECT opponent FROM table_name_93 WHERE loss = "dotson (8-6)" |
###context:CREATE TABLE table_name_47 (production_year VARCHAR)
###human: What is the average 2006 value for wheat with a 2005 value greater than 7340?
###assistant: SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340 |
###context:CREATE TABLE table_name_31 (production_year VARCHAR)
###human: What is the average 2002 value for Sunflower, which had a 2010 value less than 5587 and a 2007 value greater than 546?
###assistant: SELECT AVG(2002) FROM table_name_31 WHERE 2010 < 5587 AND production_year = "sunflower" AND 2007 > 546 |
###context:CREATE TABLE table_name_41 (Id VARCHAR)
###human: What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340?
###assistant: SELECT AVG(2001) FROM table_name_41 WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340 |
###context:CREATE TABLE table_name_83 (Id VARCHAR)
###human: What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181?
###assistant: SELECT SUM(2006) FROM table_name_83 WHERE 2011 > 4113 AND 2008 < 7181 |
###context:CREATE TABLE table_name_17 (gamecenter VARCHAR, attendance VARCHAR)
###human: Name the gamecenter that has attendance of 65,212
###assistant: SELECT gamecenter FROM table_name_17 WHERE attendance = "65,212" |
###context:CREATE TABLE table_name_48 (gamecenter VARCHAR, attendance VARCHAR)
###human: Name the gamecenter with attendance of 78,551
###assistant: SELECT gamecenter FROM table_name_48 WHERE attendance = "78,551" |
###context:CREATE TABLE table_name_84 (tv_time VARCHAR, attendance VARCHAR)
###human: Name the tv time for attendance of 69,551
###assistant: SELECT tv_time FROM table_name_84 WHERE attendance = "69,551" |
###context:CREATE TABLE table_name_23 (laps INTEGER, rider VARCHAR)
###human: what is the smallest number of laps imre toth has?
###assistant: SELECT MIN(laps) FROM table_name_23 WHERE rider = "imre toth" |
###context:CREATE TABLE table_name_96 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, rider VARCHAR)
###human: what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer?
###assistant: SELECT MIN(laps) FROM table_name_96 WHERE manufacturer = "gilera" AND rider = "marco simoncelli" AND grid < 8 |
###context:CREATE TABLE table_name_34 (away_captain VARCHAR, venue VARCHAR)
###human: Who was the away captain at Brisbane Cricket Ground?
###assistant: SELECT away_captain FROM table_name_34 WHERE venue = "brisbane cricket ground" |
###context:CREATE TABLE table_name_34 (home_captain VARCHAR, venue VARCHAR)
###human: Who was the home captain at Sydney Cricket Ground?
###assistant: SELECT home_captain FROM table_name_34 WHERE venue = "sydney cricket ground" |
###context:CREATE TABLE table_name_95 (date VARCHAR, venue VARCHAR)
###human: On what date was the venue at Brisbane Cricket Ground?
###assistant: SELECT date FROM table_name_95 WHERE venue = "brisbane cricket ground" |
###context:CREATE TABLE table_name_60 (away_captain VARCHAR, venue VARCHAR)
###human: Who was the away captain at Waca Ground?
###assistant: SELECT away_captain FROM table_name_60 WHERE venue = "waca ground" |
###context:CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR)
###human: On what date was the venue at Brisbane Cricket Ground?
###assistant: SELECT date FROM table_name_23 WHERE venue = "brisbane cricket ground" |
###context:CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
###human: What was the score for the game on June 30?
###assistant: SELECT score FROM table_name_65 WHERE date = "june 30" |
###context:CREATE TABLE table_name_12 (title VARCHAR, catalog__number VARCHAR)
###human: What CD has a catalog # of PCR 502?
###assistant: SELECT title FROM table_name_12 WHERE catalog__number = "pcr 502" |
###context:CREATE TABLE table_name_64 (title VARCHAR, released VARCHAR)
###human: What CD was released in 2009?
###assistant: SELECT title FROM table_name_64 WHERE released = 2009 |
###context:CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR)
###human: What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th?
###assistant: SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th" |
###context:CREATE TABLE table_name_17 (year VARCHAR, playoffs VARCHAR, regular_season VARCHAR)
###human: What is the year when they did not qualify for the playoff and the Regular Season shows as 10th?
###assistant: SELECT COUNT(year) FROM table_name_17 WHERE playoffs = "did not qualify" AND regular_season = "10th" |
###context:CREATE TABLE table_name_52 (playoffs VARCHAR, open_cup VARCHAR, regular_season VARCHAR)
###human: What shows for Playoffs when the Open Cup shows as did not qualify, and a Regular Season was 3rd, south atlantic?
###assistant: SELECT playoffs FROM table_name_52 WHERE open_cup = "did not qualify" AND regular_season = "3rd, south atlantic" |
###context:CREATE TABLE table_name_66 (points INTEGER, wins VARCHAR, year VARCHAR, class VARCHAR)
###human: What is the highest points value for 1962, in the 125cc class, and with 0 wins?
###assistant: SELECT MAX(points) FROM table_name_66 WHERE year = 1962 AND class = "125cc" AND wins < 0 |
###context:CREATE TABLE table_name_71 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR)
###human: What is the highest points value for the 500cc class in years after 1962 with 0 wins?
###assistant: SELECT MAX(points) FROM table_name_71 WHERE class = "500cc" AND year > 1962 AND wins < 0 |
###context:CREATE TABLE table_name_49 (points VARCHAR, team VARCHAR, wins VARCHAR)
###human: For Team AJS, what is the total number of points for drivers with 0 wins?
###assistant: SELECT COUNT(points) FROM table_name_49 WHERE team = "ajs" AND wins < 0 |
###context:CREATE TABLE table_name_81 (year VARCHAR, points VARCHAR, chassis VARCHAR)
###human: Which year had 0 points and an AGS JH23B chassis?
###assistant: SELECT year FROM table_name_81 WHERE points = 0 AND chassis = "ags jh23b" |
###context:CREATE TABLE table_name_52 (points VARCHAR, year VARCHAR, chassis VARCHAR)
###human: How many points does the year after 1986 with a AGS JH23B chassis have?
###assistant: SELECT points FROM table_name_52 WHERE year > 1986 AND chassis = "ags jh23b" |
###context:CREATE TABLE table_name_27 (points VARCHAR, entrant VARCHAR)
###human: How many points did the Tyrrell Racing Organisation have?
###assistant: SELECT points FROM table_name_27 WHERE entrant = "tyrrell racing organisation" |
###context:CREATE TABLE table_name_46 (week VARCHAR, date VARCHAR)
###human: September 23, 1973 landed on which week of the season?
###assistant: SELECT week FROM table_name_46 WHERE date = "september 23, 1973" |
###context:CREATE TABLE table_name_88 (gold INTEGER, rank VARCHAR, total VARCHAR)
###human: What's the lowest Gold if the Rank is over 4 but the Total is less than 1?
###assistant: SELECT MIN(gold) FROM table_name_88 WHERE rank > 4 AND total < 1 |
###context:CREATE TABLE table_name_40 (bronze INTEGER, rank INTEGER)
###human: What's the highest bronze with a less than 1 Rank?
###assistant: SELECT MAX(bronze) FROM table_name_40 WHERE rank < 1 |
###context:CREATE TABLE table_name_25 (total INTEGER, bronze VARCHAR, silver VARCHAR)
###human: What's the average total if the Bronze is 5 and the Silver is less than 4?
###assistant: SELECT AVG(total) FROM table_name_25 WHERE bronze = 5 AND silver < 4 |
###context:CREATE TABLE table_name_81 (votes VARCHAR, residence VARCHAR)
###human: How many Votes, when the Residence is Halifax?
###assistant: SELECT votes FROM table_name_81 WHERE residence = "halifax" |
###context:CREATE TABLE table_name_47 (riding VARCHAR, rank VARCHAR)
###human: What is the Riding, when the Rank is 4th?
###assistant: SELECT riding FROM table_name_47 WHERE rank = "4th" |
###context:CREATE TABLE table_name_61 (cuts_made INTEGER, wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
###human: Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0
###assistant: SELECT MAX(cuts_made) FROM table_name_61 WHERE top_25 > 4 AND top_5 = 1 AND wins > 0 |
###context:CREATE TABLE table_name_65 (top_25 INTEGER, wins VARCHAR, events VARCHAR)
###human: Name the top-25 with wins less than 1 and events of 12
###assistant: SELECT SUM(top_25) FROM table_name_65 WHERE wins < 1 AND events = 12 |
###context:CREATE TABLE table_name_28 (away_team VARCHAR, attendance VARCHAR)
###human: Who was the away team when the attendance was 7,891?
###assistant: SELECT away_team FROM table_name_28 WHERE attendance = "7,891" |
###context:CREATE TABLE table_name_38 (score VARCHAR, attendance VARCHAR)
###human: What was the score of the game when the attendance was 1,644?
###assistant: SELECT score FROM table_name_38 WHERE attendance = "1,644" |
###context:CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
###human: Who was the away team when the home team was Lincoln City?
###assistant: SELECT away_team FROM table_name_53 WHERE home_team = "lincoln city" |
###context:CREATE TABLE table_name_74 (score VARCHAR, home_team VARCHAR)
###human: What was the score of the game when the home team was Lincoln City?
###assistant: SELECT score FROM table_name_74 WHERE home_team = "lincoln city" |
###context:CREATE TABLE table_name_64 (away_team VARCHAR, attendance VARCHAR)
###human: Who was the away team when the attendance was 7,891?
###assistant: SELECT away_team FROM table_name_64 WHERE attendance = "7,891" |
###context:CREATE TABLE table_name_93 (points INTEGER, year INTEGER)
###human: What is the most amount of points for a team before 1983?
###assistant: SELECT MAX(points) FROM table_name_93 WHERE year < 1983 |
###context:CREATE TABLE table_name_71 (team VARCHAR, points VARCHAR, chassis VARCHAR)
###human: What team has 4 points and a Chassis of march 82/83c?
###assistant: SELECT team FROM table_name_71 WHERE points = 4 AND chassis = "march 82/83c" |
###context:CREATE TABLE table_name_2 (engine VARCHAR, team VARCHAR, year VARCHAR, points VARCHAR)
###human: What engine was used by Curb Motorsports after 1982 that had 11 points?
###assistant: SELECT engine FROM table_name_2 WHERE year > 1982 AND points = 11 AND team = "curb motorsports" |
###context:CREATE TABLE table_name_84 (engine VARCHAR, year INTEGER)
###human: What is the Engine used before 1983?
###assistant: SELECT engine FROM table_name_84 WHERE year < 1983 |
###context:CREATE TABLE table_name_99 (average VARCHAR, wickets VARCHAR, matches VARCHAR, runs VARCHAR)
###human: Name the total number of average for wickets less than 265, runs less than 4564 and matches less than 52
###assistant: SELECT COUNT(average) FROM table_name_99 WHERE matches < 52 AND runs < 4564 AND wickets < 265 |
###context:CREATE TABLE table_name_21 (average VARCHAR, matches VARCHAR, wickets VARCHAR, career VARCHAR)
###human: Name the total number of average for wickets more than 537, career of 1899/00-1925/26 and matches less than 211
###assistant: SELECT COUNT(average) FROM table_name_21 WHERE wickets > 537 AND career = "1899/00-1925/26" AND matches < 211 |
###context:CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR)
###human: Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51
###assistant: SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = "1888/89-1913/14" AND matches > 51 |
###context:CREATE TABLE table_name_73 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR)
###human: Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476
###assistant: SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = "1898/99-1919/20" AND runs > 4476 |
###context:CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR)
###human: Can you tell me the Opponent that has the Series of 4-2?
###assistant: SELECT opponent FROM table_name_91 WHERE series = "4-2" |
###context:CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR)
###human: What is the to par of the player with a t4 place and a score of 75-69-74-72=290?
###assistant: SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290 |
###context:CREATE TABLE table_name_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
###human: Which entrant scored less than 8 points and used a Maserati chassis?
###assistant: SELECT entrant FROM table_name_91 WHERE points < 8 AND chassis = "maserati" |
###context:CREATE TABLE table_name_15 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)
###human: Which entrant, with an Offenhauser L4 engine and a Kurtis Kraft KK500A chassis, scored 9 points before 1955?
###assistant: SELECT entrant FROM table_name_15 WHERE engine = "offenhauser l4" AND year < 1955 AND chassis = "kurtis kraft kk500a" AND points = 9 |
###context:CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR)
###human: What type of engine did the Fuel Injection entrant use?
###assistant: SELECT engine FROM table_name_4 WHERE entrant = "fuel injection" |
###context:CREATE TABLE table_name_93 (points INTEGER, engine VARCHAR, chassis VARCHAR)
###human: What is the average number of points for an Offenhauser L4 engine with a Trevis chassis?
###assistant: SELECT AVG(points) FROM table_name_93 WHERE engine = "offenhauser l4" AND chassis = "trevis" |
Subsets and Splits