context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)
SELECT ihsaa_football_class FROM table_name_14 WHERE ihsaa_class = "aa" AND enrollment = 475
Which IHSAA Football Class has an IHSAA Class of aa, and an Enrollment of 475?
<s>[INST]Which IHSAA Football Class has an IHSAA Class of aa, and an Enrollment of 475? Context: CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)[/INST]SELECT ihsaa_football_class FROM table_name_14 WHERE ihsaa_class = "aa" AND enrollment = 475</s>
CREATE TABLE table_name_77 (year VARCHAR, opponent VARCHAR, player VARCHAR)
SELECT year FROM table_name_77 WHERE opponent = "geelong" AND player = "john roberts"
What year for geelong player john roberts?
<s>[INST]What year for geelong player john roberts? Context: CREATE TABLE table_name_77 (year VARCHAR, opponent VARCHAR, player VARCHAR)[/INST]SELECT year FROM table_name_77 WHERE opponent = "geelong" AND player = "john roberts"</s>
CREATE TABLE table_name_83 (player VARCHAR, tries VARCHAR, points VARCHAR)
SELECT player FROM table_name_83 WHERE tries = "02 2" AND points = "008 8"
Name the player with tries of 02 2 and points of 008 8
<s>[INST]Name the player with tries of 02 2 and points of 008 8 Context: CREATE TABLE table_name_83 (player VARCHAR, tries VARCHAR, points VARCHAR)[/INST]SELECT player FROM table_name_83 WHERE tries = "02 2" AND points = "008 8"</s>
CREATE TABLE table_name_86 (team VARCHAR, player VARCHAR)
SELECT team FROM table_name_86 WHERE player = "david cooper"
What is the Team with a Player that is david cooper?
<s>[INST]What is the Team with a Player that is david cooper? Context: CREATE TABLE table_name_86 (team VARCHAR, player VARCHAR)[/INST]SELECT team FROM table_name_86 WHERE player = "david cooper"</s>
CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (director VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)
SELECT DISTINCT T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Sarah Martinez'
Find the names of all directors whose movies are rated by Sarah Martinez.
<s>[INST]Find the names of all directors whose movies are rated by Sarah Martinez. Context: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (director VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)[/INST]SELECT DISTINCT T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID...
CREATE TABLE table_name_37 (total INTEGER, nation VARCHAR)
SELECT MAX(total) FROM table_name_37 WHERE nation = "poland"
What was the most total medals awarded to Poland?
<s>[INST]What was the most total medals awarded to Poland? Context: CREATE TABLE table_name_37 (total INTEGER, nation VARCHAR)[/INST]SELECT MAX(total) FROM table_name_37 WHERE nation = "poland"</s>
CREATE TABLE table_12834315_5 (muzzle_device VARCHAR, colt_model_no VARCHAR)
SELECT muzzle_device FROM table_12834315_5 WHERE colt_model_no = "LE1020"
What is the muzzle device on the colt model le1020?
<s>[INST]What is the muzzle device on the colt model le1020? Context: CREATE TABLE table_12834315_5 (muzzle_device VARCHAR, colt_model_no VARCHAR)[/INST]SELECT muzzle_device FROM table_12834315_5 WHERE colt_model_no = "LE1020"</s>
CREATE TABLE table_name_99 (field VARCHAR, home_away VARCHAR, opponent VARCHAR)
SELECT field FROM table_name_99 WHERE home_away = "away" AND opponent = "bayhawks"
What Field was played at in an away game against the bayhawks?
<s>[INST]What Field was played at in an away game against the bayhawks? Context: CREATE TABLE table_name_99 (field VARCHAR, home_away VARCHAR, opponent VARCHAR)[/INST]SELECT field FROM table_name_99 WHERE home_away = "away" AND opponent = "bayhawks"</s>
CREATE TABLE table_name_98 (track INTEGER, production_credits VARCHAR)
SELECT MIN(track) FROM table_name_98 WHERE production_credits = "margret arranged by e. mergency"
What is the first track where the production credit is margret arranged by e. mergency?
<s>[INST]What is the first track where the production credit is margret arranged by e. mergency? Context: CREATE TABLE table_name_98 (track INTEGER, production_credits VARCHAR)[/INST]SELECT MIN(track) FROM table_name_98 WHERE production_credits = "margret arranged by e. mergency"</s>
CREATE TABLE table_14638077_2 (pole_position VARCHAR, date VARCHAR)
SELECT pole_position FROM table_14638077_2 WHERE date = "August 10"
who is the the pole position with date being august 10
<s>[INST]who is the the pole position with date being august 10 Context: CREATE TABLE table_14638077_2 (pole_position VARCHAR, date VARCHAR)[/INST]SELECT pole_position FROM table_14638077_2 WHERE date = "August 10"</s>
CREATE TABLE table_name_53 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_name_53 WHERE player = "chris evraire"
Name the CFL Team which has a Player of chris evraire?
<s>[INST]Name the CFL Team which has a Player of chris evraire? Context: CREATE TABLE table_name_53 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_name_53 WHERE player = "chris evraire"</s>
CREATE TABLE table_16279520_1 (series VARCHAR, release VARCHAR)
SELECT series FROM table_16279520_1 WHERE release = "3.5"
Under what series was the 3.5 release?
<s>[INST]Under what series was the 3.5 release? Context: CREATE TABLE table_16279520_1 (series VARCHAR, release VARCHAR)[/INST]SELECT series FROM table_16279520_1 WHERE release = "3.5"</s>
CREATE TABLE table_14754471_1 (free_reduced_lunch___percentage_ VARCHAR, hispanic___percentage_ VARCHAR)
SELECT free_reduced_lunch___percentage_ FROM table_14754471_1 WHERE hispanic___percentage_ = "3.7"
What percentage of free/reduced lunch are there when the hispanic percentage is 3.7?
<s>[INST]What percentage of free/reduced lunch are there when the hispanic percentage is 3.7? Context: CREATE TABLE table_14754471_1 (free_reduced_lunch___percentage_ VARCHAR, hispanic___percentage_ VARCHAR)[/INST]SELECT free_reduced_lunch___percentage_ FROM table_14754471_1 WHERE hispanic___percentage_ = "3.7"</s>
CREATE TABLE table_name_48 (previous_club VARCHAR, date_of_birth VARCHAR)
SELECT previous_club FROM table_name_48 WHERE date_of_birth = "october 22, 1993"
What previous club was born on October 22, 1993?
<s>[INST]What previous club was born on October 22, 1993? Context: CREATE TABLE table_name_48 (previous_club VARCHAR, date_of_birth VARCHAR)[/INST]SELECT previous_club FROM table_name_48 WHERE date_of_birth = "october 22, 1993"</s>
CREATE TABLE table_name_65 (home_captain VARCHAR, venue VARCHAR)
SELECT home_captain FROM table_name_65 WHERE venue = "sabina park"
Who was the Home Captain at Sabina Park?
<s>[INST]Who was the Home Captain at Sabina Park? Context: CREATE TABLE table_name_65 (home_captain VARCHAR, venue VARCHAR)[/INST]SELECT home_captain FROM table_name_65 WHERE venue = "sabina park"</s>
CREATE TABLE table_name_83 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_83 WHERE event = "ft 6 - full throttle 6"
What is Res., when Event is "FT 6 - Full Throttle 6"?
<s>[INST]What is Res., when Event is "FT 6 - Full Throttle 6"? Context: CREATE TABLE table_name_83 (res VARCHAR, event VARCHAR)[/INST]SELECT res FROM table_name_83 WHERE event = "ft 6 - full throttle 6"</s>
CREATE TABLE table_name_77 (head_s__of_government VARCHAR, name VARCHAR)
SELECT head_s__of_government FROM table_name_77 WHERE name = "don stephen senanayake"
What is the head of government for Don Stephen Senanayake?
<s>[INST]What is the head of government for Don Stephen Senanayake? Context: CREATE TABLE table_name_77 (head_s__of_government VARCHAR, name VARCHAR)[/INST]SELECT head_s__of_government FROM table_name_77 WHERE name = "don stephen senanayake"</s>
CREATE TABLE table_name_23 (worst_score INTEGER, best_dancer VARCHAR, best_score VARCHAR)
SELECT SUM(worst_score) FROM table_name_23 WHERE best_dancer = "apolo anton ohno" AND best_score > 30
What is the worst score for the dance that has Apolo Anton Ohno as the best dancer, and where his best score is larger than 30?
<s>[INST]What is the worst score for the dance that has Apolo Anton Ohno as the best dancer, and where his best score is larger than 30? Context: CREATE TABLE table_name_23 (worst_score INTEGER, best_dancer VARCHAR, best_score VARCHAR)[/INST]SELECT SUM(worst_score) FROM table_name_23 WHERE best_dancer = "apolo anton oh...
CREATE TABLE table_name_26 (mountain_range VARCHAR, province VARCHAR, location VARCHAR)
SELECT mountain_range FROM table_name_26 WHERE province = "nunavut" AND location = "73.2294°n 78.6233°w"
Name the mountain range for nunavut with location of 73.2294°n 78.6233°w
<s>[INST]Name the mountain range for nunavut with location of 73.2294°n 78.6233°w Context: CREATE TABLE table_name_26 (mountain_range VARCHAR, province VARCHAR, location VARCHAR)[/INST]SELECT mountain_range FROM table_name_26 WHERE province = "nunavut" AND location = "73.2294°n 78.6233°w"</s>
CREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR)
SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319
What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?
<s>[INST]What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319? Context: CREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR)[/INST]SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319</s>
CREATE TABLE table_name_73 (school_year VARCHAR, class_aAA VARCHAR, dalhart VARCHAR, class_aAAAA VARCHAR, edinburg VARCHAR)
SELECT school_year FROM table_name_73 WHERE class_aAA = dalhart AND class_aAAAA = edinburg
Which school year was the Class AAA dalhart and the class AAAAA edinburg?
<s>[INST]Which school year was the Class AAA dalhart and the class AAAAA edinburg? Context: CREATE TABLE table_name_73 (school_year VARCHAR, class_aAA VARCHAR, dalhart VARCHAR, class_aAAAA VARCHAR, edinburg VARCHAR)[/INST]SELECT school_year FROM table_name_73 WHERE class_aAA = dalhart AND class_aAAAA = edinburg</s>
CREATE TABLE table_25696729_8 (season VARCHAR)
SELECT 10 AS _rebounds FROM table_25696729_8 WHERE season = "1991–92"
List all rebounds equal to 10 for Dennis Rodman 's 1991–92 season
<s>[INST]List all rebounds equal to 10 for Dennis Rodman 's 1991–92 season Context: CREATE TABLE table_25696729_8 (season VARCHAR)[/INST]SELECT 10 AS _rebounds FROM table_25696729_8 WHERE season = "1991–92"</s>
CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_19 WHERE date = "november 12, 1972"
Who was the opponent on November 12, 1972?
<s>[INST]Who was the opponent on November 12, 1972? Context: CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_19 WHERE date = "november 12, 1972"</s>
CREATE TABLE table_name_29 (status VARCHAR, park VARCHAR)
SELECT status FROM table_name_29 WHERE park = "six flags new england"
Name the status for six flags new england
<s>[INST]Name the status for six flags new england Context: CREATE TABLE table_name_29 (status VARCHAR, park VARCHAR)[/INST]SELECT status FROM table_name_29 WHERE park = "six flags new england"</s>
CREATE TABLE table_name_1 (speed VARCHAR, rider VARCHAR)
SELECT speed FROM table_name_1 WHERE rider = "brian mateer"
What is Brian Mateer's Speed?
<s>[INST]What is Brian Mateer's Speed? Context: CREATE TABLE table_name_1 (speed VARCHAR, rider VARCHAR)[/INST]SELECT speed FROM table_name_1 WHERE rider = "brian mateer"</s>
CREATE TABLE table_name_70 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_70 WHERE competition = "friendly"
On what date was the Competition of Friendly held?
<s>[INST]On what date was the Competition of Friendly held? Context: CREATE TABLE table_name_70 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE competition = "friendly"</s>
CREATE TABLE table_name_89 (label VARCHAR, catalog VARCHAR, format VARCHAR, country VARCHAR)
SELECT label FROM table_name_89 WHERE format = "cd" AND country = "japan" AND catalog = "vjcp-68403"
Which Label has a Format of cd, a Country of Japan and a Catalog of vjcp-68403?
<s>[INST]Which Label has a Format of cd, a Country of Japan and a Catalog of vjcp-68403? Context: CREATE TABLE table_name_89 (label VARCHAR, catalog VARCHAR, format VARCHAR, country VARCHAR)[/INST]SELECT label FROM table_name_89 WHERE format = "cd" AND country = "japan" AND catalog = "vjcp-68403"</s>
CREATE TABLE table_name_58 (ends INTEGER, name VARCHAR, since VARCHAR)
SELECT SUM(ends) FROM table_name_58 WHERE name = "abidal" AND since > 2007
What is the sum of Ends with a Name of abidal, and has a Since larger than 2007?
<s>[INST]What is the sum of Ends with a Name of abidal, and has a Since larger than 2007? Context: CREATE TABLE table_name_58 (ends INTEGER, name VARCHAR, since VARCHAR)[/INST]SELECT SUM(ends) FROM table_name_58 WHERE name = "abidal" AND since > 2007</s>
CREATE TABLE matches (winner_name VARCHAR, YEAR VARCHAR)
SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016
List the names of all winners who played in both 2013 and 2016.
<s>[INST]List the names of all winners who played in both 2013 and 2016. Context: CREATE TABLE matches (winner_name VARCHAR, YEAR VARCHAR)[/INST]SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016</s>
CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
SELECT MAX(silver) FROM table_name_7 WHERE total = 4 AND nation = "poland" AND gold < 1
I want to know the highest silver for total of 4 for poland and gold less than 1
<s>[INST]I want to know the highest silver for total of 4 for poland and gold less than 1 Context: CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_7 WHERE total = 4 AND nation = "poland" AND gold < 1</s>
CREATE TABLE table_27539535_4 (points INTEGER)
SELECT MIN(points) FROM table_27539535_4
What is the least amount of points?
<s>[INST]What is the least amount of points? Context: CREATE TABLE table_27539535_4 (points INTEGER)[/INST]SELECT MIN(points) FROM table_27539535_4</s>
CREATE TABLE table_name_22 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_22 WHERE result = "draw"
Which venues resulted in a draw?
<s>[INST]Which venues resulted in a draw? Context: CREATE TABLE table_name_22 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_22 WHERE result = "draw"</s>
CREATE TABLE table_name_83 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_83 WHERE home_team = "richmond"
What was the score when Richmond payed as the home team?
<s>[INST]What was the score when Richmond payed as the home team? Context: CREATE TABLE table_name_83 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_83 WHERE home_team = "richmond"</s>
CREATE TABLE table_name_30 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_30 WHERE player = "fred funk"
What place is Fred Funk in?
<s>[INST]What place is Fred Funk in? Context: CREATE TABLE table_name_30 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_30 WHERE player = "fred funk"</s>
CREATE TABLE gas_station (LOCATION VARCHAR)
SELECT LOCATION, COUNT(*) FROM gas_station GROUP BY LOCATION ORDER BY COUNT(*)
Show all locations and the number of gas stations in each location ordered by the count.
<s>[INST]Show all locations and the number of gas stations in each location ordered by the count. Context: CREATE TABLE gas_station (LOCATION VARCHAR)[/INST]SELECT LOCATION, COUNT(*) FROM gas_station GROUP BY LOCATION ORDER BY COUNT(*)</s>
CREATE TABLE table_name_25 (player VARCHAR, year VARCHAR)
SELECT player FROM table_name_25 WHERE year = 1992
Who played in 1992?
<s>[INST]Who played in 1992? Context: CREATE TABLE table_name_25 (player VARCHAR, year VARCHAR)[/INST]SELECT player FROM table_name_25 WHERE year = 1992</s>
CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR)
SELECT bronze FROM table_name_67 WHERE silver = "iceland"
When Iceland gets the Silver, who gets the Bronze?
<s>[INST]When Iceland gets the Silver, who gets the Bronze? Context: CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR)[/INST]SELECT bronze FROM table_name_67 WHERE silver = "iceland"</s>
CREATE TABLE club (clublocation VARCHAR, clubname VARCHAR)
SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises"
Where is the club "Hopkins Student Enterprises" located?
<s>[INST]Where is the club "Hopkins Student Enterprises" located? Context: CREATE TABLE club (clublocation VARCHAR, clubname VARCHAR)[/INST]SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises"</s>
CREATE TABLE table_11545282_7 (no VARCHAR, years_for_jazz VARCHAR)
SELECT COUNT(no) FROM table_11545282_7 WHERE years_for_jazz = "2010"
How many players only played for the Jazz in only 2010?
<s>[INST]How many players only played for the Jazz in only 2010? Context: CREATE TABLE table_11545282_7 (no VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT COUNT(no) FROM table_11545282_7 WHERE years_for_jazz = "2010"</s>
CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_13762472_4 WHERE high_assists = "Dwyane Wade (9)"
who had all the high rebounds when high assists is by dwyane wade (9)
<s>[INST]who had all the high rebounds when high assists is by dwyane wade (9) Context: CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, high_assists VARCHAR)[/INST]SELECT high_rebounds FROM table_13762472_4 WHERE high_assists = "Dwyane Wade (9)"</s>
CREATE TABLE table_name_6 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_6 WHERE home = "chicago"
What is the record of the team from chicago?
<s>[INST]What is the record of the team from chicago? Context: CREATE TABLE table_name_6 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_6 WHERE home = "chicago"</s>
CREATE TABLE table_name_38 (opponent VARCHAR, location_attendance VARCHAR)
SELECT opponent FROM table_name_38 WHERE location_attendance = "richmond academy"
What opponent is at Richmond Academy?
<s>[INST]What opponent is at Richmond Academy? Context: CREATE TABLE table_name_38 (opponent VARCHAR, location_attendance VARCHAR)[/INST]SELECT opponent FROM table_name_38 WHERE location_attendance = "richmond academy"</s>
CREATE TABLE table_13836704_7 (transit_passengers INTEGER, international_passengers VARCHAR)
SELECT MAX(transit_passengers) FROM table_13836704_7 WHERE international_passengers = 4870184
What is the maximum number of trnsit passeners when the total number of international passengers is 4870184?
<s>[INST]What is the maximum number of trnsit passeners when the total number of international passengers is 4870184? Context: CREATE TABLE table_13836704_7 (transit_passengers INTEGER, international_passengers VARCHAR)[/INST]SELECT MAX(transit_passengers) FROM table_13836704_7 WHERE international_passengers = 4870184<...
CREATE TABLE table_1566852_7 (cover_model VARCHAR, centerfold_model VARCHAR)
SELECT COUNT(cover_model) FROM table_1566852_7 WHERE centerfold_model = "Stephanie Larimore"
HOW MANY MODELS WERE ON THE COVER OF THE ISSUE WHERE THE CENTERFOLD WAS STEPHANIE LARIMORE?
<s>[INST]HOW MANY MODELS WERE ON THE COVER OF THE ISSUE WHERE THE CENTERFOLD WAS STEPHANIE LARIMORE? Context: CREATE TABLE table_1566852_7 (cover_model VARCHAR, centerfold_model VARCHAR)[/INST]SELECT COUNT(cover_model) FROM table_1566852_7 WHERE centerfold_model = "Stephanie Larimore"</s>
CREATE TABLE table_name_65 (year_s__won VARCHAR, to_par VARCHAR)
SELECT year_s__won FROM table_name_65 WHERE to_par = "+8"
Which Year(s) won has a To par of +8?
<s>[INST]Which Year(s) won has a To par of +8? Context: CREATE TABLE table_name_65 (year_s__won VARCHAR, to_par VARCHAR)[/INST]SELECT year_s__won FROM table_name_65 WHERE to_par = "+8"</s>
CREATE TABLE table_name_37 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_37 WHERE home = "green bay packers"
Name the score for home of green bay packers
<s>[INST]Name the score for home of green bay packers Context: CREATE TABLE table_name_37 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_37 WHERE home = "green bay packers"</s>
CREATE TABLE table_1140119_5 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_1140119_5 WHERE circuit = "Silverstone"
What date was the Silverstone circuit driven?
<s>[INST]What date was the Silverstone circuit driven? Context: CREATE TABLE table_1140119_5 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_1140119_5 WHERE circuit = "Silverstone"</s>
CREATE TABLE table_name_62 (laps INTEGER, time_retired VARCHAR)
SELECT MIN(laps) FROM table_name_62 WHERE time_retired = "+38.426"
What is the lowest number of laps with a time/retired of +38.426?
<s>[INST]What is the lowest number of laps with a time/retired of +38.426? Context: CREATE TABLE table_name_62 (laps INTEGER, time_retired VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_62 WHERE time_retired = "+38.426"</s>
CREATE TABLE table_name_79 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_79 WHERE result = "w 23–6"
Which week has a Result of w 23–6?
<s>[INST]Which week has a Result of w 23–6? Context: CREATE TABLE table_name_79 (week VARCHAR, result VARCHAR)[/INST]SELECT week FROM table_name_79 WHERE result = "w 23–6"</s>
CREATE TABLE table_name_23 (nicd VARCHAR, type VARCHAR)
SELECT nicd FROM table_name_23 WHERE type = "capacity under 500ma constant drain"
What is NiCd, when Type is "Capacity under 500mA constant Drain"?
<s>[INST]What is NiCd, when Type is "Capacity under 500mA constant Drain"? Context: CREATE TABLE table_name_23 (nicd VARCHAR, type VARCHAR)[/INST]SELECT nicd FROM table_name_23 WHERE type = "capacity under 500ma constant drain"</s>
CREATE TABLE table_name_95 (hdtv VARCHAR, television_service VARCHAR)
SELECT hdtv FROM table_name_95 WHERE television_service = "cartello promozionale sky hd"
What is HDTV, when Television service is cartello promozionale sky hd?
<s>[INST]What is HDTV, when Television service is cartello promozionale sky hd? Context: CREATE TABLE table_name_95 (hdtv VARCHAR, television_service VARCHAR)[/INST]SELECT hdtv FROM table_name_95 WHERE television_service = "cartello promozionale sky hd"</s>
CREATE TABLE table_name_4 (record VARCHAR, method VARCHAR)
SELECT record FROM table_name_4 WHERE method = "technical submission (rear naked choke)"
What is Record, when Method is "Technical Submission (Rear Naked Choke)"?
<s>[INST]What is Record, when Method is "Technical Submission (Rear Naked Choke)"? Context: CREATE TABLE table_name_4 (record VARCHAR, method VARCHAR)[/INST]SELECT record FROM table_name_4 WHERE method = "technical submission (rear naked choke)"</s>
CREATE TABLE table_name_88 (team VARCHAR, round VARCHAR, pick VARCHAR)
SELECT team FROM table_name_88 WHERE round = "2" AND pick = "13"
Which team has Pick 13 in Round 2?
<s>[INST]Which team has Pick 13 in Round 2? Context: CREATE TABLE table_name_88 (team VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT team FROM table_name_88 WHERE round = "2" AND pick = "13"</s>
CREATE TABLE table_22379931_2 (winning_driver VARCHAR, winning_team VARCHAR)
SELECT winning_driver FROM table_22379931_2 WHERE winning_team = "Lawson Team Impul"
Who was the driver for the winning team Lawson Team Impul?
<s>[INST]Who was the driver for the winning team Lawson Team Impul? Context: CREATE TABLE table_22379931_2 (winning_driver VARCHAR, winning_team VARCHAR)[/INST]SELECT winning_driver FROM table_22379931_2 WHERE winning_team = "Lawson Team Impul"</s>
CREATE TABLE table_name_39 (score INTEGER, place VARCHAR, player VARCHAR)
SELECT AVG(score) FROM table_name_39 WHERE place = "t8" AND player = "lee trevino"
What is the average score of player lee trevino, who has a t8 place?
<s>[INST]What is the average score of player lee trevino, who has a t8 place? Context: CREATE TABLE table_name_39 (score INTEGER, place VARCHAR, player VARCHAR)[/INST]SELECT AVG(score) FROM table_name_39 WHERE place = "t8" AND player = "lee trevino"</s>
CREATE TABLE table_name_12 (stories VARCHAR, rank VARCHAR)
SELECT COUNT(stories) FROM table_name_12 WHERE rank = 10
What is the total stories that rank number 10?
<s>[INST]What is the total stories that rank number 10? Context: CREATE TABLE table_name_12 (stories VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(stories) FROM table_name_12 WHERE rank = 10</s>
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, affiliation VARCHAR)
SELECT team_nickname FROM table_28211213_2 WHERE affiliation = "Private/ Nonsectarian"
When private/ nonsectarian is the the affiliation what is the team nickname?
<s>[INST]When private/ nonsectarian is the the affiliation what is the team nickname? Context: CREATE TABLE table_28211213_2 (team_nickname VARCHAR, affiliation VARCHAR)[/INST]SELECT team_nickname FROM table_28211213_2 WHERE affiliation = "Private/ Nonsectarian"</s>
CREATE TABLE table_name_89 (points INTEGER, opponent VARCHAR, game VARCHAR)
SELECT AVG(points) FROM table_name_89 WHERE opponent = "@ los angeles kings" AND game > 4
How many Points have an Opponent of @ los angeles kings and a Game larger than 4?
<s>[INST]How many Points have an Opponent of @ los angeles kings and a Game larger than 4? Context: CREATE TABLE table_name_89 (points INTEGER, opponent VARCHAR, game VARCHAR)[/INST]SELECT AVG(points) FROM table_name_89 WHERE opponent = "@ los angeles kings" AND game > 4</s>
CREATE TABLE table_name_92 (against INTEGER, position INTEGER)
SELECT AVG(against) FROM table_name_92 WHERE position < 1
What is the mean number of against when the position is less than 1?
<s>[INST]What is the mean number of against when the position is less than 1? Context: CREATE TABLE table_name_92 (against INTEGER, position INTEGER)[/INST]SELECT AVG(against) FROM table_name_92 WHERE position < 1</s>
CREATE TABLE table_23399481_4 (title VARCHAR, us_viewers__in_millions_ VARCHAR)
SELECT title FROM table_23399481_4 WHERE us_viewers__in_millions_ = "1.22"
What is the name of the episodes which had 1.22 million U.S. viewers?
<s>[INST]What is the name of the episodes which had 1.22 million U.S. viewers? Context: CREATE TABLE table_23399481_4 (title VARCHAR, us_viewers__in_millions_ VARCHAR)[/INST]SELECT title FROM table_23399481_4 WHERE us_viewers__in_millions_ = "1.22"</s>
CREATE TABLE table_name_12 (party VARCHAR, years_in_senate VARCHAR, years_in_assembly VARCHAR)
SELECT party FROM table_name_12 WHERE years_in_senate = "—" AND years_in_assembly = "2012–present"
Which Party has Years in Senate of —, and Years in Assembly of 2012–present?
<s>[INST]Which Party has Years in Senate of —, and Years in Assembly of 2012–present? Context: CREATE TABLE table_name_12 (party VARCHAR, years_in_senate VARCHAR, years_in_assembly VARCHAR)[/INST]SELECT party FROM table_name_12 WHERE years_in_senate = "—" AND years_in_assembly = "2012–present"</s>
CREATE TABLE table_name_52 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_name_52 WHERE tournament = "rr donnelley lpga founders cup"
Who was the runner-up in the RR Donnelley LPGA Founders Cup?
<s>[INST]Who was the runner-up in the RR Donnelley LPGA Founders Cup? Context: CREATE TABLE table_name_52 (runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_52 WHERE tournament = "rr donnelley lpga founders cup"</s>
CREATE TABLE table_name_91 (completed VARCHAR, pennant_number VARCHAR)
SELECT completed FROM table_name_91 WHERE pennant_number = "h63"
When is the completed date of the destroyer with a pennant number h63?
<s>[INST]When is the completed date of the destroyer with a pennant number h63? Context: CREATE TABLE table_name_91 (completed VARCHAR, pennant_number VARCHAR)[/INST]SELECT completed FROM table_name_91 WHERE pennant_number = "h63"</s>
CREATE TABLE table_name_81 (year VARCHAR, pigs INTEGER)
SELECT COUNT(year) FROM table_name_81 WHERE pigs < 2089.2
How many years had fewer than 2089.2 pigs?
<s>[INST]How many years had fewer than 2089.2 pigs? Context: CREATE TABLE table_name_81 (year VARCHAR, pigs INTEGER)[/INST]SELECT COUNT(year) FROM table_name_81 WHERE pigs < 2089.2</s>
CREATE TABLE table_name_69 (gender VARCHAR, decile VARCHAR, roll VARCHAR)
SELECT gender FROM table_name_69 WHERE decile = 6 AND roll < 179
What gender is allowed to attend the school that has a decile of 6 and a roll that is less than 179?
<s>[INST]What gender is allowed to attend the school that has a decile of 6 and a roll that is less than 179? Context: CREATE TABLE table_name_69 (gender VARCHAR, decile VARCHAR, roll VARCHAR)[/INST]SELECT gender FROM table_name_69 WHERE decile = 6 AND roll < 179</s>
CREATE TABLE table_name_12 (internet VARCHAR, position INTEGER)
SELECT internet FROM table_name_12 WHERE position > 13
What is the internet when the position is more than 13?
<s>[INST]What is the internet when the position is more than 13? Context: CREATE TABLE table_name_12 (internet VARCHAR, position INTEGER)[/INST]SELECT internet FROM table_name_12 WHERE position > 13</s>
CREATE TABLE table_name_33 (completed VARCHAR, type VARCHAR, list_entry_number VARCHAR)
SELECT completed FROM table_name_33 WHERE type = "church" AND list_entry_number = 1068071
What is the completed date of the church with list entry number 1068071?
<s>[INST]What is the completed date of the church with list entry number 1068071? Context: CREATE TABLE table_name_33 (completed VARCHAR, type VARCHAR, list_entry_number VARCHAR)[/INST]SELECT completed FROM table_name_33 WHERE type = "church" AND list_entry_number = 1068071</s>
CREATE TABLE table_name_12 (round VARCHAR, club VARCHAR)
SELECT round FROM table_name_12 WHERE club = "spartak moscow"
What round did the spartak moscow club play?
<s>[INST]What round did the spartak moscow club play? Context: CREATE TABLE table_name_12 (round VARCHAR, club VARCHAR)[/INST]SELECT round FROM table_name_12 WHERE club = "spartak moscow"</s>
CREATE TABLE table_name_18 (no_s_ VARCHAR, height_in_ft VARCHAR)
SELECT no_s_ FROM table_name_18 WHERE height_in_ft = "6-7"
Tell me the number for height in ft of 6-7
<s>[INST]Tell me the number for height in ft of 6-7 Context: CREATE TABLE table_name_18 (no_s_ VARCHAR, height_in_ft VARCHAR)[/INST]SELECT no_s_ FROM table_name_18 WHERE height_in_ft = "6-7"</s>
CREATE TABLE table_19283806_4 (cook_pvi VARCHAR)
SELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = "D+16"
How many election results in 2012 had a Cook PVI of D+16?
<s>[INST]How many election results in 2012 had a Cook PVI of D+16? Context: CREATE TABLE table_19283806_4 (cook_pvi VARCHAR)[/INST]SELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = "D+16"</s>
CREATE TABLE table_25594271_2 (loa__metres_ VARCHAR, skipper VARCHAR)
SELECT loa__metres_ FROM table_25594271_2 WHERE skipper = "Lou Abrahams"
How many LOA metres were there when the skipper is lou abrahams?
<s>[INST]How many LOA metres were there when the skipper is lou abrahams? Context: CREATE TABLE table_25594271_2 (loa__metres_ VARCHAR, skipper VARCHAR)[/INST]SELECT loa__metres_ FROM table_25594271_2 WHERE skipper = "Lou Abrahams"</s>
CREATE TABLE table_2554479_2 (series VARCHAR, season VARCHAR)
SELECT series AS result FROM table_2554479_2 WHERE season = "1998"
Name the series result for season being 1998
<s>[INST]Name the series result for season being 1998 Context: CREATE TABLE table_2554479_2 (series VARCHAR, season VARCHAR)[/INST]SELECT series AS result FROM table_2554479_2 WHERE season = "1998"</s>
CREATE TABLE table_29598261_1 (height VARCHAR, last_school_college VARCHAR)
SELECT height FROM table_29598261_1 WHERE last_school_college = "Columbia River HS"
what is the height of columbia river hs?
<s>[INST]what is the height of columbia river hs? Context: CREATE TABLE table_29598261_1 (height VARCHAR, last_school_college VARCHAR)[/INST]SELECT height FROM table_29598261_1 WHERE last_school_college = "Columbia River HS"</s>
CREATE TABLE table_28654454_5 (finale_weight VARCHAR, starting_bmi VARCHAR)
SELECT COUNT(finale_weight) FROM table_28654454_5 WHERE starting_bmi = "33.1"
How many contestants had a starting bmi of 33.1?
<s>[INST]How many contestants had a starting bmi of 33.1? Context: CREATE TABLE table_28654454_5 (finale_weight VARCHAR, starting_bmi VARCHAR)[/INST]SELECT COUNT(finale_weight) FROM table_28654454_5 WHERE starting_bmi = "33.1"</s>
CREATE TABLE table_name_55 (rate VARCHAR, year VARCHAR)
SELECT rate FROM table_name_55 WHERE year = "17 years"
What is the rate of 17 years?
<s>[INST]What is the rate of 17 years? Context: CREATE TABLE table_name_55 (rate VARCHAR, year VARCHAR)[/INST]SELECT rate FROM table_name_55 WHERE year = "17 years"</s>
CREATE TABLE table_name_46 (lost INTEGER, team VARCHAR, points VARCHAR)
SELECT MIN(lost) FROM table_name_46 WHERE team = "são paulo railway" AND points > 21
What is the lowest Lost for são paulo railway, Points more than 21?
<s>[INST]What is the lowest Lost for são paulo railway, Points more than 21? Context: CREATE TABLE table_name_46 (lost INTEGER, team VARCHAR, points VARCHAR)[/INST]SELECT MIN(lost) FROM table_name_46 WHERE team = "são paulo railway" AND points > 21</s>
CREATE TABLE table_name_74 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_74 WHERE opponent = "vinny magalhães"
What was the event for vinny magalhães?
<s>[INST]What was the event for vinny magalhães? Context: CREATE TABLE table_name_74 (event VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_74 WHERE opponent = "vinny magalhães"</s>
CREATE TABLE table_name_63 (first_season_in_first_division VARCHAR, first_season_after_most_recent_promotion VARCHAR, name VARCHAR)
SELECT first_season_in_first_division FROM table_name_63 WHERE first_season_after_most_recent_promotion = "1959" AND name = "alianza"
When was Alianza's first season in first division with a promotion after 1959?
<s>[INST]When was Alianza's first season in first division with a promotion after 1959? Context: CREATE TABLE table_name_63 (first_season_in_first_division VARCHAR, first_season_after_most_recent_promotion VARCHAR, name VARCHAR)[/INST]SELECT first_season_in_first_division FROM table_name_63 WHERE first_season_after_mos...
CREATE TABLE table_name_67 (tournament VARCHAR)
SELECT 2000 FROM table_name_67 WHERE tournament = "canada masters"
What is 2000, when Tournament is "Canada Masters"?
<s>[INST]What is 2000, when Tournament is "Canada Masters"? Context: CREATE TABLE table_name_67 (tournament VARCHAR)[/INST]SELECT 2000 FROM table_name_67 WHERE tournament = "canada masters"</s>
CREATE TABLE table_15211468_3 (uk_broadcast_date VARCHAR, presenter VARCHAR)
SELECT uk_broadcast_date FROM table_15211468_3 WHERE presenter = "Buck Henry"
What was the UK broadcast date for the episode presented by Buck Henry?
<s>[INST]What was the UK broadcast date for the episode presented by Buck Henry? Context: CREATE TABLE table_15211468_3 (uk_broadcast_date VARCHAR, presenter VARCHAR)[/INST]SELECT uk_broadcast_date FROM table_15211468_3 WHERE presenter = "Buck Henry"</s>
CREATE TABLE Services (Workshop_Group_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR)
SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID
What are the phones and emails of workshop groups in which services are performed?
<s>[INST]What are the phones and emails of workshop groups in which services are performed? Context: CREATE TABLE Services (Workshop_Group_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR)[/INST]SELECT T1.Store_Phone, T1.Store_Email_Address FRO...
CREATE TABLE table_29997127_4 (team VARCHAR, date VARCHAR)
SELECT team FROM table_29997127_4 WHERE date = "April 21"
What team did the suns play on April 21?
<s>[INST]What team did the suns play on April 21? Context: CREATE TABLE table_29997127_4 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_29997127_4 WHERE date = "April 21"</s>
CREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_19 WHERE partner = "lorenzo manta"
What was the score when Mark parterned with lorenzo manta?
<s>[INST]What was the score when Mark parterned with lorenzo manta? Context: CREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_19 WHERE partner = "lorenzo manta"</s>
CREATE TABLE table_name_55 (killed VARCHAR, unit VARCHAR)
SELECT killed FROM table_name_55 WHERE unit = "personal staff"
What was the number of Personal Staff Units Killed?
<s>[INST]What was the number of Personal Staff Units Killed? Context: CREATE TABLE table_name_55 (killed VARCHAR, unit VARCHAR)[/INST]SELECT killed FROM table_name_55 WHERE unit = "personal staff"</s>
CREATE TABLE table_name_23 (position VARCHAR, goals VARCHAR, level VARCHAR)
SELECT position FROM table_name_23 WHERE goals = 18 AND level = 5
What is the Position of the winner with 18 Goals and Level of 5?
<s>[INST]What is the Position of the winner with 18 Goals and Level of 5? Context: CREATE TABLE table_name_23 (position VARCHAR, goals VARCHAR, level VARCHAR)[/INST]SELECT position FROM table_name_23 WHERE goals = 18 AND level = 5</s>
CREATE TABLE table_name_45 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_45 WHERE away_team = "coventry city"
What home team has coventry city as the away team?
<s>[INST]What home team has coventry city as the away team? Context: CREATE TABLE table_name_45 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_45 WHERE away_team = "coventry city"</s>
CREATE TABLE table_name_25 (tournament VARCHAR)
SELECT 2012 FROM table_name_25 WHERE tournament = "madrid masters"
WHAT IS THE 2012 PERFORMANCE FOR THE MADRID MASTERS?
<s>[INST]WHAT IS THE 2012 PERFORMANCE FOR THE MADRID MASTERS? Context: CREATE TABLE table_name_25 (tournament VARCHAR)[/INST]SELECT 2012 FROM table_name_25 WHERE tournament = "madrid masters"</s>
CREATE TABLE table_name_53 (venue VARCHAR, score VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_53 WHERE score = "4-0" AND competition = "friendly"
What is the venue for the friendly competition and score of 4-0?
<s>[INST]What is the venue for the friendly competition and score of 4-0? Context: CREATE TABLE table_name_53 (venue VARCHAR, score VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_53 WHERE score = "4-0" AND competition = "friendly"</s>
CREATE TABLE table_name_8 (saffir_simpson_category INTEGER, nhc_advisory_number VARCHAR)
SELECT MAX(saffir_simpson_category) FROM table_name_8 WHERE nhc_advisory_number = "18"
What was the highest SaffirSimpson with an NHC advisory of 18?
<s>[INST]What was the highest SaffirSimpson with an NHC advisory of 18? Context: CREATE TABLE table_name_8 (saffir_simpson_category INTEGER, nhc_advisory_number VARCHAR)[/INST]SELECT MAX(saffir_simpson_category) FROM table_name_8 WHERE nhc_advisory_number = "18"</s>
CREATE TABLE table_name_48 (medal VARCHAR, weight VARCHAR, boxer VARCHAR)
SELECT medal FROM table_name_48 WHERE weight = "fly" AND boxer = "michael conlon"
What medal did Michael Conlon, with a weight of fly, win?
<s>[INST]What medal did Michael Conlon, with a weight of fly, win? Context: CREATE TABLE table_name_48 (medal VARCHAR, weight VARCHAR, boxer VARCHAR)[/INST]SELECT medal FROM table_name_48 WHERE weight = "fly" AND boxer = "michael conlon"</s>
CREATE TABLE table_name_14 (tournament VARCHAR)
SELECT 1994 FROM table_name_14 WHERE tournament = "miami"
What is the 1994 finish for the Miami tournament?
<s>[INST]What is the 1994 finish for the Miami tournament? Context: CREATE TABLE table_name_14 (tournament VARCHAR)[/INST]SELECT 1994 FROM table_name_14 WHERE tournament = "miami"</s>
CREATE TABLE table_name_22 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_22 WHERE to_par = "+2" AND score = 78 - 69 - 68 = 215
Who had a to par of +2 and a score of 78-69-68=215?
<s>[INST]Who had a to par of +2 and a score of 78-69-68=215? Context: CREATE TABLE table_name_22 (player VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_22 WHERE to_par = "+2" AND score = 78 - 69 - 68 = 215</s>
CREATE TABLE table_name_76 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_76 WHERE to_par = "+4"
What is the country for the player who had a To Par of +4?
<s>[INST]What is the country for the player who had a To Par of +4? Context: CREATE TABLE table_name_76 (country VARCHAR, to_par VARCHAR)[/INST]SELECT country FROM table_name_76 WHERE to_par = "+4"</s>
CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR)
SELECT market_share FROM table_23801721_1 WHERE technology = "CDMA EVDO GSM EDGE HSPA+"
What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?
<s>[INST]What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+? Context: CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR)[/INST]SELECT market_share FROM table_23801721_1 WHERE technology = "CDMA EVDO GSM EDGE HSPA+"</s>
CREATE TABLE Documents (project_id VARCHAR)
SELECT project_id, COUNT(*) FROM Documents GROUP BY project_id
Show project ids and the number of documents in each project.
<s>[INST]Show project ids and the number of documents in each project. Context: CREATE TABLE Documents (project_id VARCHAR)[/INST]SELECT project_id, COUNT(*) FROM Documents GROUP BY project_id</s>
CREATE TABLE table_1543845_63 (stolen_ends VARCHAR, locale VARCHAR, Sweden VARCHAR)
SELECT stolen_ends FROM table_1543845_63 WHERE locale = Sweden
How many stolen ends were there when the locale was Sweden?
<s>[INST]How many stolen ends were there when the locale was Sweden? Context: CREATE TABLE table_1543845_63 (stolen_ends VARCHAR, locale VARCHAR, Sweden VARCHAR)[/INST]SELECT stolen_ends FROM table_1543845_63 WHERE locale = Sweden</s>
CREATE TABLE table_name_7 (grid INTEGER, driver VARCHAR, points VARCHAR)
SELECT SUM(grid) FROM table_name_7 WHERE driver = "ryan hunter-reay" AND points > 24
What is the sum of the grid of driver ryan hunter-reay, who has more than 24 points?
<s>[INST]What is the sum of the grid of driver ryan hunter-reay, who has more than 24 points? Context: CREATE TABLE table_name_7 (grid INTEGER, driver VARCHAR, points VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_7 WHERE driver = "ryan hunter-reay" AND points > 24</s>
CREATE TABLE table_name_51 (bike VARCHAR, laps VARCHAR, time VARCHAR)
SELECT bike FROM table_name_51 WHERE laps = 18 AND time = "+41.280"
What is the Bike with 18 laps and +41.280 as the time?
<s>[INST]What is the Bike with 18 laps and +41.280 as the time? Context: CREATE TABLE table_name_51 (bike VARCHAR, laps VARCHAR, time VARCHAR)[/INST]SELECT bike FROM table_name_51 WHERE laps = 18 AND time = "+41.280"</s>
CREATE TABLE table_name_7 (season VARCHAR, name VARCHAR)
SELECT season FROM table_name_7 WHERE name = "jovy sese"
Which season did Jovy Sese play?
<s>[INST]Which season did Jovy Sese play? Context: CREATE TABLE table_name_7 (season VARCHAR, name VARCHAR)[/INST]SELECT season FROM table_name_7 WHERE name = "jovy sese"</s>
CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (name VARCHAR, team_id VARCHAR)
SELECT T1.name, T1.team_id, MAX(T2.salary) FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id
What is the highest salary among each team? List the team name, id and maximum salary.
<s>[INST]What is the highest salary among each team? List the team name, id and maximum salary. Context: CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (name VARCHAR, team_id VARCHAR)[/INST]SELECT T1.name, T1.team_id, MAX(T2.salary) FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id ...