question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
How many dfb-pokal did kevin-prince boateng have?
CREATE TABLE table_22167196_1 (dfb_pokal VARCHAR, player VARCHAR)
SELECT COUNT(dfb_pokal) FROM table_22167196_1 WHERE player = "Kevin-Prince Boateng"
Show the names of mountains with height more than 5000 or prominence more than 1000.
CREATE TABLE mountain (Name VARCHAR, Height VARCHAR, Prominence VARCHAR)
SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000
What is Oriol Servia's average Grid on races with more than 43 laps?
CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT AVG(grid) FROM table_name_10 WHERE laps > 43 AND driver = "oriol servia"
How many companies had an april 2013 cumulative ranking of 3?
CREATE TABLE table_23950611_2 (market_cap_march_15__mil_usd__ VARCHAR, april_2013_cum_rank VARCHAR)
SELECT COUNT(market_cap_march_15__mil_usd__) FROM table_23950611_2 WHERE april_2013_cum_rank = 3
How many times has a wrestler from the country of England wrestled in this event?
CREATE TABLE table_2305948_1 (country VARCHAR)
SELECT COUNT(2) FROM table_2305948_1 WHERE country = "England"
what artist has a book called cyberella
CREATE TABLE table_name_80 (artist_s_ VARCHAR, book_title VARCHAR)
SELECT artist_s_ FROM table_name_80 WHERE book_title = "cyberella"
What is the Host team that has indianapolis colts as a Visiting team?
CREATE TABLE table_name_71 (host_team VARCHAR, visiting_team VARCHAR)
SELECT host_team FROM table_name_71 WHERE visiting_team = "indianapolis colts"
What is the site when the superintendent was James Sever?
CREATE TABLE table_name_93 (site VARCHAR, superintendent VARCHAR)
SELECT site FROM table_name_93 WHERE superintendent = "james sever"
How many poker players are there?
CREATE TABLE poker_player (Id VARCHAR)
SELECT COUNT(*) FROM poker_player
When was Pablo Andújar the opponent?
CREATE TABLE table_name_38 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_38 WHERE opponent = "pablo andújar"
WHAT IS THE NATIONALITY FOR SOUTHWESTERN OKLAHOMA?
CREATE TABLE table_name_53 (nationality VARCHAR, college VARCHAR)
SELECT nationality FROM table_name_53 WHERE college = "southwestern oklahoma"
What is the cfl team with ryan folk?
CREATE TABLE table_10975034_5 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_10975034_5 WHERE player = "Ryan Folk"
List all song names by singers above the average age.
CREATE TABLE singer (song_name VARCHAR, age INTEGER)
SELECT song_name FROM singer WHERE age > (SELECT AVG(age) FROM singer)
What is the transfer fee for Gravgaard?
CREATE TABLE table_name_94 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_94 WHERE type = "transfer" AND name = "gravgaard"
How many years have a Title of Magia Nuda?
CREATE TABLE table_name_78 (year VARCHAR, title VARCHAR)
SELECT COUNT(year) FROM table_name_78 WHERE title = "magia nuda"
how many bubbles with category being input
CREATE TABLE table_1507852_5 (bubbles VARCHAR, category VARCHAR)
SELECT COUNT(bubbles) FROM table_1507852_5 WHERE category = "Input"
Who was the Home Team while Calgary was visiting while having an Attendance above 15,655?
CREATE TABLE table_name_22 (home VARCHAR, visitor VARCHAR, attendance VARCHAR)
SELECT home FROM table_name_22 WHERE visitor = "calgary" AND attendance > 15 OFFSET 655
What team has a pick larger than 30, when the college is saginaw valley state?
CREATE TABLE table_name_74 (team VARCHAR, pick VARCHAR, college VARCHAR)
SELECT team FROM table_name_74 WHERE pick > 30 AND college = "saginaw valley state"
Name the attendance with result of won 1-0
CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_27 WHERE result = "won 1-0"
What is every value for Croats if the value of Roma is 3.1%?
CREATE TABLE table_2374338_2 (croats VARCHAR, roma VARCHAR)
SELECT croats FROM table_2374338_2 WHERE roma = "3.1%"
For all countries with 7 bronze medals and a total number of medals less than 13, what's the sum of silver medals?
CREATE TABLE table_name_88 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_88 WHERE bronze = 7 AND total < 13
Give swimsuit scores of participants 8.847 in preliminary
CREATE TABLE table_17088705_2 (swimsuit VARCHAR, preliminary VARCHAR)
SELECT swimsuit FROM table_17088705_2 WHERE preliminary = "8.847"
What is the average Total with a Rank greater than 1, and a Bronze larger than 8?
CREATE TABLE table_name_3 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_3 WHERE rank > 1 AND bronze > 8
Which episode had Lavern Baker?
CREATE TABLE table_26250151_1 (episode VARCHAR, original_recording_artist VARCHAR)
SELECT episode FROM table_26250151_1 WHERE original_recording_artist = "LaVern Baker"
Who were the the opponents of the Wildcats for game 8 of the season?
CREATE TABLE table_21062353_1 (opponent VARCHAR, game VARCHAR)
SELECT opponent FROM table_21062353_1 WHERE game = 8
What is the low gold total for nations with under 23 silvers, ranked beloe 5, and 6 bronzes?
CREATE TABLE table_name_45 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_45 WHERE silver < 23 AND rank > 5 AND bronze = 6
What earpads do the headphones with driver-matched dB over 0.05 and MSRP of $79 have?
CREATE TABLE table_name_49 (earpads VARCHAR, driver_matched_db VARCHAR, us_msrp VARCHAR)
SELECT earpads FROM table_name_49 WHERE driver_matched_db > 0.05 AND us_msrp = "$79"
What is the location of game 7?
CREATE TABLE table_name_1 (location VARCHAR, game VARCHAR)
SELECT location FROM table_name_1 WHERE game = 7
Name the most goals scored for position 4
CREATE TABLE table_16034882_5 (goals_scored INTEGER, position VARCHAR)
SELECT MAX(goals_scored) FROM table_16034882_5 WHERE position = 4
What is the lowest dye absoprtion in nm?
CREATE TABLE table_26428602_1 (absorb__nm_ INTEGER)
SELECT MIN(absorb__nm_) FROM table_26428602_1
How many people lived in the census division spread out on 9909.31 km2 in 1996?
CREATE TABLE table_2134521_1 (pop__1996_ VARCHAR, area__km²_ VARCHAR)
SELECT pop__1996_ FROM table_2134521_1 WHERE area__km²_ = "9909.31"
What is the 1989 result for the tournament that had a 1983 and 1987 result of A?
CREATE TABLE table_name_95 (Id VARCHAR)
SELECT 1989 FROM table_name_95 WHERE 1983 = "a" AND 1987 = "a"
What match had 8 points?
CREATE TABLE table_name_91 (match VARCHAR, points VARCHAR)
SELECT match FROM table_name_91 WHERE points = "8"
How many tickets were sold/available when the gross revenue (2011) was $5,948,390?
CREATE TABLE table_name_4 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
SELECT tickets_sold___available FROM table_name_4 WHERE gross_revenue__2011_ = "$5,948,390"
What is the second team that has first team of Africa sports?
CREATE TABLE table_name_25 (team_2 VARCHAR, team_1 VARCHAR)
SELECT team_2 FROM table_name_25 WHERE team_1 = "africa sports"
What is the largest 1st prize( $ ) at the South Carolina location?
CREATE TABLE table_11622896_1 (location VARCHAR)
SELECT MAX(1 AS st_prize__) AS $__ FROM table_11622896_1 WHERE location = "South Carolina"
What is the contract length when rejected is the status?
CREATE TABLE table_name_55 (contract_length VARCHAR, status VARCHAR)
SELECT contract_length FROM table_name_55 WHERE status = "rejected"
Which March 3 has a Poll of baseball america (top 25)?
CREATE TABLE table_name_35 (mar_3 VARCHAR, poll VARCHAR)
SELECT mar_3 FROM table_name_35 WHERE poll = "baseball america (top 25)"
What is the name of the writer when the ratings was 2.61 million?
CREATE TABLE table_23705843_1 (writer VARCHAR, ratings__millions_ VARCHAR)
SELECT writer FROM table_23705843_1 WHERE ratings__millions_ = "2.61"
What's the price (in USD) of the model whose L3 is 18 mb?
CREATE TABLE table_12740151_8 (price___usd__ VARCHAR, l3 VARCHAR)
SELECT price___usd__ FROM table_12740151_8 WHERE l3 = "18 MB"
What date has a solitudering circuit
CREATE TABLE table_1140103_6 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_1140103_6 WHERE circuit = "Solitudering"
What kind of edition was released September 23, 2008 from the United States?
CREATE TABLE table_name_69 (edition VARCHAR, date VARCHAR, region VARCHAR)
SELECT edition FROM table_name_69 WHERE date = "september 23, 2008" AND region = "united states"
Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275?
CREATE TABLE table_name_8 (year INTEGER, score_qualifying VARCHAR, rank_final VARCHAR, apparatus VARCHAR)
SELECT AVG(year) FROM table_name_8 WHERE rank_final < 2 AND apparatus = "team" AND score_qualifying < 248.275
What was reserved in the district that has 169 constituents?
CREATE TABLE table_name_72 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
SELECT reserved_for___sc___st__none_ FROM table_name_72 WHERE constituency_number = "169"
What is the power at Baguio where the frequency is 102.3mhz?
CREATE TABLE table_name_59 (power__kw_ VARCHAR, frequency VARCHAR, location VARCHAR)
SELECT power__kw_ FROM table_name_59 WHERE frequency = "102.3mhz" AND location = "baguio"
Name the partner for opponents of alexandra dulgheru magdaléna rybáriková
CREATE TABLE table_name_43 (partner VARCHAR, opponents VARCHAR)
SELECT partner FROM table_name_43 WHERE opponents = "alexandra dulgheru magdaléna rybáriková"
What competition was the World Championships before 2011?
CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR)
SELECT event FROM table_name_38 WHERE competition = "world championships" AND year < 2011
What is the Production Cost with a Date that is february 2000?
CREATE TABLE table_name_34 (production_cost VARCHAR, date VARCHAR)
SELECT production_cost FROM table_name_34 WHERE date = "february 2000"
Where is the Church that has a Sub-Parish (Sokn) of rugsund?
CREATE TABLE table_name_64 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR)
SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = "rugsund"
How many assists does cam long average in under 132 games?
CREATE TABLE table_name_28 (ast_avg INTEGER, player VARCHAR, games VARCHAR)
SELECT MAX(ast_avg) FROM table_name_28 WHERE player = "cam long" AND games < 132
When did the no. 23 show originally air?
CREATE TABLE table_10718984_2 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_10718984_2 WHERE no_in_season = 23
What is the Kosal with a balangir town sitalsasthi carnival?
CREATE TABLE table_name_97 (kosal VARCHAR, sitalsasthi_carnival VARCHAR)
SELECT kosal FROM table_name_97 WHERE sitalsasthi_carnival = "balangir town"
Tell me the average heat rank for time less than 24.02 and lane of 1
CREATE TABLE table_name_15 (heat_rank INTEGER, time VARCHAR, lane VARCHAR)
SELECT AVG(heat_rank) FROM table_name_15 WHERE time < 24.02 AND lane = 1
WHich Speed has a Rank of 2?
CREATE TABLE table_name_59 (speed VARCHAR, rank VARCHAR)
SELECT speed FROM table_name_59 WHERE rank = 2
Which 2002 has a 2008 of 3–3?
CREATE TABLE table_name_79 (Id VARCHAR)
SELECT 2002 FROM table_name_79 WHERE 2008 = "3–3"
What number does the player from Ohio play with?
CREATE TABLE table_11545282_10 (no VARCHAR, school_club_team VARCHAR)
SELECT no FROM table_11545282_10 WHERE school_club_team = "Ohio"
Which manufacturer has a grid of 6?
CREATE TABLE table_name_25 (manufacturer VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_25 WHERE grid = "6"
What is the frequency of KQLX?
CREATE TABLE table_name_76 (frequency VARCHAR, call_sign VARCHAR)
SELECT frequency FROM table_name_76 WHERE call_sign = "kqlx"
What is the date for the name of Granville?
CREATE TABLE table_name_39 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_39 WHERE name = "granville"
What district is the court located in Tolland?
CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR)
SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland"
What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?
CREATE TABLE table_name_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)
SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = "cardinal-priest of ss. xii apostoli"
What is the sambalpuri saree with a samaleswari temple as sambalpuri language?
CREATE TABLE table_name_22 (sambalpuri_saree VARCHAR, sambalpuri_language VARCHAR)
SELECT sambalpuri_saree FROM table_name_22 WHERE sambalpuri_language = "samaleswari temple"
What did the home team of essendon score?
CREATE TABLE table_name_78 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_78 WHERE home_team = "essendon"
What was the position of the player that went to warren central high school?
CREATE TABLE table_name_35 (position VARCHAR, school VARCHAR)
SELECT position FROM table_name_35 WHERE school = "warren central high school"
What are the name and id of the team with the most victories in 2008 postseason?
CREATE TABLE postseason (team_id_winner VARCHAR, year VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR)
SELECT T2.name, T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner ORDER BY COUNT(*) DESC LIMIT 1
The episode titled "Epiphany" received what scripted show ranking?
CREATE TABLE table_22170495_7 (scripted_show_ranking INTEGER, title VARCHAR)
SELECT MIN(scripted_show_ranking) FROM table_22170495_7 WHERE title = "Epiphany"
Which Mountains classification has a Team classification of quick step?
CREATE TABLE table_name_81 (mountains_classification VARCHAR, team_classification VARCHAR)
SELECT mountains_classification FROM table_name_81 WHERE team_classification = "quick step"
Who got the mountains classification when Michael Albasini won the stage?
CREATE TABLE table_21804557_18 (mountains_classification VARCHAR, metas_volantes_classification VARCHAR)
SELECT mountains_classification FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"
What team does Seth Sinovic play for?
CREATE TABLE table_25518547_2 (mls_team VARCHAR, player VARCHAR)
SELECT mls_team FROM table_25518547_2 WHERE player = "Seth Sinovic"
what is the outcome on april 24, 1988?
CREATE TABLE table_name_20 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_20 WHERE date = "april 24, 1988"
Original title of возвращение / vozvrashcheniye had what English title?
CREATE TABLE table_name_79 (english_title VARCHAR, original_title VARCHAR)
SELECT english_title FROM table_name_79 WHERE original_title = "возвращение / vozvrashcheniye"
What is the category for trains numbered 16609/16610?
CREATE TABLE table_21716139_1 (category VARCHAR, train_no VARCHAR)
SELECT category FROM table_21716139_1 WHERE train_no = "16609/16610"
How many directors got 6.79 million U.S. viewers from their episodes?
CREATE TABLE table_28760804_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(directed_by) FROM table_28760804_1 WHERE us_viewers__million_ = "6.79"
What is the score points when the total is 20?
CREATE TABLE table_name_4 (score_points VARCHAR, total VARCHAR)
SELECT score_points FROM table_name_4 WHERE total = "20"
What is the MLB Draft status of the person who attended Seton Hall Preparatory School?
CREATE TABLE table_name_80 (mlb_draft VARCHAR, school VARCHAR)
SELECT mlb_draft FROM table_name_80 WHERE school = "seton hall preparatory school"
What is the Time/Retired value of driver Pedro Diniz?
CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_7 WHERE driver = "pedro diniz"
Loss of schrom happened on what date?
CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_39 WHERE loss = "schrom"
How many car numbers were listed for Rusty Wallace?
CREATE TABLE table_1769428_2 (car__number VARCHAR, winning_driver VARCHAR)
SELECT COUNT(car__number) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace"
In language where Saturday is සෙනසුරාදා senasuraadaa, what is Tuesday?
CREATE TABLE table_1277350_3 (tuesday_mangala__mars_ VARCHAR, saturday_shani__saturn_ VARCHAR)
SELECT tuesday_mangala__mars_ FROM table_1277350_3 WHERE saturday_shani__saturn_ = "සෙනසුරාදා Senasuraadaa"
What's the mpg-US urban when the mpg-UK urban is 20 and the mpg-UK extra urban is less than 37.2?
CREATE TABLE table_name_61 (mpg_us_urban INTEGER, mpg_uk_urban__cold_ VARCHAR, mpg_uk_extra_urban VARCHAR)
SELECT SUM(mpg_us_urban) FROM table_name_61 WHERE mpg_uk_urban__cold_ = 20 AND mpg_uk_extra_urban < 37.2
What is the to par for the score 72-69-68=209?
CREATE TABLE table_name_11 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_11 WHERE score = 72 - 69 - 68 = 209
Find the names of the users whose number of followers is greater than that of the user named "Tyler Swift".
CREATE TABLE follows (f1 VARCHAR); CREATE TABLE user_profiles (name VARCHAR, uid VARCHAR)
SELECT T1.name FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f1 GROUP BY T2.f1 HAVING COUNT(*) > (SELECT COUNT(*) FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f1 WHERE T1.name = 'Tyler Swift')
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965"
What is John Edwards, when John Kerry is "70%"?
CREATE TABLE table_name_41 (john_edwards VARCHAR, john_kerry VARCHAR)
SELECT john_edwards FROM table_name_41 WHERE john_kerry = "70%"
What was the result for the years after 2001?
CREATE TABLE table_name_15 (result VARCHAR, year INTEGER)
SELECT result FROM table_name_15 WHERE year > 2001
What is the production code of the episode directed by Michael McDonald?
CREATE TABLE table_25548505_1 (production_code VARCHAR, directed_by VARCHAR)
SELECT production_code FROM table_25548505_1 WHERE directed_by = "Michael McDonald"
Which Opponent has a Score of 2–6?
CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_64 WHERE score = "2–6"
Which Artist has a Draw of 6?
CREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR)
SELECT artist FROM table_name_7 WHERE draw = 6
What is Pedro De La Rosa's total number of Grid?
CREATE TABLE table_name_27 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_27 WHERE driver = "pedro de la rosa"
Tell me the sum of silver for liechtenstein and bronze more than 4
CREATE TABLE table_name_34 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT SUM(silver) FROM table_name_34 WHERE nation = "liechtenstein" AND bronze > 4
What is the Depart de la main gauche of the do Mode?
CREATE TABLE table_name_26 (départ_de_la_main_gauche VARCHAR, mode VARCHAR)
SELECT départ_de_la_main_gauche FROM table_name_26 WHERE mode = "do"
Which Particle has a Rest mass MeV/c 2 of 1192.642(24)?
CREATE TABLE table_name_61 (particle VARCHAR, rest_mass_mev___c_2 VARCHAR)
SELECT particle FROM table_name_61 WHERE rest_mass_mev___c_2 = "1192.642(24)"
What is the team when the name is alex sperafico?
CREATE TABLE table_name_58 (team VARCHAR, name VARCHAR)
SELECT team FROM table_name_58 WHERE name = "alex sperafico"
Which Number of electorates (2009) has a Constituency number of 46?
CREATE TABLE table_name_77 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR)
SELECT AVG(number_of_electorates__2009_) FROM table_name_77 WHERE constituency_number = "46"
what is the geo id when the longitude is -98.435797 and the land (sqmi) is less than 36.039?
CREATE TABLE table_name_1 (geo_id INTEGER, longitude VARCHAR, land___sqmi__ VARCHAR)
SELECT MAX(geo_id) FROM table_name_1 WHERE longitude = -98.435797 AND land___sqmi__ < 36.039
What is the Date for the wgc-accenture match play championship?
CREATE TABLE table_name_83 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_83 WHERE tournament = "wgc-accenture match play championship"
What is the transcription for the English March?
CREATE TABLE table_name_98 (transcription VARCHAR, english_name VARCHAR)
SELECT transcription FROM table_name_98 WHERE english_name = "march"
Name the party for john randolph redistricted from the 15th district
CREATE TABLE table_2668367_21 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668367_21 WHERE incumbent = "John Randolph Redistricted from the 15th district"
What type of processor does the Intel Centrino Wireless-N 105 wireless LAN have?
CREATE TABLE table_199666_1 (processor VARCHAR, wireless_lan VARCHAR)
SELECT processor FROM table_199666_1 WHERE wireless_lan = "Intel centrino Wireless-N 105"
What are the the University of Richmond's school colors?
CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR)
SELECT colors FROM table_1221089_1 WHERE institution = "University of Richmond"