context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_2562572_35 (population__2011_ VARCHAR, settlement VARCHAR)
SELECT COUNT(population__2011_) FROM table_2562572_35 WHERE settlement = "Mihajlovo"
Name the population 2011 for mihajlovo
<s>[INST]Name the population 2011 for mihajlovo Context: CREATE TABLE table_2562572_35 (population__2011_ VARCHAR, settlement VARCHAR)[/INST]SELECT COUNT(population__2011_) FROM table_2562572_35 WHERE settlement = "Mihajlovo"</s>
CREATE TABLE table_name_12 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR)
SELECT AVG(began_operation) FROM table_name_12 WHERE length__km_ = "ampang" AND stations > 27
What is the average operation beginning with a length of ampang and over 27 stations?
<s>[INST]What is the average operation beginning with a length of ampang and over 27 stations? Context: CREATE TABLE table_name_12 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR)[/INST]SELECT AVG(began_operation) FROM table_name_12 WHERE length__km_ = "ampang" AND stations > 27</s>
CREATE TABLE table_name_69 (attendance VARCHAR, week VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_69 WHERE week < 5 AND result = "bye"
How many were in attendance in a week lower than 5 with a Bye result?
<s>[INST]How many were in attendance in a week lower than 5 with a Bye result? Context: CREATE TABLE table_name_69 (attendance VARCHAR, week VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_69 WHERE week < 5 AND result = "bye"</s>
CREATE TABLE table_12608427_8 (no INTEGER, name VARCHAR)
SELECT MIN(no) FROM table_12608427_8 WHERE name = "de Vries"
What is the number for De Vries?
<s>[INST]What is the number for De Vries? Context: CREATE TABLE table_12608427_8 (no INTEGER, name VARCHAR)[/INST]SELECT MIN(no) FROM table_12608427_8 WHERE name = "de Vries"</s>
CREATE TABLE table_11963601_11 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_11963601_11 WHERE date = "May 3"
Who was the high scorer and how much did they score in the game on May 3?
<s>[INST]Who was the high scorer and how much did they score in the game on May 3? Context: CREATE TABLE table_11963601_11 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_11963601_11 WHERE date = "May 3"</s>
CREATE TABLE table_name_26 (last_match VARCHAR, date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
SELECT last_match FROM table_name_26 WHERE date_of_vacancy = "round 2" AND outgoing_manager = "ney franco"
What is the last match with a vacancy date of round 2 and Ney Franco as outgoing manager?
<s>[INST]What is the last match with a vacancy date of round 2 and Ney Franco as outgoing manager? Context: CREATE TABLE table_name_26 (last_match VARCHAR, date_of_vacancy VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT last_match FROM table_name_26 WHERE date_of_vacancy = "round 2" AND outgoing_manager = "ney franco"<...
CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR, accelerator_id VARCHAR, compatible_since_year VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)
SELECT T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id JOIN web_client_accelerator AS T3 ON T2.accelerator_id = T3.id WHERE T3.name = 'CProxy' AND T2.compatible_since_year > 1998
What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?
<s>[INST]What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ? Context: CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR, accelerator_id VARCHAR, compatible_since_year VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE b...
CREATE TABLE table_2509350_3 (language VARCHAR, el_villar_municipality VARCHAR)
SELECT language FROM table_2509350_3 WHERE el_villar_municipality = 1264
Name the language for el villar 1264
<s>[INST]Name the language for el villar 1264 Context: CREATE TABLE table_2509350_3 (language VARCHAR, el_villar_municipality VARCHAR)[/INST]SELECT language FROM table_2509350_3 WHERE el_villar_municipality = 1264</s>
CREATE TABLE table_name_55 (party VARCHAR, minister VARCHAR)
SELECT party FROM table_name_55 WHERE minister = "franco frattini"
What is Party, when Minister is "Franco Frattini"?
<s>[INST]What is Party, when Minister is "Franco Frattini"? Context: CREATE TABLE table_name_55 (party VARCHAR, minister VARCHAR)[/INST]SELECT party FROM table_name_55 WHERE minister = "franco frattini"</s>
CREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_96 WHERE opponent = "jeff monson"
What is the result of the match with Jeff Monson as opponent?
<s>[INST]What is the result of the match with Jeff Monson as opponent? Context: CREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR)[/INST]SELECT res FROM table_name_96 WHERE opponent = "jeff monson"</s>
CREATE TABLE table_24195232_1 (affiliation VARCHAR, institution VARCHAR)
SELECT affiliation FROM table_24195232_1 WHERE institution = "Ohio Christian University"
What is the affiliation when the institution was ohio christian university?
<s>[INST]What is the affiliation when the institution was ohio christian university? Context: CREATE TABLE table_24195232_1 (affiliation VARCHAR, institution VARCHAR)[/INST]SELECT affiliation FROM table_24195232_1 WHERE institution = "Ohio Christian University"</s>
CREATE TABLE table_name_40 (away_team VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_40 WHERE date = "sunday, 13 february"
Who was the away team on sunday, 13 february?
<s>[INST]Who was the away team on sunday, 13 february? Context: CREATE TABLE table_name_40 (away_team VARCHAR, date VARCHAR)[/INST]SELECT away_team FROM table_name_40 WHERE date = "sunday, 13 february"</s>
CREATE TABLE table_2933761_1 (played_by VARCHAR, occupation VARCHAR)
SELECT played_by FROM table_2933761_1 WHERE occupation = "Mathematics Student"
Who played the mathematics student?
<s>[INST]Who played the mathematics student? Context: CREATE TABLE table_2933761_1 (played_by VARCHAR, occupation VARCHAR)[/INST]SELECT played_by FROM table_2933761_1 WHERE occupation = "Mathematics Student"</s>
CREATE TABLE table_21436373_8 (type_of_record VARCHAR, date_year VARCHAR)
SELECT type_of_record FROM table_21436373_8 WHERE date_year = "Tue 11/02/75"
What record was set on Tue 11/02/75?
<s>[INST]What record was set on Tue 11/02/75? Context: CREATE TABLE table_21436373_8 (type_of_record VARCHAR, date_year VARCHAR)[/INST]SELECT type_of_record FROM table_21436373_8 WHERE date_year = "Tue 11/02/75"</s>
CREATE TABLE table_1646960_3 (winning_song VARCHAR, debut_album VARCHAR)
SELECT winning_song FROM table_1646960_3 WHERE debut_album = "The winner"
What is the winning song for the artist with a debut album "the winner"?
<s>[INST]What is the winning song for the artist with a debut album "the winner"? Context: CREATE TABLE table_1646960_3 (winning_song VARCHAR, debut_album VARCHAR)[/INST]SELECT winning_song FROM table_1646960_3 WHERE debut_album = "The winner"</s>
CREATE TABLE table_22835602_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_22835602_1 WHERE production_code = "1ARK79"
What is the original air date for production code 1ark79?
<s>[INST]What is the original air date for production code 1ark79? Context: CREATE TABLE table_22835602_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_22835602_1 WHERE production_code = "1ARK79"</s>
CREATE TABLE table_name_18 (team VARCHAR, speed VARCHAR)
SELECT team FROM table_name_18 WHERE speed = "113.316mph"
What's the name of the team that went 113.316mph?
<s>[INST]What's the name of the team that went 113.316mph? Context: CREATE TABLE table_name_18 (team VARCHAR, speed VARCHAR)[/INST]SELECT team FROM table_name_18 WHERE speed = "113.316mph"</s>
CREATE TABLE table_name_76 (tournament VARCHAR, year VARCHAR)
SELECT tournament FROM table_name_76 WHERE year = 1889
I want the tournament for 1889
<s>[INST]I want the tournament for 1889 Context: CREATE TABLE table_name_76 (tournament VARCHAR, year VARCHAR)[/INST]SELECT tournament FROM table_name_76 WHERE year = 1889</s>
CREATE TABLE table_12113888_1 (number INTEGER)
SELECT MAX(number) FROM table_12113888_1
What is the highest number listed?
<s>[INST]What is the highest number listed? Context: CREATE TABLE table_12113888_1 (number INTEGER)[/INST]SELECT MAX(number) FROM table_12113888_1</s>
CREATE TABLE table_21311525_1 (score VARCHAR, date VARCHAR)
SELECT score FROM table_21311525_1 WHERE date = "17/07/2009"
What was the score when the date was 17/07/2009?
<s>[INST]What was the score when the date was 17/07/2009? Context: CREATE TABLE table_21311525_1 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_21311525_1 WHERE date = "17/07/2009"</s>
CREATE TABLE table_name_53 (first_elected INTEGER, district VARCHAR)
SELECT MIN(first_elected) FROM table_name_53 WHERE district = "south carolina 2"
Which First elected has a District of south carolina 2?
<s>[INST]Which First elected has a District of south carolina 2? Context: CREATE TABLE table_name_53 (first_elected INTEGER, district VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_name_53 WHERE district = "south carolina 2"</s>
CREATE TABLE table_name_31 (year VARCHAR)
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1987"
Who won the 250 cc in 1987?
<s>[INST]Who won the 250 cc in 1987? Context: CREATE TABLE table_name_31 (year VARCHAR)[/INST]SELECT 250 AS _cc FROM table_name_31 WHERE year = "1987"</s>
CREATE TABLE table_name_93 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_name_93 WHERE attendance = "63,336"
What is the location of the game with attendance of 63,336?
<s>[INST]What is the location of the game with attendance of 63,336? Context: CREATE TABLE table_name_93 (game_site VARCHAR, attendance VARCHAR)[/INST]SELECT game_site FROM table_name_93 WHERE attendance = "63,336"</s>
CREATE TABLE table_name_40 (races INTEGER, podiums VARCHAR, season VARCHAR)
SELECT SUM(races) FROM table_name_40 WHERE podiums > 4 AND season = "2007"
What is the sum of the races in the 2007 season, which has more than 4 podiums?
<s>[INST]What is the sum of the races in the 2007 season, which has more than 4 podiums? Context: CREATE TABLE table_name_40 (races INTEGER, podiums VARCHAR, season VARCHAR)[/INST]SELECT SUM(races) FROM table_name_40 WHERE podiums > 4 AND season = "2007"</s>
CREATE TABLE table_name_42 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_42 WHERE partner = "robert haybittel"
What is the surface when the partner was Robert Haybittel?
<s>[INST]What is the surface when the partner was Robert Haybittel? Context: CREATE TABLE table_name_42 (surface VARCHAR, partner VARCHAR)[/INST]SELECT surface FROM table_name_42 WHERE partner = "robert haybittel"</s>
CREATE TABLE table_name_37 (rank INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT MAX(rank) FROM table_name_37 WHERE bronze < 1 AND silver = 1 AND total > 1
Which of the largest ranks has a bronze number less than 1, a silver of 1, and a total that is more than 1?
<s>[INST]Which of the largest ranks has a bronze number less than 1, a silver of 1, and a total that is more than 1? Context: CREATE TABLE table_name_37 (rank INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_37 WHERE bronze < 1 AND silver = 1 AND total > 1</s>
CREATE TABLE table_16403890_1 (institution VARCHAR, team_nickname VARCHAR)
SELECT institution FROM table_16403890_1 WHERE team_nickname = "Colonials"
Which school has the mascot of the Colonials?
<s>[INST]Which school has the mascot of the Colonials? Context: CREATE TABLE table_16403890_1 (institution VARCHAR, team_nickname VARCHAR)[/INST]SELECT institution FROM table_16403890_1 WHERE team_nickname = "Colonials"</s>
CREATE TABLE table_name_97 (year INTEGER, player VARCHAR)
SELECT SUM(year) FROM table_name_97 WHERE player = "david rose"
What year was the player David Rose?
<s>[INST]What year was the player David Rose? Context: CREATE TABLE table_name_97 (year INTEGER, player VARCHAR)[/INST]SELECT SUM(year) FROM table_name_97 WHERE player = "david rose"</s>
CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_50 WHERE competition = "king's cup 1996"
What was the score for king's cup 1996?
<s>[INST]What was the score for king's cup 1996? Context: CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_50 WHERE competition = "king's cup 1996"</s>
CREATE TABLE table_name_43 (date VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT date FROM table_name_43 WHERE visitor = "cleveland" AND record = "34-26"
What day was the visitor Cleveland when the record was 34-26?
<s>[INST]What day was the visitor Cleveland when the record was 34-26? Context: CREATE TABLE table_name_43 (date VARCHAR, visitor VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_43 WHERE visitor = "cleveland" AND record = "34-26"</s>
CREATE TABLE table_12434380_1 (mascot VARCHAR, institution VARCHAR)
SELECT mascot FROM table_12434380_1 WHERE institution = "Kansas City Kansas Community College"
What is the mascot for the instition of Kansas city Kansas community college?
<s>[INST]What is the mascot for the instition of Kansas city Kansas community college? Context: CREATE TABLE table_12434380_1 (mascot VARCHAR, institution VARCHAR)[/INST]SELECT mascot FROM table_12434380_1 WHERE institution = "Kansas City Kansas Community College"</s>
CREATE TABLE table_name_1 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_1 WHERE opponent = "keith rockel"
What is the record when the fight was against keith rockel?
<s>[INST]What is the record when the fight was against keith rockel? Context: CREATE TABLE table_name_1 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_1 WHERE opponent = "keith rockel"</s>
CREATE TABLE table_name_86 (road_team VARCHAR, result VARCHAR)
SELECT road_team FROM table_name_86 WHERE result = "91-82"
What road team has 91-82 as the result?
<s>[INST]What road team has 91-82 as the result? Context: CREATE TABLE table_name_86 (road_team VARCHAR, result VARCHAR)[/INST]SELECT road_team FROM table_name_86 WHERE result = "91-82"</s>
CREATE TABLE table_name_52 (studio_analysts VARCHAR, ice_level_reporters VARCHAR)
SELECT studio_analysts FROM table_name_52 WHERE ice_level_reporters = "scott oake"
Which studio analyst has Scott Oake for the ice level reporter?
<s>[INST]Which studio analyst has Scott Oake for the ice level reporter? Context: CREATE TABLE table_name_52 (studio_analysts VARCHAR, ice_level_reporters VARCHAR)[/INST]SELECT studio_analysts FROM table_name_52 WHERE ice_level_reporters = "scott oake"</s>
CREATE TABLE table_11056278_3 (report VARCHAR, fastest_lap VARCHAR)
SELECT report FROM table_11056278_3 WHERE fastest_lap = "Paul Tracy"
What are all the reports where Paul Tracy had the fastest lap?
<s>[INST]What are all the reports where Paul Tracy had the fastest lap? Context: CREATE TABLE table_11056278_3 (report VARCHAR, fastest_lap VARCHAR)[/INST]SELECT report FROM table_11056278_3 WHERE fastest_lap = "Paul Tracy"</s>
CREATE TABLE table_25692955_1 (route_number VARCHAR, south_west_terminal VARCHAR)
SELECT route_number FROM table_25692955_1 WHERE south_west_terminal = "Rincon Valley"
Name the route number for rincon valley
<s>[INST]Name the route number for rincon valley Context: CREATE TABLE table_25692955_1 (route_number VARCHAR, south_west_terminal VARCHAR)[/INST]SELECT route_number FROM table_25692955_1 WHERE south_west_terminal = "Rincon Valley"</s>
CREATE TABLE table_name_72 (race_title VARCHAR, circuit VARCHAR)
SELECT race_title FROM table_name_72 WHERE circuit = "oran park raceway"
What was the title of the race at Oran Park Raceway?
<s>[INST]What was the title of the race at Oran Park Raceway? Context: CREATE TABLE table_name_72 (race_title VARCHAR, circuit VARCHAR)[/INST]SELECT race_title FROM table_name_72 WHERE circuit = "oran park raceway"</s>
CREATE TABLE table_name_88 (name VARCHAR, cerclis_id VARCHAR)
SELECT name FROM table_name_88 WHERE cerclis_id = "fld004092532"
Which site has the CERCLIS ID fld004092532?
<s>[INST]Which site has the CERCLIS ID fld004092532? Context: CREATE TABLE table_name_88 (name VARCHAR, cerclis_id VARCHAR)[/INST]SELECT name FROM table_name_88 WHERE cerclis_id = "fld004092532"</s>
CREATE TABLE table_name_54 (team VARCHAR, inn VARCHAR)
SELECT team FROM table_name_54 WHERE inn = "9th"
What team had the record asscoiated with the 9th inning?
<s>[INST]What team had the record asscoiated with the 9th inning? Context: CREATE TABLE table_name_54 (team VARCHAR, inn VARCHAR)[/INST]SELECT team FROM table_name_54 WHERE inn = "9th"</s>
CREATE TABLE table_name_69 (top_speed VARCHAR, model_name VARCHAR)
SELECT top_speed FROM table_name_69 WHERE model_name = "d14/4 supreme d14/4 sports & bushman"
Which Top Speed has a Model Name of d14/4 supreme d14/4 sports & bushman?
<s>[INST]Which Top Speed has a Model Name of d14/4 supreme d14/4 sports & bushman? Context: CREATE TABLE table_name_69 (top_speed VARCHAR, model_name VARCHAR)[/INST]SELECT top_speed FROM table_name_69 WHERE model_name = "d14/4 supreme d14/4 sports & bushman"</s>
CREATE TABLE table_name_3 (title VARCHAR, label VARCHAR, Nr VARCHAR, st VARCHAR)
SELECT title FROM table_name_3 WHERE label = "pacific jazz" AND label - Nr = st - 20124
What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124?
<s>[INST]What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124? Context: CREATE TABLE table_name_3 (title VARCHAR, label VARCHAR, Nr VARCHAR, st VARCHAR)[/INST]SELECT title FROM table_name_3 WHERE label = "pacific jazz" AND label - Nr = st - 20124</s>
CREATE TABLE table_name_35 (to_par INTEGER, year_s__won VARCHAR)
SELECT SUM(to_par) FROM table_name_35 WHERE year_s__won = "1978 , 1985"
What is the sum of To Par, when Year(s) Won is "1978 , 1985"?
<s>[INST]What is the sum of To Par, when Year(s) Won is "1978 , 1985"? Context: CREATE TABLE table_name_35 (to_par INTEGER, year_s__won VARCHAR)[/INST]SELECT SUM(to_par) FROM table_name_35 WHERE year_s__won = "1978 , 1985"</s>
CREATE TABLE table_name_47 (attendance VARCHAR, visitor VARCHAR)
SELECT attendance FROM table_name_47 WHERE visitor = "clippers"
How many people attended the game that had the Clippers as visiting team?
<s>[INST]How many people attended the game that had the Clippers as visiting team? Context: CREATE TABLE table_name_47 (attendance VARCHAR, visitor VARCHAR)[/INST]SELECT attendance FROM table_name_47 WHERE visitor = "clippers"</s>
CREATE TABLE table_26982362_2 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_26982362_2 WHERE production_code = "693-004"
Who directed the episode with production code 693-004?
<s>[INST]Who directed the episode with production code 693-004? Context: CREATE TABLE table_26982362_2 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_26982362_2 WHERE production_code = "693-004"</s>
CREATE TABLE table_name_97 (country VARCHAR, network VARCHAR)
SELECT country FROM table_name_97 WHERE network = "channel 1"
Which Country has a Network of channel 1?
<s>[INST]Which Country has a Network of channel 1? Context: CREATE TABLE table_name_97 (country VARCHAR, network VARCHAR)[/INST]SELECT country FROM table_name_97 WHERE network = "channel 1"</s>
CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_95 WHERE bronze < 3 AND gold < 1 AND total = 1 AND nation = "ireland"
What is the highest number of silver medals that Ireland earned when they scored less than 3 bronze medals and earned 1 medal?
<s>[INST]What is the highest number of silver medals that Ireland earned when they scored less than 3 bronze medals and earned 1 medal? Context: CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_95 WHERE bronze < 3 AND gold ...
CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR)
SELECT südbayern FROM table_name_27 WHERE year = 1928
What's the Südbayern in 1928?
<s>[INST]What's the Südbayern in 1928? Context: CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR)[/INST]SELECT südbayern FROM table_name_27 WHERE year = 1928</s>
CREATE TABLE table_name_1 (episode_title VARCHAR, original_airdate VARCHAR)
SELECT episode_title FROM table_name_1 WHERE original_airdate = "march 31, 2008"
What is the title of the episode that originally aired on March 31, 2008?
<s>[INST]What is the title of the episode that originally aired on March 31, 2008? Context: CREATE TABLE table_name_1 (episode_title VARCHAR, original_airdate VARCHAR)[/INST]SELECT episode_title FROM table_name_1 WHERE original_airdate = "march 31, 2008"</s>
CREATE TABLE table_name_40 (round INTEGER, pick VARCHAR, college_junior_club_team VARCHAR, player VARCHAR)
SELECT SUM(round) FROM table_name_40 WHERE college_junior_club_team = "brandon wheat kings ( whl )" AND player = "mike perovich (d)" AND pick < 23
What is Sum of Round, when College/Junior/Club Team is Brandon Wheat Kings ( WHL ), when Player is Mike Perovich (D), and when Pick is less than 23?
<s>[INST]What is Sum of Round, when College/Junior/Club Team is Brandon Wheat Kings ( WHL ), when Player is Mike Perovich (D), and when Pick is less than 23? Context: CREATE TABLE table_name_40 (round INTEGER, pick VARCHAR, college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT SUM(round) FROM table_name_40 WHE...
CREATE TABLE table_name_1 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_1 WHERE result = "w 23–14"
Which week was there a w 23–14 result?
<s>[INST]Which week was there a w 23–14 result? Context: CREATE TABLE table_name_1 (week VARCHAR, result VARCHAR)[/INST]SELECT week FROM table_name_1 WHERE result = "w 23–14"</s>
CREATE TABLE table_name_41 (district VARCHAR, name VARCHAR)
SELECT district FROM table_name_41 WHERE name = "abhayapuri south"
What district has abhayapuri south as the name?
<s>[INST]What district has abhayapuri south as the name? Context: CREATE TABLE table_name_41 (district VARCHAR, name VARCHAR)[/INST]SELECT district FROM table_name_41 WHERE name = "abhayapuri south"</s>
CREATE TABLE table_name_71 (details VARCHAR, name VARCHAR)
SELECT details FROM table_name_71 WHERE name = "john buchanan"
What are the details for John Buchanan?
<s>[INST]What are the details for John Buchanan? Context: CREATE TABLE table_name_71 (details VARCHAR, name VARCHAR)[/INST]SELECT details FROM table_name_71 WHERE name = "john buchanan"</s>
CREATE TABLE table_1802760_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT state__class_ FROM table_1802760_3 WHERE date_of_successors_formal_installation = "December 3, 1858"
Where was the successor formally installed on December 3, 1858?
<s>[INST]Where was the successor formally installed on December 3, 1858? Context: CREATE TABLE table_1802760_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT state__class_ FROM table_1802760_3 WHERE date_of_successors_formal_installation = "December 3, 1858"</s>
CREATE TABLE table_name_90 (line_name VARCHAR, nimt_junction VARCHAR)
SELECT line_name FROM table_name_90 WHERE nimt_junction = "ohakune junction"
What Line has Ohakune Junction as its NIMT?
<s>[INST]What Line has Ohakune Junction as its NIMT? Context: CREATE TABLE table_name_90 (line_name VARCHAR, nimt_junction VARCHAR)[/INST]SELECT line_name FROM table_name_90 WHERE nimt_junction = "ohakune junction"</s>
CREATE TABLE table_name_25 (nationality___opponent VARCHAR, date VARCHAR)
SELECT nationality___opponent FROM table_name_25 WHERE date = "10 january 1998"
Name Nationality / Opponent on 10 january 1998?
<s>[INST]Name Nationality / Opponent on 10 january 1998? Context: CREATE TABLE table_name_25 (nationality___opponent VARCHAR, date VARCHAR)[/INST]SELECT nationality___opponent FROM table_name_25 WHERE date = "10 january 1998"</s>
CREATE TABLE table_name_10 (rider VARCHAR, rank VARCHAR)
SELECT rider FROM table_name_10 WHERE rank = 10
what person was in rank 10
<s>[INST]what person was in rank 10 Context: CREATE TABLE table_name_10 (rider VARCHAR, rank VARCHAR)[/INST]SELECT rider FROM table_name_10 WHERE rank = 10</s>
CREATE TABLE table_28798161_3 (bbi VARCHAR, economy VARCHAR)
SELECT bbi FROM table_28798161_3 WHERE economy = "3.63"
if the economy is 3.63 what is the bbi
<s>[INST]if the economy is 3.63 what is the bbi Context: CREATE TABLE table_28798161_3 (bbi VARCHAR, economy VARCHAR)[/INST]SELECT bbi FROM table_28798161_3 WHERE economy = "3.63"</s>
CREATE TABLE table_name_84 (title VARCHAR, role VARCHAR)
SELECT title FROM table_name_84 WHERE role = "molly o'day"
What is the title of the work where the role was Molly O'Day?
<s>[INST]What is the title of the work where the role was Molly O'Day? Context: CREATE TABLE table_name_84 (title VARCHAR, role VARCHAR)[/INST]SELECT title FROM table_name_84 WHERE role = "molly o'day"</s>
CREATE TABLE table_2850912_7 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT player FROM table_2850912_7 WHERE college_junior_club_team = "New Westminster Bruins (WHL)"
What is the name of the player when the college/junior/club team is new westminster bruins (whl)?
<s>[INST]What is the name of the player when the college/junior/club team is new westminster bruins (whl)? Context: CREATE TABLE table_2850912_7 (player VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT player FROM table_2850912_7 WHERE college_junior_club_team = "New Westminster Bruins (WHL)"</s>
CREATE TABLE table_26301697_2 (represents VARCHAR, hometown VARCHAR)
SELECT represents FROM table_26301697_2 WHERE hometown = "Los Alcarrizos"
Name the represents for los alcarrizos
<s>[INST]Name the represents for los alcarrizos Context: CREATE TABLE table_26301697_2 (represents VARCHAR, hometown VARCHAR)[/INST]SELECT represents FROM table_26301697_2 WHERE hometown = "Los Alcarrizos"</s>
CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_72 WHERE away_team = "richmond"
Who was Richmond's home team opponent?
<s>[INST]Who was Richmond's home team opponent? Context: CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_72 WHERE away_team = "richmond"</s>
CREATE TABLE Documents (document_type_code VARCHAR, document_id VARCHAR)
SELECT document_type_code FROM Documents WHERE document_id = 2
List the document type code for the document with the id 2.
<s>[INST]List the document type code for the document with the id 2. Context: CREATE TABLE Documents (document_type_code VARCHAR, document_id VARCHAR)[/INST]SELECT document_type_code FROM Documents WHERE document_id = 2</s>
CREATE TABLE table_17919342_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(year__ceremony_) FROM table_17919342_1 WHERE film_title_used_in_nomination = "The Blossoming of Maximo Oliveros"
How many years was the film The Blossoming of Maximo Oliveros entered?
<s>[INST]How many years was the film The Blossoming of Maximo Oliveros entered? Context: CREATE TABLE table_17919342_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT COUNT(year__ceremony_) FROM table_17919342_1 WHERE film_title_used_in_nomination = "The Blossoming of Maximo Oliveros"</s>
CREATE TABLE table_23195_5 (present_share VARCHAR)
SELECT MAX(10 AS _3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = "1.7%"
Name the most 10 3 bbl/d (2008) for present share being 1.7%
<s>[INST]Name the most 10 3 bbl/d (2008) for present share being 1.7% Context: CREATE TABLE table_23195_5 (present_share VARCHAR)[/INST]SELECT MAX(10 AS _3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = "1.7%"</s>
CREATE TABLE table_name_10 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_10 WHERE winning_score = –7(67 - 72 - 69 - 69 = 277)
What was the date of the match with a winning score of –7 (67-72-69-69=277)?
<s>[INST]What was the date of the match with a winning score of –7 (67-72-69-69=277)? Context: CREATE TABLE table_name_10 (date VARCHAR, winning_score VARCHAR)[/INST]SELECT date FROM table_name_10 WHERE winning_score = –7(67 - 72 - 69 - 69 = 277)</s>
CREATE TABLE table_name_2 (rec INTEGER, yards VARCHAR, avg VARCHAR)
SELECT AVG(rec) FROM table_name_2 WHERE yards = 40 AND avg > 10
What is the average rec that is greater than 10 and has 40 yards?
<s>[INST]What is the average rec that is greater than 10 and has 40 yards? Context: CREATE TABLE table_name_2 (rec INTEGER, yards VARCHAR, avg VARCHAR)[/INST]SELECT AVG(rec) FROM table_name_2 WHERE yards = 40 AND avg > 10</s>
CREATE TABLE table_25997153_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_25997153_1 WHERE production_code = "3X5362"
What is the title of the episode with the production code 3x5362?
<s>[INST]What is the title of the episode with the production code 3x5362? Context: CREATE TABLE table_25997153_1 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_25997153_1 WHERE production_code = "3X5362"</s>
CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_2__uk_ VARCHAR)
SELECT region_1__can_ FROM table_240936_2 WHERE region_2__uk_ = "May 18, 2009"
What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009?
<s>[INST]What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009? Context: CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_2__uk_ VARCHAR)[/INST]SELECT region_1__can_ FROM table_240936_2 WHERE region_2__uk_ = "May 18, 2009"</s>
CREATE TABLE table_name_78 (italian VARCHAR, andalusian VARCHAR)
SELECT italian FROM table_name_78 WHERE andalusian = "coche"
How would an Italian say the Andalusian word coche?
<s>[INST]How would an Italian say the Andalusian word coche? Context: CREATE TABLE table_name_78 (italian VARCHAR, andalusian VARCHAR)[/INST]SELECT italian FROM table_name_78 WHERE andalusian = "coche"</s>
CREATE TABLE table_name_50 (played VARCHAR, points_difference VARCHAR)
SELECT played FROM table_name_50 WHERE points_difference = "+261"
Which Played has a Points difference of +261?
<s>[INST]Which Played has a Points difference of +261? Context: CREATE TABLE table_name_50 (played VARCHAR, points_difference VARCHAR)[/INST]SELECT played FROM table_name_50 WHERE points_difference = "+261"</s>
CREATE TABLE table_20319085_2 (conference_record VARCHAR, season VARCHAR)
SELECT COUNT(conference_record) FROM table_20319085_2 WHERE season = 2006
How many different conference records are there for season 2006?
<s>[INST]How many different conference records are there for season 2006? Context: CREATE TABLE table_20319085_2 (conference_record VARCHAR, season VARCHAR)[/INST]SELECT COUNT(conference_record) FROM table_20319085_2 WHERE season = 2006</s>
CREATE TABLE table_name_47 (year_built INTEGER, name VARCHAR)
SELECT MAX(year_built) FROM table_name_47 WHERE name = "fay no. 4"
What is the year built for the Fay No. 4?
<s>[INST]What is the year built for the Fay No. 4? Context: CREATE TABLE table_name_47 (year_built INTEGER, name VARCHAR)[/INST]SELECT MAX(year_built) FROM table_name_47 WHERE name = "fay no. 4"</s>
CREATE TABLE table_19246_2 (launch_date__ddmmyyyy_ VARCHAR, _up_ VARCHAR, carrier VARCHAR)
SELECT launch_date__ddmmyyyy_ FROM table_19246_2 WHERE _up_ = "5.76 Mbit/s" AND carrier = "Orange"
whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/s
<s>[INST]whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/s Context: CREATE TABLE table_19246_2 (launch_date__ddmmyyyy_ VARCHAR, _up_ VARCHAR, carrier VARCHAR)[/INST]SELECT launch_date__ddmmyyyy_ FROM table_19246_2 WHERE _up_ = "5.76 Mbit/s" AND carrier = "Orange"</s>
CREATE TABLE table_name_9 (nation VARCHAR, time__sec_ VARCHAR)
SELECT nation FROM table_name_9 WHERE time__sec_ = 48.38
Which nation had a time of 48.38?
<s>[INST]Which nation had a time of 48.38? Context: CREATE TABLE table_name_9 (nation VARCHAR, time__sec_ VARCHAR)[/INST]SELECT nation FROM table_name_9 WHERE time__sec_ = 48.38</s>
CREATE TABLE table_name_39 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_39 WHERE to_par = "+1"
What Player had a To par of +1?
<s>[INST]What Player had a To par of +1? Context: CREATE TABLE table_name_39 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_39 WHERE to_par = "+1"</s>
CREATE TABLE table_name_54 (league VARCHAR, year VARCHAR, canada___usa_rank VARCHAR)
SELECT league AS Rank FROM table_name_54 WHERE year > 2011 AND canada___usa_rank = "46th"
After the year 2011, when the Canada - USA Rank was 46th, what was the League Rank?
<s>[INST]After the year 2011, when the Canada - USA Rank was 46th, what was the League Rank? Context: CREATE TABLE table_name_54 (league VARCHAR, year VARCHAR, canada___usa_rank VARCHAR)[/INST]SELECT league AS Rank FROM table_name_54 WHERE year > 2011 AND canada___usa_rank = "46th"</s>
CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(outcome) FROM table_22834834_3 WHERE score_in_the_final = "7–6 (9–7) , 6–3"
How many outcome have a score of 7–6 (9–7) , 6–3?
<s>[INST]How many outcome have a score of 7–6 (9–7) , 6–3? Context: CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT COUNT(outcome) FROM table_22834834_3 WHERE score_in_the_final = "7–6 (9–7) , 6–3"</s>
CREATE TABLE table_name_34 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT bike FROM table_name_34 WHERE grid > 14 AND laps < 22 AND rider = "jiri drazdak"
Which bike did Jiri Drazdak ride when he had a grid number larger than 14 and less than 22 laps?
<s>[INST]Which bike did Jiri Drazdak ride when he had a grid number larger than 14 and less than 22 laps? Context: CREATE TABLE table_name_34 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT bike FROM table_name_34 WHERE grid > 14 AND laps < 22 AND rider = "jiri drazdak"</s>
CREATE TABLE table_name_34 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_34 WHERE week = 3
Who was the opponent in week 3?
<s>[INST]Who was the opponent in week 3? Context: CREATE TABLE table_name_34 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_34 WHERE week = 3</s>
CREATE TABLE table_name_7 (goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR)
SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9
What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9?
<s>[INST]What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9? Context: CREATE TABLE table_name_7 (goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR)[/INST]SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances...
CREATE TABLE table_name_47 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_47 WHERE runner_s__up = "jack nicklaus"
What Tournament had Jack Nicklaus as Runner(s)-up?
<s>[INST]What Tournament had Jack Nicklaus as Runner(s)-up? Context: CREATE TABLE table_name_47 (tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT tournament FROM table_name_47 WHERE runner_s__up = "jack nicklaus"</s>
CREATE TABLE table_1137718_2 (fastest_lap VARCHAR, location VARCHAR)
SELECT COUNT(fastest_lap) FROM table_1137718_2 WHERE location = "Silverstone"
How many drivers had the fastest lap at Silverstone?
<s>[INST]How many drivers had the fastest lap at Silverstone? Context: CREATE TABLE table_1137718_2 (fastest_lap VARCHAR, location VARCHAR)[/INST]SELECT COUNT(fastest_lap) FROM table_1137718_2 WHERE location = "Silverstone"</s>
CREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR)
SELECT year FROM table_name_90 WHERE manufacturer = "letecke zavody n.p., jinonice"
In what year was Letecke Zavody N.P., Jinonice the manufacturer?
<s>[INST]In what year was Letecke Zavody N.P., Jinonice the manufacturer? Context: CREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR)[/INST]SELECT year FROM table_name_90 WHERE manufacturer = "letecke zavody n.p., jinonice"</s>
CREATE TABLE table_name_83 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_83 WHERE venue = "vfl park"
What was the smallest crowd of vfl park?
<s>[INST]What was the smallest crowd of vfl park? Context: CREATE TABLE table_name_83 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_83 WHERE venue = "vfl park"</s>
CREATE TABLE authorship (authorder INTEGER); CREATE TABLE authorship (paperid VARCHAR, authorder INTEGER); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.paperid = t2.paperid WHERE t1.authorder = (SELECT MAX(authorder) FROM authorship)
Retrieve the title of the paper that has the largest number of authors.
<s>[INST]Retrieve the title of the paper that has the largest number of authors. Context: CREATE TABLE authorship (authorder INTEGER); CREATE TABLE authorship (paperid VARCHAR, authorder INTEGER); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)[/INST]SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.pa...
CREATE TABLE table_name_83 (label VARCHAR, region VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_83 WHERE region = "netherlands" AND catalog = "magik muzik 802-1"
What label has the netherlands as the region, and magik muzik 802-1 as the catalog?
<s>[INST]What label has the netherlands as the region, and magik muzik 802-1 as the catalog? Context: CREATE TABLE table_name_83 (label VARCHAR, region VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_83 WHERE region = "netherlands" AND catalog = "magik muzik 802-1"</s>
CREATE TABLE table_name_97 (roll INTEGER, decile VARCHAR, authority VARCHAR, name VARCHAR)
SELECT MIN(roll) FROM table_name_97 WHERE authority = "state" AND name = "newfield park school" AND decile < 2
What is the smallest roll with an Authority of state, a Name of newfield park school, and a Decile smaller than 2?
<s>[INST]What is the smallest roll with an Authority of state, a Name of newfield park school, and a Decile smaller than 2? Context: CREATE TABLE table_name_97 (roll INTEGER, decile VARCHAR, authority VARCHAR, name VARCHAR)[/INST]SELECT MIN(roll) FROM table_name_97 WHERE authority = "state" AND name = "newfield park sc...
CREATE TABLE table_name_26 (co_singer VARCHAR, composer VARCHAR)
SELECT co_singer FROM table_name_26 WHERE composer = "sukhwinder singh"
What co-singer has sukhwinder singh as the composer?
<s>[INST]What co-singer has sukhwinder singh as the composer? Context: CREATE TABLE table_name_26 (co_singer VARCHAR, composer VARCHAR)[/INST]SELECT co_singer FROM table_name_26 WHERE composer = "sukhwinder singh"</s>
CREATE TABLE table_22875369_3 (irish_points VARCHAR, record VARCHAR)
SELECT irish_points FROM table_22875369_3 WHERE record = "23-1"
Name the irish points for 23-1 record
<s>[INST]Name the irish points for 23-1 record Context: CREATE TABLE table_22875369_3 (irish_points VARCHAR, record VARCHAR)[/INST]SELECT irish_points FROM table_22875369_3 WHERE record = "23-1"</s>
CREATE TABLE table_name_34 (margin_of_victory VARCHAR, date VARCHAR)
SELECT margin_of_victory FROM table_name_34 WHERE date = "15 jul 2007"
What is the margin of victory of the tournament on 15 Jul 2007?
<s>[INST]What is the margin of victory of the tournament on 15 Jul 2007? Context: CREATE TABLE table_name_34 (margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_34 WHERE date = "15 jul 2007"</s>
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_44 WHERE date = "july 3"
What was the record of the game on July 3?
<s>[INST]What was the record of the game on July 3? Context: CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_44 WHERE date = "july 3"</s>
CREATE TABLE table_name_60 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_60 WHERE partner = "arnaud clément"
What was the score when the partner was arnaud clément?
<s>[INST]What was the score when the partner was arnaud clément? Context: CREATE TABLE table_name_60 (score VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_60 WHERE partner = "arnaud clément"</s>
CREATE TABLE table_name_67 (points VARCHAR, points_for VARCHAR)
SELECT points FROM table_name_67 WHERE points_for = "255"
Name the point with points for of 255
<s>[INST]Name the point with points for of 255 Context: CREATE TABLE table_name_67 (points VARCHAR, points_for VARCHAR)[/INST]SELECT points FROM table_name_67 WHERE points_for = "255"</s>
CREATE TABLE table_12962773_2 (player VARCHAR, height VARCHAR)
SELECT player FROM table_12962773_2 WHERE height = "2.01"
What player is 2.01 m tall?
<s>[INST]What player is 2.01 m tall? Context: CREATE TABLE table_12962773_2 (player VARCHAR, height VARCHAR)[/INST]SELECT player FROM table_12962773_2 WHERE height = "2.01"</s>
CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ INTEGER)
SELECT MIN(rainfall_totals__million_m_3__) FROM table_26609958_1
What is the lowest overall amount of rainfall totals (million m 3)?
<s>[INST]What is the lowest overall amount of rainfall totals (million m 3)? Context: CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ INTEGER)[/INST]SELECT MIN(rainfall_totals__million_m_3__) FROM table_26609958_1</s>
CREATE TABLE table_name_78 (name VARCHAR, chief_judge VARCHAR, award VARCHAR)
SELECT name FROM table_name_78 WHERE chief_judge = "peter agre" AND award = "3rd"
What student won 3rd with Peter Agre as Chief Judge?
<s>[INST]What student won 3rd with Peter Agre as Chief Judge? Context: CREATE TABLE table_name_78 (name VARCHAR, chief_judge VARCHAR, award VARCHAR)[/INST]SELECT name FROM table_name_78 WHERE chief_judge = "peter agre" AND award = "3rd"</s>
CREATE TABLE table_name_86 (year VARCHAR, location VARCHAR, date VARCHAR)
SELECT year FROM table_name_86 WHERE location = "dinas" AND date = "13 january"
Which Year has a Location of dinas on 13 january?
<s>[INST]Which Year has a Location of dinas on 13 january? Context: CREATE TABLE table_name_86 (year VARCHAR, location VARCHAR, date VARCHAR)[/INST]SELECT year FROM table_name_86 WHERE location = "dinas" AND date = "13 january"</s>
CREATE TABLE table_name_46 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_46 WHERE opponent_in_the_final = "yaroslava shvedova"
What is the Surface of the match against Yaroslava Shvedova?
<s>[INST]What is the Surface of the match against Yaroslava Shvedova? Context: CREATE TABLE table_name_46 (surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT surface FROM table_name_46 WHERE opponent_in_the_final = "yaroslava shvedova"</s>
CREATE TABLE table_name_37 (nationality VARCHAR, games VARCHAR)
SELECT nationality FROM table_name_37 WHERE games = "505"
What is the nationality of the player who played 505 games?
<s>[INST]What is the nationality of the player who played 505 games? Context: CREATE TABLE table_name_37 (nationality VARCHAR, games VARCHAR)[/INST]SELECT nationality FROM table_name_37 WHERE games = "505"</s>
CREATE TABLE table_name_81 (peak INTEGER, track VARCHAR, year VARCHAR)
SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 1996
What number did Moño Negro peak at before 1996?
<s>[INST]What number did Moño Negro peak at before 1996? Context: CREATE TABLE table_name_81 (peak INTEGER, track VARCHAR, year VARCHAR)[/INST]SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 1996</s>