training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_19 (opponent VARCHAR, field VARCHAR)
###human: Who is the opponent at Bishop Kearney Field?
###assistant: SELECT opponent FROM table_name_19 WHERE field = "bishop kearney field" |
###context:CREATE TABLE table_name_17 (date VARCHAR, home_away VARCHAR, opponent VARCHAR)
###human: On what date were the opponents the Bayhawks at a home game?
###assistant: SELECT date FROM table_name_17 WHERE home_away = "home" AND opponent = "bayhawks" |
###context:CREATE TABLE table_name_58 (raion__district__or_city VARCHAR, bessarabian_bulgarians VARCHAR)
###human: What city or Raion (district) has 8,600 Bessarabian Bulgarians?
###assistant: SELECT raion__district__or_city FROM table_name_58 WHERE bessarabian_bulgarians = "8,600" |
###context:CREATE TABLE table_name_81 (moldovans VARCHAR, ukrainians VARCHAR)
###human: what is the Moldovans number when there are 14,200 Ukrainians?
###assistant: SELECT moldovans FROM table_name_81 WHERE ukrainians = "14,200" |
###context:CREATE TABLE table_name_28 (reported_isn INTEGER, citizenship VARCHAR)
###human: Name the lowest reported isn for russia
###assistant: SELECT MIN(reported_isn) FROM table_name_28 WHERE citizenship = "russia" |
###context:CREATE TABLE table_name_4 (reported_isn INTEGER, on_july_2007_press_release VARCHAR, citizenship VARCHAR)
###human: Name the average reported isn for july 2007 for kuwait release of no
###assistant: SELECT AVG(reported_isn) FROM table_name_4 WHERE on_july_2007_press_release = "no" AND citizenship = "kuwait" |
###context:CREATE TABLE table_name_10 (region INTEGER, population VARCHAR)
###human: What is the highest region number with a 499 population?
###assistant: SELECT MAX(region) FROM table_name_10 WHERE population = 499 |
###context:CREATE TABLE table_name_52 (series VARCHAR, home VARCHAR, date VARCHAR)
###human: What was the series score on april 17 with minnesota at home?
###assistant: SELECT series FROM table_name_52 WHERE home = "minnesota" AND date = "april 17" |
###context:CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)
###human: How many attended the game on april 14?
###assistant: SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 14" |
###context:CREATE TABLE table_name_8 (home VARCHAR, date VARCHAR)
###human: Who was at home on april 14?
###assistant: SELECT home FROM table_name_8 WHERE date = "april 14" |
###context:CREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR)
###human: What is the name of the away team that played Melbourne?
###assistant: SELECT away_team FROM table_name_91 WHERE home_team = "melbourne" |
###context:CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR)
###human: What date was the game played at Punt Road Oval?
###assistant: SELECT date FROM table_name_33 WHERE venue = "punt road oval" |
###context:CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR)
###human: What is the name of the home team that played against Hawthorn?
###assistant: SELECT home_team FROM table_name_13 WHERE away_team = "hawthorn" |
###context:CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR)
###human: What is the home team score that played at Kardinia Park?
###assistant: SELECT home_team AS score FROM table_name_25 WHERE venue = "kardinia park" |
###context:CREATE TABLE table_name_85 (laps VARCHAR, driver VARCHAR)
###human: I want the total number of Laps for Rubens Barrichello
###assistant: SELECT COUNT(laps) FROM table_name_85 WHERE driver = "rubens barrichello" |
###context:CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
###human: Tell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0.294
###assistant: SELECT driver FROM table_name_41 WHERE grid < 19 AND laps > 59 AND time_retired = "+0.294" |
###context:CREATE TABLE table_name_56 (rider VARCHAR, time VARCHAR, rank VARCHAR)
###human: What is the name of the rider with a time of 1:45.52.84, and a Rank of 8?
###assistant: SELECT rider FROM table_name_56 WHERE time = "1:45.52.84" AND rank = 8 |
###context:CREATE TABLE table_name_10 (team VARCHAR, rank VARCHAR, time VARCHAR)
###human: What is the name of the team with a rank smaller than 5 and a time of 1:37.58.38?
###assistant: SELECT team FROM table_name_10 WHERE rank < 5 AND time = "1:37.58.38" |
###context:CREATE TABLE table_name_64 (rank INTEGER, rider VARCHAR)
###human: What is the highest rank for Peter Symes?
###assistant: SELECT MAX(rank) FROM table_name_64 WHERE rider = "peter symes" |
###context:CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR)
###human: What was the score for the away team at Glenferrie Oval?
###assistant: SELECT away_team AS score FROM table_name_53 WHERE venue = "glenferrie oval" |
###context:CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)
###human: When was a game played where the away team is St Kilda?
###assistant: SELECT date FROM table_name_63 WHERE away_team = "st kilda" |
###context:CREATE TABLE table_name_43 (home_team VARCHAR, away_team VARCHAR)
###human: What was the home team score when the away team was Carlton?
###assistant: SELECT home_team AS score FROM table_name_43 WHERE away_team = "carlton" |
###context:CREATE TABLE table_name_63 (location VARCHAR, capacity VARCHAR, opening VARCHAR)
###human: What place can sit 65,000 and opens 2016?
###assistant: SELECT location FROM table_name_63 WHERE capacity = "65,000" AND opening = "2016" |
###context:CREATE TABLE table_name_99 (stadium VARCHAR, team VARCHAR)
###human: What is the stadium of the san diego chargers?
###assistant: SELECT stadium FROM table_name_99 WHERE team = "san diego chargers" |
###context:CREATE TABLE table_name_64 (team VARCHAR, stadium VARCHAR)
###human: Who is the team at vikings stadium?
###assistant: SELECT team FROM table_name_64 WHERE stadium = "vikings stadium" |
###context:CREATE TABLE table_name_81 (building VARCHAR, floors VARCHAR, year VARCHAR)
###human: For the Year 2013 what building(s) had more than 15 Floors?
###assistant: SELECT building FROM table_name_81 WHERE floors > 15 AND year = "2013" |
###context:CREATE TABLE table_name_13 (building VARCHAR, year VARCHAR, floors VARCHAR)
###human: For the Year 2013 what building(s) had less than 20 Floors?
###assistant: SELECT building FROM table_name_13 WHERE year = "2013" AND floors < 20 |
###context:CREATE TABLE table_name_2 (venue VARCHAR, away_team VARCHAR)
###human: What location was the game played at when Richmond was the away team?
###assistant: SELECT venue FROM table_name_2 WHERE away_team = "richmond" |
###context:CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR)
###human: What date was the game played at vfl park?
###assistant: SELECT date FROM table_name_33 WHERE venue = "vfl park" |
###context:CREATE TABLE table_name_27 (crowd INTEGER, away_team VARCHAR)
###human: How many people were in the crowd when the away team was north melbourne?
###assistant: SELECT SUM(crowd) FROM table_name_27 WHERE away_team = "north melbourne" |
###context:CREATE TABLE table_name_82 (first_time_as_hc_climb INTEGER, most_recent VARCHAR, no_of_hc_climbs VARCHAR, no_of_times_visited VARCHAR)
###human: When was the first HC climb which, more recently than 2012, had more than 1 HC climbs, more than 29 times visited?
###assistant: SELECT SUM(first_time_as_hc_climb) FROM table_name_82 WHERE no_of_hc_climbs > 1 AND no_of_times_visited > 29 AND most_recent > 2012 |
###context:CREATE TABLE table_name_35 (no_of_hc_climbs VARCHAR, height__m_ VARCHAR, first_time_as_hc_climb VARCHAR, no_of_times_visited VARCHAR, most_recent VARCHAR)
###human: How many HC climbs had 1 visit more recently than 1984, a first HC climb before 1994, and a height of 1900?
###assistant: SELECT no_of_hc_climbs FROM table_name_35 WHERE no_of_times_visited = 1 AND most_recent > 1984 AND first_time_as_hc_climb < 1994 AND height__m_ = "1900" |
###context:CREATE TABLE table_name_69 (height__m_ VARCHAR, first_time_as_hc_climb VARCHAR, no_of_times_visited VARCHAR, no_of_hc_climbs VARCHAR, most_recent VARCHAR)
###human: What is the height with more than 2 HC climbs more recent than 2012, less than 48 times visited, and a first HC climb in 1989?
###assistant: SELECT height__m_ FROM table_name_69 WHERE no_of_hc_climbs > 2 AND most_recent = 2012 AND no_of_times_visited < 48 AND first_time_as_hc_climb = 1989 |
###context:CREATE TABLE table_name_56 (most_recent VARCHAR, height__m_ VARCHAR, first_time_as_hc_climb VARCHAR)
###human: What was the most recent year a height of 2770 m and a HC climb before 1992 was climbed?
###assistant: SELECT COUNT(most_recent) FROM table_name_56 WHERE height__m_ = "2770" AND first_time_as_hc_climb < 1992 |
###context:CREATE TABLE table_name_23 (first_time_as_hc_climb VARCHAR, height__m_ VARCHAR, most_recent VARCHAR, no_of_times_visited VARCHAR, no_of_hc_climbs VARCHAR)
###human: When was the first HC climb before 2013 with more than 3 times visited, more than 4 HC climbs, and a height of 1669?
###assistant: SELECT first_time_as_hc_climb FROM table_name_23 WHERE no_of_times_visited > 3 AND no_of_hc_climbs = 4 AND most_recent < 2013 AND height__m_ = "1669" |
###context:CREATE TABLE table_name_43 (builder VARCHAR, pennant_number VARCHAR)
###human: Who is the builder of Pennant d03?
###assistant: SELECT builder FROM table_name_43 WHERE pennant_number = "d03" |
###context:CREATE TABLE table_name_30 (pick__number VARCHAR, reg_gp VARCHAR, pl_gp VARCHAR)
###human: How many picks had a Reg GP that was over 906, when the Pl GP was bigger than 99?
###assistant: SELECT COUNT(pick__number) FROM table_name_30 WHERE reg_gp > 906 AND pl_gp > 99 |
###context:CREATE TABLE table_name_44 (pick__number INTEGER, reg_gp INTEGER)
###human: Which is the smallest pick number that had a Reg GP of less than 0?
###assistant: SELECT MIN(pick__number) FROM table_name_44 WHERE reg_gp < 0 |
###context:CREATE TABLE table_name_15 (home_team VARCHAR, away_team VARCHAR)
###human: Name the home team score when the away team is south melbourne
###assistant: SELECT home_team AS score FROM table_name_15 WHERE away_team = "south melbourne" |
###context:CREATE TABLE table_name_51 (date VARCHAR, home_team VARCHAR)
###human: Name the date for home team of collingwood
###assistant: SELECT date FROM table_name_51 WHERE home_team = "collingwood" |
###context:CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
###human: Name the date for princes park
###assistant: SELECT date FROM table_name_87 WHERE venue = "princes park" |
###context:CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
###human: Name the date for the venue of brunswick street oval
###assistant: SELECT date FROM table_name_59 WHERE venue = "brunswick street oval" |
###context:CREATE TABLE table_name_12 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
###human: What was the attendence of the game on 26 April 1948 and an away team of Hawthorn?
###assistant: SELECT crowd FROM table_name_12 WHERE date = "26 april 1948" AND away_team = "hawthorn" |
###context:CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR)
###human: When playing at Windy Hill, what was the home team?
###assistant: SELECT home_team FROM table_name_54 WHERE venue = "windy hill" |
###context:CREATE TABLE table_name_99 (crowd INTEGER, home_team VARCHAR)
###human: What is the average crowd when footscray is at home?
###assistant: SELECT AVG(crowd) FROM table_name_99 WHERE home_team = "footscray" |
###context:CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)
###human: What is the listed crowd at windy hill?
###assistant: SELECT crowd FROM table_name_4 WHERE venue = "windy hill" |
###context:CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR)
###human: What is the away team's score at punt road oval?
###assistant: SELECT away_team FROM table_name_27 WHERE venue = "punt road oval" |
###context:CREATE TABLE table_name_24 (home VARCHAR, score VARCHAR)
###human: Who was the home team at the Nuggets game that had a score of 116–105?
###assistant: SELECT home FROM table_name_24 WHERE score = "116–105" |
###context:CREATE TABLE table_name_46 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
###human: Tell me the lowest Laps with a time/retired of +2 Laps and Grid of 20
###assistant: SELECT MIN(laps) FROM table_name_46 WHERE time_retired = "+2 laps" AND grid = 20 |
###context:CREATE TABLE table_name_83 (time_retired VARCHAR, driver VARCHAR)
###human: I want the time/retired for eddie irvine
###assistant: SELECT time_retired FROM table_name_83 WHERE driver = "eddie irvine" |
###context:CREATE TABLE table_name_48 (date VARCHAR, winning_driver VARCHAR)
###human: What date was Rodger Ward the winning driver?
###assistant: SELECT date FROM table_name_48 WHERE winning_driver = "rodger ward" |
###context:CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR)
###human: What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix?
###assistant: SELECT constructor FROM table_name_46 WHERE winning_driver = "jack brabham" AND race = "monaco grand prix" |
###context:CREATE TABLE table_name_78 (winning_driver VARCHAR, pole_position VARCHAR)
###human: What driver was the winner when Joakim Bonnier was in the Pole Position?
###assistant: SELECT winning_driver FROM table_name_78 WHERE pole_position = "joakim bonnier" |
###context:CREATE TABLE table_name_61 (date VARCHAR, tyre VARCHAR, winning_driver VARCHAR)
###human: What date was the Tyre d and Bruce Mclaren won?
###assistant: SELECT date FROM table_name_61 WHERE tyre = "d" AND winning_driver = "bruce mclaren" |
###context:CREATE TABLE table_name_21 (date VARCHAR, pole_position VARCHAR)
###human: What date was Joakim Bonnier in the pole position?
###assistant: SELECT date FROM table_name_21 WHERE pole_position = "joakim bonnier" |
###context:CREATE TABLE table_name_70 (time_retired VARCHAR, grid VARCHAR)
###human: What is the time for the racer on grid 19?
###assistant: SELECT time_retired FROM table_name_70 WHERE grid = 19 |
###context:CREATE TABLE table_name_4 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
###human: Who made the car that Alberto Ascari went more than 35 laps on a grid less than 7?
###assistant: SELECT constructor FROM table_name_4 WHERE grid < 7 AND laps > 35 AND driver = "alberto ascari" |
###context:CREATE TABLE table_name_22 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
###human: What driver raced for more than 9 laps on grid 7?
###assistant: SELECT driver FROM table_name_22 WHERE laps > 9 AND grid = 7 |
###context:CREATE TABLE table_name_18 (license VARCHAR, actual_version VARCHAR)
###human: Which License has an Actual Vaersion of 9.0?
###assistant: SELECT license FROM table_name_18 WHERE actual_version = "9.0" |
###context:CREATE TABLE table_name_15 (system VARCHAR, actual_version VARCHAR)
###human: Which System has an Actual Version 9.0?
###assistant: SELECT system FROM table_name_15 WHERE actual_version = "9.0" |
###context:CREATE TABLE table_name_45 (system VARCHAR, name VARCHAR)
###human: Which System's Name is Gemulator?
###assistant: SELECT system FROM table_name_45 WHERE name = "gemulator" |
###context:CREATE TABLE table_name_76 (system VARCHAR, license VARCHAR, name VARCHAR)
###human: Which System's Name is Steem, and has a Freeware License?
###assistant: SELECT system FROM table_name_76 WHERE license = "freeware" AND name = "steem" |
###context:CREATE TABLE table_name_96 (date VARCHAR, record VARCHAR)
###human: What was the date of the game when the Lightning had a record of 10–13–2?
###assistant: SELECT date FROM table_name_96 WHERE record = "10–13–2" |
###context:CREATE TABLE table_name_58 (date VARCHAR, record VARCHAR)
###human: What was the date of the game when the Lightning had a record of 9–8–1?
###assistant: SELECT date FROM table_name_58 WHERE record = "9–8–1" |
###context:CREATE TABLE table_name_84 (decision VARCHAR, record VARCHAR)
###human: What was the decision of the game when the Lightning had a record of 6–8–1?
###assistant: SELECT decision FROM table_name_84 WHERE record = "6–8–1" |
###context:CREATE TABLE table_name_48 (pick INTEGER, player VARCHAR)
###human: What pick was Dominic Uy?
###assistant: SELECT AVG(pick) FROM table_name_48 WHERE player = "dominic uy" |
###context:CREATE TABLE table_name_98 (college VARCHAR, pick VARCHAR)
###human: What college did pick 33 attend?
###assistant: SELECT college FROM table_name_98 WHERE pick = 33 |
###context:CREATE TABLE table_name_71 (elevation_msl VARCHAR, housing__2007_ VARCHAR)
###human: What is the elevation of the city with a number of 91,385 Housing dwellings in 2007?
###assistant: SELECT elevation_msl FROM table_name_71 WHERE housing__2007_ = "91,385" |
###context:CREATE TABLE table_name_11 (density__hab_km²_ VARCHAR, city_district VARCHAR)
###human: What is the density of San Sebastián?
###assistant: SELECT density__hab_km²_ FROM table_name_11 WHERE city_district = "san sebastián" |
###context:CREATE TABLE table_name_5 (density__hab_km²_ VARCHAR, elevation_msl VARCHAR)
###human: What is the density of the city with an elevation of 3,400 msl?
###assistant: SELECT density__hab_km²_ FROM table_name_5 WHERE elevation_msl = "3,400 msl" |
###context:CREATE TABLE table_name_92 (area_km² VARCHAR, density__hab_km²_ VARCHAR)
###human: What is the area of the city with a density of 8,546.1?
###assistant: SELECT area_km² FROM table_name_92 WHERE density__hab_km²_ = "8,546.1" |
###context:CREATE TABLE table_name_72 (area_km² VARCHAR, density__hab_km²_ VARCHAR)
###human: What is the area of the city with a density of 955.6?
###assistant: SELECT area_km² FROM table_name_72 WHERE density__hab_km²_ = "955.6" |
###context:CREATE TABLE table_name_72 (density__hab_km²_ VARCHAR, city_district VARCHAR)
###human: What is the density of San Sebastián?
###assistant: SELECT density__hab_km²_ FROM table_name_72 WHERE city_district = "san sebastián" |
###context:CREATE TABLE table_name_45 (result VARCHAR, category VARCHAR)
###human: Which Result has a Category of best book of a musical?
###assistant: SELECT result FROM table_name_45 WHERE category = "best book of a musical" |
###context:CREATE TABLE table_name_88 (nominee VARCHAR, category VARCHAR)
###human: Which Nominee has a Category of outstanding musical?
###assistant: SELECT nominee FROM table_name_88 WHERE category = "outstanding musical" |
###context:CREATE TABLE table_name_20 (time VARCHAR, record VARCHAR)
###human: What is the record time at the Nascar Camping World Truck Series?
###assistant: SELECT time FROM table_name_20 WHERE record = "nascar camping world truck series" |
###context:CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)
###human: What date was the nascar nationwide series held?
###assistant: SELECT record FROM table_name_57 WHERE date = "nascar nationwide series" |
###context:CREATE TABLE table_name_12 (record VARCHAR, time VARCHAR)
###human: Who holds the record time of 24.521 and where was it made?
###assistant: SELECT record FROM table_name_12 WHERE time = "24.521" |
###context:CREATE TABLE table_name_79 (time_retired VARCHAR, grid VARCHAR)
###human: Which time/retired has a grid of 9?
###assistant: SELECT time_retired FROM table_name_79 WHERE grid = "9" |
###context:CREATE TABLE table_name_79 (driver VARCHAR, grid VARCHAR)
###human: Which driver's grid is 6?
###assistant: SELECT driver FROM table_name_79 WHERE grid = "6" |
###context:CREATE TABLE table_name_59 (constructor VARCHAR, driver VARCHAR)
###human: For which constructor does Juan Manuel Fangio drive?
###assistant: SELECT constructor FROM table_name_59 WHERE driver = "juan manuel fangio" |
###context:CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR)
###human: Which laps has a grid of 8?
###assistant: SELECT laps FROM table_name_25 WHERE grid = "8" |
###context:CREATE TABLE table_name_74 (grid VARCHAR, constructor VARCHAR, driver VARCHAR)
###human: Which grid is constructed by Maserati and driven by Oscar Alfredo Gálvez?
###assistant: SELECT grid FROM table_name_74 WHERE constructor = "maserati" AND driver = "oscar alfredo gálvez" |
###context:CREATE TABLE table_name_37 (engine VARCHAR, driver VARCHAR, entrant VARCHAR)
###human: what was the engine when ken downing drove an entrant from connaught engineering?
###assistant: SELECT engine FROM table_name_37 WHERE driver = "ken downing" AND entrant = "connaught engineering" |
###context:CREATE TABLE table_name_21 (constructor VARCHAR, driver VARCHAR)
###human: who built the car driven by eric brandon?
###assistant: SELECT constructor FROM table_name_21 WHERE driver = "eric brandon" |
###context:CREATE TABLE table_name_5 (chassis VARCHAR, constructor VARCHAR, driver VARCHAR)
###human: what was the chassis built by simca-gordini and driven by max de terra?
###assistant: SELECT chassis FROM table_name_5 WHERE constructor = "simca-gordini" AND driver = "max de terra" |
###context:CREATE TABLE table_name_23 (entrant VARCHAR, driver VARCHAR)
###human: kenneth mcalpine drove from which entrant?
###assistant: SELECT entrant FROM table_name_23 WHERE driver = "kenneth mcalpine" |
###context:CREATE TABLE table_name_79 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)
###human: with 6 rounds, and a 52 51/52 chassis, who is the driver?
###assistant: SELECT driver FROM table_name_79 WHERE rounds = "6" AND chassis = "52 51/52" |
###context:CREATE TABLE table_name_62 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
###human: What was the attendance when the Braves were the opponent and the record was 56-53?
###assistant: SELECT AVG(attendance) FROM table_name_62 WHERE opponent = "braves" AND record = "56-53" |
###context:CREATE TABLE table_name_89 (opponent VARCHAR, record VARCHAR)
###human: Who was the opponent when the record was 61-57?
###assistant: SELECT opponent FROM table_name_89 WHERE record = "61-57" |
###context:CREATE TABLE table_name_55 (laps VARCHAR, driver VARCHAR)
###human: How many laps for jochen rindt?
###assistant: SELECT COUNT(laps) FROM table_name_55 WHERE driver = "jochen rindt" |
###context:CREATE TABLE table_name_73 (grid VARCHAR, driver VARCHAR)
###human: What is the grid total for jean-pierre beltoise?
###assistant: SELECT COUNT(grid) FROM table_name_73 WHERE driver = "jean-pierre beltoise" |
###context:CREATE TABLE table_name_22 (time VARCHAR, opponent VARCHAR)
###human: What was the time for the event in which Tony Mendoza was the opponent?
###assistant: SELECT time FROM table_name_22 WHERE opponent = "tony mendoza" |
###context:CREATE TABLE table_name_23 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
###human: What is the average lap time for retired time of +23.707 and a Grid greater than 21?
###assistant: SELECT AVG(laps) FROM table_name_23 WHERE time_retired = "+23.707" AND grid > 21 |
###context:CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)
###human: Which home team plays at victoria park?
###assistant: SELECT home_team FROM table_name_40 WHERE venue = "victoria park" |
###context:CREATE TABLE table_name_16 (avg INTEGER, yards VARCHAR, rec VARCHAR)
###human: Tell me the lowest avg for 6 yards and rec more than 1
###assistant: SELECT MIN(avg) FROM table_name_16 WHERE yards = 6 AND rec > 1 |
###context:CREATE TABLE table_name_25 (long INTEGER, yards VARCHAR, avg VARCHAR, rec VARCHAR)
###human: Name the sum of long for avg more than 9.8 with rec less than 5 and yards less than 20
###assistant: SELECT SUM(long) FROM table_name_25 WHERE avg > 9.8 AND rec < 5 AND yards < 20 |
###context:CREATE TABLE table_name_24 (long INTEGER, avg VARCHAR, rec VARCHAR)
###human: Name the sum of long for avg less than 6 and rec less than 2
###assistant: SELECT SUM(long) FROM table_name_24 WHERE avg < 6 AND rec < 2 |
###context:CREATE TABLE table_name_63 (decile INTEGER, roll VARCHAR)
###human: Name the lelast decile for roll of 428
###assistant: SELECT MIN(decile) FROM table_name_63 WHERE roll = 428 |
###context:CREATE TABLE table_name_94 (decile INTEGER, roll VARCHAR)
###human: Name the most decile for roll of 428
###assistant: SELECT MAX(decile) FROM table_name_94 WHERE roll = 428 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.