context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_22 (position VARCHAR, college VARCHAR)
SELECT position FROM table_name_22 WHERE college = "toronto"
What position did the CFL player drafted out of college of toronto in 2007 play?
<s>[INST]What position did the CFL player drafted out of college of toronto in 2007 play? Context: CREATE TABLE table_name_22 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_name_22 WHERE college = "toronto"</s>
CREATE TABLE table_name_62 (format VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_62 WHERE date = "april 11, 2005" AND catalog = "nebt068"
In what format was the release from the Nebt068 catalog on April 11, 2005 in?
<s>[INST]In what format was the release from the Nebt068 catalog on April 11, 2005 in? Context: CREATE TABLE table_name_62 (format VARCHAR, date VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_62 WHERE date = "april 11, 2005" AND catalog = "nebt068"</s>
CREATE TABLE table_name_34 (tie_no VARCHAR, attendance VARCHAR)
SELECT tie_no FROM table_name_34 WHERE attendance = "4,658"
What is the Tie no of the game with an Attendance of 4,658?
<s>[INST]What is the Tie no of the game with an Attendance of 4,658? Context: CREATE TABLE table_name_34 (tie_no VARCHAR, attendance VARCHAR)[/INST]SELECT tie_no FROM table_name_34 WHERE attendance = "4,658"</s>
CREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR, leading_scorer VARCHAR)
SELECT SUM(attendance) FROM table_name_71 WHERE visitor = "nuggets" AND leading_scorer = "j.r. smith (28)"
How many people were in attendance when the visiting team was the Nuggets and the leading scorer was J.R. Smith (28)?
<s>[INST]How many people were in attendance when the visiting team was the Nuggets and the leading scorer was J.R. Smith (28)? Context: CREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR, leading_scorer VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_71 WHERE visitor = "nuggets" AND leading_scorer = ...
CREATE TABLE table_2518850_4 (high_school_name VARCHAR, prefecture VARCHAR)
SELECT high_school_name FROM table_2518850_4 WHERE prefecture = "Kyoto"
Which high school is located in Kyoto?
<s>[INST]Which high school is located in Kyoto? Context: CREATE TABLE table_2518850_4 (high_school_name VARCHAR, prefecture VARCHAR)[/INST]SELECT high_school_name FROM table_2518850_4 WHERE prefecture = "Kyoto"</s>
CREATE TABLE table_10706879_3 (winning_driver VARCHAR, name VARCHAR)
SELECT COUNT(winning_driver) FROM table_10706879_3 WHERE name = "Kraco Twin 125 (R2)"
How many winning drivers in the kraco twin 125 (r2) race were there?
<s>[INST]How many winning drivers in the kraco twin 125 (r2) race were there? Context: CREATE TABLE table_10706879_3 (winning_driver VARCHAR, name VARCHAR)[/INST]SELECT COUNT(winning_driver) FROM table_10706879_3 WHERE name = "Kraco Twin 125 (R2)"</s>
CREATE TABLE table_17058151_7 (record VARCHAR, game VARCHAR)
SELECT COUNT(record) FROM table_17058151_7 WHERE game = 43
How many games was game 43?
<s>[INST]How many games was game 43? Context: CREATE TABLE table_17058151_7 (record VARCHAR, game VARCHAR)[/INST]SELECT COUNT(record) FROM table_17058151_7 WHERE game = 43</s>
CREATE TABLE table_name_69 (Id VARCHAR)
SELECT 2008 FROM table_name_69 WHERE 2011 = "olympic games"
Tell me the 2008 of 2001 olympic games
<s>[INST]Tell me the 2008 of 2001 olympic games Context: CREATE TABLE table_name_69 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_69 WHERE 2011 = "olympic games"</s>
CREATE TABLE table_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR)
SELECT assists_per_game FROM table_2761641_1 WHERE points_per_game = "6.8"
How many assists per game did he have when he had 6.8 points per game?
<s>[INST]How many assists per game did he have when he had 6.8 points per game? Context: CREATE TABLE table_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR)[/INST]SELECT assists_per_game FROM table_2761641_1 WHERE points_per_game = "6.8"</s>
CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_81 WHERE position = "shooting guard"
Which player is a shooting guard?
<s>[INST]Which player is a shooting guard? Context: CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_81 WHERE position = "shooting guard"</s>
CREATE TABLE table_name_24 (nationality VARCHAR, position VARCHAR, college VARCHAR)
SELECT nationality FROM table_name_24 WHERE position = "(d)" AND college = "sc bern ( swiss )"
What is the nationality for the position of (d), and college was SC Bern ( Swiss )?
<s>[INST]What is the nationality for the position of (d), and college was SC Bern ( Swiss )? Context: CREATE TABLE table_name_24 (nationality VARCHAR, position VARCHAR, college VARCHAR)[/INST]SELECT nationality FROM table_name_24 WHERE position = "(d)" AND college = "sc bern ( swiss )"</s>
CREATE TABLE table_name_56 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_56 WHERE opponent = "cleveland browns"
What's the record of the team who played the Cleveland Browns?
<s>[INST]What's the record of the team who played the Cleveland Browns? Context: CREATE TABLE table_name_56 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_56 WHERE opponent = "cleveland browns"</s>
CREATE TABLE table_name_81 (streak VARCHAR, date VARCHAR)
SELECT streak FROM table_name_81 WHERE date = "march 27"
What was the streak on March 27?
<s>[INST]What was the streak on March 27? Context: CREATE TABLE table_name_81 (streak VARCHAR, date VARCHAR)[/INST]SELECT streak FROM table_name_81 WHERE date = "march 27"</s>
CREATE TABLE table_name_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR)
SELECT team_2 FROM table_name_82 WHERE date = "november 22, 2008" AND result = "1-0"
What team was 2 on November 22, 2008 when the result was 1-0?
<s>[INST]What team was 2 on November 22, 2008 when the result was 1-0? Context: CREATE TABLE table_name_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR)[/INST]SELECT team_2 FROM table_name_82 WHERE date = "november 22, 2008" AND result = "1-0"</s>
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR)
SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city GROUP BY T2.host_city ORDER BY COUNT(*) DESC LIMIT 1
Which city has hosted the most events?
<s>[INST]Which city has hosted the most events? Context: CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR)[/INST]SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city GROUP BY T2.host_city ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_28035004_1 (variant VARCHAR, bodybuilder VARCHAR)
SELECT COUNT(variant) FROM table_28035004_1 WHERE bodybuilder = "Northern Counties"
How many different variants are there for Northern Counties bodybuilder?
<s>[INST]How many different variants are there for Northern Counties bodybuilder? Context: CREATE TABLE table_28035004_1 (variant VARCHAR, bodybuilder VARCHAR)[/INST]SELECT COUNT(variant) FROM table_28035004_1 WHERE bodybuilder = "Northern Counties"</s>
CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, cuatro_cañadas_municipality___percentage_ VARCHAR)
SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE cuatro_cañadas_municipality___percentage_ = "252"
If the Cuatro Cañadas municipality percentage is 252, what are all the San Antonio de Lomerío municipality percentage?
<s>[INST]If the Cuatro Cañadas municipality percentage is 252, what are all the San Antonio de Lomerío municipality percentage? Context: CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, cuatro_cañadas_municipality___percentage_ VARCHAR)[/INST]SELECT san_antonio_de_lomerío_munici...
CREATE TABLE table_name_53 (weekly_rank___number_ VARCHAR, share VARCHAR, viewers__m_ VARCHAR)
SELECT weekly_rank___number_ FROM table_name_53 WHERE share = 9 AND viewers__m_ = 9.42
What is the weekly rank for a share of 9 and 9.42 million viewers?
<s>[INST]What is the weekly rank for a share of 9 and 9.42 million viewers? Context: CREATE TABLE table_name_53 (weekly_rank___number_ VARCHAR, share VARCHAR, viewers__m_ VARCHAR)[/INST]SELECT weekly_rank___number_ FROM table_name_53 WHERE share = 9 AND viewers__m_ = 9.42</s>
CREATE TABLE table_24099916_1 (l2_cache VARCHAR, tdp VARCHAR)
SELECT l2_cache FROM table_24099916_1 WHERE tdp = "5.5-10 W"
What's the l2 cache of the model with TDP of 5.5-10 w?
<s>[INST]What's the l2 cache of the model with TDP of 5.5-10 w? Context: CREATE TABLE table_24099916_1 (l2_cache VARCHAR, tdp VARCHAR)[/INST]SELECT l2_cache FROM table_24099916_1 WHERE tdp = "5.5-10 W"</s>
CREATE TABLE table_1342426_18 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent = "John N. Sandlin"
How many candidates won the election of john n. sandlin?
<s>[INST]How many candidates won the election of john n. sandlin? Context: CREATE TABLE table_1342426_18 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent = "John N. Sandlin"</s>
CREATE TABLE table_name_64 (kerry_number VARCHAR, county VARCHAR, others_number VARCHAR)
SELECT COUNT(kerry_number) FROM table_name_64 WHERE county = "taylor" AND others_number > 65
What Kerry number does Taylor county have with more than 65 others#?
<s>[INST]What Kerry number does Taylor county have with more than 65 others#? Context: CREATE TABLE table_name_64 (kerry_number VARCHAR, county VARCHAR, others_number VARCHAR)[/INST]SELECT COUNT(kerry_number) FROM table_name_64 WHERE county = "taylor" AND others_number > 65</s>
CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
SELECT player FROM table_name_81 WHERE pick > 17 AND round < 12 AND position = "tight end"
Who is the player in tight end position in a round below 12 that has a pick greater than 17?
<s>[INST]Who is the player in tight end position in a round below 12 that has a pick greater than 17? Context: CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_81 WHERE pick > 17 AND round < 12 AND position = "tight end"</s>
CREATE TABLE table_name_12 (_percentage_2006 VARCHAR, _percentage_2001 VARCHAR, seats_2001 VARCHAR, seats_2006 VARCHAR)
SELECT _percentage_2006 FROM table_name_12 WHERE seats_2001 < 23 AND seats_2006 > 4 AND _percentage_2001 = 25.4
What is the %2006 that has fewer seats than 23 in Seats 2001, more seats than 4 in 2006 Seats, and a % in 2001 of 25.4?
<s>[INST]What is the %2006 that has fewer seats than 23 in Seats 2001, more seats than 4 in 2006 Seats, and a % in 2001 of 25.4? Context: CREATE TABLE table_name_12 (_percentage_2006 VARCHAR, _percentage_2001 VARCHAR, seats_2001 VARCHAR, seats_2006 VARCHAR)[/INST]SELECT _percentage_2006 FROM table_name_12 WHERE seats_2...
CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_16 WHERE away_team = "newcastle united"
Who is the home team when the away team is newcastle united?
<s>[INST]Who is the home team when the away team is newcastle united? Context: CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_16 WHERE away_team = "newcastle united"</s>
CREATE TABLE table_name_3 (railway_number_s_ VARCHAR, class VARCHAR)
SELECT railway_number_s_ FROM table_name_3 WHERE class = "aw"
What is the railway number of the aw class?
<s>[INST]What is the railway number of the aw class? Context: CREATE TABLE table_name_3 (railway_number_s_ VARCHAR, class VARCHAR)[/INST]SELECT railway_number_s_ FROM table_name_3 WHERE class = "aw"</s>
CREATE TABLE table_name_80 (extra VARCHAR, year VARCHAR, result VARCHAR)
SELECT extra FROM table_name_80 WHERE year = 2002 AND result = "8th"
What event (Extra) in 2002 did the competitor compete in and place 8th?
<s>[INST]What event (Extra) in 2002 did the competitor compete in and place 8th? Context: CREATE TABLE table_name_80 (extra VARCHAR, year VARCHAR, result VARCHAR)[/INST]SELECT extra FROM table_name_80 WHERE year = 2002 AND result = "8th"</s>
CREATE TABLE table_name_76 (score INTEGER, player VARCHAR)
SELECT AVG(score) FROM table_name_76 WHERE player = "nick faldo"
What was the score for Nick Faldo?
<s>[INST]What was the score for Nick Faldo? Context: CREATE TABLE table_name_76 (score INTEGER, player VARCHAR)[/INST]SELECT AVG(score) FROM table_name_76 WHERE player = "nick faldo"</s>
CREATE TABLE table_name_61 (neon VARCHAR, krypton VARCHAR)
SELECT neon FROM table_name_61 WHERE krypton = "213"
What neon has a krypton of 213?
<s>[INST]What neon has a krypton of 213? Context: CREATE TABLE table_name_61 (neon VARCHAR, krypton VARCHAR)[/INST]SELECT neon FROM table_name_61 WHERE krypton = "213"</s>
CREATE TABLE table_name_30 (country VARCHAR, gdp__nominal_ VARCHAR)
SELECT country FROM table_name_30 WHERE gdp__nominal_ = "$29.9 billion"
Which country has a GDP (nominal) of $29.9 billion?
<s>[INST]Which country has a GDP (nominal) of $29.9 billion? Context: CREATE TABLE table_name_30 (country VARCHAR, gdp__nominal_ VARCHAR)[/INST]SELECT country FROM table_name_30 WHERE gdp__nominal_ = "$29.9 billion"</s>
CREATE TABLE table_name_69 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT MIN(attendance) FROM table_name_69 WHERE date = "december 20, 1970" AND week < 14
What is the lowest Attendance, when Date is "December 20, 1970", and when Week is less than 14?
<s>[INST]What is the lowest Attendance, when Date is "December 20, 1970", and when Week is less than 14? Context: CREATE TABLE table_name_69 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_69 WHERE date = "december 20, 1970" AND week < 14</s>
CREATE TABLE table_27902171_4 (high_assists VARCHAR, record VARCHAR)
SELECT high_assists FROM table_27902171_4 WHERE record = "0-1"
Who had the high assist total when the team was 0-1?
<s>[INST]Who had the high assist total when the team was 0-1? Context: CREATE TABLE table_27902171_4 (high_assists VARCHAR, record VARCHAR)[/INST]SELECT high_assists FROM table_27902171_4 WHERE record = "0-1"</s>
CREATE TABLE table_1602620_1 (type VARCHAR, office VARCHAR)
SELECT type FROM table_1602620_1 WHERE office = "State Assemblyman"
What type are State Assemblyman
<s>[INST]What type are State Assemblyman Context: CREATE TABLE table_1602620_1 (type VARCHAR, office VARCHAR)[/INST]SELECT type FROM table_1602620_1 WHERE office = "State Assemblyman"</s>
CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR)
SELECT launched FROM table_name_91 WHERE completed = "13 september 1934"
Name the launched for 13 september 1934 completion
<s>[INST]Name the launched for 13 september 1934 completion Context: CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR)[/INST]SELECT launched FROM table_name_91 WHERE completed = "13 september 1934"</s>
CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_38 WHERE away_team = "bolton wanderers"
What was the score when Bolton Wanderers were the away team?
<s>[INST]What was the score when Bolton Wanderers were the away team? Context: CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE away_team = "bolton wanderers"</s>
CREATE TABLE table_19905183_1 (team VARCHAR, province VARCHAR)
SELECT team FROM table_19905183_1 WHERE province = "Eastern"
What team is from the Eastern province?
<s>[INST]What team is from the Eastern province? Context: CREATE TABLE table_19905183_1 (team VARCHAR, province VARCHAR)[/INST]SELECT team FROM table_19905183_1 WHERE province = "Eastern"</s>
CREATE TABLE table_name_16 (overall VARCHAR, pick__number INTEGER)
SELECT overall FROM table_name_16 WHERE pick__number < 20
What is the Overall of the pick less than 20?
<s>[INST]What is the Overall of the pick less than 20? Context: CREATE TABLE table_name_16 (overall VARCHAR, pick__number INTEGER)[/INST]SELECT overall FROM table_name_16 WHERE pick__number < 20</s>
CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR)
SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47
I want to know the highest heat rank for overall rank of t63 and time less than 25.47
<s>[INST]I want to know the highest heat rank for overall rank of t63 and time less than 25.47 Context: CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR)[/INST]SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47</s>
CREATE TABLE table_name_63 (Id VARCHAR)
SELECT 2006 FROM table_name_63 WHERE 2007 = "1r" AND 2002 = "q2"
What is 2006, when 2007 is "1R", and when 2002 is "Q2"?
<s>[INST]What is 2006, when 2007 is "1R", and when 2002 is "Q2"? Context: CREATE TABLE table_name_63 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_63 WHERE 2007 = "1r" AND 2002 = "q2"</s>
CREATE TABLE table_22402438_7 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT COUNT(college_junior_club_team) FROM table_22402438_7 WHERE player = "John Garrett"
How many college/junior/clubteams have John garrett as the player?
<s>[INST]How many college/junior/clubteams have John garrett as the player? Context: CREATE TABLE table_22402438_7 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT COUNT(college_junior_club_team) FROM table_22402438_7 WHERE player = "John Garrett"</s>
CREATE TABLE table_name_12 (points VARCHAR, rebounds VARCHAR)
SELECT points FROM table_name_12 WHERE rebounds = "al jefferson (7)"
Who was the leader in Points when Al Jefferson (7) was the leader in Rebounds?
<s>[INST]Who was the leader in Points when Al Jefferson (7) was the leader in Rebounds? Context: CREATE TABLE table_name_12 (points VARCHAR, rebounds VARCHAR)[/INST]SELECT points FROM table_name_12 WHERE rebounds = "al jefferson (7)"</s>
CREATE TABLE table_19744915_22 (total VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_19744915_22 WHERE rank = 5
How many different total points does the couple ranked at number 5 have?
<s>[INST]How many different total points does the couple ranked at number 5 have? Context: CREATE TABLE table_19744915_22 (total VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(total) FROM table_19744915_22 WHERE rank = 5</s>
CREATE TABLE FLIGHTS (DestAirport VARCHAR)
SELECT COUNT(*) FROM FLIGHTS WHERE DestAirport = "ATO"
How many flights have destination ATO?
<s>[INST]How many flights have destination ATO? Context: CREATE TABLE FLIGHTS (DestAirport VARCHAR)[/INST]SELECT COUNT(*) FROM FLIGHTS WHERE DestAirport = "ATO"</s>
CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR)
SELECT MAX(high_10_profile) FROM table_237036_2 WHERE high_profile = 80
What is the high 10 profile number when the high profile is 80?
<s>[INST]What is the high 10 profile number when the high profile is 80? Context: CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR)[/INST]SELECT MAX(high_10_profile) FROM table_237036_2 WHERE high_profile = 80</s>
CREATE TABLE table_name_46 (yards INTEGER, starts INTEGER)
SELECT AVG(yards) FROM table_name_46 WHERE starts > 12
What was the average number of yards Michael Henig had in a year when he had more than 12 starts/
<s>[INST]What was the average number of yards Michael Henig had in a year when he had more than 12 starts/ Context: CREATE TABLE table_name_46 (yards INTEGER, starts INTEGER)[/INST]SELECT AVG(yards) FROM table_name_46 WHERE starts > 12</s>
CREATE TABLE table_name_88 (name VARCHAR, points VARCHAR)
SELECT name FROM table_name_88 WHERE points = 124.51
What competitors are scored 124.51 points?
<s>[INST]What competitors are scored 124.51 points? Context: CREATE TABLE table_name_88 (name VARCHAR, points VARCHAR)[/INST]SELECT name FROM table_name_88 WHERE points = 124.51</s>
CREATE TABLE table_15740666_6 (current_streak VARCHAR, last_meeting VARCHAR)
SELECT current_streak FROM table_15740666_6 WHERE last_meeting = "12/5/1987"
if they played last on 12/5/1987 what is their record
<s>[INST]if they played last on 12/5/1987 what is their record Context: CREATE TABLE table_15740666_6 (current_streak VARCHAR, last_meeting VARCHAR)[/INST]SELECT current_streak FROM table_15740666_6 WHERE last_meeting = "12/5/1987"</s>
CREATE TABLE table_name_12 (nation_of_citizenship VARCHAR, year_of_award INTEGER)
SELECT nation_of_citizenship FROM table_name_12 WHERE year_of_award > 2011
What is the nation of citizenship for athletes later than 2011 year of award?
<s>[INST]What is the nation of citizenship for athletes later than 2011 year of award? Context: CREATE TABLE table_name_12 (nation_of_citizenship VARCHAR, year_of_award INTEGER)[/INST]SELECT nation_of_citizenship FROM table_name_12 WHERE year_of_award > 2011</s>
CREATE TABLE table_name_96 (target VARCHAR, brand_name VARCHAR)
SELECT target FROM table_name_96 WHERE brand_name = "mylotarg"
What's the target for the brand mylotarg?
<s>[INST]What's the target for the brand mylotarg? Context: CREATE TABLE table_name_96 (target VARCHAR, brand_name VARCHAR)[/INST]SELECT target FROM table_name_96 WHERE brand_name = "mylotarg"</s>
CREATE TABLE table_16974228_1 (chester VARCHAR, religion VARCHAR)
SELECT COUNT(chester) FROM table_16974228_1 WHERE religion = "Hindu"
How many numbers were recorded for Chester when the religion was Hindu?
<s>[INST]How many numbers were recorded for Chester when the religion was Hindu? Context: CREATE TABLE table_16974228_1 (chester VARCHAR, religion VARCHAR)[/INST]SELECT COUNT(chester) FROM table_16974228_1 WHERE religion = "Hindu"</s>
CREATE TABLE county (County_name VARCHAR, Population VARCHAR)
SELECT County_name FROM county ORDER BY Population LIMIT 3
Show the 3 counties with the smallest population.
<s>[INST]Show the 3 counties with the smallest population. Context: CREATE TABLE county (County_name VARCHAR, Population VARCHAR)[/INST]SELECT County_name FROM county ORDER BY Population LIMIT 3</s>
CREATE TABLE table_name_15 (judaism VARCHAR, other VARCHAR, buddhism VARCHAR)
SELECT judaism FROM table_name_15 WHERE other = "0.13%" AND buddhism = "0.01%"
What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%?
<s>[INST]What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%? Context: CREATE TABLE table_name_15 (judaism VARCHAR, other VARCHAR, buddhism VARCHAR)[/INST]SELECT judaism FROM table_name_15 WHERE other = "0.13%" AND buddhism = "0.01%"</s>
CREATE TABLE table_275023_1 (formed_from VARCHAR, province VARCHAR)
SELECT formed_from FROM table_275023_1 WHERE province = "New Plymouth"
What province was New Plymouth formed from?
<s>[INST]What province was New Plymouth formed from? Context: CREATE TABLE table_275023_1 (formed_from VARCHAR, province VARCHAR)[/INST]SELECT formed_from FROM table_275023_1 WHERE province = "New Plymouth"</s>
CREATE TABLE table_20466963_4 (guest_3 VARCHAR, guest_4 VARCHAR)
SELECT guest_3 FROM table_20466963_4 WHERE guest_4 = "Jill Douglas"
Who is the guest 3 in the show where guest 4 is Jill Douglas?
<s>[INST]Who is the guest 3 in the show where guest 4 is Jill Douglas? Context: CREATE TABLE table_20466963_4 (guest_3 VARCHAR, guest_4 VARCHAR)[/INST]SELECT guest_3 FROM table_20466963_4 WHERE guest_4 = "Jill Douglas"</s>
CREATE TABLE table_name_69 (overall INTEGER, college VARCHAR)
SELECT AVG(overall) FROM table_name_69 WHERE college = "miami (fl)"
What is the average oveall pick for players from the college of Miami (FL)?
<s>[INST]What is the average oveall pick for players from the college of Miami (FL)? Context: CREATE TABLE table_name_69 (overall INTEGER, college VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_69 WHERE college = "miami (fl)"</s>
CREATE TABLE table_166346_1 (country VARCHAR, production___bbl__day_ VARCHAR)
SELECT country FROM table_166346_1 WHERE production___bbl__day_ = "2,494,000 (10th)"
Which country had a production (bbl/day) of 2,494,000 (10th)?
<s>[INST]Which country had a production (bbl/day) of 2,494,000 (10th)? Context: CREATE TABLE table_166346_1 (country VARCHAR, production___bbl__day_ VARCHAR)[/INST]SELECT country FROM table_166346_1 WHERE production___bbl__day_ = "2,494,000 (10th)"</s>
CREATE TABLE table_name_60 (grid INTEGER, time VARCHAR)
SELECT SUM(grid) FROM table_name_60 WHERE time = "+16.687"
What is the sum of Grid, when Time is "+16.687"?
<s>[INST]What is the sum of Grid, when Time is "+16.687"? Context: CREATE TABLE table_name_60 (grid INTEGER, time VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_60 WHERE time = "+16.687"</s>
CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_33 WHERE away_team = "north melbourne"
What is the average crowd size when North Melbourne is the away team?
<s>[INST]What is the average crowd size when North Melbourne is the away team? Context: CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_33 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_name_19 (october INTEGER, opponent VARCHAR)
SELECT SUM(october) FROM table_name_19 WHERE opponent = "pittsburgh penguins"
What is the sum of October, when Opponent is "Pittsburgh Penguins"?
<s>[INST]What is the sum of October, when Opponent is "Pittsburgh Penguins"? Context: CREATE TABLE table_name_19 (october INTEGER, opponent VARCHAR)[/INST]SELECT SUM(october) FROM table_name_19 WHERE opponent = "pittsburgh penguins"</s>
CREATE TABLE table_name_1 (transfer_fee VARCHAR, transfer_window VARCHAR)
SELECT transfer_fee FROM table_name_1 WHERE transfer_window = "winter"
What was the transfer fee when winter was the transfer window?
<s>[INST]What was the transfer fee when winter was the transfer window? Context: CREATE TABLE table_name_1 (transfer_fee VARCHAR, transfer_window VARCHAR)[/INST]SELECT transfer_fee FROM table_name_1 WHERE transfer_window = "winter"</s>
CREATE TABLE table_1566848_7 (cover_model VARCHAR, date VARCHAR)
SELECT cover_model FROM table_1566848_7 WHERE date = "7-86"
Who was the cover model in the 7-86 issue?
<s>[INST]Who was the cover model in the 7-86 issue? Context: CREATE TABLE table_1566848_7 (cover_model VARCHAR, date VARCHAR)[/INST]SELECT cover_model FROM table_1566848_7 WHERE date = "7-86"</s>
CREATE TABLE table_name_76 (quantity_preserved VARCHAR, quantity_made VARCHAR, class VARCHAR)
SELECT quantity_preserved FROM table_name_76 WHERE quantity_made = "4" AND class = "f-21"
What is the quantity preserved when 4 were made of class F-21?
<s>[INST]What is the quantity preserved when 4 were made of class F-21? Context: CREATE TABLE table_name_76 (quantity_preserved VARCHAR, quantity_made VARCHAR, class VARCHAR)[/INST]SELECT quantity_preserved FROM table_name_76 WHERE quantity_made = "4" AND class = "f-21"</s>
CREATE TABLE table_name_54 (score VARCHAR, location_attendance VARCHAR)
SELECT score FROM table_name_54 WHERE location_attendance = "great western forum"
What was the score of the game at Great Western Forum?
<s>[INST]What was the score of the game at Great Western Forum? Context: CREATE TABLE table_name_54 (score VARCHAR, location_attendance VARCHAR)[/INST]SELECT score FROM table_name_54 WHERE location_attendance = "great western forum"</s>
CREATE TABLE table_name_92 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT melbourne FROM table_name_92 WHERE gold_coast = "yes" AND adelaide = "no" AND auckland = "no"
yes or no for the melbourne with yes for gold coast, yes for adelaide, no for auckland?
<s>[INST]yes or no for the melbourne with yes for gold coast, yes for adelaide, no for auckland? Context: CREATE TABLE table_name_92 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)[/INST]SELECT melbourne FROM table_name_92 WHERE gold_coast = "yes" AND adelaide = "no" AND auckland = "no"</s>
CREATE TABLE table_name_76 (wins INTEGER, top_25 VARCHAR, events VARCHAR)
SELECT MAX(wins) FROM table_name_76 WHERE top_25 = 13 AND events < 32
What is the highest number of wins that has a top-25 of 13 and events less than 32?
<s>[INST]What is the highest number of wins that has a top-25 of 13 and events less than 32? Context: CREATE TABLE table_name_76 (wins INTEGER, top_25 VARCHAR, events VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_76 WHERE top_25 = 13 AND events < 32</s>
CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR)
SELECT area__acres__ FROM table_30120761_1 WHERE poor_law_union = "Macroom" AND civil_parish = "Macroom"
What are all the acreages of the townlands in the Macroom poor law union and Macroom civil parish?
<s>[INST]What are all the acreages of the townlands in the Macroom poor law union and Macroom civil parish? Context: CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR)[/INST]SELECT area__acres__ FROM table_30120761_1 WHERE poor_law_union = "Macroom" AND civil_parish = "M...
CREATE TABLE table_25691838_8 (guest VARCHAR, original_airdate VARCHAR)
SELECT guest FROM table_25691838_8 WHERE original_airdate = "August 16"
Who were the guests on the episode that first aired August 16?
<s>[INST]Who were the guests on the episode that first aired August 16? Context: CREATE TABLE table_25691838_8 (guest VARCHAR, original_airdate VARCHAR)[/INST]SELECT guest FROM table_25691838_8 WHERE original_airdate = "August 16"</s>
CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR); CREATE TABLE Project_Staff (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR)
SELECT project_details FROM Projects WHERE NOT project_id IN (SELECT project_id FROM Project_Staff WHERE role_code = 'researcher')
List the project details of the projects which did not hire any staff for a researcher role.
<s>[INST]List the project details of the projects which did not hire any staff for a researcher role. Context: CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR); CREATE TABLE Project_Staff (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR)[/INST]SELECT project_details ...
CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT MIN(grid) FROM table_name_91 WHERE laps = 25 AND manufacturer = "honda" AND time_retired = "+54.103"
What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103?
<s>[INST]What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103? Context: CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_91 WHERE laps = 25 AND manufacturer = "honda" AND time_retired = "+54.103"</s>
CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR)
SELECT name, headquarter FROM manufacturers ORDER BY revenue DESC
Find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first.
<s>[INST]Find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first. Context: CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR)[/INST]SELECT name, headquarter FROM manufacturers ORDER BY revenue DESC</s>
CREATE TABLE table_name_24 (mhra_approved VARCHAR, generic_name VARCHAR)
SELECT mhra_approved FROM table_name_24 WHERE generic_name = "blonanserin"
Is Blonanserin MHRA approved?
<s>[INST]Is Blonanserin MHRA approved? Context: CREATE TABLE table_name_24 (mhra_approved VARCHAR, generic_name VARCHAR)[/INST]SELECT mhra_approved FROM table_name_24 WHERE generic_name = "blonanserin"</s>
CREATE TABLE table_name_89 (qual_1 VARCHAR, name VARCHAR)
SELECT qual_1 FROM table_name_89 WHERE name = "alex tagliani"
What is Alex Tagliani's qual 1?
<s>[INST]What is Alex Tagliani's qual 1? Context: CREATE TABLE table_name_89 (qual_1 VARCHAR, name VARCHAR)[/INST]SELECT qual_1 FROM table_name_89 WHERE name = "alex tagliani"</s>
CREATE TABLE table_29679510_2 (week INTEGER)
SELECT MIN(week) FROM table_29679510_2
In what week was the first game played?
<s>[INST]In what week was the first game played? Context: CREATE TABLE table_29679510_2 (week INTEGER)[/INST]SELECT MIN(week) FROM table_29679510_2</s>
CREATE TABLE table_name_54 (stockholm VARCHAR, malmö VARCHAR)
SELECT stockholm FROM table_name_54 WHERE malmö = "2"
What was Stockholm's score when Malmo scored 2?
<s>[INST]What was Stockholm's score when Malmo scored 2? Context: CREATE TABLE table_name_54 (stockholm VARCHAR, malmö VARCHAR)[/INST]SELECT stockholm FROM table_name_54 WHERE malmö = "2"</s>
CREATE TABLE table_29181479_5 (score VARCHAR, high_points VARCHAR)
SELECT score FROM table_29181479_5 WHERE high_points = "Boris Diaw (34)"
What was the final in the game that boris diaw (34) scored the most points?
<s>[INST]What was the final in the game that boris diaw (34) scored the most points? Context: CREATE TABLE table_29181479_5 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_29181479_5 WHERE high_points = "Boris Diaw (34)"</s>
CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR)
SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1
what would be final four mvp maximum when first team is 1
<s>[INST]what would be final four mvp maximum when first team is 1 Context: CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR)[/INST]SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1</s>
CREATE TABLE table_name_69 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_69 WHERE event = "ufc 85"
What was the result fot the UFC 85 event?
<s>[INST]What was the result fot the UFC 85 event? Context: CREATE TABLE table_name_69 (res VARCHAR, event VARCHAR)[/INST]SELECT res FROM table_name_69 WHERE event = "ufc 85"</s>
CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_56 WHERE bronze > 4 AND gold > 21
What is the fewest number of silvers for teams with more than 21 gold and more than 4 bronze?
<s>[INST]What is the fewest number of silvers for teams with more than 21 gold and more than 4 bronze? Context: CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_56 WHERE bronze > 4 AND gold > 21</s>
CREATE TABLE table_name_98 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_98 WHERE record = "4-0"
Which event led to a 4-0 record?
<s>[INST]Which event led to a 4-0 record? Context: CREATE TABLE table_name_98 (event VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_98 WHERE record = "4-0"</s>
CREATE TABLE table_11253290_2 (rank__night_ INTEGER, viewers__millions_ VARCHAR)
SELECT MIN(rank__night_) FROM table_11253290_2 WHERE viewers__millions_ = "5.25"
What is the lowest rank (night) for having viewers (millions) 5.25?
<s>[INST]What is the lowest rank (night) for having viewers (millions) 5.25? Context: CREATE TABLE table_11253290_2 (rank__night_ INTEGER, viewers__millions_ VARCHAR)[/INST]SELECT MIN(rank__night_) FROM table_11253290_2 WHERE viewers__millions_ = "5.25"</s>
CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)
SELECT village__german_ FROM table_10798421_1 WHERE village__slovenian_ = "Sele Srednji Kot"
Provide me with the name of all the village (German) that are part of the village (Slovenian) with sele srednji kot.
<s>[INST]Provide me with the name of all the village (German) that are part of the village (Slovenian) with sele srednji kot. Context: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)[/INST]SELECT village__german_ FROM table_10798421_1 WHERE village__slovenian_ = "Sele Srednji Kot"...
CREATE TABLE table_name_70 (title VARCHAR, year VARCHAR)
SELECT title FROM table_name_70 WHERE year = "2012"
What is the title of the TV series in 2012?
<s>[INST]What is the title of the TV series in 2012? Context: CREATE TABLE table_name_70 (title VARCHAR, year VARCHAR)[/INST]SELECT title FROM table_name_70 WHERE year = "2012"</s>
CREATE TABLE table_256286_61 (type VARCHAR, yes_votes VARCHAR)
SELECT type FROM table_256286_61 WHERE yes_votes = 546255
What is the type when yes votes are 546255?
<s>[INST]What is the type when yes votes are 546255? Context: CREATE TABLE table_256286_61 (type VARCHAR, yes_votes VARCHAR)[/INST]SELECT type FROM table_256286_61 WHERE yes_votes = 546255</s>
CREATE TABLE table_25703_2 (death_2012 VARCHAR, birth_2012 VARCHAR)
SELECT death_2012 FROM table_25703_2 WHERE birth_2012 = 127
What were the total number of 2012 deaths when 2012 births were 127?
<s>[INST]What were the total number of 2012 deaths when 2012 births were 127? Context: CREATE TABLE table_25703_2 (death_2012 VARCHAR, birth_2012 VARCHAR)[/INST]SELECT death_2012 FROM table_25703_2 WHERE birth_2012 = 127</s>
CREATE TABLE table_name_30 (network VARCHAR, korean_title VARCHAR)
SELECT network FROM table_name_30 WHERE korean_title = "mbc 베스트극장 - 작은 도둑"
What network is the Korean title of mbc 베스트극장 - 작은 도둑 on?
<s>[INST]What network is the Korean title of mbc 베스트극장 - 작은 도둑 on? Context: CREATE TABLE table_name_30 (network VARCHAR, korean_title VARCHAR)[/INST]SELECT network FROM table_name_30 WHERE korean_title = "mbc 베스트극장 - 작은 도둑"</s>
CREATE TABLE table_name_2 (throws VARCHAR, dob VARCHAR)
SELECT throws FROM table_name_2 WHERE dob = "19/10/81"
Which throw number had a DOB of 19/10/81?
<s>[INST]Which throw number had a DOB of 19/10/81? Context: CREATE TABLE table_name_2 (throws VARCHAR, dob VARCHAR)[/INST]SELECT throws FROM table_name_2 WHERE dob = "19/10/81"</s>
CREATE TABLE table_10236830_1 (actors_name VARCHAR, film_name VARCHAR, nomination VARCHAR)
SELECT actors_name FROM table_10236830_1 WHERE film_name = "Fuchzhou" AND nomination = "Best Non-Professional Actor"
What was the actors name for fuchzhou and nomination was best non-professional actor?
<s>[INST]What was the actors name for fuchzhou and nomination was best non-professional actor? Context: CREATE TABLE table_10236830_1 (actors_name VARCHAR, film_name VARCHAR, nomination VARCHAR)[/INST]SELECT actors_name FROM table_10236830_1 WHERE film_name = "Fuchzhou" AND nomination = "Best Non-Professional Actor"</s...
CREATE TABLE concert (stadium_id VARCHAR, capacity VARCHAR); CREATE TABLE stadium (stadium_id VARCHAR, capacity VARCHAR)
SELECT COUNT(*) FROM concert WHERE stadium_id = (SELECT stadium_id FROM stadium ORDER BY capacity DESC LIMIT 1)
Find the number of concerts happened in the stadium with the highest capacity .
<s>[INST]Find the number of concerts happened in the stadium with the highest capacity . Context: CREATE TABLE concert (stadium_id VARCHAR, capacity VARCHAR); CREATE TABLE stadium (stadium_id VARCHAR, capacity VARCHAR)[/INST]SELECT COUNT(*) FROM concert WHERE stadium_id = (SELECT stadium_id FROM stadium ORDER BY capaci...
CREATE TABLE table_name_46 (size VARCHAR, metal VARCHAR, denomination VARCHAR)
SELECT size FROM table_name_46 WHERE metal = "nickel" AND denomination = "one rupee"
What is the size that has nickel as the metal, and one rupee as the denomination?
<s>[INST]What is the size that has nickel as the metal, and one rupee as the denomination? Context: CREATE TABLE table_name_46 (size VARCHAR, metal VARCHAR, denomination VARCHAR)[/INST]SELECT size FROM table_name_46 WHERE metal = "nickel" AND denomination = "one rupee"</s>
CREATE TABLE table_20903658_1 (medium VARCHAR, title_subject VARCHAR)
SELECT medium FROM table_20903658_1 WHERE title_subject = "George Harold Baker"
What medium was used for the sculpture of George Harold Baker?
<s>[INST]What medium was used for the sculpture of George Harold Baker? Context: CREATE TABLE table_20903658_1 (medium VARCHAR, title_subject VARCHAR)[/INST]SELECT medium FROM table_20903658_1 WHERE title_subject = "George Harold Baker"</s>
CREATE TABLE table_name_54 (goals_for INTEGER, drawn VARCHAR, played VARCHAR)
SELECT MAX(goals_for) FROM table_name_54 WHERE drawn < 11 AND played < 42
What is the highest goals for that has a drawn less than 11, with a played less than 42?
<s>[INST]What is the highest goals for that has a drawn less than 11, with a played less than 42? Context: CREATE TABLE table_name_54 (goals_for INTEGER, drawn VARCHAR, played VARCHAR)[/INST]SELECT MAX(goals_for) FROM table_name_54 WHERE drawn < 11 AND played < 42</s>
CREATE TABLE table_1473672_9 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_1473672_9 WHERE pick__number = 132
who is the the player with pick # being 132
<s>[INST]who is the the player with pick # being 132 Context: CREATE TABLE table_1473672_9 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_1473672_9 WHERE pick__number = 132</s>
CREATE TABLE table_16388478_4 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_16388478_4 WHERE away_team = "Carlton"
Who was the home team when the away team is Carlton?
<s>[INST]Who was the home team when the away team is Carlton? Context: CREATE TABLE table_16388478_4 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_16388478_4 WHERE away_team = "Carlton"</s>
CREATE TABLE table_name_31 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_31 WHERE name = "l. publilius philo vulscus"
What is the Type for l. publilius philo vulscus?
<s>[INST]What is the Type for l. publilius philo vulscus? Context: CREATE TABLE table_name_31 (type VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_name_31 WHERE name = "l. publilius philo vulscus"</s>
CREATE TABLE table_16387700_1 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_16387700_1 WHERE away_team = "Richmond"
Name the date for richmond
<s>[INST]Name the date for richmond Context: CREATE TABLE table_16387700_1 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_16387700_1 WHERE away_team = "Richmond"</s>
CREATE TABLE table_name_45 (year VARCHAR)
SELECT MIN(2008) FROM table_name_45 WHERE year = "guizhou" AND 2005 < 31
Name the lowest 2008 for guizhou when 2005 is less than 31
<s>[INST]Name the lowest 2008 for guizhou when 2005 is less than 31 Context: CREATE TABLE table_name_45 (year VARCHAR)[/INST]SELECT MIN(2008) FROM table_name_45 WHERE year = "guizhou" AND 2005 < 31</s>
CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR, hours INTEGER); CREATE TABLE projects (hours INTEGER)
SELECT T2.name, T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.hours = (SELECT MIN(hours) FROM projects)
Find name of the project that needs the least amount of time to finish and the name of scientists who worked on it.
<s>[INST]Find name of the project that needs the least amount of time to finish and the name of scientists who worked on it. Context: CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR, hours INTEGER); CREA...
CREATE TABLE table_name_71 (ihsaa_class VARCHAR, county INTEGER)
SELECT ihsaa_class FROM table_name_71 WHERE county < 228
What is the IHSAA class of the county that is less than 228?
<s>[INST]What is the IHSAA class of the county that is less than 228? Context: CREATE TABLE table_name_71 (ihsaa_class VARCHAR, county INTEGER)[/INST]SELECT ihsaa_class FROM table_name_71 WHERE county < 228</s>
CREATE TABLE table_name_71 (airport VARCHAR, city VARCHAR)
SELECT airport FROM table_name_71 WHERE city = "macau"
Which airport is associated with Macau?
<s>[INST]Which airport is associated with Macau? Context: CREATE TABLE table_name_71 (airport VARCHAR, city VARCHAR)[/INST]SELECT airport FROM table_name_71 WHERE city = "macau"</s>
CREATE TABLE table_name_26 (wins INTEGER, draws VARCHAR, played VARCHAR)
SELECT MIN(wins) FROM table_name_26 WHERE draws < 7 AND played > 30
What is the fewest number of wins that had fewer than 7 draws and more than 30 played?
<s>[INST]What is the fewest number of wins that had fewer than 7 draws and more than 30 played? Context: CREATE TABLE table_name_26 (wins INTEGER, draws VARCHAR, played VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_26 WHERE draws < 7 AND played > 30</s>
CREATE TABLE table_182298_5 (mens_open VARCHAR, country VARCHAR)
SELECT COUNT(mens_open) FROM table_182298_5 WHERE country = "Sweden"
How many won the Men's Open if the players are from Sweden?
<s>[INST]How many won the Men's Open if the players are from Sweden? Context: CREATE TABLE table_182298_5 (mens_open VARCHAR, country VARCHAR)[/INST]SELECT COUNT(mens_open) FROM table_182298_5 WHERE country = "Sweden"</s>