training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)
###human: What is the score for the home team for the venue glenferrie oval?
###assistant: SELECT home_team AS score FROM table_name_57 WHERE venue = "glenferrie oval" |
###context:CREATE TABLE table_name_5 (away_team VARCHAR)
###human: What was South Melbourne's score when they played as the away team?
###assistant: SELECT away_team AS score FROM table_name_5 WHERE away_team = "south melbourne" |
###context:CREATE TABLE table_name_31 (crowd VARCHAR, home_team VARCHAR)
###human: What was the attendance for the North Melbourne's home game?
###assistant: SELECT crowd FROM table_name_31 WHERE home_team = "north melbourne" |
###context:CREATE TABLE table_name_83 (venue VARCHAR, home_team VARCHAR)
###human: What is the name of the venue where home team st kilda played?
###assistant: SELECT venue FROM table_name_83 WHERE home_team = "st kilda" |
###context:CREATE TABLE table_name_60 (home_team VARCHAR, away_team VARCHAR)
###human: What is the home team score that played away team carlton?
###assistant: SELECT home_team AS score FROM table_name_60 WHERE away_team = "carlton" |
###context:CREATE TABLE table_name_86 (ratings VARCHAR, year VARCHAR, lap_by_lap VARCHAR)
###human: When the Year is smaller than 2004, and Mike Joy is the Lap-by-lap, what are the Ratings?
###assistant: SELECT ratings FROM table_name_86 WHERE year < 2004 AND lap_by_lap = "mike joy" |
###context:CREATE TABLE table_name_90 (network VARCHAR, lap_by_lap VARCHAR)
###human: Which Network has Bill Weber for the Lap-by-lap?
###assistant: SELECT network FROM table_name_90 WHERE lap_by_lap = "bill weber" |
###context:CREATE TABLE table_name_87 (pre_race_host VARCHAR, lap_by_lap VARCHAR, year VARCHAR)
###human: Who was the Pre-Race Host when Mike Joy was the Lap-by-lap in the Year 2005?
###assistant: SELECT pre_race_host FROM table_name_87 WHERE lap_by_lap = "mike joy" AND year = 2005 |
###context:CREATE TABLE table_name_7 (year VARCHAR, ratings VARCHAR)
###human: How many Years have Ratings of 10.9/23?
###assistant: SELECT COUNT(year) FROM table_name_7 WHERE ratings = "10.9/23" |
###context:CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)
###human: What is the home team of lake oval's score?
###assistant: SELECT home_team AS score FROM table_name_57 WHERE venue = "lake oval" |
###context:CREATE TABLE table_name_18 (date VARCHAR, venue VARCHAR)
###human: When was victoria park used as a venue?
###assistant: SELECT date FROM table_name_18 WHERE venue = "victoria park" |
###context:CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR)
###human: Which date has an Away team of fitzroy?
###assistant: SELECT date FROM table_name_67 WHERE away_team = "fitzroy" |
###context:CREATE TABLE table_name_96 (crowd INTEGER, home_team VARCHAR)
###human: What is the largest crowd for a Home team of carlton?
###assistant: SELECT MAX(crowd) FROM table_name_96 WHERE home_team = "carlton" |
###context:CREATE TABLE table_name_42 (crowd INTEGER, away_team VARCHAR)
###human: When the Away team is melbourne, what's the lowest Crowd attended?
###assistant: SELECT MIN(crowd) FROM table_name_42 WHERE away_team = "melbourne" |
###context:CREATE TABLE table_name_99 (home_team VARCHAR, away_team VARCHAR)
###human: When the Away team is essendon, what's the Home team score?
###assistant: SELECT home_team AS score FROM table_name_99 WHERE away_team = "essendon" |
###context:CREATE TABLE table_name_81 (date VARCHAR, venue VARCHAR)
###human: If the Venue is brunswick street oval, what date was the game played ?
###assistant: SELECT date FROM table_name_81 WHERE venue = "brunswick street oval" |
###context:CREATE TABLE table_name_39 (first VARCHAR, year VARCHAR, country VARCHAR, last VARCHAR)
###human: Name the first for countries of trinidad and tobago for hutchinson for years before 2004
###assistant: SELECT first FROM table_name_39 WHERE country = "trinidad and tobago" AND last = "hutchinson" AND year < 2004 |
###context:CREATE TABLE table_name_40 (sport VARCHAR, country VARCHAR, year VARCHAR)
###human: Name the sport for canada in 2004
###assistant: SELECT sport FROM table_name_40 WHERE country = "canada" AND year = 2004 |
###context:CREATE TABLE table_name_95 (last VARCHAR, year VARCHAR, sport VARCHAR)
###human: Name the last for softball before 2000
###assistant: SELECT last FROM table_name_95 WHERE year < 2000 AND sport = "softball" |
###context:CREATE TABLE table_name_68 (year INTEGER, sport VARCHAR, first VARCHAR)
###human: Name the sum of year for swimming and first of mike
###assistant: SELECT SUM(year) FROM table_name_68 WHERE sport = "swimming" AND first = "mike" |
###context:CREATE TABLE table_name_44 (sport VARCHAR, country VARCHAR, year VARCHAR)
###human: Name the sport for puerto rico and year of 2000
###assistant: SELECT sport FROM table_name_44 WHERE country = "puerto rico" AND year = 2000 |
###context:CREATE TABLE table_name_67 (points VARCHAR, team VARCHAR)
###human: Cumulative point total for all teams playing on the Discovery Channel?
###assistant: SELECT COUNT(points) FROM table_name_67 WHERE team = "discovery channel" |
###context:CREATE TABLE table_name_44 (name VARCHAR, nationality VARCHAR)
###human: Which player is from Belgium?
###assistant: SELECT name FROM table_name_44 WHERE nationality = "belgium" |
###context:CREATE TABLE table_name_42 (visitor VARCHAR, home VARCHAR)
###human: Who was the visiting team that played against the Kings?
###assistant: SELECT visitor FROM table_name_42 WHERE home = "kings" |
###context:CREATE TABLE table_name_25 (player VARCHAR, round VARCHAR, position VARCHAR)
###human: Tell me the player for round more than 5 and position of c
###assistant: SELECT player FROM table_name_25 WHERE round > 5 AND position = "c" |
###context:CREATE TABLE table_name_70 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
###human: Tell me the college for carl hagelin
###assistant: SELECT college_junior_club_team__league_ FROM table_name_70 WHERE player = "carl hagelin" |
###context:CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, chassis VARCHAR)
###human: Which year has a total of 0 points and a chassis of Toleman tg181?
###assistant: SELECT AVG(year) FROM table_name_88 WHERE points = 0 AND chassis = "toleman tg181" |
###context:CREATE TABLE table_name_20 (year INTEGER, engine VARCHAR, points VARCHAR)
###human: What is the latest year that has more than 5 points and a renault ef15 1.5 v6 t engine?
###assistant: SELECT MAX(year) FROM table_name_20 WHERE engine = "renault ef15 1.5 v6 t" AND points > 5 |
###context:CREATE TABLE table_name_36 (year VARCHAR, chassis VARCHAR)
###human: Which year had a toleman tg183 chassis?
###assistant: SELECT COUNT(year) FROM table_name_36 WHERE chassis = "toleman tg183" |
###context:CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR)
###human: What is the time for tony myres?
###assistant: SELECT time FROM table_name_13 WHERE rider = "tony myres" |
###context:CREATE TABLE table_name_41 (speed VARCHAR, rider VARCHAR)
###human: Name the speed for andy reynolds
###assistant: SELECT speed FROM table_name_41 WHERE rider = "andy reynolds" |
###context:CREATE TABLE table_name_54 (rank VARCHAR, team VARCHAR)
###human: Name the total number of rank for 348cc petty manx
###assistant: SELECT COUNT(rank) FROM table_name_54 WHERE team = "348cc petty manx" |
###context:CREATE TABLE table_name_13 (speed VARCHAR, time VARCHAR)
###human: Name the speed for 1:36.46.93
###assistant: SELECT speed FROM table_name_13 WHERE time = "1:36.46.93" |
###context:CREATE TABLE table_name_54 (away_team VARCHAR)
###human: What is the away team score of Melbourne?
###assistant: SELECT away_team AS score FROM table_name_54 WHERE away_team = "melbourne" |
###context:CREATE TABLE table_name_86 (away_team VARCHAR)
###human: What is the away team score for South Melbourne?
###assistant: SELECT away_team AS score FROM table_name_86 WHERE away_team = "south melbourne" |
###context:CREATE TABLE table_name_87 (prime_mover VARCHAR, model VARCHAR)
###human: What is Prime Mover of Model FM CFA-16-4?
###assistant: SELECT prime_mover FROM table_name_87 WHERE model = "fm cfa-16-4" |
###context:CREATE TABLE table_name_80 (purse__ INTEGER, location VARCHAR)
###human: what was the purse ($) in illinois?
###assistant: SELECT MAX(purse__) AS $__ FROM table_name_80 WHERE location = "illinois" |
###context:CREATE TABLE table_name_21 (winner VARCHAR, score VARCHAR, date VARCHAR)
###human: who won with a score of 199 (-14) on oct 31?
###assistant: SELECT winner FROM table_name_21 WHERE score = "199 (-14)" AND date = "oct 31" |
###context:CREATE TABLE table_name_6 (year INTEGER, city VARCHAR)
###human: How many years did he play in santiago de compostela?
###assistant: SELECT SUM(year) FROM table_name_6 WHERE city = "santiago de compostela" |
###context:CREATE TABLE table_name_64 (finale INTEGER, chinese_title VARCHAR)
###human: What is the Total Finale of 女人唔易做?
###assistant: SELECT SUM(finale) FROM table_name_64 WHERE chinese_title = "女人唔易做" |
###context:CREATE TABLE table_name_25 (premiere INTEGER, finale VARCHAR, peak VARCHAR, rank VARCHAR)
###human: What is the lowest Premiere peaking at more than 35 with a Rank of 10 and Finale greater than 33?
###assistant: SELECT MIN(premiere) FROM table_name_25 WHERE peak > 35 AND rank = 10 AND finale > 33 |
###context:CREATE TABLE table_name_60 (chinese_title VARCHAR, hk_viewers VARCHAR, premiere VARCHAR)
###human: What is the Chinese Title Premiering 32 with 2.07 million HK viewers?
###assistant: SELECT chinese_title FROM table_name_60 WHERE hk_viewers = "2.07 million" AND premiere = 32 |
###context:CREATE TABLE table_name_70 (average INTEGER, english_title VARCHAR, finale VARCHAR)
###human: What is the Average of Men in Pain with a Finale of less than 33?
###assistant: SELECT AVG(average) FROM table_name_70 WHERE english_title = "men in pain" AND finale < 33 |
###context:CREATE TABLE table_name_3 (chinese_title VARCHAR, rank VARCHAR, average VARCHAR, peak VARCHAR)
###human: What Chinese Title Ranking #7 has an Average of 32 and Peak less than 38?
###assistant: SELECT chinese_title FROM table_name_3 WHERE average = 32 AND peak < 38 AND rank = 7 |
###context:CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR)
###human: What is the average crowd size for corio oval?
###assistant: SELECT AVG(crowd) FROM table_name_9 WHERE venue = "corio oval" |
###context:CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR)
###human: What is the average crowd size for Brunswick street oval?
###assistant: SELECT AVG(crowd) FROM table_name_32 WHERE venue = "brunswick street oval" |
###context:CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, year VARCHAR, location VARCHAR)
###human: What day did the team play in murcia with a score of 0-3 after 1992?
###assistant: SELECT date FROM table_name_15 WHERE year > 1992 AND location = "murcia" AND score = "0-3" |
###context:CREATE TABLE table_name_96 (location VARCHAR, year VARCHAR, competition VARCHAR, result VARCHAR)
###human: What location did the team win before 1998 in the europe/africa zone, group i, round robin?
###assistant: SELECT location FROM table_name_96 WHERE competition = "europe/africa zone, group i, round robin" AND result = "win" AND year < 1998 |
###context:CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR, year VARCHAR)
###human: What day did they record a score of 1-2 in 1994?
###assistant: SELECT date FROM table_name_55 WHERE score = "1-2" AND year = 1994 |
###context:CREATE TABLE table_name_91 (matches INTEGER, country VARCHAR, rank VARCHAR)
###human: When the country is austria germany and the rank is kept under 5, what's the average number of matches played?
###assistant: SELECT AVG(matches) FROM table_name_91 WHERE country = "austria germany" AND rank < 5 |
###context:CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR)
###human: Which country does the player pele belong to?
###assistant: SELECT country FROM table_name_85 WHERE name = "pele" |
###context:CREATE TABLE table_name_94 (game INTEGER, attendance VARCHAR)
###human: What is the earliest game that had 42,707 attending?
###assistant: SELECT MIN(game) FROM table_name_94 WHERE attendance = 42 OFFSET 707 |
###context:CREATE TABLE table_name_13 (figures INTEGER, total INTEGER)
###human: What is the sum of the figure skating scores whose total is less than 117.78?
###assistant: SELECT SUM(figures) FROM table_name_13 WHERE total < 117.78 |
###context:CREATE TABLE table_name_81 (total INTEGER, figures VARCHAR, nation VARCHAR, rank VARCHAR)
###human: What is the lowest total score among skaters from West Germany with a rank of 20 and a figure skating score less than 74.85?
###assistant: SELECT MIN(total) FROM table_name_81 WHERE nation = "west germany" AND rank = 20 AND figures < 74.85 |
###context:CREATE TABLE table_name_72 (placings VARCHAR, total VARCHAR, name VARCHAR)
###human: How many placings did Jacqueline du Bief earn where her total score is greater than 131.26?
###assistant: SELECT placings FROM table_name_72 WHERE total > 131.26 AND name = "jacqueline du bief" |
###context:CREATE TABLE table_name_34 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)
###human: Can you tell me the Placings that hasthe Free smaller than 524.3, and the Total smaller than 1170.1, and the Name of per cock-clausen?
###assistant: SELECT placings FROM table_name_34 WHERE free < 524.3 AND total < 1170.1 AND name = "per cock-clausen" |
###context:CREATE TABLE table_name_63 (figures INTEGER, placings VARCHAR, total VARCHAR)
###human: Can you tell me the average Figures that has the Placings of 34, and the Total larger than 1247.51?
###assistant: SELECT AVG(figures) FROM table_name_63 WHERE placings = 34 AND total > 1247.51 |
###context:CREATE TABLE table_name_99 (result VARCHAR, opponent VARCHAR)
###human: What is the result where the opponent is Columbus Destroyers?
###assistant: SELECT result FROM table_name_99 WHERE opponent = "columbus destroyers" |
###context:CREATE TABLE table_name_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR)
###human: What is the date of the away game in week 8?
###assistant: SELECT date FROM table_name_2 WHERE home_away_game = "away" AND week = 8 |
###context:CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
###human: Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position?
###assistant: SELECT grand_prix FROM table_name_24 WHERE fastest_lap = "gerhard berger" AND pole_position = "jacques villeneuve" |
###context:CREATE TABLE table_name_97 (council VARCHAR)
###human: What's the 2003 result for the falkirk council?
###assistant: SELECT 2003 AS _result FROM table_name_97 WHERE council = "falkirk" |
###context:CREATE TABLE table_name_70 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
###human: On which date was the manager fired and replaced by Albert Cartier?
###assistant: SELECT date_of_vacancy FROM table_name_70 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier" |
###context:CREATE TABLE table_name_70 (manner_of_departure VARCHAR, team VARCHAR)
###human: What was the manner of departure for the team Anderlecht?
###assistant: SELECT manner_of_departure FROM table_name_70 WHERE team = "anderlecht" |
###context:CREATE TABLE table_name_52 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
###human: What was the manner of depature when the date of appointment was 27 December 2007?
###assistant: SELECT manner_of_departure FROM table_name_52 WHERE date_of_appointment = "27 december 2007" |
###context:CREATE TABLE table_name_46 (replaced_by VARCHAR, team VARCHAR, date_of_vacancy VARCHAR)
###human: Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007?
###assistant: SELECT replaced_by FROM table_name_46 WHERE team = "brussels" AND date_of_vacancy = "22 december 2007" |
###context:CREATE TABLE table_name_9 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
###human: What was the date of vacancy where the replacement was Albert Cartier and the manager was fired?
###assistant: SELECT date_of_vacancy FROM table_name_9 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier" |
###context:CREATE TABLE table_name_49 (tallangatta_dfl VARCHAR, against VARCHAR, losses VARCHAR)
###human: What is the Tallangatta DFL losses greater than 2 and an against greater than 1013
###assistant: SELECT tallangatta_dfl FROM table_name_49 WHERE against > 1013 AND losses > 2 |
###context:CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)
###human: What are the average byes that are greater than 1479, wins greater than 5 and 0 draws?
###assistant: SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0 |
###context:CREATE TABLE table_name_84 (year INTEGER, rank VARCHAR, floors VARCHAR)
###human: Tell me the average year for rank more than 3 and 28 floors
###assistant: SELECT AVG(year) FROM table_name_84 WHERE rank > 3 AND floors = 28 |
###context:CREATE TABLE table_name_75 (name VARCHAR, rank VARCHAR, year VARCHAR)
###human: I want the name for rank less than 6 and year more than 1974
###assistant: SELECT name FROM table_name_75 WHERE rank < 6 AND year > 1974 |
###context:CREATE TABLE table_name_80 (rank INTEGER, total VARCHAR, nation VARCHAR)
###human: What is the average rank of Great Britain when their total is over 4?
###assistant: SELECT AVG(rank) FROM table_name_80 WHERE total > 4 AND nation = "great britain" |
###context:CREATE TABLE table_name_63 (silver VARCHAR, nation VARCHAR, rank VARCHAR)
###human: What is the total number of Silvers held by France when their rank was over 14?
###assistant: SELECT COUNT(silver) FROM table_name_63 WHERE nation = "france" AND rank > 14 |
###context:CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR)
###human: Who was the home team at the game held at Princes Park?
###assistant: SELECT home_team FROM table_name_76 WHERE venue = "princes park" |
###context:CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)
###human: Who was the home team when Hawthorn was the away team?
###assistant: SELECT home_team FROM table_name_39 WHERE away_team = "hawthorn" |
###context:CREATE TABLE table_name_21 (record VARCHAR, loss VARCHAR)
###human: What was the Rockies record at their game that had a loss of Hernandez (3–5)?
###assistant: SELECT record FROM table_name_21 WHERE loss = "hernandez (3–5)" |
###context:CREATE TABLE table_name_30 (engine VARCHAR, tyres VARCHAR, driver VARCHAR)
###human: What engine has g tyres and is driven by elio de angelis?
###assistant: SELECT engine FROM table_name_30 WHERE tyres = "g" AND driver = "elio de angelis" |
###context:CREATE TABLE table_name_8 (rounds VARCHAR, driver VARCHAR)
###human: What rounds does elio de angelis drive?
###assistant: SELECT rounds FROM table_name_8 WHERE driver = "elio de angelis" |
###context:CREATE TABLE table_name_93 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
###human: Who is the constructor for driver alan jones using a chassis of fw06 fw07?
###assistant: SELECT constructor FROM table_name_93 WHERE chassis = "fw06 fw07" AND driver = "alan jones" |
###context:CREATE TABLE table_name_94 (engine VARCHAR, driver VARCHAR)
###human: What engine does driver james hunt have?
###assistant: SELECT engine FROM table_name_94 WHERE driver = "james hunt" |
###context:CREATE TABLE table_name_1 (engine VARCHAR, rounds VARCHAR)
###human: What's the engine used for rounds 5-6?
###assistant: SELECT engine FROM table_name_1 WHERE rounds = "5-6" |
###context:CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)
###human: Who was the home team at Princes Park?
###assistant: SELECT home_team AS score FROM table_name_41 WHERE venue = "princes park" |
###context:CREATE TABLE table_name_33 (city___state VARCHAR, team VARCHAR, winner VARCHAR)
###human: Tell me the city/state for the holden racing team with winner of mark skaife todd kelly
###assistant: SELECT city___state FROM table_name_33 WHERE team = "holden racing team" AND winner = "mark skaife todd kelly" |
###context:CREATE TABLE table_name_80 (engine_configuration VARCHAR, engine_name VARCHAR)
###human: What is the engine configuration of the 1.2 mpi engine?
###assistant: SELECT engine_configuration FROM table_name_80 WHERE engine_name = "1.2 mpi" |
###context:CREATE TABLE table_name_11 (max_torque_at_rpm VARCHAR, engine_name VARCHAR)
###human: What is the max torque of the 1.2 mpi engine?
###assistant: SELECT max_torque_at_rpm FROM table_name_11 WHERE engine_name = "1.2 mpi" |
###context:CREATE TABLE table_name_93 (long VARCHAR, player VARCHAR)
###human: Tell me the long for charles frederick
###assistant: SELECT long FROM table_name_93 WHERE player = "charles frederick" |
###context:CREATE TABLE table_name_65 (avg VARCHAR, yards VARCHAR)
###human: Tell me the average for 1 yards
###assistant: SELECT avg FROM table_name_65 WHERE yards = "1" |
###context:CREATE TABLE table_name_86 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
###human: Which time/retired had 75 laps and Pedro de la Rosa as a driver?
###assistant: SELECT time_retired FROM table_name_86 WHERE laps = 75 AND driver = "pedro de la rosa" |
###context:CREATE TABLE table_name_73 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
###human: What is the total number in the season for the #30 Robert Berlinger series?
###assistant: SELECT COUNT(no_in_season) FROM table_name_73 WHERE directed_by = "robert berlinger" AND no_in_series = 30 |
###context:CREATE TABLE table_name_84 (original_air_date VARCHAR, title VARCHAR)
###human: When did Julie gets Validated originally air?
###assistant: SELECT original_air_date FROM table_name_84 WHERE title = "julie gets validated" |
###context:CREATE TABLE table_name_36 (written_by VARCHAR, no_in_series VARCHAR)
###human: Who was the number 24 series written by?
###assistant: SELECT written_by FROM table_name_36 WHERE no_in_series = 24 |
###context:CREATE TABLE table_name_87 (original_air_date VARCHAR, written_by VARCHAR, title VARCHAR)
###human: When did Boyd Hale's Julie gets Validated originally air?
###assistant: SELECT original_air_date FROM table_name_87 WHERE written_by = "boyd hale" AND title = "julie gets validated" |
###context:CREATE TABLE table_name_57 (queens VARCHAR, brooklyn VARCHAR)
###human: What was the Queens number when Brooklyn was 201,866?
###assistant: SELECT queens FROM table_name_57 WHERE brooklyn = "201,866" |
###context:CREATE TABLE table_name_21 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
###human: Which Manhattan number appeared when Richmond (Staten Island) was 78%?
###assistant: SELECT manhattan FROM table_name_21 WHERE richmond_[staten_is] = "78%" |
###context:CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR)
###human: What did the home team score against Fitzroy?
###assistant: SELECT home_team AS score FROM table_name_61 WHERE away_team = "fitzroy" |
###context:CREATE TABLE table_name_24 (opponent VARCHAR, week VARCHAR)
###human: Who is the listed opponent in Week 2?
###assistant: SELECT opponent FROM table_name_24 WHERE week = 2 |
###context:CREATE TABLE table_name_11 (date VARCHAR, attendance VARCHAR)
###human: What date has attendance listed as 45,024?
###assistant: SELECT date FROM table_name_11 WHERE attendance = "45,024" |
###context:CREATE TABLE table_name_82 (pick__number INTEGER, pl_gp VARCHAR, rd__number VARCHAR, player VARCHAR)
###human: What numbered pick was mattias ohlund, with over 52 PL GP, and also a round under 11?
###assistant: SELECT SUM(pick__number) FROM table_name_82 WHERE rd__number < 11 AND player = "mattias ohlund" AND pl_gp > 52 |
###context:CREATE TABLE table_name_35 (reg_gp VARCHAR, player VARCHAR)
###human: How many reg GP for mattias ohlund?
###assistant: SELECT COUNT(reg_gp) FROM table_name_35 WHERE player = "mattias ohlund" |
###context:CREATE TABLE table_name_57 (attendance INTEGER, opponent VARCHAR)
###human: What is the average attendance against the expos?
###assistant: SELECT AVG(attendance) FROM table_name_57 WHERE opponent = "expos" |
###context:CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR)
###human: What is the team's record on april 12?
###assistant: SELECT record FROM table_name_11 WHERE date = "april 12" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.