training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR)
###human: Matches of 127 has how many total number of inns?
###assistant: SELECT COUNT(inns) FROM table_name_56 WHERE matches = 127 |
###context:CREATE TABLE table_name_83 (runs INTEGER, name VARCHAR, inns VARCHAR)
###human: Name of clem hill, and Inns larger than 126 has the lowest runs?
###assistant: SELECT MIN(runs) FROM table_name_83 WHERE name = "clem hill" AND inns > 126 |
###context:CREATE TABLE table_name_24 (matches VARCHAR, runs VARCHAR, inns VARCHAR)
###human: Runs smaller than 6106, and Inns smaller than 146 has what total number of matches?
###assistant: SELECT COUNT(matches) FROM table_name_24 WHERE runs < 6106 AND inns < 146 |
###context:CREATE TABLE table_name_64 (inns INTEGER, seasons VARCHAR, runs VARCHAR)
###human: Seasons of 1987–2007, and a Runs larger than 11622 is the highest inns?
###assistant: SELECT MAX(inns) FROM table_name_64 WHERE seasons = "1987–2007" AND runs > 11622 |
###context:CREATE TABLE table_name_46 (partner VARCHAR, opponents_in_the_final VARCHAR)
###human: Name the partner for opponents of františek čermák michal mertiňák
###assistant: SELECT partner FROM table_name_46 WHERE opponents_in_the_final = "františek čermák michal mertiňák" |
###context:CREATE TABLE table_name_63 (score_in_the_final VARCHAR, date VARCHAR)
###human: Name the score in the final for january 12, 2013
###assistant: SELECT score_in_the_final FROM table_name_63 WHERE date = "january 12, 2013" |
###context:CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
###human: Name the opponents for outcome of runner-up and date of august 7, 2011
###assistant: SELECT opponents_in_the_final FROM table_name_19 WHERE outcome = "runner-up" AND date = "august 7, 2011" |
###context:CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)
###human: Name the partner for surface of grass and opponents of jürgen melzer philipp petzschner
###assistant: SELECT partner FROM table_name_22 WHERE surface = "grass" AND opponents_in_the_final = "jürgen melzer philipp petzschner" |
###context:CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
###human: Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić
###assistant: SELECT score_in_the_final FROM table_name_1 WHERE outcome = "runner-up" AND surface = "hard" AND opponents_in_the_final = "michaël llodra nenad zimonjić" |
###context:CREATE TABLE table_name_45 (launched VARCHAR, ship VARCHAR)
###human: What date was the ship 'Wyandotte' launched?
###assistant: SELECT launched FROM table_name_45 WHERE ship = "wyandotte" |
###context:CREATE TABLE table_name_58 (renamed VARCHAR, ship VARCHAR)
###human: What was the original name of the ship 'Ajax'?
###assistant: SELECT renamed FROM table_name_58 WHERE ship = "ajax" |
###context:CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR)
###human: What date was the ship named Manhattan completed?
###assistant: SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = "manhattan" |
###context:CREATE TABLE table_name_77 (class VARCHAR, laps VARCHAR, year VARCHAR)
###human: What class had fewer than 336 laps in 2004?
###assistant: SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004 |
###context:CREATE TABLE table_name_72 (attendance INTEGER, game INTEGER)
###human: What is the average attendance of game 1?
###assistant: SELECT AVG(attendance) FROM table_name_72 WHERE game < 1 |
###context:CREATE TABLE table_name_38 (attendance INTEGER, time VARCHAR)
###human: What is the attendance amount of the race with a time of 2:07?
###assistant: SELECT MAX(attendance) FROM table_name_38 WHERE time = "2:07" |
###context:CREATE TABLE table_name_33 (club VARCHAR, goals_for VARCHAR, goals_against VARCHAR)
###human: What club has less than 61 goals for and 55 goals against?
###assistant: SELECT club FROM table_name_33 WHERE goals_for < 61 AND goals_against = 55 |
###context:CREATE TABLE table_name_29 (draws VARCHAR, points VARCHAR, position VARCHAR)
###human: What is the amount of Draws for the game that had a score of 45+7 and a position below 3?
###assistant: SELECT COUNT(draws) FROM table_name_29 WHERE points = "45+7" AND position < 3 |
###context:CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
###human: What was the number of draws when the Elche CF club played 38 and had a goal difference of -16?
###assistant: SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = "elche cf" AND played > 38 |
###context:CREATE TABLE table_name_7 (recipient VARCHAR, year INTEGER)
###human: Who was the recipient for Outstanding actress television series prior to 2008?
###assistant: SELECT recipient FROM table_name_7 WHERE year < 2008 |
###context:CREATE TABLE table_name_67 (opponent VARCHAR, record VARCHAR)
###human: Who was the opponent at the game when the record was 71-78?
###assistant: SELECT opponent FROM table_name_67 WHERE record = "71-78" |
###context:CREATE TABLE table_name_2 (date VARCHAR, loss VARCHAR)
###human: What was the date of the game that had a loss of Risley (0-1)?
###assistant: SELECT date FROM table_name_2 WHERE loss = "risley (0-1)" |
###context:CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)
###human: What was the date of the game when the record was 70-74?
###assistant: SELECT date FROM table_name_86 WHERE record = "70-74" |
###context:CREATE TABLE table_name_78 (name VARCHAR, moving_from VARCHAR)
###human: What player was moving from manchester united?
###assistant: SELECT name FROM table_name_78 WHERE moving_from = "manchester united" |
###context:CREATE TABLE table_name_92 (name VARCHAR, transfer_fee VARCHAR)
###human: What player costs £210k to transfer?
###assistant: SELECT name FROM table_name_92 WHERE transfer_fee = "£210k" |
###context:CREATE TABLE table_name_28 (moving_from VARCHAR, transfer_window VARCHAR, country VARCHAR)
###human: Who is moving during winter from wal?
###assistant: SELECT moving_from FROM table_name_28 WHERE transfer_window = "winter" AND country = "wal" |
###context:CREATE TABLE table_name_32 (original_artist VARCHAR, episode VARCHAR)
###human: Which original artist has a Episode of workshop #1?
###assistant: SELECT original_artist FROM table_name_32 WHERE episode = "workshop #1" |
###context:CREATE TABLE table_name_79 (theme VARCHAR, episode VARCHAR)
###human: Which theme has a Episode of top 6?
###assistant: SELECT theme FROM table_name_79 WHERE episode = "top 6" |
###context:CREATE TABLE table_name_5 (theme VARCHAR, order__number VARCHAR)
###human: Which Theme has a Order # of 9?
###assistant: SELECT theme FROM table_name_5 WHERE order__number = "9" |
###context:CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
###human: What was the score on August 19?
###assistant: SELECT score FROM table_name_65 WHERE date = "august 19" |
###context:CREATE TABLE table_name_83 (record VARCHAR, time VARCHAR)
###human: Where the time is 2:46, what is the record?
###assistant: SELECT record FROM table_name_83 WHERE time = "2:46" |
###context:CREATE TABLE table_name_22 (date VARCHAR, home VARCHAR)
###human: What is the Date, when the home team is the NY Rangers?
###assistant: SELECT date FROM table_name_22 WHERE home = "ny rangers" |
###context:CREATE TABLE table_name_38 (torque VARCHAR, power VARCHAR)
###human: Power of 220kw (299hp) @ 4000 has what torque?
###assistant: SELECT torque FROM table_name_38 WHERE power = "220kw (299hp) @ 4000" |
###context:CREATE TABLE table_name_95 (displacement VARCHAR, year VARCHAR, power VARCHAR)
###human: What is the Displacement that has Power of 220kw (299hp) @ 4000, and a year larger than 2002?
###assistant: SELECT displacement FROM table_name_95 WHERE year > 2002 AND power = "220kw (299hp) @ 4000" |
###context:CREATE TABLE table_name_21 (engine VARCHAR, displacement VARCHAR, power VARCHAR)
###human: Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 belongs to what engine?
###assistant: SELECT engine FROM table_name_21 WHERE displacement = "4.4l (4423cc/269in³)" AND power = "220kw (299hp) @ 4000" |
###context:CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR)
###human: What week was the Original artist, the police ?
###assistant: SELECT week FROM table_name_5 WHERE original_artist = "the police" |
###context:CREATE TABLE table_name_38 (song_choice VARCHAR, result VARCHAR, week VARCHAR)
###human: Which song garnered an advanced result during top 20 week ?
###assistant: SELECT song_choice FROM table_name_38 WHERE result = "advanced" AND week = "top 20" |
###context:CREATE TABLE table_name_52 (outcome VARCHAR, year VARCHAR, tournament VARCHAR)
###human: Which Malaysia Satellite tournaments were played after 1998?
###assistant: SELECT outcome FROM table_name_52 WHERE year > 1998 AND tournament = "malaysia satellite" |
###context:CREATE TABLE table_name_40 (score VARCHAR, tournament VARCHAR, year VARCHAR, outcome VARCHAR)
###human: Who was the runner-up for the Bulgaria Open, before 2007?
###assistant: SELECT score FROM table_name_40 WHERE year < 2007 AND outcome = "runner-up" AND tournament = "bulgaria open" |
###context:CREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR, opponent VARCHAR)
###human: What was the score of the player who played against Wong Choong Hann in the Dutch Open?
###assistant: SELECT score FROM table_name_47 WHERE tournament = "dutch open" AND opponent = "wong choong hann" |
###context:CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR, tournament VARCHAR)
###human: What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open?
###assistant: SELECT outcome FROM table_name_51 WHERE opponent = "nguyen tien minh" AND tournament = "bulgaria open" |
###context:CREATE TABLE table_name_86 (final_score VARCHAR, visiting_team VARCHAR)
###human: What was the final score when the New York Jets were the Visiting Team?
###assistant: SELECT final_score FROM table_name_86 WHERE visiting_team = "new york jets" |
###context:CREATE TABLE table_name_62 (date VARCHAR, visiting_team VARCHAR)
###human: When were the Cleveland Browns the visiting team?
###assistant: SELECT date FROM table_name_62 WHERE visiting_team = "cleveland browns" |
###context:CREATE TABLE table_name_65 (stadium VARCHAR, visiting_team VARCHAR)
###human: Where were the New York Jets visiting?
###assistant: SELECT stadium FROM table_name_65 WHERE visiting_team = "new york jets" |
###context:CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR)
###human: What was the final score in Robert F. Kennedy Memorial Stadium?
###assistant: SELECT final_score FROM table_name_26 WHERE stadium = "robert f. kennedy memorial stadium" |
###context:CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR)
###human: What was the visiting team on November 12?
###assistant: SELECT visiting_team FROM table_name_12 WHERE date = "november 12" |
###context:CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR)
###human: In what stadium were the New England Patriots the visiting team?
###assistant: SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots" |
###context:CREATE TABLE table_name_72 (goals_conceded INTEGER, played INTEGER)
###human: If the games played are smaller than 18, what are the lowest goals conceded?
###assistant: SELECT MIN(goals_conceded) FROM table_name_72 WHERE played < 18 |
###context:CREATE TABLE table_name_54 (goals_conceded VARCHAR, place VARCHAR, played VARCHAR)
###human: If the place is smaller than 8 and they played more than 18, what is the total number of goals conceded?
###assistant: SELECT COUNT(goals_conceded) FROM table_name_54 WHERE place < 8 AND played > 18 |
###context:CREATE TABLE table_name_60 (place INTEGER, lost INTEGER)
###human: What is the sum of the place that has less than 2 losses?
###assistant: SELECT SUM(place) FROM table_name_60 WHERE lost < 2 |
###context:CREATE TABLE table_name_18 (width INTEGER, frame_size VARCHAR, height VARCHAR)
###human: What is the smallest width for a frame size of 5k and a height shorter than 2700?
###assistant: SELECT MIN(width) FROM table_name_18 WHERE frame_size = "5k" AND height < 2700 |
###context:CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR)
###human: What was the opponent on August 29?
###assistant: SELECT opponent FROM table_name_57 WHERE date = "august 29" |
###context:CREATE TABLE table_name_61 (loss VARCHAR, attendance VARCHAR)
###human: Which team had the attendance of 16,468 and lost?
###assistant: SELECT loss FROM table_name_61 WHERE attendance = "16,468" |
###context:CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR)
###human: What opponent has a loss of Trachsel (10-11)?
###assistant: SELECT opponent FROM table_name_12 WHERE loss = "trachsel (10-11)" |
###context:CREATE TABLE table_name_47 (attendance VARCHAR, date VARCHAR)
###human: What was the attendance on August 8?
###assistant: SELECT attendance FROM table_name_47 WHERE date = "august 8" |
###context:CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR)
###human: Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji?
###assistant: SELECT rapid FROM table_name_91 WHERE distance__km_ < 14.2 AND station = "kōmyōji" |
###context:CREATE TABLE table_name_14 (other INTEGER, name VARCHAR, total VARCHAR)
###human: What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34?
###assistant: SELECT SUM(other) FROM table_name_14 WHERE name = "simon gillett category:articles with hcards" AND total < 34 |
###context:CREATE TABLE table_name_7 (league INTEGER, total VARCHAR)
###human: What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 0?
###assistant: SELECT SUM(league) AS Cup FROM table_name_7 WHERE total < 1 AND league < 0 |
###context:CREATE TABLE table_name_60 (total INTEGER, name VARCHAR, other VARCHAR)
###human: What is the average Total, when the Name is Simon Gillett Category:Articles with hCards, and when the Other is greater than 3?
###assistant: SELECT AVG(total) FROM table_name_60 WHERE name = "simon gillett category:articles with hcards" AND other > 3 |
###context:CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR)
###human: What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1?
###assistant: SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1 |
###context:CREATE TABLE table_name_52 (champion VARCHAR, runner_up VARCHAR)
###human: Name the champion for christopher miles runner-up
###assistant: SELECT champion FROM table_name_52 WHERE runner_up = "christopher miles" |
###context:CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR)
###human: Name the champion for 2000
###assistant: SELECT champion FROM table_name_52 WHERE year = "2000" |
###context:CREATE TABLE table_name_26 (location VARCHAR, year VARCHAR)
###human: Name the location for 1998
###assistant: SELECT location FROM table_name_26 WHERE year = "1998" |
###context:CREATE TABLE table_name_42 (gold VARCHAR, total INTEGER)
###human: How many gold medals correspond with a total over 4?
###assistant: SELECT gold FROM table_name_42 WHERE total > 4 |
###context:CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR)
###human: What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals?
###assistant: SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4 |
###context:CREATE TABLE table_name_7 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
###human: What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals?
###assistant: SELECT MIN(gold) FROM table_name_7 WHERE rank = "total" AND bronze > 4 |
###context:CREATE TABLE table_name_7 (bronze INTEGER, gold INTEGER)
###human: What is the smallest number of bronze medals with more than 4 gold medals?
###assistant: SELECT MIN(bronze) FROM table_name_7 WHERE gold > 4 |
###context:CREATE TABLE table_name_3 (gender VARCHAR, riding VARCHAR)
###human: The candidate with Riding of st. john's south—mount pearl is what gender?
###assistant: SELECT gender FROM table_name_3 WHERE riding = "st. john's south—mount pearl" |
###context:CREATE TABLE table_name_26 (number VARCHAR, percentage___percentage_ VARCHAR)
###human: Which number has a 0.35 percentage?
###assistant: SELECT number FROM table_name_26 WHERE percentage___percentage_ = "0.35" |
###context:CREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR)
###human: What is the percentage for Russian?
###assistant: SELECT percentage___percentage_ FROM table_name_90 WHERE language = "russian" |
###context:CREATE TABLE table_name_3 (males VARCHAR, language VARCHAR)
###human: How many males speak Russian?
###assistant: SELECT males FROM table_name_3 WHERE language = "russian" |
###context:CREATE TABLE table_name_4 (writer_s_ VARCHAR, recipient VARCHAR)
###human: Who is the writer for Red Rose Chain LTD?
###assistant: SELECT writer_s_ FROM table_name_4 WHERE recipient = "red rose chain ltd" |
###context:CREATE TABLE table_name_50 (producer_s_ VARCHAR, director_s_ VARCHAR)
###human: Which producer did Daniel Cormack direct?
###assistant: SELECT producer_s_ FROM table_name_50 WHERE director_s_ = "daniel cormack" |
###context:CREATE TABLE table_name_91 (producer_s_ VARCHAR, recipient VARCHAR)
###human: Who produced Laura Tunstall?
###assistant: SELECT producer_s_ FROM table_name_91 WHERE recipient = "laura tunstall" |
###context:CREATE TABLE table_name_5 (writer_s_ VARCHAR, film VARCHAR)
###human: Who wrote the film Jehovah's Witness?
###assistant: SELECT writer_s_ FROM table_name_5 WHERE film = "jehovah's witness" |
###context:CREATE TABLE table_name_7 (date VARCHAR, distance VARCHAR)
###human: When did Hein Vergeer have a distance of 5,000m?
###assistant: SELECT date FROM table_name_7 WHERE distance = "5,000m" |
###context:CREATE TABLE table_name_57 (notes VARCHAR, distance VARCHAR)
###human: What were the notes during the distance of Men's Speed Skating?
###assistant: SELECT notes FROM table_name_57 WHERE distance = "men's speed skating" |
###context:CREATE TABLE table_name_77 (date VARCHAR, competition VARCHAR)
###human: What date has the competition of uefa euro 2012 qualifying?
###assistant: SELECT date FROM table_name_77 WHERE competition = "uefa euro 2012 qualifying" |
###context:CREATE TABLE table_name_27 (grade VARCHAR, priority_entry_rights_to_derby VARCHAR)
###human: What is the Grade that has Turf 1600m?
###assistant: SELECT grade FROM table_name_27 WHERE priority_entry_rights_to_derby = "turf 1600m" |
###context:CREATE TABLE table_name_51 (priority_entry_rights_to_derby VARCHAR, race_name VARCHAR)
###human: What is the Priority-entry-rights to Derby in rank 4?
###assistant: SELECT priority_entry_rights_to_derby FROM table_name_51 WHERE NOT race_name = 4 |
###context:CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR)
###human: How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737?
###assistant: SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_transylvania < 14.476 AND bistrita = 643 AND zalau < 737 |
###context:CREATE TABLE table_name_37 (satu_mare INTEGER, baia_mare INTEGER)
###human: What is the smallest Satu Mare value associated with Baia Mare over 523?
###assistant: SELECT MIN(satu_mare) FROM table_name_37 WHERE baia_mare > 523 |
###context:CREATE TABLE table_name_65 (word_wrap_support VARCHAR, format VARCHAR)
###human: Which Word wrap support has a Format of mobipocket?
###assistant: SELECT word_wrap_support FROM table_name_65 WHERE format = "mobipocket" |
###context:CREATE TABLE table_name_75 (interactivity_support VARCHAR, format VARCHAR)
###human: Which Interactivity support has a Format of fictionbook?
###assistant: SELECT interactivity_support FROM table_name_75 WHERE format = "fictionbook" |
###context:CREATE TABLE table_name_64 (filename_extension VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, open_standard VARCHAR)
###human: Which Filename extension has an Interactivity support of no, an Open standard of yes, and an Image support of no?
###assistant: SELECT filename_extension FROM table_name_64 WHERE interactivity_support = "no" AND open_standard = "yes" AND image_support = "no" |
###context:CREATE TABLE table_name_26 (filename_extension VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR, open_standard VARCHAR)
###human: Which Filename extension has a Word wrap support of yes, an Open standard of no, and an Interactivity support of yes?
###assistant: SELECT filename_extension FROM table_name_26 WHERE word_wrap_support = "yes" AND open_standard = "no" AND interactivity_support = "yes" |
###context:CREATE TABLE table_name_22 (format VARCHAR, open_standard VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR)
###human: Which Format has an Interactivity support of no, a Word wrap support of yes, an Image support of yes, and an Open standard of yes?
###assistant: SELECT format FROM table_name_22 WHERE interactivity_support = "no" AND word_wrap_support = "yes" AND image_support = "yes" AND open_standard = "yes" |
###context:CREATE TABLE table_name_67 (round INTEGER, position VARCHAR, pick__number VARCHAR)
###human: Position of guard, and a Pick # larger than 9 is what highest round?
###assistant: SELECT MAX(round) FROM table_name_67 WHERE position = "guard" AND pick__number > 9 |
###context:CREATE TABLE table_name_55 (college VARCHAR, pick__number VARCHAR, name VARCHAR)
###human: Pick # smaller than 11, and a Name of von hutchins belongs to what college?
###assistant: SELECT college FROM table_name_55 WHERE pick__number < 11 AND name = "von hutchins" |
###context:CREATE TABLE table_name_60 (round INTEGER, college VARCHAR, overall VARCHAR)
###human: College of idaho, and an Overall smaller than 141 is what average round?
###assistant: SELECT AVG(round) FROM table_name_60 WHERE college = "idaho" AND overall < 141 |
###context:CREATE TABLE table_name_51 (round INTEGER, name VARCHAR, overall VARCHAR)
###human: Name of David Kimball, and an Overall smaller than 229 is what highest round?
###assistant: SELECT MAX(round) FROM table_name_51 WHERE name = "david kimball" AND overall < 229 |
###context:CREATE TABLE table_name_70 (points VARCHAR, engine VARCHAR)
###human: How many points did the car with the brm v8 engine have?
###assistant: SELECT COUNT(points) FROM table_name_70 WHERE engine = "brm v8" |
###context:CREATE TABLE table_name_59 (chassis VARCHAR, year VARCHAR, points VARCHAR)
###human: Which chassis has more than 0 points and was before 1966?
###assistant: SELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 0 |
###context:CREATE TABLE table_name_10 (points INTEGER, year VARCHAR)
###human: How many points did he average in 1964?
###assistant: SELECT AVG(points) FROM table_name_10 WHERE year = 1964 |
###context:CREATE TABLE table_name_22 (points INTEGER, engine VARCHAR, year VARCHAR)
###human: Before the year 1963 what was the fewest points the climax v8 engine had?
###assistant: SELECT MIN(points) FROM table_name_22 WHERE engine = "climax v8" AND year < 1963 |
###context:CREATE TABLE table_name_85 (year INTEGER, points INTEGER)
###human: What was the earliest year that had less than 1 point?
###assistant: SELECT MIN(year) FROM table_name_85 WHERE points < 1 |
###context:CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)
###human: How many were in attendance on October 27, 1963?
###assistant: SELECT MAX(attendance) FROM table_name_33 WHERE date = "october 27, 1963" |
###context:CREATE TABLE table_name_90 (_number___county VARCHAR, year_joined VARCHAR, location VARCHAR)
###human: which # / county is correct for year less than 1981 and chalmers as location?
###assistant: SELECT _number___county FROM table_name_90 WHERE year_joined < 1981 AND location = "chalmers" |
###context:CREATE TABLE table_name_65 (year_joined VARCHAR, _number___county VARCHAR)
###human: what is the correct year for # / county of 09 cass?
###assistant: SELECT year_joined FROM table_name_65 WHERE _number___county = "09 cass" |
###context:CREATE TABLE table_name_39 (mascot VARCHAR, _number___county VARCHAR)
###human: what's the mascot for 66 pulaski 2?
###assistant: SELECT mascot FROM table_name_39 WHERE _number___county = "66 pulaski 2" |
###context:CREATE TABLE table_name_85 (bronze INTEGER, silver VARCHAR, gold VARCHAR)
###human: What is the total bronze with a Silver of 2, and a Gold smaller than 0?
###assistant: SELECT SUM(bronze) FROM table_name_85 WHERE silver = 2 AND gold < 0 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.