question
stringlengths
14
216
context
stringlengths
45
458
answer
stringlengths
18
463
What is the bandwidth for downstream of 20 mbit/s for 69 tl?
create table table_17304621_14 (bandwidth varchar, downstream varchar, price_tl varchar, PRIMARY KEY (bandwidth))
select bandwidth from table_17304621_14 where downstream = "20 mbit/s" and price_tl = "69 tl"
Show the number of transactions for different investors.
create table transactions (investor_id varchar, PRIMARY KEY (investor_id))
select investor_id, count(*) from transactions group by investor_id
Who had the high assist total when the team was 0-1?
create table table_27902171_4 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))
select high_assists from table_27902171_4 where record = "0-1"
Which hometown has the college Louisiana State?
create table table_11677691_9 (hometown varchar, college varchar, PRIMARY KEY (hometown))
select hometown from table_11677691_9 where college = "louisiana state"
How many followers does each user have?
create table follows (id varchar, PRIMARY KEY (id))
select count(*) from follows
What is the name of the artist who joined latest?
create table artist (name varchar, year_join varchar, PRIMARY KEY (name))
select name from artist order by year_join desc limit 1
Show the names of authors from college "Florida" or "Temple"
create table submission (author varchar, college varchar, PRIMARY KEY (author))
select author from submission where college = "florida" or college = "temple"
Find the name of dorms that do not have amenity TV Lounge.
create table dorm (dorm_name varchar, dormid varchar, PRIMARY KEY (dorm_name)); create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm (dorm_name varchar, PRIMARY KEY (dorm_name)); create table dorm_amenity (amenid varchar, amenity_name varchar, PRIMARY KEY (amenid))
select dorm_name from dorm except select t1.dorm_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t3.amenity_name = 'tv lounge'
Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
create table table_1825751_4 (second_runner_up varchar, binibining_pilipinas_world varchar, PRIMARY KEY (second_runner_up))
select second_runner_up from table_1825751_4 where binibining_pilipinas_world = "janina san miguel"
How many body builders are there?
create table body_builder (id varchar, PRIMARY KEY (id))
select count(*) from body_builder
What is the 4wi when the economy is 7.82?
create table table_27268238_5 (economy varchar, PRIMARY KEY (economy))
select 4 as wi from table_27268238_5 where economy = "7.82"
What is maximum, minimum and average amount of outstanding of customer?
create table customers (amount_outstanding integer, PRIMARY KEY (amount_outstanding))
select max(amount_outstanding), min(amount_outstanding), avg(amount_outstanding) from customers
What other cadidate ran against Dave Treen?
create table table_1341663_19 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
select candidates from table_1341663_19 where incumbent = "dave treen"
At which restaurant did the students spend the least amount of time? List restaurant and the time students spent on in total.
create table visits_restaurant (id varchar, PRIMARY KEY (id)); create table restaurant (id varchar, PRIMARY KEY (id))
select restaurant.resname, sum(visits_restaurant.spent) from visits_restaurant join restaurant on visits_restaurant.resid = restaurant.resid group by restaurant.resid order by sum(visits_restaurant.spent) limit 1
what's the grand prix with winning driver being jenson button
create table table_12161822_5 (grand_prix varchar, winning_driver varchar, PRIMARY KEY (grand_prix))
select grand_prix from table_12161822_5 where winning_driver = "jenson button"
How many faculty members have 20 years of experience?
create table table_17384764_1 (designation varchar, experience varchar, PRIMARY KEY (designation))
select count(designation) from table_17384764_1 where experience = "20 years"
What is the mail date of the document with id 7?
create table documents_mailed (mailing_date varchar, document_id varchar, PRIMARY KEY (mailing_date))
select mailing_date from documents_mailed where document_id = 7
Name the least projected opening
create table table_22771048_3 (projected_opening integer, PRIMARY KEY (projected_opening))
select min(projected_opening) from table_22771048_3
How many time is the theme rotary international : 100 years in canada?
create table table_25468520_1 (printing_process varchar, theme varchar, PRIMARY KEY (printing_process))
select count(printing_process) from table_25468520_1 where theme = "rotary international : 100 years in canada"
Which population areas have "replaced by us 83" listed in their remarks section?
create table table_11336756_6 (population_area varchar, remarks varchar, PRIMARY KEY (population_area))
select population_area from table_11336756_6 where remarks = "replaced by us 83"
Who is the arranger when the vocal percussionist is Alexei Kalveks and Dave Brennan?
create table table_28715942_5 (arranger_s_ varchar, vocal_percussionist varchar, PRIMARY KEY (arranger_s_))
select arranger_s_ from table_28715942_5 where vocal_percussionist = "alexei kalveks and dave brennan"
Who the GM winning team when the EP winning team was #37 Porsche?
create table table_29225103_2 (gm_winning_team varchar, ep_winning_team varchar, PRIMARY KEY (gm_winning_team))
select gm_winning_team from table_29225103_2 where ep_winning_team = "#37 porsche"
Who is the writer when the director is bob berlinger?
create table table_29747178_2 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))
select written_by from table_29747178_2 where directed_by = "bob berlinger"
What is the id for the employee called Ebba?
create table employees (employee_id varchar, employee_name varchar, PRIMARY KEY (employee_id))
select employee_id from employees where employee_name = "ebba"
What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?
create table table_23465864_5 (tues_25_aug varchar, fri_28_aug varchar, PRIMARY KEY (tues_25_aug))
select tues_25_aug from table_23465864_5 where fri_28_aug = "23' 54.54 94.684mph"
In what circuit was Bruno Spengler the winning driver?
create table table_25213146_2 (circuit varchar, winning_driver varchar, PRIMARY KEY (circuit))
select circuit from table_25213146_2 where winning_driver = "bruno spengler"
What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package?
create table table_15887683_5 (n° varchar, television_service varchar, package_option varchar, content varchar, PRIMARY KEY (n°))
select n° from table_15887683_5 where package_option = "sky cinema" and content = "cinema" and television_service = "sky cinema" + 24
Name the power for dymd-fm
create table table_27914076_1 (power_kw varchar, callsign varchar, PRIMARY KEY (power_kw))
select power_kw from table_27914076_1 where callsign = "dymd-fm"
Name the audition city for hyatt regency chicago
create table table_22897967_1 (audition_city varchar, callback_venue varchar, PRIMARY KEY (audition_city))
select audition_city from table_22897967_1 where callback_venue = "hyatt regency chicago"
What is every state and District of Columbia with 60.0% overweight or obese adults?
create table table_18958648_1 (state_and_district_of_columbia varchar, overweight__incl_obese__adults varchar, PRIMARY KEY (state_and_district_of_columbia))
select state_and_district_of_columbia from table_18958648_1 where overweight__incl_obese__adults = "60.0%"
What was the status of tropartic?
create table table_12001616_4 (status varchar, car_name varchar, PRIMARY KEY (status))
select status from table_12001616_4 where car_name = "tropartic"
What are all the name(namesakes) for the entire chart?
create table table_29860752_11 (name__namesake_ varchar, PRIMARY KEY (name__namesake_))
select name__namesake_ from table_29860752_11
Which network has Marty Reid as host and lap-by-lap broadcaster?
create table table_10716893_3 (network varchar, lap_by_lap varchar, host varchar, PRIMARY KEY (network))
select network from table_10716893_3 where lap_by_lap = "marty reid" and host = "marty reid"
What years did the player who's school is Clemson spend in Orlando?
create table table_15621965_16 (years_in_orlando varchar, school_club_team varchar, PRIMARY KEY (years_in_orlando))
select years_in_orlando from table_15621965_16 where school_club_team = "clemson"
What are the different location codes for documents?
create table document_locations (location_code varchar, PRIMARY KEY (location_code))
select distinct location_code from document_locations
What percentage of votes does the shareholder with 78.19% of capital have?
create table table_206359_1 (_percentage_of_votes varchar, _percentage_of_capital varchar, PRIMARY KEY (_percentage_of_votes))
select _percentage_of_votes from table_206359_1 where _percentage_of_capital = "78.19"
Name the performance order of the velasco brothers
create table table_26267849_11 (performance_order varchar, artist varchar, PRIMARY KEY (performance_order))
select performance_order from table_26267849_11 where artist = "velasco brothers"
League apps (sub) maximum?
create table table_1112176_1 (league_apps__sub_ integer, PRIMARY KEY (league_apps__sub_))
select max(league_apps__sub_) from table_1112176_1
What is the value for Monday August 24 if Friday August 28 is 26' 04.60 86.814mph?
create table table_23465864_5 (mon_24_aug varchar, fri_28_aug varchar, PRIMARY KEY (mon_24_aug))
select mon_24_aug from table_23465864_5 where fri_28_aug = "26' 04.60 86.814mph"
Name the candidates for l. mendel rivers
create table table_1341930_40 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
select count(candidates) from table_1341930_40 where incumbent = "l. mendel rivers"
What was the manner of leaving the team for the manager of Gostaresh Foolad?
create table table_22297140_3 (manner_of_departure varchar, team varchar, PRIMARY KEY (manner_of_departure))
select manner_of_departure from table_22297140_3 where team = "gostaresh foolad"
Name the institution for purple aces
create table table_24216139_2 (institution varchar, nickname varchar, PRIMARY KEY (institution))
select institution from table_24216139_2 where nickname = "purple aces"
Which country did Johanna Klum presented the show?
create table table_24598274_20 (country varchar, presenter_s_ varchar, PRIMARY KEY (country))
select country from table_24598274_20 where presenter_s_ = "johanna klum"
Which titles have 18.73 u.s. viewers.
create table table_1130632_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))
select title from table_1130632_1 where us_viewers__million_ = "18.73"
What was the least amount of camp mates?
create table table_14345690_1 (camp_mates integer, PRIMARY KEY (camp_mates))
select min(camp_mates) from table_14345690_1
What was the actors name that vadim ilyenko directed?
create table table_10236830_1 (actors_name varchar, director varchar, PRIMARY KEY (actors_name))
select actors_name from table_10236830_1 where director = "vadim ilyenko"
List the project details of the projects with the research outcome described with the substring 'Published'.
create table research_outcomes (outcome_code varchar, outcome_description varchar, PRIMARY KEY (outcome_code)); create table project_outcomes (project_id varchar, outcome_code varchar, PRIMARY KEY (project_id)); create table projects (project_details varchar, project_id varchar, PRIMARY KEY (project_details))
select t1.project_details from projects as t1 join project_outcomes as t2 on t1.project_id = t2.project_id join research_outcomes as t3 on t2.outcome_code = t3.outcome_code where t3.outcome_description like '%published%'
How many eviction results occurred with a eviction no. 12 and a vote to save of 2.76%?
create table table_15162479_8 (eviction_result varchar, eviction_no varchar, vote_to_save varchar, PRIMARY KEY (eviction_result))
select count(eviction_result) from table_15162479_8 where eviction_no = 12 and vote_to_save = "2.76%"
Find all airlines that have at least 10 flights.
create table flights (airline varchar, PRIMARY KEY (airline)); create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline))
select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) > 10
What is the resulting score for the episodes where Rufus's guest is Sean Lock?
create table table_19930660_3 (winner varchar, rufus_guest varchar, PRIMARY KEY (winner))
select winner from table_19930660_3 where rufus_guest = "sean lock"
When 9 games (28,002 avg.) is the results of the games what is the date/year?
create table table_21436373_7 (date_year varchar, result_games varchar, PRIMARY KEY (date_year))
select date_year from table_21436373_7 where result_games = "9 games (28,002 avg.)"
What actor played the "female, older" role in the original production?
create table table_17827271_1 (actor_in_original_production varchar, actor_required varchar, PRIMARY KEY (actor_in_original_production))
select actor_in_original_production from table_17827271_1 where actor_required = "female, older"
What date was an episode with a run time of 24:30 broadcasted?
create table table_1579922_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date))
select broadcast_date from table_1579922_1 where run_time = "24:30"
What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?
create table table_25042332_22 (preschool__0_5_years_ varchar, tertiary__18_24_years_ varchar, PRIMARY KEY (preschool__0_5_years_))
select preschool__0_5_years_ from table_25042332_22 where tertiary__18_24_years_ = "29.55"
What are all the fault descriptions and the fault status of all the faults recoreded in the logs?
create table fault_log (fault_description varchar, fault_log_entry_id varchar, PRIMARY KEY (fault_description)); create table fault_log_parts (fault_status varchar, fault_log_entry_id varchar, PRIMARY KEY (fault_status))
select t1.fault_description, t2.fault_status from fault_log as t1 join fault_log_parts as t2 on t1.fault_log_entry_id = t2.fault_log_entry_id
What is the date the episode directed by rob bailey aired?
create table table_26914076_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))
select original_air_date from table_26914076_3 where directed_by = "rob bailey"
Name the team number 1 for san lorenzo
create table table_23812628_1 (team__number1 varchar, team__number2 varchar, PRIMARY KEY (team__number1))
select team__number1 from table_23812628_1 where team__number2 = "san lorenzo"
Show all student IDs who have at least two allergies.
create table has_allergy (stuid varchar, PRIMARY KEY (stuid))
select stuid from has_allergy group by stuid having count(*) >= 2
How many data were given on 2010/2011 in Brazil?
create table table_27712_2 (country varchar, PRIMARY KEY (country))
select count(2010 as _11) from table_27712_2 where country = "brazil"
What was the average speed for a racetime of 3:08:08?
create table table_2196127_1 (average_speed__mph_ varchar, race_time varchar, PRIMARY KEY (average_speed__mph_))
select average_speed__mph_ from table_2196127_1 where race_time = "3:08:08"
what's the tuesday time with location being millhopper
create table table_11019212_1 (tuesday varchar, location varchar, PRIMARY KEY (tuesday))
select tuesday from table_11019212_1 where location = "millhopper"
What is the result/margin when fox sports 1 broadcast the game played at mcg?
create table table_24919137_2 (result_margin varchar, broadcaster varchar, venue varchar, PRIMARY KEY (result_margin))
select result_margin from table_24919137_2 where broadcaster = "fox sports 1" and venue = "mcg"
Name the simplified charaacters being hsin-yüan … i-ma
create table table_16162581_1 (simplified_characters varchar, wade_giles varchar, PRIMARY KEY (simplified_characters))
select simplified_characters from table_16162581_1 where wade_giles = "hsin-yüan … i-ma"
How many templates do we have?
create table templates (id varchar, PRIMARY KEY (id))
select count(*) from templates
Which ralliers won the stages that were at 18:54 GMT?
create table table_21326205_2 (winner varchar, time__gmt_ varchar, PRIMARY KEY (winner))
select winner from table_21326205_2 where time__gmt_ = "18:54"
Where does the customer with the first name Linda live? And what is her email?
create table customer (email varchar, address_id varchar, first_name varchar, PRIMARY KEY (email)); create table address (address varchar, address_id varchar, PRIMARY KEY (address))
select t2.address, t1.email from customer as t1 join address as t2 on t2.address_id = t1.address_id where t1.first_name = 'linda'
What was the constructor in the Belgian Grand Prix round?
create table table_2911781_3 (constructor varchar, grand_prix varchar, PRIMARY KEY (constructor))
select constructor from table_2911781_3 where grand_prix = "belgian grand_prix"
Name the round 16 for did not advance and light flyweight
create table table_17417383_6 (round_of_16 varchar, quarterfinals varchar, event varchar, PRIMARY KEY (round_of_16))
select round_of_16 from table_17417383_6 where quarterfinals = "did not advance" and event = "light flyweight"
Name the results for #23 lotus
create table table_27561503_2 (results varchar, sports_20_winning_team varchar, PRIMARY KEY (results))
select count(results) from table_27561503_2 where sports_20_winning_team = "#23 lotus"
When was the game developed by Microvision released?
create table table_12744399_1 (initial_release_date varchar, developer varchar, PRIMARY KEY (initial_release_date))
select initial_release_date from table_12744399_1 where developer = "microvision"
if the geez is libb, what is the akkadian?
create table table_26919_7 (akkadian varchar, geez varchar, PRIMARY KEY (akkadian))
select akkadian from table_26919_7 where geez = "libb"
What are the security forces when the civilians are 202?
create table table_21636599_2 (security_forces varchar, civilians varchar, PRIMARY KEY (security_forces))
select security_forces from table_21636599_2 where civilians = "202"
What is the Italian word for the English word "otter"?
create table table_2077192_2 (italian varchar, english varchar, PRIMARY KEY (italian))
select italian from table_2077192_2 where english = "otter"
Who was the high rebound for the high assists of d. j. augustin (8)?
create table table_17001658_10 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))
select high_rebounds from table_17001658_10 where high_assists = "d. j. augustin (8)"
Who was the outgoing manager of Charleroi?
create table table_27374004_3 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))
select outgoing_manager from table_27374004_3 where team = "charleroi"
Which cmi cross reference id is not related to any parking taxes?
create table parking_fines (cmi_cross_ref_id varchar, PRIMARY KEY (cmi_cross_ref_id)); create table cmi_cross_references (cmi_cross_ref_id varchar, PRIMARY KEY (cmi_cross_ref_id))
select cmi_cross_ref_id from cmi_cross_references except select cmi_cross_ref_id from parking_fines
How many week 2 scores have a week 7 score of 40 + 40 = 80?
create table table_28946565_2 (week_2 varchar, week_7 varchar, PRIMARY KEY (week_2))
select count(week_2) from table_28946565_2 where week_7 = 40 + 40 = 80
What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?
create table table_22577693_1 (host_nation_s_ varchar, winner varchar, PRIMARY KEY (host_nation_s_))
select host_nation_s_ from table_22577693_1 where winner = "hong kong 207/6 (47.1 overs)"
What was the capacity at construction of the stadium in Gold Coast, Queensland?
create table table_28885977_1 (capacity_at_construction varchar, location varchar, PRIMARY KEY (capacity_at_construction))
select capacity_at_construction from table_28885977_1 where location = "gold coast, queensland"
If the the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velocity v dx/dt in units of c?
create table table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c varchar, condition_parameter varchar, PRIMARY KEY (coordinate_velocity_v_dx_dt_in_units_of_c))
select coordinate_velocity_v_dx_dt_in_units_of_c from table_15314901_1 where condition_parameter = "rapidity of 2 hyperbolic radians"
The Ring of Steel possesses what ISBN?
create table table_2950964_5 (isbn varchar, title varchar, PRIMARY KEY (isbn))
select isbn from table_2950964_5 where title = "the ring of steel"
In the film Mrs. Miniver, what is the actresses name?
create table table_18638067_1 (actor_actress varchar, film_title_used_in_nomination varchar, PRIMARY KEY (actor_actress))
select actor_actress from table_18638067_1 where film_title_used_in_nomination = "mrs. miniver"
How many residents does each property have? List property id and resident count.
create table properties (property_id varchar, PRIMARY KEY (property_id)); create table residents (property_id varchar, PRIMARY KEY (property_id))
select t1.property_id, count(*) from properties as t1 join residents as t2 on t1.property_id = t2.property_id group by t1.property_id
When 15 is the number overall what is the original air date?
create table table_18335117_3 (original_air_date varchar, no_overall varchar, PRIMARY KEY (original_air_date))
select original_air_date from table_18335117_3 where no_overall = 15
What is the smallest 1st runner up value?
create table table_30007801_1 (id varchar, PRIMARY KEY (id))
select min(1 as st_runner_up) from table_30007801_1
Who is the director of the film Gie?
create table table_13719788_1 (director varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director))
select director from table_13719788_1 where film_title_used_in_nomination = "gie"
What is the result of proteus mirabilis tested with indole?
create table table_16083989_1 (indole varchar, species varchar, PRIMARY KEY (indole))
select indole from table_16083989_1 where species = "proteus mirabilis"
Who was the writer of the episode that originally aired on October 14, 1968?
create table table_25800134_13 (writer_s_ varchar, airdate varchar, PRIMARY KEY (writer_s_))
select writer_s_ from table_25800134_13 where airdate = "october 14, 1968"
What's the sales breakdown for Nintendo's Mario Kart DS?
create table table_21458142_1 (sales_breakdown varchar, publisher varchar, title varchar, PRIMARY KEY (sales_breakdown))
select sales_breakdown from table_21458142_1 where publisher = "nintendo" and title = "mario kart ds"
What is the date of vacancy for 10 december 2007 when quit?
create table table_11713303_2 (date_of_vacancy varchar, date_of_appointment varchar, manner_of_departure varchar, PRIMARY KEY (date_of_vacancy))
select date_of_vacancy from table_11713303_2 where date_of_appointment = "10 december 2007" and manner_of_departure = "quit"
For each advisor, report the total number of students advised by him or her.
create table student (advisor varchar, PRIMARY KEY (advisor))
select advisor, count(*) from student group by advisor
what is the malayalam name മലയാളം of tamil name தமிழ் punarpoosam புனர்பூசம்
create table table_201400_2 (malayalam_name_മലയാളം varchar, tamil_name_தமிழ் varchar, PRIMARY KEY (malayalam_name_മലയാളം))
select malayalam_name_മലയാളം from table_201400_2 where tamil_name_தமிழ் = "punarpoosam புனர்பூசம்"
Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer?
create table table_14330096_4 (title varchar, director varchar, writer varchar, PRIMARY KEY (title))
select title from table_14330096_4 where director = "patrick lau" and writer = "lisa holdsworth"
The episode titled "Epiphany" received what scripted show ranking?
create table table_22170495_7 (scripted_show_ranking integer, title varchar, PRIMARY KEY (scripted_show_ranking))
select min(scripted_show_ranking) from table_22170495_7 where title = "epiphany"
Name the stops for stations 36
create table table_2385460_1 (stops varchar, stations varchar, PRIMARY KEY (stops))
select stops from table_2385460_1 where stations = 36
who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?
create table table_1341672_10 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
select incumbent from table_1341672_10 where candidates = "william v. chappell, jr. (d) unopposed"
Name the 2013 profit for assets being 11.2
create table table_24307126_3 (assets_2013__bil$_ varchar, PRIMARY KEY (assets_2013__bil$_))
select 2013 as _profit__mil_usd__ from table_24307126_3 where assets_2013__bil$_ = "11.2"
How many invoices do we have?
create table invoices (id varchar, PRIMARY KEY (id))
select count(*) from invoices
How many reports are there in the race that Forsythe Racing won and Teo Fabi had the pole position in?
create table table_10706961_2 (report varchar, winning_team varchar, pole_position varchar, PRIMARY KEY (report))
select count(report) from table_10706961_2 where winning_team = "forsythe racing" and pole_position = "teo fabi"
How long is the rollar coaster on Kemah Boardwalk
create table table_2665085_1 (length__ft_ varchar, park varchar, PRIMARY KEY (length__ft_))
select length__ft_ from table_2665085_1 where park = "kemah boardwalk"