context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_27 (purse___ INTEGER, year VARCHAR, score VARCHAR, winner VARCHAR)
SELECT SUM(purse___) AS $__ FROM table_name_27 WHERE score = "272 (-16)" AND winner = "frank nobilo" AND year > 1996
What was the total purse in the years after 1996 with a score of 272 (-16) when frank nobilo won?
<s>[INST]What was the total purse in the years after 1996 with a score of 272 (-16) when frank nobilo won? Context: CREATE TABLE table_name_27 (purse___ INTEGER, year VARCHAR, score VARCHAR, winner VARCHAR)[/INST]SELECT SUM(purse___) AS $__ FROM table_name_27 WHERE score = "272 (-16)" AND winner = "frank nobilo" AND ye...
CREATE TABLE table_17344582_11 (location_attendance VARCHAR, series VARCHAR)
SELECT location_attendance FROM table_17344582_11 WHERE series = "1-1"
List all location attendance for series 1-1.
<s>[INST]List all location attendance for series 1-1. Context: CREATE TABLE table_17344582_11 (location_attendance VARCHAR, series VARCHAR)[/INST]SELECT location_attendance FROM table_17344582_11 WHERE series = "1-1"</s>
CREATE TABLE table_name_24 (bronze VARCHAR, total INTEGER)
SELECT COUNT(bronze) FROM table_name_24 WHERE total < 1
What is the total number of bronzes that is less than 1 in total?
<s>[INST]What is the total number of bronzes that is less than 1 in total? Context: CREATE TABLE table_name_24 (bronze VARCHAR, total INTEGER)[/INST]SELECT COUNT(bronze) FROM table_name_24 WHERE total < 1</s>
CREATE TABLE table_11960944_11 (location_attendance VARCHAR, high_assists VARCHAR)
SELECT location_attendance FROM table_11960944_11 WHERE high_assists = "Billups , Stuckey (4)"
Where was the game played when the high assists were scored by billups , stuckey (4)?
<s>[INST]Where was the game played when the high assists were scored by billups , stuckey (4)? Context: CREATE TABLE table_11960944_11 (location_attendance VARCHAR, high_assists VARCHAR)[/INST]SELECT location_attendance FROM table_11960944_11 WHERE high_assists = "Billups , Stuckey (4)"</s>
CREATE TABLE table_17325937_5 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_17325937_5 WHERE date = "November 14"
What was the high assists on November 14?
<s>[INST]What was the high assists on November 14? Context: CREATE TABLE table_17325937_5 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_17325937_5 WHERE date = "November 14"</s>
CREATE TABLE table_name_34 (team VARCHAR, day_1 VARCHAR)
SELECT team FROM table_name_34 WHERE day_1 = "3:18.513"
Which team had 3:18.513 on day 1?
<s>[INST]Which team had 3:18.513 on day 1? Context: CREATE TABLE table_name_34 (team VARCHAR, day_1 VARCHAR)[/INST]SELECT team FROM table_name_34 WHERE day_1 = "3:18.513"</s>
CREATE TABLE table_name_75 (recnet VARCHAR, class VARCHAR, power VARCHAR)
SELECT recnet FROM table_name_75 WHERE class = "a" AND power = "3,000 watts"
What is the RECNet belonging to Class A with a Power of 3,000 watts?
<s>[INST]What is the RECNet belonging to Class A with a Power of 3,000 watts? Context: CREATE TABLE table_name_75 (recnet VARCHAR, class VARCHAR, power VARCHAR)[/INST]SELECT recnet FROM table_name_75 WHERE class = "a" AND power = "3,000 watts"</s>
CREATE TABLE table_name_54 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_54 WHERE date = "november 20, 1977"
What was the Week number on November 20, 1977?
<s>[INST]What was the Week number on November 20, 1977? Context: CREATE TABLE table_name_54 (week INTEGER, date VARCHAR)[/INST]SELECT SUM(week) FROM table_name_54 WHERE date = "november 20, 1977"</s>
CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (DestAirport VARCHAR, Airline VARCHAR)
SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = "Aberdeen" AND T3.Airline = "United Airlines"
How many United Airlines flights go to City 'Aberdeen'?
<s>[INST]How many United Airlines flights go to City 'Aberdeen'? Context: CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (DestAirport VARCHAR, Airline VARCHAR)[/INST]SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAi...
CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_36 WHERE tournament = "zürich, switzerland"
What date is the zürich, switzerland tournament?
<s>[INST]What date is the zürich, switzerland tournament? Context: CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE tournament = "zürich, switzerland"</s>
CREATE TABLE table_name_3 (rank INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MIN(rank) FROM table_name_3 WHERE bronze = 3 AND total > 10
What is the lowest rank for Spain when more than 10 medals were won, 3 of which were bronze?
<s>[INST]What is the lowest rank for Spain when more than 10 medals were won, 3 of which were bronze? Context: CREATE TABLE table_name_3 (rank INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_3 WHERE bronze = 3 AND total > 10</s>
CREATE TABLE table_10875694_11 (compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ VARCHAR, publisher VARCHAR, title VARCHAR)
SELECT compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ FROM table_10875694_11 WHERE publisher = "Electronic Arts" AND title = "James Bond 007: Agent Under Fire"
Which James Bond 007: Agent Under Fire from Electronic Arts is compatible with 60 gb pal/80 gb NTSC PS3 (CECHC/CECHE)?
<s>[INST]Which James Bond 007: Agent Under Fire from Electronic Arts is compatible with 60 gb pal/80 gb NTSC PS3 (CECHC/CECHE)? Context: CREATE TABLE table_10875694_11 (compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ VARCHAR, publisher VARCHAR, title VARCHAR)[/INST]SELECT compatible_with_60gb_pal_80gb_ntsc_ps3__ce...
CREATE TABLE table_name_96 (team VARCHAR, home_venue VARCHAR)
SELECT team FROM table_name_96 WHERE home_venue = "anyang stadium"
What is the Team with a venue of Anyang Stadium?
<s>[INST]What is the Team with a venue of Anyang Stadium? Context: CREATE TABLE table_name_96 (team VARCHAR, home_venue VARCHAR)[/INST]SELECT team FROM table_name_96 WHERE home_venue = "anyang stadium"</s>
CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR)
SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier"
Name the most goals for josep samitier
<s>[INST]Name the most goals for josep samitier Context: CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier"</s>
CREATE TABLE table_name_66 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_66 WHERE opponent = "michael buell"
What is the round number of the match with Michael Buell as the opponent?
<s>[INST]What is the round number of the match with Michael Buell as the opponent? Context: CREATE TABLE table_name_66 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_66 WHERE opponent = "michael buell"</s>
CREATE TABLE table_2248991_2 (total_gdp_world_rank INTEGER, gdp_per_capita VARCHAR)
SELECT MIN(total_gdp_world_rank) FROM table_2248991_2 WHERE gdp_per_capita = "$1,163"
What is the total gdp world rank when the gdp per capita was listed at $1,163?
<s>[INST]What is the total gdp world rank when the gdp per capita was listed at $1,163? Context: CREATE TABLE table_2248991_2 (total_gdp_world_rank INTEGER, gdp_per_capita VARCHAR)[/INST]SELECT MIN(total_gdp_world_rank) FROM table_2248991_2 WHERE gdp_per_capita = "$1,163"</s>
CREATE TABLE table_22839669_1 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT championship FROM table_22839669_1 WHERE score_in_the_final = "6–4, 6–2, 6–2"
What championship had a final score of 6–4, 6–2, 6–2?
<s>[INST]What championship had a final score of 6–4, 6–2, 6–2? Context: CREATE TABLE table_22839669_1 (championship VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT championship FROM table_22839669_1 WHERE score_in_the_final = "6–4, 6–2, 6–2"</s>
CREATE TABLE table_name_32 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_32 WHERE round = 3
What College/Junior/Club Team (League) has a round of 3?
<s>[INST]What College/Junior/Club Team (League) has a round of 3? Context: CREATE TABLE table_name_32 (college_junior_club_team__league_ VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_32 WHERE round = 3</s>
CREATE TABLE table_21025437_3 (series_no INTEGER)
SELECT MIN(series_no) FROM table_21025437_3
what is the lowest value under the column series no.?
<s>[INST]what is the lowest value under the column series no.? Context: CREATE TABLE table_21025437_3 (series_no INTEGER)[/INST]SELECT MIN(series_no) FROM table_21025437_3</s>
CREATE TABLE table_name_29 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT COUNT(silver) FROM table_name_29 WHERE bronze = 2 AND gold < 2
What's the total silver medals having less than 2 gold and 2 bronze?
<s>[INST]What's the total silver medals having less than 2 gold and 2 bronze? Context: CREATE TABLE table_name_29 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_29 WHERE bronze = 2 AND gold < 2</s>
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Badlands"
Who performed the song named "Badlands"? Show the first name and the last name.
<s>[INST]Who performed the song named "Badlands"? Show the first name and the last name. Context: CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)[/INST]SELECT T2.firstname, T2.lastname FR...
CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR)
SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "50.23"
What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23?
<s>[INST]What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23? Context: CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR)[/INST]SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "50.23"</s>
CREATE TABLE table_name_1 (stadium VARCHAR, host_team VARCHAR)
SELECT stadium FROM table_name_1 WHERE host_team = "jacksonville jaguars"
What is the Stadium that hosts the team Jacksonville Jaguars?
<s>[INST]What is the Stadium that hosts the team Jacksonville Jaguars? Context: CREATE TABLE table_name_1 (stadium VARCHAR, host_team VARCHAR)[/INST]SELECT stadium FROM table_name_1 WHERE host_team = "jacksonville jaguars"</s>
CREATE TABLE table_name_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR)
SELECT played FROM table_name_75 WHERE lost < 12 AND points > 37 AND drawn = 5
How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points?
<s>[INST]How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points? Context: CREATE TABLE table_name_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR)[/INST]SELECT played FROM table_name_75 WHERE lost < 12 AND points > 37 AND drawn = 5</s>
CREATE TABLE table_name_74 (champion VARCHAR, second VARCHAR, third VARCHAR)
SELECT champion FROM table_name_74 WHERE second = "ramona rahnis" AND third = "diana sartor"
Who was the winner the year Ramona Rahnis finished 2nd and Diana Sartor 3rd?
<s>[INST]Who was the winner the year Ramona Rahnis finished 2nd and Diana Sartor 3rd? Context: CREATE TABLE table_name_74 (champion VARCHAR, second VARCHAR, third VARCHAR)[/INST]SELECT champion FROM table_name_74 WHERE second = "ramona rahnis" AND third = "diana sartor"</s>
CREATE TABLE table_name_8 (date VARCHAR, game_site VARCHAR)
SELECT date FROM table_name_8 WHERE game_site = "invesco field"
What was the date of the game held at Invesco Field?
<s>[INST]What was the date of the game held at Invesco Field? Context: CREATE TABLE table_name_8 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE game_site = "invesco field"</s>
CREATE TABLE table_name_66 (election VARCHAR)
SELECT 2 AS nd_party FROM table_name_66 WHERE election = "1918"
What was the 2nd Party in the 1918 Election?
<s>[INST]What was the 2nd Party in the 1918 Election? Context: CREATE TABLE table_name_66 (election VARCHAR)[/INST]SELECT 2 AS nd_party FROM table_name_66 WHERE election = "1918"</s>
CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers"
What day did they play the bolton wanderers with a result F–A of 1–2?
<s>[INST]What day did they play the bolton wanderers with a result F–A of 1–2? Context: CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers"</s>
CREATE TABLE table_name_52 (constructor VARCHAR, engine_† VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_52 WHERE engine_† = "cosworth cr-2" AND driver = "luciano burti"
What constructor has an engine of cosworth cr-2 and a driver of luciano burti?
<s>[INST]What constructor has an engine of cosworth cr-2 and a driver of luciano burti? Context: CREATE TABLE table_name_52 (constructor VARCHAR, engine_† VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_52 WHERE engine_† = "cosworth cr-2" AND driver = "luciano burti"</s>
CREATE TABLE table_27893892_2 (game_site VARCHAR, date VARCHAR)
SELECT game_site FROM table_27893892_2 WHERE date = "Saturday, April 21"
what is the location for saturday, april 21
<s>[INST]what is the location for saturday, april 21 Context: CREATE TABLE table_27893892_2 (game_site VARCHAR, date VARCHAR)[/INST]SELECT game_site FROM table_27893892_2 WHERE date = "Saturday, April 21"</s>
CREATE TABLE table_name_11 (position VARCHAR, competition VARCHAR, year VARCHAR)
SELECT position FROM table_name_11 WHERE competition = "world athletics final" AND year > 2008
What position was played at the World Athletics Final Competition in a year more recent than 2008?
<s>[INST]What position was played at the World Athletics Final Competition in a year more recent than 2008? Context: CREATE TABLE table_name_11 (position VARCHAR, competition VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_name_11 WHERE competition = "world athletics final" AND year > 2008</s>
CREATE TABLE table_29545336_2 (directed_by VARCHAR, no VARCHAR)
SELECT COUNT(directed_by) FROM table_29545336_2 WHERE no = 2
How many people directed episode 2?
<s>[INST]How many people directed episode 2? Context: CREATE TABLE table_29545336_2 (directed_by VARCHAR, no VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_29545336_2 WHERE no = 2</s>
CREATE TABLE table_name_52 (player VARCHAR, total VARCHAR)
SELECT player FROM table_name_52 WHERE total = 281
What golfer has 281 as their total?
<s>[INST]What golfer has 281 as their total? Context: CREATE TABLE table_name_52 (player VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_52 WHERE total = 281</s>
CREATE TABLE table_name_14 (country VARCHAR, time VARCHAR)
SELECT country FROM table_name_14 WHERE time = "6:14.84"
What country had a Time of 6:14.84?
<s>[INST]What country had a Time of 6:14.84? Context: CREATE TABLE table_name_14 (country VARCHAR, time VARCHAR)[/INST]SELECT country FROM table_name_14 WHERE time = "6:14.84"</s>
CREATE TABLE table_name_41 (years_in_orlando VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_41 WHERE position = "center" AND school_club_team = "louisiana state"
Which Years in Orlando has a Position of center, and a School/Club Team of louisiana state?
<s>[INST]Which Years in Orlando has a Position of center, and a School/Club Team of louisiana state? Context: CREATE TABLE table_name_41 (years_in_orlando VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_in_orlando FROM table_name_41 WHERE position = "center" AND school_club_team = "louisiana sta...
CREATE TABLE table_name_30 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR)
SELECT gp_winner FROM table_name_30 WHERE place = "genk" AND race_winners = "ben adriaenssen / ben van den bogaart"
What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart?
<s>[INST]What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart? Context: CREATE TABLE table_name_30 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR)[/INST]SELECT gp_winner FROM table_name_30 WHERE place = "genk" AND race_winners = "ben adriaenssen / ben van den boga...
CREATE TABLE table_name_49 (home_away VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT home_away FROM table_name_49 WHERE opponent = "pride" AND result = "w 11-10"
Is it home or away when opponent is Pride with a W 11-10 result?
<s>[INST]Is it home or away when opponent is Pride with a W 11-10 result? Context: CREATE TABLE table_name_49 (home_away VARCHAR, opponent VARCHAR, result VARCHAR)[/INST]SELECT home_away FROM table_name_49 WHERE opponent = "pride" AND result = "w 11-10"</s>
CREATE TABLE table_name_83 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_83 WHERE venue = "pietermaritzburg"
When was a competition held at Pietermaritzburg?
<s>[INST]When was a competition held at Pietermaritzburg? Context: CREATE TABLE table_name_83 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE venue = "pietermaritzburg"</s>
CREATE TABLE table_name_4 (react INTEGER, athlete VARCHAR, rank VARCHAR)
SELECT AVG(react) FROM table_name_4 WHERE athlete = "muna lee" AND rank > 3
What is the average react of athlete muna lee, who is ranked greater than 3?
<s>[INST]What is the average react of athlete muna lee, who is ranked greater than 3? Context: CREATE TABLE table_name_4 (react INTEGER, athlete VARCHAR, rank VARCHAR)[/INST]SELECT AVG(react) FROM table_name_4 WHERE athlete = "muna lee" AND rank > 3</s>
CREATE TABLE table_name_92 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_name_92 WHERE incumbent = "sanford bishop"
Which district has an incumbent of Sanford Bishop?
<s>[INST]Which district has an incumbent of Sanford Bishop? Context: CREATE TABLE table_name_92 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_name_92 WHERE incumbent = "sanford bishop"</s>
CREATE TABLE table_name_54 (draw VARCHAR, televote_sms VARCHAR, place VARCHAR)
SELECT COUNT(draw) FROM table_name_54 WHERE televote_sms = "2.39%" AND place > 9
how many times was the televote/sms 2.39% and the place more than 9?
<s>[INST]how many times was the televote/sms 2.39% and the place more than 9? Context: CREATE TABLE table_name_54 (draw VARCHAR, televote_sms VARCHAR, place VARCHAR)[/INST]SELECT COUNT(draw) FROM table_name_54 WHERE televote_sms = "2.39%" AND place > 9</s>
CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105"
Name the location attendance for l 93-105
<s>[INST]Name the location attendance for l 93-105 Context: CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)[/INST]SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105"</s>
CREATE TABLE table_name_11 (wnba_game_average INTEGER, average VARCHAR, total_for_year VARCHAR)
SELECT MAX(wnba_game_average) FROM table_name_11 WHERE average = "9,290 (4th)" AND total_for_year < 157 OFFSET 934
What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year?
<s>[INST]What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year? Context: CREATE TABLE table_name_11 (wnba_game_average INTEGER, average VARCHAR, total_for_year VARCHAR)[/INST]SELECT MAX(wnba_game_average) FROM table_name_11 WHERE average = "9,290 (4th)" A...
CREATE TABLE table_name_55 (time VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT time FROM table_name_55 WHERE notes = "sc/d" AND rank > 5
What is the time for the rank after 5 with sc/d notes?
<s>[INST]What is the time for the rank after 5 with sc/d notes? Context: CREATE TABLE table_name_55 (time VARCHAR, notes VARCHAR, rank VARCHAR)[/INST]SELECT time FROM table_name_55 WHERE notes = "sc/d" AND rank > 5</s>
CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR)
SELECT country FROM table_name_53 WHERE date = "april 27"
What country was the race in on April 27?
<s>[INST]What country was the race in on April 27? Context: CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR)[/INST]SELECT country FROM table_name_53 WHERE date = "april 27"</s>
CREATE TABLE table_name_93 (life VARCHAR, name VARCHAR)
SELECT life FROM table_name_93 WHERE name = "stefanie rabatsch"
What is the lifespan of Stefanie Rabatsch?
<s>[INST]What is the lifespan of Stefanie Rabatsch? Context: CREATE TABLE table_name_93 (life VARCHAR, name VARCHAR)[/INST]SELECT life FROM table_name_93 WHERE name = "stefanie rabatsch"</s>
CREATE TABLE table_name_59 (record VARCHAR, round VARCHAR, event VARCHAR)
SELECT record FROM table_name_59 WHERE round = "3" AND event = "afc: brazil 1"
What was his record at the AFC: Brazil 1 event that went 3 rounds?
<s>[INST]What was his record at the AFC: Brazil 1 event that went 3 rounds? Context: CREATE TABLE table_name_59 (record VARCHAR, round VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_59 WHERE round = "3" AND event = "afc: brazil 1"</s>
CREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR)
SELECT date FROM table_name_46 WHERE against = "morocco" AND surface = "hard"
What's the date that Morocco has an Against along with a surface of hard?
<s>[INST]What's the date that Morocco has an Against along with a surface of hard? Context: CREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE against = "morocco" AND surface = "hard"</s>
CREATE TABLE table_name_7 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_7 WHERE event = "200 m butterfly"
Which Time has an Event of 200 m butterfly?
<s>[INST]Which Time has an Event of 200 m butterfly? Context: CREATE TABLE table_name_7 (time VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_7 WHERE event = "200 m butterfly"</s>
CREATE TABLE table_228973_9 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_series) FROM table_228973_9 WHERE directed_by = "Harvey S. Laidman"
What is the maximum number in the series for the episode directed by Harvey S. Laidman?
<s>[INST]What is the maximum number in the series for the episode directed by Harvey S. Laidman? Context: CREATE TABLE table_228973_9 (no_in_series INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_228973_9 WHERE directed_by = "Harvey S. Laidman"</s>
CREATE TABLE table_name_99 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_99 WHERE record = "7-1"
Which team has a record of 7-1?
<s>[INST]Which team has a record of 7-1? Context: CREATE TABLE table_name_99 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_99 WHERE record = "7-1"</s>
CREATE TABLE table_name_36 (height VARCHAR, current_club VARCHAR, player VARCHAR)
SELECT COUNT(height) FROM table_name_36 WHERE current_club = "alba berlin" AND player = "patrick femerling"
What is the height of Patrick Femerling, of the Alba Berlin club?
<s>[INST]What is the height of Patrick Femerling, of the Alba Berlin club? Context: CREATE TABLE table_name_36 (height VARCHAR, current_club VARCHAR, player VARCHAR)[/INST]SELECT COUNT(height) FROM table_name_36 WHERE current_club = "alba berlin" AND player = "patrick femerling"</s>
CREATE TABLE table_name_54 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_54 WHERE venue = "cairns convention centre"
What was the score of the game where the venue was cairns convention centre?
<s>[INST]What was the score of the game where the venue was cairns convention centre? Context: CREATE TABLE table_name_54 (score VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_54 WHERE venue = "cairns convention centre"</s>
CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR)
SELECT MAX(laps) FROM table_name_6 WHERE driver = "ayrton senna"
What is the most laps for Ayrton Senna?
<s>[INST]What is the most laps for Ayrton Senna? Context: CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_6 WHERE driver = "ayrton senna"</s>
CREATE TABLE table_name_32 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR)
SELECT MAX(number_of_bearers_2008) FROM table_name_32 WHERE surname = "hansen" AND rank < 1
What is the highest Number of Bearers 2008, when Surname is Hansen, and when Rank is less than 1?
<s>[INST]What is the highest Number of Bearers 2008, when Surname is Hansen, and when Rank is less than 1? Context: CREATE TABLE table_name_32 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR)[/INST]SELECT MAX(number_of_bearers_2008) FROM table_name_32 WHERE surname = "hansen" AND rank < 1</s>
CREATE TABLE table_name_26 (no_1 VARCHAR, no_2 VARCHAR)
SELECT no_1 FROM table_name_26 WHERE no_2 = "john"
What is the No. 1 of the person with a No. 2 of John?
<s>[INST]What is the No. 1 of the person with a No. 2 of John? Context: CREATE TABLE table_name_26 (no_1 VARCHAR, no_2 VARCHAR)[/INST]SELECT no_1 FROM table_name_26 WHERE no_2 = "john"</s>
CREATE TABLE table_23429629_4 (place_came VARCHAR, artist VARCHAR)
SELECT place_came FROM table_23429629_4 WHERE artist = "Erlend Bratland"
What was the final place came for the performance of Erlend Bratland?
<s>[INST]What was the final place came for the performance of Erlend Bratland? Context: CREATE TABLE table_23429629_4 (place_came VARCHAR, artist VARCHAR)[/INST]SELECT place_came FROM table_23429629_4 WHERE artist = "Erlend Bratland"</s>
CREATE TABLE table_name_13 (game_modes VARCHAR, pinyin VARCHAR)
SELECT game_modes FROM table_name_13 WHERE pinyin = "chāojí mǎlìōu shìjiè"
Which game modes have Pinyin of chāojí mǎlìōu shìjiè?
<s>[INST]Which game modes have Pinyin of chāojí mǎlìōu shìjiè? Context: CREATE TABLE table_name_13 (game_modes VARCHAR, pinyin VARCHAR)[/INST]SELECT game_modes FROM table_name_13 WHERE pinyin = "chāojí mǎlìōu shìjiè"</s>
CREATE TABLE instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR)
SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = 'Art'
Find the names of all instructors in the Art department who have taught some course and the course_id.
<s>[INST]Find the names of all instructors in the Art department who have taught some course and the course_id. Context: CREATE TABLE instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR)[/INST]SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = ...
CREATE TABLE table_name_99 (best VARCHAR, name VARCHAR)
SELECT best FROM table_name_99 WHERE name = "justin wilson"
Justin Wilson has what has his best time?
<s>[INST]Justin Wilson has what has his best time? Context: CREATE TABLE table_name_99 (best VARCHAR, name VARCHAR)[/INST]SELECT best FROM table_name_99 WHERE name = "justin wilson"</s>
CREATE TABLE table_name_20 (goals_against INTEGER, points_1 VARCHAR, goals_for VARCHAR)
SELECT AVG(goals_against) FROM table_name_20 WHERE points_1 = "50" AND goals_for > 56
What is the average goals against for teams with more than 56 goals for and exactly 50 points?
<s>[INST]What is the average goals against for teams with more than 56 goals for and exactly 50 points? Context: CREATE TABLE table_name_20 (goals_against INTEGER, points_1 VARCHAR, goals_for VARCHAR)[/INST]SELECT AVG(goals_against) FROM table_name_20 WHERE points_1 = "50" AND goals_for > 56</s>
CREATE TABLE table_14871601_1 (losses INTEGER, team VARCHAR)
SELECT MAX(losses) FROM table_14871601_1 WHERE team = "Tacuary"
What is the largest loss for the Tacuary team?
<s>[INST]What is the largest loss for the Tacuary team? Context: CREATE TABLE table_14871601_1 (losses INTEGER, team VARCHAR)[/INST]SELECT MAX(losses) FROM table_14871601_1 WHERE team = "Tacuary"</s>
CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR)
SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 2)"
What is the Cover Date of the Story Title Spacehikers (Part 2)?
<s>[INST]What is the Cover Date of the Story Title Spacehikers (Part 2)? Context: CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR)[/INST]SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 2)"</s>
CREATE TABLE table_name_94 (games VARCHAR, event VARCHAR)
SELECT games FROM table_name_94 WHERE event = "long jump"
Which games saw a record set in the long jump event?
<s>[INST]Which games saw a record set in the long jump event? Context: CREATE TABLE table_name_94 (games VARCHAR, event VARCHAR)[/INST]SELECT games FROM table_name_94 WHERE event = "long jump"</s>
CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR)
SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = "abc 8:00pm"
On what date was there a tv time of ABC 8:00pm and after week 9?
<s>[INST]On what date was there a tv time of ABC 8:00pm and after week 9? Context: CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = "abc 8:00pm"</s>
CREATE TABLE table_2866503_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__million_ FROM table_2866503_1 WHERE written_by = "Matthew Okumura"
How many millions of viewers are listed where the writer is Matthew Okumura?
<s>[INST]How many millions of viewers are listed where the writer is Matthew Okumura? Context: CREATE TABLE table_2866503_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_2866503_1 WHERE written_by = "Matthew Okumura"</s>
CREATE TABLE table_1404414_2 (code VARCHAR, area__km_2__ VARCHAR)
SELECT COUNT(code) FROM table_1404414_2 WHERE area__km_2__ = "1,205.4"
How many counties have an area of 1,205.4 km2?
<s>[INST]How many counties have an area of 1,205.4 km2? Context: CREATE TABLE table_1404414_2 (code VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT COUNT(code) FROM table_1404414_2 WHERE area__km_2__ = "1,205.4"</s>
CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)
SELECT driver FROM table_name_69 WHERE zan_2 = "5"
What driver has 5 as the zan 2?
<s>[INST]What driver has 5 as the zan 2? Context: CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)[/INST]SELECT driver FROM table_name_69 WHERE zan_2 = "5"</s>
CREATE TABLE table_name_11 (lane INTEGER, rank INTEGER)
SELECT SUM(lane) FROM table_name_11 WHERE rank > 22
What are the total lanes that have a rank larger than 22?
<s>[INST]What are the total lanes that have a rank larger than 22? Context: CREATE TABLE table_name_11 (lane INTEGER, rank INTEGER)[/INST]SELECT SUM(lane) FROM table_name_11 WHERE rank > 22</s>
CREATE TABLE table_1356555_2 (median_family_income VARCHAR, county VARCHAR)
SELECT median_family_income FROM table_1356555_2 WHERE county = "Riverside"
Name the median family income for riverside
<s>[INST]Name the median family income for riverside Context: CREATE TABLE table_1356555_2 (median_family_income VARCHAR, county VARCHAR)[/INST]SELECT median_family_income FROM table_1356555_2 WHERE county = "Riverside"</s>
CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR)
SELECT opponent FROM table_name_91 WHERE series = "bruins lead 2–1"
Which Opponent has a Series of bruins lead 2–1?
<s>[INST]Which Opponent has a Series of bruins lead 2–1? Context: CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR)[/INST]SELECT opponent FROM table_name_91 WHERE series = "bruins lead 2–1"</s>
CREATE TABLE table_name_63 (rank VARCHAR, wins VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_name_63 WHERE wins > 16 AND country = "australia"
What is the player from Australia's rank with more than 16 wins?
<s>[INST]What is the player from Australia's rank with more than 16 wins? Context: CREATE TABLE table_name_63 (rank VARCHAR, wins VARCHAR, country VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_63 WHERE wins > 16 AND country = "australia"</s>
CREATE TABLE table_name_30 (name VARCHAR, themed_area VARCHAR, manufacturer VARCHAR)
SELECT name FROM table_name_30 WHERE themed_area = "dreamworks experience" AND manufacturer = "ferrari"
What is the name of the dreamworks experience from Ferrari?
<s>[INST]What is the name of the dreamworks experience from Ferrari? Context: CREATE TABLE table_name_30 (name VARCHAR, themed_area VARCHAR, manufacturer VARCHAR)[/INST]SELECT name FROM table_name_30 WHERE themed_area = "dreamworks experience" AND manufacturer = "ferrari"</s>
CREATE TABLE table_11960407_4 (date VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_11960407_4 WHERE high_rebounds = "Chris Bosh (14)"
When did Chris Bosh (14) have the high rebounds?
<s>[INST]When did Chris Bosh (14) have the high rebounds? Context: CREATE TABLE table_11960407_4 (date VARCHAR, high_rebounds VARCHAR)[/INST]SELECT date FROM table_11960407_4 WHERE high_rebounds = "Chris Bosh (14)"</s>
CREATE TABLE table_25380472_2 (date VARCHAR, final_score VARCHAR)
SELECT date FROM table_25380472_2 WHERE final_score = "L 14–24"
On what dates was the final score of the game L 14–24?
<s>[INST]On what dates was the final score of the game L 14–24? Context: CREATE TABLE table_25380472_2 (date VARCHAR, final_score VARCHAR)[/INST]SELECT date FROM table_25380472_2 WHERE final_score = "L 14–24"</s>
CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER)
SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070
Which Week has an Attendance larger than 65,070?
<s>[INST]Which Week has an Attendance larger than 65,070? Context: CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER)[/INST]SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070</s>
CREATE TABLE table_name_58 (game_site VARCHAR, date VARCHAR)
SELECT game_site FROM table_name_58 WHERE date = "december 24, 2000"
What game site has december 24, 2000 as a date?
<s>[INST]What game site has december 24, 2000 as a date? Context: CREATE TABLE table_name_58 (game_site VARCHAR, date VARCHAR)[/INST]SELECT game_site FROM table_name_58 WHERE date = "december 24, 2000"</s>
CREATE TABLE table_20098479_1 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_20098479_1 WHERE no_in_series = 48
Who wrote episode number 48
<s>[INST]Who wrote episode number 48 Context: CREATE TABLE table_20098479_1 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_20098479_1 WHERE no_in_series = 48</s>
CREATE TABLE table_name_97 (capacity VARCHAR, stadium VARCHAR)
SELECT COUNT(capacity) FROM table_name_97 WHERE stadium = "alberto picco"
How many people attended games at alberto picco stadium?
<s>[INST]How many people attended games at alberto picco stadium? Context: CREATE TABLE table_name_97 (capacity VARCHAR, stadium VARCHAR)[/INST]SELECT COUNT(capacity) FROM table_name_97 WHERE stadium = "alberto picco"</s>
CREATE TABLE table_name_40 (round VARCHAR, opposing_team VARCHAR, against VARCHAR)
SELECT round FROM table_name_40 WHERE opposing_team = "gillingham" AND against < 3
What is the Round against Gillingham with an Against smaller than 3?
<s>[INST]What is the Round against Gillingham with an Against smaller than 3? Context: CREATE TABLE table_name_40 (round VARCHAR, opposing_team VARCHAR, against VARCHAR)[/INST]SELECT round FROM table_name_40 WHERE opposing_team = "gillingham" AND against < 3</s>
CREATE TABLE table_27721131_6 (score VARCHAR, high_points VARCHAR)
SELECT score FROM table_27721131_6 WHERE high_points = "Andray Blatche , Al Thornton (20)"
What was the score when andray blatche , al thornton (20) had the high points?
<s>[INST]What was the score when andray blatche , al thornton (20) had the high points? Context: CREATE TABLE table_27721131_6 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_27721131_6 WHERE high_points = "Andray Blatche , Al Thornton (20)"</s>
CREATE TABLE table_name_44 (time__behind VARCHAR, jockey VARCHAR)
SELECT time__behind FROM table_name_44 WHERE jockey = "jose lezcano"
What is the Time/ Behind, when Jockey is "Jose Lezcano"?
<s>[INST]What is the Time/ Behind, when Jockey is "Jose Lezcano"? Context: CREATE TABLE table_name_44 (time__behind VARCHAR, jockey VARCHAR)[/INST]SELECT time__behind FROM table_name_44 WHERE jockey = "jose lezcano"</s>
CREATE TABLE table_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)
SELECT archive FROM table_2102945_1 WHERE viewers__in_millions_ = "7.5"
When there are 7.5 million viewers what is the archive?
<s>[INST]When there are 7.5 million viewers what is the archive? Context: CREATE TABLE table_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT archive FROM table_2102945_1 WHERE viewers__in_millions_ = "7.5"</s>
CREATE TABLE table_17848578_1 (date VARCHAR, game_site VARCHAR)
SELECT date FROM table_17848578_1 WHERE game_site = "Arrowhead Stadium"
What is the date of the game at Arrowhead Stadium?
<s>[INST]What is the date of the game at Arrowhead Stadium? Context: CREATE TABLE table_17848578_1 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_17848578_1 WHERE game_site = "Arrowhead Stadium"</s>
CREATE TABLE Student (Sex VARCHAR, Fname VARCHAR, Lname VARCHAR)
SELECT Sex FROM Student WHERE Fname = "Linda" AND Lname = "Smith"
What is the gender of the student Linda Smith?
<s>[INST]What is the gender of the student Linda Smith? Context: CREATE TABLE Student (Sex VARCHAR, Fname VARCHAR, Lname VARCHAR)[/INST]SELECT Sex FROM Student WHERE Fname = "Linda" AND Lname = "Smith"</s>
CREATE TABLE table_name_51 (visitor VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_51 WHERE score = "82-75"
What was the visiting team for the game that ended 82-75?
<s>[INST]What was the visiting team for the game that ended 82-75? Context: CREATE TABLE table_name_51 (visitor VARCHAR, score VARCHAR)[/INST]SELECT visitor FROM table_name_51 WHERE score = "82-75"</s>
CREATE TABLE table_name_68 (year_s__won VARCHAR, finish VARCHAR)
SELECT year_s__won FROM table_name_68 WHERE finish = "t71"
What years did the player with a t71 finish win?
<s>[INST]What years did the player with a t71 finish win? Context: CREATE TABLE table_name_68 (year_s__won VARCHAR, finish VARCHAR)[/INST]SELECT year_s__won FROM table_name_68 WHERE finish = "t71"</s>
CREATE TABLE department_stores (dept_store_id VARCHAR, store_name VARCHAR); CREATE TABLE departments (dept_store_id VARCHAR, department_name VARCHAR)
SELECT T2.dept_store_id, T2.store_name FROM departments AS T1 JOIN department_stores AS T2 ON T1.dept_store_id = T2.dept_store_id WHERE T1.department_name = "marketing" INTERSECT SELECT T2.dept_store_id, T2.store_name FROM departments AS T1 JOIN department_stores AS T2 ON T1.dept_store_id = T2.dept_store_id WHERE T1.de...
What is the id and name of the department store that has both marketing and managing department?
<s>[INST]What is the id and name of the department store that has both marketing and managing department? Context: CREATE TABLE department_stores (dept_store_id VARCHAR, store_name VARCHAR); CREATE TABLE departments (dept_store_id VARCHAR, department_name VARCHAR)[/INST]SELECT T2.dept_store_id, T2.store_name FROM depar...
CREATE TABLE table_name_46 (league_cup_goals INTEGER, name VARCHAR, flt_goals VARCHAR)
SELECT MIN(league_cup_goals) FROM table_name_46 WHERE name = "tyrone thompson" AND flt_goals > 0
How many league cup goals for tyrone thompson with 0 FLT goals?
<s>[INST]How many league cup goals for tyrone thompson with 0 FLT goals? Context: CREATE TABLE table_name_46 (league_cup_goals INTEGER, name VARCHAR, flt_goals VARCHAR)[/INST]SELECT MIN(league_cup_goals) FROM table_name_46 WHERE name = "tyrone thompson" AND flt_goals > 0</s>
CREATE TABLE table_2511876_1 (playoffs VARCHAR, open_cup VARCHAR)
SELECT COUNT(playoffs) FROM table_2511876_1 WHERE open_cup = "3rd Round"
Name the number of playoffs for 3rd round
<s>[INST]Name the number of playoffs for 3rd round Context: CREATE TABLE table_2511876_1 (playoffs VARCHAR, open_cup VARCHAR)[/INST]SELECT COUNT(playoffs) FROM table_2511876_1 WHERE open_cup = "3rd Round"</s>
CREATE TABLE table_name_1 (winner VARCHAR, runner_up VARCHAR)
SELECT winner FROM table_name_1 WHERE runner_up = "alberto mancini"
Who was the winner in the event with a runner-up of Alberto Mancini?
<s>[INST]Who was the winner in the event with a runner-up of Alberto Mancini? Context: CREATE TABLE table_name_1 (winner VARCHAR, runner_up VARCHAR)[/INST]SELECT winner FROM table_name_1 WHERE runner_up = "alberto mancini"</s>
CREATE TABLE table_name_35 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_35 WHERE icao = "hesh"
What is IATA, when ICAO is "Hesh"?
<s>[INST]What is IATA, when ICAO is "Hesh"? Context: CREATE TABLE table_name_35 (iata VARCHAR, icao VARCHAR)[/INST]SELECT iata FROM table_name_35 WHERE icao = "hesh"</s>
CREATE TABLE table_name_34 (pick__number INTEGER, player VARCHAR, rd__number VARCHAR)
SELECT MAX(pick__number) FROM table_name_34 WHERE player = "corrie d'alessio" AND rd__number > 6
What's the largest pick number for corrie d'alessio with a rd number over 6?
<s>[INST]What's the largest pick number for corrie d'alessio with a rd number over 6? Context: CREATE TABLE table_name_34 (pick__number INTEGER, player VARCHAR, rd__number VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_34 WHERE player = "corrie d'alessio" AND rd__number > 6</s>
CREATE TABLE table_name_72 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR)
SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99"
What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?
<s>[INST]What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99? Context: CREATE TABLE table_name_72 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR)[/INST]SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99"<...
CREATE TABLE table_name_54 (against VARCHAR, played INTEGER)
SELECT COUNT(against) FROM table_name_54 WHERE played < 18
How many Against have Played smaller than 18?
<s>[INST]How many Against have Played smaller than 18? Context: CREATE TABLE table_name_54 (against VARCHAR, played INTEGER)[/INST]SELECT COUNT(against) FROM table_name_54 WHERE played < 18</s>
CREATE TABLE building (name VARCHAR, building_id VARCHAR); CREATE TABLE building (name VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded VARCHAR)
SELECT name FROM building EXCEPT SELECT T1.name FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded = 2003
Show the names of buildings except for those having an institution founded in 2003.
<s>[INST]Show the names of buildings except for those having an institution founded in 2003. Context: CREATE TABLE building (name VARCHAR, building_id VARCHAR); CREATE TABLE building (name VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded VARCHAR)[/INST]SELECT name FROM building EXCEPT SELECT T1.name FRO...
CREATE TABLE table_14655917_1 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_14655917_1 WHERE opponent = "Detroit Lions"
What day was the oppenent the detroit lions?
<s>[INST]What day was the oppenent the detroit lions? Context: CREATE TABLE table_14655917_1 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_14655917_1 WHERE opponent = "Detroit Lions"</s>
CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT player FROM table_name_30 WHERE round < 10 AND pick = 16
Who was pick 16 and before round 10?
<s>[INST]Who was pick 16 and before round 10? Context: CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_30 WHERE round < 10 AND pick = 16</s>
CREATE TABLE table_name_12 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_name_12 WHERE incumbent = "jo bonner"
What is the first elected for Jo Bonner?
<s>[INST]What is the first elected for Jo Bonner? Context: CREATE TABLE table_name_12 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_name_12 WHERE incumbent = "jo bonner"</s>
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_59 WHERE venue = "brunswick street oval"
Name the date for the venue of brunswick street oval
<s>[INST]Name the date for the venue of brunswick street oval Context: CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_59 WHERE venue = "brunswick street oval"</s>