question
stringlengths
12
244
answer
stringlengths
18
557
context
stringlengths
27
489
text
stringlengths
108
1.05k
What is the average Laps for the Mexico team with a grid number of more than 1?
SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico"
CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR)
<s>[INST] What is the average Laps for the Mexico team with a grid number of more than 1? context: CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR) [/INST] SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico" </s>
What is name of the drive with a Time of +13.315?
SELECT driver FROM table_name_85 WHERE time = "+13.315"
CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR)
<s>[INST] What is name of the drive with a Time of +13.315? context: CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR) [/INST] SELECT driver FROM table_name_85 WHERE time = "+13.315" </s>
What is the total grid number that has 14 laps and a time of +29.483?
SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483"
CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR)
<s>[INST] What is the total grid number that has 14 laps and a time of +29.483? context: CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR) [/INST] SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483" </s>
What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid?
SELECT COUNT(laps) FROM table_name_39 WHERE time = "collision" AND team = "switzerland" AND grid < 11
CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR)
<s>[INST] What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid? context: CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR) [/INST] SELECT COUNT(laps) FROM table_name_39 WHERE time = "collision" AND team = "switzerland" AND grid < 11 ...
What is the time of the game after week 4 against the Baltimore Ravens?
SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens"
CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR)
<s>[INST] What is the time of the game after week 4 against the Baltimore Ravens? context: CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens" </s>
What nominated work has seattle international film festival as the award?
SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival"
CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR)
<s>[INST] What nominated work has seattle international film festival as the award? context: CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR) [/INST] SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival" </s>
What award has breakthrough performance as the category?
SELECT award FROM table_name_52 WHERE category = "breakthrough performance"
CREATE TABLE table_name_52 (award VARCHAR, category VARCHAR)
<s>[INST] What award has breakthrough performance as the category? context: CREATE TABLE table_name_52 (award VARCHAR, category VARCHAR) [/INST] SELECT award FROM table_name_52 WHERE category = "breakthrough performance" </s>
What category has showest award for the category awards?
SELECT category FROM table_name_9 WHERE award = "showest award"
CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR)
<s>[INST] What category has showest award for the category awards? context: CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR) [/INST] SELECT category FROM table_name_9 WHERE award = "showest award" </s>
What category has a year after 2004?
SELECT category FROM table_name_33 WHERE year > 2004
CREATE TABLE table_name_33 (category VARCHAR, year INTEGER)
<s>[INST] What category has a year after 2004? context: CREATE TABLE table_name_33 (category VARCHAR, year INTEGER) [/INST] SELECT category FROM table_name_33 WHERE year > 2004 </s>
Which Opponent had a Score of 6-3, 6-2?
SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2"
CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR)
<s>[INST] Which Opponent had a Score of 6-3, 6-2? context: CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR) [/INST] SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2" </s>
Which Score had an Opponent of chris evert-lloyd?
SELECT score FROM table_name_53 WHERE opponent = "chris evert-lloyd"
CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR)
<s>[INST] Which Score had an Opponent of chris evert-lloyd? context: CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR) [/INST] SELECT score FROM table_name_53 WHERE opponent = "chris evert-lloyd" </s>
Which Surface had an Opponent of chris evert-lloyd?
SELECT surface FROM table_name_45 WHERE opponent = "chris evert-lloyd"
CREATE TABLE table_name_45 (surface VARCHAR, opponent VARCHAR)
<s>[INST] Which Surface had an Opponent of chris evert-lloyd? context: CREATE TABLE table_name_45 (surface VARCHAR, opponent VARCHAR) [/INST] SELECT surface FROM table_name_45 WHERE opponent = "chris evert-lloyd" </s>
Which Surface had a Date of june 13, 1983?
SELECT surface FROM table_name_14 WHERE date = "june 13, 1983"
CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR)
<s>[INST] Which Surface had a Date of june 13, 1983? context: CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) [/INST] SELECT surface FROM table_name_14 WHERE date = "june 13, 1983" </s>
What was the highest attendance for a game where Geelong was the home team?
SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong"
CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)
<s>[INST] What was the highest attendance for a game where Geelong was the home team? context: CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR) [/INST] SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong" </s>
What was the away team score when the home team was the Brisbane Lions?
SELECT away_team AS score FROM table_name_83 WHERE home_team = "brisbane lions"
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] What was the away team score when the home team was the Brisbane Lions? context: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team AS score FROM table_name_83 WHERE home_team = "brisbane lions" </s>
What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs?
SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs"
CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR)
<s>[INST] What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs? context: CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR) [/INST] SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs" </s>
What is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3?
SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = "pvg/zspd" AND rank < 3
CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)
<s>[INST] What is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3? context: CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR) [/INST] SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 W...
What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,000, and a Result of w52-0?
SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "20,000" AND result = "w52-0"
CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR)
<s>[INST] What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,000, and a Result of w52-0? context: CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR) [/INST] SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendanc...
What is the Opponent name at memorial stadium • minneapolis, mn on 10/20/1928?
SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium • minneapolis, mn" AND date = "10/20/1928"
CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR)
<s>[INST] What is the Opponent name at memorial stadium • minneapolis, mn on 10/20/1928? context: CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR) [/INST] SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium • minneapolis, mn" AND date = "10/20/1928" </s>
What is the Attendance number when the Opponent was purdue?
SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue"
CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR)
<s>[INST] What is the Attendance number when the Opponent was purdue? context: CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR) [/INST] SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue" </s>
What is the Site when the Result was w52-0?
SELECT site FROM table_name_92 WHERE result = "w52-0"
CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR)
<s>[INST] What is the Site when the Result was w52-0? context: CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR) [/INST] SELECT site FROM table_name_92 WHERE result = "w52-0" </s>
What is the Attendance on 11/10/1928?
SELECT attendance FROM table_name_42 WHERE date = "11/10/1928"
CREATE TABLE table_name_42 (attendance VARCHAR, date VARCHAR)
<s>[INST] What is the Attendance on 11/10/1928? context: CREATE TABLE table_name_42 (attendance VARCHAR, date VARCHAR) [/INST] SELECT attendance FROM table_name_42 WHERE date = "11/10/1928" </s>
Who was the Winner at Campbelltown Sports Stadium?
SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium"
CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR)
<s>[INST] Who was the Winner at Campbelltown Sports Stadium? context: CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR) [/INST] SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium" </s>
When Sydney Roosters won with a Crown of more than 7,426, what was the Venue?
SELECT venue FROM table_name_74 WHERE winner = "sydney roosters" AND crowd > 7 OFFSET 426
CREATE TABLE table_name_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR)
<s>[INST] When Sydney Roosters won with a Crown of more than 7,426, what was the Venue? context: CREATE TABLE table_name_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR) [/INST] SELECT venue FROM table_name_74 WHERE winner = "sydney roosters" AND crowd > 7 OFFSET 426 </s>
What was the second leg score from the group stage on matchday 5?
SELECT second_leg FROM table_name_35 WHERE phase = "group stage" AND round = "matchday 5"
CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR)
<s>[INST] What was the second leg score from the group stage on matchday 5? context: CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR) [/INST] SELECT second_leg FROM table_name_35 WHERE phase = "group stage" AND round = "matchday 5" </s>
what year did enrique alciati make a statue
SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati"
CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR)
<s>[INST] what year did enrique alciati make a statue context: CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR) [/INST] SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati" </s>
what artist cam from uruguay
SELECT artist FROM table_name_81 WHERE country = "uruguay"
CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR)
<s>[INST] what artist cam from uruguay context: CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR) [/INST] SELECT artist FROM table_name_81 WHERE country = "uruguay" </s>
When did mika heinonen susanna dahlberg win mixed doubles?
SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg"
CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR)
<s>[INST] When did mika heinonen susanna dahlberg win mixed doubles? context: CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR) [/INST] SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg" </s>
Score of 0–3 (11–21, 14–21) had what outcome?
SELECT outcome FROM table_name_32 WHERE score = "0–3 (11–21, 14–21)"
CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR)
<s>[INST] Score of 0–3 (11–21, 14–21) had what outcome? context: CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR) [/INST] SELECT outcome FROM table_name_32 WHERE score = "0–3 (11–21, 14–21)" </s>
Venue of thessaloniki (without participation) had what score?
SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)"
CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR)
<s>[INST] Venue of thessaloniki (without participation) had what score? context: CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR) [/INST] SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)" </s>
Outcome of 13, and a Year of 2007 happened in what venue?
SELECT venue FROM table_name_51 WHERE outcome = "13" AND year = "2007"
CREATE TABLE table_name_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR)
<s>[INST] Outcome of 13, and a Year of 2007 happened in what venue? context: CREATE TABLE table_name_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR) [/INST] SELECT venue FROM table_name_51 WHERE outcome = "13" AND year = "2007" </s>
Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru?
SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"
CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR)
<s>[INST] Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru? context: CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR) [/INST] SELECT eruptions FROM table_name_51 WHERE location = "p...
How many fatalities does Italy have?
SELECT fatalities FROM table_name_50 WHERE country = "italy"
CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR)
<s>[INST] How many fatalities does Italy have? context: CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR) [/INST] SELECT fatalities FROM table_name_50 WHERE country = "italy" </s>
How many years have a Location of pacific ring of fire, and Eruptions of pinatubo?
SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo"
CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR)
<s>[INST] How many years have a Location of pacific ring of fire, and Eruptions of pinatubo? context: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR) [/INST] SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo" </s>
What is the Standings of Eintracht Braunschweig?
SELECT standings FROM table_name_28 WHERE champions = "eintracht braunschweig"
CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR)
<s>[INST] What is the Standings of Eintracht Braunschweig? context: CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR) [/INST] SELECT standings FROM table_name_28 WHERE champions = "eintracht braunschweig" </s>
Year larger than 2001 has what average points?
SELECT AVG(points) FROM table_name_92 WHERE year > 2001
CREATE TABLE table_name_92 (points INTEGER, year INTEGER)
<s>[INST] Year larger than 2001 has what average points? context: CREATE TABLE table_name_92 (points INTEGER, year INTEGER) [/INST] SELECT AVG(points) FROM table_name_92 WHERE year > 2001 </s>
Team of Honda and a point total of 238 is what highest year?
SELECT MAX(year) FROM table_name_69 WHERE team = "honda" AND points = 238
CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR)
<s>[INST] Team of Honda and a point total of 238 is what highest year? context: CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR) [/INST] SELECT MAX(year) FROM table_name_69 WHERE team = "honda" AND points = 238 </s>
Wins of 0 involves what team?
SELECT team FROM table_name_96 WHERE wins = 0
CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR)
<s>[INST] Wins of 0 involves what team? context: CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR) [/INST] SELECT team FROM table_name_96 WHERE wins = 0 </s>
what player has a pick of 5
SELECT player FROM table_name_75 WHERE pick = 5
CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR)
<s>[INST] what player has a pick of 5 context: CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR) [/INST] SELECT player FROM table_name_75 WHERE pick = 5 </s>
Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward?
SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward"
CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
<s>[INST] Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward? context: CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) [/INST] SELECT district FROM table_name_2 WHERE first_elected = 1858 AND r...
Which Result has a District of pennsylvania 13?
SELECT result FROM table_name_5 WHERE district = "pennsylvania 13"
CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR)
<s>[INST] Which Result has a District of pennsylvania 13? context: CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR) [/INST] SELECT result FROM table_name_5 WHERE district = "pennsylvania 13" </s>
Which First elected is the lowest one that has an Incumbent of william stewart?
SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart"
CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR)
<s>[INST] Which First elected is the lowest one that has an Incumbent of william stewart? context: CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR) [/INST] SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart" </s>
Who was the Player when College/Junior/Club Team (League) was regina pats (whl)?
SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)"
CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
<s>[INST] Who was the Player when College/Junior/Club Team (League) was regina pats (whl)? context: CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR) [/INST] SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)" </s>
What is the date of the game with an attendance larger than 62,491?
SELECT date FROM table_name_55 WHERE attendance > 62 OFFSET 491
CREATE TABLE table_name_55 (date VARCHAR, attendance INTEGER)
<s>[INST] What is the date of the game with an attendance larger than 62,491? context: CREATE TABLE table_name_55 (date VARCHAR, attendance INTEGER) [/INST] SELECT date FROM table_name_55 WHERE attendance > 62 OFFSET 491 </s>
What is the attendance of the game on week 4?
SELECT attendance FROM table_name_10 WHERE week = 4
CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR)
<s>[INST] What is the attendance of the game on week 4? context: CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR) [/INST] SELECT attendance FROM table_name_10 WHERE week = 4 </s>
How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals?
SELECT AVG(extra_points) FROM table_name_35 WHERE touchdowns < 2 AND player = "herrnstein" AND field_goals < 0
CREATE TABLE table_name_35 (extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR)
<s>[INST] How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals? context: CREATE TABLE table_name_35 (extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR) [/INST] SELECT AVG(extra_points) FROM table_name_35 WHERE touchdowns < 2 AND player ...
How many touchdowns are there that has field goals less than 0 and 0 extra points?
SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0
CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)
<s>[INST] How many touchdowns are there that has field goals less than 0 and 0 extra points? context: CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR) [/INST] SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0 </s>
How many field goals are there that have 8 touchdowns and more than 49 points?
SELECT SUM(field_goals) FROM table_name_91 WHERE touchdowns = 8 AND points > 49
CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)
<s>[INST] How many field goals are there that have 8 touchdowns and more than 49 points? context: CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) [/INST] SELECT SUM(field_goals) FROM table_name_91 WHERE touchdowns = 8 AND points > 49 </s>
What's the number of touchdowns that Snow made that had 0 field goals, more than 5 points, and more than 0 extra points?
SELECT MIN(touchdowns) FROM table_name_66 WHERE points > 5 AND field_goals = 0 AND player = "snow" AND extra_points > 0
CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR)
<s>[INST] What's the number of touchdowns that Snow made that had 0 field goals, more than 5 points, and more than 0 extra points? context: CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR) [/INST] SELECT MIN(touchdowns) FROM table_name_66 WHERE ...
For an IATA of MLE, what is the ICAO?
SELECT icao FROM table_name_21 WHERE iata = "mle"
CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR)
<s>[INST] For an IATA of MLE, what is the ICAO? context: CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR) [/INST] SELECT icao FROM table_name_21 WHERE iata = "mle" </s>
For an ICAO of VCCT, what is the IATA?
SELECT iata FROM table_name_66 WHERE icao = "vcct"
CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR)
<s>[INST] For an ICAO of VCCT, what is the IATA? context: CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR) [/INST] SELECT iata FROM table_name_66 WHERE icao = "vcct" </s>
Which city has an ICAO of VCCJ?
SELECT city FROM table_name_96 WHERE icao = "vccj"
CREATE TABLE table_name_96 (city VARCHAR, icao VARCHAR)
<s>[INST] Which city has an ICAO of VCCJ? context: CREATE TABLE table_name_96 (city VARCHAR, icao VARCHAR) [/INST] SELECT city FROM table_name_96 WHERE icao = "vccj" </s>
Which ICAO is found in Vavuniya?
SELECT icao FROM table_name_97 WHERE city = "vavuniya"
CREATE TABLE table_name_97 (icao VARCHAR, city VARCHAR)
<s>[INST] Which ICAO is found in Vavuniya? context: CREATE TABLE table_name_97 (icao VARCHAR, city VARCHAR) [/INST] SELECT icao FROM table_name_97 WHERE city = "vavuniya" </s>
Which country has Weerawila Airport?
SELECT country FROM table_name_76 WHERE airport = "weerawila airport"
CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR)
<s>[INST] Which country has Weerawila Airport? context: CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR) [/INST] SELECT country FROM table_name_76 WHERE airport = "weerawila airport" </s>
Which opponent has april 1 as the date?
SELECT opponent FROM table_name_39 WHERE date = "april 1"
CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)
<s>[INST] Which opponent has april 1 as the date? context: CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_39 WHERE date = "april 1" </s>
What opponent has tomko (1-1) as a loss?
SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)"
CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR)
<s>[INST] What opponent has tomko (1-1) as a loss? context: CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR) [/INST] SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)" </s>
What opponent has 8-10 as the record?
SELECT opponent FROM table_name_76 WHERE record = "8-10"
CREATE TABLE table_name_76 (opponent VARCHAR, record VARCHAR)
<s>[INST] What opponent has 8-10 as the record? context: CREATE TABLE table_name_76 (opponent VARCHAR, record VARCHAR) [/INST] SELECT opponent FROM table_name_76 WHERE record = "8-10" </s>
Whcih was the Class AAA in school year 2006-07?
SELECT class_aAA FROM table_name_85 WHERE school_year = "2006-07"
CREATE TABLE table_name_85 (class_aAA VARCHAR, school_year VARCHAR)
<s>[INST] Whcih was the Class AAA in school year 2006-07? context: CREATE TABLE table_name_85 (class_aAA VARCHAR, school_year VARCHAR) [/INST] SELECT class_aAA FROM table_name_85 WHERE school_year = "2006-07" </s>
What team was class AA in years 1994-95?
SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95"
CREATE TABLE table_name_52 (class_aA VARCHAR, school_year VARCHAR)
<s>[INST] What team was class AA in years 1994-95? context: CREATE TABLE table_name_52 (class_aA VARCHAR, school_year VARCHAR) [/INST] SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95" </s>
Who was Class AA in School Year 1994-95?
SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95"
CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR)
<s>[INST] Who was Class AA in School Year 1994-95? context: CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR) [/INST] SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95" </s>
What's the date of the game that has the Bulls as a visiting team?
SELECT date FROM table_name_48 WHERE visitor = "bulls"
CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR)
<s>[INST] What's the date of the game that has the Bulls as a visiting team? context: CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR) [/INST] SELECT date FROM table_name_48 WHERE visitor = "bulls" </s>
What is the average game number that took place after February 13 against the Toronto Maple Leafs and more than 47 points were scored?
SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND opponent = "toronto maple leafs" AND points > 47
CREATE TABLE table_name_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR)
<s>[INST] What is the average game number that took place after February 13 against the Toronto Maple Leafs and more than 47 points were scored? context: CREATE TABLE table_name_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR) [/INST] SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND oppon...
Who was the opponent at the game at Sullivan Stadium before week 11?
SELECT opponent FROM table_name_30 WHERE week < 11 AND game_site = "sullivan stadium"
CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)
<s>[INST] Who was the opponent at the game at Sullivan Stadium before week 11? context: CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) [/INST] SELECT opponent FROM table_name_30 WHERE week < 11 AND game_site = "sullivan stadium" </s>
What is the years coached by the person with a win percentage of 0.667 and 380 losses?
SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380
CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR)
<s>[INST] What is the years coached by the person with a win percentage of 0.667 and 380 losses? context: CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR) [/INST] SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380 </s>
What is the average percent for the coach from 1905 and more than 7 losses?
SELECT AVG(pct) FROM table_name_97 WHERE years = "1905" AND lost > 7
CREATE TABLE table_name_97 (pct INTEGER, years VARCHAR, lost VARCHAR)
<s>[INST] What is the average percent for the coach from 1905 and more than 7 losses? context: CREATE TABLE table_name_97 (pct INTEGER, years VARCHAR, lost VARCHAR) [/INST] SELECT AVG(pct) FROM table_name_97 WHERE years = "1905" AND lost > 7 </s>
How many percentages have 20 losses and more than 1 season?
SELECT COUNT(pct) FROM table_name_17 WHERE lost = 20 AND seasons > 1
CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR)
<s>[INST] How many percentages have 20 losses and more than 1 season? context: CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR) [/INST] SELECT COUNT(pct) FROM table_name_17 WHERE lost = 20 AND seasons > 1 </s>
What home has February 10 as the date?
SELECT home FROM table_name_67 WHERE date = "february 10"
CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)
<s>[INST] What home has February 10 as the date? context: CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR) [/INST] SELECT home FROM table_name_67 WHERE date = "february 10" </s>
What date has ny islanders as the visitor?
SELECT date FROM table_name_66 WHERE visitor = "ny islanders"
CREATE TABLE table_name_66 (date VARCHAR, visitor VARCHAR)
<s>[INST] What date has ny islanders as the visitor? context: CREATE TABLE table_name_66 (date VARCHAR, visitor VARCHAR) [/INST] SELECT date FROM table_name_66 WHERE visitor = "ny islanders" </s>
What score has February 10 as the date?
SELECT score FROM table_name_57 WHERE date = "february 10"
CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)
<s>[INST] What score has February 10 as the date? context: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_57 WHERE date = "february 10" </s>
Name the course for 24 july
SELECT course FROM table_name_29 WHERE date = "24 july"
CREATE TABLE table_name_29 (course VARCHAR, date VARCHAR)
<s>[INST] Name the course for 24 july context: CREATE TABLE table_name_29 (course VARCHAR, date VARCHAR) [/INST] SELECT course FROM table_name_29 WHERE date = "24 july" </s>
Name the course for team time trial
SELECT course FROM table_name_58 WHERE type = "team time trial"
CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR)
<s>[INST] Name the course for team time trial context: CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR) [/INST] SELECT course FROM table_name_58 WHERE type = "team time trial" </s>
Name the winner for rest day for 13 july
SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july"
CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR)
<s>[INST] Name the winner for rest day for 13 july context: CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR) [/INST] SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july" </s>
Shawn Michaels entered the elimination chamber in what position?
SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels"
CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR)
<s>[INST] Shawn Michaels entered the elimination chamber in what position? context: CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR) [/INST] SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels" </s>
Who Eliminated Kurt Angle?
SELECT eliminated_by FROM table_name_49 WHERE wrestler = "kurt angle"
CREATE TABLE table_name_49 (eliminated_by VARCHAR, wrestler VARCHAR)
<s>[INST] Who Eliminated Kurt Angle? context: CREATE TABLE table_name_49 (eliminated_by VARCHAR, wrestler VARCHAR) [/INST] SELECT eliminated_by FROM table_name_49 WHERE wrestler = "kurt angle" </s>
Who Eliminated Kane?
SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane"
CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR)
<s>[INST] Who Eliminated Kane? context: CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR) [/INST] SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane" </s>
What is the sum of all gold medals for Algeria when total medals is less than 3?
SELECT SUM(gold) FROM table_name_98 WHERE nation = "algeria" AND total < 3
CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR, total VARCHAR)
<s>[INST] What is the sum of all gold medals for Algeria when total medals is less than 3? context: CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR, total VARCHAR) [/INST] SELECT SUM(gold) FROM table_name_98 WHERE nation = "algeria" AND total < 3 </s>
what is the population of Valencia, Spain?
SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia"
CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR)
<s>[INST] what is the population of Valencia, Spain? context: CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR) [/INST] SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia" </s>
which year holds rank 2?
SELECT MAX(year) FROM table_name_89 WHERE rank = "2"
CREATE TABLE table_name_89 (year INTEGER, rank VARCHAR)
<s>[INST] which year holds rank 2? context: CREATE TABLE table_name_89 (year INTEGER, rank VARCHAR) [/INST] SELECT MAX(year) FROM table_name_89 WHERE rank = "2" </s>
with name meridian condominiums what is number of floors?
SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums"
CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)
<s>[INST] with name meridian condominiums what is number of floors? context: CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR) [/INST] SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums" </s>
with rank of 31 what is the year?
SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"
CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)
<s>[INST] with rank of 31 what is the year? context: CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR) [/INST] SELECT COUNT(year) FROM table_name_48 WHERE rank = "31" </s>
What was the date of the match against the visiting team, Toronto?
SELECT date FROM table_name_78 WHERE visitor = "toronto"
CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR)
<s>[INST] What was the date of the match against the visiting team, Toronto? context: CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR) [/INST] SELECT date FROM table_name_78 WHERE visitor = "toronto" </s>
Who played the home team during the game on January 6?
SELECT home FROM table_name_56 WHERE date = "january 6"
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
<s>[INST] Who played the home team during the game on January 6? context: CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR) [/INST] SELECT home FROM table_name_56 WHERE date = "january 6" </s>
What was the cougars record during the game where Boston were the visitors?
SELECT record FROM table_name_88 WHERE visitor = "boston"
CREATE TABLE table_name_88 (record VARCHAR, visitor VARCHAR)
<s>[INST] What was the cougars record during the game where Boston were the visitors? context: CREATE TABLE table_name_88 (record VARCHAR, visitor VARCHAR) [/INST] SELECT record FROM table_name_88 WHERE visitor = "boston" </s>
What's the lowest Drawn that has a Lost that's less than 0?
SELECT MIN(drawn) FROM table_name_1 WHERE lost < 0
CREATE TABLE table_name_1 (drawn INTEGER, lost INTEGER)
<s>[INST] What's the lowest Drawn that has a Lost that's less than 0? context: CREATE TABLE table_name_1 (drawn INTEGER, lost INTEGER) [/INST] SELECT MIN(drawn) FROM table_name_1 WHERE lost < 0 </s>
What's the total Lost with Games that's less than 4?
SELECT SUM(lost) FROM table_name_23 WHERE games < 4
CREATE TABLE table_name_23 (lost INTEGER, games INTEGER)
<s>[INST] What's the total Lost with Games that's less than 4? context: CREATE TABLE table_name_23 (lost INTEGER, games INTEGER) [/INST] SELECT SUM(lost) FROM table_name_23 WHERE games < 4 </s>
What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0?
SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0
CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR)
<s>[INST] What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0? context: CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR) [/INST] SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0 </s>
What's the Lost average that has a Drawn less than 0?
SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0
CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER)
<s>[INST] What's the Lost average that has a Drawn less than 0? context: CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER) [/INST] SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0 </s>
What record has @ ottawa senators as the opponent?
SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators"
CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR)
<s>[INST] What record has @ ottawa senators as the opponent? context: CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR) [/INST] SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators" </s>
What game has 28 points, and tampa bay lightning as the opponent?
SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning"
CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR)
<s>[INST] What game has 28 points, and tampa bay lightning as the opponent? context: CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR) [/INST] SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning" </s>
What is the average points that have a December less than 6, with a game greater than 26?
SELECT AVG(points) FROM table_name_17 WHERE december < 6 AND game > 26
CREATE TABLE table_name_17 (points INTEGER, december VARCHAR, game VARCHAR)
<s>[INST] What is the average points that have a December less than 6, with a game greater than 26? context: CREATE TABLE table_name_17 (points INTEGER, december VARCHAR, game VARCHAR) [/INST] SELECT AVG(points) FROM table_name_17 WHERE december < 6 AND game > 26 </s>
Who was the opponent at the game with a loss of Sele (0-1)?
SELECT opponent FROM table_name_36 WHERE loss = "sele (0-1)"
CREATE TABLE table_name_36 (opponent VARCHAR, loss VARCHAR)
<s>[INST] Who was the opponent at the game with a loss of Sele (0-1)? context: CREATE TABLE table_name_36 (opponent VARCHAR, loss VARCHAR) [/INST] SELECT opponent FROM table_name_36 WHERE loss = "sele (0-1)" </s>
Record of 42–16–8, and a March larger than 5 has what average points?
SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5
CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR)
<s>[INST] Record of 42–16–8, and a March larger than 5 has what average points? context: CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR) [/INST] SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5 </s>
Points smaller than 96, and a Record of 43–16–8 belongs to what game?
SELECT game FROM table_name_30 WHERE points < 96 AND record = "43–16–8"
CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR)
<s>[INST] Points smaller than 96, and a Record of 43–16–8 belongs to what game? context: CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR) [/INST] SELECT game FROM table_name_30 WHERE points < 96 AND record = "43–16–8" </s>
Game smaller than 70, and a Record of 43–16–8 is what opponent?
SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8"
CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR)
<s>[INST] Game smaller than 70, and a Record of 43–16–8 is what opponent? context: CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR) [/INST] SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8" </s>
Record of 44–18–8 involves which score?
SELECT score FROM table_name_95 WHERE record = "44–18–8"
CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR)
<s>[INST] Record of 44–18–8 involves which score? context: CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR) [/INST] SELECT score FROM table_name_95 WHERE record = "44–18–8" </s>
Which college is Kellen Davis from?
SELECT college FROM table_name_44 WHERE player = "kellen davis"
CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR)
<s>[INST] Which college is Kellen Davis from? context: CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR) [/INST] SELECT college FROM table_name_44 WHERE player = "kellen davis" </s>
Which round's position is according to official website?
SELECT round FROM table_name_30 WHERE position = "according to official website"
CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR)
<s>[INST] Which round's position is according to official website? context: CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR) [/INST] SELECT round FROM table_name_30 WHERE position = "according to official website" </s>
Which position's round was 3 when pick was 70?
SELECT position FROM table_name_29 WHERE round = "3" AND pick = "70"
CREATE TABLE table_name_29 (position VARCHAR, round VARCHAR, pick VARCHAR)
<s>[INST] Which position's round was 3 when pick was 70? context: CREATE TABLE table_name_29 (position VARCHAR, round VARCHAR, pick VARCHAR) [/INST] SELECT position FROM table_name_29 WHERE round = "3" AND pick = "70" </s>
Which pick's round was 5 when Kellen Davis was a player?
SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis"
CREATE TABLE table_name_40 (pick VARCHAR, round VARCHAR, player VARCHAR)
<s>[INST] Which pick's round was 5 when Kellen Davis was a player? context: CREATE TABLE table_name_40 (pick VARCHAR, round VARCHAR, player VARCHAR) [/INST] SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis" </s>
Which college's pick was 14?
SELECT college FROM table_name_86 WHERE pick = "14"
CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)
<s>[INST] Which college's pick was 14? context: CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR) [/INST] SELECT college FROM table_name_86 WHERE pick = "14" </s>