question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which ERP W is the lowest one that has a Call sign of w233be?
CREATE TABLE table_name_47 (erp_w INTEGER, call_sign VARCHAR)
SELECT MIN(erp_w) FROM table_name_47 WHERE call_sign = "w233be"
Who was the mediator in kōhaku number 53?
CREATE TABLE table_1315616_1 (mediator VARCHAR, kōhaku__number VARCHAR)
SELECT mediator FROM table_1315616_1 WHERE kōhaku__number = 53
What is the away team for the game at Windy Hill?
CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_72 WHERE venue = "windy hill"
How many silver medals when the total was 2 and less than 1 bronze?
CREATE TABLE table_name_37 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_37 WHERE bronze < 1 AND total = 2
Which Year has a Venue of atlanta, united states?
CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR)
SELECT year FROM table_name_13 WHERE venue = "atlanta, united states"
How many times did bec tero sasana win?
CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR)
SELECT MAX(winners) FROM table_12303563_1 WHERE nation = "BEC Tero Sasana"
What is the Margin of victory when rhys davies was runner-up?
CREATE TABLE table_name_34 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_34 WHERE runner_s__up = "rhys davies"
Name the NOSAWA Rongai for petey williams
CREATE TABLE table_name_97 (nosawa_rongai VARCHAR, block_a VARCHAR)
SELECT nosawa_rongai FROM table_name_97 WHERE block_a = "petey williams"
Who did they play in week 11?
CREATE TABLE table_name_79 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_79 WHERE week = 11
What is the position elected in 2011 from the Country of Algeria?
CREATE TABLE table_name_78 (position VARCHAR, elected VARCHAR, country_of_origin VARCHAR)
SELECT position FROM table_name_78 WHERE elected = 2011 AND country_of_origin = "algeria"
What was the rank of the team who raced at a time of 7:16.13?
CREATE TABLE table_name_76 (rank VARCHAR, time VARCHAR)
SELECT rank FROM table_name_76 WHERE time = "7:16.13"
how many times was the exposures 53?
CREATE TABLE table_2583036_1 (camera VARCHAR, exposures VARCHAR)
SELECT COUNT(camera) FROM table_2583036_1 WHERE exposures = 53
what's the permanence of the body where constancy is interestedness
CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, constancy VARCHAR)
SELECT permanence_of_the_body FROM table_11609814_1 WHERE constancy = "interestedness"
Name the average wins outdoor with rank more than 4 and wins less than 3 with outdoor wins more than 0
CREATE TABLE table_name_61 (wins__outdoor_ INTEGER, wins__indoor_ VARCHAR, rank VARCHAR, wins__total_ VARCHAR)
SELECT AVG(wins__outdoor_) FROM table_name_61 WHERE rank > 4 AND wins__total_ < 3 AND wins__indoor_ > 0
What is the Height that has a year born before 1977
CREATE TABLE table_name_49 (height VARCHAR, year_born INTEGER)
SELECT COUNT(height) FROM table_name_49 WHERE year_born < 1977
What was the nationality of the sunk ship named Rinos?
CREATE TABLE table_name_52 (nationality VARCHAR, fate VARCHAR, ship VARCHAR)
SELECT nationality FROM table_name_52 WHERE fate = "sunk" AND ship = "rinos"
What party did the incumbent Joseph Pearson belong to?
CREATE TABLE table_2668367_14 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668367_14 WHERE incumbent = "Joseph Pearson"
What week was the member who arrived on the main island in week 6 sent to the third island?
CREATE TABLE table_11764007_2 (week_sent_to_third_island VARCHAR, week_arrived_on_main_island VARCHAR)
SELECT week_sent_to_third_island FROM table_11764007_2 WHERE week_arrived_on_main_island = "6"
Which Score-Final has an Apparatus of floor exercise?
CREATE TABLE table_name_61 (score_final INTEGER, apparatus VARCHAR)
SELECT MAX(score_final) FROM table_name_61 WHERE apparatus = "floor exercise"
What is Total, when Silver is less than 65, when Bronze is greater than 4, and when Rank is "4"?
CREATE TABLE table_name_81 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT total FROM table_name_81 WHERE silver < 65 AND bronze > "4" AND rank = "4"
What is the Cyrillic name for Novi Vladimirovac?
CREATE TABLE table_2562572_56 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_56 WHERE settlement = "Novi Vladimirovac"
What was the result of the game played on May 9, 2012?
CREATE TABLE table_name_35 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_35 WHERE date = "may 9, 2012"
How many of 3:26.00 when hicham el guerrouj ( mar ) is hudson de souza ( bra )?
CREATE TABLE table_23987362_2 (hicham_el_guerrouj___mar__ VARCHAR)
SELECT COUNT(3) AS :2600 FROM table_23987362_2 WHERE hicham_el_guerrouj___mar__ = "Hudson de Souza ( BRA )"
What winner has silence-lotto as the team classification?
CREATE TABLE table_name_49 (winner VARCHAR, team_classification VARCHAR)
SELECT winner FROM table_name_49 WHERE team_classification = "silence-lotto"
What is Date, when City is "Punta Del Este"?
CREATE TABLE table_name_87 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_87 WHERE city = "punta del este"
What is the digital terrestria channel number for itv3?
CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)
SELECT digital_terrestrial_channel FROM table_182410_10 WHERE channel = "ITV3"
Which FA Cup Goals have League Cup Apps larger than 0, and a Name of trevor cherry?
CREATE TABLE table_name_55 (fa_cup_goals INTEGER, league_cup_apps VARCHAR, name VARCHAR)
SELECT MAX(fa_cup_goals) FROM table_name_55 WHERE league_cup_apps > 0 AND name = "trevor cherry"
the california golden seals that where drafted by nhl teams played what positions
CREATE TABLE table_1473672_7 (position VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_1473672_7 WHERE nhl_team = "California Golden Seals"
Which Terminus is on line 10?
CREATE TABLE table_name_1 (terminus VARCHAR, line VARCHAR)
SELECT terminus FROM table_name_1 WHERE line = "line 10"
Find the name of the products that have the color description "red" and have the characteristic name "fast".
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "red" AND t3.characteristic_name = "fast"
What team is sponsored by w.h. bolin?
CREATE TABLE table_name_14 (team VARCHAR, sponsor VARCHAR)
SELECT team FROM table_name_14 WHERE sponsor = "w.h. bolin"
What rank did the nation with athlete peter snell category:articles with hcards have?
CREATE TABLE table_22355_11 (rank VARCHAR, athlete VARCHAR)
SELECT COUNT(rank) FROM table_22355_11 WHERE athlete = "Peter Snell Category:Articles with hCards"
What is Tim Wollthan's Date of Birth?
CREATE TABLE table_name_45 (date_of_birth VARCHAR, name VARCHAR)
SELECT date_of_birth FROM table_name_45 WHERE name = "tim wollthan"
What attendance is listed against the date of bye?
CREATE TABLE table_name_4 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_4 WHERE date = "bye"
Which League Goals have FA Cup Apps of 2, and Total Goals smaller than 0?
CREATE TABLE table_name_80 (league_goals INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR)
SELECT AVG(league_goals) FROM table_name_80 WHERE fa_cup_apps = "2" AND total_goals < 0
What's Brazil's rank when it has notes of R?
CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil"
What is the address for the Scorpions' mascot?
CREATE TABLE table_name_80 (address VARCHAR, mascot VARCHAR)
SELECT address FROM table_name_80 WHERE mascot = "scorpions"
On what Date was the Tournament in Gold Coast?
CREATE TABLE table_name_88 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_88 WHERE location = "gold coast"
Which country is the ICAO vvts?
CREATE TABLE table_name_80 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_80 WHERE icao = "vvts"
what's the position with artbeingt being jim reeves
CREATE TABLE table_13805432_2 (position VARCHAR, artist VARCHAR)
SELECT position FROM table_13805432_2 WHERE artist = "Jim Reeves"
Who is the bachelorette of the season that premiered on May 24, 2010?
CREATE TABLE table_name_37 (bachelorette VARCHAR, premiered VARCHAR)
SELECT bachelorette FROM table_name_37 WHERE premiered = "may 24, 2010"
What is Tournament, when Margin is Victory of 6 Strokes?
CREATE TABLE table_name_30 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_30 WHERE margin_of_victory = "6 strokes"
what is the maximum pick # where player is anthony blaylock
CREATE TABLE table_10650711_1 (pick__number INTEGER, player VARCHAR)
SELECT MAX(pick__number) FROM table_10650711_1 WHERE player = "Anthony Blaylock"
What is the Pick number of the Player from Syracuse?
CREATE TABLE table_name_76 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_76 WHERE college = "syracuse"
What country is player Raymond Floyd from?
CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_35 WHERE player = "raymond floyd"
Which rounds did the team Walther participate in?
CREATE TABLE table_name_77 (rounds VARCHAR, team VARCHAR)
SELECT rounds FROM table_name_77 WHERE team = "walther"
Tell me the average total for guatemala and bronze less than 2
CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_32 WHERE nation = "guatemala" AND bronze < 2
Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954?
CREATE TABLE table_name_5 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
SELECT brazil_scorers FROM table_name_5 WHERE result = "w" AND competition = "world cup qualifying" AND date = "february 28, 1954"
What is Opponent in Final, when Surface is "Hard", and when Date is "13 January 1992"?
CREATE TABLE table_name_31 (opponent_in_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT opponent_in_final FROM table_name_31 WHERE surface = "hard" AND date = "13 january 1992"
When the share of votes equals 21.8%, what's the sum of the total amount of seats?
CREATE TABLE table_name_61 (total_seats INTEGER, share_of_votes VARCHAR)
SELECT SUM(total_seats) FROM table_name_61 WHERE share_of_votes = "21.8%"
Who is seat no 1 when the mayor was john j. seguier
CREATE TABLE table_2231241_1 (seat_no_1 VARCHAR, mayor VARCHAR)
SELECT seat_no_1 FROM table_2231241_1 WHERE mayor = "John J. Seguier"
what player has $187,500 and score 66-75-71-69=281
CREATE TABLE table_name_4 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281
What was the attendance when Hawthorn played as the away team?
CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_54 WHERE away_team = "hawthorn"
On what date was the rocket a TBD with a satellite of GPS IIIA-1?
CREATE TABLE table_name_16 (date VARCHAR, rocket VARCHAR, satellite VARCHAR)
SELECT date FROM table_name_16 WHERE rocket = "tbd" AND satellite = "gps iiia-1"
Which county do the Trojans come from?
CREATE TABLE table_name_87 (county VARCHAR, mascot VARCHAR)
SELECT county FROM table_name_87 WHERE mascot = "trojans"
Find the product category description of the product category with code "Spices".
CREATE TABLE ref_product_categories (product_category_description VARCHAR, product_category_code VARCHAR)
SELECT product_category_description FROM ref_product_categories WHERE product_category_code = "Spices"
What is the D 47 when the D 49 is r 32?
CREATE TABLE table_name_92 (d_47 VARCHAR, d_49 VARCHAR)
SELECT d_47 FROM table_name_92 WHERE d_49 = "r 32"
What Country has a Player with Playoff Money with a Score of 72-69-73-73=287?
CREATE TABLE table_name_8 (country VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT country FROM table_name_8 WHERE money___$__ = "playoff" AND score = 72 - 69 - 73 - 73 = 287
What was the result of the election in the Maryland 7 district?
CREATE TABLE table_1341423_20 (results VARCHAR, district VARCHAR)
SELECT results FROM table_1341423_20 WHERE district = "Maryland 7"
Was the result of the supercheap auto bathurst 1000 reported?
CREATE TABLE table_20884160_1 (report VARCHAR, race_title VARCHAR)
SELECT report FROM table_20884160_1 WHERE race_title = "Supercheap Auto Bathurst 1000"
What is the average hexadecimal with a decimal greater than 57?
CREATE TABLE table_name_2 (hexadecimal INTEGER, decimal INTEGER)
SELECT AVG(hexadecimal) FROM table_name_2 WHERE decimal > 57
What round was the player Ty Lawson with a pick earlier than 18?
CREATE TABLE table_name_90 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT AVG(round) FROM table_name_90 WHERE player = "ty lawson" AND pick < 18
What is TV Time, when Date is December 22, 1996?
CREATE TABLE table_name_91 (tv_time VARCHAR, date VARCHAR)
SELECT tv_time FROM table_name_91 WHERE date = "december 22, 1996"
What is the date of the circuit of Monaco?
CREATE TABLE table_name_97 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_97 WHERE circuit = "monaco"
What is the State with Suwon as the city
CREATE TABLE table_name_37 (state VARCHAR, city VARCHAR)
SELECT state FROM table_name_37 WHERE city = "suwon"
Where does Bob Tway Place?
CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_95 WHERE player = "bob tway"
What is the charity for the celebrity with an occupation title of actor and singer?
CREATE TABLE table_28730873_2 (charity VARCHAR, occupation VARCHAR)
SELECT charity FROM table_28730873_2 WHERE occupation = "Actor and Singer"
What is listed in notes for the athlete, lassi karonen?
CREATE TABLE table_name_46 (notes VARCHAR, athlete VARCHAR)
SELECT notes FROM table_name_46 WHERE athlete = "lassi karonen"
What is the lowest bronze total that has a silver total of 13 medals?
CREATE TABLE table_name_72 (bronze INTEGER, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_72 WHERE silver = "13"
How many points have a Year larger than 1966?
CREATE TABLE table_name_69 (points VARCHAR, year INTEGER)
SELECT COUNT(points) FROM table_name_69 WHERE year > 1966
Who had the high assists in the game against Memphis?
CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_name_13 WHERE team = "memphis"
How many dvd releases where directed by david decoteau?
CREATE TABLE table_19982699_1 (dvd_release VARCHAR, director VARCHAR)
SELECT COUNT(dvd_release) FROM table_19982699_1 WHERE director = "David DeCoteau"
How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?
CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(bronze) FROM table_name_79 WHERE gold > "14" AND rank = "14" AND silver > 25
Name the administrative county being area of 422372
CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR)
SELECT administrative_county FROM table_14925084_1 WHERE area_1961__statute_acres_ = 422372
What is the Opponents in the game with a Date of nov. 25?
CREATE TABLE table_name_80 (opponents INTEGER, date VARCHAR)
SELECT MIN(opponents) FROM table_name_80 WHERE date = "nov. 25"
what's the date with rnd  1
CREATE TABLE table_1140080_2 (date VARCHAR, rnd VARCHAR)
SELECT date FROM table_1140080_2 WHERE rnd = 1
Who was the opponent of the game on August 8?
CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_36 WHERE date = "august 8"
What is the name of the Event with a venue that was in toronto, canada?
CREATE TABLE table_name_62 (event VARCHAR, venue VARCHAR)
SELECT event FROM table_name_62 WHERE venue = "toronto, canada"
What game has 27-12 record?
CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR)
SELECT game FROM table_name_14 WHERE record = "27-12"
What is the total amount of bronze medals a team with 1 gold and more than 3 silver medals has?
CREATE TABLE table_name_67 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_67 WHERE gold = 1 AND silver > 3
what game had an attendance of 21,629
CREATE TABLE table_name_70 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_70 WHERE attendance = "21,629"
What time in eastern standard time was game held at denver broncos?
CREATE TABLE table_14433719_1 (time___et__ VARCHAR, opponent VARCHAR)
SELECT time___et__ FROM table_14433719_1 WHERE opponent = "at Denver Broncos"
What is the fewest losses that had an against score of 2190 and more than 0 draws?
CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR)
SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0
What is the Drawn number with a Points against of correct as of 08:50 10 may 2009?
CREATE TABLE table_name_11 (drawn VARCHAR, points_against VARCHAR)
SELECT drawn FROM table_name_11 WHERE points_against = "correct as of 08:50 10 may 2009"
What is the sum of the area for the bahawalnagar district with a population more than 134,936?
CREATE TABLE table_name_32 (city_area_km_2__ INTEGER, district VARCHAR, city_population__2009_ VARCHAR)
SELECT SUM(city_area_km_2__) FROM table_name_32 WHERE district = "bahawalnagar district" AND city_population__2009_ > 134 OFFSET 936
What is the rank for the year opened in 1959 in Pennsylvania?
CREATE TABLE table_name_83 (rank VARCHAR, year_opened VARCHAR, state VARCHAR)
SELECT rank FROM table_name_83 WHERE year_opened = "1959" AND state = "pennsylvania"
What is the voltage when there are 2 cores, turbo is 5/8 and the release date is September 2010?
CREATE TABLE table_name_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR)
SELECT voltage FROM table_name_71 WHERE cores = "2" AND release_date = "september 2010" AND turbo = "5/8"
Which Venue has a Goal larger than 3, and a Competition of 2011 afc asian cup?
CREATE TABLE table_name_3 (venue VARCHAR, goal VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_3 WHERE goal > 3 AND competition = "2011 afc asian cup"
what is the date for the week larger than 1 and the opponent detroit lions?
CREATE TABLE table_name_23 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_23 WHERE week > 1 AND opponent = "detroit lions"
what is the final score when the opponent is platense?
CREATE TABLE table_name_58 (final_score VARCHAR, opponent VARCHAR)
SELECT final_score FROM table_name_58 WHERE opponent = "platense"
Name the outcome for 6 march 2000
CREATE TABLE table_name_76 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_76 WHERE date = "6 march 2000"
Which F/Laps has Podiums of 1, and a Season of 2000, and a Final Placing of nc?
CREATE TABLE table_name_98 (f_laps VARCHAR, final_placing VARCHAR, podiums VARCHAR, season VARCHAR)
SELECT f_laps FROM table_name_98 WHERE podiums = "1" AND season = 2000 AND final_placing = "nc"
Which Years in Orlando has a School/Club Team of texas tech?
CREATE TABLE table_name_74 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_74 WHERE school_club_team = "texas tech"
Name the number of episods for segment c being s oyster
CREATE TABLE table_15187735_18 (episode VARCHAR, segment_c VARCHAR)
SELECT COUNT(episode) FROM table_15187735_18 WHERE segment_c = "s Oyster"
Name the number of package/option for sky primafila 24
CREATE TABLE table_15887683_6 (package_option VARCHAR, television_service VARCHAR)
SELECT COUNT(package_option) FROM table_15887683_6 WHERE television_service = "Sky Primafila 24"
Who drove the dodge with a car # less than 5?
CREATE TABLE table_name_42 (driver VARCHAR, car__number VARCHAR, make VARCHAR)
SELECT driver FROM table_name_42 WHERE car__number < 5 AND make = "dodge"
Who is the pärnu manager?
CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR)
SELECT manager FROM table_27409644_1 WHERE club = "Pärnu"
Name the score for september 25
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_93 WHERE date = "september 25"
What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'?
CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR)
SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'"
What is the Attendance when Vida is the Away team?
CREATE TABLE table_name_25 (attendance INTEGER, away VARCHAR)
SELECT AVG(attendance) FROM table_name_25 WHERE away = "vida"