context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_10 (margin_of_victory VARCHAR, date VARCHAR)
SELECT margin_of_victory FROM table_name_10 WHERE date = "aug 24, 1986"
What was Juli's winning margin on Aug 24, 1986?
<s>[INST]What was Juli's winning margin on Aug 24, 1986? Context: CREATE TABLE table_name_10 (margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_10 WHERE date = "aug 24, 1986"</s>
CREATE TABLE table_name_7 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_7 WHERE date = "february 25"
What record has February 25 as the date?
<s>[INST]What record has February 25 as the date? Context: CREATE TABLE table_name_7 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_7 WHERE date = "february 25"</s>
CREATE TABLE table_3002894_4 (sonnet VARCHAR, model VARCHAR)
SELECT sonnet FROM table_3002894_4 WHERE model = "Included RAM (MiB)"
When included ram (mib) is the model what is the sonnet?
<s>[INST]When included ram (mib) is the model what is the sonnet? Context: CREATE TABLE table_3002894_4 (sonnet VARCHAR, model VARCHAR)[/INST]SELECT sonnet FROM table_3002894_4 WHERE model = "Included RAM (MiB)"</s>
CREATE TABLE table_17120964_8 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_17120964_8 WHERE result = "Won 4-1"
Who was the opponent of the game with final score won 4-1?
<s>[INST]Who was the opponent of the game with final score won 4-1? Context: CREATE TABLE table_17120964_8 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_17120964_8 WHERE result = "Won 4-1"</s>
CREATE TABLE table_name_14 (area__km_2__ INTEGER, density__inhabitants_km_2__ VARCHAR, altitude__mslm_ VARCHAR)
SELECT AVG(area__km_2__) FROM table_name_14 WHERE density__inhabitants_km_2__ < 206.2 AND altitude__mslm_ < 85
What is the average area of the city that has a density less than than 206.2 and an altitude of less than 85?
<s>[INST]What is the average area of the city that has a density less than than 206.2 and an altitude of less than 85? Context: CREATE TABLE table_name_14 (area__km_2__ INTEGER, density__inhabitants_km_2__ VARCHAR, altitude__mslm_ VARCHAR)[/INST]SELECT AVG(area__km_2__) FROM table_name_14 WHERE density__inhabitants_km_...
CREATE TABLE table_name_10 (molecular_target VARCHAR, marine_organism_α VARCHAR)
SELECT molecular_target FROM table_name_10 WHERE marine_organism_α = "bacterium"
What is the molecular target of bacterium?
<s>[INST]What is the molecular target of bacterium? Context: CREATE TABLE table_name_10 (molecular_target VARCHAR, marine_organism_α VARCHAR)[/INST]SELECT molecular_target FROM table_name_10 WHERE marine_organism_α = "bacterium"</s>
CREATE TABLE table_name_13 (couple VARCHAR, choreographer_s_ VARCHAR)
SELECT couple FROM table_name_13 WHERE choreographer_s_ = "nakul dev mahajan"
What is Couple, when Choreographer(s) is Nakul Dev Mahajan?
<s>[INST]What is Couple, when Choreographer(s) is Nakul Dev Mahajan? Context: CREATE TABLE table_name_13 (couple VARCHAR, choreographer_s_ VARCHAR)[/INST]SELECT couple FROM table_name_13 WHERE choreographer_s_ = "nakul dev mahajan"</s>
CREATE TABLE table_name_31 (date VARCHAR, game_site VARCHAR)
SELECT date FROM table_name_31 WHERE game_site = "riverfront stadium"
Name the date for game site of riverfront stadium
<s>[INST]Name the date for game site of riverfront stadium Context: CREATE TABLE table_name_31 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE game_site = "riverfront stadium"</s>
CREATE TABLE table_13643154_2 (rnd INTEGER, circuit VARCHAR)
SELECT MIN(rnd) FROM table_13643154_2 WHERE circuit = "Watkins Glen"
What is the most rnd for watkins glen?
<s>[INST]What is the most rnd for watkins glen? Context: CREATE TABLE table_13643154_2 (rnd INTEGER, circuit VARCHAR)[/INST]SELECT MIN(rnd) FROM table_13643154_2 WHERE circuit = "Watkins Glen"</s>
CREATE TABLE table_23248940_6 (score VARCHAR, date VARCHAR)
SELECT score FROM table_23248940_6 WHERE date = "November 10"
What is every score when date is November 10?
<s>[INST]What is every score when date is November 10? Context: CREATE TABLE table_23248940_6 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_23248940_6 WHERE date = "November 10"</s>
CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR)
SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 = 11
What is the total number of top-25s for the major that has 11 top-10s?
<s>[INST]What is the total number of top-25s for the major that has 11 top-10s? Context: CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR)[/INST]SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 = 11</s>
CREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
SELECT winning_driver FROM table_name_32 WHERE constructor = "ferrari" AND fastest_lap = "luigi villoresi"
Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time?
<s>[INST]Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time? Context: CREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)[/INST]SELECT winning_driver FROM table_name_32 WHERE constructor = "ferrari" AND fastest_lap = "luigi villoresi"</s>
CREATE TABLE table_name_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR)
SELECT COUNT(max__number_of_players) FROM table_name_24 WHERE developer = "sega" AND main_title___alternate_title_s_ = "hang-on (cartridge version)"
What is the maximum number of players for the sega game, hang-on (cartridge version)?
<s>[INST]What is the maximum number of players for the sega game, hang-on (cartridge version)? Context: CREATE TABLE table_name_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR)[/INST]SELECT COUNT(max__number_of_players) FROM table_name_24 WHERE developer = "sega" AND main_...
CREATE TABLE table_name_61 (county VARCHAR, city VARCHAR)
SELECT county FROM table_name_61 WHERE city = "changhua"
Which County has a City of changhua?
<s>[INST]Which County has a City of changhua? Context: CREATE TABLE table_name_61 (county VARCHAR, city VARCHAR)[/INST]SELECT county FROM table_name_61 WHERE city = "changhua"</s>
CREATE TABLE table_name_7 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_7 WHERE home_team = "north melbourne"
When did the north melbourne team play?
<s>[INST]When did the north melbourne team play? Context: CREATE TABLE table_name_7 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE home_team = "north melbourne"</s>
CREATE TABLE table_27133147_3 (date_of_appointment VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_27133147_3 WHERE team = "União de Leiria"
If the team is união de leiria, what is the date of appointment?
<s>[INST]If the team is união de leiria, what is the date of appointment? Context: CREATE TABLE table_27133147_3 (date_of_appointment VARCHAR, team VARCHAR)[/INST]SELECT date_of_appointment FROM table_27133147_3 WHERE team = "União de Leiria"</s>
CREATE TABLE table_name_65 (season VARCHAR, round VARCHAR, away_result VARCHAR)
SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7–1"
Round of 1r, and an away result of 7–1 is what season?
<s>[INST]Round of 1r, and an away result of 7–1 is what season? Context: CREATE TABLE table_name_65 (season VARCHAR, round VARCHAR, away_result VARCHAR)[/INST]SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7–1"</s>
CREATE TABLE table_1342233_11 (party VARCHAR, candidates VARCHAR)
SELECT COUNT(party) FROM table_1342233_11 WHERE candidates = "Albert Sidney Camp (D) Unopposed"
Which party is associated with the candidate Albert Sidney Camp (D) unopposed?
<s>[INST]Which party is associated with the candidate Albert Sidney Camp (D) unopposed? Context: CREATE TABLE table_1342233_11 (party VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(party) FROM table_1342233_11 WHERE candidates = "Albert Sidney Camp (D) Unopposed"</s>
CREATE TABLE table_name_24 (laps VARCHAR, time_retired VARCHAR)
SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351"
How many laps were ridden in the race that had a Time/Retired of +37.351?
<s>[INST]How many laps were ridden in the race that had a Time/Retired of +37.351? Context: CREATE TABLE table_name_24 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351"</s>
CREATE TABLE table_name_86 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_86 WHERE date = "march 30"
Date of march 30 involves what home?
<s>[INST]Date of march 30 involves what home? Context: CREATE TABLE table_name_86 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_86 WHERE date = "march 30"</s>
CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_66 WHERE attendance = 2248
What is the score of the match with an attendance of 2248?
<s>[INST]What is the score of the match with an attendance of 2248? Context: CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_66 WHERE attendance = 2248</s>
CREATE TABLE table_1745843_10 (part_3 VARCHAR, class VARCHAR)
SELECT part_3 FROM table_1745843_10 WHERE class = "4"
What is part 1 of the verb in class 4
<s>[INST]What is part 1 of the verb in class 4 Context: CREATE TABLE table_1745843_10 (part_3 VARCHAR, class VARCHAR)[/INST]SELECT part_3 FROM table_1745843_10 WHERE class = "4"</s>
CREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)
SELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 1
Find the name and price of the product that has been ordered the greatest number of times.
<s>[INST]Find the name and price of the product that has been ordered the greatest number of times. Context: CREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)[/INST]SELECT t1.product_name, t1.product_price FROM products AS t...
CREATE TABLE table_name_21 (engine VARCHAR, displacement VARCHAR, power VARCHAR)
SELECT engine FROM table_name_21 WHERE displacement = "4.4l (4423cc/269in³)" AND power = "220kw (299hp) @ 4000"
Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 belongs to what engine?
<s>[INST]Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 belongs to what engine? Context: CREATE TABLE table_name_21 (engine VARCHAR, displacement VARCHAR, power VARCHAR)[/INST]SELECT engine FROM table_name_21 WHERE displacement = "4.4l (4423cc/269in³)" AND power = "220kw (299hp) @ 4000"</s>
CREATE TABLE table_2508633_11 (player VARCHAR, college VARCHAR, position VARCHAR)
SELECT player FROM table_2508633_11 WHERE college = "Clemson" AND position = "Guard"
Who are the all the players whose position is guard in college Clemson?
<s>[INST]Who are the all the players whose position is guard in college Clemson? Context: CREATE TABLE table_2508633_11 (player VARCHAR, college VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_2508633_11 WHERE college = "Clemson" AND position = "Guard"</s>
CREATE TABLE table_name_69 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_69 WHERE record = "19-17"
What was the location and attendance when the record was 19-17?
<s>[INST]What was the location and attendance when the record was 19-17? Context: CREATE TABLE table_name_69 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_name_69 WHERE record = "19-17"</s>
CREATE TABLE Project_outcomes (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
SELECT project_details FROM Projects WHERE NOT project_id IN (SELECT project_id FROM Project_outcomes)
Which projects have no outcome? List the project details.
<s>[INST]Which projects have no outcome? List the project details. Context: CREATE TABLE Project_outcomes (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)[/INST]SELECT project_details FROM Projects WHERE NOT project_id IN (SELECT project_id FROM Project_...
CREATE TABLE table_name_34 (area INTEGER, name VARCHAR, municipal_code VARCHAR)
SELECT SUM(area) FROM table_name_34 WHERE name = "askøy" AND municipal_code < 1247
What's the area of askøy, with a Municipal code less than 1247?
<s>[INST]What's the area of askøy, with a Municipal code less than 1247? Context: CREATE TABLE table_name_34 (area INTEGER, name VARCHAR, municipal_code VARCHAR)[/INST]SELECT SUM(area) FROM table_name_34 WHERE name = "askøy" AND municipal_code < 1247</s>
CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)
SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DWHR-TV"
When dwhr-tv is the call sign how many station types are there?
<s>[INST]When dwhr-tv is the call sign how many station types are there? Context: CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)[/INST]SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DWHR-TV"</s>
CREATE TABLE table_name_16 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_16 WHERE visitor = "ny rangers"
What is the home team with the ny rangers as the visitor team?
<s>[INST]What is the home team with the ny rangers as the visitor team? Context: CREATE TABLE table_name_16 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_16 WHERE visitor = "ny rangers"</s>
CREATE TABLE table_name_6 (races VARCHAR, podiums VARCHAR)
SELECT races FROM table_name_6 WHERE podiums = "2"
Which races have #2 podiums?
<s>[INST]Which races have #2 podiums? Context: CREATE TABLE table_name_6 (races VARCHAR, podiums VARCHAR)[/INST]SELECT races FROM table_name_6 WHERE podiums = "2"</s>
CREATE TABLE table_name_17 (sideline_reporter_s_ VARCHAR, color_commentator_s_ VARCHAR)
SELECT sideline_reporter_s_ FROM table_name_17 WHERE color_commentator_s_ = "frank gifford and dan dierdorf"
Which sideline reporters worked alongside Frank Gifford and Dan Dierdorf?
<s>[INST]Which sideline reporters worked alongside Frank Gifford and Dan Dierdorf? Context: CREATE TABLE table_name_17 (sideline_reporter_s_ VARCHAR, color_commentator_s_ VARCHAR)[/INST]SELECT sideline_reporter_s_ FROM table_name_17 WHERE color_commentator_s_ = "frank gifford and dan dierdorf"</s>
CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_47 WHERE player = "daryn fersovich"
What nationality is Daryn Fersovich?
<s>[INST]What nationality is Daryn Fersovich? Context: CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_47 WHERE player = "daryn fersovich"</s>
CREATE TABLE table_name_60 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_60 WHERE score = "103-94"
What away team had a 103-94 score?
<s>[INST]What away team had a 103-94 score? Context: CREATE TABLE table_name_60 (away_team VARCHAR, score VARCHAR)[/INST]SELECT away_team FROM table_name_60 WHERE score = "103-94"</s>
CREATE TABLE table_14945881_1 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_14945881_1 WHERE date = "September 19, 1976"
Name the attendance for september 19, 1976
<s>[INST]Name the attendance for september 19, 1976 Context: CREATE TABLE table_14945881_1 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_14945881_1 WHERE date = "September 19, 1976"</s>
CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)
SELECT COUNT(date) FROM table_22334183_3 WHERE circuit = "Silverstone"
On how many different dates was the race at the Silverstone circuit?
<s>[INST]On how many different dates was the race at the Silverstone circuit? Context: CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)[/INST]SELECT COUNT(date) FROM table_22334183_3 WHERE circuit = "Silverstone"</s>
CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR)
SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "1:48.179"
What are the notes for the person ranked larger than 2, and a time of 1:48.179?
<s>[INST]What are the notes for the person ranked larger than 2, and a time of 1:48.179? Context: CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "1:48.179"</s>
CREATE TABLE table_name_80 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_80 WHERE entrant = "fred tuck cars" AND year > 1960
How many points after 1960 for fred tuck cars?
<s>[INST]How many points after 1960 for fred tuck cars? Context: CREATE TABLE table_name_80 (points INTEGER, entrant VARCHAR, year VARCHAR)[/INST]SELECT MAX(points) FROM table_name_80 WHERE entrant = "fred tuck cars" AND year > 1960</s>
CREATE TABLE table_name_16 (tournament VARCHAR, opponents VARCHAR)
SELECT tournament FROM table_name_16 WHERE opponents = "marc lópez santiago ventura"
Which Tournament has Opponents of marc lópez santiago ventura?
<s>[INST]Which Tournament has Opponents of marc lópez santiago ventura? Context: CREATE TABLE table_name_16 (tournament VARCHAR, opponents VARCHAR)[/INST]SELECT tournament FROM table_name_16 WHERE opponents = "marc lópez santiago ventura"</s>
CREATE TABLE table_name_8 (competition VARCHAR, score VARCHAR, result VARCHAR)
SELECT competition FROM table_name_8 WHERE score = "3-0" AND result = "4-1"
What competition had a score of 3-0, and a result of 4-1?
<s>[INST]What competition had a score of 3-0, and a result of 4-1? Context: CREATE TABLE table_name_8 (competition VARCHAR, score VARCHAR, result VARCHAR)[/INST]SELECT competition FROM table_name_8 WHERE score = "3-0" AND result = "4-1"</s>
CREATE TABLE table_name_22 (term_expiration INTEGER, appointing_governor VARCHAR, appointed VARCHAR)
SELECT SUM(term_expiration) FROM table_name_22 WHERE appointing_governor = "george pataki, republican" AND appointed > 2004
Which Term expiration has an Appointing Governor of george pataki, republican, and an Appointed larger than 2004?
<s>[INST]Which Term expiration has an Appointing Governor of george pataki, republican, and an Appointed larger than 2004? Context: CREATE TABLE table_name_22 (term_expiration INTEGER, appointing_governor VARCHAR, appointed VARCHAR)[/INST]SELECT SUM(term_expiration) FROM table_name_22 WHERE appointing_governor = "georg...
CREATE TABLE table_name_6 (tries INTEGER, club VARCHAR, points VARCHAR)
SELECT MIN(tries) FROM table_name_6 WHERE club = "leicester tigers" AND points < 207
Name the fewest tries for leicester tigers with points less than 207
<s>[INST]Name the fewest tries for leicester tigers with points less than 207 Context: CREATE TABLE table_name_6 (tries INTEGER, club VARCHAR, points VARCHAR)[/INST]SELECT MIN(tries) FROM table_name_6 WHERE club = "leicester tigers" AND points < 207</s>
CREATE TABLE table_name_84 (award_description_s_ VARCHAR, year VARCHAR, date VARCHAR)
SELECT award_description_s_ FROM table_name_84 WHERE year > 1994 AND date = "december 6"
Which award description has a year later than 1994 with a date of December 6?
<s>[INST]Which award description has a year later than 1994 with a date of December 6? Context: CREATE TABLE table_name_84 (award_description_s_ VARCHAR, year VARCHAR, date VARCHAR)[/INST]SELECT award_description_s_ FROM table_name_84 WHERE year > 1994 AND date = "december 6"</s>
CREATE TABLE table_19149550_9 (london_borough VARCHAR, pakistani_population VARCHAR)
SELECT london_borough FROM table_19149550_9 WHERE pakistani_population = 7797
What's the London borough with 7797 Pakistani citizens?
<s>[INST]What's the London borough with 7797 Pakistani citizens? Context: CREATE TABLE table_19149550_9 (london_borough VARCHAR, pakistani_population VARCHAR)[/INST]SELECT london_borough FROM table_19149550_9 WHERE pakistani_population = 7797</s>
CREATE TABLE table_27615520_1 (storage_medium VARCHAR, product_name VARCHAR)
SELECT COUNT(storage_medium) FROM table_27615520_1 WHERE product_name = "RamSan-720"
List the number of ramsan-720 hard drives?
<s>[INST]List the number of ramsan-720 hard drives? Context: CREATE TABLE table_27615520_1 (storage_medium VARCHAR, product_name VARCHAR)[/INST]SELECT COUNT(storage_medium) FROM table_27615520_1 WHERE product_name = "RamSan-720"</s>
CREATE TABLE table_name_63 (skip VARCHAR, second VARCHAR)
SELECT skip FROM table_name_63 WHERE second = "oliver dupont"
Which skip has Oliver Dupont as a second?
<s>[INST]Which skip has Oliver Dupont as a second? Context: CREATE TABLE table_name_63 (skip VARCHAR, second VARCHAR)[/INST]SELECT skip FROM table_name_63 WHERE second = "oliver dupont"</s>
CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR)
SELECT circuit FROM table_29686983_1 WHERE fastest_lap = "Sam Lowes" AND winning_rider = "Luca Scassa"
what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa?
<s>[INST]what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa? Context: CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR)[/INST]SELECT circuit FROM table_29686983_1 WHERE fastest_lap = "Sam Lowes" AND winning_rider = "Luca Scassa"</s>
CREATE TABLE table_2618102_1 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MIN(no_in_series) FROM table_2618102_1 WHERE directed_by = "James Quinn"
Name the least number in series for james quinn
<s>[INST]Name the least number in series for james quinn Context: CREATE TABLE table_2618102_1 (no_in_series INTEGER, directed_by VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_2618102_1 WHERE directed_by = "James Quinn"</s>
CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_28 WHERE date = "1 october 1998"
What is the average Attendance, when Date is 1 October 1998?
<s>[INST]What is the average Attendance, when Date is 1 October 1998? Context: CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_28 WHERE date = "1 october 1998"</s>
CREATE TABLE table_name_93 (lost INTEGER, against VARCHAR, played VARCHAR)
SELECT AVG(lost) FROM table_name_93 WHERE against < 25 AND played < 1
What is the Lost with Against smaller than 25, and Played smaller than 1?
<s>[INST]What is the Lost with Against smaller than 25, and Played smaller than 1? Context: CREATE TABLE table_name_93 (lost INTEGER, against VARCHAR, played VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_93 WHERE against < 25 AND played < 1</s>
CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR)
SELECT team FROM table_name_74 WHERE points = "test driver"
Which team has the points category of test driver?
<s>[INST]Which team has the points category of test driver? Context: CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_name_74 WHERE points = "test driver"</s>
CREATE TABLE table_27816698_2 (institution VARCHAR, founded VARCHAR)
SELECT institution FROM table_27816698_2 WHERE founded = 1932
Which institution was founded in 1932?
<s>[INST]Which institution was founded in 1932? Context: CREATE TABLE table_27816698_2 (institution VARCHAR, founded VARCHAR)[/INST]SELECT institution FROM table_27816698_2 WHERE founded = 1932</s>
CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR)
SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = "1995-11-06, 05:15:01"
What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01?
<s>[INST]What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01? Context: CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR)[/INST]SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = "1995-11-06, 05:15:01"</s>
CREATE TABLE table_name_36 (open_cup VARCHAR, year VARCHAR)
SELECT open_cup FROM table_name_36 WHERE year = "2012"
which open cup was in 2012?
<s>[INST]which open cup was in 2012? Context: CREATE TABLE table_name_36 (open_cup VARCHAR, year VARCHAR)[/INST]SELECT open_cup FROM table_name_36 WHERE year = "2012"</s>
CREATE TABLE table_23281862_10 (record VARCHAR, team VARCHAR)
SELECT record FROM table_23281862_10 WHERE team = "Charlotte"
Name the record for charlotte
<s>[INST]Name the record for charlotte Context: CREATE TABLE table_23281862_10 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_23281862_10 WHERE team = "Charlotte"</s>
CREATE TABLE table_name_21 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_21 WHERE home_team = "hawthorn"
What is the score of the away team who played home team Hawthorn?
<s>[INST]What is the score of the away team who played home team Hawthorn? Context: CREATE TABLE table_name_21 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_21 WHERE home_team = "hawthorn"</s>
CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR)
SELECT COUNT(rd) FROM table_1132568_3 WHERE grand_prix = "Austrian grand_prix"
How many on the list are called the Austrian Grand Prix?
<s>[INST]How many on the list are called the Austrian Grand Prix? Context: CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR)[/INST]SELECT COUNT(rd) FROM table_1132568_3 WHERE grand_prix = "Austrian grand_prix"</s>
CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)
SELECT country FROM table_17634290_7 WHERE moving_from = "Bristol City"
What is the name of the country where moving from is listed as bristol city?
<s>[INST]What is the name of the country where moving from is listed as bristol city? Context: CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)[/INST]SELECT country FROM table_17634290_7 WHERE moving_from = "Bristol City"</s>
CREATE TABLE table_name_4 (club VARCHAR, goals VARCHAR)
SELECT club FROM table_name_4 WHERE goals = 0
What club had 0 goals?
<s>[INST]What club had 0 goals? Context: CREATE TABLE table_name_4 (club VARCHAR, goals VARCHAR)[/INST]SELECT club FROM table_name_4 WHERE goals = 0</s>
CREATE TABLE table_13789248_2 (song_title VARCHAR, artist VARCHAR)
SELECT COUNT(song_title) FROM table_13789248_2 WHERE artist = "Chubby Checker"
how many song title with artbeingt being chubby checker
<s>[INST] how many song title with artbeingt being chubby checker Context: CREATE TABLE table_13789248_2 (song_title VARCHAR, artist VARCHAR)[/INST]SELECT COUNT(song_title) FROM table_13789248_2 WHERE artist = "Chubby Checker"</s>
CREATE TABLE table_name_82 (artist VARCHAR, format VARCHAR, single VARCHAR)
SELECT artist FROM table_name_82 WHERE format = "12 inch vinyl" AND single = "alien rock b/w combat, the remix"
What artist had a single called Alien Rock b/w Combat, The Remix on 12 inch Vinyl format?
<s>[INST]What artist had a single called Alien Rock b/w Combat, The Remix on 12 inch Vinyl format? Context: CREATE TABLE table_name_82 (artist VARCHAR, format VARCHAR, single VARCHAR)[/INST]SELECT artist FROM table_name_82 WHERE format = "12 inch vinyl" AND single = "alien rock b/w combat, the remix"</s>
CREATE TABLE table_name_46 (minister VARCHAR, term_in_office VARCHAR)
SELECT minister FROM table_name_46 WHERE term_in_office = "307 days"
Who was the Minister that served for 307 days?
<s>[INST]Who was the Minister that served for 307 days? Context: CREATE TABLE table_name_46 (minister VARCHAR, term_in_office VARCHAR)[/INST]SELECT minister FROM table_name_46 WHERE term_in_office = "307 days"</s>
CREATE TABLE table_name_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)
SELECT cole FROM table_name_94 WHERE year < 2009 AND dylan = "nominated" AND work = "big daddy" AND award = "mtv movie awards"
Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards
<s>[INST]Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards Context: CREATE TABLE table_name_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)[/INST]SELECT cole FROM table_name_94 WHERE year < 2009 AND dylan = "nominated" AND work = "big daddy" AND ...
CREATE TABLE table_name_42 (class VARCHAR, identifier VARCHAR)
SELECT class FROM table_name_42 WHERE identifier = "cbfx-fm-2"
What Class has the Identifier fo CBFX-FM-2?
<s>[INST]What Class has the Identifier fo CBFX-FM-2? Context: CREATE TABLE table_name_42 (class VARCHAR, identifier VARCHAR)[/INST]SELECT class FROM table_name_42 WHERE identifier = "cbfx-fm-2"</s>
CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)
SELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name
Find number of tracks in each genre?
<s>[INST]Find number of tracks in each genre? Context: CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)[/INST]SELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name</s>
CREATE TABLE table_name_60 (spectators INTEGER, round VARCHAR)
SELECT AVG(spectators) FROM table_name_60 WHERE round = "group h"
What are the average spectators from the Group H Round?
<s>[INST]What are the average spectators from the Group H Round? Context: CREATE TABLE table_name_60 (spectators INTEGER, round VARCHAR)[/INST]SELECT AVG(spectators) FROM table_name_60 WHERE round = "group h"</s>
CREATE TABLE Documents (document_type_code VARCHAR)
SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING COUNT(*) < 3
Show the document type code with fewer than 3 documents.
<s>[INST]Show the document type code with fewer than 3 documents. Context: CREATE TABLE Documents (document_type_code VARCHAR)[/INST]SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING COUNT(*) < 3</s>
CREATE TABLE table_18963843_1 (asian_american_population__2010_ INTEGER, combined_statistical_area VARCHAR)
SELECT MAX(asian_american_population__2010_) FROM table_18963843_1 WHERE combined_statistical_area = "Kansas City-Overland Park-Kansas City, MO-KS CSA"
Name the asian american population 2010 for kansas city-overland park-kansas city, mo-ks csa
<s>[INST]Name the asian american population 2010 for kansas city-overland park-kansas city, mo-ks csa Context: CREATE TABLE table_18963843_1 (asian_american_population__2010_ INTEGER, combined_statistical_area VARCHAR)[/INST]SELECT MAX(asian_american_population__2010_) FROM table_18963843_1 WHERE combined_statistical_a...
CREATE TABLE table_name_4 (part_2 VARCHAR, class VARCHAR)
SELECT part_2 FROM table_name_4 WHERE class = "6"
What is the Part 2 when the class is 6?
<s>[INST]What is the Part 2 when the class is 6? Context: CREATE TABLE table_name_4 (part_2 VARCHAR, class VARCHAR)[/INST]SELECT part_2 FROM table_name_4 WHERE class = "6"</s>
CREATE TABLE table_name_96 (record VARCHAR, result VARCHAR, date VARCHAR)
SELECT record FROM table_name_96 WHERE result = "win" AND date = "2004-06-26"
what is the record when the result is win on 2004-06-26?
<s>[INST]what is the record when the result is win on 2004-06-26? Context: CREATE TABLE table_name_96 (record VARCHAR, result VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_96 WHERE result = "win" AND date = "2004-06-26"</s>
CREATE TABLE table_name_25 (la_crescenta__montrose VARCHAR, pasadena VARCHAR)
SELECT la_crescenta__montrose FROM table_name_25 WHERE pasadena = "10%"
When Pasadena is at 10%, what is La Crescenta-Montrose?
<s>[INST]When Pasadena is at 10%, what is La Crescenta-Montrose? Context: CREATE TABLE table_name_25 (la_crescenta__montrose VARCHAR, pasadena VARCHAR)[/INST]SELECT la_crescenta__montrose FROM table_name_25 WHERE pasadena = "10%"</s>
CREATE TABLE table_name_28 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_28 WHERE record = "15–12–2"
Which Score has a Record of 15–12–2?
<s>[INST]Which Score has a Record of 15–12–2? Context: CREATE TABLE table_name_28 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_28 WHERE record = "15–12–2"</s>
CREATE TABLE table_name_29 (attendance VARCHAR, date VARCHAR, away VARCHAR)
SELECT attendance FROM table_name_29 WHERE date = "16 august 2008" AND away = "platense"
When Platense was the away team on 16 August 2008 how many people attended the game?
<s>[INST]When Platense was the away team on 16 August 2008 how many people attended the game? Context: CREATE TABLE table_name_29 (attendance VARCHAR, date VARCHAR, away VARCHAR)[/INST]SELECT attendance FROM table_name_29 WHERE date = "16 august 2008" AND away = "platense"</s>
CREATE TABLE table_name_92 (area_km² VARCHAR, density__hab_km²_ VARCHAR)
SELECT area_km² FROM table_name_92 WHERE density__hab_km²_ = "8,546.1"
What is the area of the city with a density of 8,546.1?
<s>[INST]What is the area of the city with a density of 8,546.1? Context: CREATE TABLE table_name_92 (area_km² VARCHAR, density__hab_km²_ VARCHAR)[/INST]SELECT area_km² FROM table_name_92 WHERE density__hab_km²_ = "8,546.1"</s>
CREATE TABLE table_name_11 (assists VARCHAR, points VARCHAR)
SELECT assists FROM table_name_11 WHERE points = "10"
What assists has points of 10?
<s>[INST]What assists has points of 10? Context: CREATE TABLE table_name_11 (assists VARCHAR, points VARCHAR)[/INST]SELECT assists FROM table_name_11 WHERE points = "10"</s>
CREATE TABLE table_name_12 (crew_chief VARCHAR, owner_s_ VARCHAR, driver_s_ VARCHAR)
SELECT crew_chief FROM table_name_12 WHERE owner_s_ = "jack roush" AND driver_s_ = "greg biffle"
What crew chief has an owner name Jack Roush and driver Greg Biffle?
<s>[INST]What crew chief has an owner name Jack Roush and driver Greg Biffle? Context: CREATE TABLE table_name_12 (crew_chief VARCHAR, owner_s_ VARCHAR, driver_s_ VARCHAR)[/INST]SELECT crew_chief FROM table_name_12 WHERE owner_s_ = "jack roush" AND driver_s_ = "greg biffle"</s>
CREATE TABLE table_27721131_10 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_27721131_10 WHERE team = "@ Detroit"
Who was the high rebounds of team @ Detroit?
<s>[INST]Who was the high rebounds of team @ Detroit? Context: CREATE TABLE table_27721131_10 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_27721131_10 WHERE team = "@ Detroit"</s>
CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR)
SELECT artist FROM table_name_32 WHERE week = "top 6"
Which Artist is listed as having Top 6 in Week
<s>[INST]Which Artist is listed as having Top 6 in Week Context: CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR)[/INST]SELECT artist FROM table_name_32 WHERE week = "top 6"</s>
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_10 WHERE away_team = "north melbourne"
What was the date of the game when North Melbourne was the away team?
<s>[INST]What was the date of the game when North Melbourne was the away team? Context: CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_10 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_96 WHERE place = "t3" AND player = "nolan henke"
What was Nolan Henke's To par when he placed in t3?
<s>[INST]What was Nolan Henke's To par when he placed in t3? Context: CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_96 WHERE place = "t3" AND player = "nolan henke"</s>
CREATE TABLE table_name_53 (to_par INTEGER, total INTEGER)
SELECT SUM(to_par) FROM table_name_53 WHERE total < 148
What is the to par for the player with fewer than 148 total points?
<s>[INST]What is the to par for the player with fewer than 148 total points? Context: CREATE TABLE table_name_53 (to_par INTEGER, total INTEGER)[/INST]SELECT SUM(to_par) FROM table_name_53 WHERE total < 148</s>
CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR)
SELECT MAX(floors) FROM table_name_92 WHERE pinnacle_height_ft__m_ = "995 (303)" AND std_rank > 6
Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6?
<s>[INST]Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6? Context: CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR)[/INST]SELECT MAX(floors) FROM table_name_92 WHERE pinnacle_height_ft__m_ = "995 (303)" AND std_rank > 6</s>
CREATE TABLE table_name_78 (rank INTEGER, country VARCHAR, losing_semi__finalist VARCHAR)
SELECT AVG(rank) FROM table_name_78 WHERE country = "costa rica" AND losing_semi__finalist > 1
Which Rank has a Country of costa rica, and a Losing Semi- finalist larger than 1?
<s>[INST]Which Rank has a Country of costa rica, and a Losing Semi- finalist larger than 1? Context: CREATE TABLE table_name_78 (rank INTEGER, country VARCHAR, losing_semi__finalist VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_78 WHERE country = "costa rica" AND losing_semi__finalist > 1</s>
CREATE TABLE table_name_56 (event VARCHAR, res VARCHAR, record VARCHAR)
SELECT event FROM table_name_56 WHERE res = "loss" AND record = "12–2"
Which Event has a Resolution of loss, and a Record of 12–2?
<s>[INST]Which Event has a Resolution of loss, and a Record of 12–2? Context: CREATE TABLE table_name_56 (event VARCHAR, res VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_56 WHERE res = "loss" AND record = "12–2"</s>
CREATE TABLE table_16432543_3 (location VARCHAR, enrollment VARCHAR)
SELECT location FROM table_16432543_3 WHERE enrollment = 12400
What school location had an enrollment of 12400?
<s>[INST]What school location had an enrollment of 12400? Context: CREATE TABLE table_16432543_3 (location VARCHAR, enrollment VARCHAR)[/INST]SELECT location FROM table_16432543_3 WHERE enrollment = 12400</s>
CREATE TABLE table_name_75 (points VARCHAR, against VARCHAR, points_diff VARCHAR)
SELECT COUNT(points) FROM table_name_75 WHERE against = 753 AND points_diff > -114
I want the total number of points for against of 753 and points diff more than -114
<s>[INST]I want the total number of points for against of 753 and points diff more than -114 Context: CREATE TABLE table_name_75 (points VARCHAR, against VARCHAR, points_diff VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_75 WHERE against = 753 AND points_diff > -114</s>
CREATE TABLE table_11677100_5 (school VARCHAR, player VARCHAR)
SELECT school FROM table_11677100_5 WHERE player = "Pat Osborn"
What school did Pat Osborn attend?
<s>[INST]What school did Pat Osborn attend? Context: CREATE TABLE table_11677100_5 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_11677100_5 WHERE player = "Pat Osborn"</s>
CREATE TABLE device (Software_Platform VARCHAR)
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1
List the software platform shared by the greatest number of devices.
<s>[INST]List the software platform shared by the greatest number of devices. Context: CREATE TABLE device (Software_Platform VARCHAR)[/INST]SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_27 (driver VARCHAR, grid INTEGER)
SELECT driver FROM table_name_27 WHERE grid > 19
What driver has a grid greater than 19?
<s>[INST]What driver has a grid greater than 19? Context: CREATE TABLE table_name_27 (driver VARCHAR, grid INTEGER)[/INST]SELECT driver FROM table_name_27 WHERE grid > 19</s>
CREATE TABLE table_name_80 (tournament VARCHAR)
SELECT 2003 FROM table_name_80 WHERE tournament = "us open"
What is the result from 2003 from the US Open?
<s>[INST]What is the result from 2003 from the US Open? Context: CREATE TABLE table_name_80 (tournament VARCHAR)[/INST]SELECT 2003 FROM table_name_80 WHERE tournament = "us open"</s>
CREATE TABLE table_name_49 (quantity INTEGER, sht_nos VARCHAR)
SELECT MAX(quantity) FROM table_name_49 WHERE sht_nos = "5"
How many have SHT number 5?
<s>[INST]How many have SHT number 5? Context: CREATE TABLE table_name_49 (quantity INTEGER, sht_nos VARCHAR)[/INST]SELECT MAX(quantity) FROM table_name_49 WHERE sht_nos = "5"</s>
CREATE TABLE table_18662026_1 (position VARCHAR, country VARCHAR)
SELECT COUNT(position) FROM table_18662026_1 WHERE country = "United States"
How many positions was the United States in?
<s>[INST]How many positions was the United States in? Context: CREATE TABLE table_18662026_1 (position VARCHAR, country VARCHAR)[/INST]SELECT COUNT(position) FROM table_18662026_1 WHERE country = "United States"</s>
CREATE TABLE table_149330_1 (votes_swing VARCHAR, general_election VARCHAR)
SELECT votes_swing FROM table_149330_1 WHERE general_election = "12th Lok Sabha"
What was the vote swing for the general election of the 12th lok sabha?
<s>[INST]What was the vote swing for the general election of the 12th lok sabha? Context: CREATE TABLE table_149330_1 (votes_swing VARCHAR, general_election VARCHAR)[/INST]SELECT votes_swing FROM table_149330_1 WHERE general_election = "12th Lok Sabha"</s>
CREATE TABLE table_19089486_1 (clubs_involved INTEGER, leagues_entering_this_round VARCHAR, round VARCHAR)
SELECT MIN(clubs_involved) FROM table_19089486_1 WHERE leagues_entering_this_round = "none" AND round = "Semi finals"
Name the least clubs involved for leagues being none for semi finals
<s>[INST]Name the least clubs involved for leagues being none for semi finals Context: CREATE TABLE table_19089486_1 (clubs_involved INTEGER, leagues_entering_this_round VARCHAR, round VARCHAR)[/INST]SELECT MIN(clubs_involved) FROM table_19089486_1 WHERE leagues_entering_this_round = "none" AND round = "Semi finals"</s...
CREATE TABLE table_name_74 (year INTEGER, tournament VARCHAR)
SELECT AVG(year) FROM table_name_74 WHERE tournament = "olympic games"
How often are the Olympic games hosted?
<s>[INST]How often are the Olympic games hosted? Context: CREATE TABLE table_name_74 (year INTEGER, tournament VARCHAR)[/INST]SELECT AVG(year) FROM table_name_74 WHERE tournament = "olympic games"</s>
CREATE TABLE table_2267465_1 (laps VARCHAR, race_time VARCHAR)
SELECT COUNT(laps) FROM table_2267465_1 WHERE race_time = "3:34:26"
How many laps have a 3:34:26 race time?
<s>[INST]How many laps have a 3:34:26 race time? Context: CREATE TABLE table_2267465_1 (laps VARCHAR, race_time VARCHAR)[/INST]SELECT COUNT(laps) FROM table_2267465_1 WHERE race_time = "3:34:26"</s>
CREATE TABLE table_25356350_3 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_25356350_3 WHERE written_by = "Itamar Moses"
What is the air date of the episode written by Itamar Moses?
<s>[INST]What is the air date of the episode written by Itamar Moses? Context: CREATE TABLE table_25356350_3 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_25356350_3 WHERE written_by = "Itamar Moses"</s>
CREATE TABLE table_name_39 (home_ground VARCHAR, location VARCHAR, club VARCHAR)
SELECT home_ground FROM table_name_39 WHERE location = "n/a" AND club = "kcdrsc"
What is the Home Ground with the Location n/a for the Club kcdrsc?
<s>[INST]What is the Home Ground with the Location n/a for the Club kcdrsc? Context: CREATE TABLE table_name_39 (home_ground VARCHAR, location VARCHAR, club VARCHAR)[/INST]SELECT home_ground FROM table_name_39 WHERE location = "n/a" AND club = "kcdrsc"</s>
CREATE TABLE table_name_65 (viewers__m_ INTEGER, air_date VARCHAR, rating VARCHAR)
SELECT MIN(viewers__m_) FROM table_name_65 WHERE air_date = "january 24, 2008" AND rating > 3.6
What show that was aired on January 24, 2008 with a rating larger than 3.6 had the lowest viewers? How Many Viewers in the millions?
<s>[INST]What show that was aired on January 24, 2008 with a rating larger than 3.6 had the lowest viewers? How Many Viewers in the millions? Context: CREATE TABLE table_name_65 (viewers__m_ INTEGER, air_date VARCHAR, rating VARCHAR)[/INST]SELECT MIN(viewers__m_) FROM table_name_65 WHERE air_date = "january 24, 2008" A...
CREATE TABLE table_name_30 (score VARCHAR, attendance VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_30 WHERE attendance > 134 AND home_team = "workington"
What is the score when the attendance is greater than 134 and Workington is the home team?
<s>[INST]What is the score when the attendance is greater than 134 and Workington is the home team? Context: CREATE TABLE table_name_30 (score VARCHAR, attendance VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_30 WHERE attendance > 134 AND home_team = "workington"</s>