question
stringlengths
14
216
context
stringlengths
45
458
answer
stringlengths
18
463
What's the Ikavian translation of the Ijekavian word lijep?
create table table_27730_9 (ikavian varchar, ijekavian varchar, PRIMARY KEY (ikavian))
select ikavian from table_27730_9 where ijekavian = "lijep"
Who is the team when the category is blocks per game?
create table table_28628309_8 (team varchar, category varchar, PRIMARY KEY (team))
select team from table_28628309_8 where category = "blocks per game"
When bloggers was the poll winner, who was the root of all evil?
create table table_15781170_3 (root_of_all_evil varchar, poll_winner varchar, PRIMARY KEY (root_of_all_evil))
select root_of_all_evil from table_15781170_3 where poll_winner = "bloggers"
Who won Womens Singles in the year that Ma Lin won Mens Singles?
create table table_28138035_15 (womens_singles varchar, mens_singles varchar, PRIMARY KEY (womens_singles))
select womens_singles from table_28138035_15 where mens_singles = "ma lin"
Why did the change happened in Massachusetts (2)?
create table table_18563954_3 (reason_for_change varchar, state__class_ varchar, PRIMARY KEY (reason_for_change))
select reason_for_change from table_18563954_3 where state__class_ = "massachusetts (2)"
What college did the player for the Hamilton Tiger-Cats go to?
create table table_21321804_3 (college varchar, cfl_team varchar, PRIMARY KEY (college))
select college from table_21321804_3 where cfl_team = "hamilton tiger-cats"
Which of the mill names contains the french word 'Moulin'?
create table mill (name varchar, PRIMARY KEY (name))
select name from mill where name like '%moulin%'
How many incumbents come from alvin bush's district?
create table table_1341930_38 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
select count(candidates) from table_1341930_38 where incumbent = "alvin bush"
Name the cpu type for june 2005 - april 2009
create table table_27765443_2 (cpu_type varchar, period_of_operation varchar, PRIMARY KEY (cpu_type))
select cpu_type from table_27765443_2 where period_of_operation = "june 2005 - april 2009"
List the name of actors in ascending alphabetical order.
create table actor (name varchar, PRIMARY KEY (name))
select name from actor order by name
Who drove for Phil Parsons Racing team?
create table table_1266602_2 (driver_s_ varchar, team varchar, PRIMARY KEY (driver_s_))
select driver_s_ from table_1266602_2 where team = "phil parsons racing"
Who is the academic & University affairs when the Human resources & operations is N. Charles Hamilton?
create table table_12113818_1 (academic_ varchar, _university_affairs varchar, human_resources_ varchar, _operations varchar, PRIMARY KEY (academic_))
select academic_ & _university_affairs from table_12113818_1 where human_resources_ & _operations = "n. charles hamilton"
What was the calling for the 18.42 arrival time?
create table table_18332845_2 (calling_at varchar, arrival varchar, PRIMARY KEY (calling_at))
select calling_at from table_18332845_2 where arrival = "18.42"
Who was Marcus's guest in the episode when Rufus's guest was Rory McGrath?
create table table_19930660_2 (marcus_guest varchar, rufus_guest varchar, PRIMARY KEY (marcus_guest))
select marcus_guest from table_19930660_2 where rufus_guest = "rory mcgrath"
who held the fastes lap in Phoenix, Arizona?
create table table_2454550_1 (fastest_lap varchar, location varchar, PRIMARY KEY (fastest_lap))
select fastest_lap from table_2454550_1 where location = "phoenix, arizona"
what is b - bishop where bc - beast cadet is gr - great dove?
create table table_2603017_2 (b___bishop varchar, bc___beast_cadet varchar, PRIMARY KEY (b___bishop))
select b___bishop from table_2603017_2 where bc___beast_cadet = "gr - great dove"
When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?
create table table_23465864_3 (sat_29_aug varchar, rider varchar, PRIMARY KEY (sat_29_aug))
select sat_29_aug from table_23465864_3 where rider = "roy richardson 476cc aermacchi"
What date did the episode air when guy grossi won?
create table table_29281529_2 (airdate varchar, winner varchar, PRIMARY KEY (airdate))
select airdate from table_29281529_2 where winner = "guy grossi"
When the value of "other" is 0.7%, what is the percentage for Windows?
create table table_11381701_3 (windows varchar, other varchar, PRIMARY KEY (windows))
select windows from table_11381701_3 where other = "0.7%"
What was Barreto's song choice where the original artist was Patricia Marx?
create table table_27614571_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))
select song_choice from table_27614571_1 where original_artist = "patricia marx"
Show different colleges along with the number of authors of submission from each college.
create table submission (college varchar, PRIMARY KEY (college))
select college, count(*) from submission group by college
What are all the report for the Belgian Grand Prix?
create table table_26258348_4 (report varchar, grand_prix varchar, PRIMARY KEY (report))
select report from table_26258348_4 where grand_prix = "belgian grand_prix"
who is the the incumbent with candidates being percy e. quin (d) unopposed
create table table_1342379_23 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
select incumbent from table_1342379_23 where candidates = "percy e. quin (d) unopposed"
What is the report for races where Will Power had both pole position and fastest lap?
create table table_16099880_5 (report varchar, pole_position varchar, fastest_lap varchar, PRIMARY KEY (report))
select report from table_16099880_5 where pole_position = "will power" and fastest_lap = "will power"
How many points did the opponents score on the game where Sooners' record was 16-5?
create table table_22903773_2 (opp_points integer, record varchar, PRIMARY KEY (opp_points))
select max(opp_points) from table_22903773_2 where record = "16-5"
What is every affiliation for the Tottenham constituency?
create table table_25818630_1 (affiliation varchar, constituency varchar, PRIMARY KEY (affiliation))
select affiliation from table_25818630_1 where constituency = "tottenham"
Who played San Lorenzo?
create table table_17282875_3 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))
select team__number2 from table_17282875_3 where team__number1 = "san lorenzo"
Who had the most rebounds when the team record was 15-27?
create table table_23285805_6 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))
select high_rebounds from table_23285805_6 where record = "15-27"
Who was the winning driver for Hendrick Motorsports in a Chevrolet Impala SS?
create table table_1769428_2 (winning_driver varchar, team varchar, make varchar, PRIMARY KEY (winning_driver))
select winning_driver from table_1769428_2 where team = "hendrick motorsports" and make = "chevrolet impala ss"
List the names of studios that have at least two films.
create table film (studio varchar, PRIMARY KEY (studio))
select studio from film group by studio having count(*) >= 2
What is the title of the episode that aired on May 10, 1958?
create table table_25800134_2 (title varchar, airdate varchar, PRIMARY KEY (title))
select title from table_25800134_2 where airdate = "may 10, 1958"
When 9/07/1999 is the date of withdrawn what is the original number?
create table table_21795986_1 (original_number varchar, withdrawn varchar, PRIMARY KEY (original_number))
select original_number from table_21795986_1 where withdrawn = "9/07/1999"
Name the mens singles when mens doubles is george georgoudis gerostergiou
create table table_14903881_1 (mens_singles varchar, mens_doubles varchar, PRIMARY KEY (mens_singles))
select mens_singles from table_14903881_1 where mens_doubles = "george georgoudis gerostergiou"
Name the karen when nicky is 2.5
create table table_19744915_4 (karen varchar, nicky varchar, PRIMARY KEY (karen))
select karen from table_19744915_4 where nicky = "2.5"
How many total interview subjects wererthere when the centerfold model was Tamara Witmer?
create table table_1566852_6 (interview_subject varchar, centerfold_model varchar, PRIMARY KEY (interview_subject))
select count(interview_subject) from table_1566852_6 where centerfold_model = "tamara witmer"
Where was the Undercard of Stevenson/Bellew?
create table table_25840200_1 (location varchar, notes varchar, PRIMARY KEY (location))
select location from table_25840200_1 where notes = "undercard of stevenson/bellew"
Find all the vocal types.
create table vocals (type varchar, PRIMARY KEY (type))
select distinct type from vocals
How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?
create table table_1881642_1 (socialist varchar, social_democratic varchar, PRIMARY KEY (socialist))
select count(socialist) from table_1881642_1 where social_democratic = "42.2%"
How many different numbers of cantons does the province with the Armenian name վասպուրական have?
create table table_23887174_1 (number_of_cantons__gavars_ varchar, armenian_name varchar, PRIMARY KEY (number_of_cantons__gavars_))
select count(number_of_cantons__gavars_) from table_23887174_1 where armenian_name = "վասպուրական"
What is every value for % 20-39 if % 0-19 is 21,11%?
create table table_23606500_4 (_percentage_20_39 varchar, _percentage_0_19 varchar, PRIMARY KEY (_percentage_20_39))
select _percentage_20_39 from table_23606500_4 where _percentage_0_19 = "21,11%"
Find the name of the swimmer who has at least 2 records.
create table record (swimmer_id varchar, PRIMARY KEY (swimmer_id)); create table swimmer (name varchar, id varchar, PRIMARY KEY (name))
select t1.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id group by t2.swimmer_id having count(*) >= 2
Please list all songs in volumes in ascending alphabetical order.
create table volume (song varchar, PRIMARY KEY (song))
select song from volume order by song
what is the integrated in which the holding allied-unrelated is many?
create table table_11944282_1 (holding varchar, allied_unrelated varchar, PRIMARY KEY (holding))
select holding from table_11944282_1 where allied_unrelated = "many"
Which College did the Buffalo Sabres' pick play for?
create table table_1965650_7 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))
select college_junior_club_team from table_1965650_7 where nhl_team = "buffalo sabres"
What is the last year total for the team with a lowest of 23578?
create table table_2472711_31 (last_year integer, lowest varchar, PRIMARY KEY (last_year))
select max(last_year) from table_2472711_31 where lowest = 23578
Who was the original artist for First Solo?
create table table_26250176_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))
select original_artist from table_26250176_1 where theme = "first solo"
What is the Bello when Ben-Tahir is 296?
create table table_11447995_2 (bello varchar, ben_tahir varchar, PRIMARY KEY (bello))
select bello from table_11447995_2 where ben_tahir = "296"
List Aerosmith's albums.
create table artists (id varchar, name varchar, PRIMARY KEY (id)); create table albums (title varchar, artist_id varchar, PRIMARY KEY (title))
select t1.title from albums as t1 join artists as t2 on t1.artist_id = t2.id where t2.name = "aerosmith"
What are the start date and end date of the booking that has booked the product named 'Book collection A'?
create table bookings (booking_start_date varchar, booking_end_date varchar, booking_id varchar, PRIMARY KEY (booking_start_date)); create table products_booked (product_id varchar, booking_id varchar, PRIMARY KEY (product_id)); create table products_for_hire (product_id varchar, product_name varchar, PRIMARY KEY (product_id))
select t3.booking_start_date, t3.booking_end_date from products_for_hire as t1 join products_booked as t2 on t1.product_id = t2.product_id join bookings as t3 on t2.booking_id = t3.booking_id where t1.product_name = 'book collection a'
What's the title of the episode with a broadcast order s04 e01?
create table table_1231892_4 (title varchar, broadcast_order varchar, PRIMARY KEY (title))
select title from table_1231892_4 where broadcast_order = "s04 e01"
Name the number of outgoing manager for rijeka
create table table_27225944_3 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))
select count(outgoing_manager) from table_27225944_3 where team = "rijeka"
How much is the purse ( $ ) when the margin of victory is 1 stroke?
create table table_13388681_1 (purse___$__ varchar, margin_of_victory varchar, PRIMARY KEY (purse___$__))
select purse___$__ from table_13388681_1 where margin_of_victory = "1 stroke"
How many english titles were directed by carlos moreno?
create table table_22102732_1 (english_title varchar, director varchar, PRIMARY KEY (english_title))
select count(english_title) from table_22102732_1 where director = "carlos moreno"
What is the id of the problem log that is created most recently?
create table problem_log (problem_log_id varchar, log_entry_date varchar, PRIMARY KEY (problem_log_id))
select problem_log_id from problem_log order by log_entry_date desc limit 1
What is the intro date for the interface that equals pci?
create table table_29778616_1 (intro_date varchar, interface varchar, PRIMARY KEY (intro_date))
select intro_date from table_29778616_1 where interface = "pci"
What is the channel that is on digital terrestrial channel 10?
create table table_182410_10 (channel varchar, digital_terrestrial_channel varchar, PRIMARY KEY (channel))
select channel from table_182410_10 where digital_terrestrial_channel = "10"
What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar?
create table table_20042805_2 (african_spoonbill varchar, hadeda_ibis varchar, PRIMARY KEY (african_spoonbill))
select african_spoonbill from table_20042805_2 where hadeda_ibis = "flernecked nightjar"
which was k. annamalai´s party a?
create table table_22757733_4 (party varchar, runner_up_a varchar, PRIMARY KEY (party))
select party as a from table_22757733_4 where runner_up_a = "k. annamalai"
What's the highest scoring team in the round in Ring Knutstorp in which Polestar Racing is the winning team?
create table table_20079931_4 (highest_scoring_team varchar, circuit_location varchar, winning_team varchar, PRIMARY KEY (highest_scoring_team))
select highest_scoring_team from table_20079931_4 where circuit_location = "ring knutstorp" and winning_team = "polestar racing"
what's the wine style with grand cru being romanée-conti
create table table_13981938_1 (wine_style varchar, grand_cru varchar, PRIMARY KEY (wine_style))
select wine_style from table_13981938_1 where grand_cru = "romanée-conti"
What is the total urban population of the city with the pinyin translation chángchūn?
create table table_16489766_2 (urban_population__2010_ varchar, pinyin varchar, PRIMARY KEY (urban_population__2010_))
select count(urban_population__2010_) from table_16489766_2 where pinyin = "chángchūn"
Who owns the station on channel 33.3?
create table table_1404984_1 (station_ownership varchar, virtual_channel varchar, PRIMARY KEY (station_ownership))
select station_ownership from table_1404984_1 where virtual_channel = "33.3"
Name the total number of outgoing manager for villarreal b
create table table_27666856_3 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))
select count(outgoing_manager) from table_27666856_3 where team = "villarreal b"
What are the scores for games where the home team is Adelaide?
create table table_16387953_1 (home_team varchar, PRIMARY KEY (home_team))
select home_team as score from table_16387953_1 where home_team = "adelaide"
When the team classification was quick step, what was the total number of general classifications?
create table table_15294880_2 (general_classification varchar, team_classification varchar, PRIMARY KEY (general_classification))
select count(general_classification) from table_15294880_2 where team_classification = "quick step"
What driver achieved a 3:50:12 race time?
create table table_2267465_1 (driver varchar, race_time varchar, PRIMARY KEY (driver))
select driver from table_2267465_1 where race_time = "3:50:12"
Which owners originate in Mexico City?
create table table_2899987_2 (owner varchar, origin varchar, PRIMARY KEY (owner))
select owner from table_2899987_2 where origin = "mexico city"
How many premier episodes were there with the title survivor's law ii?
create table table_11926114_1 (premiere varchar, english_title varchar, PRIMARY KEY (premiere))
select count(premiere) from table_11926114_1 where english_title = "survivor's law ii"
The theme year they were born belongs to what artist?
create table table_15383430_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))
select original_artist from table_15383430_1 where theme = "year they were born"
What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit.
create table table_191323_2 (alt_name varchar, notes varchar, PRIMARY KEY (alt_name))
select alt_name from table_191323_2 where notes = "mission failed. guidance system failed. no orbit."
Show all headquarters without a company in banking industry.
create table company (headquarters varchar, main_industry varchar, PRIMARY KEY (headquarters))
select headquarters from company except select headquarters from company where main_industry = 'banking'
What's the original title of the film Zozo?
create table table_20061872_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))
select original_title from table_20061872_1 where film_title_used_in_nomination = "zozo"
How many titles are listed with 8.44 million viewers?
create table table_24910733_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))
select count(title) from table_24910733_1 where us_viewers__millions_ = "8.44"
Name the replacced by with ascoli
create table table_17275810_7 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))
select replaced_by from table_17275810_7 where team = "ascoli"
What was the outcome of the game when the partner is Rafael Osuna?
create table table_2215159_2 (outcome varchar, partner varchar, PRIMARY KEY (outcome))
select outcome from table_2215159_2 where partner = "rafael osuna"
what is the location for the date (to) 8 october 1922?
create table table_12562214_1 (location varchar, date__to_ varchar, PRIMARY KEY (location))
select location from table_12562214_1 where date__to_ = "8 october 1922"
what's the party with incumbent being john sparkman
create table table_1342292_2 (party varchar, incumbent varchar, PRIMARY KEY (party))
select party from table_1342292_2 where incumbent = "john sparkman"
How many times did Saxby Chambliss have a lead margin of 21?
create table table_16751596_16 (republican varchar, lead_margin varchar, PRIMARY KEY (republican))
select count(republican) as :_saxby_chambliss from table_16751596_16 where lead_margin = 21
Which school is located in the hometown of Centerville, Ohio?
create table table_11677691_9 (school varchar, hometown varchar, PRIMARY KEY (school))
select school from table_11677691_9 where hometown = "centerville, ohio"
which course has most number of registered students?
create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_course_registrations (course_id varchar, PRIMARY KEY (course_id))
select t1.course_name from courses as t1 join student_course_registrations as t2 on t1.course_id = t2.course_id group by t1.course_id order by count(*) desc limit 1
Find the states where have some college students in tryout.
create table college (cname varchar, PRIMARY KEY (cname)); create table tryout (cname varchar, PRIMARY KEY (cname))
select distinct state from college as t1 join tryout as t2 on t1.cname = t2.cname
what's the cover date where character(s) is sandman (wesley dodds)
create table table_1217448_1 (cover_date varchar, character_s_ varchar, PRIMARY KEY (cover_date))
select cover_date from table_1217448_1 where character_s_ = "sandman (wesley dodds)"
What is the name origin of Morrigan Linea?
create table table_16799784_9 (name varchar, PRIMARY KEY (name))
select name as origin from table_16799784_9 where name = "morrigan linea"
List the camera lens names containing substring "Digital".
create table camera_lens (name varchar, PRIMARY KEY (name))
select name from camera_lens where name like "%digital%"
what is the display size for the calculator ti-82?
create table table_11703336_1 (display_size varchar, calculator varchar, PRIMARY KEY (display_size))
select display_size from table_11703336_1 where calculator = "ti-82"
What is every reference for the example of AF117?
create table table_30011_2 (reference varchar, example varchar, PRIMARY KEY (reference))
select reference from table_30011_2 where example = "af117"
If the working force of HK is 32.8%, what are the Pakistanis' %?
create table table_27257896_2 (pakistanis varchar, working_force_of_hk varchar, PRIMARY KEY (pakistanis))
select pakistanis from table_27257896_2 where working_force_of_hk = "32.8%"
When nel rapiz is the name what is the status?
create table table_19061741_1 (status varchar, name varchar, PRIMARY KEY (status))
select status from table_19061741_1 where name = "nel rapiz"
What is the version when the codename is ada?
create table table_27329061_2 (version varchar, codename varchar, PRIMARY KEY (version))
select version from table_27329061_2 where codename = "ada"
The date first lit is 1853 total number of current status.
create table table_25597136_1 (current_status varchar, date_first_lit varchar, PRIMARY KEY (current_status))
select count(current_status) from table_25597136_1 where date_first_lit = "1853"
Name the number of v core for model number mobile athlon 64 3000+
create table table_27277284_8 (v_core varchar, model_number varchar, PRIMARY KEY (v_core))
select count(v_core) from table_27277284_8 where model_number = "mobile athlon 64 3000+"
How many people live in the area of Sorell according to the Census of 2011?
create table table_140297_1 (population_2011_census varchar, local_government_area varchar, PRIMARY KEY (population_2011_census))
select population_2011_census from table_140297_1 where local_government_area = "sorell"
Who was the bodybuilder when Coventry was operating?
create table table_28035004_1 (bodybuilder varchar, operator varchar, PRIMARY KEY (bodybuilder))
select bodybuilder from table_28035004_1 where operator = "coventry"
Which allergy has most number of students affected?
create table has_allergy (allergy varchar, PRIMARY KEY (allergy))
select allergy from has_allergy group by allergy order by count(*) desc limit 1
Name the pinyin for mazar
create table table_2008069_2 (pinyin varchar, conventional varchar, PRIMARY KEY (pinyin))
select pinyin from table_2008069_2 where conventional = "mazar"
Name the race caller for jim mckay and howard cosell and eddie arcaro
create table table_22514845_5 (race_caller varchar, s_analyst varchar, trophy_presentation varchar, reporters varchar, PRIMARY KEY (race_caller))
select race_caller from table_22514845_5 where trophy_presentation = "jim mckay and howard cosell" and reporters = "howard cosell" and s_analyst = "eddie arcaro"
List the first name and birth date of all players from the country with code USA.
create table players (first_name varchar, birth_date varchar, country_code varchar, PRIMARY KEY (first_name))
select first_name, birth_date from players where country_code = 'usa'
What is the coinage metal for a location of Fribourg and denomination of 00005 5 Francs?
create table table_26336060_19 (coinage_metal varchar, location varchar, denomination varchar, PRIMARY KEY (coinage_metal))
select coinage_metal from table_26336060_19 where location = "fribourg" and denomination = "00005 5 francs"
What is the undisclosed when Wycombe Wanderers is unattached?
create table table_23835213_2 (undisclosed varchar, wycombe_wanderers varchar, PRIMARY KEY (undisclosed))
select undisclosed from table_23835213_2 where wycombe_wanderers = "unattached"
On what position number is the club with a w-l-d of 5-7-4?
create table table_13713206_1 (club__city_town_ varchar, w_l_d varchar, PRIMARY KEY (club__city_town_))
select count(club__city_town_) from table_13713206_1 where w_l_d = "5-7-4"