question stringlengths 16 239 | answer stringlengths 18 400 | context stringlengths 30 308 | text stringlengths 108 764 |
|---|---|---|---|
What is the Losses at the western conference and the 2004–05 season? | SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05" | CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR) | <s>[INST] What is the Losses at the western conference and the 2004–05 season?
context: CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR) [/INST] SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05" </s> |
What's the average round the position of RB was drafted? | SELECT AVG(round) FROM table_name_90 WHERE position = "rb" | CREATE TABLE table_name_90 (round INTEGER, position VARCHAR) | <s>[INST] What's the average round the position of RB was drafted?
context: CREATE TABLE table_name_90 (round INTEGER, position VARCHAR) [/INST] SELECT AVG(round) FROM table_name_90 WHERE position = "rb" </s> |
who is the driver when grid is 11? | SELECT driver FROM table_name_81 WHERE grid = 11 | CREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR) | <s>[INST] who is the driver when grid is 11?
context: CREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR) [/INST] SELECT driver FROM table_name_81 WHERE grid = 11 </s> |
What is every total for the University of the Cordilleras UC Dance Squad? | SELECT total FROM table_21995420_6 WHERE school = "University of the Cordilleras UC Dance Squad" | CREATE TABLE table_21995420_6 (total VARCHAR, school VARCHAR) | <s>[INST] What is every total for the University of the Cordilleras UC Dance Squad?
context: CREATE TABLE table_21995420_6 (total VARCHAR, school VARCHAR) [/INST] SELECT total FROM table_21995420_6 WHERE school = "University of the Cordilleras UC Dance Squad" </s> |
What game was in 2005? | SELECT game FROM table_name_85 WHERE year = 2005 | CREATE TABLE table_name_85 (game VARCHAR, year VARCHAR) | <s>[INST] What game was in 2005?
context: CREATE TABLE table_name_85 (game VARCHAR, year VARCHAR) [/INST] SELECT game FROM table_name_85 WHERE year = 2005 </s> |
Which Saturday has a Thursday of 木曜日 mokuyōbi | SELECT saturday FROM table_name_8 WHERE thursday = "木曜日 mokuyōbi" | CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR) | <s>[INST] Which Saturday has a Thursday of 木曜日 mokuyōbi
context: CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR) [/INST] SELECT saturday FROM table_name_8 WHERE thursday = "木曜日 mokuyōbi" </s> |
How scored the most points where the record is 3-0 for the season? | SELECT high_points FROM table_23285849_5 WHERE record = "3-0" | CREATE TABLE table_23285849_5 (high_points VARCHAR, record VARCHAR) | <s>[INST] How scored the most points where the record is 3-0 for the season?
context: CREATE TABLE table_23285849_5 (high_points VARCHAR, record VARCHAR) [/INST] SELECT high_points FROM table_23285849_5 WHERE record = "3-0" </s> |
How much does the champion get for stadthalle dinslaken, dinslaken? | SELECT champion FROM table_18828487_1 WHERE venue = "Stadthalle Dinslaken, Dinslaken" | CREATE TABLE table_18828487_1 (champion VARCHAR, venue VARCHAR) | <s>[INST] How much does the champion get for stadthalle dinslaken, dinslaken?
context: CREATE TABLE table_18828487_1 (champion VARCHAR, venue VARCHAR) [/INST] SELECT champion FROM table_18828487_1 WHERE venue = "Stadthalle Dinslaken, Dinslaken" </s> |
Which Overall is the highest one that has a Pick # smaller than 9, and a Name of mike pearson? | SELECT MAX(overall) FROM table_name_3 WHERE pick__number < 9 AND name = "mike pearson" | CREATE TABLE table_name_3 (overall INTEGER, pick__number VARCHAR, name VARCHAR) | <s>[INST] Which Overall is the highest one that has a Pick # smaller than 9, and a Name of mike pearson?
context: CREATE TABLE table_name_3 (overall INTEGER, pick__number VARCHAR, name VARCHAR) [/INST] SELECT MAX(overall) FROM table_name_3 WHERE pick__number < 9 AND name = "mike pearson" </s> |
Which bowl game had a conference matchup of Ohio State vs. Texas? | SELECT bowl_game FROM table_name_77 WHERE conference_matchups = "ohio state vs. texas" | CREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR) | <s>[INST] Which bowl game had a conference matchup of Ohio State vs. Texas?
context: CREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR) [/INST] SELECT bowl_game FROM table_name_77 WHERE conference_matchups = "ohio state vs. texas" </s> |
Which Pick # is the lowest one that has a College of troy state, and a Name of reggie dwight, and an Overall smaller than 217? | SELECT MIN(pick__number) FROM table_name_92 WHERE college = "troy state" AND name = "reggie dwight" AND overall < 217 | CREATE TABLE table_name_92 (pick__number INTEGER, overall VARCHAR, college VARCHAR, name VARCHAR) | <s>[INST] Which Pick # is the lowest one that has a College of troy state, and a Name of reggie dwight, and an Overall smaller than 217?
context: CREATE TABLE table_name_92 (pick__number INTEGER, overall VARCHAR, college VARCHAR, name VARCHAR) [/INST] SELECT MIN(pick__number) FROM table_name_92 WHERE college = "troy s... |
What is the 1st leg in the match where Remo (PA) is team 1? | SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "remo (pa)" | CREATE TABLE table_name_26 (team_1 VARCHAR) | <s>[INST] What is the 1st leg in the match where Remo (PA) is team 1?
context: CREATE TABLE table_name_26 (team_1 VARCHAR) [/INST] SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "remo (pa)" </s> |
What country has an IEF 2011 of 45.3? | SELECT country FROM table_name_46 WHERE ief_2011 = "45.3" | CREATE TABLE table_name_46 (country VARCHAR, ief_2011 VARCHAR) | <s>[INST] What country has an IEF 2011 of 45.3?
context: CREATE TABLE table_name_46 (country VARCHAR, ief_2011 VARCHAR) [/INST] SELECT country FROM table_name_46 WHERE ief_2011 = "45.3" </s> |
How many items withdrawn had numbers over 5? | SELECT COUNT(withdrawn) FROM table_name_93 WHERE number > 5 | CREATE TABLE table_name_93 (withdrawn VARCHAR, number INTEGER) | <s>[INST] How many items withdrawn had numbers over 5?
context: CREATE TABLE table_name_93 (withdrawn VARCHAR, number INTEGER) [/INST] SELECT COUNT(withdrawn) FROM table_name_93 WHERE number > 5 </s> |
Name all of Jason's teams that appeared on episode 6x02? | SELECT jasons_team FROM table_23292220_6 WHERE episode = "6x02" | CREATE TABLE table_23292220_6 (jasons_team VARCHAR, episode VARCHAR) | <s>[INST] Name all of Jason's teams that appeared on episode 6x02?
context: CREATE TABLE table_23292220_6 (jasons_team VARCHAR, episode VARCHAR) [/INST] SELECT jasons_team FROM table_23292220_6 WHERE episode = "6x02" </s> |
Tyne and Wear County has what total membership for their metropolitan area? | SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear" | CREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR) | <s>[INST] Tyne and Wear County has what total membership for their metropolitan area?
context: CREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR) [/INST] SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear" </s> |
Name the date when week is 9 | SELECT date FROM table_14945881_1 WHERE week = 9 | CREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR) | <s>[INST] Name the date when week is 9
context: CREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR) [/INST] SELECT date FROM table_14945881_1 WHERE week = 9 </s> |
What Date had a Result of draw, and a Venue of lord's? | SELECT date FROM table_name_28 WHERE result = "draw" AND venue = "lord's" | CREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR) | <s>[INST] What Date had a Result of draw, and a Venue of lord's?
context: CREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR) [/INST] SELECT date FROM table_name_28 WHERE result = "draw" AND venue = "lord's" </s> |
What is the bts retail price (regulated) for tariff code g10? | SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "g10" | CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR) | <s>[INST] What is the bts retail price (regulated) for tariff code g10?
context: CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR) [/INST] SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "g10" </s> |
Round 1 of 71 has how many highest money? | SELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = "71" | CREATE TABLE table_name_33 (money__ INTEGER, round_1 VARCHAR) | <s>[INST] Round 1 of 71 has how many highest money?
context: CREATE TABLE table_name_33 (money__ INTEGER, round_1 VARCHAR) [/INST] SELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = "71" </s> |
What country does robert allenby represent? | SELECT country FROM table_18862490_2 WHERE player = "Robert Allenby" | CREATE TABLE table_18862490_2 (country VARCHAR, player VARCHAR) | <s>[INST] What country does robert allenby represent?
context: CREATE TABLE table_18862490_2 (country VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_18862490_2 WHERE player = "Robert Allenby" </s> |
What is the time of the 100m freestyle event? | SELECT time FROM table_name_54 WHERE event = "100m freestyle" | CREATE TABLE table_name_54 (time VARCHAR, event VARCHAR) | <s>[INST] What is the time of the 100m freestyle event?
context: CREATE TABLE table_name_54 (time VARCHAR, event VARCHAR) [/INST] SELECT time FROM table_name_54 WHERE event = "100m freestyle" </s> |
What is the British letter if American is ə? | SELECT british FROM table_name_10 WHERE american = "ə" | CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR) | <s>[INST] What is the British letter if American is ə?
context: CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR) [/INST] SELECT british FROM table_name_10 WHERE american = "ə" </s> |
On which date was the GT class at Monterey Sports Car Grand Prix? | SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix" | CREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR) | <s>[INST] On which date was the GT class at Monterey Sports Car Grand Prix?
context: CREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR) [/INST] SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix" </s> |
what is the event for the year less than 1913 with the position of 2nd? | SELECT event FROM table_name_60 WHERE year < 1913 AND position = "2nd" | CREATE TABLE table_name_60 (event VARCHAR, year VARCHAR, position VARCHAR) | <s>[INST] what is the event for the year less than 1913 with the position of 2nd?
context: CREATE TABLE table_name_60 (event VARCHAR, year VARCHAR, position VARCHAR) [/INST] SELECT event FROM table_name_60 WHERE year < 1913 AND position = "2nd" </s> |
What is the average laps completed by riders with times of +2:11.524? | SELECT AVG(laps) FROM table_name_90 WHERE time = "+2:11.524" | CREATE TABLE table_name_90 (laps INTEGER, time VARCHAR) | <s>[INST] What is the average laps completed by riders with times of +2:11.524?
context: CREATE TABLE table_name_90 (laps INTEGER, time VARCHAR) [/INST] SELECT AVG(laps) FROM table_name_90 WHERE time = "+2:11.524" </s> |
What red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780? | SELECT red_list FROM table_name_22 WHERE order = "artiodactyla" AND family = "cervidae" AND species_authority = "odocoileus virginianus zimmermann, 1780" | CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR) | <s>[INST] What red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780?
context: CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR) [/INST] SELECT red_list FROM table_name_22 WHERE order = "ar... |
Name the player for ol | SELECT player FROM table_20649850_1 WHERE position = "OL" | CREATE TABLE table_20649850_1 (player VARCHAR, position VARCHAR) | <s>[INST] Name the player for ol
context: CREATE TABLE table_20649850_1 (player VARCHAR, position VARCHAR) [/INST] SELECT player FROM table_20649850_1 WHERE position = "OL" </s> |
What is the total number of acres at Sai Tso Wan, opening before 1978? | SELECT COUNT(acres) FROM table_name_29 WHERE landfill = "sai tso wan" AND opened < 1978 | CREATE TABLE table_name_29 (acres VARCHAR, landfill VARCHAR, opened VARCHAR) | <s>[INST] What is the total number of acres at Sai Tso Wan, opening before 1978?
context: CREATE TABLE table_name_29 (acres VARCHAR, landfill VARCHAR, opened VARCHAR) [/INST] SELECT COUNT(acres) FROM table_name_29 WHERE landfill = "sai tso wan" AND opened < 1978 </s> |
What is the home country of the player who placed t5 and had a score of 69-71=140? | SELECT country FROM table_name_23 WHERE place = "t5" AND score = 69 - 71 = 140 | CREATE TABLE table_name_23 (country VARCHAR, place VARCHAR, score VARCHAR) | <s>[INST] What is the home country of the player who placed t5 and had a score of 69-71=140?
context: CREATE TABLE table_name_23 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] SELECT country FROM table_name_23 WHERE place = "t5" AND score = 69 - 71 = 140 </s> |
How many games have a Record of 7–6–3, and Points smaller than 17? | SELECT COUNT(game) FROM table_name_74 WHERE record = "7–6–3" AND points < 17 | CREATE TABLE table_name_74 (game VARCHAR, record VARCHAR, points VARCHAR) | <s>[INST] How many games have a Record of 7–6–3, and Points smaller than 17?
context: CREATE TABLE table_name_74 (game VARCHAR, record VARCHAR, points VARCHAR) [/INST] SELECT COUNT(game) FROM table_name_74 WHERE record = "7–6–3" AND points < 17 </s> |
What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season? | SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = "sam meikle" AND no_in_season = 21 | CREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR) | <s>[INST] What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season?
context: CREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR) [/INST] SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = "sam meikle" AND no_in_season = 21 </s... |
What was the total attendance for a result of 7-23 before 1960? | SELECT SUM(attendance) FROM table_name_19 WHERE result = "7-23" AND year < 1960 | CREATE TABLE table_name_19 (attendance INTEGER, result VARCHAR, year VARCHAR) | <s>[INST] What was the total attendance for a result of 7-23 before 1960?
context: CREATE TABLE table_name_19 (attendance INTEGER, result VARCHAR, year VARCHAR) [/INST] SELECT SUM(attendance) FROM table_name_19 WHERE result = "7-23" AND year < 1960 </s> |
What player played for the Balmain Tigers? | SELECT player FROM table_name_98 WHERE club = "balmain tigers" | CREATE TABLE table_name_98 (player VARCHAR, club VARCHAR) | <s>[INST] What player played for the Balmain Tigers?
context: CREATE TABLE table_name_98 (player VARCHAR, club VARCHAR) [/INST] SELECT player FROM table_name_98 WHERE club = "balmain tigers" </s> |
what's the naturalisation by marriage with numer of jamaicans granted british citizenship being 3165 | SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer_of_jamaicans_granted_british_citizenship = 3165 | CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR) | <s>[INST] what's the naturalisation by marriage with numer of jamaicans granted british citizenship being 3165
context: CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR) [/INST] SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer... |
Name the sum of Hull number with portugal destination | SELECT SUM(hull_no) FROM table_name_84 WHERE destination = "portugal" | CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR) | <s>[INST] Name the sum of Hull number with portugal destination
context: CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR) [/INST] SELECT SUM(hull_no) FROM table_name_84 WHERE destination = "portugal" </s> |
What was the score for a match where Sophie Gustafson played? | SELECT score FROM table_name_44 WHERE player = "sophie gustafson" | CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR) | <s>[INST] What was the score for a match where Sophie Gustafson played?
context: CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR) [/INST] SELECT score FROM table_name_44 WHERE player = "sophie gustafson" </s> |
How much power does the fuel injection system have with a displacement of 1991cc? | SELECT power FROM table_name_47 WHERE fuel_system = "fuel injection" AND displacement = "1991cc" | CREATE TABLE table_name_47 (power VARCHAR, fuel_system VARCHAR, displacement VARCHAR) | <s>[INST] How much power does the fuel injection system have with a displacement of 1991cc?
context: CREATE TABLE table_name_47 (power VARCHAR, fuel_system VARCHAR, displacement VARCHAR) [/INST] SELECT power FROM table_name_47 WHERE fuel_system = "fuel injection" AND displacement = "1991cc" </s> |
What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points is "10"? | SELECT score_points FROM table_name_12 WHERE event = "wc rio de janeiro" AND rank_points = "10" | CREATE TABLE table_name_12 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR) | <s>[INST] What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points is "10"?
context: CREATE TABLE table_name_12 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR) [/INST] SELECT score_points FROM table_name_12 WHERE event = "wc rio de janeiro" AND rank_points = "10" </s> |
Who were the candidates in districk Pennsylvania 12? | SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12" | CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR) | <s>[INST] Who were the candidates in districk Pennsylvania 12?
context: CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR) [/INST] SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12" </s> |
What Game had a Result of 136-112? | SELECT game FROM table_name_9 WHERE result = "136-112" | CREATE TABLE table_name_9 (game VARCHAR, result VARCHAR) | <s>[INST] What Game had a Result of 136-112?
context: CREATE TABLE table_name_9 (game VARCHAR, result VARCHAR) [/INST] SELECT game FROM table_name_9 WHERE result = "136-112" </s> |
In what event was the technical decision (split) method used? | SELECT event FROM table_name_8 WHERE method = "technical decision (split)" | CREATE TABLE table_name_8 (event VARCHAR, method VARCHAR) | <s>[INST] In what event was the technical decision (split) method used?
context: CREATE TABLE table_name_8 (event VARCHAR, method VARCHAR) [/INST] SELECT event FROM table_name_8 WHERE method = "technical decision (split)" </s> |
Who was the stage winner of the letua cycling team on stage 2? | SELECT stage AS winner FROM table_27112708_2 WHERE team_classification = "LeTua Cycling Team" AND stage = 2 | CREATE TABLE table_27112708_2 (stage VARCHAR, team_classification VARCHAR) | <s>[INST] Who was the stage winner of the letua cycling team on stage 2?
context: CREATE TABLE table_27112708_2 (stage VARCHAR, team_classification VARCHAR) [/INST] SELECT stage AS winner FROM table_27112708_2 WHERE team_classification = "LeTua Cycling Team" AND stage = 2 </s> |
Where was the location attendance when Minnesota played? | SELECT location_attendance FROM table_name_1 WHERE team = "minnesota" | CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR) | <s>[INST] Where was the location attendance when Minnesota played?
context: CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR) [/INST] SELECT location_attendance FROM table_name_1 WHERE team = "minnesota" </s> |
How many total show when silver is 0, bronze is 1, and the rank is less than 3? | SELECT COUNT(total) FROM table_name_73 WHERE silver = 0 AND bronze = 1 AND rank < 3 | CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR) | <s>[INST] How many total show when silver is 0, bronze is 1, and the rank is less than 3?
context: CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR) [/INST] SELECT COUNT(total) FROM table_name_73 WHERE silver = 0 AND bronze = 1 AND rank < 3 </s> |
What is Top Par, when Score is less than 68, and when Country is England? | SELECT to_par FROM table_name_58 WHERE score < 68 AND country = "england" | CREATE TABLE table_name_58 (to_par VARCHAR, score VARCHAR, country VARCHAR) | <s>[INST] What is Top Par, when Score is less than 68, and when Country is England?
context: CREATE TABLE table_name_58 (to_par VARCHAR, score VARCHAR, country VARCHAR) [/INST] SELECT to_par FROM table_name_58 WHERE score < 68 AND country = "england" </s> |
Show ids for all students who have advisor 1121. | SELECT StuID FROM Student WHERE Advisor = 1121 | CREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR) | <s>[INST] Show ids for all students who have advisor 1121.
context: CREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR) [/INST] SELECT StuID FROM Student WHERE Advisor = 1121 </s> |
What is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109? | SELECT SUM(decile) FROM table_name_44 WHERE authority = "state" AND name = "pokuru school" AND roll < 109 | CREATE TABLE table_name_44 (decile INTEGER, roll VARCHAR, authority VARCHAR, name VARCHAR) | <s>[INST] What is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109?
context: CREATE TABLE table_name_44 (decile INTEGER, roll VARCHAR, authority VARCHAR, name VARCHAR) [/INST] SELECT SUM(decile) FROM table_name_44 WHERE authority = "state" AND name = "pokuru s... |
Can you tell me the sum of Laps that has the Manufacturer of kawasaki, and the Grid smaller than 7? | SELECT SUM(laps) FROM table_name_88 WHERE manufacturer = "kawasaki" AND grid < 7 | CREATE TABLE table_name_88 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) | <s>[INST] Can you tell me the sum of Laps that has the Manufacturer of kawasaki, and the Grid smaller than 7?
context: CREATE TABLE table_name_88 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) [/INST] SELECT SUM(laps) FROM table_name_88 WHERE manufacturer = "kawasaki" AND grid < 7 </s> |
How much is the total BBC 2 viewing in 1999? | SELECT bbc_two_total_viewing FROM table_name_57 WHERE year = "1999" | CREATE TABLE table_name_57 (bbc_two_total_viewing VARCHAR, year VARCHAR) | <s>[INST] How much is the total BBC 2 viewing in 1999?
context: CREATE TABLE table_name_57 (bbc_two_total_viewing VARCHAR, year VARCHAR) [/INST] SELECT bbc_two_total_viewing FROM table_name_57 WHERE year = "1999" </s> |
What actor was nominated for best actress? | SELECT actor FROM table_name_45 WHERE result = "nominated" AND category = "best actress" | CREATE TABLE table_name_45 (actor VARCHAR, result VARCHAR, category VARCHAR) | <s>[INST] What actor was nominated for best actress?
context: CREATE TABLE table_name_45 (actor VARCHAR, result VARCHAR, category VARCHAR) [/INST] SELECT actor FROM table_name_45 WHERE result = "nominated" AND category = "best actress" </s> |
What game was before 2010 and was a role-playing game? | SELECT game FROM table_name_82 WHERE year < 2010 AND genre = "role-playing game" | CREATE TABLE table_name_82 (game VARCHAR, year VARCHAR, genre VARCHAR) | <s>[INST] What game was before 2010 and was a role-playing game?
context: CREATE TABLE table_name_82 (game VARCHAR, year VARCHAR, genre VARCHAR) [/INST] SELECT game FROM table_name_82 WHERE year < 2010 AND genre = "role-playing game" </s> |
What is the lowest positioned club with points greater than 40, 16 wins and losses less than 3? | SELECT MIN(position) FROM table_name_45 WHERE points > 40 AND wins = 16 AND loses < 3 | CREATE TABLE table_name_45 (position INTEGER, loses VARCHAR, points VARCHAR, wins VARCHAR) | <s>[INST] What is the lowest positioned club with points greater than 40, 16 wins and losses less than 3?
context: CREATE TABLE table_name_45 (position INTEGER, loses VARCHAR, points VARCHAR, wins VARCHAR) [/INST] SELECT MIN(position) FROM table_name_45 WHERE points > 40 AND wins = 16 AND loses < 3 </s> |
which episode was Transmitted on wednesday if the episode of "438 magic: the gathering mini masters tournament" was transmitted on thursday? | SELECT wednesday FROM table_18173916_8 WHERE thursday = "438 Magic: The Gathering Mini Masters Tournament" | CREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR) | <s>[INST] which episode was Transmitted on wednesday if the episode of "438 magic: the gathering mini masters tournament" was transmitted on thursday?
context: CREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR) [/INST] SELECT wednesday FROM table_18173916_8 WHERE thursday = "438 Magic: The Gathering ... |
What is the nickname of the college established in 1773? | SELECT nickname FROM table_name_65 WHERE established = 1773 | CREATE TABLE table_name_65 (nickname VARCHAR, established VARCHAR) | <s>[INST] What is the nickname of the college established in 1773?
context: CREATE TABLE table_name_65 (nickname VARCHAR, established VARCHAR) [/INST] SELECT nickname FROM table_name_65 WHERE established = 1773 </s> |
What was the highest points when the second was 4? | SELECT MAX(points) FROM table_name_12 WHERE second = "4" | CREATE TABLE table_name_12 (points INTEGER, second VARCHAR) | <s>[INST] What was the highest points when the second was 4?
context: CREATE TABLE table_name_12 (points INTEGER, second VARCHAR) [/INST] SELECT MAX(points) FROM table_name_12 WHERE second = "4" </s> |
What is the date of the game with 38,062 people in attendance? | SELECT date FROM table_name_80 WHERE attendance = "38,062" | CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR) | <s>[INST] What is the date of the game with 38,062 people in attendance?
context: CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR) [/INST] SELECT date FROM table_name_80 WHERE attendance = "38,062" </s> |
What Player is from the Country United States and Money ($) of 356? | SELECT player FROM table_name_24 WHERE country = "united states" AND money___$__ = 356 | CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR, money___$__ VARCHAR) | <s>[INST] What Player is from the Country United States and Money ($) of 356?
context: CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR, money___$__ VARCHAR) [/INST] SELECT player FROM table_name_24 WHERE country = "united states" AND money___$__ = 356 </s> |
What is Score, when Game is greater than 49, and when Opponent is "Pittsburgh Ironmen"? | SELECT score FROM table_name_10 WHERE game > 49 AND opponent = "pittsburgh ironmen" | CREATE TABLE table_name_10 (score VARCHAR, game VARCHAR, opponent VARCHAR) | <s>[INST] What is Score, when Game is greater than 49, and when Opponent is "Pittsburgh Ironmen"?
context: CREATE TABLE table_name_10 (score VARCHAR, game VARCHAR, opponent VARCHAR) [/INST] SELECT score FROM table_name_10 WHERE game > 49 AND opponent = "pittsburgh ironmen" </s> |
What was the result of the game when they were 2-1? | SELECT result FROM table_20746062_1 WHERE record = "2-1" | CREATE TABLE table_20746062_1 (result VARCHAR, record VARCHAR) | <s>[INST] What was the result of the game when they were 2-1?
context: CREATE TABLE table_20746062_1 (result VARCHAR, record VARCHAR) [/INST] SELECT result FROM table_20746062_1 WHERE record = "2-1" </s> |
Name the start of an event in Catagory 2 of the year 1947. | SELECT start FROM table_name_40 WHERE category = "2" AND year = 1947 | CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR) | <s>[INST] Name the start of an event in Catagory 2 of the year 1947.
context: CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR) [/INST] SELECT start FROM table_name_40 WHERE category = "2" AND year = 1947 </s> |
What's the part number of the processor that has an 1.8 ghz frequency and 2 × 256 kb L@ Cache? | SELECT part_number_s_ FROM table_name_56 WHERE l2_cache = "2 × 256 kb" AND frequency = "1.8 ghz" | CREATE TABLE table_name_56 (part_number_s_ VARCHAR, l2_cache VARCHAR, frequency VARCHAR) | <s>[INST] What's the part number of the processor that has an 1.8 ghz frequency and 2 × 256 kb L@ Cache?
context: CREATE TABLE table_name_56 (part_number_s_ VARCHAR, l2_cache VARCHAR, frequency VARCHAR) [/INST] SELECT part_number_s_ FROM table_name_56 WHERE l2_cache = "2 × 256 kb" AND frequency = "1.8 ghz" </s> |
What is the average frequency in MHz for stations with an ERP W of 170? | SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170 | CREATE TABLE table_name_54 (frequency_mhz INTEGER, erp_w VARCHAR) | <s>[INST] What is the average frequency in MHz for stations with an ERP W of 170?
context: CREATE TABLE table_name_54 (frequency_mhz INTEGER, erp_w VARCHAR) [/INST] SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170 </s> |
What team uses a Cosworth DFV V8 engine and DN9 Chassis? | SELECT entrant FROM table_name_68 WHERE engine = "cosworth dfv v8" AND chassis = "dn9" | CREATE TABLE table_name_68 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR) | <s>[INST] What team uses a Cosworth DFV V8 engine and DN9 Chassis?
context: CREATE TABLE table_name_68 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR) [/INST] SELECT entrant FROM table_name_68 WHERE engine = "cosworth dfv v8" AND chassis = "dn9" </s> |
How many percentages have losses fewer than 1 with finals appearances of 4? | SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4 | CREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR) | <s>[INST] How many percentages have losses fewer than 1 with finals appearances of 4?
context: CREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR) [/INST] SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4 </s> |
Who had the fastest lap(s) when josef newgarden led the most laps at edmonton? | SELECT fastest_lap FROM table_29690363_3 WHERE most_laps_led = "Josef Newgarden" AND race = "Edmonton" | CREATE TABLE table_29690363_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, race VARCHAR) | <s>[INST] Who had the fastest lap(s) when josef newgarden led the most laps at edmonton?
context: CREATE TABLE table_29690363_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, race VARCHAR) [/INST] SELECT fastest_lap FROM table_29690363_3 WHERE most_laps_led = "Josef Newgarden" AND race = "Edmonton" </s> |
How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%? | SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%" | CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR) | <s>[INST] How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%?
context: CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR) [/INST] SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%" </s> |
What was the lowest total of medals won by Croatia? | SELECT MIN(total) FROM table_name_12 WHERE nation = "croatia" | CREATE TABLE table_name_12 (total INTEGER, nation VARCHAR) | <s>[INST] What was the lowest total of medals won by Croatia?
context: CREATE TABLE table_name_12 (total INTEGER, nation VARCHAR) [/INST] SELECT MIN(total) FROM table_name_12 WHERE nation = "croatia" </s> |
What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps? | SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = "alan sweeney" AND league_cup_apps < 0 | CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR) | <s>[INST] What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps?
context: CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR) [/INST] SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = "alan swe... |
Who is the runner(s)-up with a winning score of −5 (72-71-68=211)? | SELECT runner_s__up FROM table_name_48 WHERE winning_score = −5(72 - 71 - 68 = 211) | CREATE TABLE table_name_48 (runner_s__up VARCHAR, winning_score VARCHAR) | <s>[INST] Who is the runner(s)-up with a winning score of −5 (72-71-68=211)?
context: CREATE TABLE table_name_48 (runner_s__up VARCHAR, winning_score VARCHAR) [/INST] SELECT runner_s__up FROM table_name_48 WHERE winning_score = −5(72 - 71 - 68 = 211) </s> |
Tell me the report with winner of louis wagner | SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner" | CREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR) | <s>[INST] Tell me the report with winner of louis wagner
context: CREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR) [/INST] SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner" </s> |
Who was the home team at the game when the Thrashers had a record of 18–18–1? | SELECT home FROM table_name_31 WHERE record = "18–18–1" | CREATE TABLE table_name_31 (home VARCHAR, record VARCHAR) | <s>[INST] Who was the home team at the game when the Thrashers had a record of 18–18–1?
context: CREATE TABLE table_name_31 (home VARCHAR, record VARCHAR) [/INST] SELECT home FROM table_name_31 WHERE record = "18–18–1" </s> |
What is the affiliation of Davenport University? | SELECT affiliation FROM table_28211213_1 WHERE institution = "Davenport University" | CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR) | <s>[INST] What is the affiliation of Davenport University?
context: CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR) [/INST] SELECT affiliation FROM table_28211213_1 WHERE institution = "Davenport University" </s> |
Which Score has a Result of third place, and a Style of cha-cha-cha? | SELECT score FROM table_name_18 WHERE result = "third place" AND style = "cha-cha-cha" | CREATE TABLE table_name_18 (score VARCHAR, result VARCHAR, style VARCHAR) | <s>[INST] Which Score has a Result of third place, and a Style of cha-cha-cha?
context: CREATE TABLE table_name_18 (score VARCHAR, result VARCHAR, style VARCHAR) [/INST] SELECT score FROM table_name_18 WHERE result = "third place" AND style = "cha-cha-cha" </s> |
What is the career caps for half-back, when tests is more than 3? | SELECT career_caps FROM table_name_73 WHERE position = "half-back" AND tests > 3 | CREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR) | <s>[INST] What is the career caps for half-back, when tests is more than 3?
context: CREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR) [/INST] SELECT career_caps FROM table_name_73 WHERE position = "half-back" AND tests > 3 </s> |
What horse was shown by with Britta Näpel and got less than 71.909? | SELECT horse FROM table_name_61 WHERE athlete = "britta näpel" AND result < 71.909 | CREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR) | <s>[INST] What horse was shown by with Britta Näpel and got less than 71.909?
context: CREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR) [/INST] SELECT horse FROM table_name_61 WHERE athlete = "britta näpel" AND result < 71.909 </s> |
What day did Geelong play as the away team? | SELECT date FROM table_name_73 WHERE away_team = "geelong" | CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR) | <s>[INST] What day did Geelong play as the away team?
context: CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR) [/INST] SELECT date FROM table_name_73 WHERE away_team = "geelong" </s> |
What is the competition on October 15, 2008? | SELECT competition FROM table_name_37 WHERE date = "october 15, 2008" | CREATE TABLE table_name_37 (competition VARCHAR, date VARCHAR) | <s>[INST] What is the competition on October 15, 2008?
context: CREATE TABLE table_name_37 (competition VARCHAR, date VARCHAR) [/INST] SELECT competition FROM table_name_37 WHERE date = "october 15, 2008" </s> |
Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina? | SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = "Anastasia Chervyakova Romina Gabdullina" | CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) | <s>[INST] Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina?
context: CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) [/INST] SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = "Anastasia Chervyakova Romina Gabdullina" </s> |
Record of 3–3 has what result? | SELECT result FROM table_name_83 WHERE record = "3–3" | CREATE TABLE table_name_83 (result VARCHAR, record VARCHAR) | <s>[INST] Record of 3–3 has what result?
context: CREATE TABLE table_name_83 (result VARCHAR, record VARCHAR) [/INST] SELECT result FROM table_name_83 WHERE record = "3–3" </s> |
What's the opening when white is Anand with fewer than 61 moves for a result of ½–½? | SELECT opening FROM table_name_83 WHERE white = "anand" AND moves < 61 AND result = "½–½" | CREATE TABLE table_name_83 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR) | <s>[INST] What's the opening when white is Anand with fewer than 61 moves for a result of ½–½?
context: CREATE TABLE table_name_83 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR) [/INST] SELECT opening FROM table_name_83 WHERE white = "anand" AND moves < 61 AND result = "½–½" </s> |
What is the channel number that has a branding of PTV 4 Laoag? | SELECT ch__number FROM table_24673888_1 WHERE branding = "PTV 4 Laoag" | CREATE TABLE table_24673888_1 (ch__number VARCHAR, branding VARCHAR) | <s>[INST] What is the channel number that has a branding of PTV 4 Laoag?
context: CREATE TABLE table_24673888_1 (ch__number VARCHAR, branding VARCHAR) [/INST] SELECT ch__number FROM table_24673888_1 WHERE branding = "PTV 4 Laoag" </s> |
What is the smallest number of injured in mayurbhanj, odisha and less than 1 killed? | SELECT MIN(injured) FROM table_name_49 WHERE place = "mayurbhanj, odisha" AND killed < 1 | CREATE TABLE table_name_49 (injured INTEGER, place VARCHAR, killed VARCHAR) | <s>[INST] What is the smallest number of injured in mayurbhanj, odisha and less than 1 killed?
context: CREATE TABLE table_name_49 (injured INTEGER, place VARCHAR, killed VARCHAR) [/INST] SELECT MIN(injured) FROM table_name_49 WHERE place = "mayurbhanj, odisha" AND killed < 1 </s> |
For franklin of class aa, which school years does this occur? | SELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin | CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aA VARCHAR, Franklin VARCHAR) | <s>[INST] For franklin of class aa, which school years does this occur?
context: CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aA VARCHAR, Franklin VARCHAR) [/INST] SELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin </s> |
What is the number of the model with three parallel printer ports? | SELECT model_number FROM table_1300080_1 WHERE printer_ports = "Three Parallel" | CREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR) | <s>[INST] What is the number of the model with three parallel printer ports?
context: CREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR) [/INST] SELECT model_number FROM table_1300080_1 WHERE printer_ports = "Three Parallel" </s> |
What Country has a Player of nick faldo? | SELECT country FROM table_name_74 WHERE player = "nick faldo" | CREATE TABLE table_name_74 (country VARCHAR, player VARCHAR) | <s>[INST] What Country has a Player of nick faldo?
context: CREATE TABLE table_name_74 (country VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_74 WHERE player = "nick faldo" </s> |
I want the chassis for entrant of ecurie lutetia | SELECT chassis FROM table_name_34 WHERE entrant = "ecurie lutetia" | CREATE TABLE table_name_34 (chassis VARCHAR, entrant VARCHAR) | <s>[INST] I want the chassis for entrant of ecurie lutetia
context: CREATE TABLE table_name_34 (chassis VARCHAR, entrant VARCHAR) [/INST] SELECT chassis FROM table_name_34 WHERE entrant = "ecurie lutetia" </s> |
Which grid has a Time/Retired of +5.004? | SELECT MIN(grid) FROM table_name_95 WHERE time_retired = "+5.004" | CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR) | <s>[INST] Which grid has a Time/Retired of +5.004?
context: CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR) [/INST] SELECT MIN(grid) FROM table_name_95 WHERE time_retired = "+5.004" </s> |
For the Delmar school what is the division record? | SELECT division_record FROM table_name_93 WHERE school = "delmar" | CREATE TABLE table_name_93 (division_record VARCHAR, school VARCHAR) | <s>[INST] For the Delmar school what is the division record?
context: CREATE TABLE table_name_93 (division_record VARCHAR, school VARCHAR) [/INST] SELECT division_record FROM table_name_93 WHERE school = "delmar" </s> |
Find all the songs produced by artists with first name "Marianne". | SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = "Marianne" | CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, firstname VARCHAR) | <s>[INST] Find all the songs produced by artists with first name "Marianne".
context: CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, firstname VARCHAR) [/INST] SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.b... |
what team played on july 9 | SELECT opponent FROM table_name_72 WHERE date = "july 9" | CREATE TABLE table_name_72 (opponent VARCHAR, date VARCHAR) | <s>[INST] what team played on july 9
context: CREATE TABLE table_name_72 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_72 WHERE date = "july 9" </s> |
What is the US release date? | SELECT release_date FROM table_name_5 WHERE location = "us" | CREATE TABLE table_name_5 (release_date VARCHAR, location VARCHAR) | <s>[INST] What is the US release date?
context: CREATE TABLE table_name_5 (release_date VARCHAR, location VARCHAR) [/INST] SELECT release_date FROM table_name_5 WHERE location = "us" </s> |
What school had an enrollment in 2005 of 69? | SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69" | CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR) | <s>[INST] What school had an enrollment in 2005 of 69?
context: CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR) [/INST] SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69" </s> |
What is the name of chapter 8 of season 4? | SELECT title FROM table_26429771_1 WHERE no_in_season = 8 | CREATE TABLE table_26429771_1 (title VARCHAR, no_in_season VARCHAR) | <s>[INST] What is the name of chapter 8 of season 4?
context: CREATE TABLE table_26429771_1 (title VARCHAR, no_in_season VARCHAR) [/INST] SELECT title FROM table_26429771_1 WHERE no_in_season = 8 </s> |
What document type codes do we have? | SELECT document_type_code FROM Ref_Document_Types | CREATE TABLE Ref_Document_Types (document_type_code VARCHAR) | <s>[INST] What document type codes do we have?
context: CREATE TABLE Ref_Document_Types (document_type_code VARCHAR) [/INST] SELECT document_type_code FROM Ref_Document_Types </s> |
What is the premier team that has 38 points and won with a score of 38-0? | SELECT premiers FROM table_name_16 WHERE points = 38 AND score = "38-0" | CREATE TABLE table_name_16 (premiers VARCHAR, points VARCHAR, score VARCHAR) | <s>[INST] What is the premier team that has 38 points and won with a score of 38-0?
context: CREATE TABLE table_name_16 (premiers VARCHAR, points VARCHAR, score VARCHAR) [/INST] SELECT premiers FROM table_name_16 WHERE points = 38 AND score = "38-0" </s> |
Find names of all colleges whose enrollment is greater than that of all colleges in the FL state. | SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL') | CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR) | <s>[INST] Find names of all colleges whose enrollment is greater than that of all colleges in the FL state.
context: CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR) [/INST] SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL') </s> |
What is the total number of title with a u.s. air date of April 17, 2009 | SELECT COUNT(title) FROM table_12294557_3 WHERE us_airdate = "April 17, 2009" | CREATE TABLE table_12294557_3 (title VARCHAR, us_airdate VARCHAR) | <s>[INST] What is the total number of title with a u.s. air date of April 17, 2009
context: CREATE TABLE table_12294557_3 (title VARCHAR, us_airdate VARCHAR) [/INST] SELECT COUNT(title) FROM table_12294557_3 WHERE us_airdate = "April 17, 2009" </s> |
What is the torque formula for the 1.6 Duratec ti-vct model/engine? | SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = "1.6 Duratec Ti-VCT" | CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR) | <s>[INST] What is the torque formula for the 1.6 Duratec ti-vct model/engine?
context: CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR) [/INST] SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = "1.6 Duratec Ti-VCT" </s> |
What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5? | SELECT bulls FROM table_name_58 WHERE oxen > 113.8 AND sheep_and_goats > 4533.4 AND cows < 3987 AND total_horses > 5056.5 | CREATE TABLE table_name_58 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR) | <s>[INST] What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?
context: CREATE TABLE table_name_58 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR) [/INST] SE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.