context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_42 (period_active VARCHAR, artist VARCHAR) | SELECT period_active FROM table_name_42 WHERE artist = "enya" | Name the period active for enya | <s>[INST]Name the period active for enya Context: CREATE TABLE table_name_42 (period_active VARCHAR, artist VARCHAR)[/INST]SELECT period_active FROM table_name_42 WHERE artist = "enya"</s> |
CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_80 WHERE date = "december 2" | What was the final game result that was played on December 2? | <s>[INST]What was the final game result that was played on December 2? Context: CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_80 WHERE date = "december 2"</s> |
CREATE TABLE table_name_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR) | SELECT round FROM table_name_19 WHERE opponent = "wakefield trinity wildcats u21" AND venue = "belle vue" | what round saw wakefield trinity wildcats u21 as the opponenet at belle vue? | <s>[INST]what round saw wakefield trinity wildcats u21 as the opponenet at belle vue? Context: CREATE TABLE table_name_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR)[/INST]SELECT round FROM table_name_19 WHERE opponent = "wakefield trinity wildcats u21" AND venue = "belle vue"</s> |
CREATE TABLE drivers (forename VARCHAR) | SELECT DISTINCT forename FROM drivers ORDER BY forename | List the forenames of all distinct drivers in alphabetical order? | <s>[INST]List the forenames of all distinct drivers in alphabetical order? Context: CREATE TABLE drivers (forename VARCHAR)[/INST]SELECT DISTINCT forename FROM drivers ORDER BY forename</s> |
CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR) | SELECT type FROM table_name_2 WHERE scratch = "750 gb" | What type has a scratch of 750 GB? | <s>[INST]What type has a scratch of 750 GB? Context: CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR)[/INST]SELECT type FROM table_name_2 WHERE scratch = "750 gb"</s> |
CREATE TABLE table_23718905_6 (date VARCHAR, city VARCHAR) | SELECT date FROM table_23718905_6 WHERE city = "El Paso, Texas" | What was the date of the game played in El Paso, Texas? | <s>[INST]What was the date of the game played in El Paso, Texas? Context: CREATE TABLE table_23718905_6 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_23718905_6 WHERE city = "El Paso, Texas"</s> |
CREATE TABLE table_name_7 (league VARCHAR, season VARCHAR) | SELECT league FROM table_name_7 WHERE season = "1958-59" | In the 1958-59 season, what league did the team play in? | <s>[INST]In the 1958-59 season, what league did the team play in? Context: CREATE TABLE table_name_7 (league VARCHAR, season VARCHAR)[/INST]SELECT league FROM table_name_7 WHERE season = "1958-59"</s> |
CREATE TABLE table_name_8 (firefox VARCHAR, netscape VARCHAR) | SELECT firefox FROM table_name_8 WHERE netscape = "*0.77%" | What percentage of users were using Firefox during the period in which *0.77% were using Netscape? | <s>[INST]What percentage of users were using Firefox during the period in which *0.77% were using Netscape? Context: CREATE TABLE table_name_8 (firefox VARCHAR, netscape VARCHAR)[/INST]SELECT firefox FROM table_name_8 WHERE netscape = "*0.77%"</s> |
CREATE TABLE table_17121262_10 (record VARCHAR, team VARCHAR) | SELECT COUNT(record) FROM table_17121262_10 WHERE team = "Washington" | What was the record against Washington? | <s>[INST]What was the record against Washington? Context: CREATE TABLE table_17121262_10 (record VARCHAR, team VARCHAR)[/INST]SELECT COUNT(record) FROM table_17121262_10 WHERE team = "Washington"</s> |
CREATE TABLE table_name_14 (runner_up VARCHAR, score VARCHAR) | SELECT runner_up FROM table_name_14 WHERE score = "kapunda 7-7-49 angaston 6-8-44" | When the Score was kapunda 7-7-49 angaston 6-8-44, who was the Runner-up? | <s>[INST]When the Score was kapunda 7-7-49 angaston 6-8-44, who was the Runner-up? Context: CREATE TABLE table_name_14 (runner_up VARCHAR, score VARCHAR)[/INST]SELECT runner_up FROM table_name_14 WHERE score = "kapunda 7-7-49 angaston 6-8-44"</s> |
CREATE TABLE table_name_66 (number_of_teams VARCHAR, top_goalscorer_s_ VARCHAR, year VARCHAR) | SELECT number_of_teams FROM table_name_66 WHERE top_goalscorer_s_ = "not awarded" AND year = "2007 details" | How many teams were at the 2007 details tournament where there a top goalscorer was not awarded? | <s>[INST]How many teams were at the 2007 details tournament where there a top goalscorer was not awarded? Context: CREATE TABLE table_name_66 (number_of_teams VARCHAR, top_goalscorer_s_ VARCHAR, year VARCHAR)[/INST]SELECT number_of_teams FROM table_name_66 WHERE top_goalscorer_s_ = "not awarded" AND year = "2007 details"</s> |
CREATE TABLE table_1342338_6 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342338_6 WHERE incumbent = "Richard J. Welch" | What is the party for richard j. welch? | <s>[INST]What is the party for richard j. welch? Context: CREATE TABLE table_1342338_6 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1342338_6 WHERE incumbent = "Richard J. Welch"</s> |
CREATE TABLE table_name_33 (runner_s__up VARCHAR) | SELECT 54 AS _holes FROM table_name_33 WHERE runner_s__up = "phil mickelson" | What is the round of 54 holes in which Phil Mickelson was the runner-up? | <s>[INST]What is the round of 54 holes in which Phil Mickelson was the runner-up? Context: CREATE TABLE table_name_33 (runner_s__up VARCHAR)[/INST]SELECT 54 AS _holes FROM table_name_33 WHERE runner_s__up = "phil mickelson"</s> |
CREATE TABLE table_name_39 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_39 WHERE home_team = "adelaide 36ers" | What was the score of the game where the adelaide 36ers were the home team? | <s>[INST]What was the score of the game where the adelaide 36ers were the home team? Context: CREATE TABLE table_name_39 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_39 WHERE home_team = "adelaide 36ers"</s> |
CREATE TABLE table_10321124_1 (shigella VARCHAR, yersinia VARCHAR) | SELECT shigella FROM table_10321124_1 WHERE yersinia = "YscP" | what's the shigella with yersinia being yscp | <s>[INST]what's the shigella with yersinia being yscp Context: CREATE TABLE table_10321124_1 (shigella VARCHAR, yersinia VARCHAR)[/INST]SELECT shigella FROM table_10321124_1 WHERE yersinia = "YscP"</s> |
CREATE TABLE table_262527_1 (nickname VARCHAR, joined VARCHAR) | SELECT nickname FROM table_262527_1 WHERE joined = "1902 1" | what is the nickname that joined 1902 1? | <s>[INST]what is the nickname that joined 1902 1? Context: CREATE TABLE table_262527_1 (nickname VARCHAR, joined VARCHAR)[/INST]SELECT nickname FROM table_262527_1 WHERE joined = "1902 1"</s> |
CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER) | SELECT MAX(games) FROM table_name_69 WHERE drawn > 1 | Name the most games with drawn more than 1 | <s>[INST]Name the most games with drawn more than 1 Context: CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER)[/INST]SELECT MAX(games) FROM table_name_69 WHERE drawn > 1</s> |
CREATE TABLE table_name_90 (club VARCHAR, lost VARCHAR) | SELECT club FROM table_name_90 WHERE lost = "15" | What club had a loss of 15? | <s>[INST]What club had a loss of 15? Context: CREATE TABLE table_name_90 (club VARCHAR, lost VARCHAR)[/INST]SELECT club FROM table_name_90 WHERE lost = "15"</s> |
CREATE TABLE table_name_57 (livery VARCHAR, number VARCHAR) | SELECT livery FROM table_name_57 WHERE number = 31468 | What is the Livery when the Number is 31468? | <s>[INST]What is the Livery when the Number is 31468? Context: CREATE TABLE table_name_57 (livery VARCHAR, number VARCHAR)[/INST]SELECT livery FROM table_name_57 WHERE number = 31468</s> |
CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_45 WHERE date = "7 september" | What is Venue, when Date is "7 September"? | <s>[INST]What is Venue, when Date is "7 September"? Context: CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_45 WHERE date = "7 september"</s> |
CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_name_55 WHERE high_points = "d. mckey (24)" AND score = "l 96-105" | What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"? | <s>[INST]What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"? Context: CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR)[/INST]SELECT location_attendance FROM table_name_55 WHERE high_points = "d. mckey (24)" AND score = "l 96-105"</s> |
CREATE TABLE table_name_90 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_name_90 WHERE nickname = "tigers" | Which location did the Tigers have? | <s>[INST]Which location did the Tigers have? Context: CREATE TABLE table_name_90 (location VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_name_90 WHERE nickname = "tigers"</s> |
CREATE TABLE table_14319023_2 (mixed_doubles VARCHAR, girls_doubles VARCHAR) | SELECT mixed_doubles FROM table_14319023_2 WHERE girls_doubles = "Anneke Feinya Agustin Wenny Setiawati" | When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles? | <s>[INST]When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles? Context: CREATE TABLE table_14319023_2 (mixed_doubles VARCHAR, girls_doubles VARCHAR)[/INST]SELECT mixed_doubles FROM table_14319023_2 WHERE girls_doubles = "Anneke Feinya Agustin Wenny Setiawati"</s> |
CREATE TABLE table_name_52 (starts INTEGER, tournament VARCHAR, wins VARCHAR) | SELECT SUM(starts) FROM table_name_52 WHERE tournament = "hsbc champions" AND wins < 0 | In the tournament of HSBC Champions, what was the sum of the Starts with Wins lower than 0? | <s>[INST]In the tournament of HSBC Champions, what was the sum of the Starts with Wins lower than 0? Context: CREATE TABLE table_name_52 (starts INTEGER, tournament VARCHAR, wins VARCHAR)[/INST]SELECT SUM(starts) FROM table_name_52 WHERE tournament = "hsbc champions" AND wins < 0</s> |
CREATE TABLE table_name_7 (location VARCHAR, built VARCHAR, name VARCHAR) | SELECT location FROM table_name_7 WHERE built < 1872 AND name = "durfee mill no. 1" | What is the location of the Durfee Mill No. 1, built before 1872 ? | <s>[INST]What is the location of the Durfee Mill No. 1, built before 1872 ? Context: CREATE TABLE table_name_7 (location VARCHAR, built VARCHAR, name VARCHAR)[/INST]SELECT location FROM table_name_7 WHERE built < 1872 AND name = "durfee mill no. 1"</s> |
CREATE TABLE table_name_20 (party VARCHAR, election VARCHAR, inhabitants VARCHAR) | SELECT party FROM table_name_20 WHERE election > 2012 AND inhabitants > 241 OFFSET 310 | What party has more than 241,310 inhabitants after 2012? | <s>[INST]What party has more than 241,310 inhabitants after 2012? Context: CREATE TABLE table_name_20 (party VARCHAR, election VARCHAR, inhabitants VARCHAR)[/INST]SELECT party FROM table_name_20 WHERE election > 2012 AND inhabitants > 241 OFFSET 310</s> |
CREATE TABLE table_name_53 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_53 WHERE player = "heath slocum" | what is the place for Heath Slocum? | <s>[INST]what is the place for Heath Slocum? Context: CREATE TABLE table_name_53 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_53 WHERE player = "heath slocum"</s> |
CREATE TABLE table_name_68 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, previous_team VARCHAR) | SELECT career_with_the_franchise_[b_] FROM table_name_68 WHERE previous_team = "new jersey nets" | What is Career with the franchise [b ], when Previous Team is "New Jersey Nets"? | <s>[INST]What is Career with the franchise [b ], when Previous Team is "New Jersey Nets"? Context: CREATE TABLE table_name_68 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, previous_team VARCHAR)[/INST]SELECT career_with_the_franchise_[b_] FROM table_name_68 WHERE previous_team = "new jersey nets"</s> |
CREATE TABLE table_name_34 (team_record VARCHAR, attendance VARCHAR) | SELECT team_record FROM table_name_34 WHERE attendance = "16,151" | What is Team Record, when Attendance is 16,151? | <s>[INST]What is Team Record, when Attendance is 16,151? Context: CREATE TABLE table_name_34 (team_record VARCHAR, attendance VARCHAR)[/INST]SELECT team_record FROM table_name_34 WHERE attendance = "16,151"</s> |
CREATE TABLE table_name_5 (tournament VARCHAR) | SELECT 2011 FROM table_name_5 WHERE 2008 = "1r" AND tournament = "paris masters" | What is the 2011 value for the paris masters tournament with 1r in 2008? | <s>[INST]What is the 2011 value for the paris masters tournament with 1r in 2008? Context: CREATE TABLE table_name_5 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_5 WHERE 2008 = "1r" AND tournament = "paris masters"</s> |
CREATE TABLE table_name_4 (venue VARCHAR, round VARCHAR) | SELECT venue FROM table_name_4 WHERE round = "sf" | What venue had SF? | <s>[INST]What venue had SF? Context: CREATE TABLE table_name_4 (venue VARCHAR, round VARCHAR)[/INST]SELECT venue FROM table_name_4 WHERE round = "sf"</s> |
CREATE TABLE table_name_89 (grid INTEGER, laps VARCHAR, rank VARCHAR) | SELECT MAX(grid) FROM table_name_89 WHERE laps > 137 AND rank < 8 | Name the highest grid for Laps more than 137 and rank is less than 8 | <s>[INST]Name the highest grid for Laps more than 137 and rank is less than 8 Context: CREATE TABLE table_name_89 (grid INTEGER, laps VARCHAR, rank VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_89 WHERE laps > 137 AND rank < 8</s> |
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR) | SELECT points FROM table_10160447_1 WHERE driver = "Mark Martin" | what's the points with driver mark martin | <s>[INST]what's the points with driver mark martin Context: CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR)[/INST]SELECT points FROM table_10160447_1 WHERE driver = "Mark Martin"</s> |
CREATE TABLE table_name_88 (series VARCHAR, game VARCHAR) | SELECT series FROM table_name_88 WHERE game = 4 | what is the series for game 4? | <s>[INST]what is the series for game 4? Context: CREATE TABLE table_name_88 (series VARCHAR, game VARCHAR)[/INST]SELECT series FROM table_name_88 WHERE game = 4</s> |
CREATE TABLE table_name_3 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT championship FROM table_name_3 WHERE surface = "clay" AND opponent_in_the_final = "vitas gerulaitis" | What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface? | <s>[INST]What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface? Context: CREATE TABLE table_name_3 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT championship FROM table_name_3 WHERE surface = "clay" AND opponent_in_the_final = "vitas gerulaitis"</s> |
CREATE TABLE table_14984050_1 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_14984050_1 WHERE attendance = 50073 | Name the number of weeks for 50073 attendance | <s>[INST]Name the number of weeks for 50073 attendance Context: CREATE TABLE table_14984050_1 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_14984050_1 WHERE attendance = 50073</s> |
CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ INTEGER) | SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ > 339333.011497678 | Which charts had debut sales of of more than 339333.011497678? | <s>[INST]Which charts had debut sales of of more than 339333.011497678? Context: CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ INTEGER)[/INST]SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ > 339333.011497678</s> |
CREATE TABLE table_name_46 (boiling_point VARCHAR, density VARCHAR) | SELECT boiling_point FROM table_name_46 WHERE density = "1.092 g/ml" | What's the boiling point when the density is 1.092 g/ml? | <s>[INST]What's the boiling point when the density is 1.092 g/ml? Context: CREATE TABLE table_name_46 (boiling_point VARCHAR, density VARCHAR)[/INST]SELECT boiling_point FROM table_name_46 WHERE density = "1.092 g/ml"</s> |
CREATE TABLE table_name_81 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_81 WHERE college = "arizona state" | who is the player from arizona state? | <s>[INST]who is the player from arizona state? Context: CREATE TABLE table_name_81 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_81 WHERE college = "arizona state"</s> |
CREATE TABLE table_name_91 (_number_of_episodes INTEGER, character VARCHAR) | SELECT SUM(_number_of_episodes) FROM table_name_91 WHERE character = "nick lucas" | How many episodes had the character of Nick Lucas? | <s>[INST]How many episodes had the character of Nick Lucas? Context: CREATE TABLE table_name_91 (_number_of_episodes INTEGER, character VARCHAR)[/INST]SELECT SUM(_number_of_episodes) FROM table_name_91 WHERE character = "nick lucas"</s> |
CREATE TABLE table_21321804_1 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_21321804_1 WHERE college = "Manitoba" | Which cfl team is manitoba college? | <s>[INST]Which cfl team is manitoba college? Context: CREATE TABLE table_21321804_1 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_21321804_1 WHERE college = "Manitoba"</s> |
CREATE TABLE table_name_45 (appointed_by VARCHAR, presentation_of_credentials VARCHAR) | SELECT appointed_by FROM table_name_45 WHERE presentation_of_credentials = "november 22, 1990" | Which Appointed has a Presentation of Credentials on November 22, 1990 | <s>[INST]Which Appointed has a Presentation of Credentials on November 22, 1990 Context: CREATE TABLE table_name_45 (appointed_by VARCHAR, presentation_of_credentials VARCHAR)[/INST]SELECT appointed_by FROM table_name_45 WHERE presentation_of_credentials = "november 22, 1990"</s> |
CREATE TABLE table_name_98 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_98 WHERE date = "2007-09-29" | Tell me the result for 2007-09-29 | <s>[INST]Tell me the result for 2007-09-29 Context: CREATE TABLE table_name_98 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_98 WHERE date = "2007-09-29"</s> |
CREATE TABLE table_name_95 (class VARCHAR, wheels VARCHAR, no_built VARCHAR) | SELECT class FROM table_name_95 WHERE wheels = "4-4-0" AND no_built < 40 | What class has 4-4-0 wheels and was less than number 40 built? | <s>[INST]What class has 4-4-0 wheels and was less than number 40 built? Context: CREATE TABLE table_name_95 (class VARCHAR, wheels VARCHAR, no_built VARCHAR)[/INST]SELECT class FROM table_name_95 WHERE wheels = "4-4-0" AND no_built < 40</s> |
CREATE TABLE table_name_93 (total INTEGER, player VARCHAR) | SELECT SUM(total) FROM table_name_93 WHERE player = "wayne grady" | What is Wayne Grady's total? | <s>[INST]What is Wayne Grady's total? Context: CREATE TABLE table_name_93 (total INTEGER, player VARCHAR)[/INST]SELECT SUM(total) FROM table_name_93 WHERE player = "wayne grady"</s> |
CREATE TABLE table_name_47 (evening_gown INTEGER, preliminaries VARCHAR, swimsuit VARCHAR, state VARCHAR) | SELECT AVG(evening_gown) FROM table_name_47 WHERE swimsuit < 8.703 AND state = "new york" AND preliminaries > 8.292 | What is the average evening gown score of the contestant from New York with a swimsuit score less than 8.703 and preliminaries larger than 8.292? | <s>[INST]What is the average evening gown score of the contestant from New York with a swimsuit score less than 8.703 and preliminaries larger than 8.292? Context: CREATE TABLE table_name_47 (evening_gown INTEGER, preliminaries VARCHAR, swimsuit VARCHAR, state VARCHAR)[/INST]SELECT AVG(evening_gown) FROM table_name_47 WHERE swimsuit < 8.703 AND state = "new york" AND preliminaries > 8.292</s> |
CREATE TABLE table_name_10 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_10 WHERE player = "john flatters" | What is John Flatters' nationality? | <s>[INST]What is John Flatters' nationality? Context: CREATE TABLE table_name_10 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_10 WHERE player = "john flatters"</s> |
CREATE TABLE table_name_22 (skip VARCHAR, third VARCHAR) | SELECT skip FROM table_name_22 WHERE third = "martina baumann" | What skip has martina baumann as the third? | <s>[INST]What skip has martina baumann as the third? Context: CREATE TABLE table_name_22 (skip VARCHAR, third VARCHAR)[/INST]SELECT skip FROM table_name_22 WHERE third = "martina baumann"</s> |
CREATE TABLE table_13282157_3 (points VARCHAR, country VARCHAR) | SELECT COUNT(points) FROM table_13282157_3 WHERE country = "South Korea" | Name the number of points for south korea | <s>[INST]Name the number of points for south korea Context: CREATE TABLE table_13282157_3 (points VARCHAR, country VARCHAR)[/INST]SELECT COUNT(points) FROM table_13282157_3 WHERE country = "South Korea"</s> |
CREATE TABLE table_name_9 (transfer_fee VARCHAR, country VARCHAR, transfer_window VARCHAR, type VARCHAR) | SELECT transfer_fee FROM table_name_9 WHERE transfer_window = "summer" AND type = "transfer" AND country = "hun" | What is the transfer fee when summer is the transfer window, the type is transfer and the country is Hun? | <s>[INST]What is the transfer fee when summer is the transfer window, the type is transfer and the country is Hun? Context: CREATE TABLE table_name_9 (transfer_fee VARCHAR, country VARCHAR, transfer_window VARCHAR, type VARCHAR)[/INST]SELECT transfer_fee FROM table_name_9 WHERE transfer_window = "summer" AND type = "transfer" AND country = "hun"</s> |
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_37 WHERE opponent = "jeff williams" | what is the record when the opponent is jeff williams? | <s>[INST]what is the record when the opponent is jeff williams? Context: CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_37 WHERE opponent = "jeff williams"</s> |
CREATE TABLE table_name_17 (opponent VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_17 WHERE event = "iscf - southeast championships" | What is Opponent, when Event is "ISCF - Southeast Championships"? | <s>[INST]What is Opponent, when Event is "ISCF - Southeast Championships"? Context: CREATE TABLE table_name_17 (opponent VARCHAR, event VARCHAR)[/INST]SELECT opponent FROM table_name_17 WHERE event = "iscf - southeast championships"</s> |
CREATE TABLE table_name_56 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_56 WHERE record = "4-4" | Who did the Cubs play when they had a record of 4-4? | <s>[INST]Who did the Cubs play when they had a record of 4-4? Context: CREATE TABLE table_name_56 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_56 WHERE record = "4-4"</s> |
CREATE TABLE table_name_19 (performer_3 VARCHAR, performer_2 VARCHAR) | SELECT performer_3 FROM table_name_19 WHERE performer_2 = "christopher smith" | Who was the 3rd performer when christopher smith was the 2nd performer? | <s>[INST]Who was the 3rd performer when christopher smith was the 2nd performer? Context: CREATE TABLE table_name_19 (performer_3 VARCHAR, performer_2 VARCHAR)[/INST]SELECT performer_3 FROM table_name_19 WHERE performer_2 = "christopher smith"</s> |
CREATE TABLE table_name_72 (icao VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_72 WHERE iata = "cts" | What is the ICAO when the IATA shows cts? | <s>[INST]What is the ICAO when the IATA shows cts? Context: CREATE TABLE table_name_72 (icao VARCHAR, iata VARCHAR)[/INST]SELECT icao FROM table_name_72 WHERE iata = "cts"</s> |
CREATE TABLE table_name_64 (location VARCHAR, county VARCHAR) | SELECT location FROM table_name_64 WHERE county = "platte" | What's the location for the country of platte? | <s>[INST]What's the location for the country of platte? Context: CREATE TABLE table_name_64 (location VARCHAR, county VARCHAR)[/INST]SELECT location FROM table_name_64 WHERE county = "platte"</s> |
CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_52 WHERE score = 69 - 70 - 68 - 73 = 280 | What player has 69-70-68-73=280 as the score? | <s>[INST]What player has 69-70-68-73=280 as the score? Context: CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_52 WHERE score = 69 - 70 - 68 - 73 = 280</s> |
CREATE TABLE table_name_62 (name VARCHAR, snatch VARCHAR, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR) | SELECT name FROM table_name_62 WHERE snatch > 140 AND bodyweight < 84.55 AND clean_ & _jerk = "192.5" | What's the name of the athlete with a Snatch larger than 140, Bodyweight smaller than 84.55, and Clean and Jerk of 192.5? | <s>[INST]What's the name of the athlete with a Snatch larger than 140, Bodyweight smaller than 84.55, and Clean and Jerk of 192.5? Context: CREATE TABLE table_name_62 (name VARCHAR, snatch VARCHAR, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)[/INST]SELECT name FROM table_name_62 WHERE snatch > 140 AND bodyweight < 84.55 AND clean_ & _jerk = "192.5"</s> |
CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_95 WHERE round = 27 | What Position has a Round of 27? | <s>[INST]What Position has a Round of 27? Context: CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR)[/INST]SELECT position FROM table_name_95 WHERE round = 27</s> |
CREATE TABLE table_14609295_4 (season VARCHAR, overall VARCHAR) | SELECT season FROM table_14609295_4 WHERE overall = "24-10" | What season was the overall record 24-10? | <s>[INST]What season was the overall record 24-10? Context: CREATE TABLE table_14609295_4 (season VARCHAR, overall VARCHAR)[/INST]SELECT season FROM table_14609295_4 WHERE overall = "24-10"</s> |
CREATE TABLE table_name_17 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_17 WHERE week = 15 | WHAT WAS THE ATTENDANCE FOR WEEK 15? | <s>[INST]WHAT WAS THE ATTENDANCE FOR WEEK 15? Context: CREATE TABLE table_name_17 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_17 WHERE week = 15</s> |
CREATE TABLE table_15700367_4 (runs_conceded INTEGER, name VARCHAR) | SELECT MIN(runs_conceded) FROM table_15700367_4 WHERE name = "Brett Lee" | Name the least runs conceded for brett lee | <s>[INST]Name the least runs conceded for brett lee Context: CREATE TABLE table_15700367_4 (runs_conceded INTEGER, name VARCHAR)[/INST]SELECT MIN(runs_conceded) FROM table_15700367_4 WHERE name = "Brett Lee"</s> |
CREATE TABLE table_name_23 (title VARCHAR, recorded VARCHAR, track VARCHAR) | SELECT title FROM table_name_23 WHERE recorded = "1959-09-15" AND track = 7 | Which track 7 title was recorded in 1959-09-15? | <s>[INST]Which track 7 title was recorded in 1959-09-15? Context: CREATE TABLE table_name_23 (title VARCHAR, recorded VARCHAR, track VARCHAR)[/INST]SELECT title FROM table_name_23 WHERE recorded = "1959-09-15" AND track = 7</s> |
CREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_96 WHERE date = "april 5, 1995" | On the final date of April 5, 1995, what was the score? | <s>[INST]On the final date of April 5, 1995, what was the score? Context: CREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_96 WHERE date = "april 5, 1995"</s> |
CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR) | SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar" | What is the Sr. number of Banikhet Dalhouse Khajiar? | <s>[INST]What is the Sr. number of Banikhet Dalhouse Khajiar? Context: CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR)[/INST]SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar"</s> |
CREATE TABLE table_name_94 (gold INTEGER, country VARCHAR, total VARCHAR) | SELECT MAX(gold) FROM table_name_94 WHERE country = "cambodia" AND total < 1 | What is the highest gold for Cambodia when the total is less than 1? | <s>[INST]What is the highest gold for Cambodia when the total is less than 1? Context: CREATE TABLE table_name_94 (gold INTEGER, country VARCHAR, total VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_94 WHERE country = "cambodia" AND total < 1</s> |
CREATE TABLE table_name_12 (firefox_ VARCHAR, _other_mozilla VARCHAR, chrome VARCHAR) | SELECT firefox_, _other_mozilla FROM table_name_12 WHERE chrome = "1.93%" | What percentage of browsers were using Firefox or other Mozilla browsers during the period in which 1.93% were using Chrome? | <s>[INST]What percentage of browsers were using Firefox or other Mozilla browsers during the period in which 1.93% were using Chrome? Context: CREATE TABLE table_name_12 (firefox_ VARCHAR, _other_mozilla VARCHAR, chrome VARCHAR)[/INST]SELECT firefox_, _other_mozilla FROM table_name_12 WHERE chrome = "1.93%"</s> |
CREATE TABLE table_name_3 (penanced VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR) | SELECT penanced FROM table_name_3 WHERE number_of_autos_da_fé_with_known_sentences = "71 (1600–1773)" | How many were penanced when the number with known sentences was 71 (1600–1773)? | <s>[INST]How many were penanced when the number with known sentences was 71 (1600–1773)? Context: CREATE TABLE table_name_3 (penanced VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR)[/INST]SELECT penanced FROM table_name_3 WHERE number_of_autos_da_fé_with_known_sentences = "71 (1600–1773)"</s> |
CREATE TABLE table_12995531_3 (episode_number INTEGER, total_viewers VARCHAR) | SELECT MIN(episode_number) FROM table_12995531_3 WHERE total_viewers = 614000 | what is the episode number where the total viewers is 614000? | <s>[INST]what is the episode number where the total viewers is 614000? Context: CREATE TABLE table_12995531_3 (episode_number INTEGER, total_viewers VARCHAR)[/INST]SELECT MIN(episode_number) FROM table_12995531_3 WHERE total_viewers = 614000</s> |
CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR) | SELECT county FROM table_name_3 WHERE year_left = "1993" | From what county was the team that left the conference in 1993? | <s>[INST]From what county was the team that left the conference in 1993? Context: CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR)[/INST]SELECT county FROM table_name_3 WHERE year_left = "1993"</s> |
CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR) | SELECT COUNT(original_artist) FROM table_26250176_1 WHERE theme = "Group Performance" | How many original artists were there for the Group Performance? | <s>[INST]How many original artists were there for the Group Performance? Context: CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR)[/INST]SELECT COUNT(original_artist) FROM table_26250176_1 WHERE theme = "Group Performance"</s> |
CREATE TABLE table_20361783_1 (year INTEGER, womens_singles VARCHAR) | SELECT MIN(year) FROM table_20361783_1 WHERE womens_singles = "Li Xuerui" | state the earliest year li xuerui won womens singles | <s>[INST]state the earliest year li xuerui won womens singles Context: CREATE TABLE table_20361783_1 (year INTEGER, womens_singles VARCHAR)[/INST]SELECT MIN(year) FROM table_20361783_1 WHERE womens_singles = "Li Xuerui"</s> |
CREATE TABLE table_25751274_2 (episode_number VARCHAR, rating VARCHAR) | SELECT COUNT(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 0.7 / 2 AND rating = "2.1" | How many episodes had rating/share (18-49) of 0.7/2 and a rating of 2.1? | <s>[INST]How many episodes had rating/share (18-49) of 0.7/2 and a rating of 2.1? Context: CREATE TABLE table_25751274_2 (episode_number VARCHAR, rating VARCHAR)[/INST]SELECT COUNT(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 0.7 / 2 AND rating = "2.1"</s> |
CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR) | SELECT hometown FROM table_29598261_1 WHERE name = "Mike Ladd" | what is the hometown for mike ladd? | <s>[INST]what is the hometown for mike ladd? Context: CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR)[/INST]SELECT hometown FROM table_29598261_1 WHERE name = "Mike Ladd"</s> |
CREATE TABLE table_name_43 (category VARCHAR, nominated_work VARCHAR, award VARCHAR) | SELECT category FROM table_name_43 WHERE nominated_work = "cecilie" AND award = "robert award" | What category is the nominated work of cecilie, winner of the robert award? | <s>[INST]What category is the nominated work of cecilie, winner of the robert award? Context: CREATE TABLE table_name_43 (category VARCHAR, nominated_work VARCHAR, award VARCHAR)[/INST]SELECT category FROM table_name_43 WHERE nominated_work = "cecilie" AND award = "robert award"</s> |
CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR) | SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo" | Who is the lead of the nation with Juha Pekaristo as the alternate? | <s>[INST]Who is the lead of the nation with Juha Pekaristo as the alternate? Context: CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR)[/INST]SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo"</s> |
CREATE TABLE table_name_38 (Champions INTEGER, league INTEGER) | SELECT AVG(Champions) AS league FROM table_name_38 WHERE league < 4 | What is the average Champions League assists for the players with League assists under 4? | <s>[INST]What is the average Champions League assists for the players with League assists under 4? Context: CREATE TABLE table_name_38 (Champions INTEGER, league INTEGER)[/INST]SELECT AVG(Champions) AS league FROM table_name_38 WHERE league < 4</s> |
CREATE TABLE table_name_10 (date VARCHAR, winner VARCHAR, race_title VARCHAR) | SELECT date FROM table_name_10 WHERE winner = "dick johnson" AND race_title = "calder" | On what date did Dick Johnson with at Calder? | <s>[INST]On what date did Dick Johnson with at Calder? Context: CREATE TABLE table_name_10 (date VARCHAR, winner VARCHAR, race_title VARCHAR)[/INST]SELECT date FROM table_name_10 WHERE winner = "dick johnson" AND race_title = "calder"</s> |
CREATE TABLE table_name_63 (location VARCHAR, type VARCHAR, date VARCHAR, year VARCHAR, president VARCHAR) | SELECT location FROM table_name_63 WHERE year > 2011 AND president = "herman van rompuy (2nd term)" AND date = "28–29 june" AND type = "scheduled" | What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled? | <s>[INST]What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled? Context: CREATE TABLE table_name_63 (location VARCHAR, type VARCHAR, date VARCHAR, year VARCHAR, president VARCHAR)[/INST]SELECT location FROM table_name_63 WHERE year > 2011 AND president = "herman van rompuy (2nd term)" AND date = "28–29 june" AND type = "scheduled"</s> |
CREATE TABLE table_name_94 (goals VARCHAR, caps VARCHAR) | SELECT goals FROM table_name_94 WHERE caps = 93 | Caps of 93 had how many goals? | <s>[INST]Caps of 93 had how many goals? Context: CREATE TABLE table_name_94 (goals VARCHAR, caps VARCHAR)[/INST]SELECT goals FROM table_name_94 WHERE caps = 93</s> |
CREATE TABLE table_name_84 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_84 WHERE opponent_in_the_final = "wen-hsin hsu" | What date did Namigata play against Wen-Hsin Hsu in the finals? | <s>[INST]What date did Namigata play against Wen-Hsin Hsu in the finals? Context: CREATE TABLE table_name_84 (date VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_84 WHERE opponent_in_the_final = "wen-hsin hsu"</s> |
CREATE TABLE table_name_23 (round INTEGER, overall VARCHAR) | SELECT AVG(round) FROM table_name_23 WHERE overall = "138" | What is the average round of a player with an overall of 138? | <s>[INST]What is the average round of a player with an overall of 138? Context: CREATE TABLE table_name_23 (round INTEGER, overall VARCHAR)[/INST]SELECT AVG(round) FROM table_name_23 WHERE overall = "138"</s> |
CREATE TABLE table_2009095_2 (surface VARCHAR, championship VARCHAR, outcome VARCHAR) | SELECT surface FROM table_2009095_2 WHERE championship = "Australian Open" AND outcome = "Winner" | Name the surface for australian open for winner | <s>[INST]Name the surface for australian open for winner Context: CREATE TABLE table_2009095_2 (surface VARCHAR, championship VARCHAR, outcome VARCHAR)[/INST]SELECT surface FROM table_2009095_2 WHERE championship = "Australian Open" AND outcome = "Winner"</s> |
CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_41 WHERE home_team = "sydney" | When the Home Team was Sydney, what did the Away team score? | <s>[INST]When the Home Team was Sydney, what did the Away team score? Context: CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_41 WHERE home_team = "sydney"</s> |
CREATE TABLE table_name_79 (first_member VARCHAR, election VARCHAR) | SELECT first_member FROM table_name_79 WHERE election = "1868" | Who is the first member in the 1868 election? | <s>[INST]Who is the first member in the 1868 election? Context: CREATE TABLE table_name_79 (first_member VARCHAR, election VARCHAR)[/INST]SELECT first_member FROM table_name_79 WHERE election = "1868"</s> |
CREATE TABLE table_name_97 (place VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT place FROM table_name_97 WHERE to_par = "+1" AND score = 74 - 70 - 69 - 72 = 285 | What is the Place of the Player with a To par of +1 and Score of 74-70-69-72=285? | <s>[INST]What is the Place of the Player with a To par of +1 and Score of 74-70-69-72=285? Context: CREATE TABLE table_name_97 (place VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_97 WHERE to_par = "+1" AND score = 74 - 70 - 69 - 72 = 285</s> |
CREATE TABLE table_name_29 (draw INTEGER, result VARCHAR) | SELECT AVG(draw) FROM table_name_29 WHERE result = "10%" | What's the draw having the result of 10%? | <s>[INST]What's the draw having the result of 10%? Context: CREATE TABLE table_name_29 (draw INTEGER, result VARCHAR)[/INST]SELECT AVG(draw) FROM table_name_29 WHERE result = "10%"</s> |
CREATE TABLE table_name_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_84 WHERE laps < 200 AND finish = "26" | What rank had less than 200 laps with a finish of 26? | <s>[INST]What rank had less than 200 laps with a finish of 26? Context: CREATE TABLE table_name_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR)[/INST]SELECT rank FROM table_name_84 WHERE laps < 200 AND finish = "26"</s> |
CREATE TABLE table_name_50 (school VARCHAR, round VARCHAR, position VARCHAR, pick VARCHAR) | SELECT school FROM table_name_50 WHERE position = "linebacker" AND pick < 245 AND round = 6 | From what school was the linebacker that had a pick less than 245 and was drafted in round 6? | <s>[INST]From what school was the linebacker that had a pick less than 245 and was drafted in round 6? Context: CREATE TABLE table_name_50 (school VARCHAR, round VARCHAR, position VARCHAR, pick VARCHAR)[/INST]SELECT school FROM table_name_50 WHERE position = "linebacker" AND pick < 245 AND round = 6</s> |
CREATE TABLE table_25244412_2 (state VARCHAR, total_electricity__gw·h_ VARCHAR) | SELECT state FROM table_25244412_2 WHERE total_electricity__gw·h_ = 38380 | What was the state with the total electricity generated is 38380 gw-h? | <s>[INST]What was the state with the total electricity generated is 38380 gw-h? Context: CREATE TABLE table_25244412_2 (state VARCHAR, total_electricity__gw·h_ VARCHAR)[/INST]SELECT state FROM table_25244412_2 WHERE total_electricity__gw·h_ = 38380</s> |
CREATE TABLE table_name_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR) | SELECT competition FROM table_name_75 WHERE notes = "400 m hurdles" AND year < 2004 AND venue = "johannesburg, south africa" | Prior to 2004, what was the name of the competition that took place in Johannesburg, South Africa and had the 400 m hurdles event? | <s>[INST]Prior to 2004, what was the name of the competition that took place in Johannesburg, South Africa and had the 400 m hurdles event? Context: CREATE TABLE table_name_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR)[/INST]SELECT competition FROM table_name_75 WHERE notes = "400 m hurdles" AND year < 2004 AND venue = "johannesburg, south africa"</s> |
CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR) | SELECT COUNT(air_date) FROM table_25816476_2 WHERE team_guest_captain = "Stephen K Amos" | How many entries are shown for an air date when the team guest captain was stephen k amos? | <s>[INST]How many entries are shown for an air date when the team guest captain was stephen k amos? Context: CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR)[/INST]SELECT COUNT(air_date) FROM table_25816476_2 WHERE team_guest_captain = "Stephen K Amos"</s> |
CREATE TABLE table_name_8 (total_points INTEGER, draw VARCHAR, artist VARCHAR) | SELECT MIN(total_points) FROM table_name_8 WHERE draw < 4 AND artist = "karine trécy" | What is the lowest total points Karine Trécy has with less than 4 draws? | <s>[INST]What is the lowest total points Karine Trécy has with less than 4 draws? Context: CREATE TABLE table_name_8 (total_points INTEGER, draw VARCHAR, artist VARCHAR)[/INST]SELECT MIN(total_points) FROM table_name_8 WHERE draw < 4 AND artist = "karine trécy"</s> |
CREATE TABLE table_27435931_1 (elevation_m VARCHAR, year VARCHAR) | SELECT elevation_m FROM table_27435931_1 WHERE year = "September 2009" | what was the elevation in september 2009? | <s>[INST]what was the elevation in september 2009? Context: CREATE TABLE table_27435931_1 (elevation_m VARCHAR, year VARCHAR)[/INST]SELECT elevation_m FROM table_27435931_1 WHERE year = "September 2009"</s> |
CREATE TABLE table_name_45 (total VARCHAR) | SELECT 2009 FROM table_name_45 WHERE total = 1 AND 2004 = "7th" | Which 2009 year has a total of 1, and 2004 year of 7th? | <s>[INST]Which 2009 year has a total of 1, and 2004 year of 7th? Context: CREATE TABLE table_name_45 (total VARCHAR)[/INST]SELECT 2009 FROM table_name_45 WHERE total = 1 AND 2004 = "7th"</s> |
CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_73 WHERE driver = "luca badoer" AND laps > 69 | Tell me the average Grid for driver of Luca Badoer and Laps more than 69 | <s>[INST]Tell me the average Grid for driver of Luca Badoer and Laps more than 69 Context: CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_73 WHERE driver = "luca badoer" AND laps > 69</s> |
CREATE TABLE table_name_46 (wheel_arrangement VARCHAR, fleet_number_s_ VARCHAR) | SELECT wheel_arrangement FROM table_name_46 WHERE fleet_number_s_ = "45–46" | What wheel arrangement has a fleet number(s) of 45–46? | <s>[INST]What wheel arrangement has a fleet number(s) of 45–46? Context: CREATE TABLE table_name_46 (wheel_arrangement VARCHAR, fleet_number_s_ VARCHAR)[/INST]SELECT wheel_arrangement FROM table_name_46 WHERE fleet_number_s_ = "45–46"</s> |
CREATE TABLE table_name_90 (model VARCHAR, byte_string VARCHAR, floating_point VARCHAR) | SELECT model FROM table_name_90 WHERE byte_string = "standard" AND floating_point = "standard" | What model has both a standard byte string and floating-point? | <s>[INST]What model has both a standard byte string and floating-point? Context: CREATE TABLE table_name_90 (model VARCHAR, byte_string VARCHAR, floating_point VARCHAR)[/INST]SELECT model FROM table_name_90 WHERE byte_string = "standard" AND floating_point = "standard"</s> |
CREATE TABLE table_name_21 (democratic_votes VARCHAR, other_votes VARCHAR, _percentage_of_r_votes VARCHAR) | SELECT COUNT(democratic_votes) FROM table_name_21 WHERE other_votes < 18 AND _percentage_of_r_votes = "52.63% ANd_votes_since_1856 < 38" | Name the total number of democratic votes when the other votes are less than 18 and the percentage of R votes are 52.63% and votes since 1856 less than 38 | <s>[INST]Name the total number of democratic votes when the other votes are less than 18 and the percentage of R votes are 52.63% and votes since 1856 less than 38 Context: CREATE TABLE table_name_21 (democratic_votes VARCHAR, other_votes VARCHAR, _percentage_of_r_votes VARCHAR)[/INST]SELECT COUNT(democratic_votes) FROM table_name_21 WHERE other_votes < 18 AND _percentage_of_r_votes = "52.63% ANd_votes_since_1856 < 38"</s> |
CREATE TABLE table_name_1 (construction_completed VARCHAR, cerclis_id VARCHAR) | SELECT construction_completed FROM table_name_1 WHERE cerclis_id = "ard092916188" | What construction has a CERCLIS ID of ard092916188? | <s>[INST]What construction has a CERCLIS ID of ard092916188? Context: CREATE TABLE table_name_1 (construction_completed VARCHAR, cerclis_id VARCHAR)[/INST]SELECT construction_completed FROM table_name_1 WHERE cerclis_id = "ard092916188"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.