question
stringlengths
16
239
answer
stringlengths
18
400
context
stringlengths
30
308
text
stringlengths
108
764
Which Agricultural Panel has a Nominated by the Taoiseach larger than 6, and a Total larger than 60?
SELECT SUM(agricultural_panel) FROM table_name_26 WHERE nominated_by_the_taoiseach > 6 AND total > 60
CREATE TABLE table_name_26 (agricultural_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
<s>[INST] Which Agricultural Panel has a Nominated by the Taoiseach larger than 6, and a Total larger than 60? context: CREATE TABLE table_name_26 (agricultural_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR) [/INST] SELECT SUM(agricultural_panel) FROM table_name_26 WHERE nominated_by_the_taoiseach >...
What is Melbourne's home venue?
SELECT venue FROM table_name_74 WHERE home_team = "melbourne"
CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)
<s>[INST] What is Melbourne's home venue? context: CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR) [/INST] SELECT venue FROM table_name_74 WHERE home_team = "melbourne" </s>
What is the number of games for the season with 10 ties?
SELECT games FROM table_name_86 WHERE tied = 10
CREATE TABLE table_name_86 (games VARCHAR, tied VARCHAR)
<s>[INST] What is the number of games for the season with 10 ties? context: CREATE TABLE table_name_86 (games VARCHAR, tied VARCHAR) [/INST] SELECT games FROM table_name_86 WHERE tied = 10 </s>
On what date was the game more than 5?
SELECT date FROM table_name_23 WHERE game > 5
CREATE TABLE table_name_23 (date VARCHAR, game INTEGER)
<s>[INST] On what date was the game more than 5? context: CREATE TABLE table_name_23 (date VARCHAR, game INTEGER) [/INST] SELECT date FROM table_name_23 WHERE game > 5 </s>
What was the record of the game for game 31?
SELECT record FROM table_name_78 WHERE game = 31
CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR)
<s>[INST] What was the record of the game for game 31? context: CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR) [/INST] SELECT record FROM table_name_78 WHERE game = 31 </s>
WHAT IS THE AVERAGE NANGUN WITH A RANK LARGER THAN 2, TOTAL OF 17.85?
SELECT AVG(nangun) FROM table_name_80 WHERE rank > 2 AND total = 17.85
CREATE TABLE table_name_80 (nangun INTEGER, rank VARCHAR, total VARCHAR)
<s>[INST] WHAT IS THE AVERAGE NANGUN WITH A RANK LARGER THAN 2, TOTAL OF 17.85? context: CREATE TABLE table_name_80 (nangun INTEGER, rank VARCHAR, total VARCHAR) [/INST] SELECT AVG(nangun) FROM table_name_80 WHERE rank > 2 AND total = 17.85 </s>
What bombing happened in Brighton, UK?
SELECT event FROM table_name_98 WHERE location = "brighton, uk"
CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR)
<s>[INST] What bombing happened in Brighton, UK? context: CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR) [/INST] SELECT event FROM table_name_98 WHERE location = "brighton, uk" </s>
What is the stadium of melbourne?
SELECT venue FROM table_name_40 WHERE home_team = "melbourne"
CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)
<s>[INST] What is the stadium of melbourne? context: CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) [/INST] SELECT venue FROM table_name_40 WHERE home_team = "melbourne" </s>
What skip has denmark as the country?
SELECT skip FROM table_name_58 WHERE country = "denmark"
CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR)
<s>[INST] What skip has denmark as the country? context: CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR) [/INST] SELECT skip FROM table_name_58 WHERE country = "denmark" </s>
What is the average where the swimsuit is larger than 9.437?
SELECT MAX(average) FROM table_name_24 WHERE swimsuit > 9.437
CREATE TABLE table_name_24 (average INTEGER, swimsuit INTEGER)
<s>[INST] What is the average where the swimsuit is larger than 9.437? context: CREATE TABLE table_name_24 (average INTEGER, swimsuit INTEGER) [/INST] SELECT MAX(average) FROM table_name_24 WHERE swimsuit > 9.437 </s>
Which Bronze has a Gold smaller than 0?
SELECT AVG(bronze) FROM table_name_82 WHERE gold < 0
CREATE TABLE table_name_82 (bronze INTEGER, gold INTEGER)
<s>[INST] Which Bronze has a Gold smaller than 0? context: CREATE TABLE table_name_82 (bronze INTEGER, gold INTEGER) [/INST] SELECT AVG(bronze) FROM table_name_82 WHERE gold < 0 </s>
What Season, when Country is China, when Team is Dalian Shide, and when Goals are 0?
SELECT season FROM table_name_48 WHERE country = "china" AND team = "dalian shide" AND goals = 0
CREATE TABLE table_name_48 (season VARCHAR, goals VARCHAR, country VARCHAR, team VARCHAR)
<s>[INST] What Season, when Country is China, when Team is Dalian Shide, and when Goals are 0? context: CREATE TABLE table_name_48 (season VARCHAR, goals VARCHAR, country VARCHAR, team VARCHAR) [/INST] SELECT season FROM table_name_48 WHERE country = "china" AND team = "dalian shide" AND goals = 0 </s>
What is the rank that when Serbia is the nation, and gold is larger than 0?
SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0
CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR)
<s>[INST] What is the rank that when Serbia is the nation, and gold is larger than 0? context: CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR) [/INST] SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0 </s>
Which is the smallest evening gown score when the interview score was more than 9.164, the swimsuit stat was less than 9.35, and the average is less than 9.233?
SELECT MIN(evening_gown) FROM table_name_63 WHERE interview > 9.164 AND swimsuit < 9.35 AND average < 9.233
CREATE TABLE table_name_63 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR)
<s>[INST] Which is the smallest evening gown score when the interview score was more than 9.164, the swimsuit stat was less than 9.35, and the average is less than 9.233? context: CREATE TABLE table_name_63 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR) [/INST] SELECT MIN(evening_gown) FR...
Find the number of routes and airport name for each source airport, order the results by decreasing number of routes.
SELECT COUNT(*), T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T1.name ORDER BY COUNT(*) DESC
CREATE TABLE airports (name VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)
<s>[INST] Find the number of routes and airport name for each source airport, order the results by decreasing number of routes. context: CREATE TABLE airports (name VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR) [/INST] SELECT COUNT(*), T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_...
For the event with index f7, what is the status?
SELECT status FROM table_name_23 WHERE index = "f7"
CREATE TABLE table_name_23 (status VARCHAR, index VARCHAR)
<s>[INST] For the event with index f7, what is the status? context: CREATE TABLE table_name_23 (status VARCHAR, index VARCHAR) [/INST] SELECT status FROM table_name_23 WHERE index = "f7" </s>
Who wrote episode 74?
SELECT written_by FROM table_1876825_5 WHERE no_in_series = 74
CREATE TABLE table_1876825_5 (written_by VARCHAR, no_in_series VARCHAR)
<s>[INST] Who wrote episode 74? context: CREATE TABLE table_1876825_5 (written_by VARCHAR, no_in_series VARCHAR) [/INST] SELECT written_by FROM table_1876825_5 WHERE no_in_series = 74 </s>
What is the first and last name of the professor in biology department?
SELECT T3.EMP_FNAME, T3.EMP_LNAME FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code JOIN employee AS T3 ON T1.EMP_NUM = T3.EMP_NUM WHERE DEPT_NAME = "Biology"
CREATE TABLE professor (dept_code VARCHAR, EMP_NUM VARCHAR); CREATE TABLE department (dept_code VARCHAR); CREATE TABLE employee (EMP_FNAME VARCHAR, EMP_LNAME VARCHAR, EMP_NUM VARCHAR)
<s>[INST] What is the first and last name of the professor in biology department? context: CREATE TABLE professor (dept_code VARCHAR, EMP_NUM VARCHAR); CREATE TABLE department (dept_code VARCHAR); CREATE TABLE employee (EMP_FNAME VARCHAR, EMP_LNAME VARCHAR, EMP_NUM VARCHAR) [/INST] SELECT T3.EMP_FNAME, T3.EMP_LNAME FR...
What is the height for the player in 1968-72?
SELECT height_in_ft FROM table_11734041_11 WHERE years_for_rockets = "1968-72"
CREATE TABLE table_11734041_11 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
<s>[INST] What is the height for the player in 1968-72? context: CREATE TABLE table_11734041_11 (height_in_ft VARCHAR, years_for_rockets VARCHAR) [/INST] SELECT height_in_ft FROM table_11734041_11 WHERE years_for_rockets = "1968-72" </s>
How many loses does the team have that conceded 25 and won more than 6 games?
SELECT SUM(losses) FROM table_name_6 WHERE conceded = 25 AND wins > 6
CREATE TABLE table_name_6 (losses INTEGER, conceded VARCHAR, wins VARCHAR)
<s>[INST] How many loses does the team have that conceded 25 and won more than 6 games? context: CREATE TABLE table_name_6 (losses INTEGER, conceded VARCHAR, wins VARCHAR) [/INST] SELECT SUM(losses) FROM table_name_6 WHERE conceded = 25 AND wins > 6 </s>
What episode had the last appearances of the late wife of mac taylor?
SELECT last_appearance FROM table_11240028_3 WHERE relationship = "Late wife of Mac Taylor"
CREATE TABLE table_11240028_3 (last_appearance VARCHAR, relationship VARCHAR)
<s>[INST] What episode had the last appearances of the late wife of mac taylor? context: CREATE TABLE table_11240028_3 (last_appearance VARCHAR, relationship VARCHAR) [/INST] SELECT last_appearance FROM table_11240028_3 WHERE relationship = "Late wife of Mac Taylor" </s>
Lis the series for game 5.
SELECT series FROM table_29181479_5 WHERE game = 5
CREATE TABLE table_29181479_5 (series VARCHAR, game VARCHAR)
<s>[INST] Lis the series for game 5. context: CREATE TABLE table_29181479_5 (series VARCHAR, game VARCHAR) [/INST] SELECT series FROM table_29181479_5 WHERE game = 5 </s>
WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON?
SELECT gross FROM table_name_71 WHERE rank > 7 AND director = "barry levinson"
CREATE TABLE table_name_71 (gross VARCHAR, rank VARCHAR, director VARCHAR)
<s>[INST] WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON? context: CREATE TABLE table_name_71 (gross VARCHAR, rank VARCHAR, director VARCHAR) [/INST] SELECT gross FROM table_name_71 WHERE rank > 7 AND director = "barry levinson" </s>
What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?
SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305
CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR)
<s>[INST] What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? context: CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR) [/INST] SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305 </s>
What is the release date with par116 as the cat. #?
SELECT release_date FROM table_name_96 WHERE cat__number = "par116"
CREATE TABLE table_name_96 (release_date VARCHAR, cat__number VARCHAR)
<s>[INST] What is the release date with par116 as the cat. #? context: CREATE TABLE table_name_96 (release_date VARCHAR, cat__number VARCHAR) [/INST] SELECT release_date FROM table_name_96 WHERE cat__number = "par116" </s>
What is the home ground if team is Sunshine Coast Falcons?
SELECT home_ground FROM table_2383498_4 WHERE team = "Sunshine Coast Falcons"
CREATE TABLE table_2383498_4 (home_ground VARCHAR, team VARCHAR)
<s>[INST] What is the home ground if team is Sunshine Coast Falcons? context: CREATE TABLE table_2383498_4 (home_ground VARCHAR, team VARCHAR) [/INST] SELECT home_ground FROM table_2383498_4 WHERE team = "Sunshine Coast Falcons" </s>
On what day was game 2 played?
SELECT date FROM table_name_56 WHERE game = 2
CREATE TABLE table_name_56 (date VARCHAR, game VARCHAR)
<s>[INST] On what day was game 2 played? context: CREATE TABLE table_name_56 (date VARCHAR, game VARCHAR) [/INST] SELECT date FROM table_name_56 WHERE game = 2 </s>
Which player has a pick of 175?
SELECT player FROM table_name_58 WHERE pick = 175
CREATE TABLE table_name_58 (player VARCHAR, pick VARCHAR)
<s>[INST] Which player has a pick of 175? context: CREATE TABLE table_name_58 (player VARCHAR, pick VARCHAR) [/INST] SELECT player FROM table_name_58 WHERE pick = 175 </s>
Show the average amount of transactions for different lots, ordered by average amount of transactions.
SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id = T2.transaction_id GROUP BY T2.lot_id ORDER BY AVG(amount_of_transaction)
CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)
<s>[INST] Show the average amount of transactions for different lots, ordered by average amount of transactions. context: CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR) [/INST] SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS...
How many schools did darryl dawkins play for
SELECT COUNT(school_club_team) FROM table_11545282_4 WHERE player = "Darryl Dawkins"
CREATE TABLE table_11545282_4 (school_club_team VARCHAR, player VARCHAR)
<s>[INST] How many schools did darryl dawkins play for context: CREATE TABLE table_11545282_4 (school_club_team VARCHAR, player VARCHAR) [/INST] SELECT COUNT(school_club_team) FROM table_11545282_4 WHERE player = "Darryl Dawkins" </s>
What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576?
SELECT MAX(kneel) FROM table_name_59 WHERE stand < 187 AND prone = 197 AND qual > 576
CREATE TABLE table_name_59 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR)
<s>[INST] What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576? context: CREATE TABLE table_name_59 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR) [/INST] SELECT MAX(kneel) FROM table_name_59 WHERE stand < 187 AND prone = 197 AND qual > 576 </s>
The driver in class A with 125 laps is in what position?
SELECT position FROM table_name_92 WHERE class = "a" AND laps = 125
CREATE TABLE table_name_92 (position VARCHAR, class VARCHAR, laps VARCHAR)
<s>[INST] The driver in class A with 125 laps is in what position? context: CREATE TABLE table_name_92 (position VARCHAR, class VARCHAR, laps VARCHAR) [/INST] SELECT position FROM table_name_92 WHERE class = "a" AND laps = 125 </s>
What was the score when the home team had a crowd larger than 21,188?
SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188
CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER)
<s>[INST] What was the score when the home team had a crowd larger than 21,188? context: CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER) [/INST] SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188 </s>
How many teams drew the widnes vikings?
SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings"
CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR)
<s>[INST] How many teams drew the widnes vikings? context: CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR) [/INST] SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings" </s>
Which competition had a 4-3 score?
SELECT competition FROM table_name_86 WHERE score = "4-3"
CREATE TABLE table_name_86 (competition VARCHAR, score VARCHAR)
<s>[INST] Which competition had a 4-3 score? context: CREATE TABLE table_name_86 (competition VARCHAR, score VARCHAR) [/INST] SELECT competition FROM table_name_86 WHERE score = "4-3" </s>
Performer 2 of compilation 2 is what performer 1?
SELECT performer_1 FROM table_name_91 WHERE performer_2 = "compilation 2"
CREATE TABLE table_name_91 (performer_1 VARCHAR, performer_2 VARCHAR)
<s>[INST] Performer 2 of compilation 2 is what performer 1? context: CREATE TABLE table_name_91 (performer_1 VARCHAR, performer_2 VARCHAR) [/INST] SELECT performer_1 FROM table_name_91 WHERE performer_2 = "compilation 2" </s>
What's the airing date for the show with 62 episodes?
SELECT airing_date FROM table_name_1 WHERE number_of_episodes = 62
CREATE TABLE table_name_1 (airing_date VARCHAR, number_of_episodes VARCHAR)
<s>[INST] What's the airing date for the show with 62 episodes? context: CREATE TABLE table_name_1 (airing_date VARCHAR, number_of_episodes VARCHAR) [/INST] SELECT airing_date FROM table_name_1 WHERE number_of_episodes = 62 </s>
List the studios which average gross is above 4500000.
SELECT Studio FROM film GROUP BY Studio HAVING AVG(Gross_in_dollar) >= 4500000
CREATE TABLE film (Studio VARCHAR, Gross_in_dollar INTEGER)
<s>[INST] List the studios which average gross is above 4500000. context: CREATE TABLE film (Studio VARCHAR, Gross_in_dollar INTEGER) [/INST] SELECT Studio FROM film GROUP BY Studio HAVING AVG(Gross_in_dollar) >= 4500000 </s>
List the lowest number of assists.
SELECT MIN(assists) FROM table_26360571_2
CREATE TABLE table_26360571_2 (assists INTEGER)
<s>[INST] List the lowest number of assists. context: CREATE TABLE table_26360571_2 (assists INTEGER) [/INST] SELECT MIN(assists) FROM table_26360571_2 </s>
What is the average Grid, when Laps is less than 24, when Bike is "Honda CBR1000RR", and when Rider is "Jason Pridmore"?
SELECT AVG(grid) FROM table_name_7 WHERE laps < 24 AND bike = "honda cbr1000rr" AND rider = "jason pridmore"
CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR, laps VARCHAR, bike VARCHAR)
<s>[INST] What is the average Grid, when Laps is less than 24, when Bike is "Honda CBR1000RR", and when Rider is "Jason Pridmore"? context: CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR, laps VARCHAR, bike VARCHAR) [/INST] SELECT AVG(grid) FROM table_name_7 WHERE laps < 24 AND bike = "honda cbr1000rr" AND rid...
What was the nationality for the player with 33 goals?
SELECT nationality FROM table_name_65 WHERE goals = 33
CREATE TABLE table_name_65 (nationality VARCHAR, goals VARCHAR)
<s>[INST] What was the nationality for the player with 33 goals? context: CREATE TABLE table_name_65 (nationality VARCHAR, goals VARCHAR) [/INST] SELECT nationality FROM table_name_65 WHERE goals = 33 </s>
What's the 2008 of the Australian Open when the 2011 was 1R?
SELECT 2008 FROM table_name_87 WHERE 2011 = "1r" AND tournament = "australian open"
CREATE TABLE table_name_87 (tournament VARCHAR)
<s>[INST] What's the 2008 of the Australian Open when the 2011 was 1R? context: CREATE TABLE table_name_87 (tournament VARCHAR) [/INST] SELECT 2008 FROM table_name_87 WHERE 2011 = "1r" AND tournament = "australian open" </s>
How many Picks have a College of hawaii, and an Overall smaller than 122?
SELECT COUNT(pick) FROM table_name_51 WHERE college = "hawaii" AND overall < 122
CREATE TABLE table_name_51 (pick VARCHAR, college VARCHAR, overall VARCHAR)
<s>[INST] How many Picks have a College of hawaii, and an Overall smaller than 122? context: CREATE TABLE table_name_51 (pick VARCHAR, college VARCHAR, overall VARCHAR) [/INST] SELECT COUNT(pick) FROM table_name_51 WHERE college = "hawaii" AND overall < 122 </s>
Name the 2011 gdp for 65 rank world
SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_3 WHERE rank_world = 65
CREATE TABLE table_2248784_3 (rank_world VARCHAR)
<s>[INST] Name the 2011 gdp for 65 rank world context: CREATE TABLE table_2248784_3 (rank_world VARCHAR) [/INST] SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_3 WHERE rank_world = 65 </s>
Find the number of routes from the United States to Canada.
SELECT COUNT(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States')
CREATE TABLE airports (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE routes (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR)
<s>[INST] Find the number of routes from the United States to Canada. context: CREATE TABLE airports (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE routes (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR) [/INST] SELECT COUNT(*) FROM routes WHERE dst_apid IN (SELECT...
Name the reporters for dave johnson for eddie arcaro and howard cosell
SELECT reporters FROM table_22514845_5 WHERE race_caller = "Dave Johnson" AND s_analyst = "Eddie Arcaro and Howard Cosell"
CREATE TABLE table_22514845_5 (reporters VARCHAR, race_caller VARCHAR, s_analyst VARCHAR)
<s>[INST] Name the reporters for dave johnson for eddie arcaro and howard cosell context: CREATE TABLE table_22514845_5 (reporters VARCHAR, race_caller VARCHAR, s_analyst VARCHAR) [/INST] SELECT reporters FROM table_22514845_5 WHERE race_caller = "Dave Johnson" AND s_analyst = "Eddie Arcaro and Howard Cosell" </s>
What's the smallest number of players?
SELECT MIN(players) FROM table_10682862_68
CREATE TABLE table_10682862_68 (players INTEGER)
<s>[INST] What's the smallest number of players? context: CREATE TABLE table_10682862_68 (players INTEGER) [/INST] SELECT MIN(players) FROM table_10682862_68 </s>
In the Central region, what was the infiltration (km 3 /year)?
SELECT infiltration__km_3__year_ FROM table_25983027_1 WHERE region = "Central"
CREATE TABLE table_25983027_1 (infiltration__km_3__year_ VARCHAR, region VARCHAR)
<s>[INST] In the Central region, what was the infiltration (km 3 /year)? context: CREATE TABLE table_25983027_1 (infiltration__km_3__year_ VARCHAR, region VARCHAR) [/INST] SELECT infiltration__km_3__year_ FROM table_25983027_1 WHERE region = "Central" </s>
What's the rank for February 11, 2012 with less than 18,735 in attendance?
SELECT AVG(rank) FROM table_name_67 WHERE date = "february 11, 2012" AND attendance < 18 OFFSET 735
CREATE TABLE table_name_67 (rank INTEGER, date VARCHAR, attendance VARCHAR)
<s>[INST] What's the rank for February 11, 2012 with less than 18,735 in attendance? context: CREATE TABLE table_name_67 (rank INTEGER, date VARCHAR, attendance VARCHAR) [/INST] SELECT AVG(rank) FROM table_name_67 WHERE date = "february 11, 2012" AND attendance < 18 OFFSET 735 </s>
Which Attendance is the highest one that has a Loss of batista (4-5)?
SELECT MAX(attendance) FROM table_name_3 WHERE loss = "batista (4-5)"
CREATE TABLE table_name_3 (attendance INTEGER, loss VARCHAR)
<s>[INST] Which Attendance is the highest one that has a Loss of batista (4-5)? context: CREATE TABLE table_name_3 (attendance INTEGER, loss VARCHAR) [/INST] SELECT MAX(attendance) FROM table_name_3 WHERE loss = "batista (4-5)" </s>
What Site has Attendance of 53,000, and a Date of october 21, 1967?
SELECT site FROM table_name_83 WHERE attendance = "53,000" AND date = "october 21, 1967"
CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR)
<s>[INST] What Site has Attendance of 53,000, and a Date of october 21, 1967? context: CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR) [/INST] SELECT site FROM table_name_83 WHERE attendance = "53,000" AND date = "october 21, 1967" </s>
What is the Time of Driver Jan Heylen (r)?
SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)"
CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR)
<s>[INST] What is the Time of Driver Jan Heylen (r)? context: CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR) [/INST] SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)" </s>
Find the name and savings balance of the top 3 accounts with the highest saving balance sorted by savings balance in descending order.
SELECT T1.name, T2.balance FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T2.balance DESC LIMIT 3
CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
<s>[INST] Find the name and savings balance of the top 3 accounts with the highest saving balance sorted by savings balance in descending order. context: CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) [/INST] SELECT T1.name, T2.balance FROM accounts AS T1 J...
Which Round has a Position of lw, and a College/Junior/Club Team (League) of swift current broncos (wchl)?
SELECT AVG(round) FROM table_name_11 WHERE position = "lw" AND college_junior_club_team__league_ = "swift current broncos (wchl)"
CREATE TABLE table_name_11 (round INTEGER, position VARCHAR, college_junior_club_team__league_ VARCHAR)
<s>[INST] Which Round has a Position of lw, and a College/Junior/Club Team (League) of swift current broncos (wchl)? context: CREATE TABLE table_name_11 (round INTEGER, position VARCHAR, college_junior_club_team__league_ VARCHAR) [/INST] SELECT AVG(round) FROM table_name_11 WHERE position = "lw" AND college_junior_clu...
Virtual channel of 16.5 has what call sign?
SELECT call_sign FROM table_name_23 WHERE virtual_channel = "16.5"
CREATE TABLE table_name_23 (call_sign VARCHAR, virtual_channel VARCHAR)
<s>[INST] Virtual channel of 16.5 has what call sign? context: CREATE TABLE table_name_23 (call_sign VARCHAR, virtual_channel VARCHAR) [/INST] SELECT call_sign FROM table_name_23 WHERE virtual_channel = "16.5" </s>
What is the total grid with laps less than 2?
SELECT SUM(grid) FROM table_name_78 WHERE laps < 2
CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER)
<s>[INST] What is the total grid with laps less than 2? context: CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER) [/INST] SELECT SUM(grid) FROM table_name_78 WHERE laps < 2 </s>
who are the writers of the episode whose production code(s) is 225560?
SELECT written_by FROM table_27714573_1 WHERE production_code_s_ = 225560
CREATE TABLE table_27714573_1 (written_by VARCHAR, production_code_s_ VARCHAR)
<s>[INST] who are the writers of the episode whose production code(s) is 225560? context: CREATE TABLE table_27714573_1 (written_by VARCHAR, production_code_s_ VARCHAR) [/INST] SELECT written_by FROM table_27714573_1 WHERE production_code_s_ = 225560 </s>
What was the lowest V(mph) for a Saffir-Simpson of 4 in 2005?
SELECT MIN(v_mph_) FROM table_name_36 WHERE saffir_simpson_category = 4 AND year = 2005
CREATE TABLE table_name_36 (v_mph_ INTEGER, saffir_simpson_category VARCHAR, year VARCHAR)
<s>[INST] What was the lowest V(mph) for a Saffir-Simpson of 4 in 2005? context: CREATE TABLE table_name_36 (v_mph_ INTEGER, saffir_simpson_category VARCHAR, year VARCHAR) [/INST] SELECT MIN(v_mph_) FROM table_name_36 WHERE saffir_simpson_category = 4 AND year = 2005 </s>
I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16
SELECT COUNT(ties) FROM table_name_3 WHERE win__percentage > 0 AND tenure = "2001-2011" AND lost > 16
CREATE TABLE table_name_3 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR)
<s>[INST] I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16 context: CREATE TABLE table_name_3 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR) [/INST] SELECT COUNT(ties) FROM table_name_3 WHERE win__percentage > 0 AND tenure = "2001-2011" AND los...
In what year did the #14 FitzBradshaw Racing compete?
SELECT year FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw Racing"
CREATE TABLE table_1909647_2 (year VARCHAR, team_s_ VARCHAR)
<s>[INST] In what year did the #14 FitzBradshaw Racing compete? context: CREATE TABLE table_1909647_2 (year VARCHAR, team_s_ VARCHAR) [/INST] SELECT year FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw Racing" </s>
Bowler of shane bond has what lowest overall number?
SELECT MIN(over_no) FROM table_name_37 WHERE bowler = "shane bond"
CREATE TABLE table_name_37 (over_no INTEGER, bowler VARCHAR)
<s>[INST] Bowler of shane bond has what lowest overall number? context: CREATE TABLE table_name_37 (over_no INTEGER, bowler VARCHAR) [/INST] SELECT MIN(over_no) FROM table_name_37 WHERE bowler = "shane bond" </s>
What is the unemployment rate for the county with a market income per capita of $20,958?
SELECT COUNT(unemployment_rate) FROM table_22815568_2 WHERE market_income_per_capita = "$20,958"
CREATE TABLE table_22815568_2 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
<s>[INST] What is the unemployment rate for the county with a market income per capita of $20,958? context: CREATE TABLE table_22815568_2 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) [/INST] SELECT COUNT(unemployment_rate) FROM table_22815568_2 WHERE market_income_per_capita = "$20,958" </s>
In 2010-11, what was the League name?
SELECT league FROM table_name_18 WHERE year = "2010-11"
CREATE TABLE table_name_18 (league VARCHAR, year VARCHAR)
<s>[INST] In 2010-11, what was the League name? context: CREATE TABLE table_name_18 (league VARCHAR, year VARCHAR) [/INST] SELECT league FROM table_name_18 WHERE year = "2010-11" </s>
What's the pick number of the player from New Mexico?
SELECT MAX(pick__number) FROM table_10812938_5 WHERE college = "New Mexico"
CREATE TABLE table_10812938_5 (pick__number INTEGER, college VARCHAR)
<s>[INST] What's the pick number of the player from New Mexico? context: CREATE TABLE table_10812938_5 (pick__number INTEGER, college VARCHAR) [/INST] SELECT MAX(pick__number) FROM table_10812938_5 WHERE college = "New Mexico" </s>
which Points has Wins smaller than 2?
SELECT MIN(points) FROM table_name_41 WHERE wins < 2
CREATE TABLE table_name_41 (points INTEGER, wins INTEGER)
<s>[INST] which Points has Wins smaller than 2? context: CREATE TABLE table_name_41 (points INTEGER, wins INTEGER) [/INST] SELECT MIN(points) FROM table_name_41 WHERE wins < 2 </s>
Which languages are spoken by only one country in republic governments?
SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.GovernmentForm = "Republic" GROUP BY T2.Language HAVING COUNT(*) = 1
CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Code VARCHAR, GovernmentForm VARCHAR)
<s>[INST] Which languages are spoken by only one country in republic governments? context: CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Code VARCHAR, GovernmentForm VARCHAR) [/INST] SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCo...
What's the storage case of the buttonholer described as ivory and red metal?
SELECT storage_case FROM table_28652521_1 WHERE description = "ivory and red metal"
CREATE TABLE table_28652521_1 (storage_case VARCHAR, description VARCHAR)
<s>[INST] What's the storage case of the buttonholer described as ivory and red metal? context: CREATE TABLE table_28652521_1 (storage_case VARCHAR, description VARCHAR) [/INST] SELECT storage_case FROM table_28652521_1 WHERE description = "ivory and red metal" </s>
What is the grid for the driver with an electrical time/retired and 51 laps?
SELECT grid FROM table_name_43 WHERE time_retired = "electrical" AND laps = 51
CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
<s>[INST] What is the grid for the driver with an electrical time/retired and 51 laps? context: CREATE TABLE table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) [/INST] SELECT grid FROM table_name_43 WHERE time_retired = "electrical" AND laps = 51 </s>
What is Score, when Player is "Bill Rogers"?
SELECT score FROM table_name_80 WHERE player = "bill rogers"
CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR)
<s>[INST] What is Score, when Player is "Bill Rogers"? context: CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR) [/INST] SELECT score FROM table_name_80 WHERE player = "bill rogers" </s>
What was the original air date of the episode written by amanda segel?
SELECT original_air_date FROM table_25923164_1 WHERE written_by = "Amanda Segel"
CREATE TABLE table_25923164_1 (original_air_date VARCHAR, written_by VARCHAR)
<s>[INST] What was the original air date of the episode written by amanda segel? context: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST] SELECT original_air_date FROM table_25923164_1 WHERE written_by = "Amanda Segel" </s>
How many wins did Prema Powerteam won with 240 points?
SELECT wins FROM table_25538763_1 WHERE team = "Prema Powerteam" AND points = "240"
CREATE TABLE table_25538763_1 (wins VARCHAR, team VARCHAR, points VARCHAR)
<s>[INST] How many wins did Prema Powerteam won with 240 points? context: CREATE TABLE table_25538763_1 (wins VARCHAR, team VARCHAR, points VARCHAR) [/INST] SELECT wins FROM table_25538763_1 WHERE team = "Prema Powerteam" AND points = "240" </s>
Which home team plays at victoria park?
SELECT home_team FROM table_name_46 WHERE venue = "victoria park"
CREATE TABLE table_name_46 (home_team VARCHAR, venue VARCHAR)
<s>[INST] Which home team plays at victoria park? context: CREATE TABLE table_name_46 (home_team VARCHAR, venue VARCHAR) [/INST] SELECT home_team FROM table_name_46 WHERE venue = "victoria park" </s>
What was the surface for the opponent Marcos Baghdatis?
SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis"
CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR)
<s>[INST] What was the surface for the opponent Marcos Baghdatis? context: CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR) [/INST] SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis" </s>
What is the to par that has bill collins as the player?
SELECT to_par FROM table_name_72 WHERE player = "bill collins"
CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR)
<s>[INST] What is the to par that has bill collins as the player? context: CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR) [/INST] SELECT to_par FROM table_name_72 WHERE player = "bill collins" </s>
What was the score of the BCS National Championship game?
SELECT score FROM table_name_66 WHERE bowl_game = "bcs national championship"
CREATE TABLE table_name_66 (score VARCHAR, bowl_game VARCHAR)
<s>[INST] What was the score of the BCS National Championship game? context: CREATE TABLE table_name_66 (score VARCHAR, bowl_game VARCHAR) [/INST] SELECT score FROM table_name_66 WHERE bowl_game = "bcs national championship" </s>
What is the Away with a Ground that is humber college north?
SELECT away FROM table_name_9 WHERE ground = "humber college north"
CREATE TABLE table_name_9 (away VARCHAR, ground VARCHAR)
<s>[INST] What is the Away with a Ground that is humber college north? context: CREATE TABLE table_name_9 (away VARCHAR, ground VARCHAR) [/INST] SELECT away FROM table_name_9 WHERE ground = "humber college north" </s>
Which is the biggest pick for Naperville Central High School?
SELECT MAX(pick) FROM table_name_29 WHERE school = "naperville central high school"
CREATE TABLE table_name_29 (pick INTEGER, school VARCHAR)
<s>[INST] Which is the biggest pick for Naperville Central High School? context: CREATE TABLE table_name_29 (pick INTEGER, school VARCHAR) [/INST] SELECT MAX(pick) FROM table_name_29 WHERE school = "naperville central high school" </s>
How many in the cultural and educational panel have a university of Dublin of 3 & A labor panel larger than 11?
SELECT COUNT(cultural_and_educational_panel) FROM table_name_41 WHERE university_of_dublin = 3 AND labour_panel > 11
CREATE TABLE table_name_41 (cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR, labour_panel VARCHAR)
<s>[INST] How many in the cultural and educational panel have a university of Dublin of 3 & A labor panel larger than 11? context: CREATE TABLE table_name_41 (cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR, labour_panel VARCHAR) [/INST] SELECT COUNT(cultural_and_educational_panel) FROM table_name...
What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?
SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio"
CREATE TABLE table_name_53 (week_of VARCHAR, semi_finalists VARCHAR)
<s>[INST] What is Week, when Semi Finalists is Sandrine Testud Yone Kamio? context: CREATE TABLE table_name_53 (week_of VARCHAR, semi_finalists VARCHAR) [/INST] SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio" </s>
What is the release date of the album written by Ford, Phil Phil Ford under BBC Audio?
SELECT release_date FROM table_name_12 WHERE company = "bbc audio" AND writer = "ford, phil phil ford"
CREATE TABLE table_name_12 (release_date VARCHAR, company VARCHAR, writer VARCHAR)
<s>[INST] What is the release date of the album written by Ford, Phil Phil Ford under BBC Audio? context: CREATE TABLE table_name_12 (release_date VARCHAR, company VARCHAR, writer VARCHAR) [/INST] SELECT release_date FROM table_name_12 WHERE company = "bbc audio" AND writer = "ford, phil phil ford" </s>
Which Skip has a Third of carlo alessandro zisa?
SELECT skip FROM table_name_34 WHERE third = "carlo alessandro zisa"
CREATE TABLE table_name_34 (skip VARCHAR, third VARCHAR)
<s>[INST] Which Skip has a Third of carlo alessandro zisa? context: CREATE TABLE table_name_34 (skip VARCHAR, third VARCHAR) [/INST] SELECT skip FROM table_name_34 WHERE third = "carlo alessandro zisa" </s>
What construction completed on 08/10/2007?
SELECT listed FROM table_name_46 WHERE construction_completed = "08/10/2007"
CREATE TABLE table_name_46 (listed VARCHAR, construction_completed VARCHAR)
<s>[INST] What construction completed on 08/10/2007? context: CREATE TABLE table_name_46 (listed VARCHAR, construction_completed VARCHAR) [/INST] SELECT listed FROM table_name_46 WHERE construction_completed = "08/10/2007" </s>
What location was fábio maldonado the opponent at?
SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado"
CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR)
<s>[INST] What location was fábio maldonado the opponent at? context: CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR) [/INST] SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado" </s>
Who was his partner when he played on carpet?
SELECT partner FROM table_name_22 WHERE surface = "carpet"
CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR)
<s>[INST] Who was his partner when he played on carpet? context: CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR) [/INST] SELECT partner FROM table_name_22 WHERE surface = "carpet" </s>
What records are hit where the opponent is Aylesbury United?
SELECT record FROM table_1233808_2 WHERE opponent = "Aylesbury United"
CREATE TABLE table_1233808_2 (record VARCHAR, opponent VARCHAR)
<s>[INST] What records are hit where the opponent is Aylesbury United? context: CREATE TABLE table_1233808_2 (record VARCHAR, opponent VARCHAR) [/INST] SELECT record FROM table_1233808_2 WHERE opponent = "Aylesbury United" </s>
When london irish was eliminated from competition who proceeded to quarter final?
SELECT proceed_to_quarter_final FROM table_27987767_3 WHERE eliminated_from_competition = "London Irish"
CREATE TABLE table_27987767_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)
<s>[INST] When london irish was eliminated from competition who proceeded to quarter final? context: CREATE TABLE table_27987767_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) [/INST] SELECT proceed_to_quarter_final FROM table_27987767_3 WHERE eliminated_from_competition = "London Irish" </s...
What tyre has a chassis of p57 p61?
SELECT tyre FROM table_name_85 WHERE chassis = "p57 p61"
CREATE TABLE table_name_85 (tyre VARCHAR, chassis VARCHAR)
<s>[INST] What tyre has a chassis of p57 p61? context: CREATE TABLE table_name_85 (tyre VARCHAR, chassis VARCHAR) [/INST] SELECT tyre FROM table_name_85 WHERE chassis = "p57 p61" </s>
What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms and Devolutions"?
SELECT party FROM table_name_17 WHERE left_office = "23 april 2005" AND portfolio = "minister of reforms and devolutions"
CREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR)
<s>[INST] What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms and Devolutions"? context: CREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR) [/INST] SELECT party FROM table_name_17 WHERE left_office = "23 april 2005" AND portfolio = "minister of ref...
What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs?
SELECT AVG(goals) FROM table_name_65 WHERE competition = "k-league" AND team = "pohang steelers" AND name = "park sung-ho" AND total_gs < 46
CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR)
<s>[INST] What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs? context: CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR) [/INST] SELECT AVG(goals) FROM table_name_65 WH...
On what date was the result a draw?
SELECT date FROM table_name_24 WHERE result = "draw"
CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR)
<s>[INST] On what date was the result a draw? context: CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) [/INST] SELECT date FROM table_name_24 WHERE result = "draw" </s>
Show the minimum, average, and maximum age of all students.
SELECT MIN(age), AVG(age), MAX(age) FROM Student
CREATE TABLE Student (age INTEGER)
<s>[INST] Show the minimum, average, and maximum age of all students. context: CREATE TABLE Student (age INTEGER) [/INST] SELECT MIN(age), AVG(age), MAX(age) FROM Student </s>
Find the last names of the members of the club "Bootup Baltimore".
SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore"
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
<s>[INST] Find the last names of the members of the club "Bootup Baltimore". context: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) [/INST] SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ...
Name the minumim first elected for alvin bush
SELECT MIN(first_elected) FROM table_1342013_37 WHERE incumbent = "Alvin Bush"
CREATE TABLE table_1342013_37 (first_elected INTEGER, incumbent VARCHAR)
<s>[INST] Name the minumim first elected for alvin bush context: CREATE TABLE table_1342013_37 (first_elected INTEGER, incumbent VARCHAR) [/INST] SELECT MIN(first_elected) FROM table_1342013_37 WHERE incumbent = "Alvin Bush" </s>
What was the outcome of the match played on grass?
SELECT outcome FROM table_name_64 WHERE surface = "grass"
CREATE TABLE table_name_64 (outcome VARCHAR, surface VARCHAR)
<s>[INST] What was the outcome of the match played on grass? context: CREATE TABLE table_name_64 (outcome VARCHAR, surface VARCHAR) [/INST] SELECT outcome FROM table_name_64 WHERE surface = "grass" </s>
How many fb players were drafted?
SELECT COUNT(pick__number) FROM table_10960039_6 WHERE position = "FB"
CREATE TABLE table_10960039_6 (pick__number VARCHAR, position VARCHAR)
<s>[INST] How many fb players were drafted? context: CREATE TABLE table_10960039_6 (pick__number VARCHAR, position VARCHAR) [/INST] SELECT COUNT(pick__number) FROM table_10960039_6 WHERE position = "FB" </s>
How many weeks were there games with 41,384 fans in attendance?
SELECT SUM(week) FROM table_name_48 WHERE attendance = "41,384"
CREATE TABLE table_name_48 (week INTEGER, attendance VARCHAR)
<s>[INST] How many weeks were there games with 41,384 fans in attendance? context: CREATE TABLE table_name_48 (week INTEGER, attendance VARCHAR) [/INST] SELECT SUM(week) FROM table_name_48 WHERE attendance = "41,384" </s>
What % has 4 RLng?
SELECT int_percentage FROM table_name_80 WHERE rlng = "4"
CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR)
<s>[INST] What % has 4 RLng? context: CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR) [/INST] SELECT int_percentage FROM table_name_80 WHERE rlng = "4" </s>
Who held the title of Ruler?
SELECT name FROM table_name_31 WHERE title = "ruler"
CREATE TABLE table_name_31 (name VARCHAR, title VARCHAR)
<s>[INST] Who held the title of Ruler? context: CREATE TABLE table_name_31 (name VARCHAR, title VARCHAR) [/INST] SELECT name FROM table_name_31 WHERE title = "ruler" </s>
Which Third has a Lead of zanda bikše?
SELECT third FROM table_name_78 WHERE lead = "zanda bikše"
CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR)
<s>[INST] Which Third has a Lead of zanda bikše? context: CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR) [/INST] SELECT third FROM table_name_78 WHERE lead = "zanda bikše" </s>
What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?
SELECT record_medal_event FROM table_name_33 WHERE sport = "athletics" AND athlete = "robert garrett" AND medal_count < 3
CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR)
<s>[INST] What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3? context: CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR) [/INST] SELECT record_medal_event FROM table_name_33 WHERE sport = "athl...