context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_81 (line VARCHAR, location VARCHAR, current_status VARCHAR, closed VARCHAR)
SELECT line FROM table_name_81 WHERE current_status = "demolished" AND closed = "late 1970s" AND location = "toolamba"
What is the line of the station in Toolamba that is currently demolished and closed in the late 1970s?
<s>[INST]What is the line of the station in Toolamba that is currently demolished and closed in the late 1970s? Context: CREATE TABLE table_name_81 (line VARCHAR, location VARCHAR, current_status VARCHAR, closed VARCHAR)[/INST]SELECT line FROM table_name_81 WHERE current_status = "demolished" AND closed = "late 1970s" ...
CREATE TABLE table_name_57 (winning_score VARCHAR, year VARCHAR)
SELECT winning_score FROM table_name_57 WHERE year = 1956
What is the Winning score in 1956?
<s>[INST]What is the Winning score in 1956? Context: CREATE TABLE table_name_57 (winning_score VARCHAR, year VARCHAR)[/INST]SELECT winning_score FROM table_name_57 WHERE year = 1956</s>
CREATE TABLE table_name_91 (place INTEGER, rank_by_average VARCHAR, total VARCHAR)
SELECT AVG(place) FROM table_name_91 WHERE rank_by_average = 9 AND total < 83
What is the average place for a couple with the rank by average of 9 and total smaller than 83?
<s>[INST]What is the average place for a couple with the rank by average of 9 and total smaller than 83? Context: CREATE TABLE table_name_91 (place INTEGER, rank_by_average VARCHAR, total VARCHAR)[/INST]SELECT AVG(place) FROM table_name_91 WHERE rank_by_average = 9 AND total < 83</s>
CREATE TABLE table_name_83 (years_as_tallest VARCHAR, floors VARCHAR)
SELECT years_as_tallest FROM table_name_83 WHERE floors = 31
What is listed under the Years as tallest, that has Floors of 31?
<s>[INST]What is listed under the Years as tallest, that has Floors of 31? Context: CREATE TABLE table_name_83 (years_as_tallest VARCHAR, floors VARCHAR)[/INST]SELECT years_as_tallest FROM table_name_83 WHERE floors = 31</s>
CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_48 WHERE player = "jay haas"
What is the score of player jay haas?
<s>[INST]What is the score of player jay haas? Context: CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_48 WHERE player = "jay haas"</s>
CREATE TABLE table_name_25 (date VARCHAR, region VARCHAR)
SELECT date FROM table_name_25 WHERE region = "united states"
What date was the United States the region?
<s>[INST]What date was the United States the region? Context: CREATE TABLE table_name_25 (date VARCHAR, region VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE region = "united states"</s>
CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR)
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Mike Turnesa"
what is the space where the next one was mike turnesa
<s>[INST]what is the space where the next one was mike turnesa Context: CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin FROM table_262383_1 WHERE runner_s__up = "Mike Turnesa"</s>
CREATE TABLE table_name_13 (wins VARCHAR, season VARCHAR, podiums VARCHAR, races VARCHAR)
SELECT COUNT(wins) FROM table_name_13 WHERE podiums > 1 AND races = 9 AND season > 1984
How many wins has a podiums greater than 1 and 9 as the races with a season after 1984?
<s>[INST]How many wins has a podiums greater than 1 and 9 as the races with a season after 1984? Context: CREATE TABLE table_name_13 (wins VARCHAR, season VARCHAR, podiums VARCHAR, races VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_13 WHERE podiums > 1 AND races = 9 AND season > 1984</s>
CREATE TABLE table_name_85 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_85 WHERE course = "turin to monza"
Which type has turin to monza as a course?
<s>[INST]Which type has turin to monza as a course? Context: CREATE TABLE table_name_85 (type VARCHAR, course VARCHAR)[/INST]SELECT type FROM table_name_85 WHERE course = "turin to monza"</s>
CREATE TABLE table_name_71 (avg_g INTEGER, long VARCHAR, loss VARCHAR)
SELECT SUM(avg_g) FROM table_name_71 WHERE long = 93 AND loss < 249
Which Avg/G has a Long of 93, and a Loss smaller than 249?
<s>[INST]Which Avg/G has a Long of 93, and a Loss smaller than 249? Context: CREATE TABLE table_name_71 (avg_g INTEGER, long VARCHAR, loss VARCHAR)[/INST]SELECT SUM(avg_g) FROM table_name_71 WHERE long = 93 AND loss < 249</s>
CREATE TABLE table_name_59 (high_points VARCHAR, game VARCHAR)
SELECT high_points FROM table_name_59 WHERE game = 30
What are the high points from a game of 30?
<s>[INST]What are the high points from a game of 30? Context: CREATE TABLE table_name_59 (high_points VARCHAR, game VARCHAR)[/INST]SELECT high_points FROM table_name_59 WHERE game = 30</s>
CREATE TABLE table_12962773_13 (current_club VARCHAR, player VARCHAR)
SELECT current_club FROM table_12962773_13 WHERE player = "Sacha Giffa"
Name the current club for player sacha giffa
<s>[INST]Name the current club for player sacha giffa Context: CREATE TABLE table_12962773_13 (current_club VARCHAR, player VARCHAR)[/INST]SELECT current_club FROM table_12962773_13 WHERE player = "Sacha Giffa"</s>
CREATE TABLE table_1140105_6 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_1140105_6 WHERE circuit = "Posillipo"
What is the name of the winning driver where the circuit name is posillipo?
<s>[INST]What is the name of the winning driver where the circuit name is posillipo? Context: CREATE TABLE table_1140105_6 (winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT winning_driver FROM table_1140105_6 WHERE circuit = "Posillipo"</s>
CREATE TABLE table_name_78 (school VARCHAR, location VARCHAR, previous_conference VARCHAR, year_joined VARCHAR)
SELECT school FROM table_name_78 WHERE previous_conference = "none (new school)" AND year_joined > 1960 AND location = "versailles"
Which School has a Previous Conference of none (new school), and a Year Joined larger than 1960, and a Location of versailles?
<s>[INST]Which School has a Previous Conference of none (new school), and a Year Joined larger than 1960, and a Location of versailles? Context: CREATE TABLE table_name_78 (school VARCHAR, location VARCHAR, previous_conference VARCHAR, year_joined VARCHAR)[/INST]SELECT school FROM table_name_78 WHERE previous_conferenc...
CREATE TABLE table_name_50 (pba_team VARCHAR, college VARCHAR)
SELECT pba_team FROM table_name_50 WHERE college = "santo tomas"
What is the pba team for the player who went to santo tomas college?
<s>[INST]What is the pba team for the player who went to santo tomas college? Context: CREATE TABLE table_name_50 (pba_team VARCHAR, college VARCHAR)[/INST]SELECT pba_team FROM table_name_50 WHERE college = "santo tomas"</s>
CREATE TABLE table_name_23 (french_abbr VARCHAR, group_name VARCHAR)
SELECT french_abbr FROM table_name_23 WHERE group_name = "european progressive democrats"
For the group name European Progressive Democrats what is the French abbr?
<s>[INST]For the group name European Progressive Democrats what is the French abbr? Context: CREATE TABLE table_name_23 (french_abbr VARCHAR, group_name VARCHAR)[/INST]SELECT french_abbr FROM table_name_23 WHERE group_name = "european progressive democrats"</s>
CREATE TABLE table_18600760_9 (township VARCHAR, longitude VARCHAR)
SELECT township FROM table_18600760_9 WHERE longitude = "-99.287270"
What township is located at longitude -99.287270?
<s>[INST]What township is located at longitude -99.287270? Context: CREATE TABLE table_18600760_9 (township VARCHAR, longitude VARCHAR)[/INST]SELECT township FROM table_18600760_9 WHERE longitude = "-99.287270"</s>
CREATE TABLE table_name_19 (score VARCHAR, february VARCHAR, game VARCHAR)
SELECT score FROM table_name_19 WHERE february > 23 AND game = 57
What was the score of the game 57 after February 23?
<s>[INST]What was the score of the game 57 after February 23? Context: CREATE TABLE table_name_19 (score VARCHAR, february VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_19 WHERE february > 23 AND game = 57</s>
CREATE TABLE table_name_59 (total_rebounds INTEGER, player VARCHAR)
SELECT SUM(total_rebounds) FROM table_name_59 WHERE player = "peter woolfolk"
What was Peter Woolfolk's Total Rebound average?
<s>[INST]What was Peter Woolfolk's Total Rebound average? Context: CREATE TABLE table_name_59 (total_rebounds INTEGER, player VARCHAR)[/INST]SELECT SUM(total_rebounds) FROM table_name_59 WHERE player = "peter woolfolk"</s>
CREATE TABLE table_name_40 (si_meaning VARCHAR, symbol VARCHAR)
SELECT si_meaning FROM table_name_40 WHERE symbol = "m"
What;s the SI Meaning for symbol m?
<s>[INST]What;s the SI Meaning for symbol m? Context: CREATE TABLE table_name_40 (si_meaning VARCHAR, symbol VARCHAR)[/INST]SELECT si_meaning FROM table_name_40 WHERE symbol = "m"</s>
CREATE TABLE table_name_62 (game INTEGER, opponent VARCHAR, february VARCHAR)
SELECT SUM(game) FROM table_name_62 WHERE opponent = "new york islanders" AND february < 24
What is the number of the game when the opponent was the New York Islanders, and a February less than 24?
<s>[INST]What is the number of the game when the opponent was the New York Islanders, and a February less than 24? Context: CREATE TABLE table_name_62 (game INTEGER, opponent VARCHAR, february VARCHAR)[/INST]SELECT SUM(game) FROM table_name_62 WHERE opponent = "new york islanders" AND february < 24</s>
CREATE TABLE table_12321870_32 (goals VARCHAR, player_name VARCHAR)
SELECT goals FROM table_12321870_32 WHERE player_name = "Tiago Gomes"
How many goals have been scored by Tiago Gomes?
<s>[INST]How many goals have been scored by Tiago Gomes? Context: CREATE TABLE table_12321870_32 (goals VARCHAR, player_name VARCHAR)[/INST]SELECT goals FROM table_12321870_32 WHERE player_name = "Tiago Gomes"</s>
CREATE TABLE table_name_26 (number VARCHAR, percentage___percentage_ VARCHAR)
SELECT number FROM table_name_26 WHERE percentage___percentage_ = "0.35"
Which number has a 0.35 percentage?
<s>[INST]Which number has a 0.35 percentage? Context: CREATE TABLE table_name_26 (number VARCHAR, percentage___percentage_ VARCHAR)[/INST]SELECT number FROM table_name_26 WHERE percentage___percentage_ = "0.35"</s>
CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)
SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY COUNT(*) DESC LIMIT 1
What is the name of the shop that is hiring the largest number of employees?
<s>[INST]What is the name of the shop that is hiring the largest number of employees? Context: CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)[/INST]SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_2 (award_ceremony VARCHAR, role VARCHAR, year VARCHAR)
SELECT award_ceremony FROM table_name_2 WHERE role = "glinda" AND year = 2009
Which Award Ceremony in 2009 has a Role of Glinda?
<s>[INST]Which Award Ceremony in 2009 has a Role of Glinda? Context: CREATE TABLE table_name_2 (award_ceremony VARCHAR, role VARCHAR, year VARCHAR)[/INST]SELECT award_ceremony FROM table_name_2 WHERE role = "glinda" AND year = 2009</s>
CREATE TABLE table_16799784_8 (diameter__km_ VARCHAR, longitude VARCHAR)
SELECT diameter__km_ FROM table_16799784_8 WHERE longitude = "40.2E"
What is the diameter in km of the feature with a longitude of 40.2E?
<s>[INST]What is the diameter in km of the feature with a longitude of 40.2E? Context: CREATE TABLE table_16799784_8 (diameter__km_ VARCHAR, longitude VARCHAR)[/INST]SELECT diameter__km_ FROM table_16799784_8 WHERE longitude = "40.2E"</s>
CREATE TABLE table_name_25 (cancelable VARCHAR, attribute VARCHAR)
SELECT cancelable FROM table_name_25 WHERE attribute = "onmouseover"
Name the cancelable for onmouseover
<s>[INST]Name the cancelable for onmouseover Context: CREATE TABLE table_name_25 (cancelable VARCHAR, attribute VARCHAR)[/INST]SELECT cancelable FROM table_name_25 WHERE attribute = "onmouseover"</s>
CREATE TABLE table_name_46 (partner VARCHAR, outcome VARCHAR)
SELECT partner FROM table_name_46 WHERE outcome = "winner"
Who was the partner of the winner?
<s>[INST]Who was the partner of the winner? Context: CREATE TABLE table_name_46 (partner VARCHAR, outcome VARCHAR)[/INST]SELECT partner FROM table_name_46 WHERE outcome = "winner"</s>
CREATE TABLE table_2394927_1 (max_downstream_throughput___mbit_s__ VARCHAR, profile VARCHAR)
SELECT max_downstream_throughput___mbit_s__ FROM table_2394927_1 WHERE profile = "8b"
List all mbit/s with profiles of 8b.
<s>[INST]List all mbit/s with profiles of 8b. Context: CREATE TABLE table_2394927_1 (max_downstream_throughput___mbit_s__ VARCHAR, profile VARCHAR)[/INST]SELECT max_downstream_throughput___mbit_s__ FROM table_2394927_1 WHERE profile = "8b"</s>
CREATE TABLE table_name_50 (hdtv VARCHAR, television_service VARCHAR)
SELECT hdtv FROM table_name_50 WHERE television_service = "daystar television network"
Does daystar television network provide HDTV?
<s>[INST]Does daystar television network provide HDTV? Context: CREATE TABLE table_name_50 (hdtv VARCHAR, television_service VARCHAR)[/INST]SELECT hdtv FROM table_name_50 WHERE television_service = "daystar television network"</s>
CREATE TABLE table_name_35 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_35 WHERE home = "phoenix"
Who was the visitor when phoenix was at home?
<s>[INST]Who was the visitor when phoenix was at home? Context: CREATE TABLE table_name_35 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_35 WHERE home = "phoenix"</s>
CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "KAWA" AND T2.lastname = "GORDON"
How many students does KAWA GORDON teaches?
<s>[INST]How many students does KAWA GORDON teaches? Context: CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)[/INST]SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "KAWA" AND T2.lastname = "GORD...
CREATE TABLE table_14670060_1 (languages VARCHAR, call_sign VARCHAR)
SELECT languages FROM table_14670060_1 WHERE call_sign = "XEJAM"
What languages are spoken when call sign XEJAM is used?
<s>[INST]What languages are spoken when call sign XEJAM is used? Context: CREATE TABLE table_14670060_1 (languages VARCHAR, call_sign VARCHAR)[/INST]SELECT languages FROM table_14670060_1 WHERE call_sign = "XEJAM"</s>
CREATE TABLE table_name_17 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_17 WHERE country = "united states" AND score = 67 - 71 = 138
Name the Place which has a Score of 67-71=138, united states?
<s>[INST]Name the Place which has a Score of 67-71=138, united states? Context: CREATE TABLE table_name_17 (place VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_17 WHERE country = "united states" AND score = 67 - 71 = 138</s>
CREATE TABLE table_name_50 (gsr_nos VARCHAR, date_made VARCHAR)
SELECT gsr_nos FROM table_name_50 WHERE date_made = "1883"
What was the GSR number on the date 1883?
<s>[INST]What was the GSR number on the date 1883? Context: CREATE TABLE table_name_50 (gsr_nos VARCHAR, date_made VARCHAR)[/INST]SELECT gsr_nos FROM table_name_50 WHERE date_made = "1883"</s>
CREATE TABLE table_14609295_4 (conference VARCHAR, postseason VARCHAR)
SELECT conference FROM table_14609295_4 WHERE postseason = "CBI Champions"
What was the Ram's conference record when they were the CBI champions?
<s>[INST]What was the Ram's conference record when they were the CBI champions? Context: CREATE TABLE table_14609295_4 (conference VARCHAR, postseason VARCHAR)[/INST]SELECT conference FROM table_14609295_4 WHERE postseason = "CBI Champions"</s>
CREATE TABLE table_12740151_8 (price___usd__ VARCHAR, l3 VARCHAR)
SELECT price___usd__ FROM table_12740151_8 WHERE l3 = "18 MB"
What's the price (in USD) of the model whose L3 is 18 mb?
<s>[INST]What's the price (in USD) of the model whose L3 is 18 mb? Context: CREATE TABLE table_12740151_8 (price___usd__ VARCHAR, l3 VARCHAR)[/INST]SELECT price___usd__ FROM table_12740151_8 WHERE l3 = "18 MB"</s>
CREATE TABLE table_23927423_4 (promoted_to_league VARCHAR, relegated_to_league VARCHAR)
SELECT promoted_to_league FROM table_23927423_4 WHERE relegated_to_league = "Coventry"
Who was promoted to the league when Coventry was relegated to the league?
<s>[INST]Who was promoted to the league when Coventry was relegated to the league? Context: CREATE TABLE table_23927423_4 (promoted_to_league VARCHAR, relegated_to_league VARCHAR)[/INST]SELECT promoted_to_league FROM table_23927423_4 WHERE relegated_to_league = "Coventry"</s>
CREATE TABLE table_name_47 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_47 WHERE attendance > 20 OFFSET 268
Name the date for attendance more than 20,268
<s>[INST]Name the date for attendance more than 20,268 Context: CREATE TABLE table_name_47 (date VARCHAR, attendance INTEGER)[/INST]SELECT date FROM table_name_47 WHERE attendance > 20 OFFSET 268</s>
CREATE TABLE table_1140078_2 (pole_position VARCHAR, location VARCHAR)
SELECT pole_position FROM table_1140078_2 WHERE location = "Paul Ricard"
What is the pole position of paul ricard?
<s>[INST]What is the pole position of paul ricard? Context: CREATE TABLE table_1140078_2 (pole_position VARCHAR, location VARCHAR)[/INST]SELECT pole_position FROM table_1140078_2 WHERE location = "Paul Ricard"</s>
CREATE TABLE captain (CLASS VARCHAR)
SELECT CLASS FROM captain GROUP BY CLASS HAVING COUNT(*) > 2
Which classes have more than two captains?
<s>[INST]Which classes have more than two captains? Context: CREATE TABLE captain (CLASS VARCHAR)[/INST]SELECT CLASS FROM captain GROUP BY CLASS HAVING COUNT(*) > 2</s>
CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR)
SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = "mf" AND league_goals = 4
how many times is the fa cup apps more than 0, the position mf and the league goals 4?
<s>[INST]how many times is the fa cup apps more than 0, the position mf and the league goals 4? Context: CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR)[/INST]SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = "mf" AND league_g...
CREATE TABLE mill (name VARCHAR, LOCATION VARCHAR)
SELECT name FROM mill WHERE LOCATION <> 'Donceel'
What are the names of the mills which are not located in 'Donceel'?
<s>[INST]What are the names of the mills which are not located in 'Donceel'? Context: CREATE TABLE mill (name VARCHAR, LOCATION VARCHAR)[/INST]SELECT name FROM mill WHERE LOCATION <> 'Donceel'</s>
CREATE TABLE table_23512864_4 (winning_party_coalition VARCHAR, election_year VARCHAR)
SELECT winning_party_coalition FROM table_23512864_4 WHERE election_year = 1980
Who is the winning party/coalition name in election year 1980?
<s>[INST]Who is the winning party/coalition name in election year 1980? Context: CREATE TABLE table_23512864_4 (winning_party_coalition VARCHAR, election_year VARCHAR)[/INST]SELECT winning_party_coalition FROM table_23512864_4 WHERE election_year = 1980</s>
CREATE TABLE table_name_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR)
SELECT class FROM table_name_60 WHERE number_at_lincoln < 1 AND wheel_arrangement = "0-6-0"
Which Class has a Number at Lincoln smaller than 1 and a Wheel Arrangement of 0-6-0?
<s>[INST]Which Class has a Number at Lincoln smaller than 1 and a Wheel Arrangement of 0-6-0? Context: CREATE TABLE table_name_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR)[/INST]SELECT class FROM table_name_60 WHERE number_at_lincoln < 1 AND wheel_arrangement = "0-6-0"</s>
CREATE TABLE table_2879165_1 (television_station VARCHAR, radio_station VARCHAR)
SELECT COUNT(television_station) FROM table_2879165_1 WHERE radio_station = "Lao National Radio"
How many television station listing have a radio station as lao national radio?
<s>[INST]How many television station listing have a radio station as lao national radio? Context: CREATE TABLE table_2879165_1 (television_station VARCHAR, radio_station VARCHAR)[/INST]SELECT COUNT(television_station) FROM table_2879165_1 WHERE radio_station = "Lao National Radio"</s>
CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR)
SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3
Name the song for points less than 16 and draw less than 3
<s>[INST]Name the song for points less than 16 and draw less than 3 Context: CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR)[/INST]SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3</s>
CREATE TABLE table_10812403_4 (position VARCHAR, pick__number VARCHAR)
SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = 30
How many people were pick #30?
<s>[INST]How many people were pick #30? Context: CREATE TABLE table_10812403_4 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = 30</s>
CREATE TABLE table_name_46 (opponent VARCHAR, surface VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_46 WHERE surface = "clay" AND date = "november 22, 2009"
Who is the opponent on November 22, 2009, clay surface?
<s>[INST]Who is the opponent on November 22, 2009, clay surface? Context: CREATE TABLE table_name_46 (opponent VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_46 WHERE surface = "clay" AND date = "november 22, 2009"</s>
CREATE TABLE table_27734286_6 (record VARCHAR, game VARCHAR)
SELECT record FROM table_27734286_6 WHERE game = 29
List records for game 29.
<s>[INST]List records for game 29. Context: CREATE TABLE table_27734286_6 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_27734286_6 WHERE game = 29</s>
CREATE TABLE table_name_69 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_69 WHERE date = "august 30, 1968"
What was the result of the game on august 30, 1968?
<s>[INST]What was the result of the game on august 30, 1968? Context: CREATE TABLE table_name_69 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_69 WHERE date = "august 30, 1968"</s>
CREATE TABLE table_name_74 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_74 WHERE away_team = "geelong"
What was the home team when geelong was the away team?
<s>[INST]What was the home team when geelong was the away team? Context: CREATE TABLE table_name_74 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_74 WHERE away_team = "geelong"</s>
CREATE TABLE table_name_18 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT MAX(bronze) FROM table_name_18 WHERE silver < 1 AND nation = "belgium (bel)" AND gold < 0
What is the largest amount of bronze medals when the silver medals are less than 1, and Belgium (BEL) is the nation, and the gold medals are less than 0?
<s>[INST]What is the largest amount of bronze medals when the silver medals are less than 1, and Belgium (BEL) is the nation, and the gold medals are less than 0? Context: CREATE TABLE table_name_18 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_18 WHERE silver <...
CREATE TABLE table_name_46 (opponent VARCHAR, arena VARCHAR)
SELECT opponent FROM table_name_46 WHERE arena = "staples center"
Who was the opponent at the Staples Center?
<s>[INST]Who was the opponent at the Staples Center? Context: CREATE TABLE table_name_46 (opponent VARCHAR, arena VARCHAR)[/INST]SELECT opponent FROM table_name_46 WHERE arena = "staples center"</s>
CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR)
SELECT AVG(losses) FROM table_name_58 WHERE club = "warrnambool" AND wins < 12
what is the average losses when the club is warrnambool and wins is less than 12?
<s>[INST]what is the average losses when the club is warrnambool and wins is less than 12? Context: CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR)[/INST]SELECT AVG(losses) FROM table_name_58 WHERE club = "warrnambool" AND wins < 12</s>
CREATE TABLE table_name_79 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_79 WHERE date = "11 june 1966" AND home_team = "carlton"
Who was the Away team that played at Carlton on 11 June 1966?
<s>[INST]Who was the Away team that played at Carlton on 11 June 1966? Context: CREATE TABLE table_name_79 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_79 WHERE date = "11 june 1966" AND home_team = "carlton"</s>
CREATE TABLE song (song_name VARCHAR, resolution INTEGER, languages VARCHAR)
SELECT DISTINCT song_name FROM song WHERE resolution > (SELECT MIN(resolution) FROM song WHERE languages = "english")
Find the distinct names of all songs that have a higher resolution than some songs in English.
<s>[INST]Find the distinct names of all songs that have a higher resolution than some songs in English. Context: CREATE TABLE song (song_name VARCHAR, resolution INTEGER, languages VARCHAR)[/INST]SELECT DISTINCT song_name FROM song WHERE resolution > (SELECT MIN(resolution) FROM song WHERE languages = "english")</s>
CREATE TABLE table_name_88 (silver INTEGER, rank INTEGER)
SELECT MAX(silver) FROM table_name_88 WHERE rank > 7
What is the highest number of silvers for ranks over 7?
<s>[INST]What is the highest number of silvers for ranks over 7? Context: CREATE TABLE table_name_88 (silver INTEGER, rank INTEGER)[/INST]SELECT MAX(silver) FROM table_name_88 WHERE rank > 7</s>
CREATE TABLE table_24348134_3 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR)
SELECT tournament_venue__city_ FROM table_24348134_3 WHERE tournament_winner = "Oklahoma"
In what city did oklahoma win the tournament.
<s>[INST]In what city did oklahoma win the tournament. Context: CREATE TABLE table_24348134_3 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR)[/INST]SELECT tournament_venue__city_ FROM table_24348134_3 WHERE tournament_winner = "Oklahoma"</s>
CREATE TABLE table_name_39 (drawn INTEGER, played INTEGER)
SELECT MIN(drawn) FROM table_name_39 WHERE played > 39
What is the lowest number of games drawn associated with over 39 games played?
<s>[INST]What is the lowest number of games drawn associated with over 39 games played? Context: CREATE TABLE table_name_39 (drawn INTEGER, played INTEGER)[/INST]SELECT MIN(drawn) FROM table_name_39 WHERE played > 39</s>
CREATE TABLE table_name_50 (fa_cup_apps VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, league_apps VARCHAR)
SELECT COUNT(fa_cup_apps) FROM table_name_50 WHERE total_apps > 12 AND league_apps > 38 AND fa_cup_goals > 1
What FA cup apps has a total larger than 12 and league apps larger than 38, and FA Cup goals larger than 1?
<s>[INST]What FA cup apps has a total larger than 12 and league apps larger than 38, and FA Cup goals larger than 1? Context: CREATE TABLE table_name_50 (fa_cup_apps VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, league_apps VARCHAR)[/INST]SELECT COUNT(fa_cup_apps) FROM table_name_50 WHERE total_apps > 12 AND leagu...
CREATE TABLE table_name_71 (australian_open VARCHAR, year VARCHAR)
SELECT australian_open FROM table_name_71 WHERE year = 2010
What is the Australian open in 2010?
<s>[INST]What is the Australian open in 2010? Context: CREATE TABLE table_name_71 (australian_open VARCHAR, year VARCHAR)[/INST]SELECT australian_open FROM table_name_71 WHERE year = 2010</s>
CREATE TABLE table_name_51 (model VARCHAR, chipset VARCHAR)
SELECT model FROM table_name_51 WHERE chipset = "intel q43"
What model number had a chipset of intel q43?
<s>[INST]What model number had a chipset of intel q43? Context: CREATE TABLE table_name_51 (model VARCHAR, chipset VARCHAR)[/INST]SELECT model FROM table_name_51 WHERE chipset = "intel q43"</s>
CREATE TABLE table_name_28 (time_retired VARCHAR, laps VARCHAR, points VARCHAR)
SELECT time_retired FROM table_name_28 WHERE laps < 67 AND points = 6
What was time/retired with less than 67 laps and 6 points?
<s>[INST]What was time/retired with less than 67 laps and 6 points? Context: CREATE TABLE table_name_28 (time_retired VARCHAR, laps VARCHAR, points VARCHAR)[/INST]SELECT time_retired FROM table_name_28 WHERE laps < 67 AND points = 6</s>
CREATE TABLE table_29141354_2 (andrew_and_georgies_guest VARCHAR, jamie_and_johns_guest VARCHAR)
SELECT andrew_and_georgies_guest FROM table_29141354_2 WHERE jamie_and_johns_guest = "Jessica Ennis"
Who was Andrew and Georgies guest when Jamie and Johns guest was Jessica Ennis?
<s>[INST]Who was Andrew and Georgies guest when Jamie and Johns guest was Jessica Ennis? Context: CREATE TABLE table_29141354_2 (andrew_and_georgies_guest VARCHAR, jamie_and_johns_guest VARCHAR)[/INST]SELECT andrew_and_georgies_guest FROM table_29141354_2 WHERE jamie_and_johns_guest = "Jessica Ennis"</s>
CREATE TABLE table_name_2 (elimination VARCHAR, eliminated_by VARCHAR)
SELECT elimination FROM table_name_2 WHERE eliminated_by = "sonjay dutt"
What Elimination number is listed againt Eliminated by Sonjay Dutt?
<s>[INST]What Elimination number is listed againt Eliminated by Sonjay Dutt? Context: CREATE TABLE table_name_2 (elimination VARCHAR, eliminated_by VARCHAR)[/INST]SELECT elimination FROM table_name_2 WHERE eliminated_by = "sonjay dutt"</s>
CREATE TABLE table_name_30 (Id VARCHAR)
SELECT 2008 FROM table_name_30 WHERE 2007 = "f"
When in 2008 that has a 2007 of f?
<s>[INST]When in 2008 that has a 2007 of f? Context: CREATE TABLE table_name_30 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_30 WHERE 2007 = "f"</s>
CREATE TABLE table_26173058_2 (ramtha VARCHAR, ahli VARCHAR)
SELECT ramtha FROM table_26173058_2 WHERE ahli = "1-1"
what is the score where the record is 1-1
<s>[INST]what is the score where the record is 1-1 Context: CREATE TABLE table_26173058_2 (ramtha VARCHAR, ahli VARCHAR)[/INST]SELECT ramtha FROM table_26173058_2 WHERE ahli = "1-1"</s>
CREATE TABLE table_name_99 (date VARCHAR, label VARCHAR, format VARCHAR)
SELECT date FROM table_name_99 WHERE label = "4ad" AND format = "cd (reissue)"
What date had a 4ad label and a CD (reissue) format?
<s>[INST]What date had a 4ad label and a CD (reissue) format? Context: CREATE TABLE table_name_99 (date VARCHAR, label VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_99 WHERE label = "4ad" AND format = "cd (reissue)"</s>
CREATE TABLE table_name_85 (subjunctive VARCHAR, inverse_subjunctive VARCHAR)
SELECT subjunctive FROM table_name_85 WHERE inverse_subjunctive = "måchadns"
What subjunctive also has an inverse subjunctive of måchadns?
<s>[INST]What subjunctive also has an inverse subjunctive of måchadns? Context: CREATE TABLE table_name_85 (subjunctive VARCHAR, inverse_subjunctive VARCHAR)[/INST]SELECT subjunctive FROM table_name_85 WHERE inverse_subjunctive = "måchadns"</s>
CREATE TABLE table_2889300_6 (snare_pad VARCHAR, drumset_name VARCHAR)
SELECT COUNT(snare_pad) FROM table_2889300_6 WHERE drumset_name = "TD-15K"
for the drumset name td-15k how many snare pads are
<s>[INST]for the drumset name td-15k how many snare pads are Context: CREATE TABLE table_2889300_6 (snare_pad VARCHAR, drumset_name VARCHAR)[/INST]SELECT COUNT(snare_pad) FROM table_2889300_6 WHERE drumset_name = "TD-15K"</s>
CREATE TABLE table_name_36 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_36 WHERE driver = "mike spence" AND grid < 8
What is the lowest Laps for mike spence, with a Grid smaller than 8?
<s>[INST]What is the lowest Laps for mike spence, with a Grid smaller than 8? Context: CREATE TABLE table_name_36 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_36 WHERE driver = "mike spence" AND grid < 8</s>
CREATE TABLE table_name_57 (total VARCHAR, set_2 VARCHAR, date VARCHAR)
SELECT total FROM table_name_57 WHERE set_2 = "25-19" AND date = "jun 17"
What is the total with a 25-19 set 2 on Jun 17?
<s>[INST]What is the total with a 25-19 set 2 on Jun 17? Context: CREATE TABLE table_name_57 (total VARCHAR, set_2 VARCHAR, date VARCHAR)[/INST]SELECT total FROM table_name_57 WHERE set_2 = "25-19" AND date = "jun 17"</s>
CREATE TABLE table_name_96 (final VARCHAR, rank VARCHAR)
SELECT final FROM table_name_96 WHERE rank = "4"
What final was ranked 4?
<s>[INST]What final was ranked 4? Context: CREATE TABLE table_name_96 (final VARCHAR, rank VARCHAR)[/INST]SELECT final FROM table_name_96 WHERE rank = "4"</s>
CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR)
SELECT warship FROM table_23614702_1 WHERE horse__power = 1500
What warship has horse-power of 1500?
<s>[INST]What warship has horse-power of 1500? Context: CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR)[/INST]SELECT warship FROM table_23614702_1 WHERE horse__power = 1500</s>
CREATE TABLE table_name_56 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_56 WHERE nation = "italy" AND bronze > 1
What is the average total of Italy and has a bronze larger than 1?
<s>[INST]What is the average total of Italy and has a bronze larger than 1? Context: CREATE TABLE table_name_56 (total INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(total) FROM table_name_56 WHERE nation = "italy" AND bronze > 1</s>
CREATE TABLE table_name_81 (school VARCHAR, ihsaa_class__football_class VARCHAR)
SELECT school FROM table_name_81 WHERE ihsaa_class__football_class = "3a/2a"
What School had 3a/2a as the value for IHSAA Class/ Football Class?
<s>[INST]What School had 3a/2a as the value for IHSAA Class/ Football Class? Context: CREATE TABLE table_name_81 (school VARCHAR, ihsaa_class__football_class VARCHAR)[/INST]SELECT school FROM table_name_81 WHERE ihsaa_class__football_class = "3a/2a"</s>
CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR)
SELECT argon FROM table_name_54 WHERE helium = "1.0000684"
Wha argon has helium of 1.0000684?
<s>[INST]Wha argon has helium of 1.0000684? Context: CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR)[/INST]SELECT argon FROM table_name_54 WHERE helium = "1.0000684"</s>
CREATE TABLE table_105344_2 (aircraft_kilometers INTEGER, departures VARCHAR)
SELECT MAX(aircraft_kilometers) FROM table_105344_2 WHERE departures = 17096
Of the years that had exactly 17096 departures, what is the greatest number of aircraft kilometers flown?
<s>[INST]Of the years that had exactly 17096 departures, what is the greatest number of aircraft kilometers flown? Context: CREATE TABLE table_105344_2 (aircraft_kilometers INTEGER, departures VARCHAR)[/INST]SELECT MAX(aircraft_kilometers) FROM table_105344_2 WHERE departures = 17096</s>
CREATE TABLE table_name_94 (oct VARCHAR, nov VARCHAR)
SELECT oct FROM table_name_94 WHERE nov = "51/30"
What were the Oct. temperatures for the city that had Nov. temperatures of 51/30?
<s>[INST]What were the Oct. temperatures for the city that had Nov. temperatures of 51/30? Context: CREATE TABLE table_name_94 (oct VARCHAR, nov VARCHAR)[/INST]SELECT oct FROM table_name_94 WHERE nov = "51/30"</s>
CREATE TABLE table_name_88 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_88 WHERE college = "notre dame"
Name the player that went to notre dame
<s>[INST]Name the player that went to notre dame Context: CREATE TABLE table_name_88 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_88 WHERE college = "notre dame"</s>
CREATE TABLE table_1676073_13 (lost VARCHAR, club VARCHAR)
SELECT COUNT(lost) FROM table_1676073_13 WHERE club = "Cross Keys RFC"
How many losses does Cross Keys RFC have?
<s>[INST]How many losses does Cross Keys RFC have? Context: CREATE TABLE table_1676073_13 (lost VARCHAR, club VARCHAR)[/INST]SELECT COUNT(lost) FROM table_1676073_13 WHERE club = "Cross Keys RFC"</s>
CREATE TABLE table_name_24 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_24 WHERE college_junior_club_team = "michigan state university (ncaa)" AND player = "mark hirth"
What nationality is Mark Hirth from Michigan State University (NCAA)?
<s>[INST]What nationality is Mark Hirth from Michigan State University (NCAA)? Context: CREATE TABLE table_name_24 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_24 WHERE college_junior_club_team = "michigan state university (ncaa)" AND player = "mark hi...
CREATE TABLE table_name_24 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)
SELECT series FROM table_name_24 WHERE winning_team = "iowa" AND sport = "softball"
What is the series of the winning team in Iowa, for softball?
<s>[INST]What is the series of the winning team in Iowa, for softball? Context: CREATE TABLE table_name_24 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)[/INST]SELECT series FROM table_name_24 WHERE winning_team = "iowa" AND sport = "softball"</s>
CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR)
SELECT COUNT(chroma_format) FROM table_1376890_2 WHERE name = "High profile"
how many chroma format with name being high profile
<s>[INST] how many chroma format with name being high profile Context: CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR)[/INST]SELECT COUNT(chroma_format) FROM table_1376890_2 WHERE name = "High profile"</s>
CREATE TABLE Person (job VARCHAR, age INTEGER, gender VARCHAR)
SELECT AVG(age), job FROM Person WHERE gender = 'male' GROUP BY job
What is average age of male for different job title?
<s>[INST]What is average age of male for different job title? Context: CREATE TABLE Person (job VARCHAR, age INTEGER, gender VARCHAR)[/INST]SELECT AVG(age), job FROM Person WHERE gender = 'male' GROUP BY job</s>
CREATE TABLE table_name_94 (geohash_length INTEGER, lat_bits VARCHAR, km_error VARCHAR)
SELECT MIN(geohash_length) FROM table_name_94 WHERE lat_bits < 7 AND km_error = "±2500"
What is the lowest geohash length when the lat bits are less than 7, and the km error of ±2500?
<s>[INST]What is the lowest geohash length when the lat bits are less than 7, and the km error of ±2500? Context: CREATE TABLE table_name_94 (geohash_length INTEGER, lat_bits VARCHAR, km_error VARCHAR)[/INST]SELECT MIN(geohash_length) FROM table_name_94 WHERE lat_bits < 7 AND km_error = "±2500"</s>
CREATE TABLE table_name_41 (player VARCHAR, years_for_rockets VARCHAR)
SELECT player FROM table_name_41 WHERE years_for_rockets = "2002-03"
Which player played for the Rockets in 2002-03?
<s>[INST]Which player played for the Rockets in 2002-03? Context: CREATE TABLE table_name_41 (player VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT player FROM table_name_41 WHERE years_for_rockets = "2002-03"</s>
CREATE TABLE table_name_85 (second_vice_president VARCHAR, inaugurated VARCHAR)
SELECT second_vice_president FROM table_name_85 WHERE inaugurated = "26 march 1928"
What is Second Vice President, when Inaugurated is "26 March 1928"?
<s>[INST]What is Second Vice President, when Inaugurated is "26 March 1928"? Context: CREATE TABLE table_name_85 (second_vice_president VARCHAR, inaugurated VARCHAR)[/INST]SELECT second_vice_president FROM table_name_85 WHERE inaugurated = "26 march 1928"</s>
CREATE TABLE table_name_15 (time INTEGER, react VARCHAR, rank VARCHAR)
SELECT SUM(time) FROM table_name_15 WHERE react < 0.20400000000000001 AND rank = 1
Which Time has a Reaction smaller than 0.20400000000000001, and a Rank of 1?
<s>[INST]Which Time has a Reaction smaller than 0.20400000000000001, and a Rank of 1? Context: CREATE TABLE table_name_15 (time INTEGER, react VARCHAR, rank VARCHAR)[/INST]SELECT SUM(time) FROM table_name_15 WHERE react < 0.20400000000000001 AND rank = 1</s>
CREATE TABLE table_1341690_35 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta"
Who were the candidates in the district won by the incumbent Del Latta?
<s>[INST]Who were the candidates in the district won by the incumbent Del Latta? Context: CREATE TABLE table_1341690_35 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta"</s>
CREATE TABLE table_29152820_1 (no_in_season VARCHAR, no_in_series VARCHAR)
SELECT COUNT(no_in_season) FROM table_29152820_1 WHERE no_in_series = 122
How many episodes are 122 in the series?
<s>[INST]How many episodes are 122 in the series? Context: CREATE TABLE table_29152820_1 (no_in_season VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_29152820_1 WHERE no_in_series = 122</s>
CREATE TABLE table_24901152_4 (championship VARCHAR, score VARCHAR)
SELECT championship FROM table_24901152_4 WHERE score = "6–4, 5–7, 6–2"
Which championship was the score 6–4, 5–7, 6–2?
<s>[INST]Which championship was the score 6–4, 5–7, 6–2? Context: CREATE TABLE table_24901152_4 (championship VARCHAR, score VARCHAR)[/INST]SELECT championship FROM table_24901152_4 WHERE score = "6–4, 5–7, 6–2"</s>
CREATE TABLE table_name_96 (icao VARCHAR, fleet_size VARCHAR)
SELECT icao FROM table_name_96 WHERE fleet_size = 2
Which ICAO has a Fleet size of 2?
<s>[INST]Which ICAO has a Fleet size of 2? Context: CREATE TABLE table_name_96 (icao VARCHAR, fleet_size VARCHAR)[/INST]SELECT icao FROM table_name_96 WHERE fleet_size = 2</s>
CREATE TABLE table_29692554_2 (entered VARCHAR, time VARCHAR)
SELECT COUNT(entered) FROM table_29692554_2 WHERE time = "21:09"
How many entries are shown for entered at 21:09?
<s>[INST]How many entries are shown for entered at 21:09? Context: CREATE TABLE table_29692554_2 (entered VARCHAR, time VARCHAR)[/INST]SELECT COUNT(entered) FROM table_29692554_2 WHERE time = "21:09"</s>
CREATE TABLE table_28677723_5 (trine_dehli_cleve INTEGER)
SELECT MAX(trine_dehli_cleve) FROM table_28677723_5
What is the largest number for trine dehli cleve?
<s>[INST]What is the largest number for trine dehli cleve? Context: CREATE TABLE table_28677723_5 (trine_dehli_cleve INTEGER)[/INST]SELECT MAX(trine_dehli_cleve) FROM table_28677723_5</s>
CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR)
SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2004-05"
What are all the AAA classes in the school years of 2004-05?
<s>[INST]What are all the AAA classes in the school years of 2004-05? Context: CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR)[/INST]SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2004-05"</s>
CREATE TABLE table_1566848_7 (interview_subject VARCHAR, centerfold_model VARCHAR)
SELECT COUNT(interview_subject) FROM table_1566848_7 WHERE centerfold_model = "Sherry Arnett"
Who was the interview subject when the centerfold model was Sherry Arnett?
<s>[INST]Who was the interview subject when the centerfold model was Sherry Arnett? Context: CREATE TABLE table_1566848_7 (interview_subject VARCHAR, centerfold_model VARCHAR)[/INST]SELECT COUNT(interview_subject) FROM table_1566848_7 WHERE centerfold_model = "Sherry Arnett"</s>
CREATE TABLE table_name_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR)
SELECT MIN(height__m_) FROM table_name_37 WHERE class = "hewitt" AND prom__m_ < 148
Tell me the lowest height for class of hewitt and prom less than 148
<s>[INST]Tell me the lowest height for class of hewitt and prom less than 148 Context: CREATE TABLE table_name_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR)[/INST]SELECT MIN(height__m_) FROM table_name_37 WHERE class = "hewitt" AND prom__m_ < 148</s>
CREATE TABLE table_1341423_46 (results VARCHAR, incumbent VARCHAR)
SELECT results FROM table_1341423_46 WHERE incumbent = "Norman Sisisky"
What was the result of the election featuring incumbent norman sisisky?
<s>[INST]What was the result of the election featuring incumbent norman sisisky? Context: CREATE TABLE table_1341423_46 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_1341423_46 WHERE incumbent = "Norman Sisisky"</s>