context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_21001903_2 (mens_singles VARCHAR, womens_singles VARCHAR, tour VARCHAR)
SELECT mens_singles FROM table_21001903_2 WHERE womens_singles = "Wang Yihan" AND tour = "French Super Series"
when womens singles is wang yihan and tour is french super series, what were the men's singles?
<s>[INST]when womens singles is wang yihan and tour is french super series, what were the men's singles? Context: CREATE TABLE table_21001903_2 (mens_singles VARCHAR, womens_singles VARCHAR, tour VARCHAR)[/INST]SELECT mens_singles FROM table_21001903_2 WHERE womens_singles = "Wang Yihan" AND tour = "French Super Series...
CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_40 WHERE place = "t8" AND player = "orville moody"
What is Score, when Place is "T8", and when Player is "Orville Moody"?
<s>[INST]What is Score, when Place is "T8", and when Player is "Orville Moody"? Context: CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_40 WHERE place = "t8" AND player = "orville moody"</s>
CREATE TABLE table_10015132_9 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_10015132_9 WHERE player = "Amir Johnson"
What school/club team is Amir Johnson on?
<s>[INST]What school/club team is Amir Johnson on? Context: CREATE TABLE table_10015132_9 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_10015132_9 WHERE player = "Amir Johnson"</s>
CREATE TABLE table_name_73 (np___nnp VARCHAR, dp___da VARCHAR, acdp VARCHAR, others VARCHAR)
SELECT np___nnp FROM table_name_73 WHERE acdp = 1 AND others = 1 AND dp___da = 5
Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5
<s>[INST]Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5 Context: CREATE TABLE table_name_73 (np___nnp VARCHAR, dp___da VARCHAR, acdp VARCHAR, others VARCHAR)[/INST]SELECT np___nnp FROM table_name_73 WHERE acdp = 1 AND others = 1 AND dp___da = 5</s>
CREATE TABLE table_24638867_6 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_24638867_6 WHERE partner = "Nathalie Tauziat"
Name the surface for nathalie tauziat
<s>[INST]Name the surface for nathalie tauziat Context: CREATE TABLE table_24638867_6 (surface VARCHAR, partner VARCHAR)[/INST]SELECT surface FROM table_24638867_6 WHERE partner = "Nathalie Tauziat"</s>
CREATE TABLE table_name_78 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_78 WHERE opponent = "satoshi honma"
What is the time for an opponent of Satoshi Honma?
<s>[INST]What is the time for an opponent of Satoshi Honma? Context: CREATE TABLE table_name_78 (time VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_78 WHERE opponent = "satoshi honma"</s>
CREATE TABLE table_name_93 (status VARCHAR, against VARCHAR)
SELECT status FROM table_name_93 WHERE against = 10
What is the status of the 10 against?
<s>[INST]What is the status of the 10 against? Context: CREATE TABLE table_name_93 (status VARCHAR, against VARCHAR)[/INST]SELECT status FROM table_name_93 WHERE against = 10</s>
CREATE TABLE table_name_94 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_94 WHERE player = "bobby nichols"
What is the to par of player bobby nichols?
<s>[INST]What is the to par of player bobby nichols? Context: CREATE TABLE table_name_94 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_94 WHERE player = "bobby nichols"</s>
CREATE TABLE table_name_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR)
SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = "danish kaneria" AND average > 13.8
What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?
<s>[INST]What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8? Context: CREATE TABLE table_name_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR)[/INST]SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = "danish ...
CREATE TABLE table_name_38 (rank VARCHAR, nationality VARCHAR, heat VARCHAR)
SELECT COUNT(rank) FROM table_name_38 WHERE nationality = "serbia" AND heat < 2
Serbia has a heat less than 2 and what sum of rank?
<s>[INST]Serbia has a heat less than 2 and what sum of rank? Context: CREATE TABLE table_name_38 (rank VARCHAR, nationality VARCHAR, heat VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_38 WHERE nationality = "serbia" AND heat < 2</s>
CREATE TABLE table_27553627_2 (season VARCHAR, rank VARCHAR)
SELECT season AS finale FROM table_27553627_2 WHERE rank = "20th"
When was the season finale that ranked 20th?
<s>[INST]When was the season finale that ranked 20th? Context: CREATE TABLE table_27553627_2 (season VARCHAR, rank VARCHAR)[/INST]SELECT season AS finale FROM table_27553627_2 WHERE rank = "20th"</s>
CREATE TABLE table_name_6 (season VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT season FROM table_name_6 WHERE position = "guard" AND school_club_team = "perpetual help"
What season was School/Club Team perpetual help in the guard position?
<s>[INST]What season was School/Club Team perpetual help in the guard position? Context: CREATE TABLE table_name_6 (season VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT season FROM table_name_6 WHERE position = "guard" AND school_club_team = "perpetual help"</s>
CREATE TABLE table_1748444_1 (disposition VARCHAR, date_built VARCHAR)
SELECT disposition FROM table_1748444_1 WHERE date_built = "March 1909"
Name the disposition for date built is march 1909
<s>[INST]Name the disposition for date built is march 1909 Context: CREATE TABLE table_1748444_1 (disposition VARCHAR, date_built VARCHAR)[/INST]SELECT disposition FROM table_1748444_1 WHERE date_built = "March 1909"</s>
CREATE TABLE table_name_9 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_9 WHERE visitor = "milwaukee"
What was the score of the game against Milwaukee?
<s>[INST]What was the score of the game against Milwaukee? Context: CREATE TABLE table_name_9 (score VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_9 WHERE visitor = "milwaukee"</s>
CREATE TABLE table_29181479_5 (series VARCHAR, game VARCHAR)
SELECT series FROM table_29181479_5 WHERE game = 5
Lis the series for game 5.
<s>[INST]Lis the series for game 5. Context: CREATE TABLE table_29181479_5 (series VARCHAR, game VARCHAR)[/INST]SELECT series FROM table_29181479_5 WHERE game = 5</s>
CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR)
SELECT result FROM table_22736523_1 WHERE week__number = "Top 40"
For week number of the top 40, what was the results?
<s>[INST]For week number of the top 40, what was the results? Context: CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR)[/INST]SELECT result FROM table_22736523_1 WHERE week__number = "Top 40"</s>
CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Rod Hardy"
How many episodes were directed by Rod Hardy?
<s>[INST]How many episodes were directed by Rod Hardy? Context: CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Rod Hardy"</s>
CREATE TABLE table_2562572_35 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_35 WHERE settlement = "Melenci"
Name the cyrillic name for melenci
<s>[INST]Name the cyrillic name for melenci Context: CREATE TABLE table_2562572_35 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)[/INST]SELECT cyrillic_name_other_names FROM table_2562572_35 WHERE settlement = "Melenci"</s>
CREATE TABLE table_name_83 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT MAX(gold) FROM table_name_83 WHERE silver < 2 AND bronze < 4
What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals?
<s>[INST]What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals? Context: CREATE TABLE table_name_83 (gold INTEGER, silver VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_83 WHERE silver < 2 AND bronze < 4</s>
CREATE TABLE table_name_44 (replaced_by VARCHAR, team VARCHAR)
SELECT replaced_by FROM table_name_44 WHERE team = "arminia bielefeld"
Who replaced the manager of team arminia bielefeld?
<s>[INST]Who replaced the manager of team arminia bielefeld? Context: CREATE TABLE table_name_44 (replaced_by VARCHAR, team VARCHAR)[/INST]SELECT replaced_by FROM table_name_44 WHERE team = "arminia bielefeld"</s>
CREATE TABLE student_course_attendance (course_id VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR)
SELECT course_id FROM student_course_registrations WHERE student_id = 121 UNION SELECT course_id FROM student_course_attendance WHERE student_id = 121
Find the id of courses which are registered or attended by student whose id is 121?
<s>[INST]Find the id of courses which are registered or attended by student whose id is 121? Context: CREATE TABLE student_course_attendance (course_id VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR)[/INST]SELECT course_id FROM student_course_registrations...
CREATE TABLE table_name_12 (roll INTEGER, authority VARCHAR, name VARCHAR)
SELECT MAX(roll) FROM table_name_12 WHERE authority = "state" AND name = "sylvia park school"
What is the biggest roll number of Sylvia Park School, which has a state authority?
<s>[INST]What is the biggest roll number of Sylvia Park School, which has a state authority? Context: CREATE TABLE table_name_12 (roll INTEGER, authority VARCHAR, name VARCHAR)[/INST]SELECT MAX(roll) FROM table_name_12 WHERE authority = "state" AND name = "sylvia park school"</s>
CREATE TABLE table_29087004_2 (written_by VARCHAR, united_states_original_airdate VARCHAR, directed_by VARCHAR, canada_original_airdate VARCHAR)
SELECT written_by FROM table_29087004_2 WHERE directed_by = "Jos Humphrey" AND canada_original_airdate = "Unknown" AND united_states_original_airdate = "August 27, 2011"
Who wrote the episode directed by Jos Humphrey that had an original Canadian air date that was unknown and a United States original air date of August 27, 2011?
<s>[INST]Who wrote the episode directed by Jos Humphrey that had an original Canadian air date that was unknown and a United States original air date of August 27, 2011? Context: CREATE TABLE table_29087004_2 (written_by VARCHAR, united_states_original_airdate VARCHAR, directed_by VARCHAR, canada_original_airdate VARCH...
CREATE TABLE table_19359427_6 (date_of_vacancy VARCHAR, team VARCHAR)
SELECT date_of_vacancy FROM table_19359427_6 WHERE team = "Plymouth Argyle"
When did the old manager vacate his position in Plymouth Argyle?
<s>[INST]When did the old manager vacate his position in Plymouth Argyle? Context: CREATE TABLE table_19359427_6 (date_of_vacancy VARCHAR, team VARCHAR)[/INST]SELECT date_of_vacancy FROM table_19359427_6 WHERE team = "Plymouth Argyle"</s>
CREATE TABLE table_19210115_1 (location VARCHAR, conference VARCHAR)
SELECT location FROM table_19210115_1 WHERE conference = "American Athletic conference"
Where is the University that plays in the American Athletic Conference?
<s>[INST]Where is the University that plays in the American Athletic Conference? Context: CREATE TABLE table_19210115_1 (location VARCHAR, conference VARCHAR)[/INST]SELECT location FROM table_19210115_1 WHERE conference = "American Athletic conference"</s>
CREATE TABLE table_name_15 (frequency VARCHAR, socket VARCHAR, model_number VARCHAR)
SELECT frequency FROM table_name_15 WHERE socket = "socket 370" AND model_number = "c3 1.4a"
Which Frequency has a Socket of socket 370, and a Model Number of c3 1.4a?
<s>[INST]Which Frequency has a Socket of socket 370, and a Model Number of c3 1.4a? Context: CREATE TABLE table_name_15 (frequency VARCHAR, socket VARCHAR, model_number VARCHAR)[/INST]SELECT frequency FROM table_name_15 WHERE socket = "socket 370" AND model_number = "c3 1.4a"</s>
CREATE TABLE table_name_55 (order INTEGER, weeks VARCHAR, majors VARCHAR)
SELECT MAX(order) FROM table_name_55 WHERE weeks < 15 AND majors < 1
What was the highest order amount in weeks prier to 15 and a major less than 1?
<s>[INST]What was the highest order amount in weeks prier to 15 and a major less than 1? Context: CREATE TABLE table_name_55 (order INTEGER, weeks VARCHAR, majors VARCHAR)[/INST]SELECT MAX(order) FROM table_name_55 WHERE weeks < 15 AND majors < 1</s>
CREATE TABLE table_name_77 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_77 WHERE tournament = "mississippi gulf resort classic"
What was the margin of victory for the Mississippi Gulf Resort Classic?
<s>[INST]What was the margin of victory for the Mississippi Gulf Resort Classic? Context: CREATE TABLE table_name_77 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_77 WHERE tournament = "mississippi gulf resort classic"</s>
CREATE TABLE table_name_26 (first_appearance VARCHAR, portrayed_by VARCHAR)
SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams"
What is the name of the first appearance when Chad Williams is a portrayal?
<s>[INST]What is the name of the first appearance when Chad Williams is a portrayal? Context: CREATE TABLE table_name_26 (first_appearance VARCHAR, portrayed_by VARCHAR)[/INST]SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams"</s>
CREATE TABLE table_26466528_1 (join_date INTEGER)
SELECT MIN(join_date) FROM table_26466528_1
Name the least join date
<s>[INST]Name the least join date Context: CREATE TABLE table_26466528_1 (join_date INTEGER)[/INST]SELECT MIN(join_date) FROM table_26466528_1</s>
CREATE TABLE table_name_37 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_37 WHERE player = "billy owens"
What School did Player Billy Owens attend?
<s>[INST]What School did Player Billy Owens attend? Context: CREATE TABLE table_name_37 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_37 WHERE player = "billy owens"</s>
CREATE TABLE table_name_59 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_59 WHERE laps < 44 AND driver = "piercarlo ghinzani"
Who constructed piercarlo ghinzani's car with under 44 laps?
<s>[INST]Who constructed piercarlo ghinzani's car with under 44 laps? Context: CREATE TABLE table_name_59 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_59 WHERE laps < 44 AND driver = "piercarlo ghinzani"</s>
CREATE TABLE table_name_49 (report VARCHAR, score VARCHAR, away_team VARCHAR)
SELECT report FROM table_name_49 WHERE score = "0-0" AND away_team = "sydney fc"
What report has a score of 0-0 with Sydney FC?
<s>[INST]What report has a score of 0-0 with Sydney FC? Context: CREATE TABLE table_name_49 (report VARCHAR, score VARCHAR, away_team VARCHAR)[/INST]SELECT report FROM table_name_49 WHERE score = "0-0" AND away_team = "sydney fc"</s>
CREATE TABLE table_name_89 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_89 WHERE tie_no = 6
What was the score when the Tie no was 6?
<s>[INST]What was the score when the Tie no was 6? Context: CREATE TABLE table_name_89 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_89 WHERE tie_no = 6</s>
CREATE TABLE table_name_13 (points VARCHAR, draws VARCHAR, wins VARCHAR, goal_difference VARCHAR)
SELECT COUNT(points) FROM table_name_13 WHERE wins > 14 AND goal_difference = 14 AND draws > 6
How many points have more than 14 wins, a goal difference of 14, and more than 6 draws?
<s>[INST]How many points have more than 14 wins, a goal difference of 14, and more than 6 draws? Context: CREATE TABLE table_name_13 (points VARCHAR, draws VARCHAR, wins VARCHAR, goal_difference VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_13 WHERE wins > 14 AND goal_difference = 14 AND draws > 6</s>
CREATE TABLE table_name_48 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_48 WHERE home_team = "melbourne"
What is melbourne's home team score?
<s>[INST]What is melbourne's home team score? Context: CREATE TABLE table_name_48 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_48 WHERE home_team = "melbourne"</s>
CREATE TABLE table_name_91 (status VARCHAR, date VARCHAR)
SELECT status FROM table_name_91 WHERE date = "07/01/1961"
What is the status for 07/01/1961?
<s>[INST]What is the status for 07/01/1961? Context: CREATE TABLE table_name_91 (status VARCHAR, date VARCHAR)[/INST]SELECT status FROM table_name_91 WHERE date = "07/01/1961"</s>
CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR)
SELECT affiliation FROM table_28211213_1 WHERE institution = "Davenport University"
What is the affiliation of Davenport University?
<s>[INST]What is the affiliation of Davenport University? Context: CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR)[/INST]SELECT affiliation FROM table_28211213_1 WHERE institution = "Davenport University"</s>
CREATE TABLE table_name_87 (crest_length__meters_ VARCHAR, year_of_construction VARCHAR, name VARCHAR)
SELECT COUNT(crest_length__meters_) FROM table_name_87 WHERE year_of_construction > 1957 AND name = "mattmark"
Tell me the total number of crest length for year construction larger than 1957 for mattmark
<s>[INST]Tell me the total number of crest length for year construction larger than 1957 for mattmark Context: CREATE TABLE table_name_87 (crest_length__meters_ VARCHAR, year_of_construction VARCHAR, name VARCHAR)[/INST]SELECT COUNT(crest_length__meters_) FROM table_name_87 WHERE year_of_construction > 1957 AND name = ...
CREATE TABLE table_name_26 (total_seats INTEGER, regional_seats VARCHAR, constituency_seats VARCHAR, party VARCHAR)
SELECT SUM(total_seats) FROM table_name_26 WHERE constituency_seats > 0 AND party = "liberal democrat" AND regional_seats < 6
What is the full number of Total Seats with a constituency seat number bigger than 0 with the Liberal Democrat party, and the Regional seat number is smaller than 6?
<s>[INST]What is the full number of Total Seats with a constituency seat number bigger than 0 with the Liberal Democrat party, and the Regional seat number is smaller than 6? Context: CREATE TABLE table_name_26 (total_seats INTEGER, regional_seats VARCHAR, constituency_seats VARCHAR, party VARCHAR)[/INST]SELECT SUM(tot...
CREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR)
SELECT year_born FROM table_23670057_7 WHERE height__m_ = "1.88"
What is every year born for height of 1.88?
<s>[INST]What is every year born for height of 1.88? Context: CREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR)[/INST]SELECT year_born FROM table_23670057_7 WHERE height__m_ = "1.88"</s>
CREATE TABLE table_11452830_2 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_11452830_2 WHERE record = "1-3"
How many crowds watched the game where the record was 1-3?
<s>[INST]How many crowds watched the game where the record was 1-3? Context: CREATE TABLE table_11452830_2 (attendance VARCHAR, record VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_11452830_2 WHERE record = "1-3"</s>
CREATE TABLE table_name_13 (year_left INTEGER, school VARCHAR, year_joined VARCHAR)
SELECT MIN(year_left) FROM table_name_13 WHERE school = "calumet" AND year_joined > 1993
Which Year Left is the lowest one that has a School of calumet, and a Year Joined larger than 1993?
<s>[INST]Which Year Left is the lowest one that has a School of calumet, and a Year Joined larger than 1993? Context: CREATE TABLE table_name_13 (year_left INTEGER, school VARCHAR, year_joined VARCHAR)[/INST]SELECT MIN(year_left) FROM table_name_13 WHERE school = "calumet" AND year_joined > 1993</s>
CREATE TABLE table_name_62 (catalog VARCHAR, year VARCHAR, issued_title VARCHAR, label VARCHAR)
SELECT catalog FROM table_name_62 WHERE issued_title = "1958 miles" AND label = "sony" AND year < 2006
What is the name of the catalog issued with the title of 1958 Miles on the Sony label at a year prior to 2006?
<s>[INST]What is the name of the catalog issued with the title of 1958 Miles on the Sony label at a year prior to 2006? Context: CREATE TABLE table_name_62 (catalog VARCHAR, year VARCHAR, issued_title VARCHAR, label VARCHAR)[/INST]SELECT catalog FROM table_name_62 WHERE issued_title = "1958 miles" AND label = "sony" AN...
CREATE TABLE table_2169966_2 (avg_finish VARCHAR, avg_start VARCHAR)
SELECT avg_finish FROM table_2169966_2 WHERE avg_start = "27.7"
What was his average finish when his average start was 27.7?
<s>[INST]What was his average finish when his average start was 27.7? Context: CREATE TABLE table_2169966_2 (avg_finish VARCHAR, avg_start VARCHAR)[/INST]SELECT avg_finish FROM table_2169966_2 WHERE avg_start = "27.7"</s>
CREATE TABLE table_name_42 (grid INTEGER, team VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_42 WHERE team = "germany" AND laps < 45
Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45?
<s>[INST]Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45? Context: CREATE TABLE table_name_42 (grid INTEGER, team VARCHAR, laps VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_42 WHERE team = "germany" AND laps < 45</s>
CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)
SELECT value FROM table_name_52 WHERE composition = "cupronickel" AND weight = "10.5 g"
What is the value of the coin weighing 10.5 g and made of cupronickel?
<s>[INST]What is the value of the coin weighing 10.5 g and made of cupronickel? Context: CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)[/INST]SELECT value FROM table_name_52 WHERE composition = "cupronickel" AND weight = "10.5 g"</s>
CREATE TABLE table_20466963_4 (date VARCHAR, guest_4 VARCHAR)
SELECT COUNT(date) FROM table_20466963_4 WHERE guest_4 = "Jim Jeffries (debut)"
How many dates are associated with a guest 4 being Jim Jeffries (debut)?
<s>[INST]How many dates are associated with a guest 4 being Jim Jeffries (debut)? Context: CREATE TABLE table_20466963_4 (date VARCHAR, guest_4 VARCHAR)[/INST]SELECT COUNT(date) FROM table_20466963_4 WHERE guest_4 = "Jim Jeffries (debut)"</s>
CREATE TABLE table_name_94 (choreographer_s_ VARCHAR, style VARCHAR, partner VARCHAR)
SELECT choreographer_s_ FROM table_name_94 WHERE style = "smooth waltz" AND partner = "lacey schwimmer"
Who choreographed the smooth waltz with lacey schwimmer?
<s>[INST]Who choreographed the smooth waltz with lacey schwimmer? Context: CREATE TABLE table_name_94 (choreographer_s_ VARCHAR, style VARCHAR, partner VARCHAR)[/INST]SELECT choreographer_s_ FROM table_name_94 WHERE style = "smooth waltz" AND partner = "lacey schwimmer"</s>
CREATE TABLE table_name_24 (decision VARCHAR, date VARCHAR)
SELECT decision FROM table_name_24 WHERE date = "january 13"
What is the decision of the game on January 13?
<s>[INST]What is the decision of the game on January 13? Context: CREATE TABLE table_name_24 (decision VARCHAR, date VARCHAR)[/INST]SELECT decision FROM table_name_24 WHERE date = "january 13"</s>
CREATE TABLE table_name_55 (football_stadium VARCHAR, team VARCHAR)
SELECT football_stadium FROM table_name_55 WHERE team = "carabins"
What's the name of the carabins stadium?
<s>[INST]What's the name of the carabins stadium? Context: CREATE TABLE table_name_55 (football_stadium VARCHAR, team VARCHAR)[/INST]SELECT football_stadium FROM table_name_55 WHERE team = "carabins"</s>
CREATE TABLE table_name_4 (title VARCHAR, from_album VARCHAR, label VARCHAR, Nr VARCHAR, x VARCHAR)
SELECT title FROM table_name_4 WHERE from_album = "tough talk" AND label - Nr = x - 371
Which Title has an album of tough talk, and a Label-Nr of x-371?
<s>[INST]Which Title has an album of tough talk, and a Label-Nr of x-371? Context: CREATE TABLE table_name_4 (title VARCHAR, from_album VARCHAR, label VARCHAR, Nr VARCHAR, x VARCHAR)[/INST]SELECT title FROM table_name_4 WHERE from_album = "tough talk" AND label - Nr = x - 371</s>
CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "serena williams venus williams" AND surface = "hard"
What was the outcome when the oppenent was serena williams venus williams and had a hard surface?
<s>[INST]What was the outcome when the oppenent was serena williams venus williams and had a hard surface? Context: CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR)[/INST]SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "serena williams venus williams" AND su...
CREATE TABLE table_name_96 (level INTEGER, team VARCHAR, season VARCHAR)
SELECT MAX(level) FROM table_name_96 WHERE team = "astana" AND season > 2007
What's the highest level of team Astana since 2007?
<s>[INST]What's the highest level of team Astana since 2007? Context: CREATE TABLE table_name_96 (level INTEGER, team VARCHAR, season VARCHAR)[/INST]SELECT MAX(level) FROM table_name_96 WHERE team = "astana" AND season > 2007</s>
CREATE TABLE table_name_77 (date VARCHAR, h_a_n VARCHAR, score VARCHAR)
SELECT date FROM table_name_77 WHERE h_a_n = "h" AND score = "112-118"
What is Date, when H/A/N is "H", and when Score is 112-118?
<s>[INST]What is Date, when H/A/N is "H", and when Score is 112-118? Context: CREATE TABLE table_name_77 (date VARCHAR, h_a_n VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE h_a_n = "h" AND score = "112-118"</s>
CREATE TABLE INVOICES (payment_method_code VARCHAR)
SELECT payment_method_code, COUNT(*) FROM INVOICES GROUP BY payment_method_code
Show all payment method codes and the number of orders for each code.
<s>[INST]Show all payment method codes and the number of orders for each code. Context: CREATE TABLE INVOICES (payment_method_code VARCHAR)[/INST]SELECT payment_method_code, COUNT(*) FROM INVOICES GROUP BY payment_method_code</s>
CREATE TABLE table_name_11 (outcome VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_11 WHERE surface = "carpet (i)"
When the Surface was Carpet (i), what was the Outcome?
<s>[INST]When the Surface was Carpet (i), what was the Outcome? Context: CREATE TABLE table_name_11 (outcome VARCHAR, surface VARCHAR)[/INST]SELECT outcome FROM table_name_11 WHERE surface = "carpet (i)"</s>
CREATE TABLE table_name_33 (party VARCHAR, president VARCHAR)
SELECT party FROM table_name_33 WHERE president = "stefano baccelli"
What is the party affiliation for President Stefano Baccelli?
<s>[INST]What is the party affiliation for President Stefano Baccelli? Context: CREATE TABLE table_name_33 (party VARCHAR, president VARCHAR)[/INST]SELECT party FROM table_name_33 WHERE president = "stefano baccelli"</s>
CREATE TABLE table_18138132_2 (function VARCHAR, version VARCHAR, title VARCHAR)
SELECT function FROM table_18138132_2 WHERE version = "1.4" AND title = "Windows Live Messenger"
What is the function of 1.4 version of Windows live messenger?
<s>[INST]What is the function of 1.4 version of Windows live messenger? Context: CREATE TABLE table_18138132_2 (function VARCHAR, version VARCHAR, title VARCHAR)[/INST]SELECT function FROM table_18138132_2 WHERE version = "1.4" AND title = "Windows Live Messenger"</s>
CREATE TABLE table_name_40 (goals_for VARCHAR, played VARCHAR, draws VARCHAR, losses VARCHAR)
SELECT COUNT(goals_for) FROM table_name_40 WHERE draws = 3 AND losses > 18 AND played < 38
What is the total number of goals when there are 3 draws, more than 18 losses, and played is smaller than 38?
<s>[INST]What is the total number of goals when there are 3 draws, more than 18 losses, and played is smaller than 38? Context: CREATE TABLE table_name_40 (goals_for VARCHAR, played VARCHAR, draws VARCHAR, losses VARCHAR)[/INST]SELECT COUNT(goals_for) FROM table_name_40 WHERE draws = 3 AND losses > 18 AND played < 38</...
CREATE TABLE table_name_78 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_78 WHERE name = "martin rucker"
What position does Martin Rucker play?
<s>[INST]What position does Martin Rucker play? Context: CREATE TABLE table_name_78 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_78 WHERE name = "martin rucker"</s>
CREATE TABLE table_24919137_2 (ladder_position VARCHAR, score VARCHAR)
SELECT ladder_position FROM table_24919137_2 WHERE score = "15.9 (99)–14.6 (90)"
What was the ladder position when the score was 15.9 (99)–14.6 (90)?
<s>[INST]What was the ladder position when the score was 15.9 (99)–14.6 (90)? Context: CREATE TABLE table_24919137_2 (ladder_position VARCHAR, score VARCHAR)[/INST]SELECT ladder_position FROM table_24919137_2 WHERE score = "15.9 (99)–14.6 (90)"</s>
CREATE TABLE table_1984697_53 (website VARCHAR, size VARCHAR)
SELECT COUNT(website) FROM table_1984697_53 WHERE size = 1939
How many websites are there for the school with 1939 students?
<s>[INST]How many websites are there for the school with 1939 students? Context: CREATE TABLE table_1984697_53 (website VARCHAR, size VARCHAR)[/INST]SELECT COUNT(website) FROM table_1984697_53 WHERE size = 1939</s>
CREATE TABLE table_28211674_3 (date_location VARCHAR, mixed_veteran VARCHAR)
SELECT COUNT(date_location) FROM table_28211674_3 WHERE mixed_veteran = "Eddie Smith"
When and where did Eddie Smith win the mixed veteran?
<s>[INST]When and where did Eddie Smith win the mixed veteran? Context: CREATE TABLE table_28211674_3 (date_location VARCHAR, mixed_veteran VARCHAR)[/INST]SELECT COUNT(date_location) FROM table_28211674_3 WHERE mixed_veteran = "Eddie Smith"</s>
CREATE TABLE table_name_17 (overall INTEGER, college VARCHAR, round VARCHAR)
SELECT MIN(overall) FROM table_name_17 WHERE college = "hardin-simmons" AND round > 26
What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26?
<s>[INST]What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26? Context: CREATE TABLE table_name_17 (overall INTEGER, college VARCHAR, round VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_17 WHERE college = "hardin-simmons" AND round > 26</s>
CREATE TABLE table_14976504_2 (location VARCHAR, institution VARCHAR)
SELECT COUNT(location) FROM table_14976504_2 WHERE institution = "California Lutheran University"
Where is California Lutheran University located?
<s>[INST]Where is California Lutheran University located? Context: CREATE TABLE table_14976504_2 (location VARCHAR, institution VARCHAR)[/INST]SELECT COUNT(location) FROM table_14976504_2 WHERE institution = "California Lutheran University"</s>
CREATE TABLE table_name_62 (main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)
SELECT main_contestant FROM table_name_62 WHERE scores_by_each_individual_judge = 8 + 7 + 7 = 21
Who is the main contestant with scores by each individual judge of 8 + 7 + 7 = 21?
<s>[INST]Who is the main contestant with scores by each individual judge of 8 + 7 + 7 = 21? Context: CREATE TABLE table_name_62 (main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)[/INST]SELECT main_contestant FROM table_name_62 WHERE scores_by_each_individual_judge = 8 + 7 + 7 = 21</s>
CREATE TABLE table_name_96 (country VARCHAR, propulsion VARCHAR)
SELECT country FROM table_name_96 WHERE propulsion = "solid rocket"
What country had an anti-ship missile that had a solid rocket propulsion?
<s>[INST]What country had an anti-ship missile that had a solid rocket propulsion? Context: CREATE TABLE table_name_96 (country VARCHAR, propulsion VARCHAR)[/INST]SELECT country FROM table_name_96 WHERE propulsion = "solid rocket"</s>
CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_68 WHERE record = "12-17"
On what date did they have a record of 12-17?
<s>[INST]On what date did they have a record of 12-17? Context: CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE record = "12-17"</s>
CREATE TABLE table_name_54 (score_in_final VARCHAR, champion VARCHAR)
SELECT score_in_final FROM table_name_54 WHERE champion = "boris becker"
What score in final has boris becker as the champion?
<s>[INST]What score in final has boris becker as the champion? Context: CREATE TABLE table_name_54 (score_in_final VARCHAR, champion VARCHAR)[/INST]SELECT score_in_final FROM table_name_54 WHERE champion = "boris becker"</s>
CREATE TABLE table_22180353_1 (type VARCHAR, registration VARCHAR)
SELECT type FROM table_22180353_1 WHERE registration = "HB-OPU"
What are all types where registration is HB-OPU?
<s>[INST]What are all types where registration is HB-OPU? Context: CREATE TABLE table_22180353_1 (type VARCHAR, registration VARCHAR)[/INST]SELECT type FROM table_22180353_1 WHERE registration = "HB-OPU"</s>
CREATE TABLE table_name_69 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_69 WHERE category = "best direction of a musical"
Which award has the category of the best direction of a musical?
<s>[INST]Which award has the category of the best direction of a musical? Context: CREATE TABLE table_name_69 (award VARCHAR, category VARCHAR)[/INST]SELECT award FROM table_name_69 WHERE category = "best direction of a musical"</s>
CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart"
Which First elected is the lowest one that has an Incumbent of william stewart?
<s>[INST]Which First elected is the lowest one that has an Incumbent of william stewart? Context: CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart"</s>
CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)
SELECT chassis FROM table_name_73 WHERE engine = "cosworth" AND drivers = "gordon johncock"
What chassis did Gordon Johncock use with his cosworth engine?
<s>[INST]What chassis did Gordon Johncock use with his cosworth engine? Context: CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)[/INST]SELECT chassis FROM table_name_73 WHERE engine = "cosworth" AND drivers = "gordon johncock"</s>
CREATE TABLE phone (Carrier VARCHAR)
SELECT Carrier FROM phone GROUP BY Carrier ORDER BY COUNT(*) DESC LIMIT 1
Show the most frequently used carrier of the phones.
<s>[INST]Show the most frequently used carrier of the phones. Context: CREATE TABLE phone (Carrier VARCHAR)[/INST]SELECT Carrier FROM phone GROUP BY Carrier ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_85 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_85 WHERE date = "may 29"
On May 29 which team had the loss?
<s>[INST]On May 29 which team had the loss? Context: CREATE TABLE table_name_85 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_85 WHERE date = "may 29"</s>
CREATE TABLE happy_hour (shop_id VARCHAR)
SELECT shop_id, COUNT(*) FROM happy_hour GROUP BY shop_id ORDER BY COUNT(*) DESC LIMIT 1
which shop has happy hour most frequently? List its id and number of happy hours.
<s>[INST]which shop has happy hour most frequently? List its id and number of happy hours. Context: CREATE TABLE happy_hour (shop_id VARCHAR)[/INST]SELECT shop_id, COUNT(*) FROM happy_hour GROUP BY shop_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_18304058_2 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)
SELECT nickname_s_ FROM table_18304058_2 WHERE enrollment__2013_14_ = 436
What is the nickname of the team whose 2013/2014 enrollment is 436?
<s>[INST]What is the nickname of the team whose 2013/2014 enrollment is 436? Context: CREATE TABLE table_18304058_2 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)[/INST]SELECT nickname_s_ FROM table_18304058_2 WHERE enrollment__2013_14_ = 436</s>
CREATE TABLE table_21804557_18 (mountains_classification VARCHAR, metas_volantes_classification VARCHAR)
SELECT mountains_classification FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"
Who got the mountains classification when Michael Albasini won the stage?
<s>[INST]Who got the mountains classification when Michael Albasini won the stage? Context: CREATE TABLE table_21804557_18 (mountains_classification VARCHAR, metas_volantes_classification VARCHAR)[/INST]SELECT mountains_classification FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"</s>
CREATE TABLE table_name_33 (start INTEGER, year VARCHAR, team VARCHAR, finish VARCHAR)
SELECT AVG(start) FROM table_name_33 WHERE team = "andretti green racing" AND finish > 3 AND year < 2007
What is the start of the Team of Andretti Green Racing with a finish higher than 3 in a year before 2007?
<s>[INST]What is the start of the Team of Andretti Green Racing with a finish higher than 3 in a year before 2007? Context: CREATE TABLE table_name_33 (start INTEGER, year VARCHAR, team VARCHAR, finish VARCHAR)[/INST]SELECT AVG(start) FROM table_name_33 WHERE team = "andretti green racing" AND finish > 3 AND year < 200...
CREATE TABLE table_name_28 (language VARCHAR, network VARCHAR)
SELECT language FROM table_name_28 WHERE network = "ptc punjabi"
What is the Language for Network PTC Punjabi?
<s>[INST]What is the Language for Network PTC Punjabi? Context: CREATE TABLE table_name_28 (language VARCHAR, network VARCHAR)[/INST]SELECT language FROM table_name_28 WHERE network = "ptc punjabi"</s>
CREATE TABLE table_name_17 (gold INTEGER, bronze VARCHAR, rank VARCHAR)
SELECT AVG(gold) FROM table_name_17 WHERE bronze < 5 AND rank = "8"
What is the average gold with a bronze smaller than 5 with a rank of 8?
<s>[INST]What is the average gold with a bronze smaller than 5 with a rank of 8? Context: CREATE TABLE table_name_17 (gold INTEGER, bronze VARCHAR, rank VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_17 WHERE bronze < 5 AND rank = "8"</s>
CREATE TABLE table_name_84 (last_final_lost VARCHAR, wins VARCHAR, last_win VARCHAR)
SELECT last_final_lost FROM table_name_84 WHERE wins = "3" AND last_win = "2001"
When was the final loss of the club last won in 2001 and has a total of 3 wins?
<s>[INST]When was the final loss of the club last won in 2001 and has a total of 3 wins? Context: CREATE TABLE table_name_84 (last_final_lost VARCHAR, wins VARCHAR, last_win VARCHAR)[/INST]SELECT last_final_lost FROM table_name_84 WHERE wins = "3" AND last_win = "2001"</s>
CREATE TABLE table_name_85 (losses VARCHAR, team VARCHAR, wins VARCHAR)
SELECT COUNT(losses) FROM table_name_85 WHERE team = "sturt" AND wins > 0
How many losses did the team, Sturt, have when they had more than 0 wins?
<s>[INST]How many losses did the team, Sturt, have when they had more than 0 wins? Context: CREATE TABLE table_name_85 (losses VARCHAR, team VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_85 WHERE team = "sturt" AND wins > 0</s>
CREATE TABLE table_28787871_3 (no_in_season VARCHAR, original_air_date VARCHAR)
SELECT COUNT(no_in_season) FROM table_28787871_3 WHERE original_air_date = "June 3, 2012"
How many numbers in the season have an air date of June 3, 2012?
<s>[INST]How many numbers in the season have an air date of June 3, 2012? Context: CREATE TABLE table_28787871_3 (no_in_season VARCHAR, original_air_date VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_28787871_3 WHERE original_air_date = "June 3, 2012"</s>
CREATE TABLE table_name_31 (total INTEGER, solo INTEGER)
SELECT MAX(total) FROM table_name_31 WHERE solo > 15
What is the high total for players with over 15 solo tackles?
<s>[INST]What is the high total for players with over 15 solo tackles? Context: CREATE TABLE table_name_31 (total INTEGER, solo INTEGER)[/INST]SELECT MAX(total) FROM table_name_31 WHERE solo > 15</s>
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR)
SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 1329
What is the percentage of others when the number for Bush is 1329?
<s>[INST]What is the percentage of others when the number for Bush is 1329? Context: CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR)[/INST]SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 1329</s>
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_95 WHERE opponent = "patty fendick"
On what date was Patty Fendick an opponent?
<s>[INST]On what date was Patty Fendick an opponent? Context: CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE opponent = "patty fendick"</s>
CREATE TABLE table_16799784_2 (name VARCHAR, latitude VARCHAR)
SELECT name FROM table_16799784_2 WHERE latitude = "36.0N"
Name the name of 36.0n
<s>[INST]Name the name of 36.0n Context: CREATE TABLE table_16799784_2 (name VARCHAR, latitude VARCHAR)[/INST]SELECT name FROM table_16799784_2 WHERE latitude = "36.0N"</s>
CREATE TABLE table_27713030_16 (series VARCHAR, score VARCHAR)
SELECT series FROM table_27713030_16 WHERE score = "L 103–112 (OT)"
Which series had a score of l 103–112 (ot)?
<s>[INST]Which series had a score of l 103–112 (ot)? Context: CREATE TABLE table_27713030_16 (series VARCHAR, score VARCHAR)[/INST]SELECT series FROM table_27713030_16 WHERE score = "L 103–112 (OT)"</s>
CREATE TABLE table_name_15 (age__as_of_1_february_2014_ VARCHAR, name VARCHAR)
SELECT age__as_of_1_february_2014_ FROM table_name_15 WHERE name = "fred gibson"
What is the age of Fred Gibson?
<s>[INST]What is the age of Fred Gibson? Context: CREATE TABLE table_name_15 (age__as_of_1_february_2014_ VARCHAR, name VARCHAR)[/INST]SELECT age__as_of_1_february_2014_ FROM table_name_15 WHERE name = "fred gibson"</s>
CREATE TABLE GENRE (Name VARCHAR)
SELECT Name FROM GENRE
List the names of all music genres.
<s>[INST]List the names of all music genres. Context: CREATE TABLE GENRE (Name VARCHAR)[/INST]SELECT Name FROM GENRE</s>
CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR)
SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = "Haiti"
Name the gdp per capita for haiti
<s>[INST]Name the gdp per capita for haiti Context: CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR)[/INST]SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = "Haiti"</s>
CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_84 WHERE score = "121-113"
On what date was the score 121-113?
<s>[INST]On what date was the score 121-113? Context: CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_84 WHERE score = "121-113"</s>
CREATE TABLE table_name_20 (total_matches VARCHAR, year VARCHAR)
SELECT total_matches FROM table_name_20 WHERE year = "2003"
How many Total matches happened in 2003?
<s>[INST]How many Total matches happened in 2003? Context: CREATE TABLE table_name_20 (total_matches VARCHAR, year VARCHAR)[/INST]SELECT total_matches FROM table_name_20 WHERE year = "2003"</s>
CREATE TABLE table_name_71 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_71 WHERE result = "l 14–24"
When was the result l 14–24?
<s>[INST]When was the result l 14–24? Context: CREATE TABLE table_name_71 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_71 WHERE result = "l 14–24"</s>
CREATE TABLE table_name_87 (rank VARCHAR, date_of_official_foundation_of_municipality VARCHAR, province VARCHAR)
SELECT COUNT(rank) FROM table_name_87 WHERE date_of_official_foundation_of_municipality > 1926 AND province = "sistan and baluchestan" AND 2006 > 567449
What is the total number of Rank, when Date of Official Foundation of Municipality is after 1926, when Province is "Sistan and Baluchestan", and when 2006 is greater than 567449?
<s>[INST]What is the total number of Rank, when Date of Official Foundation of Municipality is after 1926, when Province is "Sistan and Baluchestan", and when 2006 is greater than 567449? Context: CREATE TABLE table_name_87 (rank VARCHAR, date_of_official_foundation_of_municipality VARCHAR, province VARCHAR)[/INST]SELE...
CREATE TABLE table_13619027_7 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_13619027_7 WHERE date = "January 22"
who is the player with high assists on january 22?
<s>[INST]who is the player with high assists on january 22? Context: CREATE TABLE table_13619027_7 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_13619027_7 WHERE date = "January 22"</s>
CREATE TABLE Person (age INTEGER)
SELECT AVG(age) FROM Person
What is the average age for all person?
<s>[INST]What is the average age for all person? Context: CREATE TABLE Person (age INTEGER)[/INST]SELECT AVG(age) FROM Person</s>
CREATE TABLE table_11147852_1 (city_of_license_market VARCHAR, station VARCHAR)
SELECT city_of_license_market FROM table_11147852_1 WHERE station = "KTFK-DT"
What market is KTFK-DT in?
<s>[INST]What market is KTFK-DT in? Context: CREATE TABLE table_11147852_1 (city_of_license_market VARCHAR, station VARCHAR)[/INST]SELECT city_of_license_market FROM table_11147852_1 WHERE station = "KTFK-DT"</s>