context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_12584173_1 (population__glengallan_ INTEGER)
SELECT MAX(population__glengallan_) FROM table_12584173_1
What is the maximum population size in the town of Glengallen?
<s>[INST]What is the maximum population size in the town of Glengallen? Context: CREATE TABLE table_12584173_1 (population__glengallan_ INTEGER)[/INST]SELECT MAX(population__glengallan_) FROM table_12584173_1</s>
CREATE TABLE table_name_6 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_6 WHERE opponent = "ryan bixler"
Which Round has an Opponent of ryan bixler?
<s>[INST]Which Round has an Opponent of ryan bixler? Context: CREATE TABLE table_name_6 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_6 WHERE opponent = "ryan bixler"</s>
CREATE TABLE table_27715173_6 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_27715173_6 WHERE record = "10-1"
Where was the game played where the record was 10-1?
<s>[INST]Where was the game played where the record was 10-1? Context: CREATE TABLE table_27715173_6 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_27715173_6 WHERE record = "10-1"</s>
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_56 WHERE venue = "windy hill"
What was the highest crowd at Windy Hill?
<s>[INST]What was the highest crowd at Windy Hill? Context: CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_56 WHERE venue = "windy hill"</s>
CREATE TABLE table_1805919_1 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)
SELECT MAX(standard_order) FROM table_1805919_1 WHERE transcription__based_on_pinyin_ = "Xi Wangri"
What is the place of the Pinyin transcription Xi Wangri?
<s>[INST]What is the place of the Pinyin transcription Xi Wangri? Context: CREATE TABLE table_1805919_1 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)[/INST]SELECT MAX(standard_order) FROM table_1805919_1 WHERE transcription__based_on_pinyin_ = "Xi Wangri"</s>
CREATE TABLE table_21795650_1 (poles VARCHAR, series VARCHAR)
SELECT poles FROM table_21795650_1 WHERE series = "Italian Formula Renault 2.0 Winter series"
How many poles were there in the Italian Formula Renault 2.0 Winter Series?
<s>[INST]How many poles were there in the Italian Formula Renault 2.0 Winter Series? Context: CREATE TABLE table_21795650_1 (poles VARCHAR, series VARCHAR)[/INST]SELECT poles FROM table_21795650_1 WHERE series = "Italian Formula Renault 2.0 Winter series"</s>
CREATE TABLE table_name_47 (attendance INTEGER, opponent VARCHAR)
SELECT MAX(attendance) FROM table_name_47 WHERE opponent = "at kansas city chiefs"
What is the highest number in attendance against the game at Kansas City Chiefs?
<s>[INST]What is the highest number in attendance against the game at Kansas City Chiefs? Context: CREATE TABLE table_name_47 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_47 WHERE opponent = "at kansas city chiefs"</s>
CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_18 WHERE competition = "friendly"
What's the score of the friendly competition?
<s>[INST]What's the score of the friendly competition? Context: CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE competition = "friendly"</s>
CREATE TABLE table_name_2 (driving_force_gt VARCHAR, g27_racing_wheel VARCHAR, gt_force VARCHAR, driving_force_pro VARCHAR)
SELECT driving_force_gt FROM table_name_2 WHERE gt_force = "no" AND driving_force_pro = "no" AND g27_racing_wheel = "no"
GT Force of no, and a Driving Force Pro of no, and a G27 Racing Wheel of no has what driving force gt?
<s>[INST]GT Force of no, and a Driving Force Pro of no, and a G27 Racing Wheel of no has what driving force gt? Context: CREATE TABLE table_name_2 (driving_force_gt VARCHAR, g27_racing_wheel VARCHAR, gt_force VARCHAR, driving_force_pro VARCHAR)[/INST]SELECT driving_force_gt FROM table_name_2 WHERE gt_force = "no" AND d...
CREATE TABLE table_name_70 (average INTEGER, english_title VARCHAR, finale VARCHAR)
SELECT AVG(average) FROM table_name_70 WHERE english_title = "men in pain" AND finale < 33
What is the Average of Men in Pain with a Finale of less than 33?
<s>[INST]What is the Average of Men in Pain with a Finale of less than 33? Context: CREATE TABLE table_name_70 (average INTEGER, english_title VARCHAR, finale VARCHAR)[/INST]SELECT AVG(average) FROM table_name_70 WHERE english_title = "men in pain" AND finale < 33</s>
CREATE TABLE table_name_10 (episode VARCHAR, nominee_s_ VARCHAR, year VARCHAR)
SELECT episode FROM table_name_10 WHERE nominee_s_ = "gary murphy and neil thompson" AND year = 2003
Which episode in year 2003 that have Gary Murphy and Neil Thompson?
<s>[INST]Which episode in year 2003 that have Gary Murphy and Neil Thompson? Context: CREATE TABLE table_name_10 (episode VARCHAR, nominee_s_ VARCHAR, year VARCHAR)[/INST]SELECT episode FROM table_name_10 WHERE nominee_s_ = "gary murphy and neil thompson" AND year = 2003</s>
CREATE TABLE table_11044765_1 (league VARCHAR, mascot VARCHAR)
SELECT league FROM table_11044765_1 WHERE mascot = "Raiders"
Which leagues have Raiders as their mascot?
<s>[INST]Which leagues have Raiders as their mascot? Context: CREATE TABLE table_11044765_1 (league VARCHAR, mascot VARCHAR)[/INST]SELECT league FROM table_11044765_1 WHERE mascot = "Raiders"</s>
CREATE TABLE table_name_14 (rowers VARCHAR, notes VARCHAR, country VARCHAR)
SELECT rowers FROM table_name_14 WHERE notes = "r" AND country = "portugal"
Which rowers represented portugal and had notes of r?
<s>[INST]Which rowers represented portugal and had notes of r? Context: CREATE TABLE table_name_14 (rowers VARCHAR, notes VARCHAR, country VARCHAR)[/INST]SELECT rowers FROM table_name_14 WHERE notes = "r" AND country = "portugal"</s>
CREATE TABLE table_name_48 (team VARCHAR, laps VARCHAR)
SELECT team FROM table_name_48 WHERE laps = 5
What is the Team with a Lap that is 5?
<s>[INST]What is the Team with a Lap that is 5? Context: CREATE TABLE table_name_48 (team VARCHAR, laps VARCHAR)[/INST]SELECT team FROM table_name_48 WHERE laps = 5</s>
CREATE TABLE products (product_category_code VARCHAR)
SELECT COUNT(*) FROM products WHERE product_category_code = "Seeds"
How many products are there under the category "Seeds"?
<s>[INST]How many products are there under the category "Seeds"? Context: CREATE TABLE products (product_category_code VARCHAR)[/INST]SELECT COUNT(*) FROM products WHERE product_category_code = "Seeds"</s>
CREATE TABLE table_name_65 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_65 WHERE entrant = "scuderia ambrosiana"
Who is the drive for an Entrant of Scuderia Ambrosiana?
<s>[INST]Who is the drive for an Entrant of Scuderia Ambrosiana? Context: CREATE TABLE table_name_65 (driver VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_65 WHERE entrant = "scuderia ambrosiana"</s>
CREATE TABLE table_name_52 (games INTEGER, years VARCHAR, ranking VARCHAR)
SELECT AVG(games) FROM table_name_52 WHERE years = "1965–1981" AND ranking > 4
What is the average Games for 1965–1981, and a Ranking larger than 4?
<s>[INST]What is the average Games for 1965–1981, and a Ranking larger than 4? Context: CREATE TABLE table_name_52 (games INTEGER, years VARCHAR, ranking VARCHAR)[/INST]SELECT AVG(games) FROM table_name_52 WHERE years = "1965–1981" AND ranking > 4</s>
CREATE TABLE table_13397394_1 (building VARCHAR, address VARCHAR)
SELECT COUNT(building) FROM table_13397394_1 WHERE address = "201 1st Avenue South"
what is the total number of building for address on 201 1st avenue south
<s>[INST]what is the total number of building for address on 201 1st avenue south Context: CREATE TABLE table_13397394_1 (building VARCHAR, address VARCHAR)[/INST]SELECT COUNT(building) FROM table_13397394_1 WHERE address = "201 1st Avenue South"</s>
CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_57 WHERE venue = "victoria park"
How much did the away team score at victoria park?
<s>[INST]How much did the away team score at victoria park? Context: CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_57 WHERE venue = "victoria park"</s>
CREATE TABLE table_name_56 (jersey__number VARCHAR, position VARCHAR, birthdate VARCHAR)
SELECT COUNT(jersey__number) FROM table_name_56 WHERE position = "w" AND birthdate = "17 october 1932"
What is the total number of Jersey #, when the Position is W, and when the Birthdate is 17 October 1932?
<s>[INST]What is the total number of Jersey #, when the Position is W, and when the Birthdate is 17 October 1932? Context: CREATE TABLE table_name_56 (jersey__number VARCHAR, position VARCHAR, birthdate VARCHAR)[/INST]SELECT COUNT(jersey__number) FROM table_name_56 WHERE position = "w" AND birthdate = "17 october 1932"...
CREATE TABLE table_12744399_1 (initial_release_date VARCHAR, developer VARCHAR)
SELECT initial_release_date FROM table_12744399_1 WHERE developer = "Microvision"
When was the game developed by Microvision released?
<s>[INST]When was the game developed by Microvision released? Context: CREATE TABLE table_12744399_1 (initial_release_date VARCHAR, developer VARCHAR)[/INST]SELECT initial_release_date FROM table_12744399_1 WHERE developer = "Microvision"</s>
CREATE TABLE table_name_38 (population___2011_census__ INTEGER, land_area__km²_ INTEGER)
SELECT MIN(population___2011_census__) FROM table_name_38 WHERE land_area__km²_ > 908 OFFSET 607.67
What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²?
<s>[INST]What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²? Context: CREATE TABLE table_name_38 (population___2011_census__ INTEGER, land_area__km²_ INTEGER)[/INST]SELECT MIN(population___2011_census__) FROM table_name_38 WHERE land_area__km²_ > 908 OFFSET 607.67</s>
CREATE TABLE table_25740774_1 (position VARCHAR, season VARCHAR)
SELECT COUNT(position) FROM table_25740774_1 WHERE season = 2010
How many positions are shown for the 2010 season?
<s>[INST]How many positions are shown for the 2010 season? Context: CREATE TABLE table_25740774_1 (position VARCHAR, season VARCHAR)[/INST]SELECT COUNT(position) FROM table_25740774_1 WHERE season = 2010</s>
CREATE TABLE table_name_1 (date VARCHAR, margin_of_victory VARCHAR)
SELECT date FROM table_name_1 WHERE margin_of_victory = "4 strokes"
What is Date, when Margin Of Victory is 4 Strokes?
<s>[INST]What is Date, when Margin Of Victory is 4 Strokes? Context: CREATE TABLE table_name_1 (date VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT date FROM table_name_1 WHERE margin_of_victory = "4 strokes"</s>
CREATE TABLE table_16226584_1 (parish VARCHAR, length_meters VARCHAR)
SELECT parish FROM table_16226584_1 WHERE length_meters = "51.8"
Which parishes have a railroad length of 51.8 meters?
<s>[INST]Which parishes have a railroad length of 51.8 meters? Context: CREATE TABLE table_16226584_1 (parish VARCHAR, length_meters VARCHAR)[/INST]SELECT parish FROM table_16226584_1 WHERE length_meters = "51.8"</s>
CREATE TABLE table_24990183_5 (name VARCHAR, country VARCHAR)
SELECT name FROM table_24990183_5 WHERE country = "Georgia"
Who was the player from georgia?
<s>[INST]Who was the player from georgia? Context: CREATE TABLE table_24990183_5 (name VARCHAR, country VARCHAR)[/INST]SELECT name FROM table_24990183_5 WHERE country = "Georgia"</s>
CREATE TABLE table_name_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR)
SELECT league FROM table_name_99 WHERE open_cup = "1st round" AND year = 2009
Which League that has a Open Cup of 1st round, and a Year of 2009?
<s>[INST]Which League that has a Open Cup of 1st round, and a Year of 2009? Context: CREATE TABLE table_name_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_name_99 WHERE open_cup = "1st round" AND year = 2009</s>
CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR, visitor VARCHAR, decision VARCHAR)
SELECT record FROM table_name_59 WHERE visitor = "nashville" AND decision = "ellis" AND game > 32
Which game later than number 32 had both Ellis for the decision and Nashville as the visiting team?
<s>[INST]Which game later than number 32 had both Ellis for the decision and Nashville as the visiting team? Context: CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR, visitor VARCHAR, decision VARCHAR)[/INST]SELECT record FROM table_name_59 WHERE visitor = "nashville" AND decision = "ellis" AND game > 32</s>
CREATE TABLE table_name_93 (pick VARCHAR, round VARCHAR, player VARCHAR)
SELECT pick FROM table_name_93 WHERE round = "compensation-a" AND player = "frank catalanotto"
What was the pick number for the compensation-a round, for player Frank Catalanotto?
<s>[INST]What was the pick number for the compensation-a round, for player Frank Catalanotto? Context: CREATE TABLE table_name_93 (pick VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_93 WHERE round = "compensation-a" AND player = "frank catalanotto"</s>
CREATE TABLE properties (property_id VARCHAR); CREATE TABLE residents (property_id VARCHAR)
SELECT T1.property_id, COUNT(*) FROM properties AS T1 JOIN residents AS T2 ON T1.property_id = T2.property_id GROUP BY T1.property_id
How many residents does each property have? List property id and resident count.
<s>[INST]How many residents does each property have? List property id and resident count. Context: CREATE TABLE properties (property_id VARCHAR); CREATE TABLE residents (property_id VARCHAR)[/INST]SELECT T1.property_id, COUNT(*) FROM properties AS T1 JOIN residents AS T2 ON T1.property_id = T2.property_id GROUP BY T1.p...
CREATE TABLE table_211615_2 (cancelled VARCHAR, station VARCHAR)
SELECT COUNT(cancelled) FROM table_211615_2 WHERE station = "Turnham Green"
Name the number of cancelled for turnham green
<s>[INST]Name the number of cancelled for turnham green Context: CREATE TABLE table_211615_2 (cancelled VARCHAR, station VARCHAR)[/INST]SELECT COUNT(cancelled) FROM table_211615_2 WHERE station = "Turnham Green"</s>
CREATE TABLE table_name_40 (outgoing_manager VARCHAR, replaced_by VARCHAR)
SELECT outgoing_manager FROM table_name_40 WHERE replaced_by = "craig brewster"
I want the outgoing manager for craig brewster
<s>[INST]I want the outgoing manager for craig brewster Context: CREATE TABLE table_name_40 (outgoing_manager VARCHAR, replaced_by VARCHAR)[/INST]SELECT outgoing_manager FROM table_name_40 WHERE replaced_by = "craig brewster"</s>
CREATE TABLE table_26847237_2 (player VARCHAR, weight VARCHAR)
SELECT player FROM table_26847237_2 WHERE weight = "76kg"
Which player weighs 76kg?
<s>[INST]Which player weighs 76kg? Context: CREATE TABLE table_26847237_2 (player VARCHAR, weight VARCHAR)[/INST]SELECT player FROM table_26847237_2 WHERE weight = "76kg"</s>
CREATE TABLE table_name_74 (year VARCHAR, regular_season VARCHAR)
SELECT year FROM table_name_74 WHERE regular_season = "2nd, central"
What year did the Nashville Metros have the Regular Season 2nd, central?
<s>[INST]What year did the Nashville Metros have the Regular Season 2nd, central? Context: CREATE TABLE table_name_74 (year VARCHAR, regular_season VARCHAR)[/INST]SELECT year FROM table_name_74 WHERE regular_season = "2nd, central"</s>
CREATE TABLE table_name_70 (player VARCHAR, team VARCHAR)
SELECT player FROM table_name_70 WHERE team = "los angeles dodgers"
What player was on the Los Angeles Dodgers?
<s>[INST]What player was on the Los Angeles Dodgers? Context: CREATE TABLE table_name_70 (player VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_name_70 WHERE team = "los angeles dodgers"</s>
CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR)
SELECT player FROM table_28628309_9 WHERE category = "Steals per game"
Who is the player when the category is steals per game?
<s>[INST]Who is the player when the category is steals per game? Context: CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR)[/INST]SELECT player FROM table_28628309_9 WHERE category = "Steals per game"</s>
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_8 WHERE visitor = "hartford whalers" AND date = "april 11"
What is the score of the visiting Hartford Whalers game from April 11?
<s>[INST]What is the score of the visiting Hartford Whalers game from April 11? Context: CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE visitor = "hartford whalers" AND date = "april 11"</s>
CREATE TABLE table_name_45 (tournament VARCHAR)
SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters"
What is the 2012 of the hamburg masters?
<s>[INST]What is the 2012 of the hamburg masters? Context: CREATE TABLE table_name_45 (tournament VARCHAR)[/INST]SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters"</s>
CREATE TABLE table_14603057_2 (class_aAAA VARCHAR, school_year VARCHAR)
SELECT COUNT(class_aAAA) FROM table_14603057_2 WHERE school_year = "2002-03"
How many Class AAAA winners where in 2002-03?
<s>[INST]How many Class AAAA winners where in 2002-03? Context: CREATE TABLE table_14603057_2 (class_aAAA VARCHAR, school_year VARCHAR)[/INST]SELECT COUNT(class_aAAA) FROM table_14603057_2 WHERE school_year = "2002-03"</s>
CREATE TABLE table_name_36 (points INTEGER, record VARCHAR)
SELECT SUM(points) FROM table_name_36 WHERE record = "21–20–6"
Which Points have a Record of 21–20–6?
<s>[INST]Which Points have a Record of 21–20–6? Context: CREATE TABLE table_name_36 (points INTEGER, record VARCHAR)[/INST]SELECT SUM(points) FROM table_name_36 WHERE record = "21–20–6"</s>
CREATE TABLE table_13012165_1 (washington VARCHAR, _dc VARCHAR, new_york VARCHAR)
SELECT washington, _dc FROM table_13012165_1 WHERE new_york = "Ramapo LL Ramapo"
What teams played in Washington, DC the year that Ramapo LL Ramapo was the game in New York?
<s>[INST]What teams played in Washington, DC the year that Ramapo LL Ramapo was the game in New York? Context: CREATE TABLE table_13012165_1 (washington VARCHAR, _dc VARCHAR, new_york VARCHAR)[/INST]SELECT washington, _dc FROM table_13012165_1 WHERE new_york = "Ramapo LL Ramapo"</s>
CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_17 WHERE record = "4-1"
What round had a record of 4-1?
<s>[INST]What round had a record of 4-1? Context: CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)[/INST]SELECT round FROM table_name_17 WHERE record = "4-1"</s>
CREATE TABLE table_20854943_2 (loa__metres_ VARCHAR, yacht VARCHAR)
SELECT COUNT(loa__metres_) FROM table_20854943_2 WHERE yacht = "Black Jack"
How many LOA (metres) reported for Black Jack?
<s>[INST]How many LOA (metres) reported for Black Jack? Context: CREATE TABLE table_20854943_2 (loa__metres_ VARCHAR, yacht VARCHAR)[/INST]SELECT COUNT(loa__metres_) FROM table_20854943_2 WHERE yacht = "Black Jack"</s>
CREATE TABLE table_name_48 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_48 WHERE date = "march 7"
Who is the visitor of the game on March 7?
<s>[INST]Who is the visitor of the game on March 7? Context: CREATE TABLE table_name_48 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_48 WHERE date = "march 7"</s>
CREATE TABLE table_name_95 (genre VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)
SELECT genre FROM table_name_95 WHERE number_of_episodes > 20 AND english_title__chinese_title_ = "wong fei hung - master of kung fu 我師傅係黃飛鴻"
What genre has over 20 episodes, with an English title (Chinese title) of wong fei hung - master of kung fu 我師傅係黃飛鴻?
<s>[INST]What genre has over 20 episodes, with an English title (Chinese title) of wong fei hung - master of kung fu 我師傅係黃飛鴻? Context: CREATE TABLE table_name_95 (genre VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)[/INST]SELECT genre FROM table_name_95 WHERE number_of_episodes > 20 AND eng...
CREATE TABLE table_name_55 (hangul___japanese VARCHAR, year VARCHAR, role VARCHAR)
SELECT hangul___japanese FROM table_name_55 WHERE year < 2014 AND role = "baek seung-jo"
What's the Hangul/Japanese that happened before 2014 having a role of Baek Seung-Jo?
<s>[INST]What's the Hangul/Japanese that happened before 2014 having a role of Baek Seung-Jo? Context: CREATE TABLE table_name_55 (hangul___japanese VARCHAR, year VARCHAR, role VARCHAR)[/INST]SELECT hangul___japanese FROM table_name_55 WHERE year < 2014 AND role = "baek seung-jo"</s>
CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_68 WHERE record = "2–1–1"
What is the Date with a game with a Record of 2–1–1?
<s>[INST]What is the Date with a game with a Record of 2–1–1? Context: CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE record = "2–1–1"</s>
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_20 WHERE date = "6 april 2008"
What was the record on 6 April 2008?
<s>[INST]What was the record on 6 April 2008? Context: CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_20 WHERE date = "6 april 2008"</s>
CREATE TABLE table_name_23 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_23 WHERE date = "september 22"
Where was the September 22 game played?
<s>[INST]Where was the September 22 game played? Context: CREATE TABLE table_name_23 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_23 WHERE date = "september 22"</s>
CREATE TABLE table_name_56 (date INTEGER, number VARCHAR)
SELECT MAX(date) FROM table_name_56 WHERE number = "infec 107cdsx"
What is the latest date that has a serial number of Infec 107CDSX?
<s>[INST]What is the latest date that has a serial number of Infec 107CDSX? Context: CREATE TABLE table_name_56 (date INTEGER, number VARCHAR)[/INST]SELECT MAX(date) FROM table_name_56 WHERE number = "infec 107cdsx"</s>
CREATE TABLE table_20884163_2 (circuit VARCHAR, winner VARCHAR)
SELECT circuit FROM table_20884163_2 WHERE winner = "Rick Kelly"
What circuit did rick kelly win on?
<s>[INST]What circuit did rick kelly win on? Context: CREATE TABLE table_20884163_2 (circuit VARCHAR, winner VARCHAR)[/INST]SELECT circuit FROM table_20884163_2 WHERE winner = "Rick Kelly"</s>
CREATE TABLE table_name_86 (opponent VARCHAR, series VARCHAR)
SELECT opponent FROM table_name_86 WHERE series = "1-3"
Who was the opponent when the series was at 1-3?
<s>[INST]Who was the opponent when the series was at 1-3? Context: CREATE TABLE table_name_86 (opponent VARCHAR, series VARCHAR)[/INST]SELECT opponent FROM table_name_86 WHERE series = "1-3"</s>
CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado"
What location was fábio maldonado the opponent at?
<s>[INST]What location was fábio maldonado the opponent at? Context: CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado"</s>
CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)
SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T2.SourceAirport GROUP BY T1.AirportCode ORDER BY COUNT(*) DESC LIMIT 1
What is the code of airport that has the highest number of flights?
<s>[INST]What is the code of airport that has the highest number of flights? Context: CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)[/INST]SELECT T1.AirportCode FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport OR T1.AirportCode = T...
CREATE TABLE table_name_99 (geohash_length INTEGER, lat_error VARCHAR, lat_bits VARCHAR)
SELECT MAX(geohash_length) FROM table_name_99 WHERE lat_error = "±0.00068" AND lat_bits > 17
What is the highest geohash length when the lat error is ±0.00068, and the lat bits larger than 17?
<s>[INST]What is the highest geohash length when the lat error is ±0.00068, and the lat bits larger than 17? Context: CREATE TABLE table_name_99 (geohash_length INTEGER, lat_error VARCHAR, lat_bits VARCHAR)[/INST]SELECT MAX(geohash_length) FROM table_name_99 WHERE lat_error = "±0.00068" AND lat_bits > 17</s>
CREATE TABLE table_name_3 (Id VARCHAR)
SELECT 2010 FROM table_name_3 WHERE 2011 = "1r"
What is 2010 that has 1r 2011?
<s>[INST]What is 2010 that has 1r 2011? Context: CREATE TABLE table_name_3 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_3 WHERE 2011 = "1r"</s>
CREATE TABLE table_15315816_1 (dates VARCHAR, score VARCHAR, country VARCHAR)
SELECT dates FROM table_15315816_1 WHERE score = "205 (–8)" AND country = "Australia"
When are all dates with a score of 205 (–8) in Australia?
<s>[INST]When are all dates with a score of 205 (–8) in Australia? Context: CREATE TABLE table_15315816_1 (dates VARCHAR, score VARCHAR, country VARCHAR)[/INST]SELECT dates FROM table_15315816_1 WHERE score = "205 (–8)" AND country = "Australia"</s>
CREATE TABLE table_name_79 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_79 WHERE driver = "christian vietoris" AND laps < 12
What is the average grid of driver Christian Vietoris who has less than 12 laps?
<s>[INST]What is the average grid of driver Christian Vietoris who has less than 12 laps? Context: CREATE TABLE table_name_79 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_79 WHERE driver = "christian vietoris" AND laps < 12</s>
CREATE TABLE table_29102100_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT title FROM table_29102100_1 WHERE directed_by = "Rich Correll" AND written_by = "Dennis Rinsler"
What is the title of the episode directed by Rich Correll and written by Dennis Rinsler?
<s>[INST]What is the title of the episode directed by Rich Correll and written by Dennis Rinsler? Context: CREATE TABLE table_29102100_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_29102100_1 WHERE directed_by = "Rich Correll" AND written_by = "Dennis Rinsler"</s>
CREATE TABLE table_name_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR)
SELECT COUNT(evening_gown) FROM table_name_79 WHERE preliminaries < 8.647 AND state = "district of columbia"
What is the evening gown score of the contestant from the District of Columbia with preliminaries smaller than 8.647?
<s>[INST]What is the evening gown score of the contestant from the District of Columbia with preliminaries smaller than 8.647? Context: CREATE TABLE table_name_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR)[/INST]SELECT COUNT(evening_gown) FROM table_name_79 WHERE preliminaries < 8.647 AND state = "dis...
CREATE TABLE table_name_67 (year VARCHAR, score VARCHAR)
SELECT COUNT(year) FROM table_name_67 WHERE score = "0.586"
What year had a score of 0.586?
<s>[INST]What year had a score of 0.586? Context: CREATE TABLE table_name_67 (year VARCHAR, score VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_67 WHERE score = "0.586"</s>
CREATE TABLE table_name_45 (against INTEGER, date VARCHAR)
SELECT AVG(against) FROM table_name_45 WHERE date = "21/5/1997"
What was the average of againsts on 21/5/1997?
<s>[INST]What was the average of againsts on 21/5/1997? Context: CREATE TABLE table_name_45 (against INTEGER, date VARCHAR)[/INST]SELECT AVG(against) FROM table_name_45 WHERE date = "21/5/1997"</s>
CREATE TABLE table_name_39 (name VARCHAR, time VARCHAR)
SELECT name FROM table_name_39 WHERE time = "26.11"
Who had a time of 26.11?
<s>[INST]Who had a time of 26.11? Context: CREATE TABLE table_name_39 (name VARCHAR, time VARCHAR)[/INST]SELECT name FROM table_name_39 WHERE time = "26.11"</s>
CREATE TABLE instructor (name VARCHAR, salary VARCHAR)
SELECT name FROM instructor ORDER BY salary DESC LIMIT 1
Who is the instructor with the highest salary?
<s>[INST]Who is the instructor with the highest salary? Context: CREATE TABLE instructor (name VARCHAR, salary VARCHAR)[/INST]SELECT name FROM instructor ORDER BY salary DESC LIMIT 1</s>
CREATE TABLE table_name_44 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_44 WHERE tournament = "texas international open"
What was the margin of victory at the Texas International Open?
<s>[INST]What was the margin of victory at the Texas International Open? Context: CREATE TABLE table_name_44 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_44 WHERE tournament = "texas international open"</s>
CREATE TABLE table_name_19 (competition VARCHAR, assists INTEGER)
SELECT competition FROM table_name_19 WHERE assists > 40
What competition had more than 40 assists?
<s>[INST]What competition had more than 40 assists? Context: CREATE TABLE table_name_19 (competition VARCHAR, assists INTEGER)[/INST]SELECT competition FROM table_name_19 WHERE assists > 40</s>
CREATE TABLE table_15002265_1 (womens_singles VARCHAR, mixed_doubles VARCHAR, year VARCHAR)
SELECT womens_singles FROM table_15002265_1 WHERE mixed_doubles = "Bernd Frohnwieser Hilde Themel" AND year < 1959.0
who is the the womens singles with mixed doubles being bernd frohnwieser hilde themel and year being smaller than 1959.0
<s>[INST]who is the the womens singles with mixed doubles being bernd frohnwieser hilde themel and year being smaller than 1959.0 Context: CREATE TABLE table_15002265_1 (womens_singles VARCHAR, mixed_doubles VARCHAR, year VARCHAR)[/INST]SELECT womens_singles FROM table_15002265_1 WHERE mixed_doubles = "Bernd Frohnwiese...
CREATE TABLE table_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(production_code) FROM table_28037619_2 WHERE us_viewers__million_ = "4.36"
How many production codes are there for the episode that had 4.36 million u.s. viewers?
<s>[INST]How many production codes are there for the episode that had 4.36 million u.s. viewers? Context: CREATE TABLE table_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_28037619_2 WHERE us_viewers__million_ = "4.36"</s>
CREATE TABLE table_2430014_8 (written_by VARCHAR, uk_ratings__bbc2_rank_ VARCHAR)
SELECT written_by FROM table_2430014_8 WHERE uk_ratings__bbc2_rank_ = "2.27m (5)"
Who wrote the episode what had the rating 2.27m (5)?
<s>[INST]Who wrote the episode what had the rating 2.27m (5)? Context: CREATE TABLE table_2430014_8 (written_by VARCHAR, uk_ratings__bbc2_rank_ VARCHAR)[/INST]SELECT written_by FROM table_2430014_8 WHERE uk_ratings__bbc2_rank_ = "2.27m (5)"</s>
CREATE TABLE table_27279050_3 (first_driver_s_ VARCHAR, country VARCHAR)
SELECT first_driver_s_ FROM table_27279050_3 WHERE country = "Romania"
Who is the first driver(s) when the country is romania?
<s>[INST]Who is the first driver(s) when the country is romania? Context: CREATE TABLE table_27279050_3 (first_driver_s_ VARCHAR, country VARCHAR)[/INST]SELECT first_driver_s_ FROM table_27279050_3 WHERE country = "Romania"</s>
CREATE TABLE table_name_36 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_36 WHERE week = 6
What day did they play in week 6?
<s>[INST]What day did they play in week 6? Context: CREATE TABLE table_name_36 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE week = 6</s>
CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804"
Name the laps for suzuki and time/retired of +1:02.804
<s>[INST]Name the laps for suzuki and time/retired of +1:02.804 Context: CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)[/INST]SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804"</s>
CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR)
SELECT AVG(year) FROM table_name_93 WHERE beer_name = "maggs magnificent mild" AND prize = "gold medal" AND category = "mild and porter" AND competition = "siba south east region beer competition"
What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition?
<s>[INST]What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition? Context: CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR)[/INST]SELECT AVG(year) FROM table_name_93 WHERE beer_...
CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, played VARCHAR)
SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22
What is the highest number of losses with 23 points and 22 plays?
<s>[INST]What is the highest number of losses with 23 points and 22 plays? Context: CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, played VARCHAR)[/INST]SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22</s>
CREATE TABLE table_name_59 (year INTEGER, developer_s_ VARCHAR)
SELECT AVG(year) FROM table_name_59 WHERE developer_s_ = "bioware"
What year was the developer(s) Bioware?
<s>[INST]What year was the developer(s) Bioware? Context: CREATE TABLE table_name_59 (year INTEGER, developer_s_ VARCHAR)[/INST]SELECT AVG(year) FROM table_name_59 WHERE developer_s_ = "bioware"</s>
CREATE TABLE table_name_43 (grid INTEGER, time VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_43 WHERE time = "+8.051" AND laps < 23
What is the smallest grid when the time is +8.051 and there were less than 23 laps?
<s>[INST]What is the smallest grid when the time is +8.051 and there were less than 23 laps? Context: CREATE TABLE table_name_43 (grid INTEGER, time VARCHAR, laps VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_43 WHERE time = "+8.051" AND laps < 23</s>
CREATE TABLE table_name_46 (Id VARCHAR)
SELECT 1997 FROM table_name_46 WHERE 1987 = "2r"
What shows for 1997 when 1987 is 2r?
<s>[INST]What shows for 1997 when 1987 is 2r? Context: CREATE TABLE table_name_46 (Id VARCHAR)[/INST]SELECT 1997 FROM table_name_46 WHERE 1987 = "2r"</s>
CREATE TABLE table_12526990_1 (monto VARCHAR, total_region VARCHAR)
SELECT COUNT(monto) FROM table_12526990_1 WHERE total_region = 11230
What is the monto where the total region is 11230?
<s>[INST]What is the monto where the total region is 11230? Context: CREATE TABLE table_12526990_1 (monto VARCHAR, total_region VARCHAR)[/INST]SELECT COUNT(monto) FROM table_12526990_1 WHERE total_region = 11230</s>
CREATE TABLE table_name_61 (province VARCHAR, city VARCHAR)
SELECT province FROM table_name_61 WHERE city = "hiroshima"
Which Province has a City of hiroshima?
<s>[INST]Which Province has a City of hiroshima? Context: CREATE TABLE table_name_61 (province VARCHAR, city VARCHAR)[/INST]SELECT province FROM table_name_61 WHERE city = "hiroshima"</s>
CREATE TABLE table_15187735_4 (netflix VARCHAR, episode VARCHAR)
SELECT netflix FROM table_15187735_4 WHERE episode = 46
What is the netflix code for episode 46?
<s>[INST]What is the netflix code for episode 46? Context: CREATE TABLE table_15187735_4 (netflix VARCHAR, episode VARCHAR)[/INST]SELECT netflix FROM table_15187735_4 WHERE episode = 46</s>
CREATE TABLE table_name_16 (competition VARCHAR, score VARCHAR, date VARCHAR)
SELECT competition FROM table_name_16 WHERE score = "5-0" AND date = "august 3, 2005"
What Competition on August 3, 2005 had a Score of 5-0?
<s>[INST]What Competition on August 3, 2005 had a Score of 5-0? Context: CREATE TABLE table_name_16 (competition VARCHAR, score VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_16 WHERE score = "5-0" AND date = "august 3, 2005"</s>
CREATE TABLE table_name_16 (unit VARCHAR, status VARCHAR)
SELECT unit FROM table_name_16 WHERE status = "nomen oblitum"
What shows for Unit with a status of nomen oblitum?
<s>[INST]What shows for Unit with a status of nomen oblitum? Context: CREATE TABLE table_name_16 (unit VARCHAR, status VARCHAR)[/INST]SELECT unit FROM table_name_16 WHERE status = "nomen oblitum"</s>
CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_49 WHERE competition = "king's cup 1996"
What day was king's cup 1996?
<s>[INST]What day was king's cup 1996? Context: CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE competition = "king's cup 1996"</s>
CREATE TABLE table_name_76 (date VARCHAR, region VARCHAR)
SELECT date FROM table_name_76 WHERE region = "japan"
Which date had a Japan region?
<s>[INST]Which date had a Japan region? Context: CREATE TABLE table_name_76 (date VARCHAR, region VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE region = "japan"</s>
CREATE TABLE table_17140608_11 (team VARCHAR, date VARCHAR)
SELECT team FROM table_17140608_11 WHERE date = "April 23"
What team(s) did they play on april 23?
<s>[INST]What team(s) did they play on april 23? Context: CREATE TABLE table_17140608_11 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_17140608_11 WHERE date = "April 23"</s>
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT 2004 FROM table_name_19 WHERE 2008 = "wta premier 5 tournaments"
What is 2004, when 2008 is "WTA Premier 5 Tournaments"?
<s>[INST]What is 2004, when 2008 is "WTA Premier 5 Tournaments"? Context: CREATE TABLE table_name_19 (Id VARCHAR)[/INST]SELECT 2004 FROM table_name_19 WHERE 2008 = "wta premier 5 tournaments"</s>
CREATE TABLE table_name_54 (horse VARCHAR, finished VARCHAR)
SELECT horse FROM table_name_54 WHERE finished = "8"
Which Horse finished in 8?
<s>[INST]Which Horse finished in 8? Context: CREATE TABLE table_name_54 (horse VARCHAR, finished VARCHAR)[/INST]SELECT horse FROM table_name_54 WHERE finished = "8"</s>
CREATE TABLE table_17282875_2 (points VARCHAR, team__number2 VARCHAR)
SELECT points FROM table_17282875_2 WHERE team__number2 = "Deportivo Anzoátegui"
What was the game's points against Team 2 Deportivo Anzoátegui?
<s>[INST]What was the game's points against Team 2 Deportivo Anzoátegui? Context: CREATE TABLE table_17282875_2 (points VARCHAR, team__number2 VARCHAR)[/INST]SELECT points FROM table_17282875_2 WHERE team__number2 = "Deportivo Anzoátegui"</s>
CREATE TABLE table_20688030_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
SELECT COUNT(mccain_number) FROM table_20688030_1 WHERE obama_percentage = "39.13%"
What is McCains percent when Obamas is 39.13%
<s>[INST]What is McCains percent when Obamas is 39.13% Context: CREATE TABLE table_20688030_1 (mccain_number VARCHAR, obama_percentage VARCHAR)[/INST]SELECT COUNT(mccain_number) FROM table_20688030_1 WHERE obama_percentage = "39.13%"</s>
CREATE TABLE table_17289224_1 (poles INTEGER, team_name VARCHAR)
SELECT MAX(poles) FROM table_17289224_1 WHERE team_name = "David Price Racing"
How many poles did David Price Racing win?
<s>[INST]How many poles did David Price Racing win? Context: CREATE TABLE table_17289224_1 (poles INTEGER, team_name VARCHAR)[/INST]SELECT MAX(poles) FROM table_17289224_1 WHERE team_name = "David Price Racing"</s>
CREATE TABLE table_19908313_2 (_number VARCHAR, listed_owner_s_ VARCHAR)
SELECT _number FROM table_19908313_2 WHERE listed_owner_s_ = "Stephen Germain"
What number truck is owned by Stephen Germain?
<s>[INST]What number truck is owned by Stephen Germain? Context: CREATE TABLE table_19908313_2 (_number VARCHAR, listed_owner_s_ VARCHAR)[/INST]SELECT _number FROM table_19908313_2 WHERE listed_owner_s_ = "Stephen Germain"</s>
CREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR)
SELECT COUNT(title) FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin"
What are all the title directed by reginald hudlin
<s>[INST]What are all the title directed by reginald hudlin Context: CREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(title) FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin"</s>
CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama"
At what time did the opponent Takaichi Hirayama have an event?
<s>[INST]At what time did the opponent Takaichi Hirayama have an event? Context: CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama"</s>
CREATE TABLE table_name_81 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_81 WHERE record = "4–0–0"
On what date was the record 4–0–0?
<s>[INST]On what date was the record 4–0–0? Context: CREATE TABLE table_name_81 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_81 WHERE record = "4–0–0"</s>
CREATE TABLE table_name_8 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_8 WHERE opponent_in_the_final = "silke meier"
In which tournament was Silke Meier the opponent in the final?
<s>[INST]In which tournament was Silke Meier the opponent in the final? Context: CREATE TABLE table_name_8 (tournament VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_8 WHERE opponent_in_the_final = "silke meier"</s>
CREATE TABLE table_name_36 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_36 WHERE date = "september 21, 2003"
What is the Attendance of the game September 21, 2003?
<s>[INST]What is the Attendance of the game September 21, 2003? Context: CREATE TABLE table_name_36 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_36 WHERE date = "september 21, 2003"</s>
CREATE TABLE table_11677100_15 (school VARCHAR, player VARCHAR)
SELECT school FROM table_11677100_15 WHERE player = "Jeff Malm"
What high school did Jeff Malm attend?
<s>[INST]What high school did Jeff Malm attend? Context: CREATE TABLE table_11677100_15 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_11677100_15 WHERE player = "Jeff Malm"</s>
CREATE TABLE table_name_81 (goals INTEGER, team VARCHAR, division VARCHAR)
SELECT AVG(goals) FROM table_name_81 WHERE team = "rah ahan" AND division < 1
What is the average Goals, when Team is "Rah Ahan", and when Division is less than 1?
<s>[INST]What is the average Goals, when Team is "Rah Ahan", and when Division is less than 1? Context: CREATE TABLE table_name_81 (goals INTEGER, team VARCHAR, division VARCHAR)[/INST]SELECT AVG(goals) FROM table_name_81 WHERE team = "rah ahan" AND division < 1</s>
CREATE TABLE table_name_6 (wireless_network VARCHAR, screen_type VARCHAR, internal_storage VARCHAR)
SELECT wireless_network FROM table_name_6 WHERE screen_type = "lcd" AND internal_storage = "4 gb"
Which wireless network did LCD displays with 4 GB of internal storage use?
<s>[INST]Which wireless network did LCD displays with 4 GB of internal storage use? Context: CREATE TABLE table_name_6 (wireless_network VARCHAR, screen_type VARCHAR, internal_storage VARCHAR)[/INST]SELECT wireless_network FROM table_name_6 WHERE screen_type = "lcd" AND internal_storage = "4 gb"</s>
CREATE TABLE table_name_28 (affiliation VARCHAR, mls_team VARCHAR, pick__number VARCHAR)
SELECT affiliation FROM table_name_28 WHERE mls_team = "metrostars" AND pick__number = 26
Tell me the affiliation for mls team of metrostars and pick number of 26
<s>[INST]Tell me the affiliation for mls team of metrostars and pick number of 26 Context: CREATE TABLE table_name_28 (affiliation VARCHAR, mls_team VARCHAR, pick__number VARCHAR)[/INST]SELECT affiliation FROM table_name_28 WHERE mls_team = "metrostars" AND pick__number = 26</s>