context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_91 (stadium VARCHAR, team VARCHAR)
SELECT stadium FROM table_name_91 WHERE team = "vfb stuttgart ii"
What is VFB Stuttgart II Team's Stadiuim?
<s>[INST]What is VFB Stuttgart II Team's Stadiuim? Context: CREATE TABLE table_name_91 (stadium VARCHAR, team VARCHAR)[/INST]SELECT stadium FROM table_name_91 WHERE team = "vfb stuttgart ii"</s>
CREATE TABLE table_28797906_3 (wickets VARCHAR, economy VARCHAR)
SELECT wickets FROM table_28797906_3 WHERE economy = "3.64"
How many wickets was there when the economy was 3.64?
<s>[INST]How many wickets was there when the economy was 3.64? Context: CREATE TABLE table_28797906_3 (wickets VARCHAR, economy VARCHAR)[/INST]SELECT wickets FROM table_28797906_3 WHERE economy = "3.64"</s>
CREATE TABLE table_name_7 (school VARCHAR, pick VARCHAR, player VARCHAR)
SELECT school FROM table_name_7 WHERE pick > 225 AND player = "victor jones"
What is the school of Victor Jones, who was picked further than number 225?
<s>[INST]What is the school of Victor Jones, who was picked further than number 225? Context: CREATE TABLE table_name_7 (school VARCHAR, pick VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_7 WHERE pick > 225 AND player = "victor jones"</s>
CREATE TABLE table_1167698_1 (third_place VARCHAR, runner_up VARCHAR)
SELECT third_place FROM table_1167698_1 WHERE runner_up = "Dynamo Moscow"
Who won third place with the runner up being dynamo moscow?
<s>[INST]Who won third place with the runner up being dynamo moscow? Context: CREATE TABLE table_1167698_1 (third_place VARCHAR, runner_up VARCHAR)[/INST]SELECT third_place FROM table_1167698_1 WHERE runner_up = "Dynamo Moscow"</s>
CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR)
SELECT conflict FROM table_1921_1 WHERE location = "Yemen"
Which conflicts took place in Yemen?
<s>[INST]Which conflicts took place in Yemen? Context: CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR)[/INST]SELECT conflict FROM table_1921_1 WHERE location = "Yemen"</s>
CREATE TABLE table_17058116_5 (location_attendance VARCHAR, game VARCHAR)
SELECT COUNT(location_attendance) FROM table_17058116_5 WHERE game = 13
In how many locations did Game 13 take place?
<s>[INST]In how many locations did Game 13 take place? Context: CREATE TABLE table_17058116_5 (location_attendance VARCHAR, game VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_17058116_5 WHERE game = 13</s>
CREATE TABLE table_name_57 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_57 WHERE home = "ny islanders" AND date = "october 20"
What was the score of the game on October 20 when the home team is the NY Islanders?
<s>[INST]What was the score of the game on October 20 when the home team is the NY Islanders? Context: CREATE TABLE table_name_57 (score VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_57 WHERE home = "ny islanders" AND date = "october 20"</s>
CREATE TABLE table_name_2 (result VARCHAR, year VARCHAR, round VARCHAR)
SELECT result FROM table_name_2 WHERE year > 1993 AND round = "first four"
What is the result after 1993 of the first four rounds?
<s>[INST]What is the result after 1993 of the first four rounds? Context: CREATE TABLE table_name_2 (result VARCHAR, year VARCHAR, round VARCHAR)[/INST]SELECT result FROM table_name_2 WHERE year > 1993 AND round = "first four"</s>
CREATE TABLE table_name_20 (country VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT country FROM table_name_20 WHERE format = "lp" AND catalog = "s 31503"
What country has an LP format, catalog s 31503?
<s>[INST]What country has an LP format, catalog s 31503? Context: CREATE TABLE table_name_20 (country VARCHAR, format VARCHAR, catalog VARCHAR)[/INST]SELECT country FROM table_name_20 WHERE format = "lp" AND catalog = "s 31503"</s>
CREATE TABLE table_name_67 (opponents_in_the_final VARCHAR, partner VARCHAR)
SELECT opponents_in_the_final FROM table_name_67 WHERE partner = "jiří novák"
What is Opponents In The Final, when Partner is "Jiří Novák"?
<s>[INST]What is Opponents In The Final, when Partner is "Jiří Novák"? Context: CREATE TABLE table_name_67 (opponents_in_the_final VARCHAR, partner VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_67 WHERE partner = "jiří novák"</s>
CREATE TABLE table_name_90 (class VARCHAR, livery VARCHAR)
SELECT class FROM table_name_90 WHERE livery = "wessex trains pink"
What is the Class when Wessex Trains Pink is the Livery?
<s>[INST]What is the Class when Wessex Trains Pink is the Livery? Context: CREATE TABLE table_name_90 (class VARCHAR, livery VARCHAR)[/INST]SELECT class FROM table_name_90 WHERE livery = "wessex trains pink"</s>
CREATE TABLE table_name_40 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_40 WHERE result = "lost"
What is the Venue with a Result that is lost?
<s>[INST]What is the Venue with a Result that is lost? Context: CREATE TABLE table_name_40 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_40 WHERE result = "lost"</s>
CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR)
SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 3"
How many products have the title "Jak 3"?
<s>[INST]How many products have the title "Jak 3"? Context: CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR)[/INST]SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 3"</s>
CREATE TABLE table_name_13 (pennant VARCHAR, name VARCHAR)
SELECT pennant FROM table_name_13 WHERE name = "narbada"
What pennant does Narbada have?
<s>[INST]What pennant does Narbada have? Context: CREATE TABLE table_name_13 (pennant VARCHAR, name VARCHAR)[/INST]SELECT pennant FROM table_name_13 WHERE name = "narbada"</s>
CREATE TABLE table_name_72 (race VARCHAR, replica VARCHAR)
SELECT race FROM table_name_72 WHERE replica = "dnf"
Which race has a replica of DNF?
<s>[INST]Which race has a replica of DNF? Context: CREATE TABLE table_name_72 (race VARCHAR, replica VARCHAR)[/INST]SELECT race FROM table_name_72 WHERE replica = "dnf"</s>
CREATE TABLE table_name_11 (knots VARCHAR, ship VARCHAR, passengers VARCHAR)
SELECT COUNT(knots) FROM table_name_11 WHERE ship = "ms moby vincent" AND passengers < 1.6
How many knots did the Ms Moby Vincent have when passengers was less than 1.6?
<s>[INST]How many knots did the Ms Moby Vincent have when passengers was less than 1.6? Context: CREATE TABLE table_name_11 (knots VARCHAR, ship VARCHAR, passengers VARCHAR)[/INST]SELECT COUNT(knots) FROM table_name_11 WHERE ship = "ms moby vincent" AND passengers < 1.6</s>
CREATE TABLE table_16908657_1 (flaps VARCHAR, points VARCHAR)
SELECT COUNT(flaps) FROM table_16908657_1 WHERE points = "63"
Name the number of flaps for 63 points
<s>[INST]Name the number of flaps for 63 points Context: CREATE TABLE table_16908657_1 (flaps VARCHAR, points VARCHAR)[/INST]SELECT COUNT(flaps) FROM table_16908657_1 WHERE points = "63"</s>
CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR)
SELECT director FROM table_22265716_1 WHERE original_title = "Лепа села лепо горе"
Who is the director of the film with the title лепа села лепо горе?
<s>[INST]Who is the director of the film with the title лепа села лепо горе? Context: CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR)[/INST]SELECT director FROM table_22265716_1 WHERE original_title = "Лепа села лепо горе"</s>
CREATE TABLE table_1557974_1 (debut VARCHAR, birthplace VARCHAR)
SELECT debut FROM table_1557974_1 WHERE birthplace = "Nara"
What are the debut year for wrestlers born in Nara?
<s>[INST]What are the debut year for wrestlers born in Nara? Context: CREATE TABLE table_1557974_1 (debut VARCHAR, birthplace VARCHAR)[/INST]SELECT debut FROM table_1557974_1 WHERE birthplace = "Nara"</s>
CREATE TABLE table_name_19 (song_title VARCHAR, release_date VARCHAR, time VARCHAR)
SELECT song_title FROM table_name_19 WHERE release_date = "12/8/70" AND time = "2:54"
Which song was released 12/8/70 with a time of 2:54?
<s>[INST]Which song was released 12/8/70 with a time of 2:54? Context: CREATE TABLE table_name_19 (song_title VARCHAR, release_date VARCHAR, time VARCHAR)[/INST]SELECT song_title FROM table_name_19 WHERE release_date = "12/8/70" AND time = "2:54"</s>
CREATE TABLE table_name_79 (year INTEGER, name VARCHAR)
SELECT SUM(year) FROM table_name_79 WHERE name = "one south broad"
What is the total time for one south broad?
<s>[INST]What is the total time for one south broad? Context: CREATE TABLE table_name_79 (year INTEGER, name VARCHAR)[/INST]SELECT SUM(year) FROM table_name_79 WHERE name = "one south broad"</s>
CREATE TABLE table_name_8 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation"
What's the score of the 1st leg when Water Corporation was Team 1?
<s>[INST]What's the score of the 1st leg when Water Corporation was Team 1? Context: CREATE TABLE table_name_8 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation"</s>
CREATE TABLE table_name_33 (metres INTEGER, feet VARCHAR, finalized VARCHAR, floors VARCHAR)
SELECT MAX(metres) FROM table_name_33 WHERE finalized = "2015" AND floors < 40 AND feet > 509
Which building was built in 2015, has less than 40 floors and is larger than 509 feet?
<s>[INST]Which building was built in 2015, has less than 40 floors and is larger than 509 feet? Context: CREATE TABLE table_name_33 (metres INTEGER, feet VARCHAR, finalized VARCHAR, floors VARCHAR)[/INST]SELECT MAX(metres) FROM table_name_33 WHERE finalized = "2015" AND floors < 40 AND feet > 509</s>
CREATE TABLE table_26041144_16 (catches INTEGER, player VARCHAR)
SELECT MIN(catches) FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"
If the player is Hashan Tillakaratne, what is the catches minimum?
<s>[INST]If the player is Hashan Tillakaratne, what is the catches minimum? Context: CREATE TABLE table_26041144_16 (catches INTEGER, player VARCHAR)[/INST]SELECT MIN(catches) FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"</s>
CREATE TABLE table_name_83 (wind VARCHAR, time VARCHAR)
SELECT wind FROM table_name_83 WHERE time = "19.32"
What's the wind when the time was 19.32?
<s>[INST]What's the wind when the time was 19.32? Context: CREATE TABLE table_name_83 (wind VARCHAR, time VARCHAR)[/INST]SELECT wind FROM table_name_83 WHERE time = "19.32"</s>
CREATE TABLE table_name_49 (game INTEGER, opponent VARCHAR, february VARCHAR)
SELECT SUM(game) FROM table_name_49 WHERE opponent = "@ hartford whalers" AND february > 19
What is the total of Game with an Opponent of @ Hartford Whalers and February that's larger than 19?
<s>[INST]What is the total of Game with an Opponent of @ Hartford Whalers and February that's larger than 19? Context: CREATE TABLE table_name_49 (game INTEGER, opponent VARCHAR, february VARCHAR)[/INST]SELECT SUM(game) FROM table_name_49 WHERE opponent = "@ hartford whalers" AND february > 19</s>
CREATE TABLE table_name_34 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_34 WHERE team_2 = "as police"
What was the first leg score for the match that had AS Police as team 2?
<s>[INST]What was the first leg score for the match that had AS Police as team 2? Context: CREATE TABLE table_name_34 (team_2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_34 WHERE team_2 = "as police"</s>
CREATE TABLE table_name_61 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, head_of_household VARCHAR)
SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_name_61 WHERE head_of_household = "$117,451–$190,200"
Name the married filing jointly or qualified widow(er) with head of household being $117,451–$190,200
<s>[INST]Name the married filing jointly or qualified widow(er) with head of household being $117,451–$190,200 Context: CREATE TABLE table_name_61 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, head_of_household VARCHAR)[/INST]SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_name_61 WHERE head_o...
CREATE TABLE table_23840623_4 (clean_electric_grid_california__san_francisco_ VARCHAR, vehicle VARCHAR)
SELECT COUNT(clean_electric_grid_california__san_francisco_) FROM table_23840623_4 WHERE vehicle = "Nissan Leaf"
How many clean electric grid california (san francisco) figures are given for the Nissan Leaf?
<s>[INST]How many clean electric grid california (san francisco) figures are given for the Nissan Leaf? Context: CREATE TABLE table_23840623_4 (clean_electric_grid_california__san_francisco_ VARCHAR, vehicle VARCHAR)[/INST]SELECT COUNT(clean_electric_grid_california__san_francisco_) FROM table_23840623_4 WHERE vehicle ...
CREATE TABLE table_name_44 (time VARCHAR, res VARCHAR, location VARCHAR, round VARCHAR)
SELECT time FROM table_name_44 WHERE location = "tokyo, japan" AND round = 3 AND res = "draw"
What time is associated with the event that happened in Tokyo, Japan, ending in a draw, with 3 rounds?
<s>[INST]What time is associated with the event that happened in Tokyo, Japan, ending in a draw, with 3 rounds? Context: CREATE TABLE table_name_44 (time VARCHAR, res VARCHAR, location VARCHAR, round VARCHAR)[/INST]SELECT time FROM table_name_44 WHERE location = "tokyo, japan" AND round = 3 AND res = "draw"</s>
CREATE TABLE table_name_45 (drawn INTEGER, lost VARCHAR)
SELECT SUM(drawn) FROM table_name_45 WHERE lost = 2
What is the sum of the drawn values for teams with 2 losses?
<s>[INST]What is the sum of the drawn values for teams with 2 losses? Context: CREATE TABLE table_name_45 (drawn INTEGER, lost VARCHAR)[/INST]SELECT SUM(drawn) FROM table_name_45 WHERE lost = 2</s>
CREATE TABLE table_14209455_1 (mon_26_may VARCHAR, fri_30_may VARCHAR)
SELECT mon_26_may FROM table_14209455_1 WHERE fri_30_may = "18' 28.27 122.599mph"
what time is mon may 26 and fri may 30 is 18' 28.27 122.599mph?
<s>[INST]what time is mon may 26 and fri may 30 is 18' 28.27 122.599mph? Context: CREATE TABLE table_14209455_1 (mon_26_may VARCHAR, fri_30_may VARCHAR)[/INST]SELECT mon_26_may FROM table_14209455_1 WHERE fri_30_may = "18' 28.27 122.599mph"</s>
CREATE TABLE table_name_65 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT republican_ticket FROM table_name_65 WHERE democratic_ticket = "arthur levitt"
Who was the Republican candidate against the Democratic candidate Arthur Levitt?
<s>[INST]Who was the Republican candidate against the Democratic candidate Arthur Levitt? Context: CREATE TABLE table_name_65 (republican_ticket VARCHAR, democratic_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_65 WHERE democratic_ticket = "arthur levitt"</s>
CREATE TABLE table_name_55 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_55 WHERE city = "rio de janeiro"
Name the date for rio de janeiro
<s>[INST]Name the date for rio de janeiro Context: CREATE TABLE table_name_55 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_name_55 WHERE city = "rio de janeiro"</s>
CREATE TABLE table_17323042_11 (game VARCHAR, high_points VARCHAR)
SELECT COUNT(game) FROM table_17323042_11 WHERE high_points = "Andre Iguodala (29)"
How many games was High Points andre iguodala (29)?
<s>[INST]How many games was High Points andre iguodala (29)? Context: CREATE TABLE table_17323042_11 (game VARCHAR, high_points VARCHAR)[/INST]SELECT COUNT(game) FROM table_17323042_11 WHERE high_points = "Andre Iguodala (29)"</s>
CREATE TABLE submission (Author VARCHAR, College VARCHAR)
SELECT Author, College FROM submission
What are the authors of submissions and their colleges?
<s>[INST]What are the authors of submissions and their colleges? Context: CREATE TABLE submission (Author VARCHAR, College VARCHAR)[/INST]SELECT Author, College FROM submission</s>
CREATE TABLE table_name_98 (champion VARCHAR)
SELECT 1 AS st_leg FROM table_name_98 WHERE champion = "sakalai"
what team was the 1st leg champion of sakalai
<s>[INST]what team was the 1st leg champion of sakalai Context: CREATE TABLE table_name_98 (champion VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_98 WHERE champion = "sakalai"</s>
CREATE TABLE table_name_73 (goal_ratio INTEGER, goals INTEGER)
SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 0
What is the largest goal ratio with Goals smaller than 0?
<s>[INST]What is the largest goal ratio with Goals smaller than 0? Context: CREATE TABLE table_name_73 (goal_ratio INTEGER, goals INTEGER)[/INST]SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 0</s>
CREATE TABLE table_name_44 (final VARCHAR, athlete VARCHAR)
SELECT final FROM table_name_44 WHERE athlete = "mohammad reza samadi"
What was the final round result of Mohammad Reza Samadi?
<s>[INST]What was the final round result of Mohammad Reza Samadi? Context: CREATE TABLE table_name_44 (final VARCHAR, athlete VARCHAR)[/INST]SELECT final FROM table_name_44 WHERE athlete = "mohammad reza samadi"</s>
CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_68 WHERE game = 43
What was the record of Game 43?
<s>[INST]What was the record of Game 43? Context: CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_68 WHERE game = 43</s>
CREATE TABLE table_name_79 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_79 WHERE week = 11
Who did they play in week 11?
<s>[INST]Who did they play in week 11? Context: CREATE TABLE table_name_79 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_79 WHERE week = 11</s>
CREATE TABLE volume (Artist_ID VARCHAR)
SELECT COUNT(DISTINCT Artist_ID) FROM volume
How many distinct artists do the volumes associate to?
<s>[INST]How many distinct artists do the volumes associate to? Context: CREATE TABLE volume (Artist_ID VARCHAR)[/INST]SELECT COUNT(DISTINCT Artist_ID) FROM volume</s>
CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR)
SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-5-2"
What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2?
<s>[INST]What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2? Context: CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR)[/INST]SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock...
CREATE TABLE table_name_2 (points INTEGER, laps VARCHAR, team VARCHAR)
SELECT MAX(points) FROM table_name_2 WHERE laps > 13 AND team = "minardi team usa"
What is the highest number of points scored by minardi team usa in more than 13 laps?
<s>[INST]What is the highest number of points scored by minardi team usa in more than 13 laps? Context: CREATE TABLE table_name_2 (points INTEGER, laps VARCHAR, team VARCHAR)[/INST]SELECT MAX(points) FROM table_name_2 WHERE laps > 13 AND team = "minardi team usa"</s>
CREATE TABLE table_name_81 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT MIN(grid) FROM table_name_81 WHERE laps > 51 AND driver = "jj lehto"
What is the lowest Grid for jj lehto with over 51 laps?
<s>[INST]What is the lowest Grid for jj lehto with over 51 laps? Context: CREATE TABLE table_name_81 (grid INTEGER, laps VARCHAR, driver VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_81 WHERE laps > 51 AND driver = "jj lehto"</s>
CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_1 WHERE player = "greg norman"
How many to par for Greg Norman?
<s>[INST]How many to par for Greg Norman? Context: CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_1 WHERE player = "greg norman"</s>
CREATE TABLE table_1211545_2 (heavy_vehicle__3_4_axles_ VARCHAR, name VARCHAR)
SELECT heavy_vehicle__3_4_axles_ FROM table_1211545_2 WHERE name = "Verkeerdevlei Toll Plaza"
What is the toll for heavy vehicles with 3/4 axles at Verkeerdevlei toll plaza?
<s>[INST]What is the toll for heavy vehicles with 3/4 axles at Verkeerdevlei toll plaza? Context: CREATE TABLE table_1211545_2 (heavy_vehicle__3_4_axles_ VARCHAR, name VARCHAR)[/INST]SELECT heavy_vehicle__3_4_axles_ FROM table_1211545_2 WHERE name = "Verkeerdevlei Toll Plaza"</s>
CREATE TABLE table_name_60 (earnings___ INTEGER, rank VARCHAR, events VARCHAR)
SELECT MIN(earnings___) AS $__ FROM table_name_60 WHERE rank = 1 AND events < 22
Which Earnings ($) is the lowest one that has a Rank of 1, and Events smaller than 22?
<s>[INST]Which Earnings ($) is the lowest one that has a Rank of 1, and Events smaller than 22? Context: CREATE TABLE table_name_60 (earnings___ INTEGER, rank VARCHAR, events VARCHAR)[/INST]SELECT MIN(earnings___) AS $__ FROM table_name_60 WHERE rank = 1 AND events < 22</s>
CREATE TABLE Faculty (FacID VARCHAR); CREATE TABLE Faculty_participates_in (FacID VARCHAR)
SELECT FacID FROM Faculty EXCEPT SELECT FacID FROM Faculty_participates_in
Show the ids of the faculty who don't participate in any activity.
<s>[INST]Show the ids of the faculty who don't participate in any activity. Context: CREATE TABLE Faculty (FacID VARCHAR); CREATE TABLE Faculty_participates_in (FacID VARCHAR)[/INST]SELECT FacID FROM Faculty EXCEPT SELECT FacID FROM Faculty_participates_in</s>
CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR)
SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 2"
What number episode was Week 4, Part 2?
<s>[INST]What number episode was Week 4, Part 2? Context: CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR)[/INST]SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 2"</s>
CREATE TABLE table_name_7 (nation VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_7 WHERE silver > 1 AND bronze = 1
Which nation has the number of silver medals greater than 1, and bronze medals as 1?
<s>[INST]Which nation has the number of silver medals greater than 1, and bronze medals as 1? Context: CREATE TABLE table_name_7 (nation VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT nation FROM table_name_7 WHERE silver > 1 AND bronze = 1</s>
CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR)
SELECT SUM(silver) FROM table_name_43 WHERE total = 4 AND rank = "3"
What is the sum of silver medals for the entry with rank 3 and a total of 4 medals?
<s>[INST]What is the sum of silver medals for the entry with rank 3 and a total of 4 medals? Context: CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_43 WHERE total = 4 AND rank = "3"</s>
CREATE TABLE table_name_78 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_78 WHERE opponent = "bye"
Which date has an Opponent of bye?
<s>[INST]Which date has an Opponent of bye? Context: CREATE TABLE table_name_78 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE opponent = "bye"</s>
CREATE TABLE table_name_37 (versus VARCHAR, player VARCHAR, venue VARCHAR)
SELECT versus FROM table_name_37 WHERE player = "ko otieno" AND venue = "bloemfontein"
What is the Versus with a Player with ko otieno, with Venue with bloemfontein?
<s>[INST]What is the Versus with a Player with ko otieno, with Venue with bloemfontein? Context: CREATE TABLE table_name_37 (versus VARCHAR, player VARCHAR, venue VARCHAR)[/INST]SELECT versus FROM table_name_37 WHERE player = "ko otieno" AND venue = "bloemfontein"</s>
CREATE TABLE table_1682026_7 (rank INTEGER, assets__billion_$_ VARCHAR)
SELECT MIN(rank) FROM table_1682026_7 WHERE assets__billion_$_ = "248.44"
What is the lowest rank of a company with 248.44 billions of dollars in assets?
<s>[INST]What is the lowest rank of a company with 248.44 billions of dollars in assets? Context: CREATE TABLE table_1682026_7 (rank INTEGER, assets__billion_$_ VARCHAR)[/INST]SELECT MIN(rank) FROM table_1682026_7 WHERE assets__billion_$_ = "248.44"</s>
CREATE TABLE table_name_56 (calendar VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR)
SELECT calendar FROM table_name_56 WHERE wysiwyg_editor = "yes" AND unread_message_tracking = "yes"
Which Calendar has WYSIWYG Editor of yes and an Unread message tracking of yes?
<s>[INST]Which Calendar has WYSIWYG Editor of yes and an Unread message tracking of yes? Context: CREATE TABLE table_name_56 (calendar VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR)[/INST]SELECT calendar FROM table_name_56 WHERE wysiwyg_editor = "yes" AND unread_message_tracking = "yes"</s>
CREATE TABLE table_name_32 (assists INTEGER, club VARCHAR, points VARCHAR)
SELECT SUM(assists) FROM table_name_32 WHERE club = "richmond kickers" AND points > 24
What is the amount of assists for richmond kickers and points larger than 24
<s>[INST]What is the amount of assists for richmond kickers and points larger than 24 Context: CREATE TABLE table_name_32 (assists INTEGER, club VARCHAR, points VARCHAR)[/INST]SELECT SUM(assists) FROM table_name_32 WHERE club = "richmond kickers" AND points > 24</s>
CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR)
SELECT MIN(frequency) FROM table_name_2 WHERE webcast = "listen live" AND city_of_license = "monterrey" AND callsign = "xet"
Which long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet?
<s>[INST]Which long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet? Context: CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR)[/INST]SELECT MIN(frequency) FROM ta...
CREATE TABLE table_name_76 (points INTEGER, best_time VARCHAR)
SELECT AVG(points) FROM table_name_76 WHERE best_time = "01:46.367"
How many points associated with a Best time of 01:46.367?
<s>[INST]How many points associated with a Best time of 01:46.367? Context: CREATE TABLE table_name_76 (points INTEGER, best_time VARCHAR)[/INST]SELECT AVG(points) FROM table_name_76 WHERE best_time = "01:46.367"</s>
CREATE TABLE table_name_86 (engine VARCHAR, team VARCHAR)
SELECT engine FROM table_name_86 WHERE team = "korten motorsport"
Which engine did Korten Motorsport use?
<s>[INST]Which engine did Korten Motorsport use? Context: CREATE TABLE table_name_86 (engine VARCHAR, team VARCHAR)[/INST]SELECT engine FROM table_name_86 WHERE team = "korten motorsport"</s>
CREATE TABLE table_name_49 (communist_ticket VARCHAR, american_labor_ticket VARCHAR)
SELECT communist_ticket FROM table_name_49 WHERE american_labor_ticket = "joseph v. o'leary"
Who's the Communist ticket with an American Labor ticket of joseph v. o'leary?
<s>[INST]Who's the Communist ticket with an American Labor ticket of joseph v. o'leary? Context: CREATE TABLE table_name_49 (communist_ticket VARCHAR, american_labor_ticket VARCHAR)[/INST]SELECT communist_ticket FROM table_name_49 WHERE american_labor_ticket = "joseph v. o'leary"</s>
CREATE TABLE table_name_1 (manufacturer VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_1 WHERE rider = "colin edwards"
Who was the Manufacturer for the Rider Colin Edwards?
<s>[INST]Who was the Manufacturer for the Rider Colin Edwards? Context: CREATE TABLE table_name_1 (manufacturer VARCHAR, rider VARCHAR)[/INST]SELECT manufacturer FROM table_name_1 WHERE rider = "colin edwards"</s>
CREATE TABLE table_name_87 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_87 WHERE place = "3"
What score has 3 as the place?
<s>[INST]What score has 3 as the place? Context: CREATE TABLE table_name_87 (score VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_87 WHERE place = "3"</s>
CREATE TABLE table_name_84 (release_date VARCHAR, developer_s_ VARCHAR)
SELECT release_date FROM table_name_84 WHERE developer_s_ = "microsoft research"
Which Release date has a Developer(s) of microsoft research?
<s>[INST]Which Release date has a Developer(s) of microsoft research? Context: CREATE TABLE table_name_84 (release_date VARCHAR, developer_s_ VARCHAR)[/INST]SELECT release_date FROM table_name_84 WHERE developer_s_ = "microsoft research"</s>
CREATE TABLE table_name_7 (place_of_birth VARCHAR, elevator VARCHAR, elector VARCHAR)
SELECT place_of_birth FROM table_name_7 WHERE elevator = "nicholas iv" AND elector = "napoleone orsini frangipani"
What is the place of birth when the elevator is Nicholas IV, and elector is Napoleone Orsini Frangipani?
<s>[INST]What is the place of birth when the elevator is Nicholas IV, and elector is Napoleone Orsini Frangipani? Context: CREATE TABLE table_name_7 (place_of_birth VARCHAR, elevator VARCHAR, elector VARCHAR)[/INST]SELECT place_of_birth FROM table_name_7 WHERE elevator = "nicholas iv" AND elector = "napoleone orsini fr...
CREATE TABLE table_name_87 (utility_pv INTEGER, hydro VARCHAR, renewable_total VARCHAR)
SELECT MIN(utility_pv) FROM table_name_87 WHERE hydro > 289.25 AND renewable_total > 520.07
What is the lowest utility PV with hydro great than 289.25 and renweable total larger than 520.07?
<s>[INST]What is the lowest utility PV with hydro great than 289.25 and renweable total larger than 520.07? Context: CREATE TABLE table_name_87 (utility_pv INTEGER, hydro VARCHAR, renewable_total VARCHAR)[/INST]SELECT MIN(utility_pv) FROM table_name_87 WHERE hydro > 289.25 AND renewable_total > 520.07</s>
CREATE TABLE table_15869204_7 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_15869204_7 WHERE date = "February 24"
What were the high rebounds on February 24?
<s>[INST]What were the high rebounds on February 24? Context: CREATE TABLE table_15869204_7 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_15869204_7 WHERE date = "February 24"</s>
CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Name VARCHAR, Event_ID VARCHAR, Event_Attendance VARCHAR)
SELECT T3.Name, T2.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID ORDER BY T2.Event_Attendance
Show the names of journalists and the names of the events they reported in ascending order
<s>[INST]Show the names of journalists and the names of the events they reported in ascending order Context: CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Name VARCHAR, Event_ID VARCHAR, Event_Attendance VARCHAR)[/I...
CREATE TABLE TV_Channel (id VARCHAR, series_name VARCHAR); CREATE TABLE TV_series (Episode VARCHAR, Channel VARCHAR)
SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio"
List the Episode of all TV series showed on TV Channel with series name "Sky Radio".
<s>[INST]List the Episode of all TV series showed on TV Channel with series name "Sky Radio". Context: CREATE TABLE TV_Channel (id VARCHAR, series_name VARCHAR); CREATE TABLE TV_series (Episode VARCHAR, Channel VARCHAR)[/INST]SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.s...
CREATE TABLE table_name_58 (semifinalists VARCHAR, tournament VARCHAR)
SELECT semifinalists FROM table_name_58 WHERE tournament = "cincinnati"
Who are the semifinalists when the tournament is in Cincinnati?
<s>[INST]Who are the semifinalists when the tournament is in Cincinnati? Context: CREATE TABLE table_name_58 (semifinalists VARCHAR, tournament VARCHAR)[/INST]SELECT semifinalists FROM table_name_58 WHERE tournament = "cincinnati"</s>
CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_69 WHERE date = "november 1, 1993"
What Attendance has a Date that is november 1, 1993?
<s>[INST]What Attendance has a Date that is november 1, 1993? Context: CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_69 WHERE date = "november 1, 1993"</s>
CREATE TABLE table_name_20 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_20 WHERE score = 70 - 72 = 142
Who is the Player with a Score of 70-72=142? Question 3
<s>[INST]Who is the Player with a Score of 70-72=142? Question 3 Context: CREATE TABLE table_name_20 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_20 WHERE score = 70 - 72 = 142</s>
CREATE TABLE table_name_11 (final_score VARCHAR, host_team VARCHAR)
SELECT final_score FROM table_name_11 WHERE host_team = "detroit lions"
What was the final score in the game in which the Detroit Lions were the home team?
<s>[INST]What was the final score in the game in which the Detroit Lions were the home team? Context: CREATE TABLE table_name_11 (final_score VARCHAR, host_team VARCHAR)[/INST]SELECT final_score FROM table_name_11 WHERE host_team = "detroit lions"</s>
CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4
What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals?
<s>[INST]What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals? Context: CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4</s>
CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR)
SELECT original_channel FROM table_name_19 WHERE programme = "going for gold"
Which channel did Going for Gold air on?
<s>[INST]Which channel did Going for Gold air on? Context: CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR)[/INST]SELECT original_channel FROM table_name_19 WHERE programme = "going for gold"</s>
CREATE TABLE table_name_90 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_90 WHERE home_team = "fitzroy"
What is Fitzroy's Home team Crowd?
<s>[INST]What is Fitzroy's Home team Crowd? Context: CREATE TABLE table_name_90 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_90 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_name_87 (club VARCHAR, score VARCHAR)
SELECT club FROM table_name_87 WHERE score = "18.1"
What club had a score of 18.1?
<s>[INST]What club had a score of 18.1? Context: CREATE TABLE table_name_87 (club VARCHAR, score VARCHAR)[/INST]SELECT club FROM table_name_87 WHERE score = "18.1"</s>
CREATE TABLE table_name_1 (goal_difference INTEGER, position VARCHAR, played VARCHAR)
SELECT MIN(goal_difference) FROM table_name_1 WHERE position = 7 AND played > 30
What is the lowest Goal Difference, when Position is "7", and when Played is greater than 30?
<s>[INST]What is the lowest Goal Difference, when Position is "7", and when Played is greater than 30? Context: CREATE TABLE table_name_1 (goal_difference INTEGER, position VARCHAR, played VARCHAR)[/INST]SELECT MIN(goal_difference) FROM table_name_1 WHERE position = 7 AND played > 30</s>
CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR)
SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Confirmed"
Show the distinct apartment numbers of the apartments that have bookings with status code "Confirmed".
<s>[INST]Show the distinct apartment numbers of the apartments that have bookings with status code "Confirmed". Context: CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR)[/INST]SELECT DISTINCT T2.apt_number FROM Apartment_Bookings...
CREATE TABLE table_name_72 (seats VARCHAR, election VARCHAR, share_of_votes VARCHAR)
SELECT seats FROM table_name_72 WHERE election < 2004 AND share_of_votes = "3.4%"
How many seats did the election before 2004 with 3.4% share of votes have?
<s>[INST]How many seats did the election before 2004 with 3.4% share of votes have? Context: CREATE TABLE table_name_72 (seats VARCHAR, election VARCHAR, share_of_votes VARCHAR)[/INST]SELECT seats FROM table_name_72 WHERE election < 2004 AND share_of_votes = "3.4%"</s>
CREATE TABLE table_name_17 (year VARCHAR, playoffs VARCHAR, regular_season VARCHAR)
SELECT COUNT(year) FROM table_name_17 WHERE playoffs = "did not qualify" AND regular_season = "10th"
What is the year when they did not qualify for the playoff and the Regular Season shows as 10th?
<s>[INST]What is the year when they did not qualify for the playoff and the Regular Season shows as 10th? Context: CREATE TABLE table_name_17 (year VARCHAR, playoffs VARCHAR, regular_season VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_17 WHERE playoffs = "did not qualify" AND regular_season = "10th"</s>
CREATE TABLE table_name_58 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_58 WHERE grid < 3 AND driver = "mika häkkinen"
Which Time/Retired has a Grid smaller than 3, and a Driver of mika häkkinen?
<s>[INST]Which Time/Retired has a Grid smaller than 3, and a Driver of mika häkkinen? Context: CREATE TABLE table_name_58 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_58 WHERE grid < 3 AND driver = "mika häkkinen"</s>
CREATE TABLE table_name_99 (batting_partners VARCHAR, venue VARCHAR)
SELECT batting_partners FROM table_name_99 WHERE venue = "colombo"
Who were the batting partners in Colombo?
<s>[INST]Who were the batting partners in Colombo? Context: CREATE TABLE table_name_99 (batting_partners VARCHAR, venue VARCHAR)[/INST]SELECT batting_partners FROM table_name_99 WHERE venue = "colombo"</s>
CREATE TABLE table_name_41 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_41 WHERE week < 6 AND opponent = "cleveland browns"
What was the result of the game after week 6 against the cleveland browns?
<s>[INST]What was the result of the game after week 6 against the cleveland browns? Context: CREATE TABLE table_name_41 (result VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_41 WHERE week < 6 AND opponent = "cleveland browns"</s>
CREATE TABLE table_27712702_11 (game INTEGER, date VARCHAR)
SELECT MIN(game) FROM table_27712702_11 WHERE date = "March 27"
What was the game number on march 27?
<s>[INST]What was the game number on march 27? Context: CREATE TABLE table_27712702_11 (game INTEGER, date VARCHAR)[/INST]SELECT MIN(game) FROM table_27712702_11 WHERE date = "March 27"</s>
CREATE TABLE table_name_4 (name VARCHAR, first_elected VARCHAR, district VARCHAR)
SELECT name FROM table_name_4 WHERE first_elected > 1988 AND district = "mason"
Tell me the name for first elected more than 1988 and district of mason
<s>[INST]Tell me the name for first elected more than 1988 and district of mason Context: CREATE TABLE table_name_4 (name VARCHAR, first_elected VARCHAR, district VARCHAR)[/INST]SELECT name FROM table_name_4 WHERE first_elected > 1988 AND district = "mason"</s>
CREATE TABLE table_name_35 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_35 WHERE tie_no = "40"
What is the Home team of Tie no 40?
<s>[INST]What is the Home team of Tie no 40? Context: CREATE TABLE table_name_35 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_35 WHERE tie_no = "40"</s>
CREATE TABLE table_name_8 (_jerk VARCHAR, clean_ VARCHAR, total__kg_ VARCHAR, snatch VARCHAR)
SELECT COUNT(clean_) & _jerk FROM table_name_8 WHERE total__kg_ = 200 AND snatch > 95
What is the sum of the weight that all weightlifters managed to clean and jerk, among weightlifters who had a snatch of more than 95 and a Total of more than 200?
<s>[INST]What is the sum of the weight that all weightlifters managed to clean and jerk, among weightlifters who had a snatch of more than 95 and a Total of more than 200? Context: CREATE TABLE table_name_8 (_jerk VARCHAR, clean_ VARCHAR, total__kg_ VARCHAR, snatch VARCHAR)[/INST]SELECT COUNT(clean_) & _jerk FROM table...
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_76 WHERE date = "september 26"
What was the score in the September 26 game?
<s>[INST]What was the score in the September 26 game? Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE date = "september 26"</s>
CREATE TABLE table_2538117_7 (type VARCHAR, organization VARCHAR)
SELECT type FROM table_2538117_7 WHERE organization = "Gamma Rho Lambda 1"
What is the type if the organization name is Gamma RHO Lambda 1?
<s>[INST]What is the type if the organization name is Gamma RHO Lambda 1? Context: CREATE TABLE table_2538117_7 (type VARCHAR, organization VARCHAR)[/INST]SELECT type FROM table_2538117_7 WHERE organization = "Gamma Rho Lambda 1"</s>
CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)
SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 7–5"
What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?
<s>[INST]What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5? Context: CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)[/INST]SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 7–5"</s>
CREATE TABLE table_name_74 (date VARCHAR, others VARCHAR)
SELECT date FROM table_name_74 WHERE others = "2%"
What date has the others of 2%?
<s>[INST]What date has the others of 2%? Context: CREATE TABLE table_name_74 (date VARCHAR, others VARCHAR)[/INST]SELECT date FROM table_name_74 WHERE others = "2%"</s>
CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR)
SELECT COUNT(age) FROM table_23495048_2 WHERE represent = "Mitteldeutschland"
How many contestants where from mitteldeutschland?
<s>[INST]How many contestants where from mitteldeutschland? Context: CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR)[/INST]SELECT COUNT(age) FROM table_23495048_2 WHERE represent = "Mitteldeutschland"</s>
CREATE TABLE table_1233808_2 (date_and_time VARCHAR, competition VARCHAR)
SELECT date_and_time FROM table_1233808_2 WHERE competition = "Mithras Cup 2nd Rd (2nd Leg)"
For the competition Mithras Cup 2nd Rd (2nd Leg), what is the date and time?
<s>[INST]For the competition Mithras Cup 2nd Rd (2nd Leg), what is the date and time? Context: CREATE TABLE table_1233808_2 (date_and_time VARCHAR, competition VARCHAR)[/INST]SELECT date_and_time FROM table_1233808_2 WHERE competition = "Mithras Cup 2nd Rd (2nd Leg)"</s>
CREATE TABLE table_name_35 (ryds VARCHAR, ratt VARCHAR, comp VARCHAR)
SELECT ryds FROM table_name_35 WHERE ratt = "2" AND comp = "41"
What is the RYds when the RAtt was 2, and the comp is 41?
<s>[INST]What is the RYds when the RAtt was 2, and the comp is 41? Context: CREATE TABLE table_name_35 (ryds VARCHAR, ratt VARCHAR, comp VARCHAR)[/INST]SELECT ryds FROM table_name_35 WHERE ratt = "2" AND comp = "41"</s>
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT COUNT(title) FROM table_23793770_2 WHERE total_viewers__in_millions_ = "12.46"
How many shows had 12.46 total viewers?
<s>[INST]How many shows had 12.46 total viewers? Context: CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)[/INST]SELECT COUNT(title) FROM table_23793770_2 WHERE total_viewers__in_millions_ = "12.46"</s>
CREATE TABLE table_1908877_2 (last_top_division_title VARCHAR, club VARCHAR)
SELECT last_top_division_title FROM table_1908877_2 WHERE club = "Citizen"
when did the club Citizen achieve its last top division title?
<s>[INST]when did the club Citizen achieve its last top division title? Context: CREATE TABLE table_1908877_2 (last_top_division_title VARCHAR, club VARCHAR)[/INST]SELECT last_top_division_title FROM table_1908877_2 WHERE club = "Citizen"</s>
CREATE TABLE department (school_code VARCHAR, dept_name VARCHAR)
SELECT COUNT(DISTINCT dept_name), school_code FROM department GROUP BY school_code HAVING COUNT(DISTINCT dept_name) < 5
Find the number of different departments in each school whose number of different departments is less than 5.
<s>[INST]Find the number of different departments in each school whose number of different departments is less than 5. Context: CREATE TABLE department (school_code VARCHAR, dept_name VARCHAR)[/INST]SELECT COUNT(DISTINCT dept_name), school_code FROM department GROUP BY school_code HAVING COUNT(DISTINCT dept_name) < 5</...
CREATE TABLE table_name_81 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_81 WHERE result = "w 21-17" AND attendance > 45 OFFSET 254
What was the highest week with a w 21-17 result, and more than 45,254 in attendance?
<s>[INST]What was the highest week with a w 21-17 result, and more than 45,254 in attendance? Context: CREATE TABLE table_name_81 (week INTEGER, result VARCHAR, attendance VARCHAR)[/INST]SELECT MAX(week) FROM table_name_81 WHERE result = "w 21-17" AND attendance > 45 OFFSET 254</s>
CREATE TABLE Document_locations (location_code VARCHAR)
SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY COUNT(*) DESC LIMIT 1
What is the location code with the most documents?
<s>[INST]What is the location code with the most documents? Context: CREATE TABLE Document_locations (location_code VARCHAR)[/INST]SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY COUNT(*) DESC LIMIT 1</s>