context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_1342256_33 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342256_33 WHERE incumbent = "Harold D. Cooley"
Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent?
<s>[INST]Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent? Context: CREATE TABLE table_1342256_33 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342256_33 WHERE incumbent = "Harold D. Cooley"</s>
CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_13456202_1 WHERE mascot = "Eagles"
What are the locations with an eagles macot?
<s>[INST]What are the locations with an eagles macot? Context: CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)[/INST]SELECT location FROM table_13456202_1 WHERE mascot = "Eagles"</s>
CREATE TABLE table_name_74 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_74 WHERE week = "wild card"
What was the result on the wild card?
<s>[INST]What was the result on the wild card? Context: CREATE TABLE table_name_74 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_74 WHERE week = "wild card"</s>
CREATE TABLE table_name_90 (record VARCHAR, nfl_recap VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_90 WHERE nfl_recap = "recap" AND opponent = "new england patriots"
What is the record for the game against the New England Patriots with a recap?
<s>[INST]What is the record for the game against the New England Patriots with a recap? Context: CREATE TABLE table_name_90 (record VARCHAR, nfl_recap VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_90 WHERE nfl_recap = "recap" AND opponent = "new england patriots"</s>
CREATE TABLE catalog_contents (Id VARCHAR)
SELECT COUNT(*) FROM catalog_contents
How many products are there in the records?
<s>[INST]How many products are there in the records? Context: CREATE TABLE catalog_contents (Id VARCHAR)[/INST]SELECT COUNT(*) FROM catalog_contents</s>
CREATE TABLE table_name_85 (transfer_window VARCHAR, ends VARCHAR, country VARCHAR, type VARCHAR)
SELECT transfer_window FROM table_name_85 WHERE country = "esp" AND type = "promoted" AND ends > 2010
What is the transfer window in esp with promoted type and more than 2010 ends?
<s>[INST]What is the transfer window in esp with promoted type and more than 2010 ends? Context: CREATE TABLE table_name_85 (transfer_window VARCHAR, ends VARCHAR, country VARCHAR, type VARCHAR)[/INST]SELECT transfer_window FROM table_name_85 WHERE country = "esp" AND type = "promoted" AND ends > 2010</s>
CREATE TABLE table_2941848_10 (network VARCHAR, year VARCHAR)
SELECT COUNT(network) FROM table_2941848_10 WHERE year = 2008
How many networks are listed when the year is 2008?
<s>[INST]How many networks are listed when the year is 2008? Context: CREATE TABLE table_2941848_10 (network VARCHAR, year VARCHAR)[/INST]SELECT COUNT(network) FROM table_2941848_10 WHERE year = 2008</s>
CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_73 WHERE player = "billy andrade"
What is the score for Billy Andrade?
<s>[INST]What is the score for Billy Andrade? Context: CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_73 WHERE player = "billy andrade"</s>
CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR)
SELECT reporters FROM table_22583466_5 WHERE year = 1977
Who were the reporters for the 1977 Belmont Stakes?
<s>[INST]Who were the reporters for the 1977 Belmont Stakes? Context: CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR)[/INST]SELECT reporters FROM table_22583466_5 WHERE year = 1977</s>
CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR, school VARCHAR)
SELECT MIN(pick) FROM table_name_99 WHERE position = "defensive back" AND school = "drake"
What's the lowest pick for a defensive back at Drake?
<s>[INST]What's the lowest pick for a defensive back at Drake? Context: CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR, school VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_99 WHERE position = "defensive back" AND school = "drake"</s>
CREATE TABLE table_name_28 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_28 WHERE venue = "wilderspool"
Which competition was at wilderspool?
<s>[INST]Which competition was at wilderspool? Context: CREATE TABLE table_name_28 (competition VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_28 WHERE venue = "wilderspool"</s>
CREATE TABLE table_name_94 (location VARCHAR, tournament VARCHAR)
SELECT location FROM table_name_94 WHERE tournament = "byron nelson golf classic"
What is the Location of the byron nelson golf classic?
<s>[INST]What is the Location of the byron nelson golf classic? Context: CREATE TABLE table_name_94 (location VARCHAR, tournament VARCHAR)[/INST]SELECT location FROM table_name_94 WHERE tournament = "byron nelson golf classic"</s>
CREATE TABLE table_25730123_2 (field_goals INTEGER, player VARCHAR)
SELECT MIN(field_goals) FROM table_25730123_2 WHERE player = "Frederick L. Conklin"
What were the least amount of field goals when Frederick L. Conklin played?
<s>[INST]What were the least amount of field goals when Frederick L. Conklin played? Context: CREATE TABLE table_25730123_2 (field_goals INTEGER, player VARCHAR)[/INST]SELECT MIN(field_goals) FROM table_25730123_2 WHERE player = "Frederick L. Conklin"</s>
CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR)
SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning"
What game has 28 points, and tampa bay lightning as the opponent?
<s>[INST]What game has 28 points, and tampa bay lightning as the opponent? Context: CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR)[/INST]SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning"</s>
CREATE TABLE table_18607260_6 (played INTEGER)
SELECT MIN(played) FROM table_18607260_6
Name the least played
<s>[INST]Name the least played Context: CREATE TABLE table_18607260_6 (played INTEGER)[/INST]SELECT MIN(played) FROM table_18607260_6</s>
CREATE TABLE table_name_21 (height__cm_ INTEGER, weight__kg_ VARCHAR, birthdate VARCHAR)
SELECT AVG(height__cm_) FROM table_name_21 WHERE weight__kg_ > 84 AND birthdate = "june 24, 1964"
What is the height of the player born on June 24, 1964, with a weight over 84 kg?
<s>[INST]What is the height of the player born on June 24, 1964, with a weight over 84 kg? Context: CREATE TABLE table_name_21 (height__cm_ INTEGER, weight__kg_ VARCHAR, birthdate VARCHAR)[/INST]SELECT AVG(height__cm_) FROM table_name_21 WHERE weight__kg_ > 84 AND birthdate = "june 24, 1964"</s>
CREATE TABLE table_name_69 (points INTEGER, season VARCHAR)
SELECT SUM(points) FROM table_name_69 WHERE season = 2007
What is total amount of points for the 2007 season?
<s>[INST]What is total amount of points for the 2007 season? Context: CREATE TABLE table_name_69 (points INTEGER, season VARCHAR)[/INST]SELECT SUM(points) FROM table_name_69 WHERE season = 2007</s>
CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR)
SELECT parliament FROM table_1889233_2 WHERE name = "Sylvia Lim Swee Lian"
Which parliament is sylvia lim swee lian?
<s>[INST]Which parliament is sylvia lim swee lian? Context: CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR)[/INST]SELECT parliament FROM table_1889233_2 WHERE name = "Sylvia Lim Swee Lian"</s>
CREATE TABLE table_name_50 (place INTEGER, televotes VARCHAR)
SELECT MIN(place) FROM table_name_50 WHERE televotes = 15424
What is the lowest Place, when Televotes is 15424?
<s>[INST]What is the lowest Place, when Televotes is 15424? Context: CREATE TABLE table_name_50 (place INTEGER, televotes VARCHAR)[/INST]SELECT MIN(place) FROM table_name_50 WHERE televotes = 15424</s>
CREATE TABLE table_28019988_5 (series__number INTEGER, production_code VARCHAR)
SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code = "BDF409"
What episode number of the series had a production code of bdf409?
<s>[INST]What episode number of the series had a production code of bdf409? Context: CREATE TABLE table_28019988_5 (series__number INTEGER, production_code VARCHAR)[/INST]SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code = "BDF409"</s>
CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, vacator VARCHAR)
SELECT reason_for_change FROM table_2417345_4 WHERE vacator = "George W. Greene (D)"
Name the reason for change when George W. Greene (D) was the vacator.
<s>[INST]Name the reason for change when George W. Greene (D) was the vacator. Context: CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, vacator VARCHAR)[/INST]SELECT reason_for_change FROM table_2417345_4 WHERE vacator = "George W. Greene (D)"</s>
CREATE TABLE table_22485543_1 (network VARCHAR, studio_host VARCHAR, ice_level_reporters VARCHAR)
SELECT network FROM table_22485543_1 WHERE studio_host = "Bob Costas" AND ice_level_reporters = "Darren Pang"
Which network has bob costas as the studio host and darren pang as the ice level reporters?
<s>[INST]Which network has bob costas as the studio host and darren pang as the ice level reporters? Context: CREATE TABLE table_22485543_1 (network VARCHAR, studio_host VARCHAR, ice_level_reporters VARCHAR)[/INST]SELECT network FROM table_22485543_1 WHERE studio_host = "Bob Costas" AND ice_level_reporters = "Darren Pa...
CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_22334183_3 WHERE circuit = "Donington Park"
When was the circuit Donington Park?
<s>[INST]When was the circuit Donington Park? Context: CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_22334183_3 WHERE circuit = "Donington Park"</s>
CREATE TABLE table_name_11 (year INTEGER, event VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_11 WHERE event = "team" AND venue = "vilamoura, portugal"
What is the earliest year that a team event was included at Vilamoura, Portugal?
<s>[INST]What is the earliest year that a team event was included at Vilamoura, Portugal? Context: CREATE TABLE table_name_11 (year INTEGER, event VARCHAR, venue VARCHAR)[/INST]SELECT MIN(year) FROM table_name_11 WHERE event = "team" AND venue = "vilamoura, portugal"</s>
CREATE TABLE table_name_59 (points_against VARCHAR, tries_for VARCHAR)
SELECT points_against FROM table_name_59 WHERE tries_for = "41"
How many points against when 41 is the tries for?
<s>[INST]How many points against when 41 is the tries for? Context: CREATE TABLE table_name_59 (points_against VARCHAR, tries_for VARCHAR)[/INST]SELECT points_against FROM table_name_59 WHERE tries_for = "41"</s>
CREATE TABLE table_name_88 (founded INTEGER, joined INTEGER)
SELECT AVG(founded) FROM table_name_88 WHERE joined < 2008
Name the average founded with joined less than 2008
<s>[INST]Name the average founded with joined less than 2008 Context: CREATE TABLE table_name_88 (founded INTEGER, joined INTEGER)[/INST]SELECT AVG(founded) FROM table_name_88 WHERE joined < 2008</s>
CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR)
SELECT country FROM table_name_39 WHERE transfer_fee = "—" AND transfer_window = "summer" AND status = "loaned out" AND name = "gonzález"
What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález?
<s>[INST]What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález? Context: CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR)[/INST]SELECT country FROM table_name_39 WHERE transfer_...
CREATE TABLE table_name_74 (Id VARCHAR)
SELECT 1997 FROM table_name_74 WHERE 2002 = "sf"
Which 1997 has sf as the 2002?
<s>[INST]Which 1997 has sf as the 2002? Context: CREATE TABLE table_name_74 (Id VARCHAR)[/INST]SELECT 1997 FROM table_name_74 WHERE 2002 = "sf"</s>
CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR)
SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead"
what is the wind speed when brenda morehead was in the united states?
<s>[INST]what is the wind speed when brenda morehead was in the united states? Context: CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR)[/INST]SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead"</s>
CREATE TABLE table_name_10 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT SUM(week) FROM table_name_10 WHERE opponent = "tampa bay buccaneers" AND attendance < 44 OFFSET 506
In what Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance?
<s>[INST]In what Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance? Context: CREATE TABLE table_name_10 (week INTEGER, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT SUM(week) FROM table_name_10 WHERE opponent = "tampa bay buccaneers" AND attendance < 44 OFFSET 506</s>
CREATE TABLE table_name_85 (european_competitions VARCHAR, pos VARCHAR)
SELECT european_competitions FROM table_name_85 WHERE pos = 6
Which European competitions have a Pos of 6?
<s>[INST]Which European competitions have a Pos of 6? Context: CREATE TABLE table_name_85 (european_competitions VARCHAR, pos VARCHAR)[/INST]SELECT european_competitions FROM table_name_85 WHERE pos = 6</s>
CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Piret Hamer Helen Reino"
WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?
<s>[INST]WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO? Context: CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)[/INST]SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Piret Hamer Helen Reino"</s>
CREATE TABLE table_name_69 (final_year INTEGER, north_or_east_terminus VARCHAR)
SELECT MIN(final_year) FROM table_name_69 WHERE north_or_east_terminus = "covington"
What is the most minimal Final year that has a North or east end of covington?
<s>[INST]What is the most minimal Final year that has a North or east end of covington? Context: CREATE TABLE table_name_69 (final_year INTEGER, north_or_east_terminus VARCHAR)[/INST]SELECT MIN(final_year) FROM table_name_69 WHERE north_or_east_terminus = "covington"</s>
CREATE TABLE table_name_57 (launch_date_time__utc_ VARCHAR, payload VARCHAR)
SELECT launch_date_time__utc_ FROM table_name_57 WHERE payload = "gsat-4"
Tell me the launch date/time for payload of gsat-4
<s>[INST]Tell me the launch date/time for payload of gsat-4 Context: CREATE TABLE table_name_57 (launch_date_time__utc_ VARCHAR, payload VARCHAR)[/INST]SELECT launch_date_time__utc_ FROM table_name_57 WHERE payload = "gsat-4"</s>
CREATE TABLE table_name_57 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_57 WHERE date = "22 august 2006"
Which surface has a Date of 22 august 2006?
<s>[INST]Which surface has a Date of 22 august 2006? Context: CREATE TABLE table_name_57 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_57 WHERE date = "22 august 2006"</s>
CREATE TABLE table_name_74 (county VARCHAR, geo_id VARCHAR, latitude VARCHAR, ansi_code VARCHAR)
SELECT county FROM table_name_74 WHERE latitude > 48.581299 AND ansi_code > 1037103 AND geo_id = 3801985060
what is the county when the latitude is more than 48.581299, ansi code is more than 1037103 and the geo id is 3801985060?
<s>[INST]what is the county when the latitude is more than 48.581299, ansi code is more than 1037103 and the geo id is 3801985060? Context: CREATE TABLE table_name_74 (county VARCHAR, geo_id VARCHAR, latitude VARCHAR, ansi_code VARCHAR)[/INST]SELECT county FROM table_name_74 WHERE latitude > 48.581299 AND ansi_code > 1...
CREATE TABLE table_name_20 (plural_word VARCHAR, singular_word VARCHAR)
SELECT plural_word FROM table_name_20 WHERE singular_word = "hand"
The singular word of hand uses what plural word?
<s>[INST]The singular word of hand uses what plural word? Context: CREATE TABLE table_name_20 (plural_word VARCHAR, singular_word VARCHAR)[/INST]SELECT plural_word FROM table_name_20 WHERE singular_word = "hand"</s>
CREATE TABLE table_name_43 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR)
SELECT country FROM table_name_43 WHERE class = "15 meters" AND qualifying_grand_prix = "soaring grand prix of united kingdom"
What is Country, when Class is "15 meters", and when Qualifying Grand Prix is "Soaring Grand Prix Of United Kingdom"?
<s>[INST]What is Country, when Class is "15 meters", and when Qualifying Grand Prix is "Soaring Grand Prix Of United Kingdom"? Context: CREATE TABLE table_name_43 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR)[/INST]SELECT country FROM table_name_43 WHERE class = "15 meters" AND qualifying_grand_prix =...
CREATE TABLE table_name_10 (others VARCHAR, szdsz VARCHAR, fidesz VARCHAR)
SELECT others FROM table_name_10 WHERE szdsz = "4%" AND fidesz = "60%"
What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?
<s>[INST]What percentage of others have an SZDSZ of 4% and a Fidesz of 60%? Context: CREATE TABLE table_name_10 (others VARCHAR, szdsz VARCHAR, fidesz VARCHAR)[/INST]SELECT others FROM table_name_10 WHERE szdsz = "4%" AND fidesz = "60%"</s>
CREATE TABLE table_25773116_2 (location VARCHAR, round VARCHAR)
SELECT location FROM table_25773116_2 WHERE round = 1
Where was the round 1 race?
<s>[INST]Where was the round 1 race? Context: CREATE TABLE table_25773116_2 (location VARCHAR, round VARCHAR)[/INST]SELECT location FROM table_25773116_2 WHERE round = 1</s>
CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR)
SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176
What is the total number of Area (km²), when Population (2007) is 6,176?
<s>[INST]What is the total number of Area (km²), when Population (2007) is 6,176? Context: CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR)[/INST]SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176</s>
CREATE TABLE table_2668367_21 (party VARCHAR, district VARCHAR)
SELECT party FROM table_2668367_21 WHERE district = "Virginia 12"
Name the party for virginia 12
<s>[INST]Name the party for virginia 12 Context: CREATE TABLE table_2668367_21 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_2668367_21 WHERE district = "Virginia 12"</s>
CREATE TABLE table_name_25 (score VARCHAR, decision VARCHAR, record VARCHAR)
SELECT score FROM table_name_25 WHERE decision = "peeters" AND record = "29–3–11"
What was the score of the game with a decision of Peeters and a record of 29–3–11?
<s>[INST]What was the score of the game with a decision of Peeters and a record of 29–3–11? Context: CREATE TABLE table_name_25 (score VARCHAR, decision VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_25 WHERE decision = "peeters" AND record = "29–3–11"</s>
CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_65 WHERE player = "bo bae song"
What country does Bo Bae Song play for?
<s>[INST]What country does Bo Bae Song play for? Context: CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_65 WHERE player = "bo bae song"</s>
CREATE TABLE table_26681728_1 (rank_final INTEGER, apparatus VARCHAR)
SELECT MAX(rank_final) FROM table_26681728_1 WHERE apparatus = "Floor Exercise"
What was the maximum rank-final score on the floor exercise?
<s>[INST]What was the maximum rank-final score on the floor exercise? Context: CREATE TABLE table_26681728_1 (rank_final INTEGER, apparatus VARCHAR)[/INST]SELECT MAX(rank_final) FROM table_26681728_1 WHERE apparatus = "Floor Exercise"</s>
CREATE TABLE table_name_68 (pos VARCHAR, team VARCHAR)
SELECT pos FROM table_name_68 WHERE team = "germian racing"
Which Pos has a Team of germian racing?
<s>[INST]Which Pos has a Team of germian racing? Context: CREATE TABLE table_name_68 (pos VARCHAR, team VARCHAR)[/INST]SELECT pos FROM table_name_68 WHERE team = "germian racing"</s>
CREATE TABLE table_name_83 (nationality VARCHAR, date VARCHAR)
SELECT nationality FROM table_name_83 WHERE date = "6 july 1942"
Name Nationality is on 6 july 1942?
<s>[INST]Name Nationality is on 6 july 1942? Context: CREATE TABLE table_name_83 (nationality VARCHAR, date VARCHAR)[/INST]SELECT nationality FROM table_name_83 WHERE date = "6 july 1942"</s>
CREATE TABLE table_name_22 (grid VARCHAR, team VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter"
What is the grid of driver tomas scheckter from vision racing team?
<s>[INST]What is the grid of driver tomas scheckter from vision racing team? Context: CREATE TABLE table_name_22 (grid VARCHAR, team VARCHAR, driver VARCHAR)[/INST]SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter"</s>
CREATE TABLE table_11703336_1 (cpu VARCHAR, year_released VARCHAR)
SELECT cpu FROM table_11703336_1 WHERE year_released = "1993"
What is the cpu of the calculator released in 1993?
<s>[INST]What is the cpu of the calculator released in 1993? Context: CREATE TABLE table_11703336_1 (cpu VARCHAR, year_released VARCHAR)[/INST]SELECT cpu FROM table_11703336_1 WHERE year_released = "1993"</s>
CREATE TABLE table_name_78 (driver VARCHAR, constructor VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_78 WHERE constructor = "ferrari" AND grid < 3
Which driver drove a Ferrari in the 2007 European Grand Prix with a grid less than 3?
<s>[INST]Which driver drove a Ferrari in the 2007 European Grand Prix with a grid less than 3? Context: CREATE TABLE table_name_78 (driver VARCHAR, constructor VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_78 WHERE constructor = "ferrari" AND grid < 3</s>
CREATE TABLE table_16724844_1 (mens_40 VARCHAR, mens_u20 VARCHAR)
SELECT mens_40 FROM table_16724844_1 WHERE mens_u20 = "Southern Suns def Gold Coast Sharks"
What were the results for mens 40 when the mens u20 was Southern Suns def Gold Coast Sharks?
<s>[INST]What were the results for mens 40 when the mens u20 was Southern Suns def Gold Coast Sharks? Context: CREATE TABLE table_16724844_1 (mens_40 VARCHAR, mens_u20 VARCHAR)[/INST]SELECT mens_40 FROM table_16724844_1 WHERE mens_u20 = "Southern Suns def Gold Coast Sharks"</s>
CREATE TABLE table_1341865_20 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1341865_20 WHERE district = "Louisiana 7"
Who was the winner in the Louisiana 7 district?
<s>[INST]Who was the winner in the Louisiana 7 district? Context: CREATE TABLE table_1341865_20 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341865_20 WHERE district = "Louisiana 7"</s>
CREATE TABLE table_name_38 (country VARCHAR, builder VARCHAR)
SELECT country FROM table_name_38 WHERE builder = "sheerness dockyard"
What is Country, when Builder is "Sheerness Dockyard"?
<s>[INST]What is Country, when Builder is "Sheerness Dockyard"? Context: CREATE TABLE table_name_38 (country VARCHAR, builder VARCHAR)[/INST]SELECT country FROM table_name_38 WHERE builder = "sheerness dockyard"</s>
CREATE TABLE table_name_53 (seating VARCHAR, diagram_no VARCHAR, type VARCHAR)
SELECT seating FROM table_name_53 WHERE diagram_no > 516 AND type = "driving motor brake second (dmbs)"
Which vehicle has a Diagram of 516 or smaller, and a driving motor brake second (dmbs) type.
<s>[INST]Which vehicle has a Diagram of 516 or smaller, and a driving motor brake second (dmbs) type. Context: CREATE TABLE table_name_53 (seating VARCHAR, diagram_no VARCHAR, type VARCHAR)[/INST]SELECT seating FROM table_name_53 WHERE diagram_no > 516 AND type = "driving motor brake second (dmbs)"</s>
CREATE TABLE table_name_57 (date VARCHAR, home VARCHAR, record VARCHAR)
SELECT date FROM table_name_57 WHERE home = "chicago black hawks" AND record = "0–1"
When is Home of chicago black hawks has a Record of 0–1?
<s>[INST]When is Home of chicago black hawks has a Record of 0–1? Context: CREATE TABLE table_name_57 (date VARCHAR, home VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_57 WHERE home = "chicago black hawks" AND record = "0–1"</s>
CREATE TABLE table_16046689_29 (conference_matchups VARCHAR, date VARCHAR, bowl_game VARCHAR)
SELECT conference_matchups FROM table_16046689_29 WHERE date = "January 1, 2009" AND bowl_game = "Capital One"
What teams played in the Capital One bowl game on January 1, 2009?
<s>[INST]What teams played in the Capital One bowl game on January 1, 2009? Context: CREATE TABLE table_16046689_29 (conference_matchups VARCHAR, date VARCHAR, bowl_game VARCHAR)[/INST]SELECT conference_matchups FROM table_16046689_29 WHERE date = "January 1, 2009" AND bowl_game = "Capital One"</s>
CREATE TABLE table_name_95 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_name_95 WHERE district = "colorado 4"
Who is the incumbent for the Colorado 4 district?
<s>[INST]Who is the incumbent for the Colorado 4 district? Context: CREATE TABLE table_name_95 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_name_95 WHERE district = "colorado 4"</s>
CREATE TABLE table_name_9 (first_district VARCHAR, fifth_district VARCHAR)
SELECT first_district FROM table_name_9 WHERE fifth_district = "prudy adam"
Who's the First District with a Fifth District of prudy adam?
<s>[INST]Who's the First District with a Fifth District of prudy adam? Context: CREATE TABLE table_name_9 (first_district VARCHAR, fifth_district VARCHAR)[/INST]SELECT first_district FROM table_name_9 WHERE fifth_district = "prudy adam"</s>
CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT result FROM table_name_32 WHERE competition = "2006 fifa world cup qualifier" AND venue = "warner park sporting complex, bassaterre"
What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre?
<s>[INST]What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre? Context: CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_32 WHERE competition = "2006 fifa world cup qualif...
CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Louisville"
Where was the tourney when Louisville won the regular season?
<s>[INST]Where was the tourney when Louisville won the regular season? Context: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)[/INST]SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Louisville"</s>
CREATE TABLE table_25594271_2 (yacht VARCHAR, loa__metres_ VARCHAR)
SELECT yacht FROM table_25594271_2 WHERE loa__metres_ = "13.34"
What yacht had LOA Metres of 13.34?
<s>[INST]What yacht had LOA Metres of 13.34? Context: CREATE TABLE table_25594271_2 (yacht VARCHAR, loa__metres_ VARCHAR)[/INST]SELECT yacht FROM table_25594271_2 WHERE loa__metres_ = "13.34"</s>
CREATE TABLE TRANSACTIONS (investor_id VARCHAR)
SELECT investor_id, COUNT(*) FROM TRANSACTIONS GROUP BY investor_id
Show the number of transactions for different investors.
<s>[INST]Show the number of transactions for different investors. Context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR)[/INST]SELECT investor_id, COUNT(*) FROM TRANSACTIONS GROUP BY investor_id</s>
CREATE TABLE table_29436238_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_29436238_1 WHERE no_in_season = 4
What date did episode 4 in the season originally air?
<s>[INST]What date did episode 4 in the season originally air? Context: CREATE TABLE table_29436238_1 (original_air_date VARCHAR, no_in_season VARCHAR)[/INST]SELECT original_air_date FROM table_29436238_1 WHERE no_in_season = 4</s>
CREATE TABLE table_20345624_2 (original_airdate VARCHAR, director VARCHAR)
SELECT original_airdate FROM table_20345624_2 WHERE director = "Guy Verney"
Name the original airdate for guy verney
<s>[INST]Name the original airdate for guy verney Context: CREATE TABLE table_20345624_2 (original_airdate VARCHAR, director VARCHAR)[/INST]SELECT original_airdate FROM table_20345624_2 WHERE director = "Guy Verney"</s>
CREATE TABLE table_27069503_2 (coach VARCHAR, overall VARCHAR)
SELECT coach FROM table_27069503_2 WHERE overall = "20-6-2"
Who was the coach of the Pandas when their overall record was 20-6-2?
<s>[INST]Who was the coach of the Pandas when their overall record was 20-6-2? Context: CREATE TABLE table_27069503_2 (coach VARCHAR, overall VARCHAR)[/INST]SELECT coach FROM table_27069503_2 WHERE overall = "20-6-2"</s>
CREATE TABLE table_1805919_1 (transcription__based_on_pinyin_ VARCHAR, english_translation VARCHAR)
SELECT transcription__based_on_pinyin_ FROM table_1805919_1 WHERE english_translation = "Alas for the Days Gone By"
What is the Pinyin transcription for "Alas for the Days Gone By"?
<s>[INST]What is the Pinyin transcription for "Alas for the Days Gone By"? Context: CREATE TABLE table_1805919_1 (transcription__based_on_pinyin_ VARCHAR, english_translation VARCHAR)[/INST]SELECT transcription__based_on_pinyin_ FROM table_1805919_1 WHERE english_translation = "Alas for the Days Gone By"</s>
CREATE TABLE table_name_60 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT city_of_license FROM table_name_60 WHERE frequency_mhz = 102.3 AND erp_w < 1 OFFSET 000
In which city is the station licensed whose frequency MHz is higher than 102.3 and the ERP W is lower than 1,000?
<s>[INST]In which city is the station licensed whose frequency MHz is higher than 102.3 and the ERP W is lower than 1,000? Context: CREATE TABLE table_name_60 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)[/INST]SELECT city_of_license FROM table_name_60 WHERE frequency_mhz = 102.3 AND erp_w < 1 OFFSET ...
CREATE TABLE table_name_38 (losses INTEGER, scored VARCHAR, draws VARCHAR)
SELECT MIN(losses) FROM table_name_38 WHERE scored > 13 AND draws > 7
What are the lowest losses with more than 13 scored, and more than 7 draws?
<s>[INST]What are the lowest losses with more than 13 scored, and more than 7 draws? Context: CREATE TABLE table_name_38 (losses INTEGER, scored VARCHAR, draws VARCHAR)[/INST]SELECT MIN(losses) FROM table_name_38 WHERE scored > 13 AND draws > 7</s>
CREATE TABLE table_1847523_2 (station VARCHAR, city_of_license__market VARCHAR)
SELECT station FROM table_1847523_2 WHERE city_of_license__market = "Cincinnati"
What are all the stations with a license in Cincinnati?
<s>[INST]What are all the stations with a license in Cincinnati? Context: CREATE TABLE table_1847523_2 (station VARCHAR, city_of_license__market VARCHAR)[/INST]SELECT station FROM table_1847523_2 WHERE city_of_license__market = "Cincinnati"</s>
CREATE TABLE table_22839669_12 (year INTEGER, money_list_rank VARCHAR)
SELECT MIN(year) FROM table_22839669_12 WHERE money_list_rank = 3
In what year was his money list rank 3?
<s>[INST]In what year was his money list rank 3? Context: CREATE TABLE table_22839669_12 (year INTEGER, money_list_rank VARCHAR)[/INST]SELECT MIN(year) FROM table_22839669_12 WHERE money_list_rank = 3</s>
CREATE TABLE table_16025095_1 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_16025095_1 WHERE date = "January 24, 1987"
What was the minimum crowd on January 24, 1987?
<s>[INST]What was the minimum crowd on January 24, 1987? Context: CREATE TABLE table_16025095_1 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_16025095_1 WHERE date = "January 24, 1987"</s>
CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_41 WHERE away_team = "kwong wah"
What is the home team when kwong wah was the away team?
<s>[INST]What is the home team when kwong wah was the away team? Context: CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_41 WHERE away_team = "kwong wah"</s>
CREATE TABLE table_name_63 (region VARCHAR, districts VARCHAR, capital VARCHAR)
SELECT region FROM table_name_63 WHERE districts = 3 AND capital = "chepén"
What is the region for Chepén with 3 districts?
<s>[INST]What is the region for Chepén with 3 districts? Context: CREATE TABLE table_name_63 (region VARCHAR, districts VARCHAR, capital VARCHAR)[/INST]SELECT region FROM table_name_63 WHERE districts = 3 AND capital = "chepén"</s>
CREATE TABLE table_name_61 (bronze INTEGER, rank VARCHAR)
SELECT MAX(bronze) FROM table_name_61 WHERE rank = "19"
What is the largest number for bronze with a rank of 19?
<s>[INST]What is the largest number for bronze with a rank of 19? Context: CREATE TABLE table_name_61 (bronze INTEGER, rank VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_61 WHERE rank = "19"</s>
CREATE TABLE table_name_78 (home_town VARCHAR, senator VARCHAR)
SELECT home_town FROM table_name_78 WHERE senator = "dan shelley"
Which Home Town has a Senator of dan shelley?
<s>[INST]Which Home Town has a Senator of dan shelley? Context: CREATE TABLE table_name_78 (home_town VARCHAR, senator VARCHAR)[/INST]SELECT home_town FROM table_name_78 WHERE senator = "dan shelley"</s>
CREATE TABLE table_23575917_4 (lees_team VARCHAR, episode VARCHAR)
SELECT lees_team FROM table_23575917_4 WHERE episode = "4x04"
Who is the Lees Team for episode 4x04?
<s>[INST]Who is the Lees Team for episode 4x04? Context: CREATE TABLE table_23575917_4 (lees_team VARCHAR, episode VARCHAR)[/INST]SELECT lees_team FROM table_23575917_4 WHERE episode = "4x04"</s>
CREATE TABLE table_name_74 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT score FROM table_name_74 WHERE money___$__ = "9,000" AND player = "leonard thompson"
What score did Leonard Thompson have when he won $9,000?
<s>[INST]What score did Leonard Thompson have when he won $9,000? Context: CREATE TABLE table_name_74 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_74 WHERE money___$__ = "9,000" AND player = "leonard thompson"</s>
CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR, opponent VARCHAR)
SELECT COUNT(year) FROM table_name_71 WHERE venue = "sydney cricket ground" AND opponent = "parramatta eels"
What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels?
<s>[INST]What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels? Context: CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_71 WHERE venue = "sydney cricket ground" AND opponent = "parramatta eels"</s>
CREATE TABLE table_name_36 (games VARCHAR, rebounds VARCHAR, rank VARCHAR)
SELECT games FROM table_name_36 WHERE rebounds < 270 AND rank < 5
Which game had less than 270 rebounds and a rank lower than 5?
<s>[INST]Which game had less than 270 rebounds and a rank lower than 5? Context: CREATE TABLE table_name_36 (games VARCHAR, rebounds VARCHAR, rank VARCHAR)[/INST]SELECT games FROM table_name_36 WHERE rebounds < 270 AND rank < 5</s>
CREATE TABLE table_name_28 (japanese VARCHAR, chinese VARCHAR)
SELECT japanese FROM table_name_28 WHERE chinese = "叉焼"
What are the Japanese characters for the Chinese word 叉焼?
<s>[INST]What are the Japanese characters for the Chinese word 叉焼? Context: CREATE TABLE table_name_28 (japanese VARCHAR, chinese VARCHAR)[/INST]SELECT japanese FROM table_name_28 WHERE chinese = "叉焼"</s>
CREATE TABLE table_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR)
SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = "57.7%"
What is the percentage of others when McCain is at 57.7%
<s>[INST]What is the percentage of others when McCain is at 57.7% Context: CREATE TABLE table_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR)[/INST]SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = "57.7%"</s>
CREATE TABLE table_29217650_1 (movies VARCHAR, december_25 VARCHAR)
SELECT movies FROM table_29217650_1 WHERE december_25 = "P3.2 million"
What film earmed p3.2 million on December 25?
<s>[INST]What film earmed p3.2 million on December 25? Context: CREATE TABLE table_29217650_1 (movies VARCHAR, december_25 VARCHAR)[/INST]SELECT movies FROM table_29217650_1 WHERE december_25 = "P3.2 million"</s>
CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR)
SELECT SUM(year) FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 0
What year was she on a 350cc class bike, ranked 16th, with over 0 wins?
<s>[INST]What year was she on a 350cc class bike, ranked 16th, with over 0 wins? Context: CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR)[/INST]SELECT SUM(year) FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 0</s>
CREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR)
SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (2)"
What is the lowest number of goals with 8 (2) w-leagues?
<s>[INST]What is the lowest number of goals with 8 (2) w-leagues? Context: CREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR)[/INST]SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (2)"</s>
CREATE TABLE table_name_82 (grand_prix VARCHAR, round VARCHAR)
SELECT grand_prix FROM table_name_82 WHERE round = 9
Which Grand Prix had 9 rounds?
<s>[INST]Which Grand Prix had 9 rounds? Context: CREATE TABLE table_name_82 (grand_prix VARCHAR, round VARCHAR)[/INST]SELECT grand_prix FROM table_name_82 WHERE round = 9</s>
CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_51 WHERE home_team = "melbourne"
During melbourne's home game, who was the away team?
<s>[INST]During melbourne's home game, who was the away team? Context: CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_51 WHERE home_team = "melbourne"</s>
CREATE TABLE table_name_77 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_77 WHERE away_team = "south melbourne"
What was the date of the game when the away team was south melbourne?
<s>[INST]What was the date of the game when the away team was south melbourne? Context: CREATE TABLE table_name_77 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE away_team = "south melbourne"</s>
CREATE TABLE table_name_6 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_6 WHERE college = "iowa state"
What Player is from Iowa State?
<s>[INST]What Player is from Iowa State? Context: CREATE TABLE table_name_6 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_6 WHERE college = "iowa state"</s>
CREATE TABLE table_name_53 (winning_score VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_53 WHERE date = "jul 27, 1997"
What is Winning Score, when Date is Jul 27, 1997?
<s>[INST]What is Winning Score, when Date is Jul 27, 1997? Context: CREATE TABLE table_name_53 (winning_score VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_53 WHERE date = "jul 27, 1997"</s>
CREATE TABLE table_name_43 (verb VARCHAR, proto_polynesian VARCHAR)
SELECT verb FROM table_name_43 WHERE proto_polynesian = "*mohe"
What is the verb for the Proto-Polynesian word *mohe?
<s>[INST]What is the verb for the Proto-Polynesian word *mohe? Context: CREATE TABLE table_name_43 (verb VARCHAR, proto_polynesian VARCHAR)[/INST]SELECT verb FROM table_name_43 WHERE proto_polynesian = "*mohe"</s>
CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_41 WHERE away_team = "carlton"
How many points did Carlton score?
<s>[INST]How many points did Carlton score? Context: CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_41 WHERE away_team = "carlton"</s>
CREATE TABLE table_22384475_1 (winner VARCHAR, margin VARCHAR)
SELECT winner FROM table_22384475_1 WHERE margin = "131 runs"
Who won the match when the margin was 131 runs?
<s>[INST]Who won the match when the margin was 131 runs? Context: CREATE TABLE table_22384475_1 (winner VARCHAR, margin VARCHAR)[/INST]SELECT winner FROM table_22384475_1 WHERE margin = "131 runs"</s>
CREATE TABLE table_name_26 (tournament VARCHAR)
SELECT tournament FROM table_name_26 WHERE 1984 = "1r"
Which Tournament has a 1984 of 1r?
<s>[INST]Which Tournament has a 1984 of 1r? Context: CREATE TABLE table_name_26 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_26 WHERE 1984 = "1r"</s>
CREATE TABLE table_name_83 (round INTEGER, overall VARCHAR)
SELECT MIN(round) FROM table_name_83 WHERE overall = 91
What round did the overall pick of 91 occur in the 1982 NFL draft?
<s>[INST]What round did the overall pick of 91 occur in the 1982 NFL draft? Context: CREATE TABLE table_name_83 (round INTEGER, overall VARCHAR)[/INST]SELECT MIN(round) FROM table_name_83 WHERE overall = 91</s>
CREATE TABLE table_27712702_8 (record VARCHAR, date VARCHAR)
SELECT record FROM table_27712702_8 WHERE date = "December 27"
What was the record on December 27?
<s>[INST]What was the record on December 27? Context: CREATE TABLE table_27712702_8 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_27712702_8 WHERE date = "December 27"</s>
CREATE TABLE table_name_86 (release_date INTEGER, music_label VARCHAR)
SELECT AVG(release_date) FROM table_name_86 WHERE music_label = "virgin"
What is the release date by Virgin?
<s>[INST]What is the release date by Virgin? Context: CREATE TABLE table_name_86 (release_date INTEGER, music_label VARCHAR)[/INST]SELECT AVG(release_date) FROM table_name_86 WHERE music_label = "virgin"</s>
CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR)
SELECT format FROM table_name_93 WHERE label = "toy's factory records"
Which Format has a Label of toy's factory records?
<s>[INST]Which Format has a Label of toy's factory records? Context: CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR)[/INST]SELECT format FROM table_name_93 WHERE label = "toy's factory records"</s>
CREATE TABLE instructor (ID VARCHAR); CREATE TABLE teaches (ID VARCHAR)
SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID
Find the names of all instructors who have taught some course and the course_id.
<s>[INST]Find the names of all instructors who have taught some course and the course_id. Context: CREATE TABLE instructor (ID VARCHAR); CREATE TABLE teaches (ID VARCHAR)[/INST]SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID</s>
CREATE TABLE table_name_44 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_44 WHERE score = "1-1"
What is the competition type when the score is 1-1?
<s>[INST]What is the competition type when the score is 1-1? Context: CREATE TABLE table_name_44 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_44 WHERE score = "1-1"</s>
CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)
SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id = T2.transaction_id GROUP BY T2.lot_id ORDER BY AVG(amount_of_transaction)
Show the average amount of transactions for different lots, ordered by average amount of transactions.
<s>[INST]Show the average amount of transactions for different lots, ordered by average amount of transactions. Context: CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)[/INST]SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 ...