training_input stringlengths 118 1.06k |
|---|
###context:CREATE TABLE table_name_46 (modern_title_of_house VARCHAR, translation VARCHAR)
###human: Which modern house title translates to prison?
###assistant: SELECT modern_title_of_house FROM table_name_46 WHERE translation = "prison" |
###context:CREATE TABLE table_name_94 (latin_motto VARCHAR, translation VARCHAR)
###human: What is the Latin motto of the sign that translates to spouse?
###assistant: SELECT latin_motto FROM table_name_94 WHERE translation = "spouse" |
###context:CREATE TABLE table_name_27 (modern_title_of_house VARCHAR, house VARCHAR)
###human: What is the modern house title of the 1st house?
###assistant: SELECT modern_title_of_house FROM table_name_27 WHERE house = "1st" |
###context:CREATE TABLE table_name_50 (sign VARCHAR, modern_title_of_house VARCHAR)
###human: Which sign has a modern house title of House of Partnerships?
###assistant: SELECT sign FROM table_name_50 WHERE modern_title_of_house = "house of partnerships" |
###context:CREATE TABLE table_name_81 (int_yards INTEGER, assts VARCHAR, player VARCHAR)
###human: What is the sum for the int yards that has an assts more than 3, and player Jay Alford?
###assistant: SELECT SUM(int_yards) FROM table_name_81 WHERE assts > 3 AND player = "jay alford" |
###context:CREATE TABLE table_name_38 (time VARCHAR, score VARCHAR)
###human: What is the Time with a Score that is 80-34?
###assistant: SELECT time FROM table_name_38 WHERE score = "80-34" |
###context:CREATE TABLE table_name_29 (date VARCHAR, home VARCHAR)
###human: What is the Date with a Home that is hamilton wildcats?
###assistant: SELECT date FROM table_name_29 WHERE home = "hamilton wildcats" |
###context:CREATE TABLE table_name_42 (ground VARCHAR, date VARCHAR)
###human: What is the Ground with a Date that is 2008-06-20?
###assistant: SELECT ground FROM table_name_42 WHERE date = "2008-06-20" |
###context:CREATE TABLE table_name_88 (away VARCHAR, ground VARCHAR)
###human: What is the Away with a Ground that is humber college lakeshore?
###assistant: SELECT away FROM table_name_88 WHERE ground = "humber college lakeshore" |
###context:CREATE TABLE table_name_7 (time VARCHAR, ground VARCHAR)
###human: What is the Time with a Ground that is humber college north?
###assistant: SELECT time FROM table_name_7 WHERE ground = "humber college north" |
###context:CREATE TABLE table_name_9 (away VARCHAR, ground VARCHAR)
###human: What is the Away with a Ground that is humber college north?
###assistant: SELECT away FROM table_name_9 WHERE ground = "humber college north" |
###context:CREATE TABLE table_name_20 (college VARCHAR, round__number VARCHAR)
###human: What is the College with a Round # that is 290?
###assistant: SELECT college FROM table_name_20 WHERE round__number = 290 |
###context:CREATE TABLE table_name_49 (college VARCHAR, player VARCHAR)
###human: What is the College with a Player that is dean caliguire?
###assistant: SELECT college FROM table_name_49 WHERE player = "dean caliguire" |
###context:CREATE TABLE table_name_78 (first_leg VARCHAR, round VARCHAR)
###human: What was the first leg of the semi-final?
###assistant: SELECT first_leg FROM table_name_78 WHERE round = "semi-final" |
###context:CREATE TABLE table_name_66 (first_leg VARCHAR, opposition VARCHAR)
###human: What was the first leg score against Real Sociedad?
###assistant: SELECT first_leg FROM table_name_66 WHERE opposition = "real sociedad" |
###context:CREATE TABLE table_name_13 (first_leg VARCHAR, opposition VARCHAR)
###human: What was the first leg against Hibernian?
###assistant: SELECT first_leg FROM table_name_13 WHERE opposition = "hibernian" |
###context:CREATE TABLE table_name_50 (opposition VARCHAR, round VARCHAR)
###human: Who were the opposition in the quarter-final?
###assistant: SELECT opposition FROM table_name_50 WHERE round = "quarter-final" |
###context:CREATE TABLE table_name_53 (assists INTEGER, rank VARCHAR)
###human: What is the least number of assists among players ranked 2?
###assistant: SELECT MIN(assists) FROM table_name_53 WHERE rank = 2 |
###context:CREATE TABLE table_name_34 (total INTEGER, rank VARCHAR, gold VARCHAR)
###human: What is the lowest total when the rank is 14 and the gold medals is larger than 0?
###assistant: SELECT MIN(total) FROM table_name_34 WHERE rank = "14" AND gold > 0 |
###context:CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR)
###human: What is the total number of medals when there are 18 gold medals?
###assistant: SELECT SUM(total) FROM table_name_83 WHERE gold = 18 |
###context:CREATE TABLE table_name_94 (bronze VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)
###human: What is the number of bronze medals when the total is greater than 1, more than 2 silver medals are won, and the rank is 2?
###assistant: SELECT bronze FROM table_name_94 WHERE total > 1 AND silver > "2... |
###context:CREATE TABLE table_name_74 (location VARCHAR, record VARCHAR)
###human: What was the location of the game when the record was 12-4?
###assistant: SELECT location FROM table_name_74 WHERE record = "12-4" |
###context:CREATE TABLE table_name_86 (location VARCHAR, record VARCHAR)
###human: What was the location of the game when the record was 2-1?
###assistant: SELECT location FROM table_name_86 WHERE record = "2-1" |
###context:CREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR, home VARCHAR)
###human: What day was the game that had the Cavaliers as visiting team and the Knicks as the home team?
###assistant: SELECT date FROM table_name_85 WHERE visitor = "cavaliers" AND home = "knicks" |
###context:CREATE TABLE table_name_69 (main_span_feet VARCHAR, main_span_metres VARCHAR, year_opened VARCHAR, rank VARCHAR)
###human: What is the main span in feet from a year of 2009 or more recent with a rank less than 94 and 1,310 main span metres?
###assistant: SELECT main_span_feet FROM table_name_69 WHERE... |
###context:CREATE TABLE table_name_43 (main_span_feet VARCHAR, main_span_metres VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR)
###human: What is the main span feet from opening year of 1936 in the United States with a rank greater than 47 and 421 main span metres?
###assistant: SELECT main_span_fe... |
###context:CREATE TABLE table_name_69 (rank INTEGER, year_opened VARCHAR, main_span_metres VARCHAR)
###human: What is the highest rank from the year greater than 2010 with 430 main span metres?
###assistant: SELECT MAX(rank) FROM table_name_69 WHERE year_opened > 2010 AND main_span_metres = "430" |
###context:CREATE TABLE table_name_52 (year_opened INTEGER, main_span_feet VARCHAR, country VARCHAR)
###human: What is the oldest year with a main span feet of 1,640 in South Korea?
###assistant: SELECT MIN(year_opened) FROM table_name_52 WHERE main_span_feet = "1,640" AND country = "south korea" |
###context:CREATE TABLE table_name_49 (score VARCHAR, record VARCHAR)
###human: What was the score of the game when the record was 39–21–4?
###assistant: SELECT score FROM table_name_49 WHERE record = "39–21–4" |
###context:CREATE TABLE table_name_60 (date VARCHAR, score VARCHAR)
###human: What was the date of the game with a score of 2–1?
###assistant: SELECT date FROM table_name_60 WHERE score = "2–1" |
###context:CREATE TABLE table_name_10 (week INTEGER, game_site VARCHAR)
###human: What is the earliest week that the Texans played at the Cleveland Browns Stadium?
###assistant: SELECT MIN(week) FROM table_name_10 WHERE game_site = "cleveland browns stadium" |
###context:CREATE TABLE table_name_90 (date VARCHAR, game_site VARCHAR)
###human: When did the Texans play at LP Field?
###assistant: SELECT date FROM table_name_90 WHERE game_site = "lp field" |
###context:CREATE TABLE table_name_11 (name VARCHAR, avg_g VARCHAR)
###human: Which quarterback had an Avg/G of 195.8?
###assistant: SELECT name FROM table_name_11 WHERE avg_g = 195.8 |
###context:CREATE TABLE table_name_84 (royal_house VARCHAR, name VARCHAR)
###human: Which royal house corresponds to Polyxenos Epiphanes Soter?
###assistant: SELECT royal_house FROM table_name_84 WHERE name = "polyxenos epiphanes soter" |
###context:CREATE TABLE table_name_19 (mark VARCHAR, name VARCHAR)
###human: What is Mark, when Name is Dmytro Hlushchenko?
###assistant: SELECT mark FROM table_name_19 WHERE name = "dmytro hlushchenko" |
###context:CREATE TABLE table_name_80 (country VARCHAR, lane VARCHAR, react VARCHAR)
###human: What is Country, when Lane is 5, and when React is greater than 0.166?
###assistant: SELECT country FROM table_name_80 WHERE lane = 5 AND react > 0.166 |
###context:CREATE TABLE table_name_28 (lane INTEGER, country VARCHAR, react VARCHAR)
###human: What is the lowest Lane, when Country is France, and when React is less than 0.14100000000000001?
###assistant: SELECT MIN(lane) FROM table_name_28 WHERE country = "france" AND react < 0.14100000000000001 |
###context:CREATE TABLE table_name_42 (heat VARCHAR, mark VARCHAR)
###human: What is Heat, when Mark is 6.69?
###assistant: SELECT heat FROM table_name_42 WHERE mark = "6.69" |
###context:CREATE TABLE table_name_35 (points INTEGER, rank VARCHAR, draw VARCHAR)
###human: What is the average number of points for a song ranked 2nd with a draw greater than 3?
###assistant: SELECT AVG(points) FROM table_name_35 WHERE rank = "2nd" AND draw > 3 |
###context:CREATE TABLE table_name_64 (draw VARCHAR, performer VARCHAR, points VARCHAR)
###human: What is the total number of draws for songs performed by Miranda with fewer than 48 points?
###assistant: SELECT COUNT(draw) FROM table_name_64 WHERE performer = "miranda" AND points < 48 |
###context:CREATE TABLE table_name_54 (hdtv VARCHAR, content VARCHAR)
###human: What is the HDTV when the content shows a timeshift +1 di disney junior?
###assistant: SELECT hdtv FROM table_name_54 WHERE content = "timeshift +1 di disney junior" |
###context:CREATE TABLE table_name_12 (country VARCHAR, language VARCHAR, television_service VARCHAR)
###human: What is the Country when the language is italian english, and the television service is disney xd +1?
###assistant: SELECT country FROM table_name_12 WHERE language = "italian english" AND television_... |
###context:CREATE TABLE table_name_67 (hdtv VARCHAR, package_option VARCHAR, television_service VARCHAR)
###human: What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1?
###assistant: SELECT hdtv FROM table_name_67 WHERE package_option = "sky famiglia" AND television... |
###context:CREATE TABLE table_name_75 (content VARCHAR, television_service VARCHAR)
###human: What shows as Content for the Television service of nickelodeon +1?
###assistant: SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +1" |
###context:CREATE TABLE table_name_23 (year_2007 INTEGER, year_2005 INTEGER)
###human: What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377?
###assistant: SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377 |
###context:CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR)
###human: On what day was the game that ended in a score of 97-38?
###assistant: SELECT date FROM table_name_17 WHERE score = "97-38" |
###context:CREATE TABLE table_name_53 (home VARCHAR, time VARCHAR)
###human: Who was the home team of the game at the time of 14:00?
###assistant: SELECT home FROM table_name_53 WHERE time = "14:00" |
###context:CREATE TABLE table_name_33 (home VARCHAR, time VARCHAR)
###human: Who was the home team of the game at the time of 15:00?
###assistant: SELECT home FROM table_name_33 WHERE time = "15:00" |
###context:CREATE TABLE table_name_1 (date VARCHAR, score VARCHAR)
###human: On what day was the game that ended in a score of 97-38?
###assistant: SELECT date FROM table_name_1 WHERE score = "97-38" |
###context:CREATE TABLE table_name_57 (away VARCHAR, time VARCHAR)
###human: Who was the away team of the game at the time 15:00?
###assistant: SELECT away FROM table_name_57 WHERE time = "15:00" |
###context:CREATE TABLE table_name_5 (ground VARCHAR, away VARCHAR)
###human: On what grounds did the away team of the Toronto Rebels play?
###assistant: SELECT ground FROM table_name_5 WHERE away = "toronto rebels" |
###context:CREATE TABLE table_name_97 (capital VARCHAR, hangul_chosongul VARCHAR)
###human: Which capital has a Hangul of 경상남도?
###assistant: SELECT capital FROM table_name_97 WHERE hangul_chosongul = "경상남도" |
###context:CREATE TABLE table_name_83 (country VARCHAR, hanja VARCHAR)
###human: Which country has a city with a Hanja of 平安北道?
###assistant: SELECT country FROM table_name_83 WHERE hanja = "平安北道" |
###context:CREATE TABLE table_name_85 (rr_romaja VARCHAR, hangul_chosongul VARCHAR, capital VARCHAR)
###human: What is the RR Romaja for the province that has Hangul of 강원도 and capital of Wonsan?
###assistant: SELECT rr_romaja FROM table_name_85 WHERE hangul_chosongul = "강원도" AND capital = "wonsan" |
###context:CREATE TABLE table_name_60 (area VARCHAR, hangul_chosongul VARCHAR)
###human: What is the area for the province having Hangul of 경기도?
###assistant: SELECT area FROM table_name_60 WHERE hangul_chosongul = "경기도" |
###context:CREATE TABLE table_name_34 (m_r_romaja VARCHAR, capital VARCHAR)
###human: What is the M-R Romaja for the province having a capital of Cheongju?
###assistant: SELECT m_r_romaja FROM table_name_34 WHERE capital = "cheongju" |
###context:CREATE TABLE table_name_41 (games INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)
###human: What is the highest game that has 32 points and a team rank larger than 4 named montepaschi siena
###assistant: SELECT MAX(games) FROM table_name_41 WHERE points = 32 AND team = "montepaschi siena" AND ra... |
###context:CREATE TABLE table_name_38 (built INTEGER, floors VARCHAR, rank VARCHAR)
###human: What is the lowest Built, when Floors is greater than 23, and when Rank is 3?
###assistant: SELECT MIN(built) FROM table_name_38 WHERE floors > 23 AND rank = 3 |
###context:CREATE TABLE table_name_84 (height VARCHAR, name VARCHAR, built VARCHAR, rank VARCHAR, floors VARCHAR)
###human: What is Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)?
###assistant: SELECT height FROM table_name_84 WHERE rank < 20 ... |
###context:CREATE TABLE table_name_90 (floors INTEGER, built VARCHAR, name VARCHAR)
###human: What is the lowest Floors, when Built is greater than 1970, and when Name is NV Building 3?
###assistant: SELECT MIN(floors) FROM table_name_90 WHERE built > 1970 AND name = "nv building 3" |
###context:CREATE TABLE table_name_55 (built VARCHAR, name VARCHAR, floors VARCHAR, rank VARCHAR)
###human: What is the total number of Built, when Floors is less than 22, when Rank is less than 8, and when Name is White, Mediacityuk?
###assistant: SELECT COUNT(built) FROM table_name_55 WHERE floors < 22 AND ra... |
###context:CREATE TABLE table_name_80 (height VARCHAR, home_town VARCHAR)
###human: What is the height of the player from Las Vegas, NV?
###assistant: SELECT height FROM table_name_80 WHERE home_town = "las vegas, nv" |
###context:CREATE TABLE table_name_44 (name VARCHAR, position VARCHAR, home_town VARCHAR)
###human: What is the name of the guard from Cary, NC?
###assistant: SELECT name FROM table_name_44 WHERE position = "guard" AND home_town = "cary, nc" |
###context:CREATE TABLE table_name_90 (year VARCHAR, position VARCHAR, name VARCHAR)
###human: In what year of school is the forward Iman McFarland?
###assistant: SELECT year FROM table_name_90 WHERE position = "forward" AND name = "iman mcfarland" |
###context:CREATE TABLE table_name_56 (height VARCHAR, name VARCHAR, position VARCHAR, year VARCHAR)
###human: How tall is the freshman guard Cetera Degraffenreid?
###assistant: SELECT height FROM table_name_56 WHERE position = "guard" AND year = "freshman" AND name = "cetera degraffenreid" |
###context:CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR, home_town VARCHAR)
###human: What position does the 5-8 player from Grottoes, VA play?
###assistant: SELECT position FROM table_name_10 WHERE height = "5-8" AND home_town = "grottoes, va" |
###context:CREATE TABLE table_name_52 (year VARCHAR, home_town VARCHAR)
###human: In what year of school is the player from Fayetteville, NC?
###assistant: SELECT year FROM table_name_52 WHERE home_town = "fayetteville, nc" |
###context:CREATE TABLE table_name_76 (team VARCHAR, game VARCHAR, score VARCHAR)
###human: What is the Team with a game of more than 56, and the score is l 85–90 (ot)?
###assistant: SELECT team FROM table_name_76 WHERE game > 56 AND score = "l 85–90 (ot)" |
###context:CREATE TABLE table_name_5 (record VARCHAR, high_rebounds VARCHAR)
###human: What is the Record when the high rebounds was Antonio Davis (9)?
###assistant: SELECT record FROM table_name_5 WHERE high_rebounds = "antonio davis (9)" |
###context:CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR)
###human: What is the home score with marek dupnitsa as opponent?
###assistant: SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa" |
###context:CREATE TABLE table_name_60 (label VARCHAR, catalog VARCHAR)
###human: What is the Label of the B0011141-01 Catalog?
###assistant: SELECT label FROM table_name_60 WHERE catalog = "b0011141-01" |
###context:CREATE TABLE table_name_42 (label VARCHAR, catalog VARCHAR)
###human: What is the Label of the UICI-1069 Catalog?
###assistant: SELECT label FROM table_name_42 WHERE catalog = "uici-1069" |
###context:CREATE TABLE table_name_71 (region VARCHAR, catalog VARCHAR)
###human: What is the Region of the 1766390 Catalog?
###assistant: SELECT region FROM table_name_71 WHERE catalog = "1766390" |
###context:CREATE TABLE table_name_27 (school_club_team VARCHAR, player VARCHAR)
###human: What School/Club did Dominique Wilkins play for?
###assistant: SELECT school_club_team FROM table_name_27 WHERE player = "dominique wilkins" |
###context:CREATE TABLE table_name_7 (outcome VARCHAR, score VARCHAR)
###human: What is the outcome of the 4–6, 6–4, 6–3, 7–6 (7–2) score?
###assistant: SELECT outcome FROM table_name_7 WHERE score = "4–6, 6–4, 6–3, 7–6 (7–2)" |
###context:CREATE TABLE table_name_89 (outcome VARCHAR, opponent VARCHAR)
###human: What is the outcome of the match with Roger Federer as the opponent?
###assistant: SELECT outcome FROM table_name_89 WHERE opponent = "roger federer" |
###context:CREATE TABLE table_name_84 (surface VARCHAR, championship VARCHAR)
###human: What surface was the Australian Open (1) played on?
###assistant: SELECT surface FROM table_name_84 WHERE championship = "australian open (1)" |
###context:CREATE TABLE table_name_92 (rank INTEGER, matches VARCHAR)
###human: What is the Rank of the player with 362 Matches?
###assistant: SELECT MAX(rank) FROM table_name_92 WHERE matches = 362 |
###context:CREATE TABLE table_name_85 (rank VARCHAR, goals VARCHAR, matches VARCHAR)
###human: What is the Rank of the player with 158 Goals in more than 362 Matches?
###assistant: SELECT COUNT(rank) FROM table_name_85 WHERE goals = 158 AND matches > 362 |
###context:CREATE TABLE table_name_9 (drawn VARCHAR, played INTEGER)
###human: What is the sum of drawn that has a played more than 12?
###assistant: SELECT COUNT(drawn) FROM table_name_9 WHERE played > 12 |
###context:CREATE TABLE table_name_66 (difference VARCHAR, points VARCHAR, drawn VARCHAR)
###human: What difference has a points greater than 10, and a drawn less than 2?
###assistant: SELECT difference FROM table_name_66 WHERE points > 10 AND drawn < 2 |
###context:CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR)
###human: What is the Result of the game with 72,949 in attendance?
###assistant: SELECT result FROM table_name_41 WHERE attendance = "72,949" |
###context:CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, date VARCHAR)
###human: What is the Attendance for a Week earlier than 16, and a Date of bye?
###assistant: SELECT attendance FROM table_name_39 WHERE week < 16 AND date = "bye" |
###context:CREATE TABLE table_name_70 (result VARCHAR, opponent VARCHAR)
###human: What is the Result of the game against the Indianapolis Colts?
###assistant: SELECT result FROM table_name_70 WHERE opponent = "indianapolis colts" |
###context:CREATE TABLE table_name_25 (song VARCHAR, rank VARCHAR, points VARCHAR, draw VARCHAR)
###human: Which song has more than 66 points, a draw greater than 3, and is ranked 3rd?
###assistant: SELECT song FROM table_name_25 WHERE points > 66 AND draw > 3 AND rank = "3rd" |
###context:CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR)
###human: What is the lowest points when the ranking is 1st?
###assistant: SELECT MIN(points) FROM table_name_60 WHERE rank = "1st" |
###context:CREATE TABLE table_name_63 (points INTEGER, rank VARCHAR, draw VARCHAR)
###human: What is the average number of points when the ranking is 7th and the draw is less than 4?
###assistant: SELECT AVG(points) FROM table_name_63 WHERE rank = "7th" AND draw < 4 |
###context:CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR)
###human: What is the total number of points of the honda hr-1 engine?
###assistant: SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1" |
###context:CREATE TABLE table_name_50 (rank VARCHAR, year VARCHAR, chassis VARCHAR)
###human: What is the rank of the reynard 2ki chassis before 2002?
###assistant: SELECT rank FROM table_name_50 WHERE year < 2002 AND chassis = "reynard 2ki" |
###context:CREATE TABLE table_name_80 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
###human: Who was the home team on April 13, 2008 when Itabuna was the away team?
###assistant: SELECT home_team FROM table_name_80 WHERE date = "april 13, 2008" AND away_team = "itabuna" |
###context:CREATE TABLE table_name_57 (home_team VARCHAR, round VARCHAR, away_team VARCHAR)
###human: What is the name of the home team with a round of 2nd and Vitória da Conquista as the way team?
###assistant: SELECT home_team FROM table_name_57 WHERE round = "2nd" AND away_team = "vitória da conquista" |
###context:CREATE TABLE table_name_48 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
###human: What is the name of the home team on April 13, 2008 when Itabuna was the away team?
###assistant: SELECT home_team FROM table_name_48 WHERE date = "april 13, 2008" AND away_team = "itabuna" |
###context:CREATE TABLE table_name_30 (home_team VARCHAR, score VARCHAR)
###human: What home team has a score of 5 - 5?
###assistant: SELECT home_team FROM table_name_30 WHERE score = "5 - 5" |
###context:CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR)
###human: On which date was the score 0 - 0?
###assistant: SELECT date FROM table_name_54 WHERE score = "0 - 0" |
###context:CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR)
###human: Who played as the home team when Vitória was the away team?
###assistant: SELECT home_team FROM table_name_89 WHERE away_team = "vitória" |
###context:CREATE TABLE table_name_30 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
###human: What grid is the lowest when the time/retired is + 5 laps and the laps is less than 161?
###assistant: SELECT MIN(grid) FROM table_name_30 WHERE time_retired = "+ 5 laps" AND laps < 161 |
###context:CREATE TABLE table_name_34 (points INTEGER, grid VARCHAR, time_retired VARCHAR)
###human: What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs?
###assistant: SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs" |
###context:CREATE TABLE table_name_96 (laps INTEGER, driver VARCHAR)
###human: Driver Ricardo Sperafico has what as his average laps?
###assistant: SELECT AVG(laps) FROM table_name_96 WHERE driver = "ricardo sperafico" |
###context:CREATE TABLE table_name_35 (driver VARCHAR, points VARCHAR)
###human: What is the name of the driver with 6 points?
###assistant: SELECT driver FROM table_name_35 WHERE points = 6 |
###context:CREATE TABLE table_name_54 (points INTEGER, driver VARCHAR)
###human: What is the average points that the driver Ryan Hunter-Reay has?
###assistant: SELECT AVG(points) FROM table_name_54 WHERE driver = "ryan hunter-reay" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.