training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_72 (score VARCHAR, result VARCHAR, date VARCHAR)
###human: On 9/3/97, what was the score that resulted in a w?
###assistant: SELECT score FROM table_name_72 WHERE result = "w" AND date = "9/3/97" |
###context:CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR)
###human: Who has a roll value of 422?
###assistant: SELECT name FROM table_name_35 WHERE roll = 422 |
###context:CREATE TABLE table_name_44 (area VARCHAR, decile VARCHAR)
###human: In what area is the decile value 10?
###assistant: SELECT area FROM table_name_44 WHERE decile = 10 |
###context:CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, area VARCHAR)
###human: What is the highest decile value with a roll greater than 301 in Hauraki?
###assistant: SELECT MAX(decile) FROM table_name_46 WHERE roll > 301 AND area = "hauraki" |
###context:CREATE TABLE table_name_85 (points_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)
###human: Which Points classification has a Trofeo Fast Team of metauro mobili-pinarello, and a Stage of 6?
###assistant: SELECT points_classification FROM table_name_85 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND stage = "6" |
###context:CREATE TABLE table_name_19 (stage VARCHAR, winner VARCHAR)
###human: Which stage has a Winner of lucien van impe?
###assistant: SELECT stage FROM table_name_19 WHERE winner = "lucien van impe" |
###context:CREATE TABLE table_name_10 (trofeo_fast_team VARCHAR, winner VARCHAR)
###human: Which Trofeo Fast Team has a Winner of alessandro paganessi?
###assistant: SELECT trofeo_fast_team FROM table_name_10 WHERE winner = "alessandro paganessi" |
###context:CREATE TABLE table_name_95 (general_classification VARCHAR, stage VARCHAR)
###human: Which General classification has a Stage of 7?
###assistant: SELECT general_classification FROM table_name_95 WHERE stage = "7" |
###context:CREATE TABLE table_name_78 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR)
###human: Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni?
###assistant: SELECT winner FROM table_name_78 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND general_classification = "giuseppe saronni" |
###context:CREATE TABLE table_name_67 (report VARCHAR, circuit VARCHAR)
###human: What's the report for the mosport park circuit?
###assistant: SELECT report FROM table_name_67 WHERE circuit = "mosport park" |
###context:CREATE TABLE table_name_13 (pole_position VARCHAR, circuit VARCHAR)
###human: Who has the pole position for the nürburgring circuit?
###assistant: SELECT pole_position FROM table_name_13 WHERE circuit = "nürburgring" |
###context:CREATE TABLE table_name_77 (date VARCHAR, winning_driver VARCHAR)
###human: When was pedro rodríguez the winning driver?
###assistant: SELECT date FROM table_name_77 WHERE winning_driver = "pedro rodríguez" |
###context:CREATE TABLE table_name_92 (report VARCHAR, race VARCHAR)
###human: What's the report for the mexican grand prix?
###assistant: SELECT report FROM table_name_92 WHERE race = "mexican grand prix" |
###context:CREATE TABLE table_name_6 (time_retired VARCHAR, driver VARCHAR)
###human: What is nigel mansell's time/retired?
###assistant: SELECT time_retired FROM table_name_6 WHERE driver = "nigel mansell" |
###context:CREATE TABLE table_name_20 (away_team VARCHAR, venue VARCHAR)
###human: What team was the away team at Junction Oval?
###assistant: SELECT away_team FROM table_name_20 WHERE venue = "junction oval" |
###context:CREATE TABLE table_name_26 (home VARCHAR, visitor VARCHAR)
###human: What is the home team when the visiting team is the Mavericks?
###assistant: SELECT home FROM table_name_26 WHERE visitor = "mavericks" |
###context:CREATE TABLE table_name_13 (year INTEGER, mintage INTEGER)
###human: What was the average year for a coin that had a mintage smaller than 10,000?
###assistant: SELECT AVG(year) FROM table_name_13 WHERE mintage < 10 OFFSET 000 |
###context:CREATE TABLE table_name_96 (atsushi_aoki VARCHAR, black_tiger_v VARCHAR)
###human: What is he Atsushi Aoki when the Black Tiger V is ibushi (16:35)?
###assistant: SELECT atsushi_aoki FROM table_name_96 WHERE black_tiger_v = "ibushi (16:35)" |
###context:CREATE TABLE table_name_94 (akira VARCHAR, tiger_mask_iv VARCHAR)
###human: What is the Akira when Tiger Mask IV is Akira (10:05)?
###assistant: SELECT akira FROM table_name_94 WHERE tiger_mask_iv = "akira (10:05)" |
###context:CREATE TABLE table_name_58 (akira VARCHAR, milano_collection_at VARCHAR)
###human: What is the corresponding Akira when Milano Collection A.T is Milano (10:29)?
###assistant: SELECT akira FROM table_name_58 WHERE milano_collection_at = "milano (10:29)" |
###context:CREATE TABLE table_name_49 (block_a VARCHAR, prince_devitt VARCHAR)
###human: What is Block A when Prince Devitt is Devitt (9:53)?
###assistant: SELECT block_a FROM table_name_49 WHERE prince_devitt = "devitt (9:53)" |
###context:CREATE TABLE table_name_99 (akira VARCHAR, prince_devitt VARCHAR)
###human: What is the Akira when Prince Devitt is Devitt (7:20)?
###assistant: SELECT akira FROM table_name_99 WHERE prince_devitt = "devitt (7:20)" |
###context:CREATE TABLE table_name_49 (prince_devitt VARCHAR, block_a VARCHAR)
###human: What is the Prince Devitt when Block A is Yamato?
###assistant: SELECT prince_devitt FROM table_name_49 WHERE block_a = "yamato" |
###context:CREATE TABLE table_name_80 (league_one_second_division VARCHAR, club VARCHAR)
###human: I want the league one/second division for club of millwall
###assistant: SELECT league_one_second_division FROM table_name_80 WHERE club = "millwall" |
###context:CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
###human: What was the score of the home team when they played carlton?
###assistant: SELECT home_team AS score FROM table_name_77 WHERE away_team = "carlton" |
###context:CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)
###human: How many points did the visiting team score at south melbourne?
###assistant: SELECT away_team AS score FROM table_name_94 WHERE home_team = "south melbourne" |
###context:CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR)
###human: What is the total Crowd number for the Away team of Hawthorn?
###assistant: SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "hawthorn" |
###context:CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
###human: What did the team score when playing against home in geelong?
###assistant: SELECT home_team AS score FROM table_name_72 WHERE away_team = "geelong" |
###context:CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR)
###human: How many people watched when st kilda played at home?
###assistant: SELECT crowd FROM table_name_79 WHERE home_team = "st kilda" |
###context:CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)
###human: Who was the away team when the crowd was larger than 41,451?
###assistant: SELECT away_team FROM table_name_69 WHERE crowd > 41 OFFSET 451 |
###context:CREATE TABLE table_name_82 (home_team VARCHAR, venue VARCHAR)
###human: Who was the home team when the venue was Junction Oval?
###assistant: SELECT home_team FROM table_name_82 WHERE venue = "junction oval" |
###context:CREATE TABLE table_name_82 (time VARCHAR, attendance VARCHAR)
###human: I want to know the time which has attendance of 66,772
###assistant: SELECT time FROM table_name_82 WHERE attendance = "66,772" |
###context:CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
###human: Name the opponent that has attendance of 76,965
###assistant: SELECT opponent FROM table_name_86 WHERE attendance = "76,965" |
###context:CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR)
###human: Tell me the week that has an attendance of 78,301
###assistant: SELECT week FROM table_name_89 WHERE attendance = "78,301" |
###context:CREATE TABLE table_name_61 (opponent VARCHAR, week VARCHAR)
###human: I want to know the opponent that ha a week of 3
###assistant: SELECT opponent FROM table_name_61 WHERE week = "3" |
###context:CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
###human: How many were in attendance on 14 April 2007?
###assistant: SELECT MIN(attendance) FROM table_name_50 WHERE date = "14 april 2007" |
###context:CREATE TABLE table_name_11 (pick VARCHAR, position VARCHAR, player VARCHAR)
###human: What is catcher Josh Donaldson's pick number?
###assistant: SELECT pick FROM table_name_11 WHERE position = "catcher" AND player = "josh donaldson" |
###context:CREATE TABLE table_name_25 (player VARCHAR, college VARCHAR)
###human: Which players plays at Akron College?
###assistant: SELECT player FROM table_name_25 WHERE college = "akron" |
###context:CREATE TABLE table_name_93 (college VARCHAR, player VARCHAR)
###human: Which college does the player jon hameister-ries play for?
###assistant: SELECT college FROM table_name_93 WHERE player = "jon hameister-ries" |
###context:CREATE TABLE table_name_14 (nationality VARCHAR, pick VARCHAR, college_high_school_club VARCHAR)
###human: What is the nationality of the player with a pick larger than 21 from the College of the Sequoias?
###assistant: SELECT nationality FROM table_name_14 WHERE pick > 21 AND college_high_school_club = "college of the sequoias" |
###context:CREATE TABLE table_name_52 (result VARCHAR, goals VARCHAR)
###human: I want the result for goals which has goals of deacon 6/6
###assistant: SELECT result FROM table_name_52 WHERE goals = "deacon 6/6" |
###context:CREATE TABLE table_name_28 (competition VARCHAR, venue VARCHAR)
###human: Which competition was at wilderspool?
###assistant: SELECT competition FROM table_name_28 WHERE venue = "wilderspool" |
###context:CREATE TABLE table_name_58 (venue VARCHAR, score VARCHAR)
###human: Tell me the venue for score of 82-0
###assistant: SELECT venue FROM table_name_58 WHERE score = "82-0" |
###context:CREATE TABLE table_name_68 (date VARCHAR, venue VARCHAR)
###human: I want the date with the venue of mcalpine stadium
###assistant: SELECT date FROM table_name_68 WHERE venue = "mcalpine stadium" |
###context:CREATE TABLE table_name_54 (goals VARCHAR, score VARCHAR)
###human: Tell me the goals for score of 38-28
###assistant: SELECT goals FROM table_name_54 WHERE score = "38-28" |
###context:CREATE TABLE table_name_96 (grid INTEGER, laps VARCHAR, points VARCHAR, driver VARCHAR)
###human: Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67
###assistant: SELECT MIN(grid) FROM table_name_96 WHERE points > 11 AND driver = "sébastien bourdais" AND laps < 67 |
###context:CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, driver VARCHAR)
###human: Name the most laps for grid more than 9 and the driver being jan heylen
###assistant: SELECT MAX(laps) FROM table_name_9 WHERE grid > 9 AND driver = "jan heylen" |
###context:CREATE TABLE table_name_69 (grid VARCHAR, laps VARCHAR)
###human: What is the grid when the laps were 24?
###assistant: SELECT COUNT(grid) FROM table_name_69 WHERE laps = 24 |
###context:CREATE TABLE table_name_77 (constructor VARCHAR, driver VARCHAR)
###human: Who constructed Chris Amon's car?
###assistant: SELECT constructor FROM table_name_77 WHERE driver = "chris amon" |
###context:CREATE TABLE table_name_76 (grid INTEGER, driver VARCHAR, laps VARCHAR)
###human: What was Jack Brabham's highest grid when his laps were more than 90?
###assistant: SELECT MAX(grid) FROM table_name_76 WHERE driver = "jack brabham" AND laps > 90 |
###context:CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, grid VARCHAR)
###human: What was CHris Amon's highest lap when his grid was 4?
###assistant: SELECT MAX(laps) FROM table_name_31 WHERE driver = "chris amon" AND grid < 4 |
###context:CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)
###human: Where did Hawthorn have their away match against North Melbourne?
###assistant: SELECT venue FROM table_name_50 WHERE away_team = "hawthorn" |
###context:CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR)
###human: What was the home team score at Richmond's away game against Footscray?
###assistant: SELECT home_team AS score FROM table_name_17 WHERE away_team = "richmond" |
###context:CREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR)
###human: What is the size of the crowd for the home team of Footscray?
###assistant: SELECT crowd FROM table_name_28 WHERE home_team = "footscray" |
###context:CREATE TABLE table_name_2 (time_retired VARCHAR, laps VARCHAR)
###human: What is the Time/Retired for the car going 42 Laps?
###assistant: SELECT time_retired FROM table_name_2 WHERE laps = 42 |
###context:CREATE TABLE table_name_22 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
###human: How many laps for alexander wurz with a grid under 12?
###assistant: SELECT COUNT(laps) FROM table_name_22 WHERE grid < 12 AND driver = "alexander wurz" |
###context:CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
###human: What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has?
###assistant: SELECT MIN(evening_gown) FROM table_name_17 WHERE average < 8.23 AND interview = 8.11 AND swimsuit > 7.84 |
###context:CREATE TABLE table_name_36 (interview VARCHAR, state VARCHAR, average VARCHAR)
###human: What is the total interview score a contestant from Indiana with an average smaller than 8.3 has?
###assistant: SELECT COUNT(interview) FROM table_name_36 WHERE state = "indiana" AND average < 8.3 |
###context:CREATE TABLE table_name_69 (swimsuit INTEGER, state VARCHAR, evening_gown VARCHAR, average VARCHAR, interview VARCHAR)
###human: What is the highest swimsuit a contestant from Kansas with an average larger than 8.48, an interview higher than 8.58, and an evening gown higher than 8.82 has?
###assistant: SELECT MAX(swimsuit) FROM table_name_69 WHERE average > 8.48 AND interview > 8.58 AND evening_gown > 8.82 AND state = "kansas" |
###context:CREATE TABLE table_name_29 (interview INTEGER, evening_gown VARCHAR, state VARCHAR)
###human: What is the average interview score of a contestant from Louisiana with an evening gown smaller than 8.82?
###assistant: SELECT AVG(interview) FROM table_name_29 WHERE evening_gown < 8.82 AND state = "louisiana" |
###context:CREATE TABLE table_name_4 (prefix VARCHAR, chemical_class VARCHAR)
###human: What prefix has Haloalkane as the chemical class?
###assistant: SELECT prefix FROM table_name_4 WHERE chemical_class = "haloalkane" |
###context:CREATE TABLE table_name_36 (example VARCHAR, formula VARCHAR)
###human: Which example has rx as the formula?
###assistant: SELECT example FROM table_name_36 WHERE formula = "rx" |
###context:CREATE TABLE table_name_90 (chemical_class VARCHAR, example VARCHAR)
###human: Which chemical class uses the example Chloroethane (ethyl chloride)?
###assistant: SELECT chemical_class FROM table_name_90 WHERE example = "chloroethane (ethyl chloride)" |
###context:CREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR)
###human: What prefix has Bromo as the group?
###assistant: SELECT prefix FROM table_name_78 WHERE group = "bromo" |
###context:CREATE TABLE table_name_33 (chemical_class VARCHAR, formula VARCHAR)
###human: What is the chemical class for ri?
###assistant: SELECT chemical_class FROM table_name_33 WHERE formula = "ri" |
###context:CREATE TABLE table_name_73 (prefix VARCHAR, chemical_class VARCHAR)
###human: What prefix has chemical class Iodoalkane?
###assistant: SELECT prefix FROM table_name_73 WHERE chemical_class = "iodoalkane" |
###context:CREATE TABLE table_name_89 (rank INTEGER, player VARCHAR, wins VARCHAR)
###human: What is the rank of Lee Trevino, who had less than 27 wins?
###assistant: SELECT SUM(rank) FROM table_name_89 WHERE player = "lee trevino" AND wins < 27 |
###context:CREATE TABLE table_name_14 (original_air_date VARCHAR, season_no VARCHAR, series_no VARCHAR, production_code VARCHAR)
###human: What date did the show with a series larger than 40, production code smaller than 213, and a season number larger than 11 air?
###assistant: SELECT original_air_date FROM table_name_14 WHERE series_no > 40 AND production_code < 213 AND season_no > 11 |
###context:CREATE TABLE table_name_27 (written_by VARCHAR, season_no VARCHAR, series_no VARCHAR)
###human: Who wrote the series number 49 with a season larger than 4?
###assistant: SELECT written_by FROM table_name_27 WHERE season_no > 4 AND series_no = 49 |
###context:CREATE TABLE table_name_90 (nett_gross VARCHAR, year VARCHAR)
###human: What is the total count of net gross in 1957?
###assistant: SELECT COUNT(nett_gross) FROM table_name_90 WHERE year = 1957 |
###context:CREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR)
###human: What is the total End term with a Title of prince regent of bavaria?
###assistant: SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince regent of bavaria" |
###context:CREATE TABLE table_name_39 (end_term INTEGER, start_term VARCHAR, name VARCHAR)
###human: What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
###assistant: SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii" |
###context:CREATE TABLE table_name_78 (title VARCHAR, end_term VARCHAR)
###human: Which Title has an 1825 end term?
###assistant: SELECT title FROM table_name_78 WHERE end_term = 1825 |
###context:CREATE TABLE table_name_58 (start_term INTEGER, end_term VARCHAR)
###human: What is the average Start term with a 1912 end term?
###assistant: SELECT AVG(start_term) FROM table_name_58 WHERE end_term = 1912 |
###context:CREATE TABLE table_name_74 (date VARCHAR, high_rebounds VARCHAR)
###human: What date were the high rebounds Evans (14)?
###assistant: SELECT date FROM table_name_74 WHERE high_rebounds = "evans (14)" |
###context:CREATE TABLE table_name_11 (game INTEGER, high_rebounds VARCHAR, high_assists VARCHAR)
###human: Which game has a high rebound of Evans (7) and a high assist of Evans, Ollie (3)?
###assistant: SELECT MAX(game) FROM table_name_11 WHERE high_rebounds = "evans (7)" AND high_assists = "evans, ollie (3)" |
###context:CREATE TABLE table_name_85 (fa_cup_goals INTEGER, total_apps__sub_ VARCHAR, total_goals VARCHAR)
###human: What division has the highest FA Cup Goals, but a Total Goal score less than 5, and a Total Apps of 52?
###assistant: SELECT MAX(fa_cup_goals) FROM table_name_85 WHERE total_apps__sub_ = "52" AND total_goals < 5 |
###context:CREATE TABLE table_name_93 (fl_cup_apps__sub_ INTEGER, fl_cup_goals VARCHAR, other_apps VARCHAR)
###human: What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0?
###assistant: SELECT AVG(fl_cup_apps__sub_) FROM table_name_93 WHERE fl_cup_goals > 0 AND other_apps < 0 |
###context:CREATE TABLE table_name_28 (fl_cup_goals VARCHAR, fa_cup_goals VARCHAR, division VARCHAR, other_apps VARCHAR)
###human: What is Division One's total number of FL Cup Goals, with an Other Apps greater than 3, and a FA Cup Goals greater than 0?
###assistant: SELECT COUNT(fl_cup_goals) FROM table_name_28 WHERE division = "one" AND other_apps > 3 AND fa_cup_goals > 0 |
###context:CREATE TABLE table_name_76 (other_apps INTEGER, division VARCHAR, league_goals VARCHAR)
###human: What is Division One's average Other Apps, with a League Goal less than 1?
###assistant: SELECT AVG(other_apps) FROM table_name_76 WHERE division = "one" AND league_goals < 1 |
###context:CREATE TABLE table_name_14 (away_team VARCHAR, venue VARCHAR)
###human: Who plays at Victoria Park?
###assistant: SELECT away_team FROM table_name_14 WHERE venue = "victoria park" |
###context:CREATE TABLE table_name_76 (score VARCHAR, game VARCHAR, opponent VARCHAR)
###human: What is the score against the indians after game 2?
###assistant: SELECT score FROM table_name_76 WHERE game > 2 AND opponent = "indians" |
###context:CREATE TABLE table_name_96 (grid INTEGER, driver VARCHAR)
###human: What is the average grid for piers courage?
###assistant: SELECT AVG(grid) FROM table_name_96 WHERE driver = "piers courage" |
###context:CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR)
###human: Who drove 53 laps?
###assistant: SELECT driver FROM table_name_66 WHERE laps = 53 |
###context:CREATE TABLE table_name_72 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR)
###human: What is the lap total for george eaton, with a grid under 17 retiring due to gearbox?
###assistant: SELECT SUM(laps) FROM table_name_72 WHERE time_retired = "gearbox" AND driver = "george eaton" AND grid < 17 |
###context:CREATE TABLE table_name_13 (laps INTEGER, driver VARCHAR, grid VARCHAR)
###human: How many laps for denny hulme with under 4 on the grid?
###assistant: SELECT SUM(laps) FROM table_name_13 WHERE driver = "denny hulme" AND grid < 4 |
###context:CREATE TABLE table_name_39 (home_team VARCHAR, crowd INTEGER)
###human: What was the score of the home team when there were more than 5,500 people in the crowd?
###assistant: SELECT home_team AS score FROM table_name_39 WHERE crowd > 5 OFFSET 500 |
###context:CREATE TABLE table_name_33 (crowd INTEGER, home_team VARCHAR)
###human: What is the sum of Crowd when Essendon was the home team?
###assistant: SELECT SUM(crowd) FROM table_name_33 WHERE home_team = "essendon" |
###context:CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
###human: What was the home team score when North Melbourne was the away team?
###assistant: SELECT home_team AS score FROM table_name_8 WHERE away_team = "north melbourne" |
###context:CREATE TABLE table_name_29 (us_hot_100 VARCHAR, year VARCHAR, album VARCHAR)
###human: What is the U.S. Hot 100 chart number of the single off of the 2002 album west coast bad boyz, vol. 3: poppin' collars?
###assistant: SELECT us_hot_100 FROM table_name_29 WHERE year = 2002 AND album = "west coast bad boyz, vol. 3: poppin' collars" |
###context:CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)
###human: What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?
###assistant: SELECT us_rap FROM table_name_98 WHERE album = "west coast bad boyz, vol. 3: poppin' collars" |
###context:CREATE TABLE table_name_46 (round INTEGER, team VARCHAR, pick VARCHAR)
###human: What is the top round for the baltimore bullets with a Pick larger than 6?
###assistant: SELECT MAX(round) FROM table_name_46 WHERE team = "baltimore bullets" AND pick > 6 |
###context:CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)
###human: What team was the away team when they played at lake oval?
###assistant: SELECT away_team AS score FROM table_name_84 WHERE venue = "lake oval" |
###context:CREATE TABLE table_name_3 (crowd VARCHAR, home_team VARCHAR)
###human: How many people were in the crowd when North Melbourne was the home team?
###assistant: SELECT crowd FROM table_name_3 WHERE home_team = "north melbourne" |
###context:CREATE TABLE table_name_76 (avg INTEGER, player VARCHAR, yards VARCHAR)
###human: What is Craig Whelihan's average when his yards are smaller than 0?
###assistant: SELECT SUM(avg) FROM table_name_76 WHERE player = "craig whelihan" AND yards < 0 |
###context:CREATE TABLE table_name_83 (avg INTEGER, yards VARCHAR)
###human: Which largest average had 1229 yards?
###assistant: SELECT MAX(avg) FROM table_name_83 WHERE yards = 1229 |
###context:CREATE TABLE table_name_8 (constructor VARCHAR, circuit VARCHAR)
###human: What is the constructor where the circuit is Silverstone?
###assistant: SELECT constructor FROM table_name_8 WHERE circuit = "silverstone" |
###context:CREATE TABLE table_name_42 (winning_driver VARCHAR, race_name VARCHAR)
###human: Who is the Winning Driver in the race viii gran premio di siracusa?
###assistant: SELECT winning_driver FROM table_name_42 WHERE race_name = "viii gran premio di siracusa" |
###context:CREATE TABLE table_name_91 (date VARCHAR, winning_driver VARCHAR, race_name VARCHAR)
###human: What is the date that the winner driver is Stirling Moss in the race named vi grand prix de caen?
###assistant: SELECT date FROM table_name_91 WHERE winning_driver = "stirling moss" AND race_name = "vi grand prix de caen" |
###context:CREATE TABLE table_name_55 (state VARCHAR, location VARCHAR)
###human: Which state is the location of 39.1178°n 106.4454°w in?
###assistant: SELECT state FROM table_name_55 WHERE location = "39.1178°n 106.4454°w" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.