training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_51 (time_retired VARCHAR, driver VARCHAR)
###human: what is the time/retired when the driver is toulo de graffenried?
###assistant: SELECT time_retired FROM table_name_51 WHERE driver = "toulo de graffenried" |
###context:CREATE TABLE table_name_99 (laps INTEGER, driver VARCHAR, grid VARCHAR)
###human: what is the laps when the driver is tony rolt and the grid is less than 10?
###assistant: SELECT SUM(laps) FROM table_name_99 WHERE driver = "tony rolt" AND grid < 10 |
###context:CREATE TABLE table_name_74 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)
###human: what is the time/retired when the constructor is maserati and the laps is 90?
###assistant: SELECT time_retired FROM table_name_74 WHERE constructor = "maserati" AND laps = 90 |
###context:CREATE TABLE table_name_57 (attendance INTEGER, venue VARCHAR, date VARCHAR)
###human: What is the average Attendance at Venue A on 16 October 2004?
###assistant: SELECT AVG(attendance) FROM table_name_57 WHERE venue = "a" AND date = "16 october 2004" |
###context:CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, venue VARCHAR)
###human: What is the lowest Attendance when Middlesbrough played at Venue A?
###assistant: SELECT MIN(attendance) FROM table_name_34 WHERE opponent = "middlesbrough" AND venue = "a" |
###context:CREATE TABLE table_name_18 (sponsor_s_ VARCHAR, _number_of_cosponsors VARCHAR, date_introduced VARCHAR)
###human: Who was the sponsor for the bill introduced February 28, 2005 with cosponsors less than 200?
###assistant: SELECT sponsor_s_ FROM table_name_18 WHERE _number_of_cosponsors < 200 AND date_introduced = "february 28, 2005" |
###context:CREATE TABLE table_name_68 (year INTEGER, nominated_work VARCHAR, event VARCHAR)
###human: What year was Herself nominated at the MTV Movie Awards?
###assistant: SELECT MAX(year) FROM table_name_68 WHERE nominated_work = "herself" AND event = "mtv movie awards" |
###context:CREATE TABLE table_name_84 (crowd INTEGER, home_team VARCHAR)
###human: What is the average amount of spectators when Essendon played as the home team?
###assistant: SELECT AVG(crowd) FROM table_name_84 WHERE home_team = "essendon" |
###context:CREATE TABLE table_name_96 (away_team VARCHAR, venue VARCHAR)
###human: What did the away team score at MCG?
###assistant: SELECT away_team AS score FROM table_name_96 WHERE venue = "mcg" |
###context:CREATE TABLE table_name_28 (venue VARCHAR, away_team VARCHAR)
###human: Where was the game when Geelong was the away team?
###assistant: SELECT venue FROM table_name_28 WHERE away_team = "geelong" |
###context:CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)
###human: What team was the away team at Arden Street Oval?
###assistant: SELECT away_team FROM table_name_72 WHERE venue = "arden street oval" |
###context:CREATE TABLE table_name_71 (diameter__km_ VARCHAR, longitude VARCHAR, latitude VARCHAR, name VARCHAR)
###human: What in Xenia's Diameter in km, with a latitude of 14 and a longitude of 249.4?
###assistant: SELECT COUNT(diameter__km_) FROM table_name_71 WHERE latitude < 14 AND name = "xenia" AND longitude > 249.4 |
###context:CREATE TABLE table_name_18 (latitude INTEGER, diameter__km_ VARCHAR, longitude VARCHAR)
###human: What is the latitude for a crater with a diameter of 12.8 km and a longitude of 208?
###assistant: SELECT AVG(latitude) FROM table_name_18 WHERE diameter__km_ < 12.8 AND longitude < 208 |
###context:CREATE TABLE table_name_75 (runner_s__up VARCHAR, winning_score VARCHAR)
###human: Who was the Runner(s)-up in the race with a winning score of 67-66-65-69=267?
###assistant: SELECT runner_s__up FROM table_name_75 WHERE winning_score = 67 - 66 - 65 - 69 = 267 |
###context:CREATE TABLE table_name_9 (date VARCHAR, tournament VARCHAR)
###human: When was the Masters Tournament?
###assistant: SELECT date FROM table_name_9 WHERE tournament = "masters tournament" |
###context:CREATE TABLE table_name_48 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
###human: What is the margin of victory in the race where Justin Rose was the runner-up?
###assistant: SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "justin rose" |
###context:CREATE TABLE table_name_87 (tournament VARCHAR, date VARCHAR)
###human: What tournament took place on 7 Aug 2011?
###assistant: SELECT tournament FROM table_name_87 WHERE date = "7 aug 2011" |
###context:CREATE TABLE table_name_23 (day_2 VARCHAR, day_1 VARCHAR)
###human: For the team that had 4:05.096, what was their day 2?
###assistant: SELECT day_2 FROM table_name_23 WHERE day_1 = "4:05.096" |
###context:CREATE TABLE table_name_34 (team VARCHAR, day_1 VARCHAR)
###human: Which team had 3:18.513 on day 1?
###assistant: SELECT team FROM table_name_34 WHERE day_1 = "3:18.513" |
###context:CREATE TABLE table_name_26 (behind VARCHAR, class VARCHAR, day_2 VARCHAR)
###human: For the team with a class of gt2 and 3:59.820 on day 2, what was the behind?
###assistant: SELECT behind FROM table_name_26 WHERE class = "gt2" AND day_2 = "3:59.820" |
###context:CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR)
###human: Which team was 3:47.761 on day 2?
###assistant: SELECT team FROM table_name_78 WHERE day_2 = "3:47.761" |
###context:CREATE TABLE table_name_18 (class VARCHAR, behind VARCHAR)
###human: What is the class of the team that has a behind of +44.780?
###assistant: SELECT class FROM table_name_18 WHERE behind = "+44.780" |
###context:CREATE TABLE table_name_72 (behind VARCHAR, day_2 VARCHAR)
###human: For the team with 3:42.162 on day 2, what was the behind?
###assistant: SELECT behind FROM table_name_72 WHERE day_2 = "3:42.162" |
###context:CREATE TABLE table_name_42 (tournament VARCHAR)
###human: Which one of the tournaments had a QF in 1996?
###assistant: SELECT tournament FROM table_name_42 WHERE 1996 = "qf" |
###context:CREATE TABLE table_name_92 (tournament VARCHAR)
###human: What is the value for the Wimbledon tournament in 1996?
###assistant: SELECT 1996 FROM table_name_92 WHERE tournament = "wimbledon" |
###context:CREATE TABLE table_name_26 (year INTEGER, position VARCHAR, player VARCHAR)
###human: What year is center Ann Wauters?
###assistant: SELECT SUM(year) FROM table_name_26 WHERE position = "center" AND player = "ann wauters" |
###context:CREATE TABLE table_name_54 (year INTEGER, position VARCHAR, wnba_team VARCHAR)
###human: What is the earliest year that includes a Seattle Storm guard?
###assistant: SELECT MIN(year) FROM table_name_54 WHERE position = "guard" AND wnba_team = "seattle storm" |
###context:CREATE TABLE table_name_31 (position VARCHAR, year VARCHAR, college_country VARCHAR)
###human: Regarding players before 2000, what is the USC player's position?
###assistant: SELECT position FROM table_name_31 WHERE year < 2000 AND college_country = "usc" |
###context:CREATE TABLE table_name_79 (year INTEGER, college_country VARCHAR)
###human: What is the earliest year a Baylor player made the list?
###assistant: SELECT MIN(year) FROM table_name_79 WHERE college_country = "baylor" |
###context:CREATE TABLE table_name_93 (position VARCHAR, player VARCHAR)
###human: What is Sue Bird's position?
###assistant: SELECT position FROM table_name_93 WHERE player = "sue bird" |
###context:CREATE TABLE table_name_52 (builder VARCHAR, class VARCHAR)
###human: Which Builder has a Class of Terrier?
###assistant: SELECT builder FROM table_name_52 WHERE class = "terrier" |
###context:CREATE TABLE table_name_62 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
###human: who is the constructor when the laps is less than 68, the grid is more than 20 and the driver is thierry boutsen?
###assistant: SELECT constructor FROM table_name_62 WHERE laps < 68 AND grid > 20 AND driver = "thierry boutsen" |
###context:CREATE TABLE table_name_29 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR)
###human: what is the laps when the time/retired is turbo and the grid is less than 14?
###assistant: SELECT laps FROM table_name_29 WHERE time_retired = "turbo" AND grid < 14 |
###context:CREATE TABLE table_name_23 (time_retired VARCHAR, laps INTEGER)
###human: what is the time/retired when the laps is less than 4?
###assistant: SELECT time_retired FROM table_name_23 WHERE laps < 4 |
###context:CREATE TABLE table_name_34 (goals INTEGER, club VARCHAR, apps VARCHAR)
###human: Name the most goals for total club and apps less than 120
###assistant: SELECT MAX(goals) FROM table_name_34 WHERE club = "total" AND apps < 120 |
###context:CREATE TABLE table_name_51 (goals INTEGER, games VARCHAR)
###human: How many goals are associated with 75 games?
###assistant: SELECT MAX(goals) FROM table_name_51 WHERE games = 75 |
###context:CREATE TABLE table_name_75 (position VARCHAR, years_for_rockets VARCHAR)
###human: What is the position for the Rockets years of 2004-05?
###assistant: SELECT position FROM table_name_75 WHERE years_for_rockets = "2004-05" |
###context:CREATE TABLE table_name_14 (no_s_ INTEGER, years_for_rockets VARCHAR)
###human: What is the average number of years for the Houston Rockets 2004-05?
###assistant: SELECT AVG(no_s_) FROM table_name_14 WHERE years_for_rockets = "2004-05" |
###context:CREATE TABLE table_name_4 (position VARCHAR, years_for_rockets VARCHAR)
###human: For the years 1992-93, what position did he play for the Houston Rockets?
###assistant: SELECT position FROM table_name_4 WHERE years_for_rockets = "1992-93" |
###context:CREATE TABLE table_name_92 (no_s_ INTEGER, position VARCHAR, school_club_team_country VARCHAR)
###human: What is the total number of years did he play the forward position and what school/club/team/country of Oregon State did he play?
###assistant: SELECT SUM(no_s_) FROM table_name_92 WHERE position = "forward" AND school_club_team_country = "oregon state" |
###context:CREATE TABLE table_name_16 (wins INTEGER, player VARCHAR, events VARCHAR)
###human: How many wins for bruce fleisher with over 31 events?
###assistant: SELECT AVG(wins) FROM table_name_16 WHERE player = "bruce fleisher" AND events > 31 |
###context:CREATE TABLE table_name_74 (rank INTEGER, events VARCHAR, wins VARCHAR)
###human: What is the average rank for players with under 26 events and less than 2 wins?
###assistant: SELECT AVG(rank) FROM table_name_74 WHERE events < 26 AND wins < 2 |
###context:CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)
###human: What is the high earnings for players with 34 events and over 2 wins?
###assistant: SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 2 |
###context:CREATE TABLE table_name_83 (tournament VARCHAR)
###human: Which tournament had a 2R categorization in 2009 and SF in 2010?
###assistant: SELECT tournament FROM table_name_83 WHERE 2009 = "2r" AND 2010 = "sf" |
###context:CREATE TABLE table_name_14 (Id VARCHAR)
###human: What is the categorization in 2009 when it was 2R in 2008 and 2011?
###assistant: SELECT 2009 FROM table_name_14 WHERE 2008 = "2r" AND 2011 = "2r" |
###context:CREATE TABLE table_name_13 (Id VARCHAR)
###human: What is the categorization in 2012 when it was A in 2008 and 1R in 2011?
###assistant: SELECT 2012 FROM table_name_13 WHERE 2008 = "a" AND 2011 = "1r" |
###context:CREATE TABLE table_name_10 (Id VARCHAR)
###human: What is the categorization in 2010 when it was A in 2008 and 20011 while being QF in 2012?
###assistant: SELECT 2010 FROM table_name_10 WHERE 2008 = "a" AND 2011 = "a" AND 2012 = "qf" |
###context:CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)
###human: What was the score against home team, Richmond?
###assistant: SELECT away_team AS score FROM table_name_28 WHERE home_team = "richmond" |
###context:CREATE TABLE table_name_3 (crowd INTEGER, home_team VARCHAR)
###human: What is Fitzroy's smallest crowd size?
###assistant: SELECT MIN(crowd) FROM table_name_3 WHERE home_team = "fitzroy" |
###context:CREATE TABLE table_name_19 (date VARCHAR, opponent VARCHAR)
###human: When was naomi cavaday the opponent?
###assistant: SELECT date FROM table_name_19 WHERE opponent = "naomi cavaday" |
###context:CREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR)
###human: When was andrea gámiz the opponent?
###assistant: SELECT date FROM table_name_97 WHERE opponent = "andrea gámiz" |
###context:CREATE TABLE table_name_94 (opponent VARCHAR, score VARCHAR, surface VARCHAR)
###human: Who is the opponent when the score was 6–4, 6–2 and the surface was clay?
###assistant: SELECT opponent FROM table_name_94 WHERE score = "6–4, 6–2" AND surface = "clay" |
###context:CREATE TABLE table_name_97 (crowd INTEGER, home_team VARCHAR)
###human: What was the smallest crowd at a home game for essendon?
###assistant: SELECT MIN(crowd) FROM table_name_97 WHERE home_team = "essendon" |
###context:CREATE TABLE table_name_70 (time_retired VARCHAR, driver VARCHAR)
###human: Tell me the time/retired for riccardo patrese
###assistant: SELECT time_retired FROM table_name_70 WHERE driver = "riccardo patrese" |
###context:CREATE TABLE table_name_12 (time_retired VARCHAR, grid VARCHAR)
###human: I want the time/retired for grid of 24
###assistant: SELECT time_retired FROM table_name_12 WHERE grid = 24 |
###context:CREATE TABLE table_name_69 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
###human: I want the driver for ferrari who made Laps less than 26 and grids more than 9
###assistant: SELECT driver FROM table_name_69 WHERE grid > 9 AND laps < 26 AND constructor = "ferrari" |
###context:CREATE TABLE table_name_60 (grid VARCHAR, laps VARCHAR)
###human: Tell me the total number of grid for laps of 52
###assistant: SELECT COUNT(grid) FROM table_name_60 WHERE laps = 52 |
###context:CREATE TABLE table_name_48 (record VARCHAR, date VARCHAR)
###human: What's the record for january 10?
###assistant: SELECT record FROM table_name_48 WHERE date = "january 10" |
###context:CREATE TABLE table_name_28 (score VARCHAR, decision VARCHAR, date VARCHAR)
###human: What's the score on january 5 with a hasek decision?
###assistant: SELECT score FROM table_name_28 WHERE decision = "hasek" AND date = "january 5" |
###context:CREATE TABLE table_name_97 (club_team VARCHAR, player VARCHAR, overall VARCHAR, round VARCHAR)
###human: What Club team has an average of 8, plays kaj linna, and has an overall larger than 131?
###assistant: SELECT club_team FROM table_name_97 WHERE overall > 131 AND round = 8 AND player = "kaj linna" |
###context:CREATE TABLE table_name_64 (round VARCHAR, player VARCHAR)
###human: What round does Bryan Berard do?
###assistant: SELECT round FROM table_name_64 WHERE player = "bryan berard" |
###context:CREATE TABLE table_name_57 (gross_tonnage INTEGER, entered_service VARCHAR)
###human: Tell me the average gross tonnage for april 1919 entered service
###assistant: SELECT AVG(gross_tonnage) FROM table_name_57 WHERE entered_service = "april 1919" |
###context:CREATE TABLE table_name_51 (gross_tonnage VARCHAR, entered_service VARCHAR)
###human: I want the total number of gross tonnage when entered service was 1903
###assistant: SELECT COUNT(gross_tonnage) FROM table_name_51 WHERE entered_service = "1903" |
###context:CREATE TABLE table_name_9 (rank INTEGER, player VARCHAR, matches VARCHAR)
###human: what is the rank when the player is henry shefflin and the matches is higher than 4?
###assistant: SELECT SUM(rank) FROM table_name_9 WHERE player = "henry shefflin" AND matches > 4 |
###context:CREATE TABLE table_name_31 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR)
###human: what is the rank when the total is 39 in the county of dublin and the matches is less than 4?
###assistant: SELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = "dublin" AND matches < 4 |
###context:CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR)
###human: Who was the opponent on November 12, 1972?
###assistant: SELECT opponent FROM table_name_19 WHERE date = "november 12, 1972" |
###context:CREATE TABLE table_name_83 (builder’s_model VARCHAR, total_produced VARCHAR, build_date VARCHAR)
###human: Who built the train in 1966 with over 40 produced?
###assistant: SELECT builder’s_model FROM table_name_83 WHERE total_produced > 40 AND build_date = "1966" |
###context:CREATE TABLE table_name_4 (prr_class VARCHAR, build_date VARCHAR, wheel_arrangement VARCHAR, service VARCHAR)
###human: What is the PRR class of the freight train built in 1967 with a b-b wheel arrangement?
###assistant: SELECT prr_class FROM table_name_4 WHERE wheel_arrangement = "b-b" AND service = "freight" AND build_date = "1967" |
###context:CREATE TABLE table_name_33 (prr_class VARCHAR, wheel_arrangement VARCHAR)
###human: What PRR class has a Wheel arrangement of a1a-a1a?
###assistant: SELECT prr_class FROM table_name_33 WHERE wheel_arrangement = "a1a-a1a" |
###context:CREATE TABLE table_name_88 (zone INTEGER, managed_by VARCHAR, platforms VARCHAR)
###human: Which Zone is the lowest when Managed By Southern and has Platforms under 2?
###assistant: SELECT MIN(zone) FROM table_name_88 WHERE managed_by = "southern" AND platforms < 2 |
###context:CREATE TABLE table_name_15 (platforms INTEGER, stations VARCHAR)
###human: What would be the highest Platforms for the Centrale Tram Stop Stations?
###assistant: SELECT MAX(platforms) FROM table_name_15 WHERE stations = "centrale tram stop" |
###context:CREATE TABLE table_name_9 (grid INTEGER, laps INTEGER)
###human: How many grids had more than 61 laps?
###assistant: SELECT SUM(grid) FROM table_name_9 WHERE laps > 61 |
###context:CREATE TABLE table_name_57 (pick INTEGER, player VARCHAR, round VARCHAR)
###human: When parnell dickinson was the player and the rounds were under 7, what's the highest pick?
###assistant: SELECT MAX(pick) FROM table_name_57 WHERE player = "parnell dickinson" AND round < 7 |
###context:CREATE TABLE table_name_51 (round INTEGER, position VARCHAR, school VARCHAR)
###human: When the school picking is utah state for the position of linebacker, what's the sum of those rounds?
###assistant: SELECT SUM(round) FROM table_name_51 WHERE position = "linebacker" AND school = "utah state" |
###context:CREATE TABLE table_name_38 (laps VARCHAR, grid INTEGER)
###human: what is the laps when the grid is less than 2?
###assistant: SELECT laps FROM table_name_38 WHERE grid < 2 |
###context:CREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
###human: who is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani?
###assistant: SELECT constructor FROM table_name_66 WHERE grid > 23 AND driver = "piercarlo ghinzani" |
###context:CREATE TABLE table_name_36 (year INTEGER, venue VARCHAR)
###human: When is the latest year the venue is in gothenburg, sweden?
###assistant: SELECT MAX(year) FROM table_name_36 WHERE venue = "gothenburg, sweden" |
###context:CREATE TABLE table_name_69 (year INTEGER, venue VARCHAR)
###human: When is the earliest year the venue is in gothenburg, sweden?
###assistant: SELECT MIN(year) FROM table_name_69 WHERE venue = "gothenburg, sweden" |
###context:CREATE TABLE table_name_41 (result VARCHAR, tournament VARCHAR, year VARCHAR)
###human: What is the result of the european indoor championships after 1974?
###assistant: SELECT result FROM table_name_41 WHERE tournament = "european indoor championships" AND year > 1974 |
###context:CREATE TABLE table_name_33 (away_team VARCHAR, venue VARCHAR)
###human: In Western Oval, what was the away team score?
###assistant: SELECT away_team AS score FROM table_name_33 WHERE venue = "western oval" |
###context:CREATE TABLE table_name_14 (places INTEGER, name VARCHAR, points VARCHAR)
###human: What is the place number for adrian vasile with less than 127.74 points?
###assistant: SELECT SUM(places) FROM table_name_14 WHERE name = "adrian vasile" AND points < 127.74 |
###context:CREATE TABLE table_name_84 (fs VARCHAR, sp INTEGER, points VARCHAR, rank VARCHAR)
###human: What is the highest SP+FS that has 131.02 Points, and a Rank larger than 15?
###assistant: SELECT MAX(sp) + fs FROM table_name_84 WHERE points = 131.02 AND rank > 15 |
###context:CREATE TABLE table_name_31 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, country VARCHAR)
###human: What is the highest evening gown score of the contestant from Tennessee with an interview score larger than 9.36 and an average larger than 9.75 have?
###assistant: SELECT MAX(evening_gown) FROM table_name_31 WHERE interview > 9.36 AND country = "tennessee" AND average > 9.75 |
###context:CREATE TABLE table_name_86 (average INTEGER, swimsuit INTEGER)
###human: What is the average of the contestant with a swimsuit less than 9.32?
###assistant: SELECT SUM(average) FROM table_name_86 WHERE swimsuit < 9.32 |
###context:CREATE TABLE table_name_63 (swimsuit INTEGER, average VARCHAR, interview VARCHAR, evening_gown VARCHAR)
###human: What is the highest swimsuit score of the contestant with a higher than 9.55 interview score, and evening gown of 9.75, and an average higher than 9.67?
###assistant: SELECT MAX(swimsuit) FROM table_name_63 WHERE interview > 9.55 AND evening_gown = 9.75 AND average > 9.67 |
###context:CREATE TABLE table_name_19 (country VARCHAR, swimsuit VARCHAR)
###human: What is the country of the contestant with a swimsuit of 9.46?
###assistant: SELECT country FROM table_name_19 WHERE swimsuit = 9.46 |
###context:CREATE TABLE table_name_76 (date VARCHAR, goal VARCHAR)
###human: On what date did Goal 24 take place?
###assistant: SELECT date FROM table_name_76 WHERE goal = 24 |
###context:CREATE TABLE table_name_60 (team_2 VARCHAR, team_1 VARCHAR)
###human: What is the team 2 for team 1 of Valletta?
###assistant: SELECT team_2 FROM table_name_60 WHERE team_1 = "valletta" |
###context:CREATE TABLE table_name_97 (defensive VARCHAR, rookie VARCHAR, week VARCHAR)
###human: Who played defensive when the rookie Craig Point was playing during week 6?
###assistant: SELECT defensive FROM table_name_97 WHERE rookie = "craig point" AND week = 6 |
###context:CREATE TABLE table_name_6 (week INTEGER, transition VARCHAR)
###human: What was the first week that had a transition with Pat Mccready?
###assistant: SELECT MIN(week) FROM table_name_6 WHERE transition = "pat mccready" |
###context:CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)
###human: Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?
###assistant: SELECT rookie FROM table_name_6 WHERE defensive = "matt vinc" AND offensive = "pat maddalena" |
###context:CREATE TABLE table_name_16 (overall VARCHAR, transition VARCHAR)
###human: Who played as overall when Josh Sims was transition?
###assistant: SELECT overall FROM table_name_16 WHERE transition = "josh sims" |
###context:CREATE TABLE table_name_98 (crowd INTEGER, venue VARCHAR)
###human: How large was the crowd at Glenferrie Oval?
###assistant: SELECT SUM(crowd) FROM table_name_98 WHERE venue = "glenferrie oval" |
###context:CREATE TABLE table_name_62 (actor VARCHAR, character VARCHAR)
###human: who is the actor of the character ariadne oliver?
###assistant: SELECT actor FROM table_name_62 WHERE character = "ariadne oliver" |
###context:CREATE TABLE table_name_15 (grid INTEGER, driver VARCHAR, laps VARCHAR)
###human: What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18?
###assistant: SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18 |
###context:CREATE TABLE table_name_65 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
###human: What time/retired has a Grid larger than 3, and a Driver of kimi räikkönen?
###assistant: SELECT time_retired FROM table_name_65 WHERE grid > 3 AND driver = "kimi räikkönen" |
###context:CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR)
###human: What is the score on December 31?
###assistant: SELECT score FROM table_name_13 WHERE date = "december 31" |
###context:CREATE TABLE table_name_89 (team_1 INTEGER, agg VARCHAR)
###human: What's the lowest team 1 number that had asolo fonte (veneto b) as the Agg.?
###assistant: SELECT MIN(team_1) FROM table_name_89 WHERE agg = "asolo fonte (veneto b)" |
###context:CREATE TABLE table_name_22 (grid INTEGER, driver VARCHAR, laps VARCHAR)
###human: What is the grid total for kazuyoshi hoshino with under 71 laps?
###assistant: SELECT SUM(grid) FROM table_name_22 WHERE driver = "kazuyoshi hoshino" AND laps < 71 |
###context:CREATE TABLE table_name_35 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
###human: What driver has grid 2 and over 72 laps?
###assistant: SELECT driver FROM table_name_35 WHERE laps > 72 AND grid = 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.