training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_76 (stadium VARCHAR, coach VARCHAR)
###human: Which stadium did Rashid Budaj coach?
###assistant: SELECT stadium FROM table_name_76 WHERE coach = "rashid budaj" |
###context:CREATE TABLE table_name_67 (coach VARCHAR, city VARCHAR)
###human: Who coached for al farwaniyah?
###assistant: SELECT coach FROM table_name_67 WHERE city = "al farwaniyah" |
###context:CREATE TABLE table_name_58 (coach VARCHAR, club VARCHAR)
###human: Who was the coach for qadsia?
###assistant: SELECT coach FROM table_name_58 WHERE club = "qadsia" |
###context:CREATE TABLE table_name_3 (stadium VARCHAR, club VARCHAR)
###human: Which stadium had the club Kuwait?
###assistant: SELECT stadium FROM table_name_3 WHERE club = "kuwait" |
###context:CREATE TABLE table_name_29 (score VARCHAR, year VARCHAR)
###human: What's the score in 1990?
###assistant: SELECT score FROM table_name_29 WHERE year = "1990" |
###context:CREATE TABLE table_name_3 (champion VARCHAR, name VARCHAR, runner_up VARCHAR)
###human: Who was the champion of the Philips Open with a runner-up of Javier Sánchez?
###assistant: SELECT champion FROM table_name_3 WHERE name = "philips open" AND runner_up = "javier sánchez" |
###context:CREATE TABLE table_name_93 (score VARCHAR, name VARCHAR, champion VARCHAR)
###human: What's the score of the Nice International Championships where Björn Borg was the champion?
###assistant: SELECT score FROM table_name_93 WHERE name = "nice international championships" AND champion = "björn borg" |
###context:CREATE TABLE table_name_58 (year VARCHAR, score VARCHAR)
###human: What year had a score of 6–2, 2–6, 5–7, 7–6, 8–6?
###assistant: SELECT year FROM table_name_58 WHERE score = "6–2, 2–6, 5–7, 7–6, 8–6" |
###context:CREATE TABLE table_name_88 (name VARCHAR, champion VARCHAR)
###human: What's the name when Henrik Sundström was champion?
###assistant: SELECT name FROM table_name_88 WHERE champion = "henrik sundström" |
###context:CREATE TABLE table_name_83 (score VARCHAR, away_team VARCHAR)
###human: When the away team was Bolton Wanderers, what was the score?
###assistant: SELECT score FROM table_name_83 WHERE away_team = "bolton wanderers" |
###context:CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR, away_team VARCHAR)
###human: On the date of 30/01/1991, when the away team was Liverpool, what was the score?
###assistant: SELECT score FROM table_name_76 WHERE date = "30/01/1991" AND away_team = "liverpool" |
###context:CREATE TABLE table_name_44 (score VARCHAR, tie_no VARCHAR)
###human: When the tie no was 1, what was the score?
###assistant: SELECT score FROM table_name_44 WHERE tie_no = "1" |
###context:CREATE TABLE table_name_54 (score VARCHAR, home_team VARCHAR)
###human: When the home team was Shrewsbury town, what was the score?
###assistant: SELECT score FROM table_name_54 WHERE home_team = "shrewsbury town" |
###context:CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)
###human: When the home team was Woking, what was the tie no?
###assistant: SELECT tie_no FROM table_name_12 WHERE home_team = "woking" |
###context:CREATE TABLE table_name_98 (attendance VARCHAR, away_team VARCHAR)
###human: How many people attended the game against away team Cambridge City?
###assistant: SELECT attendance FROM table_name_98 WHERE away_team = "cambridge city" |
###context:CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR)
###human: Who was the home team that played against Aylesbury Vale?
###assistant: SELECT home_team FROM table_name_37 WHERE away_team = "aylesbury vale" |
###context:CREATE TABLE table_name_12 (home_team VARCHAR, tie_no VARCHAR)
###human: Which home team has 44 ties?
###assistant: SELECT home_team FROM table_name_12 WHERE tie_no = "44" |
###context:CREATE TABLE table_name_74 (attendance VARCHAR, home_team VARCHAR)
###human: How many people attended the game with home team Witton Albion?
###assistant: SELECT attendance FROM table_name_74 WHERE home_team = "witton albion" |
###context:CREATE TABLE table_name_51 (attendance VARCHAR, home_team VARCHAR)
###human: What was the attendance at the Billericay Town home game?
###assistant: SELECT attendance FROM table_name_51 WHERE home_team = "billericay town" |
###context:CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)
###human: What was the tie number of the away game for Ashford Town (Middx)?
###assistant: SELECT tie_no FROM table_name_79 WHERE away_team = "ashford town (middx)" |
###context:CREATE TABLE table_name_34 (attendance VARCHAR, home_team VARCHAR)
###human: What was the attendance at the Billericay Town home game?
###assistant: SELECT attendance FROM table_name_34 WHERE home_team = "billericay town" |
###context:CREATE TABLE table_name_6 (away_team VARCHAR, attendance VARCHAR)
###human: Who was the away team at the game attended by 81?
###assistant: SELECT away_team FROM table_name_6 WHERE attendance = "81" |
###context:CREATE TABLE table_name_55 (score VARCHAR, tie_no VARCHAR)
###human: What score has a tie of 5?
###assistant: SELECT score FROM table_name_55 WHERE tie_no = "5" |
###context:CREATE TABLE table_name_56 (date VARCHAR, tie_no VARCHAR)
###human: What was the date of the game that tied at 3?
###assistant: SELECT date FROM table_name_56 WHERE tie_no = "3" |
###context:CREATE TABLE table_name_50 (european_release_date VARCHAR, north_american_release_date VARCHAR)
###human: What is European Release Date, when North American Release Date is "2013-03-05"?
###assistant: SELECT european_release_date FROM table_name_50 WHERE north_american_release_date = "2013-03-05" |
###context:CREATE TABLE table_name_34 (japanese_release_date VARCHAR, australia_release_date VARCHAR)
###human: What is Japanese Release Date, when Australia Release Date is "2006-03-23"?
###assistant: SELECT japanese_release_date FROM table_name_34 WHERE australia_release_date = "2006-03-23" |
###context:CREATE TABLE table_name_17 (north_american_release_date VARCHAR, japanese_release_date VARCHAR)
###human: What is North American Release Date, when Japanese Release Date is "2011-06-23"?
###assistant: SELECT north_american_release_date FROM table_name_17 WHERE japanese_release_date = "2011-06-23" |
###context:CREATE TABLE table_name_3 (goal_difference INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR)
###human: What is the goal difference when there are fewer than 12 wins, 32 goals against and 8 draws?
###assistant: SELECT SUM(goal_difference) FROM table_name_3 WHERE draws = 8 AND goals_against = 32 AND wins < 12 |
###context:CREATE TABLE table_name_85 (goal_difference INTEGER, position INTEGER)
###human: What's the lowest goal difference when the position is higher than 16?
###assistant: SELECT MIN(goal_difference) FROM table_name_85 WHERE position > 16 |
###context:CREATE TABLE table_name_11 (venue VARCHAR, opposing_teams VARCHAR, date VARCHAR)
###human: Which venue was the opposing team New Zealand on 22/11/1997?
###assistant: SELECT venue FROM table_name_11 WHERE opposing_teams = "new zealand" AND date = "22/11/1997" |
###context:CREATE TABLE table_name_77 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR)
###human: What day was the opposing team Australia and the against 25?
###assistant: SELECT date FROM table_name_77 WHERE against = 25 AND opposing_teams = "australia" |
###context:CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR)
###human: What was the status for the opposing team South Africa?
###assistant: SELECT status FROM table_name_9 WHERE opposing_teams = "south africa" |
###context:CREATE TABLE table_name_98 (league_goals INTEGER, name VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, position VARCHAR)
###human: What is the League Goals when the FA Cup Goals are 0, position is mf, League Cup Apps of 0, and name is Ben Thornley?
###assistant: SELECT AVG(league_goals) FROM table_name_98 WHERE fa_cup_goals = "0" AND position = "mf" AND league_cup_apps = "0" AND name = "ben thornley" |
###context:CREATE TABLE table_name_55 (total_apps VARCHAR, league_cup_apps VARCHAR, position VARCHAR)
###human: What is the Total Apps when League Cup Apps is 0 (1), and position is df?
###assistant: SELECT total_apps FROM table_name_55 WHERE league_cup_apps = "0 (1)" AND position = "df" |
###context:CREATE TABLE table_name_64 (total_goals INTEGER, name VARCHAR)
###human: What is the total goals for Mark Ward?
###assistant: SELECT MIN(total_goals) FROM table_name_64 WHERE name = "mark ward" |
###context:CREATE TABLE table_name_85 (party VARCHAR, name VARCHAR)
###human: What is the political party of Jackie Goldberg?
###assistant: SELECT party FROM table_name_85 WHERE name = "jackie goldberg" |
###context:CREATE TABLE table_name_71 (years_in_assembly VARCHAR, name VARCHAR)
###human: During what years was Christine Kehoe in Assembly?
###assistant: SELECT years_in_assembly FROM table_name_71 WHERE name = "christine kehoe" |
###context:CREATE TABLE table_name_54 (years_in_assembly VARCHAR, residence VARCHAR)
###human: What were the San Francisco resident's years in assembly?
###assistant: SELECT years_in_assembly FROM table_name_54 WHERE residence = "san francisco" |
###context:CREATE TABLE table_name_75 (party VARCHAR, residence VARCHAR)
###human: What political party does the person from San Diego belong to?
###assistant: SELECT party FROM table_name_75 WHERE residence = "san diego" |
###context:CREATE TABLE table_name_18 (opposing_teams VARCHAR, date VARCHAR)
###human: Which Opposing Teams is on 06/02/1988?
###assistant: SELECT opposing_teams FROM table_name_18 WHERE date = "06/02/1988" |
###context:CREATE TABLE table_name_42 (date VARCHAR, opposing_teams VARCHAR, status VARCHAR, venue VARCHAR)
###human: When Status of five nations, and a Venue of twickenham , london, and a Opposing Teams of ireland are in?
###assistant: SELECT date FROM table_name_42 WHERE status = "five nations" AND venue = "twickenham , london" AND opposing_teams = "ireland" |
###context:CREATE TABLE table_name_12 (attendance VARCHAR, opponents VARCHAR)
###human: What's the attendance when the opponents are cambridge united?
###assistant: SELECT attendance FROM table_name_12 WHERE opponents = "cambridge united" |
###context:CREATE TABLE table_name_85 (attendance INTEGER, opponents VARCHAR)
###human: What's the average attendance when the opponents are dundalk?
###assistant: SELECT AVG(attendance) FROM table_name_85 WHERE opponents = "dundalk" |
###context:CREATE TABLE table_name_42 (attendance VARCHAR, h___a VARCHAR, opponents VARCHAR)
###human: What's the total attendance for H/A of A and opponents of wolverhampton wanderers?
###assistant: SELECT COUNT(attendance) FROM table_name_42 WHERE h___a = "a" AND opponents = "wolverhampton wanderers" |
###context:CREATE TABLE table_name_44 (total INTEGER, gold INTEGER)
###human: Which Total has a Gold smaller than 4?
###assistant: SELECT MIN(total) FROM table_name_44 WHERE gold < 4 |
###context:CREATE TABLE table_name_17 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
###human: Which Rank has a Nation of china (chn), and a Bronze smaller than 4?
###assistant: SELECT MAX(rank) FROM table_name_17 WHERE nation = "china (chn)" AND bronze < 4 |
###context:CREATE TABLE table_name_20 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
###human: How much Total has a Bronze smaller than 13, and a Nation of netherlands (ned), and a Gold larger than 4?
###assistant: SELECT COUNT(total) FROM table_name_20 WHERE bronze < 13 AND nation = "netherlands (ned)" AND gold > 4 |
###context:CREATE TABLE table_name_82 (website VARCHAR, founded VARCHAR, suburb_town VARCHAR)
###human: Which website was founded before 1897, and is located in Adaminaby?
###assistant: SELECT website FROM table_name_82 WHERE founded < 1897 AND suburb_town = "adaminaby" |
###context:CREATE TABLE table_name_31 (founded INTEGER, years VARCHAR, suburb_town VARCHAR)
###human: What is the average year founded that is located in Broken Hill and has school years of k-6?
###assistant: SELECT AVG(founded) FROM table_name_31 WHERE years = "k-6" AND suburb_town = "broken hill" |
###context:CREATE TABLE table_name_11 (suburb_town VARCHAR, school VARCHAR, years VARCHAR, founded VARCHAR)
###human: What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school?
###assistant: SELECT suburb_town FROM table_name_11 WHERE years = "k-6" AND founded < 1875 AND school = "ashfield public school" |
###context:CREATE TABLE table_name_65 (founded VARCHAR, school VARCHAR)
###human: What is the year Airds High School was founded?
###assistant: SELECT founded FROM table_name_65 WHERE school = "airds high school" |
###context:CREATE TABLE table_name_76 (website VARCHAR, founded VARCHAR)
###human: Which website has 1921 as the year founded?
###assistant: SELECT website FROM table_name_76 WHERE founded = 1921 |
###context:CREATE TABLE table_name_80 (score_points VARCHAR, rank_points VARCHAR)
###human: What Score points has a Rank points of defending champion?
###assistant: SELECT score_points FROM table_name_80 WHERE rank_points = "defending champion" |
###context:CREATE TABLE table_name_40 (rank_points VARCHAR, event VARCHAR, score_points VARCHAR)
###human: What Rank points has an Event of wc beijing, and Score points of 11?
###assistant: SELECT rank_points FROM table_name_40 WHERE event = "wc beijing" AND score_points = "11" |
###context:CREATE TABLE table_name_9 (shooter VARCHAR, total VARCHAR)
###human: What Shooter has a Total of 28?
###assistant: SELECT shooter FROM table_name_9 WHERE total = "28" |
###context:CREATE TABLE table_name_21 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR, total VARCHAR)
###human: What Shooter has an Event of wc beijing, a Total of 16, and Rank points of 4?
###assistant: SELECT shooter FROM table_name_21 WHERE event = "wc beijing" AND total = "16" AND rank_points = "4" |
###context:CREATE TABLE table_name_13 (against INTEGER, venue VARCHAR)
###human: What is the average against of Murrayfield, Edinburgh?
###assistant: SELECT AVG(against) FROM table_name_13 WHERE venue = "murrayfield, edinburgh" |
###context:CREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR)
###human: What is the status of the Wales opposing team?
###assistant: SELECT status FROM table_name_70 WHERE opposing_teams = "wales" |
###context:CREATE TABLE table_name_95 (date VARCHAR, against VARCHAR)
###human: What date has an against of 7?
###assistant: SELECT date FROM table_name_95 WHERE against = 7 |
###context:CREATE TABLE table_name_1 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, party VARCHAR)
###human: What District was Incumbent Steve Israel First elected after 1998 in the Democratic party?
###assistant: SELECT district FROM table_name_1 WHERE first_elected > 1998 AND party = "democratic" AND incumbent = "steve israel" |
###context:CREATE TABLE table_name_48 (results VARCHAR, first_elected INTEGER)
###human: What are the results of a first elected prior to year 1982?
###assistant: SELECT results FROM table_name_48 WHERE first_elected < 1982 |
###context:CREATE TABLE table_name_45 (incumbent VARCHAR, district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)
###human: Who is the Incumbent of the Democratic Party at an election after 1992 in the New York 1 District who was Re-elected?
###assistant: SELECT incumbent FROM table_name_45 WHERE party = "democratic" AND results = "re-elected" AND first_elected > 1992 AND district = "new york 1" |
###context:CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR)
###human: What is Gene Sauers' to par?
###assistant: SELECT to_par FROM table_name_28 WHERE player = "gene sauers" |
###context:CREATE TABLE table_name_77 (place VARCHAR, country VARCHAR, player VARCHAR)
###human: Where is john daly of united states from?
###assistant: SELECT place FROM table_name_77 WHERE country = "united states" AND player = "john daly" |
###context:CREATE TABLE table_name_69 (rank INTEGER, city VARCHAR, population VARCHAR)
###human: What is the average rank of the city of el paso, which has a population greater than 672,538?
###assistant: SELECT AVG(rank) FROM table_name_69 WHERE city = "el paso" AND population > 672 OFFSET 538 |
###context:CREATE TABLE table_name_99 (state VARCHAR, rank VARCHAR, city VARCHAR)
###human: What is the state of the city of denver, which has a rank less than 10?
###assistant: SELECT state FROM table_name_99 WHERE rank < 10 AND city = "denver" |
###context:CREATE TABLE table_name_29 (result VARCHAR, method VARCHAR, round VARCHAR, location VARCHAR)
###human: What is the result when the round is less than 3, the location is in Auckland, New Zealand, and tko is the method?
###assistant: SELECT result FROM table_name_29 WHERE round < 3 AND location = "auckland, new zealand" AND method = "tko" |
###context:CREATE TABLE table_name_95 (round INTEGER, record VARCHAR)
###human: What is the smallest round to have a record of 4-0?
###assistant: SELECT MIN(round) FROM table_name_95 WHERE record = "4-0" |
###context:CREATE TABLE table_name_55 (result VARCHAR, round INTEGER)
###human: What is the result of a round greater than 3?
###assistant: SELECT result FROM table_name_55 WHERE round > 3 |
###context:CREATE TABLE table_name_92 (event VARCHAR, opponent VARCHAR)
###human: Which event has Toa Naketoatama as an opponent?
###assistant: SELECT event FROM table_name_92 WHERE opponent = "toa naketoatama" |
###context:CREATE TABLE table_name_4 (killed INTEGER, injured VARCHAR, year VARCHAR)
###human: How many kills have 15 as the injured, with a year prior to 1987?
###assistant: SELECT SUM(killed) FROM table_name_4 WHERE injured = "15" AND year < 1987 |
###context:CREATE TABLE table_name_22 (date VARCHAR, opposing_teams VARCHAR, venue VARCHAR)
###human: What is Date, when Opposing Teams is "South Africa", and when Venus is "Vodacom Park , Bloemfontein"?
###assistant: SELECT date FROM table_name_22 WHERE opposing_teams = "south africa" AND venue = "vodacom park , bloemfontein" |
###context:CREATE TABLE table_name_74 (against INTEGER, status VARCHAR, opposing_teams VARCHAR)
###human: What is the average Against, when Status is "2007 Rugby World Cup", and when Opposing Teams is "U.S.A."?
###assistant: SELECT AVG(against) FROM table_name_74 WHERE status = "2007 rugby world cup" AND opposing_teams = "u.s.a." |
###context:CREATE TABLE table_name_22 (venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR)
###human: What is Venue, when Status is "2007 Rugby World Cup", when Against is less than 22, and when Date is "08/09/2007"?
###assistant: SELECT venue FROM table_name_22 WHERE status = "2007 rugby world cup" AND against < 22 AND date = "08/09/2007" |
###context:CREATE TABLE table_name_42 (against INTEGER, status VARCHAR, date VARCHAR)
###human: What is the lowest Against, when Status is "First Test", and when Date is "26/05/2007"?
###assistant: SELECT MIN(against) FROM table_name_42 WHERE status = "first test" AND date = "26/05/2007" |
###context:CREATE TABLE table_name_35 (opposing_teams VARCHAR, against VARCHAR, venue VARCHAR)
###human: What is Opposing Teams, when Against is "20", and when Venue is "Twickenham , London"?
###assistant: SELECT opposing_teams FROM table_name_35 WHERE against = 20 AND venue = "twickenham , london" |
###context:CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR)
###human: What is the record when Danilo Pereira was the opponent?
###assistant: SELECT record FROM table_name_58 WHERE opponent = "danilo pereira" |
###context:CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)
###human: Which event had Edson Claas Vieira as an opponent?
###assistant: SELECT event FROM table_name_55 WHERE opponent = "edson claas vieira" |
###context:CREATE TABLE table_name_2 (method VARCHAR, opponent VARCHAR)
###human: Which method was used when Rafael Cavalcante was the opponent?
###assistant: SELECT method FROM table_name_2 WHERE opponent = "rafael cavalcante" |
###context:CREATE TABLE table_name_38 (method VARCHAR, opponent VARCHAR)
###human: Which method was used when Alessio Sakara was the opponent?
###assistant: SELECT method FROM table_name_38 WHERE opponent = "alessio sakara" |
###context:CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR)
###human: Who is the opponent when the record is 3-8?
###assistant: SELECT opponent FROM table_name_53 WHERE record = "3-8" |
###context:CREATE TABLE table_name_66 (population_2006_census INTEGER, local_government_area VARCHAR, rank VARCHAR)
###human: What was the 2006 population for the local government area of alexandrina council whose rank was smaller than 19?
###assistant: SELECT AVG(population_2006_census) FROM table_name_66 WHERE local_government_area = "alexandrina council" AND rank < 19 |
###context:CREATE TABLE table_name_60 (total_fat VARCHAR, smoke_point VARCHAR, saturated_fat VARCHAR)
###human: What is the total fat with a smoke point of °c (), 25g of saturated fat?
###assistant: SELECT total_fat FROM table_name_60 WHERE smoke_point = "°c ()" AND saturated_fat = "25g" |
###context:CREATE TABLE table_name_63 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR)
###human: What is the total fat when the polyunsaturated fat is 11g, and Monounsaturated fat is 73g?
###assistant: SELECT total_fat FROM table_name_63 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "73g" |
###context:CREATE TABLE table_name_97 (smoke_point VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
###human: What is the smoke point with a total fat of 100g, and monounsaturated fat of 46g?
###assistant: SELECT smoke_point FROM table_name_97 WHERE total_fat = "100g" AND monounsaturated_fat = "46g" |
###context:CREATE TABLE table_name_32 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR)
###human: What shows for monounsaturated fat when the saturated fat is 39g?
###assistant: SELECT monounsaturated_fat FROM table_name_32 WHERE saturated_fat = "39g" |
###context:CREATE TABLE table_name_24 (smoke_point VARCHAR, polyunsaturated_fat VARCHAR)
###human: What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)?
###assistant: SELECT smoke_point FROM table_name_24 WHERE polyunsaturated_fat = "69g (4g in high oleic variety)" |
###context:CREATE TABLE table_name_63 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR)
###human: What is the saturated fat when the total fat is 100g, and polyunsaturated fat is 69g (4g in high oleic variety)?
###assistant: SELECT saturated_fat FROM table_name_63 WHERE total_fat = "100g" AND polyunsaturated_fat = "69g (4g in high oleic variety)" |
###context:CREATE TABLE table_name_26 (tie_no VARCHAR, score VARCHAR)
###human: What is the Tie No with a Score of 2–2?
###assistant: SELECT tie_no FROM table_name_26 WHERE score = "2–2" |
###context:CREATE TABLE table_name_33 (date VARCHAR, away_team VARCHAR)
###human: What is the Date of the Crystal Palace Away game?
###assistant: SELECT date FROM table_name_33 WHERE away_team = "crystal palace" |
###context:CREATE TABLE table_name_20 (home_team VARCHAR, tie_no VARCHAR)
###human: What is the Home team of Tie no 2?
###assistant: SELECT home_team FROM table_name_20 WHERE tie_no = "2" |
###context:CREATE TABLE table_name_36 (home_team VARCHAR, tie_no VARCHAR)
###human: What is the Home team of tie no 2?
###assistant: SELECT home_team FROM table_name_36 WHERE tie_no = "2" |
###context:CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR, laps VARCHAR, bike VARCHAR)
###human: What is the average Grid, when Laps is less than 24, when Bike is "Honda CBR1000RR", and when Rider is "Jason Pridmore"?
###assistant: SELECT AVG(grid) FROM table_name_7 WHERE laps < 24 AND bike = "honda cbr1000rr" AND rider = "jason pridmore" |
###context:CREATE TABLE table_name_78 (laps INTEGER, grid VARCHAR, bike VARCHAR, rider VARCHAR)
###human: What is the highest Laps, when Bike is "Yamaha YZF-R1", when Rider is "David Checa", and when Grid is greater than 18?
###assistant: SELECT MAX(laps) FROM table_name_78 WHERE bike = "yamaha yzf-r1" AND rider = "david checa" AND grid > 18 |
###context:CREATE TABLE table_name_60 (grid INTEGER, time VARCHAR)
###human: What is the sum of Grid, when Time is "+16.687"?
###assistant: SELECT SUM(grid) FROM table_name_60 WHERE time = "+16.687" |
###context:CREATE TABLE table_name_78 (grid VARCHAR, laps INTEGER)
###human: What is the total number of Grid, when Laps is greater than 24?
###assistant: SELECT COUNT(grid) FROM table_name_78 WHERE laps > 24 |
###context:CREATE TABLE table_name_27 (runner_up VARCHAR, season VARCHAR, total_prize_money VARCHAR)
###human: Who was the runner-up after season 2 when the total prize money was $108,000?
###assistant: SELECT runner_up FROM table_name_27 WHERE season > 2 AND total_prize_money = "$108,000" |
###context:CREATE TABLE table_name_17 (season INTEGER, total_prize_money VARCHAR)
###human: What was the highest season number with a total prize of $108,000?
###assistant: SELECT MAX(season) FROM table_name_17 WHERE total_prize_money = "$108,000" |
###context:CREATE TABLE table_name_13 (season INTEGER, runner_up VARCHAR)
###human: What is the earliest season where Aisha Jefcoate was the runner-up?
###assistant: SELECT MIN(season) FROM table_name_13 WHERE runner_up = "aisha jefcoate" |
###context:CREATE TABLE table_name_70 (potential_prize_money VARCHAR, mole VARCHAR)
###human: When the Mole was Petrina Edge, what was the potential prize money?
###assistant: SELECT potential_prize_money FROM table_name_70 WHERE mole = "petrina edge" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.