question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
When did the season with 1 team format premiere? | create table table_1949994_7 (premiere_air_dates varchar, format varchar, PRIMARY KEY (premiere_air_dates)) | select premiere_air_dates from table_1949994_7 where format = "1 team" |
What is the BBI whent the economy is 5.68? | create table table_28846752_9 (bbi varchar, economy varchar, PRIMARY KEY (bbi)) | select bbi from table_28846752_9 where economy = "5.68" |
How many different locations does the school with code BUS has? | create table department (dept_address varchar, school_code varchar, PRIMARY KEY (dept_address)) | select count(distinct dept_address) from department where school_code = 'bus' |
When Symbian/Series 40 is 0.40%, what is the percentage of "other"? | create table table_11381701_3 (other varchar, symbian___series_40 varchar, PRIMARY KEY (other)) | select other from table_11381701_3 where symbian___series_40 = "0.40%" |
Show all video game types and the number of video games in each type. | create table video_games (gtype varchar, PRIMARY KEY (gtype)) | select gtype, count(*) from video_games group by gtype |
How many womens singles entries are there when womens doubles is li xiaodan wen jia? | create table table_28138035_27 (womens_singles varchar, womens_doubles varchar, PRIMARY KEY (womens_singles)) | select count(womens_singles) from table_28138035_27 where womens_doubles = "li xiaodan wen jia" |
Who directed the episode that had 1.48 million viewers in the U.S.? | create table table_29569969_2 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by)) | select directed_by from table_29569969_2 where us_viewers__millions_ = "1.48" |
Who performed with Tina Parekh? | create table table_18278508_2 (main_contestant varchar, co_contestant__yaar_vs_pyaar_ varchar, PRIMARY KEY (main_contestant)) | select main_contestant from table_18278508_2 where co_contestant__yaar_vs_pyaar_ = "tina parekh" |
What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4? | create table table_2155836_1 (population__millions varchar, _2011_ varchar, gdp__nominal___billions_usd_ varchar, PRIMARY KEY (population__millions)) | select population__millions, _2011_ from table_2155836_1 where gdp__nominal___billions_usd_ = "4" |
Name the most 3 credits | create table table_148535_2 (id varchar, hand varchar PRIMARY KEY (id)) | select hand, count(*) as credit_count from table_148535_2 group by hand order by credit_count desc limit 3; |
what is the format of "callanetics: 10 years younger in 10 hours"? | create table table_11222744_3 (format varchar, title varchar, PRIMARY KEY (format)) | select format from table_11222744_3 where title = "callanetics: 10 years younger in 10 hours" |
What is the transaction type that has processed the greatest total amount in transactions? | create table financial_transactions (transaction_type varchar, transaction_amount integer, PRIMARY KEY (transaction_type)) | select transaction_type from financial_transactions group by transaction_type order by sum(transaction_amount) desc limit 1 |
How much power covers dumaguete central visayas region? | create table table_24418525_1 (power_kw varchar, coverage varchar, PRIMARY KEY (power_kw)) | select count(power_kw) from table_24418525_1 where coverage = "dumaguete central visayas region" |
Name the number of rank world for bhutan | create table table_2248784_3 (rank_world varchar, country varchar, PRIMARY KEY (rank_world)) | select count(rank_world) from table_2248784_3 where country = "bhutan" |
In what barony are both the townland Dawstown and the civil parish Matehy located? | create table table_30120566_1 (barony varchar, townland varchar, civil_parish varchar, PRIMARY KEY (barony)) | select barony from table_30120566_1 where townland = "dawstown" and civil_parish = "matehy" |
Name the least number for mydeejay | create table table_15887683_10 (n integer, television_service varchar, PRIMARY KEY (n)) | select min(n) as ° from table_15887683_10 where television_service = "mydeejay" |
What nationality is the player who went to school at South Florida? | create table table_16494599_1 (nationality varchar, school_club_team varchar, PRIMARY KEY (nationality)) | select nationality from table_16494599_1 where school_club_team = "south florida" |
Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si | create table table_27965906_2 (ss_winning_car varchar, circuit varchar, b_winning_car varchar, PRIMARY KEY (ss_winning_car)) | select ss_winning_car from table_27965906_2 where circuit = "road atlanta" and b_winning_car = "#35 quantum engineering #35 honda crx-si" |
What are all the the participant ids, type code and details? | create table participants (participant_id varchar, participant_type_code varchar, participant_details varchar, PRIMARY KEY (participant_id)) | select participant_id, participant_type_code, participant_details from participants |
Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club? | create table table_1566852_8 (centerfold_model varchar, pictorials varchar, PRIMARY KEY (centerfold_model)) | select centerfold_model from table_1566852_8 where pictorials = "kimberly bell , bunnies of the new playboy club" |
What is the original air date of the episode that was written by Rama Stagner? | create table table_27389024_2 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date)) | select original_air_date from table_27389024_2 where written_by = "rama stagner" |
Is usb re-enumeration required part of the emulated class? | create table table_1153898_1 (emulated_class varchar, comparisons varchar, PRIMARY KEY (emulated_class)) | select emulated_class from table_1153898_1 where comparisons = "usb re-enumeration required" |
When stuttgart is the town what is the type? | create table table_2803662_3 (type varchar, town varchar, PRIMARY KEY (type)) | select type from table_2803662_3 where town = "stuttgart" |
For the city whose land area was 135.09, what was the total population density? | create table table_22916979_1 (population_density__people_per_mi_2__ varchar, land_area__mi_2__ varchar, PRIMARY KEY (population_density__people_per_mi_2__)) | select population_density__people_per_mi_2__ from table_22916979_1 where land_area__mi_2__ = "135.09" |
What is the record for Big Ten Team #4 Purdue? | create table table_23058971_8 (winner varchar, big_ten_team varchar, PRIMARY KEY (winner)) | select winner from table_23058971_8 where big_ten_team = "#4 purdue" |
How many paragraphs in total? | create table paragraphs (id varchar, PRIMARY KEY (id)) | select count(*) from paragraphs |
What is the id of the instructor who advises of all students from History department? | create table advisor (s_id varchar, PRIMARY KEY (s_id)); create table student (id varchar, dept_name varchar, PRIMARY KEY (id)) | select s_id from advisor as t1 join student as t2 on t1.s_id = t2.id where t2.dept_name = 'history' |
Name the most peak performance for october 2006 - january 2010 | create table table_27765443_2 (maximum_peak_performance___teraflops__ varchar, period_of_operation varchar, PRIMARY KEY (maximum_peak_performance___teraflops__)) | select maximum_peak_performance___teraflops__ from table_27765443_2 where period_of_operation = "october 2006 - january 2010" |
Name the perfect stem for jo | create table table_12784134_24 (perfect_stem varchar, short_stem varchar, PRIMARY KEY (perfect_stem)) | select count(perfect_stem) from table_12784134_24 where short_stem = "jo" |
If the working force of HK is 10.4%, what is the salary range? | create table table_27257896_2 (salary_range varchar, working_force_of_hk varchar, PRIMARY KEY (salary_range)) | select salary_range from table_27257896_2 where working_force_of_hk = "10.4%" |
How many meters tall is Ulrike Wolful? | create table table_23495048_2 (height__mtr_ varchar, contestant varchar, PRIMARY KEY (height__mtr_)) | select height__mtr_ from table_23495048_2 where contestant = "ulrike wolful" |
For a release price of $72, what is the TDP of the microprocessor? | create table table_16729930_18 (tdp varchar, release_price___usd__ varchar, PRIMARY KEY (tdp)) | select tdp from table_16729930_18 where release_price___usd__ = "$72" |
What was the outcome of the match with score 4–6, 3–6, 2–6? | create table table_22839669_1 (outcome varchar, score_in_the_final varchar, PRIMARY KEY (outcome)) | select outcome from table_22839669_1 where score_in_the_final = "4–6, 3–6, 2–6" |
What is the maximum length in meters for the bridges and what are the architects' names? | create table architect (name varchar, id varchar, PRIMARY KEY (name)); create table bridge (length_meters integer, architect_id varchar, PRIMARY KEY (length_meters)) | select max(t1.length_meters), t2.name from bridge as t1 join architect as t2 on t1.architect_id = t2.id |
What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers? | create table table_18424435_4 (us_air_date varchar, canadian_viewers__million_ varchar, PRIMARY KEY (us_air_date)) | select us_air_date from table_18424435_4 where canadian_viewers__million_ = "1.452" |
Name the song title for europe | create table table_22457674_1 (song_title varchar, artist varchar, PRIMARY KEY (song_title)) | select song_title from table_22457674_1 where artist = "europe" |
What is every value of period when eccentricity is 0.583085? | create table table_206217_2 (period__h_ varchar, eccentricity varchar, PRIMARY KEY (period__h_)) | select period__h_ from table_206217_2 where eccentricity = "0.583085" |
What was the final place came for the performance of Erlend Bratland? | create table table_23429629_4 (place_came varchar, artist varchar, PRIMARY KEY (place_came)) | select place_came from table_23429629_4 where artist = "erlend bratland" |
What is the type of the player whose transfer fee was €20m? | create table table_13770460_3 (type varchar, transfer_fee varchar, PRIMARY KEY (type)) | select type from table_13770460_3 where transfer_fee = "€20m" |
What percentage of the votes were for others in the county where 462 people voted that way? | create table table_2401326_1 (others_percentage varchar, others_number varchar, PRIMARY KEY (others_percentage)) | select others_percentage from table_2401326_1 where others_number = "462" |
What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active? | create table table_15652027_1 (extortion_theft_3 varchar, united_nations_mission varchar, PRIMARY KEY (extortion_theft_3)) | select extortion_theft_3 from table_15652027_1 where united_nations_mission = "united nations observer mission uganda-rwanda" |
Who wrote the episode with 9.81 million US viewers? | create table table_28688313_1 (written_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (written_by)) | select written_by from table_28688313_1 where us_viewers__in_millions_ = "9.81" |
When was the callback audition date for the audition city from the episode aired on February 2, 2011? | create table table_27455867_1 (callback_audition_date varchar, episode_air_date varchar, PRIMARY KEY (callback_audition_date)) | select callback_audition_date from table_27455867_1 where episode_air_date = "february 2, 2011" |
How many ships are there? | create table ship (id varchar, PRIMARY KEY (id)) | select count(*) from ship |
What is the reward for the elimination of Peterson? | create table table_24122653_2 (reward varchar, eliminated varchar, PRIMARY KEY (reward)) | select reward from table_24122653_2 where eliminated = "peterson" |
Find the number of voting records in total. | create table voting_record (id varchar, PRIMARY KEY (id)) | select count(*) from voting_record |
What is the percentage of females where the state code is a 4? | create table table_14598_9 (females___percentage_ varchar, state_ut_code varchar, PRIMARY KEY (females___percentage_)) | select females___percentage_ from table_14598_9 where state_ut_code = 4 |
Which college has the men's nickname of the blazers? | create table table_10577579_3 (institution varchar, mens_nickname varchar, PRIMARY KEY (institution)) | select institution from table_10577579_3 where mens_nickname = "blazers" |
Name the party for hutchins g. burton | create table table_2668329_18 (party varchar, incumbent varchar, PRIMARY KEY (party)) | select party from table_2668329_18 where incumbent = "hutchins g. burton" |
WHich team had dave penney as an incoming manager | create table table_26914759_3 (team varchar, incoming_manager varchar, PRIMARY KEY (team)) | select team from table_26914759_3 where incoming_manager = "dave penney" |
List all opponents from the 4-4 scoring game. | create table table_24561550_1 (opponent varchar, record varchar, PRIMARY KEY (opponent)) | select opponent from table_24561550_1 where record = "4-4" |
What is the mix pack when the artist 2 is Eminem? | create table table_23649244_2 (mix_pack varchar, artist_2 varchar, PRIMARY KEY (mix_pack)) | select mix_pack from table_23649244_2 where artist_2 = "eminem" |
What is the affiliation of the University called Explorers? | create table table_19210115_1 (affiliation varchar, nickname varchar, PRIMARY KEY (affiliation)) | select affiliation from table_19210115_1 where nickname = "explorers" |
How many likes does Kyle have? | create table likes (student_id varchar, PRIMARY KEY (student_id)); create table highschooler (id varchar, name varchar, PRIMARY KEY (id)) | select count(*) from likes as t1 join highschooler as t2 on t1.student_id = t2.id where t2.name = "kyle" |
Find the semester when both Master students and Bachelor students got enrolled in. | create table degree_programs (degree_program_id varchar, PRIMARY KEY (degree_program_id)); create table student_enrolment (semester_id varchar, degree_program_id varchar, PRIMARY KEY (semester_id)) | select distinct t2.semester_id from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id where degree_summary_name = 'master' intersect select distinct t2.semester_id from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id where degree_summary_name = 'bachelor' |
Which new conference is the Toreros Western Collegiate Lacrosse team playing in? | create table table_14976504_2 (new_conference varchar, team_nickname varchar, PRIMARY KEY (new_conference)) | select new_conference from table_14976504_2 where team_nickname = "toreros" |
Who directed the episode with 6.37 million viewers? | create table table_27927185_1 (directed_by varchar, viewers__millions_ varchar, PRIMARY KEY (directed_by)) | select directed_by from table_27927185_1 where viewers__millions_ = "6.37" |
Show the description for role name "Proof Reader". | create table roles (role_description varchar, role_name varchar, PRIMARY KEY (role_description)) | select role_description from roles where role_name = "proof reader" |
Who finished in third place when the winner was Karina Bacchi? | create table table_25214321_1 (third_place varchar, winner varchar, PRIMARY KEY (third_place)) | select third_place from table_25214321_1 where winner = "karina bacchi" |
How many pinyin transaltions are available for the chinese phrase 釋蟲? | create table table_1216675_1 (pinyin varchar, chinese varchar, PRIMARY KEY (pinyin)) | select count(pinyin) from table_1216675_1 where chinese = "釋蟲" |
Who won the mens singles when lau sui fei won the womens singles? | create table table_28138035_26 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles)) | select mens_singles from table_28138035_26 where womens_singles = "lau sui fei" |
Name the builder for date built is january 1910 | create table table_1748444_1 (builder varchar, date_built varchar, PRIMARY KEY (builder)) | select builder from table_1748444_1 where date_built = "january 1910" |
Find the name of airline which runs the most number of routes. | create table airlines (name varchar, alid varchar, PRIMARY KEY (name)); create table routes (alid varchar, PRIMARY KEY (alid)) | select t1.name from airlines as t1 join routes as t2 on t1.alid = t2.alid group by t1.name order by count(*) desc limit 1 |
How many employees does each role have? List role description, id and number of employees. | create table roles (role_description varchar, role_code varchar, PRIMARY KEY (role_description)); create table employees (role_code varchar, PRIMARY KEY (role_code)) | select t1.role_description, t2.role_code, count(*) from roles as t1 join employees as t2 on t1.role_code = t2.role_code group by t2.role_code |
For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke? | create table table_21021796_1 (stroke varchar, applications varchar, PRIMARY KEY (stroke)) | select stroke from table_21021796_1 where applications = "1999 w210 e-class , 2000 w203 c-class" |
Which films participated when the category was Best Newcomer? | create table table_29644931_1 (participants_recipients varchar, category varchar, PRIMARY KEY (participants_recipients)) | select participants_recipients from table_29644931_1 where category = "best newcomer" |
What is the highest number of Counties carries? | create table table_16186152_1 (counties_carries integer, PRIMARY KEY (counties_carries)) | select max(counties_carries) from table_16186152_1 |
In what location was the fastest time 1:37.071s? | create table table_14884844_2 (location varchar, record varchar, PRIMARY KEY (location)) | select location from table_14884844_2 where record = "1:37.071s" |
IN THE ISSUE WITH KARA MONACO ON THE COVER, WHO WAS THE INTERVIEW SUBJECT? | create table table_1566852_7 (interview_subject varchar, cover_model varchar, PRIMARY KEY (interview_subject)) | select interview_subject from table_1566852_7 where cover_model = "kara monaco" |
The candidate who received 133 votes in the Bronx won what percentage overall? | create table table_1108394_47 (_percentage varchar, the_bronx varchar, PRIMARY KEY (_percentage)) | select _percentage from table_1108394_47 where the_bronx = "133" |
Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena? | create table table_14132239_3 (rookie varchar, transition varchar, offensive varchar, PRIMARY KEY (rookie)) | select rookie from table_14132239_3 where transition = "brodie merrill" and offensive = "pat maddalena" |
Who won the mountains classification when Maarten Tjallingii won most corageous? | create table table_25055040_22 (mountains_classification varchar, most_courageous varchar, PRIMARY KEY (mountains_classification)) | select mountains_classification from table_25055040_22 where most_courageous = "maarten tjallingii" |
Do the Sky Calcio 5 channels have PPV? | create table table_15887683_4 (ppv varchar, television_service varchar, PRIMARY KEY (ppv)) | select ppv from table_15887683_4 where television_service = "sky calcio 5" |
What is the average attendance of stadiums with capacity percentage higher than 100%? | create table stadium (average_attendance varchar, capacity_percentage integer, PRIMARY KEY (average_attendance)) | select average_attendance from stadium where capacity_percentage > 100 |
Show the name of the shop that has the most kind of devices in stock. | create table shop (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)); create table stock (shop_id varchar, PRIMARY KEY (shop_id)) | select t2.shop_name from stock as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t1.shop_id order by count(*) desc limit 1 |
How many QB ratings for the player with 1069 completions? | create table table_19418696_3 (qb_rating varchar, completions varchar, PRIMARY KEY (qb_rating)) | select count(qb_rating) from table_19418696_3 where completions = 1069 |
what's the country/region with presenters being heikki paasonen jukka rossi (xtra factor) | create table table_13779832_1 (country_region varchar, presenters varchar, PRIMARY KEY (country_region)) | select country_region from table_13779832_1 where presenters = "heikki paasonen jukka rossi (xtra factor)" |
What is the 2010 population of the municipality with 31 barangays? | create table table_255829_1 (population__2010_ varchar, no_of_barangays varchar, PRIMARY KEY (population__2010_)) | select population__2010_ from table_255829_1 where no_of_barangays = 31 |
What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle? | 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 = "brown snake eagle" |
Report all majors that have less than 3 students. | create table student (major varchar, PRIMARY KEY (major)) | select major from student group by major having count(*) < 3 |
What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás? | create table table_1977630_2 (él___ella___usted varchar, vos__ varchar, _ varchar, PRIMARY KEY (él___ella___usted)) | select él___ella___usted from table_1977630_2 where vos__ * _ = "muelas / molás" |
How many staff have the first name Ludie? | create table staff (first_name varchar, PRIMARY KEY (first_name)) | select count(*) from staff where first_name = "ludie" |
Show the names of employees with role name Editor. | create table roles (role_code varchar, role_name varchar, PRIMARY KEY (role_code)); create table employees (employee_name varchar, role_code varchar, PRIMARY KEY (employee_name)) | select t1.employee_name from employees as t1 join roles as t2 on t1.role_code = t2.role_code where t2.role_name = "editor" |
How many shows had 12.46 total viewers? | create table table_23793770_2 (title varchar, total_viewers__in_millions_ varchar, PRIMARY KEY (title)) | select count(title) from table_23793770_2 where total_viewers__in_millions_ = "12.46" |
Which school years have a class a being lindsay and a class aaa being cuero? | create table table_14603212_1 (school_year varchar, class_a varchar, class_aaa varchar, cuero varchar, PRIMARY KEY (school_year)) | select school_year from table_14603212_1 where class_a = "lindsay" and class_aaa = "cuero" |
What is the episode title that had a US viewership of 8.16? | create table table_24910737_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title)) | select title from table_24910737_1 where us_viewers__millions_ = "8.16" |
Who is safe if John and Nicole are eliminated? | create table table_12305325_4 (safe varchar, eliminated varchar, PRIMARY KEY (safe)) | select safe from table_12305325_4 where eliminated = "john and nicole" |
Who wrote the episode when the director was dean white? | create table table_12451376_1 (writer_s_ varchar, director varchar, PRIMARY KEY (writer_s_)) | select writer_s_ from table_12451376_1 where director = "dean white" |
What is the census division for the name Stratford? | create table table_21284653_1 (census_division varchar, name varchar, PRIMARY KEY (census_division)) | select census_division from table_21284653_1 where name = "stratford" |
What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6–4, 5–7, 1–6? | create table table_17289604_38 (quarterfinals varchar, round_of_32 varchar, PRIMARY KEY (quarterfinals)) | select quarterfinals from table_17289604_38 where round_of_32 = "s williams / v williams ( usa ) l 6–4, 5–7, 1–6" |
What geographical region is contestant laura jiménez ynoa from? | create table table_24192031_2 (geographical_regions varchar, contestant varchar, PRIMARY KEY (geographical_regions)) | select geographical_regions from table_24192031_2 where contestant = "laura jiménez ynoa" |
What is the name of the course that has the most student enrollment? | create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id)) | select t1.course_name from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id group by t1.course_name order by count(*) desc limit 1 |
what is the language when the awardee is re-recordist : mateen ahmad? | create table table_25926120_7 (language varchar, awardee_s_ varchar, PRIMARY KEY (language)) | select language from table_25926120_7 where awardee_s_ = "re-recordist : mateen ahmad" |
How many different kickoffs happened when the opponent was the Scottish Claymores | create table table_26275503_2 (kickoff varchar, opponent varchar, PRIMARY KEY (kickoff)) | select count(kickoff) from table_26275503_2 where opponent = "scottish claymores" |
List all mbit/s with profiles of 8b. | create table table_2394927_1 (max_downstream_throughput___mbit_s__ varchar, profile varchar, PRIMARY KEY (max_downstream_throughput___mbit_s__)) | select max_downstream_throughput___mbit_s__ from table_2394927_1 where profile = "8b" |
what is the reason for change where the date the successor was seated was july 28, 1876? | create table table_2192067_4 (reason_for_change varchar, date_successor_seated varchar, PRIMARY KEY (reason_for_change)) | select reason_for_change from table_2192067_4 where date_successor_seated = "july 28, 1876" |
What station has the call number K213cl | create table table_134729_3 (format varchar, call_sign varchar, PRIMARY KEY (format)) | select format from table_134729_3 where call_sign = "k213cl" |
Find the name of the first 5 customers. | create table customers (customer_name varchar, date_became_customer varchar, PRIMARY KEY (customer_name)) | select customer_name from customers order by date_became_customer limit 5 |
How many performers are 29 that made it to the semi finals? | create table table_28180840_15 (semifinal__week_ varchar, age_s_ varchar, PRIMARY KEY (semifinal__week_)) | select semifinal__week_ from table_28180840_15 where age_s_ = "29" |
Who is listed under mens singles when womens has wang nan zhang yining? | create table table_28138035_27 (mens_singles varchar, womens_doubles varchar, PRIMARY KEY (mens_singles)) | select mens_singles from table_28138035_27 where womens_doubles = "wang nan zhang yining" |
Subsets and Splits