training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_75 (time_retired VARCHAR, qual VARCHAR)
###human: Which time/retired has a qual of 144.02?
###assistant: SELECT time_retired FROM table_name_75 WHERE qual = 144.02 |
###context:CREATE TABLE table_name_63 (rounds VARCHAR, driver VARCHAR, engine VARCHAR)
###human: Which rounds did Vic Elford with a Ford cosworth dfv 3.0 v8 engine have?
###assistant: SELECT rounds FROM table_name_63 WHERE driver = "vic elford" AND engine = "ford cosworth dfv 3.0 v8" |
###context:CREATE TABLE table_name_93 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR)
###human: What is the chassis for Bruce Mclaren with all rounds and a g tyre?
###assistant: SELECT chassis FROM table_name_93 WHERE rounds = "all" AND tyre = "g" AND driver = "bruce mclaren" |
###context:CREATE TABLE table_name_59 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR)
###human: What is the NHL team that has a team (League) of Mississauga Icedogs (ohl)?
###assistant: SELECT nhl_team FROM table_name_59 WHERE college_junior_club_team__league_ = "mississauga icedogs (ohl)" |
###context:CREATE TABLE table_name_97 (crowd VARCHAR, home_team VARCHAR)
###human: Im the match where the home team is Melbourne Victory, what was the crowd attendance?
###assistant: SELECT COUNT(crowd) FROM table_name_97 WHERE home_team = "melbourne victory" |
###context:CREATE TABLE table_name_31 (score VARCHAR, round VARCHAR)
###human: What was the score of the match that took place in the playoff round?
###assistant: SELECT score FROM table_name_31 WHERE round = "playoff" |
###context:CREATE TABLE table_name_79 (crowd VARCHAR, away_team VARCHAR)
###human: In the match where newcastle jets was the away team, what was the crown attendance?
###assistant: SELECT crowd FROM table_name_79 WHERE away_team = "newcastle jets" |
###context:CREATE TABLE table_name_97 (opponent VARCHAR, date VARCHAR)
###human: What team was the opponent on 1990-10-21?
###assistant: SELECT opponent FROM table_name_97 WHERE date = "1990-10-21" |
###context:CREATE TABLE table_name_42 (competition VARCHAR, year INTEGER)
###human: What was the competition earlier than 1987?
###assistant: SELECT competition FROM table_name_42 WHERE year < 1987 |
###context:CREATE TABLE table_name_16 (event VARCHAR, placed VARCHAR, year VARCHAR)
###human: What event placed bronze earlier than 1987?
###assistant: SELECT event FROM table_name_16 WHERE placed = "bronze" AND year < 1987 |
###context:CREATE TABLE table_name_20 (score VARCHAR, date VARCHAR)
###human: What was the score for the match on November 13, 2005?
###assistant: SELECT score FROM table_name_20 WHERE date = "november 13, 2005" |
###context:CREATE TABLE table_name_70 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
###human: What tournament took place on July 17, 2005, with a clay surface?
###assistant: SELECT tournament FROM table_name_70 WHERE surface = "clay" AND date = "july 17, 2005" |
###context:CREATE TABLE table_name_8 (grid INTEGER, laps INTEGER)
###human: What is the highest Grid with over 72 laps?
###assistant: SELECT MAX(grid) FROM table_name_8 WHERE laps > 72 |
###context:CREATE TABLE table_name_78 (laps INTEGER, time_retired VARCHAR)
###human: What is the average number of laps associated with a Time/Retired of +1:14.801?
###assistant: SELECT AVG(laps) FROM table_name_78 WHERE time_retired = "+1:14.801" |
###context:CREATE TABLE table_name_64 (date VARCHAR, circuit VARCHAR)
###human: What date is the circuit at wanneroo park?
###assistant: SELECT date FROM table_name_64 WHERE circuit = "wanneroo park" |
###context:CREATE TABLE table_name_5 (team VARCHAR, race_title VARCHAR)
###human: What team has a title of calder?
###assistant: SELECT team FROM table_name_5 WHERE race_title = "calder" |
###context:CREATE TABLE table_name_39 (laps VARCHAR, time_retired VARCHAR)
###human: Tell me the Laps for time/retired of +1:08.491
###assistant: SELECT laps FROM table_name_39 WHERE time_retired = "+1:08.491" |
###context:CREATE TABLE table_name_56 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
###human: Tell me the highest laps for toyota and grid of 13
###assistant: SELECT MAX(laps) FROM table_name_56 WHERE constructor = "toyota" AND grid = 13 |
###context:CREATE TABLE table_name_48 (driver VARCHAR, laps VARCHAR)
###human: I want the Driver with Laps of 20
###assistant: SELECT driver FROM table_name_48 WHERE laps = 20 |
###context:CREATE TABLE table_name_84 (grid INTEGER, driver VARCHAR)
###human: Tell me the sum of Grid for giancarlo fisichella
###assistant: SELECT SUM(grid) FROM table_name_84 WHERE driver = "giancarlo fisichella" |
###context:CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR)
###human: What date was the venue at VFL park?
###assistant: SELECT date FROM table_name_97 WHERE venue = "vfl park" |
###context:CREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR)
###human: What was the crowd attendance when the home team was Melbourne?
###assistant: SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne" |
###context:CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)
###human: What was the away team when the venue was Lake Oval?
###assistant: SELECT away_team FROM table_name_30 WHERE venue = "lake oval" |
###context:CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)
###human: What was the away team when the home team was Carlton?
###assistant: SELECT away_team FROM table_name_7 WHERE home_team = "carlton" |
###context:CREATE TABLE table_name_27 (player VARCHAR, round VARCHAR, pick VARCHAR)
###human: What player is picked 302 in round 11?
###assistant: SELECT player FROM table_name_27 WHERE round = 11 AND pick = 302 |
###context:CREATE TABLE table_name_41 (laps VARCHAR, driver VARCHAR)
###human: How many laps did Jackie Oliver do?
###assistant: SELECT laps FROM table_name_41 WHERE driver = "jackie oliver" |
###context:CREATE TABLE table_name_68 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
###human: How many laps with a grid larger than 7 did a Lotus - Ford do with a Time/Retired of + 2 laps?
###assistant: SELECT SUM(laps) FROM table_name_68 WHERE grid > 7 AND constructor = "lotus - ford" AND time_retired = "+ 2 laps" |
###context:CREATE TABLE table_name_19 (constellation VARCHAR, ngc_number INTEGER)
###human: What is the name of the constellation that has a NGC number smaller tha 5457?
###assistant: SELECT constellation FROM table_name_19 WHERE ngc_number < 5457 |
###context:CREATE TABLE table_name_67 (apparent_magnitude INTEGER, declination___j2000__ VARCHAR)
###human: What is the Apparent magnitude of a Declination (J2000) of Β°39β²45β³?
###assistant: SELECT MIN(apparent_magnitude) FROM table_name_67 WHERE declination___j2000__ = "Β°39β²45β³" |
###context:CREATE TABLE table_name_22 (supercharger_gear_ratio VARCHAR, octane_rating VARCHAR)
###human: Which supercharger gear ratio has a Octane rating of 68?
###assistant: SELECT supercharger_gear_ratio FROM table_name_22 WHERE octane_rating = "68" |
###context:CREATE TABLE table_name_56 (elite_eight VARCHAR, conference VARCHAR)
###human: What is the elite eight result for the big west?
###assistant: SELECT elite_eight FROM table_name_56 WHERE conference = "big west" |
###context:CREATE TABLE table_name_24 (votes__percentage VARCHAR, candidate VARCHAR)
###human: What is the vote % for Cliff Breitkreuz?
###assistant: SELECT votes__percentage FROM table_name_24 WHERE candidate = "cliff breitkreuz" |
###context:CREATE TABLE table_name_36 (time_retired VARCHAR, driver VARCHAR)
###human: What is the time/retired for damon hill?
###assistant: SELECT time_retired FROM table_name_36 WHERE driver = "damon hill" |
###context:CREATE TABLE table_name_4 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR)
###human: Who constructed olivier panis' car that retired after +1 lap?
###assistant: SELECT constructor FROM table_name_4 WHERE time_retired = "+1 lap" AND driver = "olivier panis" |
###context:CREATE TABLE table_name_22 (high_assists VARCHAR, high_points VARCHAR)
###human: What is the high assists of Hamilton (24)?
###assistant: SELECT high_assists FROM table_name_22 WHERE high_points = "hamilton (24)" |
###context:CREATE TABLE table_name_32 (series VARCHAR, high_points VARCHAR)
###human: What series had a high points of Prince (23)?
###assistant: SELECT series FROM table_name_32 WHERE high_points = "prince (23)" |
###context:CREATE TABLE table_name_18 (category VARCHAR, awards VARCHAR, result VARCHAR)
###human: What category of the British Soap Awards resulted in nominated?
###assistant: SELECT category FROM table_name_18 WHERE awards = "british soap awards" AND result = "nominated" |
###context:CREATE TABLE table_name_38 (category VARCHAR, awards VARCHAR, year VARCHAR, result VARCHAR)
###human: What category was nominated in 2010 fo the British Soap Awards?
###assistant: SELECT category FROM table_name_38 WHERE year = 2010 AND result = "nominated" AND awards = "british soap awards" |
###context:CREATE TABLE table_name_14 (country VARCHAR, name VARCHAR)
###human: Which country is Dyer from?
###assistant: SELECT country FROM table_name_14 WHERE name = "dyer" |
###context:CREATE TABLE table_name_32 (country VARCHAR, moving_from VARCHAR)
###human: What country is the athlete moving from Everton from?
###assistant: SELECT country FROM table_name_32 WHERE moving_from = "everton" |
###context:CREATE TABLE table_name_32 (tournament VARCHAR)
###human: Name the tournament for 2009 2r
###assistant: SELECT tournament FROM table_name_32 WHERE 2009 = "2r" |
###context:CREATE TABLE table_name_7 (tournament VARCHAR)
###human: Name the 2011 for 2009 being 2r at wimbledon
###assistant: SELECT 2011 FROM table_name_7 WHERE 2009 = "2r" AND tournament = "wimbledon" |
###context:CREATE TABLE table_name_19 (Id VARCHAR)
###human: Name the 2012 for 2009 of 1r
###assistant: SELECT 2012 FROM table_name_19 WHERE 2009 = "1r" |
###context:CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)
###human: Who was the away team when the home team was South Melbourne?
###assistant: SELECT away_team FROM table_name_7 WHERE home_team = "south melbourne" |
###context:CREATE TABLE table_name_35 (swimsuit VARCHAR, interview VARCHAR, evening_gown VARCHAR, country VARCHAR)
###human: What is the total swimsuit number with gowns larger than 9.48 with interviews larger than 8.94 in florida?
###assistant: SELECT COUNT(swimsuit) FROM table_name_35 WHERE evening_gown > 9.48 AND country = "florida" AND interview > 8.94 |
###context:CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)
###human: What is the total average for swimsuits smaller than 9.62 in Colorado?
###assistant: SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado" |
###context:CREATE TABLE table_name_86 (bronze INTEGER, total VARCHAR)
###human: What was the bronze medal count of the team that finished with 47 total medals?
###assistant: SELECT AVG(bronze) FROM table_name_86 WHERE total = 47 |
###context:CREATE TABLE table_name_41 (silver INTEGER, bronze VARCHAR)
###human: What is the silver medal count of the team that finished with 8 bronze medals?
###assistant: SELECT SUM(silver) FROM table_name_41 WHERE bronze = 8 |
###context:CREATE TABLE table_name_10 (status VARCHAR, athlete VARCHAR)
###human: What is the status of renΓ© hoppe?
###assistant: SELECT status FROM table_name_10 WHERE athlete = "renΓ© hoppe" |
###context:CREATE TABLE table_name_17 (total VARCHAR, silver VARCHAR, country VARCHAR, gold VARCHAR)
###human: How many times does Switzerland have under 7 golds and less than 3 silvers?
###assistant: SELECT COUNT(total) FROM table_name_17 WHERE country = "switzerland" AND gold < 7 AND silver < 3 |
###context:CREATE TABLE table_name_87 (athlete VARCHAR, gold VARCHAR, total VARCHAR)
###human: What athlete has less than 7 gold and 14 total medals?
###assistant: SELECT athlete FROM table_name_87 WHERE gold < 7 AND total = 14 |
###context:CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR)
###human: What is the average crowd size for the home team hawthorn?
###assistant: SELECT AVG(crowd) FROM table_name_13 WHERE home_team = "hawthorn" |
###context:CREATE TABLE table_name_48 (venue VARCHAR, home_team VARCHAR)
###human: Where does St Kilda play?
###assistant: SELECT venue FROM table_name_48 WHERE home_team = "st kilda" |
###context:CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR)
###human: Who was the home team when Fitzroy was the away team?
###assistant: SELECT home_team FROM table_name_76 WHERE away_team = "fitzroy" |
###context:CREATE TABLE table_name_43 (home_team VARCHAR, venue VARCHAR)
###human: What was the home team score at Kardinia Park?
###assistant: SELECT home_team AS score FROM table_name_43 WHERE venue = "kardinia park" |
###context:CREATE TABLE table_name_2 (crowd INTEGER, home_team VARCHAR)
###human: What was the lowest crowd size for the Carlton at home?
###assistant: SELECT MIN(crowd) FROM table_name_2 WHERE home_team = "carlton" |
###context:CREATE TABLE table_name_57 (engine VARCHAR, rounds VARCHAR, driver VARCHAR)
###human: Name the engine with rounds of 7 with geki driver
###assistant: SELECT engine FROM table_name_57 WHERE rounds = "7" AND driver = "geki" |
###context:CREATE TABLE table_name_24 (driver VARCHAR, rounds VARCHAR)
###human: Name the driver for 3 rounds
###assistant: SELECT driver FROM table_name_24 WHERE rounds = "3" |
###context:CREATE TABLE table_name_6 (crowd VARCHAR, home_team VARCHAR)
###human: What was the attendance of the North Melbourne's home game?
###assistant: SELECT COUNT(crowd) FROM table_name_6 WHERE home_team = "north melbourne" |
###context:CREATE TABLE table_name_36 (crowd INTEGER, home_team VARCHAR)
###human: What was the attendance at the Fitzroy home game?
###assistant: SELECT SUM(crowd) FROM table_name_36 WHERE home_team = "fitzroy" |
###context:CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR)
###human: What was Richmond's highest attendance?
###assistant: SELECT MAX(crowd) FROM table_name_46 WHERE home_team = "richmond" |
###context:CREATE TABLE table_name_49 (ground VARCHAR, match VARCHAR)
###human: Which ground is match 4 held on?
###assistant: SELECT ground FROM table_name_49 WHERE match = 4 |
###context:CREATE TABLE table_name_15 (game VARCHAR, team VARCHAR)
###human: Which game number did they play the Chicago team?
###assistant: SELECT game FROM table_name_15 WHERE team = "chicago" |
###context:CREATE TABLE table_name_26 (record VARCHAR, location_attendance VARCHAR)
###human: What was the season record when the location attendance was Air Canada Centre 19,800?
###assistant: SELECT record FROM table_name_26 WHERE location_attendance = "air canada centre 19,800" |
###context:CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)
###human: Name the visitor for home of ny rangers
###assistant: SELECT visitor FROM table_name_29 WHERE home = "ny rangers" |
###context:CREATE TABLE table_name_25 (label VARCHAR, media VARCHAR, release_date VARCHAR)
###human: What is the label for a CD released in 2004?
###assistant: SELECT label FROM table_name_25 WHERE media = "cd" AND release_date = 2004 |
###context:CREATE TABLE table_name_89 (label VARCHAR, release_date VARCHAR, country VARCHAR)
###human: Who made a release in the US in 1982?
###assistant: SELECT label FROM table_name_89 WHERE release_date = 1982 AND country = "us" |
###context:CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR)
###human: In the match where the venue was arden street oval, what was the crowd attendance?
###assistant: SELECT SUM(crowd) FROM table_name_88 WHERE venue = "arden street oval" |
###context:CREATE TABLE table_name_58 (crowd INTEGER, venue VARCHAR)
###human: What was the crowd attendance in the match at punt road oval?
###assistant: SELECT SUM(crowd) FROM table_name_58 WHERE venue = "punt road oval" |
###context:CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER)
###human: What was the score when the home team had a crowd larger than 21,188?
###assistant: SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188 |
###context:CREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR)
###human: Where did north melbourne play while away?
###assistant: SELECT venue FROM table_name_23 WHERE away_team = "north melbourne" |
###context:CREATE TABLE table_name_10 (home_team VARCHAR, away_team VARCHAR)
###human: What did the team score at home in north melbourne?
###assistant: SELECT home_team AS score FROM table_name_10 WHERE away_team = "north melbourne" |
###context:CREATE TABLE table_name_54 (time_retired VARCHAR, grid INTEGER)
###human: What was the time of the driver in grid 2?
###assistant: SELECT time_retired FROM table_name_54 WHERE grid < 2 |
###context:CREATE TABLE table_name_51 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
###human: What time did Carroll Shelby have in Grid 14?
###assistant: SELECT time_retired FROM table_name_51 WHERE grid < 14 AND driver = "carroll shelby" |
###context:CREATE TABLE table_name_85 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR)
###human: What time did the ferrari car that finished 62 laps have?
###assistant: SELECT time_retired FROM table_name_85 WHERE laps < 62 AND constructor = "ferrari" |
###context:CREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR)
###human: What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance?
###assistant: SELECT date FROM table_name_11 WHERE visitor = "knicks" AND attendance > 18 OFFSET 165 |
###context:CREATE TABLE table_name_79 (laps INTEGER, driver VARCHAR, grid VARCHAR)
###human: Whats teo fabi average lap time while having less than 9 grids?
###assistant: SELECT AVG(laps) FROM table_name_79 WHERE driver = "teo fabi" AND grid < 9 |
###context:CREATE TABLE table_name_12 (driver VARCHAR, grid VARCHAR)
###human: Which driver drove in grid 19?
###assistant: SELECT driver FROM table_name_12 WHERE grid = 19 |
###context:CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)
###human: Who was the opponent on April 29?
###assistant: SELECT opponent FROM table_name_5 WHERE date = "april 29" |
###context:CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
###human: How many attended the game on April 17?
###assistant: SELECT SUM(attendance) FROM table_name_50 WHERE date = "april 17" |
###context:CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR)
###human: What is the record on April 3?
###assistant: SELECT record FROM table_name_86 WHERE date = "april 3" |
###context:CREATE TABLE table_name_33 (weight VARCHAR, internal_storage VARCHAR, wireless_network VARCHAR)
###human: What is the weight of the display that has an internal storage of 16-64 GB and uses a wi-fi, 3G wireless network?
###assistant: SELECT weight FROM table_name_33 WHERE internal_storage = "16-64 gb" AND wireless_network = "wi-fi, 3g" |
###context:CREATE TABLE table_name_6 (wireless_network VARCHAR, screen_type VARCHAR, internal_storage VARCHAR)
###human: Which wireless network did LCD displays with 4 GB of internal storage use?
###assistant: SELECT wireless_network FROM table_name_6 WHERE screen_type = "lcd" AND internal_storage = "4 gb" |
###context:CREATE TABLE table_name_98 (draws INTEGER, wins VARCHAR, against VARCHAR)
###human: What's the lowest number of draws when the wins are less than 15, and against is 1228?
###assistant: SELECT MIN(draws) FROM table_name_98 WHERE wins < 15 AND against = 1228 |
###context:CREATE TABLE table_name_72 (draws INTEGER, against VARCHAR, wins VARCHAR)
###human: What's the sum of draws for against larger than 1228 with fewer than 1 wins?
###assistant: SELECT SUM(draws) FROM table_name_72 WHERE against > 1228 AND wins < 1 |
###context:CREATE TABLE table_name_27 (dates VARCHAR, lifetime_achievement VARCHAR)
###human: On what dates did Jim Jarmusch win the Lifetime Achievement?
###assistant: SELECT dates FROM table_name_27 WHERE lifetime_achievement = "jim jarmusch" |
###context:CREATE TABLE table_name_45 (home VARCHAR, visitor VARCHAR, record VARCHAR)
###human: Which team was the home team when Colorado was the visitor and the record became 26β15β9?
###assistant: SELECT home FROM table_name_45 WHERE visitor = "colorado" AND record = "26β15β9" |
###context:CREATE TABLE table_name_78 (score VARCHAR, record VARCHAR)
###human: What was the score when the record became 25β14β9?
###assistant: SELECT score FROM table_name_78 WHERE record = "25β14β9" |
###context:CREATE TABLE table_name_35 (date VARCHAR, record VARCHAR)
###human: What was the date the record became 26β14β9?
###assistant: SELECT date FROM table_name_35 WHERE record = "26β14β9" |
###context:CREATE TABLE table_name_88 (home VARCHAR, visitor VARCHAR, record VARCHAR)
###human: What team was the home team when Colorado was the visitor and the record became 22β13β6?
###assistant: SELECT home FROM table_name_88 WHERE visitor = "colorado" AND record = "22β13β6" |
###context:CREATE TABLE table_name_55 (venue VARCHAR, tournament VARCHAR)
###human: What's the venue for the asian games tournament?
###assistant: SELECT venue FROM table_name_55 WHERE tournament = "asian games" |
###context:CREATE TABLE table_name_48 (tournament VARCHAR, result VARCHAR)
###human: Which tournament resulted in 6th place?
###assistant: SELECT tournament FROM table_name_48 WHERE result = "6th" |
###context:CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)
###human: What's the latest year that Doha, Qatar hosted a tournament?
###assistant: SELECT MAX(year) FROM table_name_19 WHERE venue = "doha, qatar" |
###context:CREATE TABLE table_name_81 (year INTEGER, venue VARCHAR)
###human: What's the average of all years tournaments were hosted in Doha, Qatar?
###assistant: SELECT AVG(year) FROM table_name_81 WHERE venue = "doha, qatar" |
###context:CREATE TABLE table_name_68 (overall INTEGER, college VARCHAR, position VARCHAR, round VARCHAR)
###human: What is the overall draft number for the running back drafted after round 1 from fresno state?
###assistant: SELECT SUM(overall) FROM table_name_68 WHERE position = "running back" AND round > 1 AND college = "fresno state" |
###context:CREATE TABLE table_name_25 (overall INTEGER, college VARCHAR)
###human: What is the overall total for players drafted from notre dame?
###assistant: SELECT SUM(overall) FROM table_name_25 WHERE college = "notre dame" |
###context:CREATE TABLE table_name_23 (gold INTEGER, silver INTEGER)
###human: Name the sum of gold which has a silver more than 1
###assistant: SELECT SUM(gold) FROM table_name_23 WHERE silver > 1 |
###context:CREATE TABLE table_name_15 (rank INTEGER, nation VARCHAR, gold VARCHAR)
###human: Name the average rank for west germany when gold is more than 1
###assistant: SELECT AVG(rank) FROM table_name_15 WHERE nation = "west germany" AND gold > 1 |
###context:CREATE TABLE table_name_86 (rank INTEGER, bronze INTEGER)
###human: Name the average rank for when bronze is more than 1
###assistant: SELECT AVG(rank) FROM table_name_86 WHERE bronze > 1 |
###context:CREATE TABLE table_name_87 (gold INTEGER, silver INTEGER)
###human: I want the sum of gold for silver being less than 0
###assistant: SELECT SUM(gold) FROM table_name_87 WHERE silver < 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.