training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_45 (album VARCHAR, year INTEGER)
###human: Name the album for years after 2007
###assistant: SELECT album FROM table_name_45 WHERE year > 2007 |
###context:CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
###human: What was the score on october 17, 2007?
###assistant: SELECT score FROM table_name_33 WHERE date = "october 17, 2007" |
###context:CREATE TABLE table_name_71 (competition VARCHAR, score VARCHAR)
###human: What was the competition for score of 3-0
###assistant: SELECT competition FROM table_name_71 WHERE score = "3-0" |
###context:CREATE TABLE table_name_93 (date VARCHAR, turkey_scorers VARCHAR)
###human: I want the date for nihat kahveci
###assistant: SELECT date FROM table_name_93 WHERE turkey_scorers = "nihat kahveci" |
###context:CREATE TABLE table_name_8 (pick__number INTEGER, reg_gp INTEGER)
###human: What is the smallest pick with a Reg GP less than 0?
###assistant: SELECT MIN(pick__number) FROM table_name_8 WHERE reg_gp < 0 |
###context:CREATE TABLE table_name_80 (pick__number VARCHAR, reg_gp INTEGER)
###human: What is the total of pick numbers with a Reg GP larger than 0?
###assistant: SELECT COUNT(pick__number) FROM table_name_80 WHERE reg_gp > 0 |
###context:CREATE TABLE table_name_85 (points INTEGER, faults VARCHAR, rider VARCHAR)
###human: What is the total points when there is a refusal fault and the rider is H.R.H. Prince Abdullah Al-Soud?
###assistant: SELECT SUM(points) FROM table_name_85 WHERE faults = "refusal" AND rider = "h.r.h. prince abdullah al-soud" |
###context:CREATE TABLE table_name_96 (points VARCHAR, horse VARCHAR)
###human: What is the total points when the horse is Chippison?
###assistant: SELECT COUNT(points) FROM table_name_96 WHERE horse = "chippison" |
###context:CREATE TABLE table_name_53 (total_time___s__ VARCHAR, horse VARCHAR)
###human: What is the total time (s) for the horse Pinot Grigio?
###assistant: SELECT total_time___s__ FROM table_name_53 WHERE horse = "pinot grigio" |
###context:CREATE TABLE table_name_93 (points INTEGER, time___s__ VARCHAR)
###human: What is the average amount of points when the time (s) is 81.78?
###assistant: SELECT AVG(points) FROM table_name_93 WHERE time___s__ = "81.78" |
###context:CREATE TABLE table_name_59 (position VARCHAR, school VARCHAR)
###human: What is the position of the player from Glades Day School?
###assistant: SELECT position FROM table_name_59 WHERE school = "glades day school" |
###context:CREATE TABLE table_name_78 (position VARCHAR, college VARCHAR)
###human: What is the position of the player who went to college of notre dame?
###assistant: SELECT position FROM table_name_78 WHERE college = "notre dame" |
###context:CREATE TABLE table_name_2 (school VARCHAR, college VARCHAR, hometown VARCHAR)
###human: What is the school of the player who went to the college of michigan and originally comes from Wheaton, Illinois?
###assistant: SELECT school FROM table_name_2 WHERE college = "michigan" AND hometown = "wheaton, illinois" |
###context:CREATE TABLE table_name_12 (chassis VARCHAR, driver VARCHAR)
###human: What Chassis was driven by Otto Stuppacher?
###assistant: SELECT chassis FROM table_name_12 WHERE driver = "otto stuppacher" |
###context:CREATE TABLE table_name_1 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
###human: Who drove the car with the n175 chassis in round 13?
###assistant: SELECT driver FROM table_name_1 WHERE chassis = "n175" AND rounds = "13" |
###context:CREATE TABLE table_name_4 (chassis VARCHAR, driver VARCHAR)
###human: What chassis did John Watson drive?
###assistant: SELECT chassis FROM table_name_4 WHERE driver = "john watson" |
###context:CREATE TABLE table_name_53 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, declination___j2000__ VARCHAR)
###human: what is the right ascension (j2000) when the constellation is sextans and the declination (j2000) is °28′01″?
###assistant: SELECT right_ascension___j2000__ FROM table_name_53 WHERE constellation = "sextans" AND declination___j2000__ = "°28′01″" |
###context:CREATE TABLE table_name_10 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
###human: what is the constellation when the Right ascension ( J2000 ) is 10h18m58.4s?
###assistant: SELECT constellation FROM table_name_10 WHERE right_ascension___j2000__ = "10h18m58.4s" |
###context:CREATE TABLE table_name_51 (ngc_number INTEGER, declination___j2000__ VARCHAR)
###human: what is the highest ngc number when the declination (j2000) is °25′26″?
###assistant: SELECT MAX(ngc_number) FROM table_name_51 WHERE declination___j2000__ = "°25′26″" |
###context:CREATE TABLE table_name_85 (home_team VARCHAR)
###human: What is the score for Collingwood as the home team?
###assistant: SELECT home_team AS score FROM table_name_85 WHERE home_team = "collingwood" |
###context:CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR)
###human: What did the home team score at Princes Park?
###assistant: SELECT home_team AS score FROM table_name_15 WHERE venue = "princes park" |
###context:CREATE TABLE table_name_68 (population INTEGER, simplified VARCHAR, area VARCHAR)
###human: What's the sum of the population for the place simplified 上杭县 with an area smaller than 2,879?
###assistant: SELECT SUM(population) FROM table_name_68 WHERE simplified = "上杭县" AND area < 2 OFFSET 879 |
###context:CREATE TABLE table_name_57 (density VARCHAR, population INTEGER)
###human: What's the total number of density for the place with a population over 393,390?
###assistant: SELECT COUNT(density) FROM table_name_57 WHERE population > 393 OFFSET 390 |
###context:CREATE TABLE table_name_20 (area INTEGER, english_name VARCHAR)
###human: What's the average area for the xinluo district?
###assistant: SELECT AVG(area) FROM table_name_20 WHERE english_name = "xinluo district" |
###context:CREATE TABLE table_name_77 (attendance INTEGER, date VARCHAR)
###human: What was the attendance on July 30?
###assistant: SELECT AVG(attendance) FROM table_name_77 WHERE date = "july 30" |
###context:CREATE TABLE table_name_26 (goals INTEGER, result VARCHAR)
###human: How many Goals have a Result of 0 – 4?
###assistant: SELECT AVG(goals) FROM table_name_26 WHERE result = "0 – 4" |
###context:CREATE TABLE table_name_33 (goals VARCHAR, result VARCHAR)
###human: How many goals have a Result of 12 – 0?
###assistant: SELECT goals FROM table_name_33 WHERE result = "12 – 0" |
###context:CREATE TABLE table_name_77 (result VARCHAR, date VARCHAR)
###human: Which Result has a Date of 9 october 2009?
###assistant: SELECT result FROM table_name_77 WHERE date = "9 october 2009" |
###context:CREATE TABLE table_name_45 (goals INTEGER, date VARCHAR)
###human: Which Goals have a Date of 7 february 2010?
###assistant: SELECT MAX(goals) FROM table_name_45 WHERE date = "7 february 2010" |
###context:CREATE TABLE table_name_89 (year INTEGER, chassis VARCHAR)
###human: What was the first year to have a Chassis of Jordan 193?
###assistant: SELECT MIN(year) FROM table_name_89 WHERE chassis = "jordan 193" |
###context:CREATE TABLE table_name_28 (school VARCHAR, mascot VARCHAR)
###human: Which School's Mascot is Raiders?
###assistant: SELECT school FROM table_name_28 WHERE mascot = "raiders" |
###context:CREATE TABLE table_name_51 (mascot VARCHAR, school VARCHAR)
###human: What is North Valleys School Mascot?
###assistant: SELECT mascot FROM table_name_51 WHERE school = "north valleys" |
###context:CREATE TABLE table_name_66 (enrollment INTEGER, mascot VARCHAR)
###human: What is the Enrollment where Cougars is a Mascot?
###assistant: SELECT SUM(enrollment) FROM table_name_66 WHERE mascot = "cougars" |
###context:CREATE TABLE table_name_87 (league VARCHAR, school VARCHAR)
###human: In what League is the Reed School?
###assistant: SELECT league FROM table_name_87 WHERE school = "reed" |
###context:CREATE TABLE table_name_23 (mascot VARCHAR, enrollment INTEGER)
###human: What Mascot has an Enrollment greater than 2,464?
###assistant: SELECT mascot FROM table_name_23 WHERE enrollment > 2 OFFSET 464 |
###context:CREATE TABLE table_name_60 (runner_up VARCHAR, third_place VARCHAR)
###human: Who was the runner-up in the tournament in which Omar Camporese held third place?
###assistant: SELECT runner_up FROM table_name_60 WHERE third_place = "omar camporese" |
###context:CREATE TABLE table_name_86 (runner_up VARCHAR, tournament VARCHAR)
###human: Who was the runner-up in the tournament in London?
###assistant: SELECT runner_up FROM table_name_86 WHERE tournament = "london" |
###context:CREATE TABLE table_name_32 (score VARCHAR, third_place VARCHAR)
###human: What was the score in the tournament in which Michael Stich took third place?
###assistant: SELECT score FROM table_name_32 WHERE third_place = "michael stich" |
###context:CREATE TABLE table_name_16 (third_place VARCHAR, score VARCHAR)
###human: Who holds third place in the tournament with a score of 2–6, 7–6(3), [10–5]?
###assistant: SELECT third_place FROM table_name_16 WHERE score = "2–6, 7–6(3), [10–5]" |
###context:CREATE TABLE table_name_32 (goals_for INTEGER, goals_against VARCHAR, ties VARCHAR)
###human: what is the least number of goals for when the goals against is 70 and the ties less than 0?
###assistant: SELECT MIN(goals_for) FROM table_name_32 WHERE goals_against = 70 AND ties < 0 |
###context:CREATE TABLE table_name_10 (losses INTEGER, wins VARCHAR, ties VARCHAR)
###human: what is the average losses when the wins is 9 and ties more than 0?
###assistant: SELECT AVG(losses) FROM table_name_10 WHERE wins = 9 AND ties > 0 |
###context:CREATE TABLE table_name_10 (ties INTEGER, losses VARCHAR, games_played VARCHAR)
###human: what is the lowest number of ties when the losses is 7 and games played is less than 10?
###assistant: SELECT MIN(ties) FROM table_name_10 WHERE losses = 7 AND games_played < 10 |
###context:CREATE TABLE table_name_31 (games_played INTEGER, goals_for VARCHAR, losses VARCHAR, wins VARCHAR)
###human: what is the sum of games played when the losses is less than 7, the wins is 6 and the goals for is more than 76?
###assistant: SELECT SUM(games_played) FROM table_name_31 WHERE losses < 7 AND wins = 6 AND goals_for > 76 |
###context:CREATE TABLE table_name_8 (games_played VARCHAR, goals_for INTEGER)
###human: what is the total number of games played when the goals for is less than 30?
###assistant: SELECT COUNT(games_played) FROM table_name_8 WHERE goals_for < 30 |
###context:CREATE TABLE table_name_53 (wins INTEGER, team VARCHAR, games_played VARCHAR)
###human: what is the sum of wins for the ottawa hockey club when the games played is less than 10?
###assistant: SELECT SUM(wins) FROM table_name_53 WHERE team = "ottawa hockey club" AND games_played < 10 |
###context:CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR)
###human: How many people attended the game on February 3, 2008?
###assistant: SELECT SUM(attendance) FROM table_name_34 WHERE date = "february 3, 2008" |
###context:CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR)
###human: What is the name of the home team that played against Collingwood?
###assistant: SELECT home_team FROM table_name_17 WHERE away_team = "collingwood" |
###context:CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)
###human: Which Away team played at the Windy Hill Venue?
###assistant: SELECT away_team FROM table_name_50 WHERE venue = "windy hill" |
###context:CREATE TABLE table_name_9 (crowd VARCHAR, venue VARCHAR)
###human: How large of a crowd can the Glenferrie oval hold?
###assistant: SELECT crowd FROM table_name_9 WHERE venue = "glenferrie oval" |
###context:CREATE TABLE table_name_48 (crowd VARCHAR, venue VARCHAR)
###human: How large of a crowd can the Brunswick Street Oval hold?
###assistant: SELECT COUNT(crowd) FROM table_name_48 WHERE venue = "brunswick street oval" |
###context:CREATE TABLE table_name_67 (league INTEGER, total INTEGER)
###human: What is the lowest number of goals scored by a player in the normal league games where more than 8 total goals were scored?
###assistant: SELECT MIN(league) FROM table_name_67 WHERE total > 8 |
###context:CREATE TABLE table_name_72 (fa_cup INTEGER, name VARCHAR, total VARCHAR)
###human: What is the average number of goals scored in the FA Cup by Whelan where he had more than 7 total goals?
###assistant: SELECT AVG(fa_cup) FROM table_name_72 WHERE name = "whelan" AND total > 7 |
###context:CREATE TABLE table_name_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR)
###human: What is the Uyghur Latin with a population of 69,361?
###assistant: SELECT uyghur_latin___uly__ FROM table_name_14 WHERE population__2010_census_ = "69,361" |
###context:CREATE TABLE table_name_94 (hanyu_pinyin VARCHAR, area__km²_ VARCHAR)
###human: What is the Hanyu Pinyin with an area of 400?
###assistant: SELECT hanyu_pinyin FROM table_name_94 WHERE area__km²_ = "400" |
###context:CREATE TABLE table_name_32 (hanyu_pinyin VARCHAR, density___km²_ VARCHAR)
###human: What is the Hanyu Pinyin with a density of 39.63?
###assistant: SELECT hanyu_pinyin FROM table_name_32 WHERE density___km²_ = "39.63" |
###context:CREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR, leading_scorer VARCHAR)
###human: How many people were in attendance when the visiting team was the Nuggets and the leading scorer was J.R. Smith (28)?
###assistant: SELECT SUM(attendance) FROM table_name_71 WHERE visitor = "nuggets" AND leading_scorer = "j.r. smith (28)" |
###context:CREATE TABLE table_name_78 (leading_scorer VARCHAR, date VARCHAR)
###human: Who was the leading scorer on 23 February 2008?
###assistant: SELECT leading_scorer FROM table_name_78 WHERE date = "23 february 2008" |
###context:CREATE TABLE table_name_95 (nominated_for VARCHAR, category VARCHAR, year VARCHAR, award VARCHAR)
###human: Name what was nominated in years before 2002 for most popular comedy performer at the national television awards
###assistant: SELECT nominated_for FROM table_name_95 WHERE year < 2002 AND award = "national television awards" AND category = "most popular comedy performer" |
###context:CREATE TABLE table_name_83 (result VARCHAR, award VARCHAR)
###human: Name the result for the bafta tv awards
###assistant: SELECT result FROM table_name_83 WHERE award = "bafta tv awards" |
###context:CREATE TABLE table_name_26 (category VARCHAR, result VARCHAR, award VARCHAR)
###human: Name the category for nominated at the british comedy awards
###assistant: SELECT category FROM table_name_26 WHERE result = "nominated" AND award = "british comedy awards" |
###context:CREATE TABLE table_name_57 (year INTEGER, category VARCHAR, nominated_for VARCHAR)
###human: Name the year that Birds of a feather category for most popular actress was nominated
###assistant: SELECT AVG(year) FROM table_name_57 WHERE category = "most popular actress" AND nominated_for = "birds of a feather" |
###context:CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR)
###human: What dates did Ferrari win races?
###assistant: SELECT date FROM table_name_40 WHERE constructor = "ferrari" |
###context:CREATE TABLE table_name_55 (original_air_date VARCHAR, production_code VARCHAR)
###human: What was the original air date of the episode with production code 2395120?
###assistant: SELECT original_air_date FROM table_name_55 WHERE production_code = "2395120" |
###context:CREATE TABLE table_name_85 (pts INTEGER, year VARCHAR, engine VARCHAR, chassis VARCHAR)
###human: How many points for the ferrari v12 engine and ferrari 1512 chassis, after 1965?
###assistant: SELECT MAX(pts) FROM table_name_85 WHERE engine = "ferrari v12" AND chassis = "ferrari 1512" AND year > 1965 |
###context:CREATE TABLE table_name_58 (date VARCHAR, crowd INTEGER)
###human: What was the date when the crowd was larger than 30,495?
###assistant: SELECT date FROM table_name_58 WHERE crowd > 30 OFFSET 495 |
###context:CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)
###human: What was the home team when Carlton was the away team?
###assistant: SELECT home_team FROM table_name_59 WHERE away_team = "carlton" |
###context:CREATE TABLE table_name_70 (away_team VARCHAR, venue VARCHAR)
###human: What was the score for the away team when they played at lake oval?
###assistant: SELECT away_team AS score FROM table_name_70 WHERE venue = "lake oval" |
###context:CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR)
###human: What was the score of the away team when hawthorn was the home team?
###assistant: SELECT away_team AS score FROM table_name_43 WHERE home_team = "hawthorn" |
###context:CREATE TABLE table_name_26 (gold VARCHAR, silver VARCHAR, rank VARCHAR, total VARCHAR)
###human: How many golds for nations ranked below 4, over 5 medals, and under 6 silvers?
###assistant: SELECT COUNT(gold) FROM table_name_26 WHERE rank > 4 AND total > 5 AND silver < 6 |
###context:CREATE TABLE table_name_21 (rank VARCHAR, constituency VARCHAR, result VARCHAR, winning_party_2003 VARCHAR, swing_to_gain VARCHAR)
###human: Which rank had the Labour party winning in 2003, a swing to gain that was larger than 2.13, a lab hold as a result, and which took place in the Linlithgow constituency?
###assistant: SELECT rank FROM table_name_21 WHERE winning_party_2003 = "labour" AND swing_to_gain > 2.13 AND result = "lab hold" AND constituency = "linlithgow" |
###context:CREATE TABLE table_name_26 (winning_party_2003 VARCHAR, swing_to_gain VARCHAR, result VARCHAR)
###human: Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold?
###assistant: SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = "ld hold" |
###context:CREATE TABLE table_name_72 (constituency VARCHAR, winning_party_2003 VARCHAR)
###human: Which constituency had the conservative party win in 2003?
###assistant: SELECT constituency FROM table_name_72 WHERE winning_party_2003 = "conservative" |
###context:CREATE TABLE table_name_82 (final_score VARCHAR, visiting_team VARCHAR, date VARCHAR)
###human: What is the final score when the visiting team is the Washington Redskins and the date is September 4?
###assistant: SELECT final_score FROM table_name_82 WHERE visiting_team = "washington redskins" AND date = "september 4" |
###context:CREATE TABLE table_name_12 (stadium VARCHAR, date VARCHAR)
###human: What is the stadium when the date of the game is December 14?
###assistant: SELECT stadium FROM table_name_12 WHERE date = "december 14" |
###context:CREATE TABLE table_name_6 (stadium VARCHAR, visiting_team VARCHAR)
###human: What is the name of the stadium when the visiting team is the Denver Broncos?
###assistant: SELECT stadium FROM table_name_6 WHERE visiting_team = "denver broncos" |
###context:CREATE TABLE table_name_74 (crowd INTEGER, away_team VARCHAR)
###human: What was the smallest crowd when Melbourne was the away team?
###assistant: SELECT MIN(crowd) FROM table_name_74 WHERE away_team = "melbourne" |
###context:CREATE TABLE table_name_5 (away VARCHAR, club VARCHAR)
###human: What is the Away when the Club is Neath?
###assistant: SELECT away FROM table_name_5 WHERE club = "neath" |
###context:CREATE TABLE table_name_64 (country VARCHAR, area_in_m² VARCHAR)
###human: What country has area of 7,914 m²?
###assistant: SELECT country FROM table_name_64 WHERE area_in_m² = "7,914" |
###context:CREATE TABLE table_name_23 (city VARCHAR, completion VARCHAR)
###human: What city was completed in 1910-1978?
###assistant: SELECT city FROM table_name_23 WHERE completion = "1910-1978" |
###context:CREATE TABLE table_name_17 (country VARCHAR, area_in_m² VARCHAR)
###human: What is the country with area of 3,170 in m²?
###assistant: SELECT country FROM table_name_17 WHERE area_in_m² = "3,170" |
###context:CREATE TABLE table_name_17 (time_retired VARCHAR, grid VARCHAR)
###human: I want the time/retired for grid of 17
###assistant: SELECT time_retired FROM table_name_17 WHERE grid = 17 |
###context:CREATE TABLE table_name_69 (opponent VARCHAR, field VARCHAR)
###human: Name the opponent when the field is mitchel athletic complex
###assistant: SELECT opponent FROM table_name_69 WHERE field = "mitchel athletic complex" |
###context:CREATE TABLE table_name_81 (date VARCHAR, home_away VARCHAR, opponent VARCHAR)
###human: Name the date for when the home/away is away and the opponent is bayhawks
###assistant: SELECT date FROM table_name_81 WHERE home_away = "away" AND opponent = "bayhawks" |
###context:CREATE TABLE table_name_43 (field VARCHAR, result VARCHAR)
###human: Say the field with a result of w 12-11
###assistant: SELECT field FROM table_name_43 WHERE result = "w 12-11" |
###context:CREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR)
###human: Name the opponent when the result is w 16-15 and has home/away of home
###assistant: SELECT opponent FROM table_name_37 WHERE home_away = "home" AND result = "w 16-15" |
###context:CREATE TABLE table_name_45 (opponent VARCHAR, result VARCHAR)
###human: Name the opponent when the resultwas w 12-11
###assistant: SELECT opponent FROM table_name_45 WHERE result = "w 12-11" |
###context:CREATE TABLE table_name_9 (opponent VARCHAR, home_away VARCHAR, date VARCHAR)
###human: Name the opponent which has a home/away of home and date of july 27
###assistant: SELECT opponent FROM table_name_9 WHERE home_away = "home" AND date = "july 27" |
###context:CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR)
###human: I want to know the home team for mcg venue
###assistant: SELECT home_team FROM table_name_71 WHERE venue = "mcg" |
###context:CREATE TABLE table_name_34 (moving_to VARCHAR, name VARCHAR)
###human: Where did Konchesky move to?
###assistant: SELECT moving_to FROM table_name_34 WHERE name = "konchesky" |
###context:CREATE TABLE table_name_94 (crowd INTEGER, home_team VARCHAR)
###human: Who is Essendon's home team?
###assistant: SELECT MIN(crowd) FROM table_name_94 WHERE home_team = "essendon" |
###context:CREATE TABLE table_name_5 (away_team VARCHAR)
###human: What is the away team score for North Melbourne's home team?
###assistant: SELECT away_team AS score FROM table_name_5 WHERE away_team = "north melbourne" |
###context:CREATE TABLE table_name_89 (home_team VARCHAR)
###human: What is Geelong's home team score?
###assistant: SELECT home_team AS score FROM table_name_89 WHERE home_team = "geelong" |
###context:CREATE TABLE table_name_27 (home_team VARCHAR)
###human: What is the home team score for St Kilda's home team?
###assistant: SELECT home_team AS score FROM table_name_27 WHERE home_team = "st kilda" |
###context:CREATE TABLE table_name_59 (constructor VARCHAR, grid VARCHAR, rank VARCHAR)
###human: Who was #16 rank constructor with a grid of more than 1?
###assistant: SELECT constructor FROM table_name_59 WHERE grid > 1 AND rank = 16 |
###context:CREATE TABLE table_name_12 (constructor VARCHAR, rank VARCHAR, driver VARCHAR)
###human: Who constructed Joe James car when his rank was more than 10?
###assistant: SELECT constructor FROM table_name_12 WHERE rank > 10 AND driver = "joe james" |
###context:CREATE TABLE table_name_78 (rank INTEGER, grid VARCHAR, time_retired VARCHAR, laps VARCHAR, qual VARCHAR)
###human: What was the rank of the car who had more than 182 laps, gris less than 3, with a qual time of more than 134.14 and a time/retired of +14:21.72?
###assistant: SELECT MIN(rank) FROM table_name_78 WHERE laps > 182 AND qual > 134.14 AND time_retired = "+14:21.72" AND grid < 3 |
###context:CREATE TABLE table_name_35 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
###human: How many laps did Chuck Stevenson have with a grid of less than 11?
###assistant: SELECT COUNT(laps) FROM table_name_35 WHERE driver = "chuck stevenson" AND grid < 11 |
###context:CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR)
###human: Which Week has an Opponent of san francisco 49ers?
###assistant: SELECT MAX(week) FROM table_name_46 WHERE opponent = "san francisco 49ers" |
###context:CREATE TABLE table_name_50 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
###human: What is the snatch for the Clean & jerk of 145.0, and a Bodyweight larger than 76.22?
###assistant: SELECT AVG(snatch) FROM table_name_50 WHERE clean_ & _jerk = "145.0" AND bodyweight > 76.22 |
###context:CREATE TABLE table_name_82 (clean_ VARCHAR, _jerk VARCHAR, snatch VARCHAR, bodyweight VARCHAR)
###human: What is the Clean & jerk for the snatch less than 150 and a Bodyweight of 76.18?
###assistant: SELECT clean_ & _jerk FROM table_name_82 WHERE snatch < 150 AND bodyweight = 76.18 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.