instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the Outcome of the Doubles played on Carpet?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (outcome VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_35 WHERE surface = "carpet"
Write a SQL query that answers the following question: What was the Surface during the match with Partner Debbie Graham?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_26 WHERE partner = "debbie graham"
Write a SQL query that answers the following question: What was the Partner on February 23, 1997?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_91 WHERE date = "february 23, 1997"
Write a SQL query that answers the following question: What was the Tournament on May 24, 1992 played on a Clay Surface?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_64 WHERE surface = "clay" AND date = "may 24, 1992"
Write a SQL query that answers the following question: What was the Surface in the match with a Score of 7–5, 6–7, 4–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–6"
Write a SQL query that answers the following question: What is the frequency MHz in tremonton, utah with a ERP W larger than 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (frequency_mhz VARCHAR, erp_w VARCHAR, city_of_license VARCHAR)
SELECT frequency_mhz FROM table_name_50 WHERE erp_w > 30 AND city_of_license = "tremonton, utah"
Write a SQL query that answers the following question: What is k275av call sign's highest erp w?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR)
SELECT MAX(erp_w) FROM table_name_59 WHERE call_sign = "k275av"
Write a SQL query that answers the following question: Name the year for american conference semifinals
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year VARCHAR, playoffs VARCHAR)
SELECT year FROM table_name_96 WHERE playoffs = "american conference semifinals"
Write a SQL query that answers the following question: Name the total number of years for quarterfinals
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (year VARCHAR, playoffs VARCHAR)
SELECT COUNT(year) FROM table_name_35 WHERE playoffs = "quarterfinals"
Write a SQL query that answers the following question: Who is the Runner-up that has a Season less than 2005?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (runner_up VARCHAR, season INTEGER)
SELECT runner_up FROM table_name_54 WHERE season < 2005
Write a SQL query that answers the following question: Which Seasonhas a Score of 3 – 3 aet , 4–3 pen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (season INTEGER, score VARCHAR)
SELECT MAX(season) FROM table_name_52 WHERE score = "3 – 3 aet , 4–3 pen"
Write a SQL query that answers the following question: Which Season has a Score of 3 – 3 aet , 4–3 pen
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (season VARCHAR, score VARCHAR)
SELECT season FROM table_name_31 WHERE score = "3 – 3 aet , 4–3 pen"
Write a SQL query that answers the following question: How many rounds had an overall of 211?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (round VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_24 WHERE overall = 211
Write a SQL query that answers the following question: What is the mean pick number for the cornerback position when the overall is less than 134?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (pick__number INTEGER, position VARCHAR, overall VARCHAR)
SELECT AVG(pick__number) FROM table_name_60 WHERE position = "cornerback" AND overall < 134
Write a SQL query that answers the following question: Which 1956 has a County of vâlcea, and a 2011 smaller than 371714?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (county VARCHAR)
SELECT SUM(1956) FROM table_name_40 WHERE county = "vâlcea" AND 2011 < 371714
Write a SQL query that answers the following question: Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (Id VARCHAR)
SELECT MIN(2011) FROM table_name_81 WHERE 1948 < 15872624 AND 1966 = 263103 AND 1992 > 266308
Write a SQL query that answers the following question: Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (Id VARCHAR)
SELECT MIN(1992) FROM table_name_12 WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524
Write a SQL query that answers the following question: Which 1977 is the lowest one that has a County of zzz bucharest, and a 2011 smaller than 1883425?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (county VARCHAR)
SELECT MIN(1977) FROM table_name_23 WHERE county = "zzz bucharest" AND 2011 < 1883425
Write a SQL query that answers the following question: What is the site of the game that had an attendance of 54,040?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_name_23 WHERE attendance = "54,040"
Write a SQL query that answers the following question: What is the attendance of the game against the houston oilers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_6 WHERE opponent = "houston oilers"
Write a SQL query that answers the following question: What was the date of the game on week 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_49 WHERE week = 7
Write a SQL query that answers the following question: How many fans attended the game at Bye?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR)
SELECT attendance FROM table_name_53 WHERE game_site = "bye"
Write a SQL query that answers the following question: Which winner had a location of Iowa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (winner VARCHAR, location VARCHAR)
SELECT winner FROM table_name_12 WHERE location = "iowa"
Write a SQL query that answers the following question: Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)
SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (4)"
Write a SQL query that answers the following question: Who was the partner when the championship was us open on a hard surface?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR)
SELECT partner FROM table_name_30 WHERE surface = "hard" AND championship = "us open"
Write a SQL query that answers the following question: What was the surface for Julie Halard when the final score was 6–3, 6–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (surface VARCHAR, partner VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_name_55 WHERE partner = "julie halard" AND score_in_the_final = "6–3, 6–2"
Write a SQL query that answers the following question: What was the outcome when the oppenent was serena williams venus williams and had a hard surface?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "serena williams venus williams" AND surface = "hard"
Write a SQL query that answers the following question: How much Played has Drawn of 2, and a Position larger than 3, and Points smaller than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (played VARCHAR, points VARCHAR, drawn VARCHAR, position VARCHAR)
SELECT COUNT(played) FROM table_name_1 WHERE drawn = 2 AND position > 3 AND points < 10
Write a SQL query that answers the following question: Which average Against has a Difference of 10, and a Lost smaller than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (against INTEGER, difference VARCHAR, lost VARCHAR)
SELECT AVG(against) FROM table_name_24 WHERE difference = "10" AND lost < 2
Write a SQL query that answers the following question: How many Attendances have a Result F – A of 0 – 2, and a Date of 31 january 1903?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (attendance INTEGER, result_f___a VARCHAR, date VARCHAR)
SELECT AVG(attendance) FROM table_name_71 WHERE result_f___a = "0 – 2" AND date = "31 january 1903"
Write a SQL query that answers the following question: How many Attendances on 13 april 1903?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_37 WHERE date = "13 april 1903"
Write a SQL query that answers the following question: How many Attendances have a H / A of h on 7 march 1903?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
SELECT MIN(attendance) FROM table_name_47 WHERE h___a = "h" AND date = "7 march 1903"
Write a SQL query that answers the following question: Which Opponent has a H / A of a, and a Result F – A of 2 – 0, and a Attendance larger than 30,000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (opponents VARCHAR, attendance VARCHAR, h___a VARCHAR, result_f___a VARCHAR)
SELECT opponents FROM table_name_50 WHERE h___a = "a" AND result_f___a = "2 – 0" AND attendance > 30 OFFSET 000
Write a SQL query that answers the following question: When is The Opponents of lincoln city and a H / A of a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, opponents VARCHAR, h___a VARCHAR)
SELECT date FROM table_name_31 WHERE opponents = "lincoln city" AND h___a = "a"
Write a SQL query that answers the following question: What is the score for the Dec 11 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (score VARCHAR, december VARCHAR)
SELECT score FROM table_name_83 WHERE december = 11
Write a SQL query that answers the following question: Which game has an opponent of Phoenix Coyotes and was before Dec 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (game INTEGER, opponent VARCHAR, december VARCHAR)
SELECT AVG(game) FROM table_name_96 WHERE opponent = "phoenix coyotes" AND december < 9
Write a SQL query that answers the following question: What is the December game that led to an 11-13-5 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (december INTEGER, record VARCHAR)
SELECT MAX(december) FROM table_name_9 WHERE record = "11-13-5"
Write a SQL query that answers the following question: What was the record after game 41?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_1 WHERE game = 41
Write a SQL query that answers the following question: Which Overall has a College of florida state, and a Round larger than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (overall INTEGER, college VARCHAR, round VARCHAR)
SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 2
Write a SQL query that answers the following question: How many Picks have a Position of kicker, and an Overall smaller than 137?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (pick__number INTEGER, position VARCHAR, overall VARCHAR)
SELECT SUM(pick__number) FROM table_name_59 WHERE position = "kicker" AND overall < 137
Write a SQL query that answers the following question: Which Position has a Pick # of 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_99 WHERE pick__number = 18
Write a SQL query that answers the following question: Which College has a Round smaller than 7, and a Pick # smaller than 27, and a Name of anthony maddox?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR)
SELECT college FROM table_name_37 WHERE round < 7 AND pick__number < 27 AND name = "anthony maddox"
Write a SQL query that answers the following question: How much Overall has a Pick # larger than 9, and a Round larger than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (overall VARCHAR, pick__number VARCHAR, round VARCHAR)
SELECT COUNT(overall) FROM table_name_53 WHERE pick__number > 9 AND round > 5
Write a SQL query that answers the following question: Which score was for the Spurs as visitors with record of 35–16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (score VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT score FROM table_name_60 WHERE visitor = "spurs" AND record = "35–16"
Write a SQL query that answers the following question: Which record was for Warriors at home?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_67 WHERE home = "warriors"
Write a SQL query that answers the following question: English title of malèna had what original title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (original_title VARCHAR, english_title VARCHAR)
SELECT original_title FROM table_name_9 WHERE english_title = "malèna"
Write a SQL query that answers the following question: Original title of возвращение / vozvrashcheniye had what English title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (english_title VARCHAR, original_title VARCHAR)
SELECT english_title FROM table_name_79 WHERE original_title = "возвращение / vozvrashcheniye"
Write a SQL query that answers the following question: Director of christophe barratier had what highest year?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (year INTEGER, director VARCHAR)
SELECT MAX(year) FROM table_name_3 WHERE director = "christophe barratier"
Write a SQL query that answers the following question: English title of amélie had what year?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (year VARCHAR, english_title VARCHAR)
SELECT year FROM table_name_87 WHERE english_title = "amélie"
Write a SQL query that answers the following question: Original title of das leben der anderen had what director?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (director VARCHAR, original_title VARCHAR)
SELECT director FROM table_name_28 WHERE original_title = "das leben der anderen"
Write a SQL query that answers the following question: Who was the director where the role was Fred Ayres?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (director VARCHAR, role VARCHAR)
SELECT director FROM table_name_13 WHERE role = "fred ayres"
Write a SQL query that answers the following question: What was the theatre where Peter P. Peters is the role?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR)
SELECT theatre, _studio, _or_network FROM table_name_8 WHERE role = "peter p. peters"
Write a SQL query that answers the following question: Who are the Runner(s)-up with a Margin of 1 stroke?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (runner_s__up VARCHAR, margin VARCHAR)
SELECT runner_s__up FROM table_name_12 WHERE margin = "1 stroke"
Write a SQL query that answers the following question: Who are the Runner(s)-up with a Margin of 3 strokes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (runner_s__up VARCHAR, margin VARCHAR)
SELECT runner_s__up FROM table_name_49 WHERE margin = "3 strokes"
Write a SQL query that answers the following question: What is the highest Year with of the open championship?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (year INTEGER, championship VARCHAR)
SELECT MAX(year) FROM table_name_14 WHERE championship = "the open championship"
Write a SQL query that answers the following question: What is the Winning score in 1956?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (winning_score VARCHAR, year VARCHAR)
SELECT winning_score FROM table_name_57 WHERE year = 1956
Write a SQL query that answers the following question: What is the Winning score in 1965?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (winning_score VARCHAR, year VARCHAR)
SELECT winning_score FROM table_name_90 WHERE year = 1965
Write a SQL query that answers the following question: What Year had a Runner(s)-up of flory van donck?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (year VARCHAR, runner_s__up VARCHAR)
SELECT year FROM table_name_64 WHERE runner_s__up = "flory van donck"
Write a SQL query that answers the following question: What is the release Date for the Region in New Zealand ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (date VARCHAR, region VARCHAR)
SELECT date FROM table_name_72 WHERE region = "new zealand"
Write a SQL query that answers the following question: What is the release Date for the New Zealand Region?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (date VARCHAR, region VARCHAR)
SELECT date FROM table_name_16 WHERE region = "new zealand"
Write a SQL query that answers the following question: What is the Date of Catalogue number 602517739468?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date VARCHAR, catalogue VARCHAR)
SELECT date FROM table_name_90 WHERE catalogue = "602517739468"
Write a SQL query that answers the following question: In what Region was the Catalogue number 1785089 released?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (region VARCHAR, catalogue VARCHAR)
SELECT region FROM table_name_16 WHERE catalogue = "1785089"
Write a SQL query that answers the following question: Which city of license has a frequency less than 100.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (city_of_license VARCHAR, frequency_mhz INTEGER)
SELECT city_of_license FROM table_name_5 WHERE frequency_mhz < 100.1
Write a SQL query that answers the following question: What is the ERP W with a call sign at w261cq?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (erp_w VARCHAR, call_sign VARCHAR)
SELECT erp_w FROM table_name_19 WHERE call_sign = "w261cq"
Write a SQL query that answers the following question: What is the average value for ERP W when frequency is more than 100.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER)
SELECT AVG(erp_w) FROM table_name_6 WHERE frequency_mhz > 100.1
Write a SQL query that answers the following question: What frequency has call sign w228bg?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg"
Write a SQL query that answers the following question: What is the average value of ERP W in Beardstown, Illinois for a frequency greater than 93.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR)
SELECT AVG(erp_w) FROM table_name_70 WHERE city_of_license = "beardstown, illinois" AND frequency_mhz > 93.5
Write a SQL query that answers the following question: What was the winning score in 2000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_30 WHERE year = 2000
Write a SQL query that answers the following question: Name the weekly rank for sunday, june 14, 2009
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (weekly_rank VARCHAR, airdate VARCHAR)
SELECT weekly_rank FROM table_name_43 WHERE airdate = "sunday, june 14, 2009"
Write a SQL query that answers the following question: Which Pick # is the highest one that has an Overall of 184, and a Round larger than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (pick__number INTEGER, overall VARCHAR, round VARCHAR)
SELECT MAX(pick__number) FROM table_name_25 WHERE overall = 184 AND round > 6
Write a SQL query that answers the following question: How many picks have an Overall of 114?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (pick__number VARCHAR, overall VARCHAR)
SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = 114
Write a SQL query that answers the following question: Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR)
SELECT MAX(overall) FROM table_name_26 WHERE name = "daimon shelton" AND round > 6
Write a SQL query that answers the following question: Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR)
SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND college = "north carolina" AND round < 3
Write a SQL query that answers the following question: Which Position has an Overall larger than 147, and a Pick # of 21?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_45 WHERE overall > 147 AND pick__number = 21
Write a SQL query that answers the following question: What is cornell's lowest pick number?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (pick__number INTEGER, college VARCHAR)
SELECT MIN(pick__number) FROM table_name_13 WHERE college = "cornell"
Write a SQL query that answers the following question: Which Eviction result has a Net vote of 31.86%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR)
SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%"
Write a SQL query that answers the following question: Which Nominee has a Vote to Save of 1.98%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (nominee VARCHAR, vote_to_save VARCHAR)
SELECT nominee FROM table_name_36 WHERE vote_to_save = "1.98%"
Write a SQL query that answers the following question: Which Vote to Evict has a Vote to Save of 21.22%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (vote_to_evict VARCHAR, vote_to_save VARCHAR)
SELECT vote_to_evict FROM table_name_27 WHERE vote_to_save = "21.22%"
Write a SQL query that answers the following question: Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.42%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR)
SELECT vote_to_save FROM table_name_3 WHERE eviction_no < 14 AND vote_to_evict = "5.42%"
Write a SQL query that answers the following question: What is the average rank of a nation that had 219,721 in 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (rank INTEGER)
SELECT AVG(rank) FROM table_name_6 WHERE 2012 = 219 OFFSET 721
Write a SQL query that answers the following question: In what Round was Pick 138?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (round INTEGER, pick VARCHAR)
SELECT SUM(round) FROM table_name_93 WHERE pick = 138
Write a SQL query that answers the following question: What is John Crawford's Nationality?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_47 WHERE player = "john crawford"
Write a SQL query that answers the following question: What is the ERP W for K236AM?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (erp_w VARCHAR, call_sign VARCHAR)
SELECT erp_w FROM table_name_22 WHERE call_sign = "k236am"
Write a SQL query that answers the following question: What is the average frequency in MHz for stations with an ERP W of 170?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (frequency_mhz INTEGER, erp_w VARCHAR)
SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170
Write a SQL query that answers the following question: What is K236AM's lowest frequency in MHz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (frequency_mhz INTEGER, call_sign VARCHAR)
SELECT MIN(frequency_mhz) FROM table_name_51 WHERE call_sign = "k236am"
Write a SQL query that answers the following question: What class is assigned to frequencies lower than 90.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (class VARCHAR, frequency_mhz INTEGER)
SELECT class FROM table_name_49 WHERE frequency_mhz < 90.5
Write a SQL query that answers the following question: What class is assigned to frequencies larger than 89.3 with an ERP W of 250?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (class VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT class FROM table_name_60 WHERE frequency_mhz > 89.3 AND erp_w = 250
Write a SQL query that answers the following question: What did st. louis score at home?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_11 WHERE home = "st. louis"
Write a SQL query that answers the following question: What was the result of the game on week 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_4 WHERE week = 1
Write a SQL query that answers the following question: What is the record of the game on week 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (record VARCHAR, week VARCHAR)
SELECT record FROM table_name_34 WHERE week = 13
Write a SQL query that answers the following question: Texas Rate smaller than 32.9, and a U.S. Rate larger than 5.6 is what highest killeen rate?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (killeen_rate INTEGER, texas_rate VARCHAR, us_rate VARCHAR)
SELECT MAX(killeen_rate) FROM table_name_89 WHERE texas_rate < 32.9 AND us_rate > 5.6
Write a SQL query that answers the following question: Reported Offenses larger than 216, and a U.S. Rate smaller than 3274, and a Texas Rate smaller than 2688.9, and a Crime of violent crime has what killeen rate?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (killeen_rate INTEGER, crime VARCHAR, texas_rate VARCHAR, reported_offenses VARCHAR, us_rate VARCHAR)
SELECT SUM(killeen_rate) FROM table_name_8 WHERE reported_offenses > 216 AND us_rate < 3274 AND texas_rate < 2688.9 AND crime = "violent crime"
Write a SQL query that answers the following question: Killeen Rate of 511.6, and a Texas Rate smaller than 314.4 is the lowest reported offenses?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (reported_offenses INTEGER, killeen_rate VARCHAR, texas_rate VARCHAR)
SELECT MIN(reported_offenses) FROM table_name_96 WHERE killeen_rate = 511.6 AND texas_rate < 314.4
Write a SQL query that answers the following question: Tell me the type for category of mouse and attribute of ondblclick
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (type VARCHAR, category VARCHAR, attribute VARCHAR)
SELECT type FROM table_name_49 WHERE category = "mouse" AND attribute = "ondblclick"
Write a SQL query that answers the following question: Name the type with cancelable of no and attribute of ondragend
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (type VARCHAR, cancelable VARCHAR, attribute VARCHAR)
SELECT type FROM table_name_79 WHERE cancelable = "no" AND attribute = "ondragend"
Write a SQL query that answers the following question: Name the cancelable for onmouseover
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (cancelable VARCHAR, attribute VARCHAR)
SELECT cancelable FROM table_name_25 WHERE attribute = "onmouseover"
Write a SQL query that answers the following question: Name the bubbles for onscroll
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (bubbles VARCHAR, attribute VARCHAR)
SELECT bubbles FROM table_name_12 WHERE attribute = "onscroll"
Write a SQL query that answers the following question: Name the attribute for mutation and domcharacterdatamodified
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (attribute VARCHAR, category VARCHAR, type VARCHAR)
SELECT attribute FROM table_name_81 WHERE category = "mutation" AND type = "domcharacterdatamodified"
Write a SQL query that answers the following question: Who had high rebounds on May 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_15 WHERE date = "may 1"
Write a SQL query that answers the following question: What location attendance had a score of l 92–116?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_name_30 WHERE score = "l 92–116"