instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: what is the result on 9 october 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_87 WHERE date = "9 october 2012"
Write a SQL query that answers the following question: what is the score when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT score FROM table_name_32 WHERE venue = "stade général seyni kountché, niamey" AND competition = "friendly" AND date = "9 october 2012"
Write a SQL query that answers the following question: what is the result when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (result VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT result FROM table_name_54 WHERE venue = "stade général seyni kountché, niamey" AND competition = "friendly" AND date = "9 october 2012"
Write a SQL query that answers the following question: what is the competition on 10 august 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_75 WHERE date = "10 august 2011"
Write a SQL query that answers the following question: what is the date when the venue is stade général seyni kountché , niamey?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_10 WHERE venue = "stade général seyni kountché , niamey"
Write a SQL query that answers the following question: What place has manfred kokot as the athlete?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (place VARCHAR, athlete VARCHAR)
SELECT place FROM table_name_7 WHERE athlete = "manfred kokot"
Write a SQL query that answers the following question: What athlete has reno as the place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (athlete VARCHAR, place VARCHAR)
SELECT athlete FROM table_name_73 WHERE place = "reno"
Write a SQL query that answers the following question: What campus opened in 1970?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (campus VARCHAR, year_opened VARCHAR)
SELECT campus FROM table_name_12 WHERE year_opened = "1970"
Write a SQL query that answers the following question: What year was the school opened that has a size of 10 acres and students of na?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (year_opened VARCHAR, students VARCHAR, size VARCHAR)
SELECT year_opened FROM table_name_76 WHERE students = "na" AND size = "10 acres"
Write a SQL query that answers the following question: What location was the campus that has a size of 245 acres?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (location VARCHAR, size VARCHAR)
SELECT location FROM table_name_86 WHERE size = "245 acres"
Write a SQL query that answers the following question: What campus was opened in 1977?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (campus VARCHAR, year_opened VARCHAR)
SELECT campus FROM table_name_79 WHERE year_opened = "1977"
Write a SQL query that answers the following question: What location was the campus opened in 2005 with students listed as na?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (location VARCHAR, students VARCHAR, year_opened VARCHAR)
SELECT location FROM table_name_57 WHERE students = "na" AND year_opened = "2005"
Write a SQL query that answers the following question: what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (type VARCHAR, capacity___mw__ VARCHAR, rank VARCHAR, province VARCHAR)
SELECT type FROM table_name_14 WHERE rank < 70 AND province = "british columbia" AND capacity___mw__ > 2 OFFSET 480
Write a SQL query that answers the following question: what is the least capacity (mw) when the rank is less than 46 and the province is newfoundland and labrador?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (capacity___mw__ INTEGER, rank VARCHAR, province VARCHAR)
SELECT MIN(capacity___mw__) FROM table_name_99 WHERE rank < 46 AND province = "newfoundland and labrador"
Write a SQL query that answers the following question: what is the lowest rank when the type is hydro, the name is grand rapids generating station and the capacity (mw) is more than 479?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (rank INTEGER, capacity___mw__ VARCHAR, type VARCHAR, name VARCHAR)
SELECT MIN(rank) FROM table_name_67 WHERE type = "hydro" AND name = "grand rapids generating station" AND capacity___mw__ > 479
Write a SQL query that answers the following question: what is the province when the rank is higher than 24 and the name is laforge-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (province VARCHAR, rank VARCHAR, name VARCHAR)
SELECT province FROM table_name_42 WHERE rank > 24 AND name = "laforge-2"
Write a SQL query that answers the following question: what is the name when the type is hydro, the capacity (mw) is less than 478, the rank is more than 85 and the province is quebec?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (name VARCHAR, province VARCHAR, rank VARCHAR, type VARCHAR, capacity___mw__ VARCHAR)
SELECT name FROM table_name_15 WHERE type = "hydro" AND capacity___mw__ < 478 AND rank > 85 AND province = "quebec"
Write a SQL query that answers the following question: How many years have toyota team tom's as the team, with Laps greater than 64?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (year VARCHAR, team VARCHAR, laps VARCHAR)
SELECT COUNT(year) FROM table_name_60 WHERE team = "toyota team tom's" AND laps > 64
Write a SQL query that answers the following question: What round was on 11/11/1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (round VARCHAR, date VARCHAR)
SELECT round FROM table_name_91 WHERE date = "11/11/1992"
Write a SQL query that answers the following question: What is the total against on 08/12/1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (against INTEGER, date VARCHAR)
SELECT SUM(against) FROM table_name_82 WHERE date = "08/12/1992"
Write a SQL query that answers the following question: What is the venue of 24/11/1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_6 WHERE date = "24/11/1992"
Write a SQL query that answers the following question: What round has less than 1 against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (round VARCHAR, against INTEGER)
SELECT round FROM table_name_37 WHERE against < 1
Write a SQL query that answers the following question: How many gold medals for germany (GER) having a rank less than 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (gold VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT COUNT(gold) FROM table_name_64 WHERE nation = "germany (ger)" AND rank < 15
Write a SQL query that answers the following question: How many silver medals when the bronze is more than 2 and having a rank more than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_89 WHERE rank > 5 AND bronze > 2
Write a SQL query that answers the following question: What's the average number of silver medals when bronze is less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (silver INTEGER, bronze INTEGER)
SELECT AVG(silver) FROM table_name_86 WHERE bronze < 0
Write a SQL query that answers the following question: What's the average number of silver medals for germany (GER) having more than 3 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(silver) FROM table_name_44 WHERE nation = "germany (ger)" AND bronze > 3
Write a SQL query that answers the following question: What are the notes for 6:31.16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR)
SELECT notes FROM table_name_85 WHERE time = "6:31.16"
Write a SQL query that answers the following question: What rowers have a 6:29.56 time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (rowers VARCHAR, time VARCHAR)
SELECT rowers FROM table_name_64 WHERE time = "6:29.56"
Write a SQL query that answers the following question: What is the time with FB notes for Canada?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT time FROM table_name_43 WHERE notes = "fb" AND country = "canada"
Write a SQL query that answers the following question: What country has a time of 6:49.28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (country VARCHAR, time VARCHAR)
SELECT country FROM table_name_38 WHERE time = "6:49.28"
Write a SQL query that answers the following question: Which Tries for has Points against larger than 87, and Tries against smaller than 28, and Points diff of +63?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (tries_for INTEGER, points_diff VARCHAR, points_against VARCHAR, tries_against VARCHAR)
SELECT AVG(tries_for) FROM table_name_69 WHERE points_against > 87 AND tries_against < 28 AND points_diff = "+63"
Write a SQL query that answers the following question: Which Points for has Points against smaller than 93, and Tries for larger than 25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (points_for INTEGER, points_against VARCHAR, tries_for VARCHAR)
SELECT MIN(points_for) FROM table_name_38 WHERE points_against < 93 AND tries_for > 25
Write a SQL query that answers the following question: Which Tries for has Points against smaller than 124, and Points for smaller than 241, and Tries against smaller than 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (tries_for INTEGER, tries_against VARCHAR, points_against VARCHAR, points_for VARCHAR)
SELECT MAX(tries_for) FROM table_name_12 WHERE points_against < 124 AND points_for < 241 AND tries_against < 11
Write a SQL query that answers the following question: How many Tries against have a Team of dinamo bucureşti, and Tries for smaller than 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (tries_against VARCHAR, team VARCHAR, tries_for VARCHAR)
SELECT COUNT(tries_against) FROM table_name_48 WHERE team = "dinamo bucureşti" AND tries_for < 19
Write a SQL query that answers the following question: What week had attendance of 48,667?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_59 WHERE attendance = 48 OFFSET 667
Write a SQL query that answers the following question: What Song has a Draw of less than 4 with a Percentage of 32.22%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (song VARCHAR, draw VARCHAR, percentage VARCHAR)
SELECT song FROM table_name_72 WHERE draw < 4 AND percentage = "32.22%"
Write a SQL query that answers the following question: What Artist has a Place of 3 or less with a Percentage of 38.60%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (artist VARCHAR, place VARCHAR, percentage VARCHAR)
SELECT artist FROM table_name_50 WHERE place < 3 AND percentage = "38.60%"
Write a SQL query that answers the following question: What is the Place of Draw 1 by Artist Monika Kirovska?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (place INTEGER, artist VARCHAR, draw VARCHAR)
SELECT AVG(place) FROM table_name_54 WHERE artist = "monika kirovska" AND draw < 1
Write a SQL query that answers the following question: What were the most byes of Terang-Mortlake when they had more than 11 wins and more than 1118 against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (byes INTEGER, hampden_fl VARCHAR, wins VARCHAR, against VARCHAR)
SELECT MAX(byes) FROM table_name_55 WHERE wins > 11 AND against > 1118 AND hampden_fl = "terang-mortlake"
Write a SQL query that answers the following question: How many wins did South Warrambool have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (wins INTEGER, hampden_fl VARCHAR)
SELECT AVG(wins) FROM table_name_91 WHERE hampden_fl = "south warrambool"
Write a SQL query that answers the following question: How many byes when there are more than 16 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (byes INTEGER, wins INTEGER)
SELECT AVG(byes) FROM table_name_50 WHERE wins > 16
Write a SQL query that answers the following question: What is the least amount of Byes when there are more than 2 wins and 1946 against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (byes INTEGER, against VARCHAR, wins VARCHAR)
SELECT MIN(byes) FROM table_name_3 WHERE against = 1946 AND wins > 2
Write a SQL query that answers the following question: How many wins when the draws are less than 1 and more than 4 losses?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (wins INTEGER, draws VARCHAR, losses VARCHAR)
SELECT AVG(wins) FROM table_name_59 WHERE draws < 1 AND losses > 4
Write a SQL query that answers the following question: What was the lowest population of the GEO ID 3805373380 and the water square mileage smaller than 5.729?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (pop__2010_ INTEGER, geo_id VARCHAR, water__sqmi_ VARCHAR)
SELECT MIN(pop__2010_) FROM table_name_25 WHERE geo_id = 3805373380 AND water__sqmi_ < 5.729
Write a SQL query that answers the following question: What is the lowest GEO ID for the longitude of -102.158045 and the water in square miles larger than 0.979?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (geo_id INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)
SELECT MIN(geo_id) FROM table_name_29 WHERE longitude = -102.158045 AND water__sqmi_ > 0.979
Write a SQL query that answers the following question: What is the average ANSI code for the town of Sherman and the smaller of the water area in square miles than 0.005?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (ansi_code INTEGER, township VARCHAR, water__sqmi_ VARCHAR)
SELECT AVG(ansi_code) FROM table_name_39 WHERE township = "sherman" AND water__sqmi_ < 0.005
Write a SQL query that answers the following question: What is the average longitude for the water area of 0.093 and has a GEO ID tag larger than 3808174460?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (longitude INTEGER, water__sqmi_ VARCHAR, geo_id VARCHAR)
SELECT AVG(longitude) FROM table_name_46 WHERE water__sqmi_ = 0.093 AND geo_id > 3808174460
Write a SQL query that answers the following question: Which Country's Author is based on Sophocles and Euripides?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (country VARCHAR, author VARCHAR)
SELECT country FROM table_name_86 WHERE author = "based on sophocles and euripides"
Write a SQL query that answers the following question: Which Author's Company is Ruth Kanner Theatre Group?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (author VARCHAR, company VARCHAR)
SELECT author FROM table_name_93 WHERE company = "ruth kanner theatre group"
Write a SQL query that answers the following question: Which Play is from Cyprus, from the Company Magdalena Zira Theatre?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (play VARCHAR, country VARCHAR, company VARCHAR)
SELECT play FROM table_name_98 WHERE country = "cyprus" AND company = "magdalena zira theatre"
Write a SQL query that answers the following question: Which Country is the Play Electra and Orestes, The Trial from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (country VARCHAR, play VARCHAR)
SELECT country FROM table_name_82 WHERE play = "electra and orestes, the trial"
Write a SQL query that answers the following question: How much total time was in lane 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR)
SELECT COUNT(time) FROM table_name_66 WHERE lane = 4
Write a SQL query that answers the following question: Which Rank has a Reaction time larger than 0.20400000000000001, and a Time larger than 45.56?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR)
SELECT MAX(rank) FROM table_name_98 WHERE react > 0.20400000000000001 AND time > 45.56
Write a SQL query that answers the following question: How many ranks have more than 7 lanes, and an Athlete of michael mathieu, and a Reaction time larger than 0.203?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (rank INTEGER, react VARCHAR, lane VARCHAR, athlete VARCHAR)
SELECT SUM(rank) FROM table_name_3 WHERE lane > 7 AND athlete = "michael mathieu" AND react > 0.203
Write a SQL query that answers the following question: Which Time has a Reaction smaller than 0.20400000000000001, and a Rank of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (time INTEGER, react VARCHAR, rank VARCHAR)
SELECT SUM(time) FROM table_name_15 WHERE react < 0.20400000000000001 AND rank = 1
Write a SQL query that answers the following question: What's the average Top-25, that has an Events that's smaller than 12, and has a Top-5 that is larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (top_25 INTEGER, events VARCHAR, top_5 VARCHAR)
SELECT AVG(top_25) FROM table_name_60 WHERE events < 12 AND top_5 > 0
Write a SQL query that answers the following question: What's the listed average of Cuts made that has a Top-5 of 3, and a Top-10 that's smaller than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR)
SELECT AVG(cuts_made) FROM table_name_17 WHERE top_5 = 3 AND top_10 < 5
Write a SQL query that answers the following question: What's the sum of Top-25 that has an Events that is smaller than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (top_25 VARCHAR, events INTEGER)
SELECT COUNT(top_25) FROM table_name_61 WHERE events < 10
Write a SQL query that answers the following question: What's the sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (top_10 VARCHAR, events VARCHAR, top_5 VARCHAR)
SELECT COUNT(top_10) FROM table_name_87 WHERE events > 16 AND top_5 > 5
Write a SQL query that answers the following question: What is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (cuts_made INTEGER, tournament VARCHAR, top_5 VARCHAR)
SELECT MIN(cuts_made) FROM table_name_50 WHERE tournament = "pga championship" AND top_5 < 2
Write a SQL query that answers the following question: When the nominee(s) is john wells what is the episode for a year before 2004?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT episode FROM table_name_64 WHERE year < 2004 AND nominee_s_ = "john wells"
Write a SQL query that answers the following question: What is the result when the nominee(s) of janine sherman?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (result VARCHAR, nominee_s_ VARCHAR)
SELECT result FROM table_name_57 WHERE nominee_s_ = "janine sherman"
Write a SQL query that answers the following question: What is the result for a year after 2003, when the nominee(s) is john wells?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (result VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT result FROM table_name_64 WHERE year > 2003 AND nominee_s_ = "john wells"
Write a SQL query that answers the following question: What is the purse in 2003, which had a 1-1/16 distance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (purse VARCHAR, distance VARCHAR, year VARCHAR)
SELECT purse FROM table_name_94 WHERE distance = "1-1/16" AND year = 2003
Write a SQL query that answers the following question: Who is the trainer of the winner skylighter?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (trainer VARCHAR, winner VARCHAR)
SELECT trainer FROM table_name_5 WHERE winner = "skylighter"
Write a SQL query that answers the following question: What is the distance with a 1:46.32 time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (distance VARCHAR, time VARCHAR)
SELECT distance FROM table_name_85 WHERE time = "1:46.32"
Write a SQL query that answers the following question: What is the average year with a 1:42.85 time?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (year INTEGER, time VARCHAR)
SELECT AVG(year) FROM table_name_81 WHERE time = "1:42.85"
Write a SQL query that answers the following question: What is the distance in 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (distance VARCHAR, year VARCHAR)
SELECT distance FROM table_name_18 WHERE year = 2006
Write a SQL query that answers the following question: Who was the director of Clean Pastures?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_12 WHERE title = "clean pastures"
Write a SQL query that answers the following question: What was the release date for Production Number 8181?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (release_date VARCHAR, production_num VARCHAR)
SELECT release_date FROM table_name_14 WHERE production_num = "8181"
Write a SQL query that answers the following question: What series was directed by Frank Tashlin and has the production number, 8053?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR)
SELECT series FROM table_name_28 WHERE director = "frank tashlin" AND production_num = "8053"
Write a SQL query that answers the following question: What series was called Egghead Rides Again?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_38 WHERE title = "egghead rides again"
Write a SQL query that answers the following question: What is the Tie no of the Port Vale Away game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_56 WHERE away_team = "port vale"
Write a SQL query that answers the following question: What is the Score of the Halifax Town Home game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_30 WHERE home_team = "halifax town"
Write a SQL query that answers the following question: What is the Score of the Scarborough Home game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_72 WHERE home_team = "scarborough"
Write a SQL query that answers the following question: Which college did the player who went to the Boston Patriots go to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (college VARCHAR, team VARCHAR)
SELECT college FROM table_name_8 WHERE team = "boston patriots"
Write a SQL query that answers the following question: What was the highest pick number of the player who went to LSU in college?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (pick INTEGER, college VARCHAR)
SELECT MAX(pick) FROM table_name_20 WHERE college = "lsu"
Write a SQL query that answers the following question: Which college did the player picked number 136 go to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_54 WHERE pick = 136
Write a SQL query that answers the following question: Which college did the player picked larger than 130 by the New York Jets go to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (college VARCHAR, pick VARCHAR, team VARCHAR)
SELECT college FROM table_name_95 WHERE pick > 130 AND team = "new york jets"
Write a SQL query that answers the following question: What lane was Emily Seebohm in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_2 WHERE name = "emily seebohm"
Write a SQL query that answers the following question: What is the quantity for railway 263?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (quantity VARCHAR, railway_number_s_ VARCHAR)
SELECT quantity FROM table_name_50 WHERE railway_number_s_ = "263"
Write a SQL query that answers the following question: What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR)
SELECT year_s__of_manufacture FROM table_name_35 WHERE railway_number_s_ = "26 (ii) …63 (ii) , 188–193"
Write a SQL query that answers the following question: What are the railway number(s) for year(s) of manufacture of 1905–1906?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)
SELECT railway_number_s_ FROM table_name_47 WHERE year_s__of_manufacture = "1905–1906"
Write a SQL query that answers the following question: Who is the rb player from team oakland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, team VARCHAR)
SELECT player FROM table_name_69 WHERE position = "rb" AND team = "oakland"
Write a SQL query that answers the following question: What is the team of the player from ohio state?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (team VARCHAR, college VARCHAR)
SELECT team FROM table_name_93 WHERE college = "ohio state"
Write a SQL query that answers the following question: What is the highest rank in Uzbekistan with a time larger than 11.44?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (rank INTEGER, country VARCHAR, time VARCHAR)
SELECT MAX(rank) FROM table_name_38 WHERE country = "uzbekistan" AND time > 11.44
Write a SQL query that answers the following question: What is the average heat ranked at 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (heat INTEGER, rank VARCHAR)
SELECT AVG(heat) FROM table_name_54 WHERE rank = 30
Write a SQL query that answers the following question: What is the average time in a rank of 61?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (time INTEGER, rank VARCHAR)
SELECT AVG(time) FROM table_name_29 WHERE rank = 61
Write a SQL query that answers the following question: How much Capacity has a Vehicle of 2003 holden commodore ute?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (capacity VARCHAR, vehicle VARCHAR)
SELECT COUNT(capacity) FROM table_name_97 WHERE vehicle = "2003 holden commodore ute"
Write a SQL query that answers the following question: Which Navigator has a Total Time of 08:29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (navigator VARCHAR, total_time VARCHAR)
SELECT navigator FROM table_name_37 WHERE total_time = "08:29"
Write a SQL query that answers the following question: Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (capacity INTEGER, class VARCHAR, vehicle VARCHAR)
SELECT MIN(capacity) FROM table_name_61 WHERE class = "cm22" AND vehicle = "1999 subaru impreza wrx sti"
Write a SQL query that answers the following question: Which Driver has a Capacity smaller than 5700, and a Total Time of 08:29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (driver VARCHAR, capacity VARCHAR, total_time VARCHAR)
SELECT driver FROM table_name_21 WHERE capacity < 5700 AND total_time = "08:29"
Write a SQL query that answers the following question: What is the total number of losses for teams with more than 0 byes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER)
SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0
Write a SQL query that answers the following question: What is the sum of draws for teams with against of 1731 and under 10 losses?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (draws INTEGER, against VARCHAR, losses VARCHAR)
SELECT SUM(draws) FROM table_name_67 WHERE against = 1731 AND losses < 10
Write a SQL query that answers the following question: When was Tree Cornered Tweety, directed by Friz Freleng, released?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (release_date VARCHAR, director VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_35 WHERE director = "friz freleng" AND title = "tree cornered tweety"
Write a SQL query that answers the following question: When was Too Hop to Handle released?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_68 WHERE title = "too hop to handle"
Write a SQL query that answers the following question: From which series is the title Barbary Coast Bunny?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_85 WHERE title = "barbary coast bunny"
Write a SQL query that answers the following question: Who did the Lyrics (l) / Music (m) for the song in 23 Place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR)
SELECT lyrics__l____music__m_ FROM table_name_76 WHERE place = "23"
Write a SQL query that answers the following question: What are the Votes for the Song by Artist Filipa Batista?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (votes VARCHAR, artist VARCHAR)
SELECT votes FROM table_name_11 WHERE artist = "filipa batista"
Write a SQL query that answers the following question: What is the Votes for the Song in Place 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (votes VARCHAR, place VARCHAR)
SELECT votes FROM table_name_6 WHERE place = "9"