question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
what's the computing mechanbeingm with first operational being february 1944 | create table table_13636_1 (computing_mechanism varchar, first_operational varchar, PRIMARY KEY (computing_mechanism)) | select computing_mechanism from table_13636_1 where first_operational = "february 1944" |
What is the womens singles of marcus ellis gabrielle white? | create table table_12104319_1 (womens_singles varchar, mixed_doubles varchar, PRIMARY KEY (womens_singles)) | select womens_singles from table_12104319_1 where mixed_doubles = "marcus ellis gabrielle white" |
List the name of albums that are released by aritist whose name has 'Led' | create table artists (id varchar, name varchar, PRIMARY KEY (id)); create table albums (title varchar, artist_id varchar, PRIMARY KEY (title)) | select t2.title from artists as t1 join albums as t2 on t1.id = t2.artist_id where t1.name like '%led%' |
How many movie directors are there? | create table movie (director varchar, PRIMARY KEY (director)) | select count(distinct director) from movie |
How many classes are taken in the third year when pag-unawa was taken in the first year? | create table table_12148147_2 (third_year varchar, first_year varchar, PRIMARY KEY (third_year)) | select count(third_year) from table_12148147_2 where first_year = "pag-unawa" |
what is а а [a] when ҕь ҕь [ʁʲ/ɣʲ] is ш ш [ʂʃ]? | create table table_202365_2 (а_а_ varchar, a varchar, ҕь_ҕь_ varchar, ʁʲ_ɣʲ varchar, PRIMARY KEY (а_а_)) | select а_а_[a] from table_202365_2 where ҕь_ҕь_[ʁʲ_ɣʲ] = "ш ш [ʂʃ]" |
What was the preliminary average for Miss Maryland? | create table table_16323766_3 (preliminary_average varchar, state varchar, PRIMARY KEY (preliminary_average)) | select preliminary_average from table_16323766_3 where state = "maryland" |
Please show the most common publication date. | create table publication (publication_date varchar, PRIMARY KEY (publication_date)) | select publication_date from publication group by publication_date order by count(*) desc limit 1 |
Show the ids of all employees who have destroyed a document. | create table documents_to_be_destroyed (destroyed_by_employee_id varchar, PRIMARY KEY (destroyed_by_employee_id)) | select distinct destroyed_by_employee_id from documents_to_be_destroyed |
What is the cyrillic name other names for the settlement of debeljača? | create table table_2562572_43 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names)) | select cyrillic_name_other_names from table_2562572_43 where settlement = "debeljača" |
what's the date of completion where deadline for completion is september 30, 2007 | create table table_12078626_1 (date_of_completion varchar, deadline_for_completion varchar, PRIMARY KEY (date_of_completion)) | select date_of_completion from table_12078626_1 where deadline_for_completion = "september 30, 2007" |
What hand guard system is used with a gas piston commando? | create table table_12834315_5 (hand_guards varchar, name varchar, PRIMARY KEY (hand_guards)) | select hand_guards from table_12834315_5 where name = "gas piston commando" |
How many times was something listed under content when the television was R-light? | create table table_15887683_19 (content varchar, television_service varchar, PRIMARY KEY (content)) | select count(content) from table_15887683_19 where television_service = "r-light" |
What is the date of appointment when the outgoing manager was mustafa denizli? | create table table_26998135_2 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment)) | select date_of_appointment from table_26998135_2 where outgoing_manager = "mustafa denizli" |
When 68-292-68-292 is the ignition timing how many graphicals is it? | create table table_22915134_2 (graphical varchar, ignition_timing varchar, PRIMARY KEY (graphical)) | select count(graphical) from table_22915134_2 where ignition_timing = "68-292-68-292" |
Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930? | create table table_104858_1 (country varchar, year_current_scouting_organization_joined_wosm varchar, year_member_organization_was_founded varchar, PRIMARY KEY (country)) | select country from table_104858_1 where year_current_scouting_organization_joined_wosm = "1930" and year_member_organization_was_founded = "1926" |
Which movies have 'Deleted Scenes' as a substring in the special feature? | create table film (title varchar, special_features varchar, PRIMARY KEY (title)) | select title from film where special_features like '%deleted scenes%' |
What is the lowest dye absoprtion in nm? | create table table_26428602_1 (absorb__nm_ integer, PRIMARY KEY (absorb__nm_)) | select min(absorb__nm_) from table_26428602_1 |
What was the reason for change in staff in formal installations on March 15, 1865? | create table table_2147588_3 (reason_for_change varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (reason_for_change)) | select reason_for_change from table_2147588_3 where date_of_successors_formal_installation = "march 15, 1865" |
What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer? | create table table_24066938_1 (population__percentage_of_eu varchar, pop_density_people_km_2 varchar, PRIMARY KEY (population__percentage_of_eu)) | select population__percentage_of_eu from table_24066938_1 where pop_density_people_km_2 = "110.8" |
How did Hamza Kramou fare in the semifinals? | create table table_17427004_7 (semifinals varchar, athlete varchar, PRIMARY KEY (semifinals)) | select semifinals from table_17427004_7 where athlete = "hamza kramou" |
How many radio stations were built in Asia? | create table table_27184837_1 (asia varchar, programs varchar, PRIMARY KEY (asia)) | select asia from table_27184837_1 where programs = "radio stations" |
what is the television order of the episode directed by ben jones, written by j. m. dematteis and originally aired on february6,2009 | create table table_20360535_2 (television_order varchar, original_air_date varchar, directed_by varchar, written_by varchar, PRIMARY KEY (television_order)) | select television_order from table_20360535_2 where directed_by = "ben jones" and written_by = "j. m. dematteis" and original_air_date = "february6,2009" |
Name the max for prohibition. | create table table_120778_1 (for_prohibition integer, PRIMARY KEY (for_prohibition)) | select max(for_prohibition) from table_120778_1 |
What was McCain's percentage when Obama had 64.39% of the vote? | create table table_20722805_1 (mccain_percentage varchar, obama_percentage varchar, PRIMARY KEY (mccain_percentage)) | select mccain_percentage from table_20722805_1 where obama_percentage = "64.39%" |
Name who drected the episode written by george tibbles | create table table_2342078_6 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by)) | select directed_by from table_2342078_6 where written_by = "george tibbles" |
How many Latin Americans were there in the Northwest Territories in 2011? | create table table_1939405_2 (latin_americans_2011 integer, province varchar, PRIMARY KEY (latin_americans_2011)) | select min(latin_americans_2011) from table_1939405_2 where province = "northwest territories" |
What is the maximum number of 2nd places for Tajikistan? | create table table_2876467_3 (second_place integer, region_represented varchar, PRIMARY KEY (second_place)) | select max(second_place) from table_2876467_3 where region_represented = "tajikistan" |
Name the name of award for marathi | create table table_24446718_3 (name_of_award varchar, language varchar, PRIMARY KEY (name_of_award)) | select name_of_award from table_24446718_3 where language = "marathi" |
How many distinct birth places are there? | create table people (birth_place varchar, PRIMARY KEY (birth_place)) | select count(distinct birth_place) from people |
How many colors are there? | create table ref_colors (id varchar, PRIMARY KEY (id)) | select count(*) from ref_colors |
How many camera lenses are not used in taking any photos? | create table photos (id varchar, camera_lens_id varchar, PRIMARY KEY (id)); create table camera_lens (id varchar, camera_lens_id varchar, PRIMARY KEY (id)) | select count(*) from camera_lens where not id in (select camera_lens_id from photos) |
Find the name of the user who tweeted more than once, and number of tweets tweeted by them. | create table tweets (uid varchar, PRIMARY KEY (uid)); create table user_profiles (name varchar, uid varchar, PRIMARY KEY (name)) | select t1.name, count(*) from user_profiles as t1 join tweets as t2 on t1.uid = t2.uid group by t2.uid having count(*) > 1 |
How many distinct currency codes are there for all drama workshop groups? | create table drama_workshop_groups (currency_code varchar, PRIMARY KEY (currency_code)) | select count(distinct currency_code) from drama_workshop_groups |
what's the election date where electorate is christchurch country | create table table_1193568_1 (election_date varchar, electorate varchar, PRIMARY KEY (election_date)) | select election_date from table_1193568_1 where electorate = "christchurch country" |
What is every Finnish name for the English name of Province of Viborg and Nyslott? | create table table_198175_2 (finnish_name varchar, english_name varchar, PRIMARY KEY (finnish_name)) | select finnish_name from table_198175_2 where english_name = "province of viborg and nyslott" |
What is the name of the plaza where the toll for heavy vehicles with 2 axles is r87.00? | create table table_1211545_2 (name varchar, heavy_vehicle__2_axles_ varchar, PRIMARY KEY (name)) | select name from table_1211545_2 where heavy_vehicle__2_axles_ = "r87.00" |
Name the total number of lg for cg is larger than 1.0 for c apps is 3 | create table table_22538587_3 (l_g varchar, c_g varchar, c_apps varchar, PRIMARY KEY (l_g)) | select count(l_g) from table_22538587_3 where c_g > 1.0 and c_apps = 3 |
Show all distinct location names. | create table locations (location_name varchar, PRIMARY KEY (location_name)) | select distinct location_name from locations |
what's the acronym with department being department of finance kagawaran ng pananalapi | create table table_1331313_1 (acronym varchar, department varchar, PRIMARY KEY (acronym)) | select acronym from table_1331313_1 where department = "department of finance kagawaran ng pananalapi" |
What status of school is the school represented by the baby olympians? | create table table_2589963_1 (status varchar, juniors varchar, PRIMARY KEY (status)) | select status from table_2589963_1 where juniors = "baby olympians" |
which party is the newark representative from | create table table_29486189_4 (party varchar, residence varchar, PRIMARY KEY (party)) | select party from table_29486189_4 where residence = "newark" |
What type institution is point park university | create table table_10581768_2 (type varchar, institution varchar, PRIMARY KEY (type)) | select type from table_10581768_2 where institution = "point park university" |
If the games won are 5, what is the best winning average? | create table table_27533947_1 (best_winning_average varchar, games_won varchar, PRIMARY KEY (best_winning_average)) | select best_winning_average from table_27533947_1 where games_won = 5 |
How many capitals had brest litovsk voivodeship as voivodeship after 1569? | create table table_1784514_1 (capital varchar, voivodeship_after_1569 varchar, PRIMARY KEY (capital)) | select count(capital) from table_1784514_1 where voivodeship_after_1569 = "brest litovsk voivodeship" |
What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent? | create table tourist_attractions (name varchar, location_id varchar, how_to_get_there varchar, PRIMARY KEY (name)); create table locations (location_id varchar, address varchar, PRIMARY KEY (location_id)) | select t2.name from locations as t1 join tourist_attractions as t2 on t1.location_id = t2.location_id where t1.address = "660 shea crescent" or t2.how_to_get_there = "walk" |
How many people are shown for mens doubles when guo yue played womens singles? | create table table_28138035_20 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles)) | select count(mens_doubles) from table_28138035_20 where womens_singles = "guo yue" |
Name the agency for santa rosa avenue | create table table_25692955_1 (agency varchar, south_west_terminal varchar, PRIMARY KEY (agency)) | select agency from table_25692955_1 where south_west_terminal = "santa rosa avenue" |
Show different types of ships and the number of ships of each type. | create table ship (type varchar, PRIMARY KEY (type)) | select type, count(*) from ship group by type |
How many episodes did Alison Maclean direct? | create table table_17624965_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by)) | select count(written_by) from table_17624965_1 where directed_by = "alison maclean" |
What is the lowest cr number? | create table table_1886270_1 (cr_no integer, PRIMARY KEY (cr_no)) | select min(cr_no) from table_1886270_1 |
What was the sail number of Two True? | create table table_25561560_3 (sail_number varchar, yacht varchar, PRIMARY KEY (sail_number)) | select sail_number from table_25561560_3 where yacht = "two true" |
What member of the current West End cast plays the character played by Jodie Jacobs in the original West End cast? | create table table_19529639_3 (current_west_end_cast varchar, original_west_end_cast varchar, PRIMARY KEY (current_west_end_cast)) | select current_west_end_cast from table_19529639_3 where original_west_end_cast = "jodie jacobs" |
How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively? | create table table_22083044_2 (event varchar, fastest_lap varchar, pole_position varchar, PRIMARY KEY (event)) | select count(event) from table_22083044_2 where fastest_lap = "tim macrow" and pole_position = "joey foster" |
What are all the programs on the Soy Guerrero network? | create table table_2899987_2 (programming varchar, network varchar, PRIMARY KEY (programming)) | select programming from table_2899987_2 where network = "soy guerrero" |
Who is the opposing team when the game was played on the Shea Stadium? | create table table_17386066_2 (opponent varchar, stadium varchar, PRIMARY KEY (opponent)) | select opponent from table_17386066_2 where stadium = "shea stadium" |
What is the against percentage in the Vest-Agder constituency? | create table table_1289762_1 (against___percentage_ varchar, constituency varchar, PRIMARY KEY (against___percentage_)) | select against___percentage_ from table_1289762_1 where constituency = "vest-agder" |
Who has the home ground Aami stadium? | create table table_14312471_7 (home_team varchar, ground varchar, PRIMARY KEY (home_team)) | select home_team from table_14312471_7 where ground = "aami stadium" |
Which team had an outgoing manager of Behtash Fariba? | create table table_22297140_3 (team varchar, outgoing_manager varchar, PRIMARY KEY (team)) | select team from table_22297140_3 where outgoing_manager = "behtash fariba" |
What is every conformity to original design if registration is HB-DAI? | create table table_22180353_1 (conformity_to_original_design varchar, registration varchar, PRIMARY KEY (conformity_to_original_design)) | select conformity_to_original_design from table_22180353_1 where registration = "hb-dai" |
Which species show a negative result with both voges-proskauer and indole? | create table table_16083989_1 (species varchar, voges_proskauer varchar, indole varchar, PRIMARY KEY (species)) | select species from table_16083989_1 where voges_proskauer = "negative" and indole = "negative" |
Which leagues entered in rounds where there were 16 winners from the previous round? | create table table_23449363_1 (leagues_entering_at_this_round varchar, winners_from_previous_round varchar, PRIMARY KEY (leagues_entering_at_this_round)) | select leagues_entering_at_this_round from table_23449363_1 where winners_from_previous_round = "16" |
What are the authors of submissions and their colleges? | create table submission (author varchar, college varchar, PRIMARY KEY (author)) | select author, college from submission |
What is the English name given to the city of St. John's? | create table table_1008653_1 (capital___exonym__ varchar, capital___endonym__ varchar, PRIMARY KEY (capital___exonym__)) | select capital___exonym__ from table_1008653_1 where capital___endonym__ = "st. john's" |
Show names of technicians and series of machines they are assigned to repair. | create table machine (machine_series varchar, machine_id varchar, PRIMARY KEY (machine_series)); create table repair_assignment (machine_id varchar, technician_id varchar, PRIMARY KEY (machine_id)); create table technician (name varchar, technician_id varchar, PRIMARY KEY (name)) | select t3.name, t2.machine_series from repair_assignment as t1 join machine as t2 on t1.machine_id = t2.machine_id join technician as t3 on t1.technician_id = t3.technician_id |
Name the opponent for record 10-4 | create table table_18894744_5 (opponent varchar, record varchar, PRIMARY KEY (opponent)) | select opponent from table_18894744_5 where record = "10-4" |
What was the report of the Belgian Grand Prix? | create table table_1132600_3 (report varchar, grand_prix varchar, PRIMARY KEY (report)) | select report from table_1132600_3 where grand_prix = "belgian grand_prix" |
Find the first names and offices of all professors sorted by alphabetical order of their first name. | create table professor (prof_office varchar, emp_num varchar, PRIMARY KEY (prof_office)); create table employee (emp_fname varchar, emp_num varchar, PRIMARY KEY (emp_fname)) | select t2.emp_fname, t1.prof_office from professor as t1 join employee as t2 on t1.emp_num = t2.emp_num order by t2.emp_fname |
Name the vocalist for kaze no messēji (pokapoka-version) | create table table_2144389_8 (vocalist varchar, rōmaji varchar, PRIMARY KEY (vocalist)) | select vocalist from table_2144389_8 where rōmaji = "kaze no messēji (pokapoka-version)" |
How big (in km2) is the voivodenship also known by the abbreviation KN? | create table table_11656578_2 (area_km²__1998_ varchar, abbreviation varchar, PRIMARY KEY (area_km²__1998_)) | select area_km²__1998_ from table_11656578_2 where abbreviation = "kn" |
Which administrative division had a population of 2011 according to the siak database of 3,672,994? | create table table_21734764_1 (administrative_division varchar, population_2011_siak_database varchar, PRIMARY KEY (administrative_division)) | select administrative_division from table_21734764_1 where population_2011_siak_database = "3,672,994" |
Show all calendar dates and day Numbers. | create table ref_calendar (calendar_date varchar, day_number varchar, PRIMARY KEY (calendar_date)) | select calendar_date, day_number from ref_calendar |
What is the title when the director is Maynard C. Virgil i ? | create table table_28140588_1 (title varchar, directed_by varchar, PRIMARY KEY (title)) | select title from table_28140588_1 where directed_by = "maynard c. virgil i" |
List the range distroration for the ramsan-630 | create table table_27615520_1 (form_factor varchar, product_name varchar, PRIMARY KEY (form_factor)) | select form_factor from table_27615520_1 where product_name = "ramsan-630" |
Return the first names and last names of all guests | create table guests (guest_first_name varchar, guest_last_name varchar, PRIMARY KEY (guest_first_name)) | select guest_first_name, guest_last_name from guests |
What is the location when the opposition is mid canterbury? | create table table_26847237_3 (location varchar, opposition varchar, PRIMARY KEY (location)) | select location from table_26847237_3 where opposition = "mid canterbury" |
Find the id and local authority of the station with has the highest average high temperature. | create table weekly_weather (station_id varchar, PRIMARY KEY (station_id)); create table station (id varchar, local_authority varchar, PRIMARY KEY (id)) | select t2.id, t2.local_authority from weekly_weather as t1 join station as t2 on t1.station_id = t2.id group by t1.station_id order by avg(high_temperature) desc limit 1 |
What is the description of document type 'Paper'? | create table ref_document_types (document_type_description varchar, document_type_code varchar, PRIMARY KEY (document_type_description)) | select document_type_description from ref_document_types where document_type_code = "paper" |
What values of HDTV correspond to n° of 862? | create table table_15887683_16 (hdtv varchar, n° varchar, PRIMARY KEY (hdtv)) | select hdtv from table_15887683_16 where n° = 862 |
Name the party for jack thomas brinkley | create table table_1341604_11 (party varchar, incumbent varchar, PRIMARY KEY (party)) | select party from table_1341604_11 where incumbent = "jack thomas brinkley" |
What is the party of Joseph Vance? | create table table_2668243_19 (party varchar, incumbent varchar, PRIMARY KEY (party)) | select party from table_2668243_19 where incumbent = "joseph vance" |
What college did jeremy zuttah attend? | create table table_15592941_1 (college varchar, player_name varchar, PRIMARY KEY (college)) | select college from table_15592941_1 where player_name = "jeremy zuttah" |
What was the scorecard when robin uthappa mark boucher jacques kallis was the batsmen? | create table table_22962745_35 (scorecard varchar, batsmen varchar, PRIMARY KEY (scorecard)) | select scorecard from table_22962745_35 where batsmen = "robin uthappa mark boucher jacques kallis" |
How many million U.S. viewers was written by Matt Pelfrey? | create table table_29545336_2 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_)) | select us_viewers__millions_ from table_29545336_2 where written_by = "matt pelfrey" |
Which last names are both used by customers and by staff? | create table customers (last_name varchar, PRIMARY KEY (last_name)); create table staff (last_name varchar, PRIMARY KEY (last_name)) | select last_name from customers intersect select last_name from staff |
What's the Chinese population in the borough with 26347 Pakistanis? | create table table_19149550_9 (chinese_population varchar, pakistani_population varchar, PRIMARY KEY (chinese_population)) | select chinese_population from table_19149550_9 where pakistani_population = 26347 |
Where is the ballpark of the Twins? | create table table_1987995_5 (location varchar, team varchar, PRIMARY KEY (location)) | select location from table_1987995_5 where team = "twins" |
who is the the pole position with grand prix being italian grand prix | create table table_12161822_5 (pole_position varchar, grand_prix varchar, PRIMARY KEY (pole_position)) | select pole_position from table_12161822_5 where grand_prix = "italian grand_prix" |
How many countries had a per capita withdrawal (m 3 /p/yr) of 372? | create table table_15909409_2 (country varchar, per_capita_withdrawal__m_3__p_yr_ varchar, PRIMARY KEY (country)) | select count(country) from table_15909409_2 where per_capita_withdrawal__m_3__p_yr_ = 372 |
How many pageants were margaret ann awitan bayot the delegate of? | create table table_1825751_14 (pageant varchar, delegate varchar, PRIMARY KEY (pageant)) | select count(pageant) from table_1825751_14 where delegate = "margaret ann awitan bayot" |
What is the structure of the document with the least number of accesses? | create table document_structures (document_structure_description varchar, document_structure_code varchar, PRIMARY KEY (document_structure_description)); create table documents (document_structure_code varchar, PRIMARY KEY (document_structure_code)) | select t2.document_structure_description from documents as t1 join document_structures as t2 on t1.document_structure_code = t2.document_structure_code group by t1.document_structure_code order by count(*) desc limit 1 |
What was the publication year ranking l.a. is 1st? | create table table_19948664_2 (year_of_publication varchar, ranking_la__2_ varchar, PRIMARY KEY (year_of_publication)) | select year_of_publication from table_19948664_2 where ranking_la__2_ = "1st" |
What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team? | create table table_13643320_2 (gtp_winning_team varchar, circuit varchar, gtu_winning_team varchar, PRIMARY KEY (gtp_winning_team)) | select gtp_winning_team from table_13643320_2 where circuit = "portland" and gtu_winning_team = "jack baldwin" |
what's the department with incumbent being enrique ona | create table table_1331313_1 (department varchar, incumbent varchar, PRIMARY KEY (department)) | select department from table_1331313_1 where incumbent = "enrique ona" |
what is the crashandride cymbalpads for the drumset name td-9k2 | create table table_2889300_6 (crashandride_cymbalpads varchar, drumset_name varchar, PRIMARY KEY (crashandride_cymbalpads)) | select crashandride_cymbalpads from table_2889300_6 where drumset_name = "td-9k2" |
What is the original air date for the writer tanaka shinichi? | create table table_26591434_1 (original_airdate varchar, writer varchar, PRIMARY KEY (original_airdate)) | select original_airdate from table_26591434_1 where writer = "tanaka shinichi" |
What's the voltage of the model with part number TT80503300? | create table table_24096813_15 (voltage varchar, part_number_s_ varchar, PRIMARY KEY (voltage)) | select voltage from table_24096813_15 where part_number_s_ = "tt80503300" |
what's the native american with es mulatto being 0.7% | create table table_1333612_1 (native_american varchar, es_mulatto varchar, PRIMARY KEY (native_american)) | select native_american from table_1333612_1 where es_mulatto = "0.7%" |
Name the model number for usf46 | create table table_21530474_1 (model_no varchar, chassis_code varchar, PRIMARY KEY (model_no)) | select model_no from table_21530474_1 where chassis_code = "usf46" |
Who was the Tournament Winner when UNC Wilmington won the regular season? | create table table_24248450_3 (tournament_winner varchar, regular_season_winner varchar, PRIMARY KEY (tournament_winner)) | select tournament_winner from table_24248450_3 where regular_season_winner = "unc wilmington" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.