context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_29598261_1 (year VARCHAR, name VARCHAR)
SELECT year FROM table_29598261_1 WHERE name = "Chris McNamara"
what year is chris mcnamara?
<s>[INST]what year is chris mcnamara? Context: CREATE TABLE table_29598261_1 (year VARCHAR, name VARCHAR)[/INST]SELECT year FROM table_29598261_1 WHERE name = "Chris McNamara"</s>
CREATE TABLE table_14948647_1 (bhofen_number1__rk_ VARCHAR, bhofen_number2__rk_ VARCHAR)
SELECT bhofen_number1__rk_ FROM table_14948647_1 WHERE bhofen_number2__rk_ = "231.2 (8)"
What was the Bhofen #1 score and rank for the player whose Bhofen #2 score and rank was 231.2 (8)?
<s>[INST]What was the Bhofen #1 score and rank for the player whose Bhofen #2 score and rank was 231.2 (8)? Context: CREATE TABLE table_14948647_1 (bhofen_number1__rk_ VARCHAR, bhofen_number2__rk_ VARCHAR)[/INST]SELECT bhofen_number1__rk_ FROM table_14948647_1 WHERE bhofen_number2__rk_ = "231.2 (8)"</s>
CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_36 WHERE venue = "gold coast convention centre"
Which date had a venue of the Gold Coast Convention Centre?
<s>[INST]Which date had a venue of the Gold Coast Convention Centre? Context: CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE venue = "gold coast convention centre"</s>
CREATE TABLE table_2668329_25 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_2668329_25 WHERE district = "Virginia 6"
Who is the incumbent in the Virginia 6 district?
<s>[INST]Who is the incumbent in the Virginia 6 district? Context: CREATE TABLE table_2668329_25 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_2668329_25 WHERE district = "Virginia 6"</s>
CREATE TABLE table_name_98 (result_f___a VARCHAR, opponents VARCHAR)
SELECT result_f___a FROM table_name_98 WHERE opponents = "leeds united"
hat is the Result F– A when they played against Leeds United?
<s>[INST]hat is the Result F– A when they played against Leeds United? Context: CREATE TABLE table_name_98 (result_f___a VARCHAR, opponents VARCHAR)[/INST]SELECT result_f___a FROM table_name_98 WHERE opponents = "leeds united"</s>
CREATE TABLE table_12164707_1 (mixed_doubles VARCHAR, mens_singles VARCHAR)
SELECT COUNT(mixed_doubles) FROM table_12164707_1 WHERE mens_singles = "Oliver Pongratz"
How many Mixed Doubles won when Oliver Pongratz won the Men's Singles?
<s>[INST]How many Mixed Doubles won when Oliver Pongratz won the Men's Singles? Context: CREATE TABLE table_12164707_1 (mixed_doubles VARCHAR, mens_singles VARCHAR)[/INST]SELECT COUNT(mixed_doubles) FROM table_12164707_1 WHERE mens_singles = "Oliver Pongratz"</s>
CREATE TABLE table_name_2 (film VARCHAR, date VARCHAR)
SELECT film FROM table_name_2 WHERE date = "22/3/06"
What film was awarded on 22/3/06?
<s>[INST]What film was awarded on 22/3/06? Context: CREATE TABLE table_name_2 (film VARCHAR, date VARCHAR)[/INST]SELECT film FROM table_name_2 WHERE date = "22/3/06"</s>
CREATE TABLE table_name_28 (date VARCHAR, serial VARCHAR)
SELECT date FROM table_name_28 WHERE serial = "11c"
Which date has serial of 11c?
<s>[INST]Which date has serial of 11c? Context: CREATE TABLE table_name_28 (date VARCHAR, serial VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE serial = "11c"</s>
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_17 WHERE venue = "junction oval"
What was the home team's score at junction oval?
<s>[INST]What was the home team's score at junction oval? Context: CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_17 WHERE venue = "junction oval"</s>
CREATE TABLE table_name_99 (position VARCHAR, height VARCHAR, current_club VARCHAR)
SELECT position FROM table_name_99 WHERE height = 2.06 AND current_club = "triumph lyubertsy"
What's the position of the player with a Height of 2.06 and club of Triumph Lyubertsy?
<s>[INST]What's the position of the player with a Height of 2.06 and club of Triumph Lyubertsy? Context: CREATE TABLE table_name_99 (position VARCHAR, height VARCHAR, current_club VARCHAR)[/INST]SELECT position FROM table_name_99 WHERE height = 2.06 AND current_club = "triumph lyubertsy"</s>
CREATE TABLE table_name_3 (mult VARCHAR, part_number_s_ VARCHAR, socket VARCHAR, voltage VARCHAR)
SELECT mult FROM table_name_3 WHERE socket = "fcbga1088" AND voltage = "1v" AND part_number_s_ = "nu80579ez600cnu80579ez600ct"
Socket of fcbga1088, and a Voltage of 1v, and a Part number(s) of nu80579ez600cnu80579ez600ct is what mult?
<s>[INST]Socket of fcbga1088, and a Voltage of 1v, and a Part number(s) of nu80579ez600cnu80579ez600ct is what mult? Context: CREATE TABLE table_name_3 (mult VARCHAR, part_number_s_ VARCHAR, socket VARCHAR, voltage VARCHAR)[/INST]SELECT mult FROM table_name_3 WHERE socket = "fcbga1088" AND voltage = "1v" AND part_numbe...
CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_93 WHERE date = "november 16"
What opponent did the Broncos play on November 16?
<s>[INST]What opponent did the Broncos play on November 16? Context: CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_93 WHERE date = "november 16"</s>
CREATE TABLE table_name_91 (games VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT games FROM table_name_91 WHERE drawn < 1 AND lost < 1
Which Games have a Drawn smaller than 1, and a Lost smaller than 1?
<s>[INST]Which Games have a Drawn smaller than 1, and a Lost smaller than 1? Context: CREATE TABLE table_name_91 (games VARCHAR, drawn VARCHAR, lost VARCHAR)[/INST]SELECT games FROM table_name_91 WHERE drawn < 1 AND lost < 1</s>
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_76 WHERE away_team = "hawthorn"
Which venue has a Away team of hawthorn?
<s>[INST]Which venue has a Away team of hawthorn? Context: CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_76 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_34 WHERE player = "jamie cooke"
What round did Jamie Cooke play in?
<s>[INST]What round did Jamie Cooke play in? Context: CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_34 WHERE player = "jamie cooke"</s>
CREATE TABLE table_name_67 (share INTEGER, viewers__m_ VARCHAR, timeslot_rank VARCHAR)
SELECT MIN(share) FROM table_name_67 WHERE viewers__m_ < 8.78 AND timeslot_rank < 4
What is the smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million?
<s>[INST]What is the smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million? Context: CREATE TABLE table_name_67 (share INTEGER, viewers__m_ VARCHAR, timeslot_rank VARCHAR)[/INST]SELECT MIN(share) FROM table_name_67 WHERE viewers__m_ < 8.78 AND timeslot_rank < 4</s>
CREATE TABLE table_name_7 (player VARCHAR, bowling_style VARCHAR)
SELECT player FROM table_name_7 WHERE bowling_style = "source:"
Who has a bowling style of source:?
<s>[INST]Who has a bowling style of source:? Context: CREATE TABLE table_name_7 (player VARCHAR, bowling_style VARCHAR)[/INST]SELECT player FROM table_name_7 WHERE bowling_style = "source:"</s>
CREATE TABLE table_name_96 (floors INTEGER, rank VARCHAR, name VARCHAR)
SELECT MAX(floors) FROM table_name_96 WHERE rank > 1 AND name = "conrad dubai"
What is the highest floors with rank greater than 1 in Conrad Dubai?
<s>[INST]What is the highest floors with rank greater than 1 in Conrad Dubai? Context: CREATE TABLE table_name_96 (floors INTEGER, rank VARCHAR, name VARCHAR)[/INST]SELECT MAX(floors) FROM table_name_96 WHERE rank > 1 AND name = "conrad dubai"</s>
CREATE TABLE table_23346303_5 (minutes INTEGER, rebounds VARCHAR)
SELECT MAX(minutes) FROM table_23346303_5 WHERE rebounds = 0
If the amount of rebounds is 0, what is the maximum minutes?
<s>[INST]If the amount of rebounds is 0, what is the maximum minutes? Context: CREATE TABLE table_23346303_5 (minutes INTEGER, rebounds VARCHAR)[/INST]SELECT MAX(minutes) FROM table_23346303_5 WHERE rebounds = 0</s>
CREATE TABLE table_name_86 (finalist VARCHAR, winner_and_score VARCHAR)
SELECT finalist FROM table_name_86 WHERE winner_and_score = "boris becker 7–6(3), 6–3, 3–6, 6–3"
Which Finalist has a Winner and score of boris becker 7–6(3), 6–3, 3–6, 6–3?
<s>[INST]Which Finalist has a Winner and score of boris becker 7–6(3), 6–3, 3–6, 6–3? Context: CREATE TABLE table_name_86 (finalist VARCHAR, winner_and_score VARCHAR)[/INST]SELECT finalist FROM table_name_86 WHERE winner_and_score = "boris becker 7–6(3), 6–3, 3–6, 6–3"</s>
CREATE TABLE table_name_34 (track VARCHAR, catalogue VARCHAR)
SELECT track FROM table_name_34 WHERE catalogue = "apbo 0280"
Tell me the track that has the catalogue of apbo 0280
<s>[INST]Tell me the track that has the catalogue of apbo 0280 Context: CREATE TABLE table_name_34 (track VARCHAR, catalogue VARCHAR)[/INST]SELECT track FROM table_name_34 WHERE catalogue = "apbo 0280"</s>
CREATE TABLE table_name_9 (venue VARCHAR, opponent VARCHAR)
SELECT venue FROM table_name_9 WHERE opponent = "wightlink raiders"
What is the venue of the match with the wightlink raiders as the opponent?
<s>[INST]What is the venue of the match with the wightlink raiders as the opponent? Context: CREATE TABLE table_name_9 (venue VARCHAR, opponent VARCHAR)[/INST]SELECT venue FROM table_name_9 WHERE opponent = "wightlink raiders"</s>
CREATE TABLE table_name_50 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_50 WHERE team_1 = "alajuelense"
What's the 1st leg of team 1 alajuelense?
<s>[INST]What's the 1st leg of team 1 alajuelense? Context: CREATE TABLE table_name_50 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_50 WHERE team_1 = "alajuelense"</s>
CREATE TABLE table_name_26 (record VARCHAR, week VARCHAR)
SELECT record FROM table_name_26 WHERE week = "9"
What was the record at week 9?
<s>[INST]What was the record at week 9? Context: CREATE TABLE table_name_26 (record VARCHAR, week VARCHAR)[/INST]SELECT record FROM table_name_26 WHERE week = "9"</s>
CREATE TABLE table_name_76 (attendance INTEGER, home_team VARCHAR)
SELECT MAX(attendance) FROM table_name_76 WHERE home_team = "bashley"
The game with Bashley as the home team had what maximum attendance?
<s>[INST]The game with Bashley as the home team had what maximum attendance? Context: CREATE TABLE table_name_76 (attendance INTEGER, home_team VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_76 WHERE home_team = "bashley"</s>
CREATE TABLE table_10577579_3 (current_conference VARCHAR, location VARCHAR)
SELECT current_conference FROM table_10577579_3 WHERE location = "Jackson, Mississippi"
Which conference is in Jackson, Mississippi?
<s>[INST]Which conference is in Jackson, Mississippi? Context: CREATE TABLE table_10577579_3 (current_conference VARCHAR, location VARCHAR)[/INST]SELECT current_conference FROM table_10577579_3 WHERE location = "Jackson, Mississippi"</s>
CREATE TABLE table_name_5 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT player FROM table_name_5 WHERE round > 2 AND pick > 83
Who is the player that has a round greater than 2 and a pick bigger than 83?
<s>[INST]Who is the player that has a round greater than 2 and a pick bigger than 83? Context: CREATE TABLE table_name_5 (player VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_5 WHERE round > 2 AND pick > 83</s>
CREATE TABLE table_name_23 (attendance INTEGER, record VARCHAR)
SELECT AVG(attendance) FROM table_name_23 WHERE record = "19-13"
What was the average attendance when the record was 19-13?
<s>[INST]What was the average attendance when the record was 19-13? Context: CREATE TABLE table_name_23 (attendance INTEGER, record VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_23 WHERE record = "19-13"</s>
CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT date FROM table_name_68 WHERE opponent = "leyton orient" AND venue = "away"
When was Leyton Orient an away team?
<s>[INST]When was Leyton Orient an away team? Context: CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE opponent = "leyton orient" AND venue = "away"</s>
CREATE TABLE table_name_8 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR)
SELECT gpu_model FROM table_name_8 WHERE frequency = "3.4 ghz" AND sspec_number = "sr00b(d2)"
what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)?
<s>[INST]what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)? Context: CREATE TABLE table_name_8 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR)[/INST]SELECT gpu_model FROM table_name_8 WHERE frequency = "3.4 ghz" AND sspec_number = "sr00b(d2)"</s>
CREATE TABLE country (Population VARCHAR, LifeExpectancy VARCHAR, Name VARCHAR)
SELECT Population, LifeExpectancy FROM country WHERE Name = "Brazil"
What are the population and life expectancies in Brazil?
<s>[INST]What are the population and life expectancies in Brazil? Context: CREATE TABLE country (Population VARCHAR, LifeExpectancy VARCHAR, Name VARCHAR)[/INST]SELECT Population, LifeExpectancy FROM country WHERE Name = "Brazil"</s>
CREATE TABLE movie (director VARCHAR, YEAR VARCHAR)
SELECT director FROM movie WHERE YEAR = 2000 INTERSECT SELECT director FROM movie WHERE YEAR = 1999
Show all director names who have a movie in both year 1999 and 2000.
<s>[INST]Show all director names who have a movie in both year 1999 and 2000. Context: CREATE TABLE movie (director VARCHAR, YEAR VARCHAR)[/INST]SELECT director FROM movie WHERE YEAR = 2000 INTERSECT SELECT director FROM movie WHERE YEAR = 1999</s>
CREATE TABLE CARS_DATA (Cylinders INTEGER)
SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 4
How many cars have more than 4 cylinders?
<s>[INST]How many cars have more than 4 cylinders? Context: CREATE TABLE CARS_DATA (Cylinders INTEGER)[/INST]SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 4</s>
CREATE TABLE table_name_24 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_24 WHERE tie_no < 7 AND away_team = "havant & waterlooville"
who is the home team when tie no is less than 7 and the away team is havant & waterlooville?
<s>[INST]who is the home team when tie no is less than 7 and the away team is havant & waterlooville? Context: CREATE TABLE table_name_24 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_24 WHERE tie_no < 7 AND away_team = "havant & waterlooville"</s>
CREATE TABLE table_1602620_1 (term_ended VARCHAR, elected VARCHAR)
SELECT term_ended FROM table_1602620_1 WHERE elected = 1984
What year did the term end for the office elected in 1984
<s>[INST]What year did the term end for the office elected in 1984 Context: CREATE TABLE table_1602620_1 (term_ended VARCHAR, elected VARCHAR)[/INST]SELECT term_ended FROM table_1602620_1 WHERE elected = 1984</s>
CREATE TABLE table_12451376_2 (title VARCHAR, season_2_ep__number VARCHAR)
SELECT title FROM table_12451376_2 WHERE season_2_ep__number = 1
Please give me the title of Season 2, episode 1.
<s>[INST]Please give me the title of Season 2, episode 1. Context: CREATE TABLE table_12451376_2 (title VARCHAR, season_2_ep__number VARCHAR)[/INST]SELECT title FROM table_12451376_2 WHERE season_2_ep__number = 1</s>
CREATE TABLE table_name_89 (constructor VARCHAR, tyre VARCHAR, pole_position VARCHAR)
SELECT constructor FROM table_name_89 WHERE tyre = "c" AND pole_position = "eugenio castellotti"
Who was the constructor when Eugenio Castellotti was the pole position and the race had a C tyre?
<s>[INST]Who was the constructor when Eugenio Castellotti was the pole position and the race had a C tyre? Context: CREATE TABLE table_name_89 (constructor VARCHAR, tyre VARCHAR, pole_position VARCHAR)[/INST]SELECT constructor FROM table_name_89 WHERE tyre = "c" AND pole_position = "eugenio castellotti"</s>
CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR)
SELECT SUM(rank) FROM table_name_30 WHERE goalkeeper = "pat onstad"
What is the sum of Rank when Pat Onstad was the goalkeeper?
<s>[INST]What is the sum of Rank when Pat Onstad was the goalkeeper? Context: CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_30 WHERE goalkeeper = "pat onstad"</s>
CREATE TABLE table_1427998_1 (division VARCHAR, year VARCHAR)
SELECT division FROM table_1427998_1 WHERE year = 2006
What is the division for the year 2006?
<s>[INST]What is the division for the year 2006? Context: CREATE TABLE table_1427998_1 (division VARCHAR, year VARCHAR)[/INST]SELECT division FROM table_1427998_1 WHERE year = 2006</s>
CREATE TABLE table_11552751_2 (total_number_of_ways VARCHAR)
SELECT 1 AS st_ship_delivery_date FROM table_11552751_2 WHERE total_number_of_ways = "12 ways"
When was the delevery date when there were 12 ways of delivery?
<s>[INST]When was the delevery date when there were 12 ways of delivery? Context: CREATE TABLE table_11552751_2 (total_number_of_ways VARCHAR)[/INST]SELECT 1 AS st_ship_delivery_date FROM table_11552751_2 WHERE total_number_of_ways = "12 ways"</s>
CREATE TABLE table_name_87 (prize__ INTEGER, race VARCHAR)
SELECT MIN(prize__) AS £k_ FROM table_name_87 WHERE race = "irish derby"
What is the lowest Prize amount for the Irish Derby Race?
<s>[INST]What is the lowest Prize amount for the Irish Derby Race? Context: CREATE TABLE table_name_87 (prize__ INTEGER, race VARCHAR)[/INST]SELECT MIN(prize__) AS £k_ FROM table_name_87 WHERE race = "irish derby"</s>
CREATE TABLE table_name_32 (type VARCHAR, opened_in VARCHAR, ride_name VARCHAR)
SELECT type FROM table_name_32 WHERE opened_in > 2000 AND ride_name = "peeking heights"
Which ride opened after the 2000 Peeking Heights?
<s>[INST]Which ride opened after the 2000 Peeking Heights? Context: CREATE TABLE table_name_32 (type VARCHAR, opened_in VARCHAR, ride_name VARCHAR)[/INST]SELECT type FROM table_name_32 WHERE opened_in > 2000 AND ride_name = "peeking heights"</s>
CREATE TABLE table_name_45 (international_mail INTEGER, change VARCHAR, domestic_mail VARCHAR)
SELECT MAX(international_mail) FROM table_name_45 WHERE change = "+0,2%" AND domestic_mail < 0
What is the international mail with the highest number that has a change of +0,2% and less than 0 domestic mail?
<s>[INST]What is the international mail with the highest number that has a change of +0,2% and less than 0 domestic mail? Context: CREATE TABLE table_name_45 (international_mail INTEGER, change VARCHAR, domestic_mail VARCHAR)[/INST]SELECT MAX(international_mail) FROM table_name_45 WHERE change = "+0,2%" AND domestic_ma...
CREATE TABLE table_name_61 (wins__outdoor_ INTEGER, wins__indoor_ VARCHAR, rank VARCHAR, wins__total_ VARCHAR)
SELECT AVG(wins__outdoor_) FROM table_name_61 WHERE rank > 4 AND wins__total_ < 3 AND wins__indoor_ > 0
Name the average wins outdoor with rank more than 4 and wins less than 3 with outdoor wins more than 0
<s>[INST]Name the average wins outdoor with rank more than 4 and wins less than 3 with outdoor wins more than 0 Context: CREATE TABLE table_name_61 (wins__outdoor_ INTEGER, wins__indoor_ VARCHAR, rank VARCHAR, wins__total_ VARCHAR)[/INST]SELECT AVG(wins__outdoor_) FROM table_name_61 WHERE rank > 4 AND wins__total_ < 3 ...
CREATE TABLE table_name_72 (category VARCHAR, nomination VARCHAR)
SELECT category FROM table_name_72 WHERE nomination = "danson tang"
What category was danson tang nominated?
<s>[INST]What category was danson tang nominated? Context: CREATE TABLE table_name_72 (category VARCHAR, nomination VARCHAR)[/INST]SELECT category FROM table_name_72 WHERE nomination = "danson tang"</s>
CREATE TABLE table_name_55 (contract_length VARCHAR, status VARCHAR)
SELECT contract_length FROM table_name_55 WHERE status = "rejected"
What is the contract length when rejected is the status?
<s>[INST]What is the contract length when rejected is the status? Context: CREATE TABLE table_name_55 (contract_length VARCHAR, status VARCHAR)[/INST]SELECT contract_length FROM table_name_55 WHERE status = "rejected"</s>
CREATE TABLE table_name_33 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_33 WHERE place = "t5" AND score = 71 - 68 - 76 = 215
What is the To par of the T5 Place Player with a Score of 71-68-76=215?
<s>[INST]What is the To par of the T5 Place Player with a Score of 71-68-76=215? Context: CREATE TABLE table_name_33 (to_par VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_33 WHERE place = "t5" AND score = 71 - 68 - 76 = 215</s>
CREATE TABLE table_name_7 (score_qualifying VARCHAR, score_final VARCHAR)
SELECT COUNT(score_qualifying) FROM table_name_7 WHERE score_final = 16.625
What is the sum of qualifying scores when the final score is 16.625?
<s>[INST]What is the sum of qualifying scores when the final score is 16.625? Context: CREATE TABLE table_name_7 (score_qualifying VARCHAR, score_final VARCHAR)[/INST]SELECT COUNT(score_qualifying) FROM table_name_7 WHERE score_final = 16.625</s>
CREATE TABLE table_name_53 (march VARCHAR, august VARCHAR)
SELECT march FROM table_name_53 WHERE august = "gianna amore"
Who is the March playmate with an August playmate Gianna Amore?
<s>[INST]Who is the March playmate with an August playmate Gianna Amore? Context: CREATE TABLE table_name_53 (march VARCHAR, august VARCHAR)[/INST]SELECT march FROM table_name_53 WHERE august = "gianna amore"</s>
CREATE TABLE SALES (sales_details VARCHAR, sales_transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_id VARCHAR, amount_of_transaction INTEGER)
SELECT T1.sales_details, T2.date_of_transaction FROM SALES AS T1 JOIN TRANSACTIONS AS T2 ON T1.sales_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction < 3000
What are the sale details and dates of transactions with amount smaller than 3000?
<s>[INST]What are the sale details and dates of transactions with amount smaller than 3000? Context: CREATE TABLE SALES (sales_details VARCHAR, sales_transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_id VARCHAR, amount_of_transaction INTEGER)[/INST]SELECT T1.sales_details, T2....
CREATE TABLE table_1341577_10 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_1341577_10 WHERE first_elected = 1980
what's result of first elected being 1980
<s>[INST]what's result of first elected being 1980 Context: CREATE TABLE table_1341577_10 (result VARCHAR, first_elected VARCHAR)[/INST]SELECT result FROM table_1341577_10 WHERE first_elected = 1980</s>
CREATE TABLE table_name_80 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_80 WHERE opponent = "dan bobish"
What was his result against dan bobish?
<s>[INST]What was his result against dan bobish? Context: CREATE TABLE table_name_80 (res VARCHAR, opponent VARCHAR)[/INST]SELECT res FROM table_name_80 WHERE opponent = "dan bobish"</s>
CREATE TABLE table_name_28 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_28 WHERE player = "mark o'meara"
What is the place of Mark O'Meara?
<s>[INST]What is the place of Mark O'Meara? Context: CREATE TABLE table_name_28 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_28 WHERE player = "mark o'meara"</s>
CREATE TABLE table_29141354_2 (first_broadcast VARCHAR, episode VARCHAR)
SELECT first_broadcast FROM table_29141354_2 WHERE episode = "02x02"
When was episode 02x02 first broadcast?
<s>[INST]When was episode 02x02 first broadcast? Context: CREATE TABLE table_29141354_2 (first_broadcast VARCHAR, episode VARCHAR)[/INST]SELECT first_broadcast FROM table_29141354_2 WHERE episode = "02x02"</s>
CREATE TABLE table_26460435_5 (heir VARCHAR, monarch VARCHAR)
SELECT heir FROM table_26460435_5 WHERE monarch = "Wareru"
Who was the heir when the monarch was Wareru?
<s>[INST]Who was the heir when the monarch was Wareru? Context: CREATE TABLE table_26460435_5 (heir VARCHAR, monarch VARCHAR)[/INST]SELECT heir FROM table_26460435_5 WHERE monarch = "Wareru"</s>
CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR)
SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE t2.Company_name = "Nokia Corporation" AND T1.Type <> "Text"
List the hardware model name for the phons that were produced by "Nokia Corporation" but whose screen mode type is not Text.
<s>[INST]List the hardware model name for the phons that were produced by "Nokia Corporation" but whose screen mode type is not Text. Context: CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR)[/INST]SELECT DISTINCT T2.Hardware_Model_nam...
CREATE TABLE park (park_id VARCHAR, city VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR)
SELECT COUNT(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2000 AND T2.city = 'Atlanta'
How many games were played in city Atlanta in 2000?
<s>[INST]How many games were played in city Atlanta in 2000? Context: CREATE TABLE park (park_id VARCHAR, city VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR)[/INST]SELECT COUNT(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2000 AND T2.city = 'Atlanta'</s>
CREATE TABLE table_name_50 (score VARCHAR, opponent_in_final VARCHAR, outcome VARCHAR, partnering VARCHAR)
SELECT score FROM table_name_50 WHERE outcome = "winner" AND partnering = "nicole sewell" AND opponent_in_final = "victoria davies / kate warne-holland"
What is Score, when Outcome is "winner", when Partnering is "Nicole Sewell", and when Opponent in Final is "Victoria Davies / Kate Warne-Holland"?
<s>[INST]What is Score, when Outcome is "winner", when Partnering is "Nicole Sewell", and when Opponent in Final is "Victoria Davies / Kate Warne-Holland"? Context: CREATE TABLE table_name_50 (score VARCHAR, opponent_in_final VARCHAR, outcome VARCHAR, partnering VARCHAR)[/INST]SELECT score FROM table_name_50 WHERE outc...
CREATE TABLE table_name_8 (couple VARCHAR, result VARCHAR, style VARCHAR)
SELECT couple FROM table_name_8 WHERE result = "safe" AND style = "lyrical jazz"
What couple had a safe result and a lyrical jazz style?
<s>[INST]What couple had a safe result and a lyrical jazz style? Context: CREATE TABLE table_name_8 (couple VARCHAR, result VARCHAR, style VARCHAR)[/INST]SELECT couple FROM table_name_8 WHERE result = "safe" AND style = "lyrical jazz"</s>
CREATE TABLE table_name_48 (position VARCHAR, year VARCHAR, competition VARCHAR)
SELECT position FROM table_name_48 WHERE year < 2008 AND competition = "european championships"
In which position did Iljuštšenko finish in the European Championships held prior to 2008?
<s>[INST]In which position did Iljuštšenko finish in the European Championships held prior to 2008? Context: CREATE TABLE table_name_48 (position VARCHAR, year VARCHAR, competition VARCHAR)[/INST]SELECT position FROM table_name_48 WHERE year < 2008 AND competition = "european championships"</s>
CREATE TABLE table_name_27 (years_for_grizzlies VARCHAR, player VARCHAR)
SELECT years_for_grizzlies FROM table_name_27 WHERE player = "zach randolph"
In which years did Zach Randolph play for the Grizzlies?
<s>[INST]In which years did Zach Randolph play for the Grizzlies? Context: CREATE TABLE table_name_27 (years_for_grizzlies VARCHAR, player VARCHAR)[/INST]SELECT years_for_grizzlies FROM table_name_27 WHERE player = "zach randolph"</s>
CREATE TABLE table_name_21 (goal_difference VARCHAR, drawn VARCHAR, team VARCHAR)
SELECT goal_difference FROM table_name_21 WHERE drawn > 10 AND team = "lancaster city"
Which Goal Difference has Drawn larger than 10, and a Team of lancaster city?
<s>[INST]Which Goal Difference has Drawn larger than 10, and a Team of lancaster city? Context: CREATE TABLE table_name_21 (goal_difference VARCHAR, drawn VARCHAR, team VARCHAR)[/INST]SELECT goal_difference FROM table_name_21 WHERE drawn > 10 AND team = "lancaster city"</s>
CREATE TABLE table_17088705_2 (swimsuit VARCHAR, interview VARCHAR)
SELECT swimsuit FROM table_17088705_2 WHERE interview = "9.366"
What are the swimsuit scores of participants with score 9.366 in interview
<s>[INST]What are the swimsuit scores of participants with score 9.366 in interview Context: CREATE TABLE table_17088705_2 (swimsuit VARCHAR, interview VARCHAR)[/INST]SELECT swimsuit FROM table_17088705_2 WHERE interview = "9.366"</s>
CREATE TABLE table_30121046_1 (area__acres__ INTEGER, townland VARCHAR)
SELECT MAX(area__acres__) FROM table_30121046_1 WHERE townland = "Knockacullen"
What is the maximum area (in acres) of the Knockacullen townland?
<s>[INST]What is the maximum area (in acres) of the Knockacullen townland? Context: CREATE TABLE table_30121046_1 (area__acres__ INTEGER, townland VARCHAR)[/INST]SELECT MAX(area__acres__) FROM table_30121046_1 WHERE townland = "Knockacullen"</s>
CREATE TABLE table_20906175_3 (touchdowns VARCHAR, qb_rating VARCHAR)
SELECT touchdowns FROM table_20906175_3 WHERE qb_rating = "66.6"
How many touchdowns were there with QB rating of 66.6?
<s>[INST]How many touchdowns were there with QB rating of 66.6? Context: CREATE TABLE table_20906175_3 (touchdowns VARCHAR, qb_rating VARCHAR)[/INST]SELECT touchdowns FROM table_20906175_3 WHERE qb_rating = "66.6"</s>
CREATE TABLE table_name_68 (team VARCHAR, head_coach VARCHAR)
SELECT team FROM table_name_68 WHERE head_coach = "steve beever"
Which team's Head Coach is Steve Beever?
<s>[INST]Which team's Head Coach is Steve Beever? Context: CREATE TABLE table_name_68 (team VARCHAR, head_coach VARCHAR)[/INST]SELECT team FROM table_name_68 WHERE head_coach = "steve beever"</s>
CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_17 WHERE place = "t5" AND score = 72 - 71 - 73 - 78 = 294
Which player placed in t5 and had a score of 72-71-73-78=294?
<s>[INST]Which player placed in t5 and had a score of 72-71-73-78=294? Context: CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_17 WHERE place = "t5" AND score = 72 - 71 - 73 - 78 = 294</s>
CREATE TABLE table_name_50 (captain_2 VARCHAR, result VARCHAR)
SELECT captain_2 FROM table_name_50 WHERE result = "final"
Which Captain 2 has a Result of final?
<s>[INST]Which Captain 2 has a Result of final? Context: CREATE TABLE table_name_50 (captain_2 VARCHAR, result VARCHAR)[/INST]SELECT captain_2 FROM table_name_50 WHERE result = "final"</s>
CREATE TABLE table_name_78 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_78 WHERE grid > 1 AND driver = "damon hill"
Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill?
<s>[INST]Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill? Context: CREATE TABLE table_name_78 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_78 WHERE grid > 1 AND driver = "damon hill"</s>
CREATE TABLE table_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR)
SELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155
What club is associated with draft number 155?
<s>[INST] What club is associated with draft number 155? Context: CREATE TABLE table_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR)[/INST]SELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155</s>
CREATE TABLE table_name_22 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_22 WHERE round = "qf replay"
Which Opponent has a Round of qf replay?
<s>[INST]Which Opponent has a Round of qf replay? Context: CREATE TABLE table_name_22 (opponent VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_22 WHERE round = "qf replay"</s>
CREATE TABLE table_name_46 (week INTEGER, date VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_46 WHERE date = "december 4, 1976" AND attendance < 57 OFFSET 366
Which December 4, 1976 week has an attendance less than 57,366?
<s>[INST]Which December 4, 1976 week has an attendance less than 57,366? Context: CREATE TABLE table_name_46 (week INTEGER, date VARCHAR, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_46 WHERE date = "december 4, 1976" AND attendance < 57 OFFSET 366</s>
CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_36 WHERE date = "7 june 2000"
Which Result has a Date of 7 june 2000?
<s>[INST]Which Result has a Date of 7 june 2000? Context: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_36 WHERE date = "7 june 2000"</s>
CREATE TABLE Professionals (email_address VARCHAR, state VARCHAR)
SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'
List the emails of the professionals who live in the state of Hawaii or the state of Wisconsin.
<s>[INST]List the emails of the professionals who live in the state of Hawaii or the state of Wisconsin. Context: CREATE TABLE Professionals (email_address VARCHAR, state VARCHAR)[/INST]SELECT email_address FROM Professionals WHERE state = 'Hawaii' OR state = 'Wisconsin'</s>
CREATE TABLE table_name_14 (away VARCHAR, home VARCHAR)
SELECT away FROM table_name_14 WHERE home = "marathon"
What is Away, when Home is "marathon"?
<s>[INST]What is Away, when Home is "marathon"? Context: CREATE TABLE table_name_14 (away VARCHAR, home VARCHAR)[/INST]SELECT away FROM table_name_14 WHERE home = "marathon"</s>
CREATE TABLE country (SurfaceArea INTEGER, Region VARCHAR)
SELECT SUM(SurfaceArea) FROM country WHERE Region = "Caribbean"
What is the total surface area of the countries in the Caribbean region?
<s>[INST]What is the total surface area of the countries in the Caribbean region? Context: CREATE TABLE country (SurfaceArea INTEGER, Region VARCHAR)[/INST]SELECT SUM(SurfaceArea) FROM country WHERE Region = "Caribbean"</s>
CREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_45 WHERE to_par = "+3" AND score = 73 - 70 - 73 = 216
What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?
<s>[INST]What is the Place of the Player with a To par of +3 and Score of 73-70-73=216? Context: CREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_45 WHERE to_par = "+3" AND score = 73 - 70 - 73 = 216</s>
CREATE TABLE table_name_72 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_72 WHERE date = "4 january 2004"
Name the attendance for 4 january 2004
<s>[INST]Name the attendance for 4 january 2004 Context: CREATE TABLE table_name_72 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_72 WHERE date = "4 january 2004"</s>
CREATE TABLE table_14342592_4 (points INTEGER, player VARCHAR)
SELECT MIN(points) FROM table_14342592_4 WHERE player = "Patrick"
Name the least points for patrick
<s>[INST]Name the least points for patrick Context: CREATE TABLE table_14342592_4 (points INTEGER, player VARCHAR)[/INST]SELECT MIN(points) FROM table_14342592_4 WHERE player = "Patrick"</s>
CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, rating INTEGER); CREATE TABLE song (artist_name VARCHAR, country VARCHAR, rating INTEGER)
SELECT DISTINCT artist_name FROM artist WHERE country = "Bangladesh" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 7
Find the names of the artists who are from Bangladesh and have never received rating higher than 7.
<s>[INST]Find the names of the artists who are from Bangladesh and have never received rating higher than 7. Context: CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, rating INTEGER); CREATE TABLE song (artist_name VARCHAR, country VARCHAR, rating INTEGER)[/INST]SELECT DISTINCT artist_name FROM artist WHERE c...
CREATE TABLE table_name_4 (venue VARCHAR, championships VARCHAR, established VARCHAR)
SELECT venue FROM table_name_4 WHERE championships = 1 AND established > 1957
What Venue has more than 1 Championship and was Established after 1957?
<s>[INST]What Venue has more than 1 Championship and was Established after 1957? Context: CREATE TABLE table_name_4 (venue VARCHAR, championships VARCHAR, established VARCHAR)[/INST]SELECT venue FROM table_name_4 WHERE championships = 1 AND established > 1957</s>
CREATE TABLE table_name_40 (south VARCHAR, west VARCHAR, east VARCHAR)
SELECT south FROM table_name_40 WHERE west = "tsv kottern" AND east = "ehf passau"
Who was in the South when TSV Kottern was in the West and EHF Passau was in the East?
<s>[INST]Who was in the South when TSV Kottern was in the West and EHF Passau was in the East? Context: CREATE TABLE table_name_40 (south VARCHAR, west VARCHAR, east VARCHAR)[/INST]SELECT south FROM table_name_40 WHERE west = "tsv kottern" AND east = "ehf passau"</s>
CREATE TABLE table_name_91 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_91 WHERE venue = "arden street oval"
Which Home team plays at the arden street oval Venue?
<s>[INST]Which Home team plays at the arden street oval Venue? Context: CREATE TABLE table_name_91 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_91 WHERE venue = "arden street oval"</s>
CREATE TABLE Restaurant (Rating VARCHAR, ResName VARCHAR)
SELECT Rating FROM Restaurant WHERE ResName = "Subway"
What is the rating of the restaurant Subway?
<s>[INST]What is the rating of the restaurant Subway? Context: CREATE TABLE Restaurant (Rating VARCHAR, ResName VARCHAR)[/INST]SELECT Rating FROM Restaurant WHERE ResName = "Subway"</s>
CREATE TABLE table_name_17 (silver INTEGER, total VARCHAR, rank VARCHAR)
SELECT MIN(silver) FROM table_name_17 WHERE total < 6 AND rank = "8"
Tell me the least silver for total less than 6 and rank of 8
<s>[INST]Tell me the least silver for total less than 6 and rank of 8 Context: CREATE TABLE table_name_17 (silver INTEGER, total VARCHAR, rank VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_17 WHERE total < 6 AND rank = "8"</s>
CREATE TABLE table_name_74 (player VARCHAR, round VARCHAR)
SELECT player FROM table_name_74 WHERE round = 7
Tell me the player for 7 round
<s>[INST]Tell me the player for 7 round Context: CREATE TABLE table_name_74 (player VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_74 WHERE round = 7</s>
CREATE TABLE table_name_73 (distance INTEGER, county VARCHAR, total VARCHAR)
SELECT SUM(distance) FROM table_name_73 WHERE county = "faulkner" AND total < 1.5
How much Distance has a County of faulkner, and a Total smaller than 1.5?
<s>[INST]How much Distance has a County of faulkner, and a Total smaller than 1.5? Context: CREATE TABLE table_name_73 (distance INTEGER, county VARCHAR, total VARCHAR)[/INST]SELECT SUM(distance) FROM table_name_73 WHERE county = "faulkner" AND total < 1.5</s>
CREATE TABLE table_name_51 (laps VARCHAR, rank VARCHAR)
SELECT laps FROM table_name_51 WHERE rank = "14"
How many laps did Dick Rathmann complete when he ranked 14?
<s>[INST]How many laps did Dick Rathmann complete when he ranked 14? Context: CREATE TABLE table_name_51 (laps VARCHAR, rank VARCHAR)[/INST]SELECT laps FROM table_name_51 WHERE rank = "14"</s>
CREATE TABLE table_name_32 (number VARCHAR, season VARCHAR)
SELECT number FROM table_name_32 WHERE season = "2002-2003"
What number has 2002-2003 as the season?
<s>[INST]What number has 2002-2003 as the season? Context: CREATE TABLE table_name_32 (number VARCHAR, season VARCHAR)[/INST]SELECT number FROM table_name_32 WHERE season = "2002-2003"</s>
CREATE TABLE table_1539201_1 (june VARCHAR)
SELECT june FROM table_1539201_1
Name the junes
<s>[INST]Name the junes Context: CREATE TABLE table_1539201_1 (june VARCHAR)[/INST]SELECT june FROM table_1539201_1</s>
CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (title VARCHAR, credits VARCHAR, dept_name VARCHAR, course_id VARCHAR)
SELECT T1.title, T1.credits, T1.dept_name FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING COUNT(*) > 1
Find the title, credit, and department name of courses that have more than one prerequisites?
<s>[INST]Find the title, credit, and department name of courses that have more than one prerequisites? Context: CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (title VARCHAR, credits VARCHAR, dept_name VARCHAR, course_id VARCHAR)[/INST]SELECT T1.title, T1.credits, T1.dept_name FROM course AS T1 JOIN prere...
CREATE TABLE table_name_64 (attendance INTEGER, week VARCHAR)
SELECT MAX(attendance) FROM table_name_64 WHERE week = 12
What was the highest attendance week 12?
<s>[INST]What was the highest attendance week 12? Context: CREATE TABLE table_name_64 (attendance INTEGER, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_64 WHERE week = 12</s>
CREATE TABLE table_name_12 (goals_against INTEGER, draws VARCHAR, wins VARCHAR, points VARCHAR, goal_difference VARCHAR)
SELECT MAX(goals_against) FROM table_name_12 WHERE points > 31 AND goal_difference < 9 AND wins = 13 AND draws > 6
What is the highest goals against when points are larger than 31, the goal difference is smaller than 9, wins are 13, and draws are larger than 6?
<s>[INST]What is the highest goals against when points are larger than 31, the goal difference is smaller than 9, wins are 13, and draws are larger than 6? Context: CREATE TABLE table_name_12 (goals_against INTEGER, draws VARCHAR, wins VARCHAR, points VARCHAR, goal_difference VARCHAR)[/INST]SELECT MAX(goals_against) FR...
CREATE TABLE table_148386_2 (savoy_theatre_1888 VARCHAR, casino_theatre_1888 VARCHAR)
SELECT COUNT(savoy_theatre_1888) FROM table_148386_2 WHERE casino_theatre_1888 = "George Olmi"
What is the total of roles that George Olmi plays in Savoy & Casino Theatre 1888?
<s>[INST]What is the total of roles that George Olmi plays in Savoy & Casino Theatre 1888? Context: CREATE TABLE table_148386_2 (savoy_theatre_1888 VARCHAR, casino_theatre_1888 VARCHAR)[/INST]SELECT COUNT(savoy_theatre_1888) FROM table_148386_2 WHERE casino_theatre_1888 = "George Olmi"</s>
CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, daves_team VARCHAR)
SELECT first_broadcast FROM table_23292220_3 WHERE daves_team = "Dave Johns and Sally Lindsay"
What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay?
<s>[INST]What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay? Context: CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, daves_team VARCHAR)[/INST]SELECT first_broadcast FROM table_23292220_3 WHERE daves_team = "Dave Johns and Sally Lindsay"</s>
CREATE TABLE bank (state VARCHAR)
SELECT COUNT(DISTINCT state) FROM bank
Find the number of different states which banks are located at.
<s>[INST]Find the number of different states which banks are located at. Context: CREATE TABLE bank (state VARCHAR)[/INST]SELECT COUNT(DISTINCT state) FROM bank</s>
CREATE TABLE table_name_61 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_61 WHERE record = "9-4"
Which method led to a record of 9-4?
<s>[INST]Which method led to a record of 9-4? Context: CREATE TABLE table_name_61 (method VARCHAR, record VARCHAR)[/INST]SELECT method FROM table_name_61 WHERE record = "9-4"</s>
CREATE TABLE table_name_72 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)
SELECT MAX(events) FROM table_name_72 WHERE cuts_made < 34 AND top_25 < 5 AND top_10 > 1
what is the highest events when the cuts made is less than 34, the top-25 is less than 5 and the top-10 is more than 1?
<s>[INST]what is the highest events when the cuts made is less than 34, the top-25 is less than 5 and the top-10 is more than 1? Context: CREATE TABLE table_name_72 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)[/INST]SELECT MAX(events) FROM table_name_72 WHERE cuts_made < 34 AND top_25 < 5 AND top...
CREATE TABLE table_1341522_41 (status VARCHAR, incumbent VARCHAR)
SELECT status FROM table_1341522_41 WHERE incumbent = "William F. Goodling"
What was the result of the election where william f. goodling was the incumbent?
<s>[INST]What was the result of the election where william f. goodling was the incumbent? Context: CREATE TABLE table_1341522_41 (status VARCHAR, incumbent VARCHAR)[/INST]SELECT status FROM table_1341522_41 WHERE incumbent = "William F. Goodling"</s>
CREATE TABLE table_1661124_1 (target VARCHAR, approval_date VARCHAR)
SELECT COUNT(target) FROM table_1661124_1 WHERE approval_date = 1997
How many targets are there with an approval date of 1997?
<s>[INST]How many targets are there with an approval date of 1997? Context: CREATE TABLE table_1661124_1 (target VARCHAR, approval_date VARCHAR)[/INST]SELECT COUNT(target) FROM table_1661124_1 WHERE approval_date = 1997</s>