training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_99 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
###human: What score has money ($) greater than 400, with gene sarazen as the player?
###assistant: SELECT score FROM table_name_99 WHERE money___$__ > 400 AND player = "gene sarazen" |
###context:CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, total VARCHAR)
###human: Which Country has a To par smaller than 7, and a Total of 148?
###assistant: SELECT country FROM table_name_38 WHERE to_par < 7 AND total = 148 |
###context:CREATE TABLE table_name_93 (player VARCHAR, country VARCHAR)
###human: Which player is from south africa?
###assistant: SELECT player FROM table_name_93 WHERE country = "south africa" |
###context:CREATE TABLE table_name_61 (year_s__won VARCHAR, country VARCHAR, total VARCHAR, to_par VARCHAR)
###human: Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?
###assistant: SELECT year_s__won FROM table_name_61 WHERE total > 148 AND to_par < 17 AND country = "new zealand" |
###context:CREATE TABLE table_name_86 (event VARCHAR, name VARCHAR)
###human: In what Event did Dorcus Inzikuru compete?
###assistant: SELECT event FROM table_name_86 WHERE name = "dorcus inzikuru" |
###context:CREATE TABLE table_name_60 (games VARCHAR, name VARCHAR)
###human: In what Games did Patrick Etolu compete?
###assistant: SELECT games FROM table_name_60 WHERE name = "patrick etolu" |
###context:CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)
###human: What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?
###assistant: SELECT medal FROM table_name_71 WHERE sport = "boxing" AND games = "1970 edinburgh" AND name = "james odwori" |
###context:CREATE TABLE table_name_25 (medal VARCHAR, event VARCHAR)
###human: What is the Medal for the Player in the Light Heavyweight event?
###assistant: SELECT medal FROM table_name_25 WHERE event = "light heavyweight" |
###context:CREATE TABLE table_name_54 (games VARCHAR, medal VARCHAR, event VARCHAR)
###human: At what Games did the competitor win a Silver medal in the light heavyweight event?
###assistant: SELECT games FROM table_name_54 WHERE medal = "silver" AND event = "light heavyweight" |
###context:CREATE TABLE table_name_26 (tie_no VARCHAR, away_team VARCHAR)
###human: What is the Tie no for Away Team Ipswich Town?
###assistant: SELECT tie_no FROM table_name_26 WHERE away_team = "ipswich town" |
###context:CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR)
###human: What is the Date of the Middlesbrough Home game?
###assistant: SELECT date FROM table_name_42 WHERE home_team = "middlesbrough" |
###context:CREATE TABLE table_name_40 (home_team VARCHAR, score VARCHAR)
###human: What is the Home team in the Game with a Score of 1–0?
###assistant: SELECT home_team FROM table_name_40 WHERE score = "1–0" |
###context:CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
###human: What is the Date of the Everton Away game?
###assistant: SELECT date FROM table_name_95 WHERE away_team = "everton" |
###context:CREATE TABLE table_name_28 (to_par VARCHAR, finish VARCHAR)
###human: When the finish was t31 what was the To par?
###assistant: SELECT to_par FROM table_name_28 WHERE finish = "t31" |
###context:CREATE TABLE table_name_67 (player VARCHAR, finish VARCHAR)
###human: Who had a finish of t15?
###assistant: SELECT player FROM table_name_67 WHERE finish = "t15" |
###context:CREATE TABLE table_name_59 (to_par VARCHAR, total VARCHAR)
###human: When the total was 290 what was the To par?
###assistant: SELECT to_par FROM table_name_59 WHERE total = 290 |
###context:CREATE TABLE table_name_47 (total INTEGER, player VARCHAR)
###human: What is the Total for Seve Ballesteros?
###assistant: SELECT SUM(total) FROM table_name_47 WHERE player = "seve ballesteros" |
###context:CREATE TABLE table_name_23 (result VARCHAR, nominee VARCHAR)
###human: What was the result of Declan Donnellan's nomination?
###assistant: SELECT result FROM table_name_23 WHERE nominee = "declan donnellan" |
###context:CREATE TABLE table_name_81 (result VARCHAR, category VARCHAR)
###human: What was the result of the Best Actor in a Musical category?
###assistant: SELECT result FROM table_name_81 WHERE category = "best actor in a musical" |
###context:CREATE TABLE table_name_26 (player VARCHAR, total VARCHAR)
###human: WHAT IS THE PLAYER WITH 287?
###assistant: SELECT player FROM table_name_26 WHERE total = 287 |
###context:CREATE TABLE table_name_25 (country VARCHAR, player VARCHAR)
###human: WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS?
###assistant: SELECT country FROM table_name_25 WHERE player = "jack nicklaus" |
###context:CREATE TABLE table_name_41 (player VARCHAR, country VARCHAR, place VARCHAR)
###human: What is Player, when Country is "United States", and when Place is "6"?
###assistant: SELECT player FROM table_name_41 WHERE country = "united states" AND place = "6" |
###context:CREATE TABLE table_name_74 (money___ INTEGER, score VARCHAR)
###human: What is the average Money ( $ ), when Score is "69-69-76-69=283"?
###assistant: SELECT AVG(money___) AS $__ FROM table_name_74 WHERE score = 69 - 69 - 76 - 69 = 283 |
###context:CREATE TABLE table_name_98 (country VARCHAR, to_par VARCHAR, score VARCHAR)
###human: What is Country, when To par is "+1", and when Score is "72-71-70-72=285"?
###assistant: SELECT country FROM table_name_98 WHERE to_par = "+1" AND score = 72 - 71 - 70 - 72 = 285 |
###context:CREATE TABLE table_name_41 (place VARCHAR, score VARCHAR)
###human: What is Place, when Score is "70-70-68-70=278"?
###assistant: SELECT place FROM table_name_41 WHERE score = 70 - 70 - 68 - 70 = 278 |
###context:CREATE TABLE table_name_83 (network VARCHAR, year VARCHAR, colour_commentator_s_ VARCHAR)
###human: For which network was Chris Walby the color commentator after 1990?
###assistant: SELECT network FROM table_name_83 WHERE year > 1990 AND colour_commentator_s_ = "chris walby" |
###context:CREATE TABLE table_name_51 (pregame_host VARCHAR, year VARCHAR, play_by_play VARCHAR)
###human: Who was the pregame host before 1992 when there was a play by play of Bob Irving?
###assistant: SELECT pregame_host FROM table_name_51 WHERE year < 1992 AND play_by_play = "bob irving" |
###context:CREATE TABLE table_name_74 (total VARCHAR, year_won VARCHAR, to_par VARCHAR)
###human: What is the total of the player who won before 1991 and has a to par less than 14?
###assistant: SELECT COUNT(total) FROM table_name_74 WHERE year_won < 1991 AND to_par < 14 |
###context:CREATE TABLE table_name_48 (to_par VARCHAR, total VARCHAR, year_won VARCHAR, player VARCHAR)
###human: What is the total to par of player jeff sluman, who won before 1993 and has a total greater than 154?
###assistant: SELECT COUNT(to_par) FROM table_name_48 WHERE year_won < 1993 AND player = "jeff sluman" AND total > 154 |
###context:CREATE TABLE table_name_20 (total INTEGER, player VARCHAR, to_par VARCHAR)
###human: What is the sum of the total of player rich beem, who has a to par greater than 17?
###assistant: SELECT SUM(total) FROM table_name_20 WHERE player = "rich beem" AND to_par > 17 |
###context:CREATE TABLE table_name_34 (away VARCHAR, round VARCHAR)
###human: Who was the away team in the semifinals?
###assistant: SELECT away FROM table_name_34 WHERE round = "semifinals" |
###context:CREATE TABLE table_name_34 (home VARCHAR, club VARCHAR)
###human: What is the home record for the Auxerre club?
###assistant: SELECT home FROM table_name_34 WHERE club = "auxerre" |
###context:CREATE TABLE table_name_85 (home VARCHAR, club VARCHAR)
###human: What is the home record for the Maccabi Tel-Aviv club?
###assistant: SELECT home FROM table_name_85 WHERE club = "maccabi tel-aviv" |
###context:CREATE TABLE table_name_88 (against VARCHAR, date VARCHAR)
###human: What is the total number of Against, when Date is "16/03/1996"?
###assistant: SELECT COUNT(against) FROM table_name_88 WHERE date = "16/03/1996" |
###context:CREATE TABLE table_name_58 (venue VARCHAR, against VARCHAR, date VARCHAR)
###human: What is Venue, when Against is greater than 9, and when Date is "03/02/1996"?
###assistant: SELECT venue FROM table_name_58 WHERE against > 9 AND date = "03/02/1996" |
###context:CREATE TABLE table_name_16 (status VARCHAR, opposing_teams VARCHAR)
###human: What is Status, when Opposing Teams is "Scotland"?
###assistant: SELECT status FROM table_name_16 WHERE opposing_teams = "scotland" |
###context:CREATE TABLE table_name_44 (venue VARCHAR, date VARCHAR)
###human: What is Venue, when Date is "14/12/1996"?
###assistant: SELECT venue FROM table_name_44 WHERE date = "14/12/1996" |
###context:CREATE TABLE table_name_28 (against INTEGER, status VARCHAR, date VARCHAR)
###human: What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"?
###assistant: SELECT AVG(against) FROM table_name_28 WHERE status = "five nations" AND date = "16/03/1996" |
###context:CREATE TABLE table_name_35 (year VARCHAR, team VARCHAR, pos VARCHAR)
###human: In what year did the team of aston martin racing have a position of 6th?
###assistant: SELECT COUNT(year) FROM table_name_35 WHERE team = "aston martin racing" AND pos = "6th" |
###context:CREATE TABLE table_name_44 (highest_rank VARCHAR, name VARCHAR)
###human: Which Rank is Highest for Yoshiazuma?
###assistant: SELECT highest_rank FROM table_name_44 WHERE name = "yoshiazuma" |
###context:CREATE TABLE table_name_12 (top_division_debut VARCHAR, tournaments VARCHAR, name VARCHAR)
###human: Which Top Division debut for Kitazakura has Tournaments less than 88?
###assistant: SELECT top_division_debut FROM table_name_12 WHERE tournaments < 88 AND name = "kitazakura" |
###context:CREATE TABLE table_name_46 (tournaments INTEGER, highest_rank VARCHAR)
###human: What is the lowest Tournaments with Highest Rank of Maegashira 13?
###assistant: SELECT MIN(tournaments) FROM table_name_46 WHERE highest_rank = "maegashira 13" |
###context:CREATE TABLE table_name_74 (city VARCHAR, winner VARCHAR, year VARCHAR)
###human: What was the city where Hallescher FC won in 2008?
###assistant: SELECT city FROM table_name_74 WHERE winner = "hallescher fc" AND year = 2008 |
###context:CREATE TABLE table_name_58 (winner VARCHAR, finalist VARCHAR)
###human: Who was the winner of fc grün-weiß wolfen?
###assistant: SELECT winner FROM table_name_58 WHERE finalist = "fc grün-weiß wolfen" |
###context:CREATE TABLE table_name_31 (stadium VARCHAR, year INTEGER)
###human: What was the stadium past 2012?
###assistant: SELECT stadium FROM table_name_31 WHERE year > 2012 |
###context:CREATE TABLE table_name_28 (year INTEGER, country VARCHAR, location VARCHAR)
###human: What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"?
###assistant: SELECT AVG(year) FROM table_name_28 WHERE country = "u.s." AND location = "edmond , ok" |
###context:CREATE TABLE table_name_93 (killed INTEGER, perpetrator VARCHAR)
###human: What is the lowest Killed, when Perpetrator is "Sherrill, Patrick Henry , 44"?
###assistant: SELECT MIN(killed) FROM table_name_93 WHERE perpetrator = "sherrill, patrick henry , 44" |
###context:CREATE TABLE table_name_8 (goals_for INTEGER, goal_difference VARCHAR, losses VARCHAR, wins VARCHAR)
###human: What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?
###assistant: SELECT MAX(goals_for) FROM table_name_8 WHERE losses < 16 AND wins < 11 AND goal_difference > -9 |
###context:CREATE TABLE table_name_74 (wins INTEGER, goal_difference VARCHAR, goals_against VARCHAR, points VARCHAR)
###human: What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?
###assistant: SELECT MAX(wins) FROM table_name_74 WHERE goals_against < 51 AND points > 39 AND goal_difference < 13 |
###context:CREATE TABLE table_name_46 (wins INTEGER, goals_for VARCHAR, goal_difference VARCHAR, position VARCHAR)
###human: What is the lowest wins entry that has a goal difference less than 33, position higher than 13, and 42 goals?
###assistant: SELECT MIN(wins) FROM table_name_46 WHERE goal_difference < 33 AND position < 13 AND goals_for = 42 |
###context:CREATE TABLE table_name_62 (goals_for VARCHAR, losses VARCHAR, draws VARCHAR, wins VARCHAR)
###human: What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses?
###assistant: SELECT COUNT(goals_for) FROM table_name_62 WHERE draws > 7 AND wins > 8 AND losses > 5 |
###context:CREATE TABLE table_name_86 (city VARCHAR, stadium VARCHAR)
###human: What city is the Stadium estádio dr. magalhães pessoa in?
###assistant: SELECT city FROM table_name_86 WHERE stadium = "estádio dr. magalhães pessoa" |
###context:CREATE TABLE table_name_93 (city VARCHAR, stadium VARCHAR)
###human: What city is the Stadium estádio cidade de barcelos in?
###assistant: SELECT city FROM table_name_93 WHERE stadium = "estádio cidade de barcelos" |
###context:CREATE TABLE table_name_36 (club VARCHAR, head_coach VARCHAR)
###human: Head Coach casemiro mior is at which Club?
###assistant: SELECT club FROM table_name_36 WHERE head_coach = "casemiro mior" |
###context:CREATE TABLE table_name_79 (city VARCHAR, club VARCHAR)
###human: What City is the Club braga in?
###assistant: SELECT city FROM table_name_79 WHERE club = "braga" |
###context:CREATE TABLE table_name_20 (city VARCHAR)
###human: What place is listed in the 2002-2003 season for the City of Aveiro?
###assistant: SELECT 2002 AS _2003_season FROM table_name_20 WHERE city = "aveiro" |
###context:CREATE TABLE table_name_25 (team_1 VARCHAR)
###human: What is the 1st round with fc nantes (d1) as team 1?
###assistant: SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = "fc nantes (d1)" |
###context:CREATE TABLE table_name_66 (team_1 VARCHAR, team_2 VARCHAR)
###human: What is the team 1 with nîmes olympique (d2) as team 2?
###assistant: SELECT team_1 FROM table_name_66 WHERE team_2 = "nîmes olympique (d2)" |
###context:CREATE TABLE table_name_48 (lyrics VARCHAR, date VARCHAR, catalog_number VARCHAR)
###human: In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427?
###assistant: SELECT lyrics FROM table_name_48 WHERE date = "august 10, 2005" AND catalog_number = "tocp-66427" |
###context:CREATE TABLE table_name_8 (label VARCHAR, format VARCHAR, date VARCHAR, region VARCHAR)
###human: What is the Label of the CD released in Germany on June 6, 2005?
###assistant: SELECT label FROM table_name_8 WHERE date = "june 6, 2005" AND region = "germany" AND format = "cd" |
###context:CREATE TABLE table_name_46 (region VARCHAR, catalog_number VARCHAR, label VARCHAR, format VARCHAR)
###human: What is the Region of the EMI 4 x vinyl release bearing Catalog number 560 6111?
###assistant: SELECT region FROM table_name_46 WHERE label = "emi" AND format = "4 x vinyl" AND catalog_number = "560 6111" |
###context:CREATE TABLE table_name_59 (lyrics VARCHAR, catalog_number VARCHAR)
###human: What language is the Lyrics of the release with Catalog number 560 6111?
###assistant: SELECT lyrics FROM table_name_59 WHERE catalog_number = "560 6111" |
###context:CREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR)
###human: What is the Region of the release with Catalog number 3 12046 2?
###assistant: SELECT region FROM table_name_77 WHERE catalog_number = "3 12046 2" |
###context:CREATE TABLE table_name_25 (label VARCHAR, date VARCHAR, region VARCHAR)
###human: What is the Label of the September 19, 2008 release in Germany?
###assistant: SELECT label FROM table_name_25 WHERE date = "september 19, 2008" AND region = "germany" |
###context:CREATE TABLE table_name_82 (edition_s_ VARCHAR, region VARCHAR)
###human: What is the Edition of the release in Germany?
###assistant: SELECT edition_s_ FROM table_name_82 WHERE region = "germany" |
###context:CREATE TABLE table_name_40 (format_s_ VARCHAR, date VARCHAR)
###human: What is the Format(s) of the release on September 23, 2008?
###assistant: SELECT format_s_ FROM table_name_40 WHERE date = "september 23, 2008" |
###context:CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, date VARCHAR)
###human: What is the Label of the release on April 24, 2009 in Germany?
###assistant: SELECT label FROM table_name_2 WHERE region = "germany" AND date = "april 24, 2009" |
###context:CREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)
###human: What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?
###assistant: SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400" |
###context:CREATE TABLE table_name_33 (cores VARCHAR, clock_speed VARCHAR)
###human: What is the total Cores with a Clock Speed of 1.3ghz?
###assistant: SELECT COUNT(cores) FROM table_name_33 WHERE clock_speed = "1.3ghz" |
###context:CREATE TABLE table_name_5 (to_par VARCHAR, score VARCHAR)
###human: What's the to par for the score of 68-74-71-77=290?
###assistant: SELECT to_par FROM table_name_5 WHERE score = 68 - 74 - 71 - 77 = 290 |
###context:CREATE TABLE table_name_87 (money___$__ VARCHAR, place VARCHAR, score VARCHAR)
###human: What's the money ($) for the t3 place and the score of 74-74-71-69=288?
###assistant: SELECT money___$__ FROM table_name_87 WHERE place = "t3" AND score = 74 - 74 - 71 - 69 = 288 |
###context:CREATE TABLE table_name_62 (score VARCHAR, money___$__ VARCHAR)
###human: What's the score for $22,500?
###assistant: SELECT score FROM table_name_62 WHERE money___$__ = "22,500" |
###context:CREATE TABLE table_name_58 (to_par VARCHAR, place VARCHAR, score VARCHAR)
###human: What's the to par for the t1 place with a score of 70-72-73-72=287?
###assistant: SELECT to_par FROM table_name_58 WHERE place = "t1" AND score = 70 - 72 - 73 - 72 = 287 |
###context:CREATE TABLE table_name_28 (annual_interchanges__millions__2011_12 INTEGER, number_of_platforms VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR, rank VARCHAR, location VARCHAR)
###human: What's the average annual interchange for a rank over 26 in liverpool with an annual entry/exit less than 14.209 and more than 10 platforms?
###assistant: SELECT AVG(annual_interchanges__millions__2011_12) FROM table_name_28 WHERE rank > 26 AND location = "liverpool" AND annual_entry_exit__millions__2011_12 < 14.209 AND number_of_platforms > 10 |
###context:CREATE TABLE table_name_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR)
###human: What's the highest annual interchange for wimbledon railway station?
###assistant: SELECT MAX(annual_interchanges__millions__2011_12) FROM table_name_82 WHERE railway_station = "wimbledon" |
###context:CREATE TABLE table_name_32 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR)
###human: What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609?
###assistant: SELECT MIN(total_passengers__millions__2011_12) FROM table_name_32 WHERE annual_entry_exit__millions__2011_12 = 36.609 |
###context:CREATE TABLE table_name_83 (rank VARCHAR, total_passengers__millions__2011_12 VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR)
###human: What rank has an annual interchange less than 1.99 million, an annual entry/exit less than 13.835 million, and more than 13.772 million total passengers?
###assistant: SELECT rank FROM table_name_83 WHERE annual_interchanges__millions__2011_12 < 1.99 AND annual_entry_exit__millions__2011_12 < 13.835 AND total_passengers__millions__2011_12 > 13.772 |
###context:CREATE TABLE table_name_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR)
###human: How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million?
###assistant: SELECT COUNT(rank) FROM table_name_91 WHERE location = "liverpool" AND number_of_platforms > 3 AND annual_interchanges__millions__2011_12 < 0.778 |
###context:CREATE TABLE table_name_61 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR)
###human: Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783?
###assistant: SELECT AVG(number_of_households) FROM table_name_61 WHERE per_capita_income = "$21,571" AND population < 9 OFFSET 783 |
###context:CREATE TABLE table_name_98 (number_of_households INTEGER, county VARCHAR, population VARCHAR)
###human: Which Number of households has a County of cook, and Population smaller than 5,176?
###assistant: SELECT AVG(number_of_households) FROM table_name_98 WHERE county = "cook" AND population < 5 OFFSET 176 |
###context:CREATE TABLE table_name_38 (per_capita_income VARCHAR, median_family_income VARCHAR)
###human: What Per capita income has a Median family income of $50,755?
###assistant: SELECT per_capita_income FROM table_name_38 WHERE median_family_income = "$50,755" |
###context:CREATE TABLE table_name_73 (number_of_households VARCHAR, median_family_income VARCHAR)
###human: What Number of households have a Median family income of $58,491?
###assistant: SELECT number_of_households FROM table_name_73 WHERE median_family_income = "$58,491" |
###context:CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR)
###human: What was the to par score of the golfer that had a score of 68-70=138?
###assistant: SELECT to_par FROM table_name_91 WHERE score = 68 - 70 = 138 |
###context:CREATE TABLE table_name_63 (player VARCHAR, score VARCHAR)
###human: Which golfer had a score of 69-71=140?
###assistant: SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140 |
###context:CREATE TABLE table_name_37 (country VARCHAR, place VARCHAR, player VARCHAR)
###human: Which country is t3 finisher billy mayfair from?
###assistant: SELECT country FROM table_name_37 WHERE place = "t3" AND player = "billy mayfair" |
###context:CREATE TABLE table_name_62 (country VARCHAR, player VARCHAR)
###human: Which Country has a Player of jodie mudd?
###assistant: SELECT country FROM table_name_62 WHERE player = "jodie mudd" |
###context:CREATE TABLE table_name_72 (money___ VARCHAR, player VARCHAR)
###human: Which Money (£) has a Player of jodie mudd?
###assistant: SELECT COUNT(money___) AS £__ FROM table_name_72 WHERE player = "jodie mudd" |
###context:CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR)
###human: What is the total Money (£) of Player of nick faldo?
###assistant: SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo" |
###context:CREATE TABLE table_name_61 (money___ VARCHAR, place VARCHAR, player VARCHAR)
###human: What is the total Money (£) with a Place of t6, and a Player of ian baker-finch?
###assistant: SELECT COUNT(money___) AS £__ FROM table_name_61 WHERE place = "t6" AND player = "ian baker-finch" |
###context:CREATE TABLE table_name_20 (position INTEGER, goals_against VARCHAR, lost VARCHAR)
###human: What position was the team who had less then 63 goals against and less than 6 losses?
###assistant: SELECT AVG(position) FROM table_name_20 WHERE goals_against < 63 AND lost < 6 |
###context:CREATE TABLE table_name_30 (lost INTEGER, points_1 VARCHAR, goals_against VARCHAR)
###human: How many times did the team lose who had 1 of 37 points and less than 60 goals against?
###assistant: SELECT MIN(lost) FROM table_name_30 WHERE points_1 = "37" AND goals_against < 60 |
###context:CREATE TABLE table_name_97 (lost INTEGER, drawn VARCHAR, goal_difference VARCHAR, goals_for VARCHAR)
###human: How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws?
###assistant: SELECT MIN(lost) FROM table_name_97 WHERE goal_difference = "+2" AND goals_for = 52 AND drawn < 9 |
###context:CREATE TABLE table_name_76 (drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR)
###human: How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times?
###assistant: SELECT SUM(drawn) FROM table_name_76 WHERE position < 12 AND team = "clitheroe" AND lost > 4 |
###context:CREATE TABLE table_name_40 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
###human: What is the reserved for (ST/ST/None) when it was Uklana?
###assistant: SELECT reserved_for___sc___st__none_ FROM table_name_40 WHERE name = "uklana" |
###context:CREATE TABLE table_name_37 (constituency_number VARCHAR, district VARCHAR)
###human: Bhiwani district have what constituency number?
###assistant: SELECT constituency_number FROM table_name_37 WHERE district = "bhiwani" |
###context:CREATE TABLE table_name_40 (constituency_number VARCHAR, number_of_electorates__2009_ INTEGER)
###human: What is the constituency number with electorates (2009) number larger than 152,958?
###assistant: SELECT constituency_number FROM table_name_40 WHERE number_of_electorates__2009_ > 152 OFFSET 958 |
###context:CREATE TABLE table_name_89 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
###human: What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran?
###assistant: SELECT date_performed FROM table_name_89 WHERE main_contestant = "jatin shah" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" |
###context:CREATE TABLE table_name_10 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
###human: What are the scores when total score/week is 41/60 and co-contestant is Shalini Chandran?
###assistant: SELECT scores_by_each_individual_judge FROM table_name_10 WHERE total_score_week = "41/60" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" |
###context:CREATE TABLE table_name_21 (position VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)
###human: What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13?
###assistant: SELECT position FROM table_name_21 WHERE main_contestant = "vishal singh" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13 |
###context:CREATE TABLE table_name_33 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
###human: Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Chandran?
###assistant: SELECT main_contestant FROM table_name_33 WHERE co_contestant__yaar_vs_pyaar_ = "shalini chandran" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.