context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_24 (year VARCHAR, entrant VARCHAR)
SELECT COUNT(year) FROM table_name_24 WHERE entrant = "scuderia guastalla"
What is the total number of years that Scuderia Guastalla was an entrant?
<s>[INST]What is the total number of years that Scuderia Guastalla was an entrant? Context: CREATE TABLE table_name_24 (year VARCHAR, entrant VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_24 WHERE entrant = "scuderia guastalla"</s>
CREATE TABLE table_name_98 (ekstraklasa INTEGER, total INTEGER)
SELECT SUM(ekstraklasa) FROM table_name_98 WHERE total < 3
How much Ekstraklasa has a Total smaller than 3?
<s>[INST]How much Ekstraklasa has a Total smaller than 3? Context: CREATE TABLE table_name_98 (ekstraklasa INTEGER, total INTEGER)[/INST]SELECT SUM(ekstraklasa) FROM table_name_98 WHERE total < 3</s>
CREATE TABLE table_name_15 (time VARCHAR, wrestler VARCHAR)
SELECT time FROM table_name_15 WHERE wrestler = "jimmy rave"
What time is listed against the Wrestler Jimmy Rave?
<s>[INST]What time is listed against the Wrestler Jimmy Rave? Context: CREATE TABLE table_name_15 (time VARCHAR, wrestler VARCHAR)[/INST]SELECT time FROM table_name_15 WHERE wrestler = "jimmy rave"</s>
CREATE TABLE table_name_18 (rank INTEGER, country VARCHAR, wins VARCHAR)
SELECT MAX(rank) FROM table_name_18 WHERE country = "united states" AND wins < 1
Name the most rank for the United States with wins less than 1
<s>[INST]Name the most rank for the United States with wins less than 1 Context: CREATE TABLE table_name_18 (rank INTEGER, country VARCHAR, wins VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_18 WHERE country = "united states" AND wins < 1</s>
CREATE TABLE table_2113721_7 (episodes INTEGER)
SELECT MIN(episodes) FROM table_2113721_7
What is the smallest number of episodes in a season?
<s>[INST]What is the smallest number of episodes in a season? Context: CREATE TABLE table_2113721_7 (episodes INTEGER)[/INST]SELECT MIN(episodes) FROM table_2113721_7</s>
CREATE TABLE table_name_88 (municipality VARCHAR, candidate VARCHAR)
SELECT municipality FROM table_name_88 WHERE candidate = "kimmo kiljunen"
Candidate of kimmo kiljunen belongs to which municipality?
<s>[INST]Candidate of kimmo kiljunen belongs to which municipality? Context: CREATE TABLE table_name_88 (municipality VARCHAR, candidate VARCHAR)[/INST]SELECT municipality FROM table_name_88 WHERE candidate = "kimmo kiljunen"</s>
CREATE TABLE table_name_66 (to_par INTEGER, year_s__won VARCHAR)
SELECT MAX(to_par) FROM table_name_66 WHERE year_s__won = "1962 , 1967"
What is the highest To Par, when Year(s) Won is "1962 , 1967"?
<s>[INST]What is the highest To Par, when Year(s) Won is "1962 , 1967"? Context: CREATE TABLE table_name_66 (to_par INTEGER, year_s__won VARCHAR)[/INST]SELECT MAX(to_par) FROM table_name_66 WHERE year_s__won = "1962 , 1967"</s>
CREATE TABLE table_2409041_3 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_2409041_3 WHERE no_in_season = 23
Who wrote season 23?
<s>[INST]Who wrote season 23? Context: CREATE TABLE table_2409041_3 (written_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT written_by FROM table_2409041_3 WHERE no_in_season = 23</s>
CREATE TABLE table_18254488_2 (uefa_champions_league INTEGER)
SELECT MAX(uefa_champions_league) FROM table_18254488_2
What is the highest amount of uefa champion leagues?
<s>[INST]What is the highest amount of uefa champion leagues? Context: CREATE TABLE table_18254488_2 (uefa_champions_league INTEGER)[/INST]SELECT MAX(uefa_champions_league) FROM table_18254488_2</s>
CREATE TABLE table_1087659_2 (division VARCHAR, playoffs VARCHAR)
SELECT division FROM table_1087659_2 WHERE playoffs = "division Semifinals"
What is the division for the division semifinals playoffs?
<s>[INST]What is the division for the division semifinals playoffs? Context: CREATE TABLE table_1087659_2 (division VARCHAR, playoffs VARCHAR)[/INST]SELECT division FROM table_1087659_2 WHERE playoffs = "division Semifinals"</s>
CREATE TABLE table_261895_1 (type VARCHAR, nickname VARCHAR)
SELECT COUNT(type) FROM table_261895_1 WHERE nickname = "Britons"
how many categories fall under the category of britons?
<s>[INST]how many categories fall under the category of britons? Context: CREATE TABLE table_261895_1 (type VARCHAR, nickname VARCHAR)[/INST]SELECT COUNT(type) FROM table_261895_1 WHERE nickname = "Britons"</s>
CREATE TABLE table_name_55 (socket VARCHAR, model_number VARCHAR)
SELECT socket FROM table_name_55 WHERE model_number = "atom e680t"
What is the socket of the model atom e680t?
<s>[INST]What is the socket of the model atom e680t? Context: CREATE TABLE table_name_55 (socket VARCHAR, model_number VARCHAR)[/INST]SELECT socket FROM table_name_55 WHERE model_number = "atom e680t"</s>
CREATE TABLE table_name_40 (points INTEGER, lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)
SELECT SUM(points) FROM table_name_40 WHERE goals_scored < 27 AND goals_conceded = 24 AND lost < 6
How many points are there when they have under 27 goals scored, conceded 24 goals, and lost less than 6 times?
<s>[INST]How many points are there when they have under 27 goals scored, conceded 24 goals, and lost less than 6 times? Context: CREATE TABLE table_name_40 (points INTEGER, lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)[/INST]SELECT SUM(points) FROM table_name_40 WHERE goals_scored < 27 AND goals_conceded ...
CREATE TABLE table_26313243_1 (fsi_2012 VARCHAR, cpi_2012 VARCHAR)
SELECT fsi_2012 FROM table_26313243_1 WHERE cpi_2012 = "42.7"
Name the fsi 2012 for 42.7 cpi
<s>[INST]Name the fsi 2012 for 42.7 cpi Context: CREATE TABLE table_26313243_1 (fsi_2012 VARCHAR, cpi_2012 VARCHAR)[/INST]SELECT fsi_2012 FROM table_26313243_1 WHERE cpi_2012 = "42.7"</s>
CREATE TABLE table_13746866_2 (number_of_deputies VARCHAR, number_of_votes_received VARCHAR, election_date VARCHAR)
SELECT number_of_deputies FROM table_13746866_2 WHERE number_of_votes_received < 1549176.2765483726 AND election_date = 1969
what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969
<s>[INST]what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969 Context: CREATE TABLE table_13746866_2 (number_of_deputies VARCHAR, number_of_votes_received VARCHAR, election_date VARCHAR)[/INST]SELECT number_of_deputies FROM table_13746866_2 WHERE...
CREATE TABLE table_29728787_1 (la_roche VARCHAR, year VARCHAR)
SELECT la_roche FROM table_29728787_1 WHERE year = "1971"
When 1971 is the year what is the la roche?
<s>[INST]When 1971 is the year what is the la roche? Context: CREATE TABLE table_29728787_1 (la_roche VARCHAR, year VARCHAR)[/INST]SELECT la_roche FROM table_29728787_1 WHERE year = "1971"</s>
CREATE TABLE table_name_83 (location VARCHAR, name VARCHAR)
SELECT location FROM table_name_83 WHERE name = "third bridge over panama canal"
Where was the third bridge over panama canal?
<s>[INST]Where was the third bridge over panama canal? Context: CREATE TABLE table_name_83 (location VARCHAR, name VARCHAR)[/INST]SELECT location FROM table_name_83 WHERE name = "third bridge over panama canal"</s>
CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_2215159_2 WHERE partner = "Rafael Osuna"
What was the score when the partner is Rafael Osuna?
<s>[INST]What was the score when the partner is Rafael Osuna? Context: CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_2215159_2 WHERE partner = "Rafael Osuna"</s>
CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR, medal VARCHAR)
SELECT event FROM table_name_60 WHERE games = "1950 auckland" AND medal = "bronze"
Name the Event of the Games of 1950 auckland and a Medal of bronze?
<s>[INST]Name the Event of the Games of 1950 auckland and a Medal of bronze? Context: CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR, medal VARCHAR)[/INST]SELECT event FROM table_name_60 WHERE games = "1950 auckland" AND medal = "bronze"</s>
CREATE TABLE table_2508633_6 (nfl_team VARCHAR, player VARCHAR)
SELECT nfl_team FROM table_2508633_6 WHERE player = "Eric Williams"
Name the nfl team for eric williams
<s>[INST]Name the nfl team for eric williams Context: CREATE TABLE table_2508633_6 (nfl_team VARCHAR, player VARCHAR)[/INST]SELECT nfl_team FROM table_2508633_6 WHERE player = "Eric Williams"</s>
CREATE TABLE table_name_76 (year VARCHAR, name VARCHAR)
SELECT COUNT(year) FROM table_name_76 WHERE name = "prof. aditya naraian purohit"
What is the total number of years that prof. aditya naraian purohit won?
<s>[INST]What is the total number of years that prof. aditya naraian purohit won? Context: CREATE TABLE table_name_76 (year VARCHAR, name VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_76 WHERE name = "prof. aditya naraian purohit"</s>
CREATE TABLE ship (TYPE VARCHAR)
SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
Please show the most common type of ships.
<s>[INST]Please show the most common type of ships. Context: CREATE TABLE ship (TYPE VARCHAR)[/INST]SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_28898974_3 (date VARCHAR, incumbent VARCHAR)
SELECT COUNT(date) FROM table_28898974_3 WHERE incumbent = "James Rutherford"
When james rutherford is the incumbent how many dates are there?
<s>[INST]When james rutherford is the incumbent how many dates are there? Context: CREATE TABLE table_28898974_3 (date VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(date) FROM table_28898974_3 WHERE incumbent = "James Rutherford"</s>
CREATE TABLE table_name_43 (points VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR, engine VARCHAR)
SELECT COUNT(points) FROM table_name_43 WHERE entrant = "martini racing" AND engine = "alfa romeo flat-12" AND chassis = "brabham bt45" AND year = 1976
How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have?
<s>[INST]How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have? Context: CREATE TABLE table_name_43 (points VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR, engine VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_43 WHERE entr...
CREATE TABLE table_name_54 (rank INTEGER, notes VARCHAR, athlete VARCHAR)
SELECT MIN(rank) FROM table_name_54 WHERE notes = "fb" AND athlete = "andre vonarburg"
What is the lowest rank for Andre Vonarburg, when the notes are FB?
<s>[INST]What is the lowest rank for Andre Vonarburg, when the notes are FB? Context: CREATE TABLE table_name_54 (rank INTEGER, notes VARCHAR, athlete VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_54 WHERE notes = "fb" AND athlete = "andre vonarburg"</s>
CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR)
SELECT date FROM table_name_78 WHERE venue = "taunton" AND name = "sc ganguly"
What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?
<s>[INST]What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"? Context: CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE venue = "taunton" AND name = "sc ganguly"</s>
CREATE TABLE table_name_40 (type VARCHAR, engine VARCHAR)
SELECT type FROM table_name_40 WHERE engine = "v16"
What type of car has the v16 engine?
<s>[INST]What type of car has the v16 engine? Context: CREATE TABLE table_name_40 (type VARCHAR, engine VARCHAR)[/INST]SELECT type FROM table_name_40 WHERE engine = "v16"</s>
CREATE TABLE table_name_56 (position VARCHAR, competition VARCHAR)
SELECT position FROM table_name_56 WHERE competition = "european indoor championships"
What place did Târlea come in at the European Indoor Championships?
<s>[INST]What place did Târlea come in at the European Indoor Championships? Context: CREATE TABLE table_name_56 (position VARCHAR, competition VARCHAR)[/INST]SELECT position FROM table_name_56 WHERE competition = "european indoor championships"</s>
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT date FROM table_name_95 WHERE opponent = "@mil" AND record = "45-16"
Opponent of @mil, and a Record of 45-16 happened on what date?
<s>[INST]Opponent of @mil, and a Record of 45-16 happened on what date? Context: CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE opponent = "@mil" AND record = "45-16"</s>
CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)
SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age > 40) EXCEPT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age < 30)
Find the name of the person who has friends with age above 40 but not under age 30?
<s>[INST]Find the name of the person who has friends with age above 40 but not under age 30? Context: CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR)[/INST]SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = ...
CREATE TABLE table_name_98 (last_yr INTEGER, l_plyf INTEGER)
SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 0
What is the average last yr with an l plyf less than 0?
<s>[INST]What is the average last yr with an l plyf less than 0? Context: CREATE TABLE table_name_98 (last_yr INTEGER, l_plyf INTEGER)[/INST]SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 0</s>
CREATE TABLE table_name_15 (self_employed VARCHAR, investment_income VARCHAR, other_income_sources VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR)
SELECT self_employed FROM table_name_15 WHERE investment_income = "2%" AND other_income_sources = "3%" AND employment___salaries_ & _wages_ = "71%"
Investment income of 2%, and an other income sources of 3%, and an employment (salaries & wages) of 71% involves which self employed?
<s>[INST]Investment income of 2%, and an other income sources of 3%, and an employment (salaries & wages) of 71% involves which self employed? Context: CREATE TABLE table_name_15 (self_employed VARCHAR, investment_income VARCHAR, other_income_sources VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR)[/INST]SELEC...
CREATE TABLE table_24330912_1 (money_list_rank INTEGER)
SELECT MIN(money_list_rank) FROM table_24330912_1
What is the lowest overall money list rank?
<s>[INST]What is the lowest overall money list rank? Context: CREATE TABLE table_24330912_1 (money_list_rank INTEGER)[/INST]SELECT MIN(money_list_rank) FROM table_24330912_1</s>
CREATE TABLE table_name_56 (aggregate VARCHAR, opponents VARCHAR)
SELECT aggregate FROM table_name_56 WHERE opponents = "bayer leverkusen"
What is the Aggregate of Bayer Leverkusen opponents?
<s>[INST]What is the Aggregate of Bayer Leverkusen opponents? Context: CREATE TABLE table_name_56 (aggregate VARCHAR, opponents VARCHAR)[/INST]SELECT aggregate FROM table_name_56 WHERE opponents = "bayer leverkusen"</s>
CREATE TABLE table_name_41 (sport VARCHAR, medal VARCHAR, games VARCHAR)
SELECT sport FROM table_name_41 WHERE medal = "gold" AND games = "2000 sydney"
Which sport resulted in a gold medal in the 2000 Sydney games?
<s>[INST]Which sport resulted in a gold medal in the 2000 Sydney games? Context: CREATE TABLE table_name_41 (sport VARCHAR, medal VARCHAR, games VARCHAR)[/INST]SELECT sport FROM table_name_41 WHERE medal = "gold" AND games = "2000 sydney"</s>
CREATE TABLE table_11449311_2 (result VARCHAR, record VARCHAR)
SELECT result FROM table_11449311_2 WHERE record = "2-13"
Find all the result(s) with the record of 2-13.
<s>[INST]Find all the result(s) with the record of 2-13. Context: CREATE TABLE table_11449311_2 (result VARCHAR, record VARCHAR)[/INST]SELECT result FROM table_11449311_2 WHERE record = "2-13"</s>
CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)
SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' INTERSECT SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WH...
Find the first names of the faculty members who participate in Canoeing and Kayaking.
<s>[INST]Find the first names of the faculty members who participate in Canoeing and Kayaking. Context: CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)[/INST]SELECT T1.lname FROM Faculty AS T1 JOIN Fa...
CREATE TABLE table_name_84 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_84 WHERE home_team = "birmingham city"
What was the score of the game that home team birmingham city played?
<s>[INST]What was the score of the game that home team birmingham city played? Context: CREATE TABLE table_name_84 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_84 WHERE home_team = "birmingham city"</s>
CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_42 WHERE opponent = "andre roberts"
What is the round when the opponent is Andre Roberts?
<s>[INST]What is the round when the opponent is Andre Roberts? Context: CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_42 WHERE opponent = "andre roberts"</s>
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
What is the name of the high schooler who has the greatest number of friends?
<s>[INST]What is the name of the high schooler who has the greatest number of friends? Context: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)[/INST]SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) ...
CREATE TABLE orders (order_id VARCHAR, date_order_placed VARCHAR)
SELECT order_id FROM orders ORDER BY date_order_placed DESC LIMIT 1
What is the id of the most recent order?
<s>[INST]What is the id of the most recent order? Context: CREATE TABLE orders (order_id VARCHAR, date_order_placed VARCHAR)[/INST]SELECT order_id FROM orders ORDER BY date_order_placed DESC LIMIT 1</s>
CREATE TABLE table_name_23 (position VARCHAR, jersey_number_s_ VARCHAR)
SELECT position FROM table_name_23 WHERE jersey_number_s_ = 40
Which position was played by the player wearing jersey number 40?
<s>[INST]Which position was played by the player wearing jersey number 40? Context: CREATE TABLE table_name_23 (position VARCHAR, jersey_number_s_ VARCHAR)[/INST]SELECT position FROM table_name_23 WHERE jersey_number_s_ = 40</s>
CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_83 WHERE opponent = "sydney roosters"
What is the score of the match with the sydney roosters as the opponent?
<s>[INST]What is the score of the match with the sydney roosters as the opponent? Context: CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_83 WHERE opponent = "sydney roosters"</s>
CREATE TABLE table_name_2 (venue VARCHAR, position VARCHAR, notes VARCHAR, year VARCHAR)
SELECT venue FROM table_name_2 WHERE notes = "5000 m" AND year = 2009 AND position = "1st"
Which venue had 5000 m notes in 2009 with a 1st position?
<s>[INST]Which venue had 5000 m notes in 2009 with a 1st position? Context: CREATE TABLE table_name_2 (venue VARCHAR, position VARCHAR, notes VARCHAR, year VARCHAR)[/INST]SELECT venue FROM table_name_2 WHERE notes = "5000 m" AND year = 2009 AND position = "1st"</s>
CREATE TABLE table_21313498_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_21313498_1 WHERE production_code = "62015-08-162"
what is the name of the episode which the production code is 62015-08-162
<s>[INST]what is the name of the episode which the production code is 62015-08-162 Context: CREATE TABLE table_21313498_1 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_21313498_1 WHERE production_code = "62015-08-162"</s>
CREATE TABLE table_name_41 (oberliga_baden_württemberg VARCHAR, season VARCHAR)
SELECT oberliga_baden_württemberg FROM table_name_41 WHERE season = "1991-92"
which Oberliga Baden-Württemberg has a Season of 1991-92?
<s>[INST]which Oberliga Baden-Württemberg has a Season of 1991-92? Context: CREATE TABLE table_name_41 (oberliga_baden_württemberg VARCHAR, season VARCHAR)[/INST]SELECT oberliga_baden_württemberg FROM table_name_41 WHERE season = "1991-92"</s>
CREATE TABLE airport (id VARCHAR, name VARCHAR, IATA VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR)
SELECT T1.id, T1.name, T1.IATA FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1
What is the id, name and IATA code of the airport that had most number of flights?
<s>[INST]What is the id, name and IATA code of the airport that had most number of flights? Context: CREATE TABLE airport (id VARCHAR, name VARCHAR, IATA VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR)[/INST]SELECT T1.id, T1.name, T1.IATA FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id GROU...
CREATE TABLE table_14945112_1 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_14945112_1 WHERE date = "November 12, 1978"
Who were all of the opponents when the date was November 12, 1978?
<s>[INST]Who were all of the opponents when the date was November 12, 1978? Context: CREATE TABLE table_14945112_1 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_14945112_1 WHERE date = "November 12, 1978"</s>
CREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_33 WHERE game = "41"
What was the date for Game 41?
<s>[INST]What was the date for Game 41? Context: CREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE game = "41"</s>
CREATE TABLE table_name_81 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT position FROM table_name_81 WHERE college_junior_club_team = "hull olympiques (qmjhl)"
Can you tell me the Position that has the College/Junior/Club Team of hull olympiques (qmjhl)?
<s>[INST]Can you tell me the Position that has the College/Junior/Club Team of hull olympiques (qmjhl)? Context: CREATE TABLE table_name_81 (position VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT position FROM table_name_81 WHERE college_junior_club_team = "hull olympiques (qmjhl)"</s>
CREATE TABLE table_30047613_12 (streak VARCHAR, date VARCHAR)
SELECT streak FROM table_30047613_12 WHERE date = "April 13"
in april 13 what was the streak
<s>[INST]in april 13 what was the streak Context: CREATE TABLE table_30047613_12 (streak VARCHAR, date VARCHAR)[/INST]SELECT streak FROM table_30047613_12 WHERE date = "April 13"</s>
CREATE TABLE table_name_77 (points INTEGER, year VARCHAR, chassis VARCHAR)
SELECT MAX(points) FROM table_name_77 WHERE year = 1985 AND chassis = "march 85b"
In 1985, how many points were earned by the entrant with the March 85B chassis?
<s>[INST]In 1985, how many points were earned by the entrant with the March 85B chassis? Context: CREATE TABLE table_name_77 (points INTEGER, year VARCHAR, chassis VARCHAR)[/INST]SELECT MAX(points) FROM table_name_77 WHERE year = 1985 AND chassis = "march 85b"</s>
CREATE TABLE table_name_26 (population_estimate_2005 VARCHAR, area__km_2__ INTEGER)
SELECT COUNT(population_estimate_2005) FROM table_name_26 WHERE area__km_2__ > 8 OFFSET 023.74
how many times was the population estimate 2005 have an area (km2) more than 8,023.74?
<s>[INST]how many times was the population estimate 2005 have an area (km2) more than 8,023.74? Context: CREATE TABLE table_name_26 (population_estimate_2005 VARCHAR, area__km_2__ INTEGER)[/INST]SELECT COUNT(population_estimate_2005) FROM table_name_26 WHERE area__km_2__ > 8 OFFSET 023.74</s>
CREATE TABLE table_1342149_13 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_1342149_13 WHERE first_elected = 1932
What is the incumbent for 1932?
<s>[INST]What is the incumbent for 1932? Context: CREATE TABLE table_1342149_13 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_1342149_13 WHERE first_elected = 1932</s>
CREATE TABLE table_name_12 (vs_terran VARCHAR, vs_zerg VARCHAR)
SELECT vs_terran FROM table_name_12 WHERE vs_zerg = "69"
What is the score vs. Terran when the score vs. Zerg is 69?
<s>[INST]What is the score vs. Terran when the score vs. Zerg is 69? Context: CREATE TABLE table_name_12 (vs_terran VARCHAR, vs_zerg VARCHAR)[/INST]SELECT vs_terran FROM table_name_12 WHERE vs_zerg = "69"</s>
CREATE TABLE Catalogs (date_of_latest_revision VARCHAR)
SELECT date_of_latest_revision FROM Catalogs GROUP BY date_of_latest_revision HAVING COUNT(*) > 1
Find the dates on which more than one revisions were made.
<s>[INST]Find the dates on which more than one revisions were made. Context: CREATE TABLE Catalogs (date_of_latest_revision VARCHAR)[/INST]SELECT date_of_latest_revision FROM Catalogs GROUP BY date_of_latest_revision HAVING COUNT(*) > 1</s>
CREATE TABLE table_name_29 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_29 WHERE course = "vicenza to marostica"
What type is the race with the vicenza to marostica course?
<s>[INST]What type is the race with the vicenza to marostica course? Context: CREATE TABLE table_name_29 (type VARCHAR, course VARCHAR)[/INST]SELECT type FROM table_name_29 WHERE course = "vicenza to marostica"</s>
CREATE TABLE table_name_42 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_42 WHERE iata = "auh"
Which city has an IATA of AUH?
<s>[INST]Which city has an IATA of AUH? Context: CREATE TABLE table_name_42 (city VARCHAR, iata VARCHAR)[/INST]SELECT city FROM table_name_42 WHERE iata = "auh"</s>
CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_24 WHERE date = "22 september 1972"
What is the score on 22 September 1972?
<s>[INST]What is the score on 22 September 1972? Context: CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_24 WHERE date = "22 september 1972"</s>
CREATE TABLE table_name_84 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_84 WHERE score = 69 - 68 = 137
What place is the player with a score of 69-68=137?
<s>[INST]What place is the player with a score of 69-68=137? Context: CREATE TABLE table_name_84 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_84 WHERE score = 69 - 68 = 137</s>
CREATE TABLE table_name_97 (bass VARCHAR, year VARCHAR, album VARCHAR)
SELECT bass FROM table_name_97 WHERE year > 1982 AND album = "against the grain"
Who played the bass for the Against the Grain album after 1982?
<s>[INST]Who played the bass for the Against the Grain album after 1982? Context: CREATE TABLE table_name_97 (bass VARCHAR, year VARCHAR, album VARCHAR)[/INST]SELECT bass FROM table_name_97 WHERE year > 1982 AND album = "against the grain"</s>
CREATE TABLE table_name_1 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT COUNT(bronze) FROM table_name_1 WHERE gold = 0 AND silver < 3 AND rank > 9 AND total = 1
Gold of 0, and a Silver smaller than 3, and a Rank larger than 9, and a Total of 1 has how many numbers of bronze?
<s>[INST]Gold of 0, and a Silver smaller than 3, and a Rank larger than 9, and a Total of 1 has how many numbers of bronze? Context: CREATE TABLE table_name_1 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_1 WHERE gold = 0 AND silver < 3 AND rank >...
CREATE TABLE table_name_82 (champion VARCHAR, score VARCHAR)
SELECT champion FROM table_name_82 WHERE score = "9–1"
What Champion had a Score of 9–1?
<s>[INST]What Champion had a Score of 9–1? Context: CREATE TABLE table_name_82 (champion VARCHAR, score VARCHAR)[/INST]SELECT champion FROM table_name_82 WHERE score = "9–1"</s>
CREATE TABLE table_21234111_10 (robin VARCHAR, result VARCHAR)
SELECT robin FROM table_21234111_10 WHERE result = "Eliminated"
What was Robin's score when she was eliminated?
<s>[INST]What was Robin's score when she was eliminated? Context: CREATE TABLE table_21234111_10 (robin VARCHAR, result VARCHAR)[/INST]SELECT robin FROM table_21234111_10 WHERE result = "Eliminated"</s>
CREATE TABLE table_18666752_3 (rider VARCHAR, horse VARCHAR)
SELECT rider FROM table_18666752_3 WHERE horse = "Galan De Sauvagere"
Who is the rider where the horse is galan de sauvagere?
<s>[INST]Who is the rider where the horse is galan de sauvagere? Context: CREATE TABLE table_18666752_3 (rider VARCHAR, horse VARCHAR)[/INST]SELECT rider FROM table_18666752_3 WHERE horse = "Galan De Sauvagere"</s>
CREATE TABLE table_name_33 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_33 WHERE rank = "3" AND bronze > 3
What average Total has a Rank of 3 and a Bronze award larger than 3?
<s>[INST]What average Total has a Rank of 3 and a Bronze award larger than 3? Context: CREATE TABLE table_name_33 (total INTEGER, rank VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(total) FROM table_name_33 WHERE rank = "3" AND bronze > 3</s>
CREATE TABLE table_name_95 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)
SELECT entrant FROM table_name_95 WHERE engine = "maserati straight-6" AND year < 1958 AND chassis = "maserati 250f" AND points < 4
What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4?
<s>[INST]What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4? Context: CREATE TABLE table_name_95 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_95 WHERE eng...
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (date_order_placed VARCHAR, customer_id VARCHAR)
SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie"
Find the dates of orders which belong to the customer named "Jeramie".
<s>[INST]Find the dates of orders which belong to the customer named "Jeramie". Context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (date_order_placed VARCHAR, customer_id VARCHAR)[/INST]SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = ...
CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn"
What was the attendance when Hawthorn played as home team?
<s>[INST]What was the attendance when Hawthorn played as home team? Context: CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn"</s>
CREATE TABLE table_name_3 (Id VARCHAR)
SELECT 1998 FROM table_name_3 WHERE 2000 = "25"
What is the 1998 value if the 2000 value is 25?
<s>[INST]What is the 1998 value if the 2000 value is 25? Context: CREATE TABLE table_name_3 (Id VARCHAR)[/INST]SELECT 1998 FROM table_name_3 WHERE 2000 = "25"</s>
CREATE TABLE table_name_34 (total_seats VARCHAR, party VARCHAR)
SELECT total_seats FROM table_name_34 WHERE party = "christian democratic union (cdu)"
What is the total number of seats of the Christian Democratic Union (CDU) party?
<s>[INST]What is the total number of seats of the Christian Democratic Union (CDU) party? Context: CREATE TABLE table_name_34 (total_seats VARCHAR, party VARCHAR)[/INST]SELECT total_seats FROM table_name_34 WHERE party = "christian democratic union (cdu)"</s>
CREATE TABLE table_name_66 (starts INTEGER, winnings VARCHAR, avg_start VARCHAR)
SELECT SUM(starts) FROM table_name_66 WHERE winnings = "$1,636,827" AND avg_start < 37
How many starts had an avg start of less than 37 and won $1,636,827?
<s>[INST]How many starts had an avg start of less than 37 and won $1,636,827? Context: CREATE TABLE table_name_66 (starts INTEGER, winnings VARCHAR, avg_start VARCHAR)[/INST]SELECT SUM(starts) FROM table_name_66 WHERE winnings = "$1,636,827" AND avg_start < 37</s>
CREATE TABLE table_name_75 (year_of_release VARCHAR, title VARCHAR)
SELECT COUNT(year_of_release) FROM table_name_75 WHERE title = "what goes around comes around"
What is the total year of release of the title what goes around comes around?
<s>[INST]What is the total year of release of the title what goes around comes around? Context: CREATE TABLE table_name_75 (year_of_release VARCHAR, title VARCHAR)[/INST]SELECT COUNT(year_of_release) FROM table_name_75 WHERE title = "what goes around comes around"</s>
CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bronze > 2
What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes?
<s>[INST]What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes? Context: CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bron...
CREATE TABLE table_name_69 (avg_g INTEGER, name VARCHAR, effic VARCHAR)
SELECT SUM(avg_g) FROM table_name_69 WHERE name = "opponents" AND effic < 129.73
Which Avg/G that has a Name of opponents, and an Effic smaller than 129.73?
<s>[INST]Which Avg/G that has a Name of opponents, and an Effic smaller than 129.73? Context: CREATE TABLE table_name_69 (avg_g INTEGER, name VARCHAR, effic VARCHAR)[/INST]SELECT SUM(avg_g) FROM table_name_69 WHERE name = "opponents" AND effic < 129.73</s>
CREATE TABLE country (Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)
SELECT COUNT(DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "Chinese"
What is the number of distinct continents where Chinese is spoken?
<s>[INST]What is the number of distinct continents where Chinese is spoken? Context: CREATE TABLE country (Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)[/INST]SELECT COUNT(DISTINCT Continent) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Languag...
CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_20 WHERE player = "deane beman"
What is Score, when Player is "Deane Beman"?
<s>[INST]What is Score, when Player is "Deane Beman"? Context: CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_20 WHERE player = "deane beman"</s>
CREATE TABLE table_name_81 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_81 WHERE date = "april 23"
What opponent has april 23 as the date?
<s>[INST]What opponent has april 23 as the date? Context: CREATE TABLE table_name_81 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_81 WHERE date = "april 23"</s>
CREATE TABLE table_name_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR)
SELECT current_club FROM table_name_51 WHERE apps > 368 AND debut_year < 1994
What is the current club with more than 368 apps and a debut year earlier than 1994?
<s>[INST]What is the current club with more than 368 apps and a debut year earlier than 1994? Context: CREATE TABLE table_name_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR)[/INST]SELECT current_club FROM table_name_51 WHERE apps > 368 AND debut_year < 1994</s>
CREATE TABLE table_name_97 (pick INTEGER, position VARCHAR, round VARCHAR)
SELECT SUM(pick) FROM table_name_97 WHERE position = "tackle" AND round < 15
What is the pick number for the player playing tackle position, and a round less than 15?
<s>[INST]What is the pick number for the player playing tackle position, and a round less than 15? Context: CREATE TABLE table_name_97 (pick INTEGER, position VARCHAR, round VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_97 WHERE position = "tackle" AND round < 15</s>
CREATE TABLE table_name_63 (race VARCHAR)
SELECT race AS Winner FROM table_name_63 WHERE race = "south african grand prix"
Who won the South African Grand Prix?
<s>[INST]Who won the South African Grand Prix? Context: CREATE TABLE table_name_63 (race VARCHAR)[/INST]SELECT race AS Winner FROM table_name_63 WHERE race = "south african grand prix"</s>
CREATE TABLE table_27723228_8 (record VARCHAR, score VARCHAR)
SELECT record FROM table_27723228_8 WHERE score = "L 84–96 (OT)"
What is the record when the score was l 84–96 (ot)?
<s>[INST]What is the record when the score was l 84–96 (ot)? Context: CREATE TABLE table_27723228_8 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_27723228_8 WHERE score = "L 84–96 (OT)"</s>
CREATE TABLE table_name_85 (competition VARCHAR, assist_pass VARCHAR, result VARCHAR, location VARCHAR)
SELECT competition FROM table_name_85 WHERE result = "2-0" AND location = "ferreiras" AND assist_pass = "casey nogueira"
Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira?
<s>[INST]Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira? Context: CREATE TABLE table_name_85 (competition VARCHAR, assist_pass VARCHAR, result VARCHAR, location VARCHAR)[/INST]SELECT competition FROM table_name_85 WHERE result = "2-0" AND location = "ferreiras" AND assist_pass ...
CREATE TABLE table_name_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR)
SELECT SUM(year) FROM table_name_39 WHERE winner = "new york jets" AND result = "24–17" AND location = "giants stadium"
What is the year when the Winner was the new york jets, with a Result of 24–17, played at giants stadium?
<s>[INST]What is the year when the Winner was the new york jets, with a Result of 24–17, played at giants stadium? Context: CREATE TABLE table_name_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR)[/INST]SELECT SUM(year) FROM table_name_39 WHERE winner = "new york jets" AND result = "24–17" AND locati...
CREATE TABLE table_name_61 (season VARCHAR, goals VARCHAR, rank VARCHAR, club VARCHAR)
SELECT season FROM table_name_61 WHERE rank < 4 AND club = "barcelona" AND goals < 115
Which Season has a Rank smaller than 4, and a Club of barcelona, and less than 115 goals?
<s>[INST]Which Season has a Rank smaller than 4, and a Club of barcelona, and less than 115 goals? Context: CREATE TABLE table_name_61 (season VARCHAR, goals VARCHAR, rank VARCHAR, club VARCHAR)[/INST]SELECT season FROM table_name_61 WHERE rank < 4 AND club = "barcelona" AND goals < 115</s>
CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = "16.17"
what is the latest episode in the series that had 16.17 million u.s. viewers?
<s>[INST]what is the latest episode in the series that had 16.17 million u.s. viewers? Context: CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = "16.17"</s>
CREATE TABLE table_name_72 (vinculum VARCHAR, parentheses VARCHAR)
SELECT vinculum FROM table_name_72 WHERE parentheses = "0.(81)"
How much is vinculum when the parentheses are 0.(81)?
<s>[INST]How much is vinculum when the parentheses are 0.(81)? Context: CREATE TABLE table_name_72 (vinculum VARCHAR, parentheses VARCHAR)[/INST]SELECT vinculum FROM table_name_72 WHERE parentheses = "0.(81)"</s>
CREATE TABLE table_237757_9 (nasl_club_s_ VARCHAR, accolades__pre_nasl_ VARCHAR)
SELECT nasl_club_s_ FROM table_237757_9 WHERE accolades__pre_nasl_ = "Won several titles with Leeds United"
What nasl club won several titles with leeds united?
<s>[INST]What nasl club won several titles with leeds united? Context: CREATE TABLE table_237757_9 (nasl_club_s_ VARCHAR, accolades__pre_nasl_ VARCHAR)[/INST]SELECT nasl_club_s_ FROM table_237757_9 WHERE accolades__pre_nasl_ = "Won several titles with Leeds United"</s>
CREATE TABLE table_name_13 (returning VARCHAR, last_aired VARCHAR)
SELECT returning FROM table_name_13 WHERE last_aired = 2002
When did a show last aired in 2002 return?
<s>[INST]When did a show last aired in 2002 return? Context: CREATE TABLE table_name_13 (returning VARCHAR, last_aired VARCHAR)[/INST]SELECT returning FROM table_name_13 WHERE last_aired = 2002</s>
CREATE TABLE table_2562572_19 (settlement VARCHAR, population__2011_ VARCHAR)
SELECT settlement FROM table_2562572_19 WHERE population__2011_ = 1114
In what settlement is the population 1114?
<s>[INST]In what settlement is the population 1114? Context: CREATE TABLE table_2562572_19 (settlement VARCHAR, population__2011_ VARCHAR)[/INST]SELECT settlement FROM table_2562572_19 WHERE population__2011_ = 1114</s>
CREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_name_1 WHERE points_for = "447"
How many matches were drawn by a team with 447 points?
<s>[INST]How many matches were drawn by a team with 447 points? Context: CREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR)[/INST]SELECT drawn FROM table_name_1 WHERE points_for = "447"</s>
CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR)
SELECT AVG(channel_4_weekly_rank_a) FROM table_name_20 WHERE viewers__millions_ < 2.19 AND airdate = "december 7, 2007"
What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007?
<s>[INST]What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007? Context: CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR)[/INST]SELECT AVG(channel_4_weekly_rank_a) FROM table_name_20 WHERE viewers__millions_ < 2.19 AND a...
CREATE TABLE table_name_64 (Id VARCHAR)
SELECT 2011 FROM table_name_64 WHERE 2010 = "olympic games"
Name the 2011 for 2010 of olympic games
<s>[INST]Name the 2011 for 2010 of olympic games Context: CREATE TABLE table_name_64 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_64 WHERE 2010 = "olympic games"</s>
CREATE TABLE table_25997153_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__million_ FROM table_25997153_1 WHERE directed_by = "Dan Lerner"
how many million u.s. viewers watched the episode directed by dan lerner?
<s>[INST]how many million u.s. viewers watched the episode directed by dan lerner? Context: CREATE TABLE table_25997153_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_25997153_1 WHERE directed_by = "Dan Lerner"</s>
CREATE TABLE table_name_15 (format_s_ VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT format_s_ FROM table_name_15 WHERE label = "atlantic records" AND catalog = "512336"
What are the formats associated with the Atlantic Records label, catalog number 512336?
<s>[INST]What are the formats associated with the Atlantic Records label, catalog number 512336? Context: CREATE TABLE table_name_15 (format_s_ VARCHAR, label VARCHAR, catalog VARCHAR)[/INST]SELECT format_s_ FROM table_name_15 WHERE label = "atlantic records" AND catalog = "512336"</s>
CREATE TABLE table_name_25 (rank VARCHAR, swing_to_gain VARCHAR, constituency VARCHAR)
SELECT COUNT(rank) FROM table_name_25 WHERE swing_to_gain < 6.92 AND constituency = "caerphilly"
What rank was caerphilly with a Swing smaller than 6.92?
<s>[INST]What rank was caerphilly with a Swing smaller than 6.92? Context: CREATE TABLE table_name_25 (rank VARCHAR, swing_to_gain VARCHAR, constituency VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_25 WHERE swing_to_gain < 6.92 AND constituency = "caerphilly"</s>
CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_4 WHERE venue = "western oval"
What did the home team score at Western Oval?
<s>[INST]What did the home team score at Western Oval? Context: CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_4 WHERE venue = "western oval"</s>
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_26 WHERE date = "july 25"
What score was on July 25?
<s>[INST]What score was on July 25? Context: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_26 WHERE date = "july 25"</s>
CREATE TABLE table_name_54 (affiliation VARCHAR, school VARCHAR)
SELECT affiliation FROM table_name_54 WHERE school = "university of maryland"
What is the affiliation of the University of Maryland?
<s>[INST]What is the affiliation of the University of Maryland? Context: CREATE TABLE table_name_54 (affiliation VARCHAR, school VARCHAR)[/INST]SELECT affiliation FROM table_name_54 WHERE school = "university of maryland"</s>
CREATE TABLE table_name_1 (round VARCHAR, opposition VARCHAR)
SELECT round FROM table_name_1 WHERE opposition = "lyon"
What round had the opponent Lyon?
<s>[INST]What round had the opponent Lyon? Context: CREATE TABLE table_name_1 (round VARCHAR, opposition VARCHAR)[/INST]SELECT round FROM table_name_1 WHERE opposition = "lyon"</s>