question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
what is the mccain % where obama got 19.3% | create table table_20424014_1 (mccain__percentage varchar, obama__percentage varchar, PRIMARY KEY (mccain__percentage)) | select mccain__percentage from table_20424014_1 where obama__percentage = "19.3%" |
state the name of day in english where cardinal direction is east | create table table_20925393_3 (english varchar, cardinal_direction varchar, PRIMARY KEY (english)) | select english from table_20925393_3 where cardinal_direction = "east" |
What engine type is used in a Space Shuttle Vacuum scenario? | create table table_15944_5 (engine_type varchar, scenario varchar, PRIMARY KEY (engine_type)) | select engine_type from table_15944_5 where scenario = "space shuttle vacuum" |
How many assets in billions US$, for the company that ranked 1532 overall in 2013? | create table table_23950611_2 (assets__bil_usd__ varchar, rank__all__2013 varchar, PRIMARY KEY (assets__bil_usd__)) | select assets__bil_usd__ from table_23950611_2 where rank__all__2013 = 1532 |
What's the percentage of EU average GDP (PPP) in the region where € per capita is 2519 | create table table_2293510_1 (_percentage_of_eu_average_gdp__ppp_ varchar, €_per_capita__2005_ varchar, PRIMARY KEY (_percentage_of_eu_average_gdp__ppp_)) | select _percentage_of_eu_average_gdp__ppp_ from table_2293510_1 where €_per_capita__2005_ = 2519 |
Show the most common type code across products. | create table products (product_type_code varchar, PRIMARY KEY (product_type_code)) | select product_type_code from products group by product_type_code order by count(*) desc limit 1 |
What song was performed when Barbara Windsor was the guest host? | create table table_1590967_7 (musical_guest__song_performed_ varchar, guest_host varchar, PRIMARY KEY (musical_guest__song_performed_)) | select musical_guest__song_performed_ from table_1590967_7 where guest_host = "barbara windsor" |
The order # is what for the week # Top 10? | create table table_26250253_1 (order__number varchar, week__number varchar, PRIMARY KEY (order__number)) | select order__number from table_26250253_1 where week__number = "top 10" |
what's the jp -210- with title and source being fun! fun! minigolf | create table table_13663434_1 (jp__210_ varchar, title_and_source varchar, PRIMARY KEY (jp__210_)) | select jp__210_ from table_13663434_1 where title_and_source = "fun! fun! minigolf" |
Which events have the number of notes between one and three? List the event id and the property id. | create table customer_events (customer_event_id varchar, property_id varchar, customer_event_id varchar, PRIMARY KEY (customer_event_id)); create table customer_event_notes (customer_event_id varchar, PRIMARY KEY (customer_event_id)) | select t1.customer_event_id, t1.property_id from customer_events as t1 join customer_event_notes as t2 on t1.customer_event_id = t2.customer_event_id group by t1.customer_event_id having count(*) between 1 and 3 |
Where is Bluetongue Stadium located? | create table table_1301373_1 (location varchar, stadium varchar, PRIMARY KEY (location)) | select location from table_1301373_1 where stadium = "bluetongue stadium" |
List name of all amenities which Anonymous Donor Hall has, and sort the results in alphabetic order. | create table has_amenity (amenid varchar, dormid varchar, PRIMARY KEY (amenid)); create table dorm_amenity (amenity_name varchar, amenid varchar, PRIMARY KEY (amenity_name)); create table dorm (dormid varchar, dorm_name varchar, PRIMARY KEY (dormid)) | select t1.amenity_name from dorm_amenity as t1 join has_amenity as t2 on t2.amenid = t1.amenid join dorm as t3 on t2.dormid = t3.dormid where t3.dorm_name = 'anonymous donor hall' order by t1.amenity_name |
Who wrote the episode that was directed by Kevin Inch? | create table table_29391888_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by)) | select written_by from table_29391888_1 where directed_by = "kevin inch" |
Whats the name of segment in s08e21 | create table table_15187735_16 (segment_a varchar, netflix varchar, PRIMARY KEY (segment_a)) | select segment_a from table_15187735_16 where netflix = "s08e21" |
Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team? | create table table_29361707_2 (winning_driver varchar, winning_team varchar, pole_position varchar, fastest_lap varchar, PRIMARY KEY (winning_driver)) | select winning_driver from table_29361707_2 where pole_position = "roberval andrade" and fastest_lap = "felipe giaffone" and winning_team = "rvr corinthians motorsport" |
What are the members listed with the sorority classification | create table table_10054296_1 (member varchar, classification varchar, PRIMARY KEY (member)) | select member from table_10054296_1 where classification = "sorority" |
What are the comments when vendor and type is enterasys switches? | create table table_1206114_2 (comments varchar, vendor_and_type varchar, PRIMARY KEY (comments)) | select comments from table_1206114_2 where vendor_and_type = "enterasys switches" |
how many models produced where the plant is castle bromwich? | create table table_250309_1 (models_produced varchar, plant varchar, PRIMARY KEY (models_produced)) | select count(models_produced) from table_250309_1 where plant = "castle bromwich" |
who is the other person where the assistant is paulo babo | create table table_28046929_2 (driver varchar, co_driver varchar, PRIMARY KEY (driver)) | select driver from table_28046929_2 where co_driver = "paulo babo" |
How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id. | create table transcript_contents (student_course_id varchar, PRIMARY KEY (student_course_id)) | select count(*), student_course_id from transcript_contents group by student_course_id order by count(*) desc limit 1 |
What is the lowest overall amount of no votes? | create table table_256286_13 (no_votes integer, PRIMARY KEY (no_votes)) | select min(no_votes) from table_256286_13 |
Name the most derby county | create table table_15201666_3 (derby_county integer, PRIMARY KEY (derby_county)) | select max(derby_county) from table_15201666_3 |
What was the report when the average speed (mph) was 87.599? | create table table_2175685_1 (report varchar, average_speed__mph_ varchar, PRIMARY KEY (report)) | select report from table_2175685_1 where average_speed__mph_ = "87.599" |
How many buildings are there? | create table building (id varchar, PRIMARY KEY (id)) | select count(*) from building |
What is the fastest lap with pole position of gilles villeneuve? | create table table_1140077_2 (fastest_lap varchar, pole_position varchar, PRIMARY KEY (fastest_lap)) | select fastest_lap from table_1140077_2 where pole_position = "gilles villeneuve" |
What is the comment on the issue dated 14 March 1987? | create table table_18305523_2 (comments varchar, cover_date varchar, PRIMARY KEY (comments)) | select comments from table_18305523_2 where cover_date = "14 march 1987" |
What is every branch involved in Afghanistan? | create table table_1921_1 (branches_involved varchar, location varchar, PRIMARY KEY (branches_involved)) | select branches_involved from table_1921_1 where location = "afghanistan" |
Name the total number of game sites for chicago bears | create table table_14977592_1 (game_site varchar, opponent varchar, PRIMARY KEY (game_site)) | select count(game_site) from table_14977592_1 where opponent = "chicago bears" |
What source showed Brian Moran at 19%? | create table table_21535453_1 (source varchar, brian_moran varchar, PRIMARY KEY (source)) | select source from table_21535453_1 where brian_moran = "19%" |
What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow? | create table table_20042805_2 (hadeda_ibis varchar, knobbilled_duck varchar, PRIMARY KEY (hadeda_ibis)) | select hadeda_ibis from table_20042805_2 where knobbilled_duck = "pied crow" |
Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)? | create table table_2370579_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by)) | select directed_by from table_2370579_1 where written_by = "tony o'grady (pseudonym of brian clemens)" |
What is the Fri 3 June time for the rider whose Tues 31 May time was 19' 18.80 117.215mph? | create table table_29218221_1 (fri_3_june varchar, tues_31_may varchar, PRIMARY KEY (fri_3_june)) | select fri_3_june from table_29218221_1 where tues_31_may = "19' 18.80 117.215mph" |
What is the name of the school in Lucas ? | create table table_25987797_1 (location varchar, school varchar, PRIMARY KEY (location)) | select location from table_25987797_1 where school = "lucas" |
Name who wrote the episode directed by pam cooke & jansen yee | create table table_23235679_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by)) | select written_by from table_23235679_1 where directed_by = "pam cooke & jansen yee" |
Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA | create table table_14747043_1 (class_a varchar, class_aaaaa varchar, weslaco varchar, class_aaaa varchar, brownwood varchar, PRIMARY KEY (class_a)) | select class_a from table_14747043_1 where class_aaaaa = weslaco and class_aaaa = brownwood |
Which films participated in the 61st Berlin international film festival? | create table table_29644931_1 (participants_recipients varchar, film_festival varchar, PRIMARY KEY (participants_recipients)) | select participants_recipients from table_29644931_1 where film_festival = "61st berlin international film_festival" |
Name the broadcast date of 6.9 million viewers | create table table_2114308_1 (broadcast_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (broadcast_date)) | select broadcast_date from table_2114308_1 where viewers__in_millions_ = "6.9" |
Show the name of the teacher for the math course. | create table course_arrange (course_id varchar, teacher_id varchar, PRIMARY KEY (course_id)); create table course (course_id varchar, course varchar, PRIMARY KEY (course_id)); create table teacher (name varchar, teacher_id varchar, PRIMARY KEY (name)) | select t3.name from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id where t2.course = "math" |
What is the census division for the city named Kenora? | create table table_21284653_1 (census_division varchar, name varchar, PRIMARY KEY (census_division)) | select census_division from table_21284653_1 where name = "kenora" |
What was the number of location of nickname cbsua formerly known cssac? | create table table_11604804_5 (location varchar, nickname varchar, PRIMARY KEY (location)) | select count(location) from table_11604804_5 where nickname = "cbsua formerly known cssac" |
What is the value for model if processor is Kentsfield and brand name is Xeon? | create table table_2467150_2 (model__list_ varchar, processor varchar, brand_name varchar, PRIMARY KEY (model__list_)) | select model__list_ from table_2467150_2 where processor = "kentsfield" and brand_name = "xeon" |
In Pacifico Central where the rainfall by depth (mm/year) was 2801 what was the rainfall by volume? | create table table_25983027_1 (rainfall_by_volume__km_3__year_ varchar, rainfall_by_depth__mm_year_ varchar, PRIMARY KEY (rainfall_by_volume__km_3__year_)) | select rainfall_by_volume__km_3__year_ from table_25983027_1 where rainfall_by_depth__mm_year_ = 2801 |
How many regions had an incarceration rate for females of 63? | create table table_25042332_31 (incarceration_rate_total varchar, incarceration_rate_female varchar, PRIMARY KEY (incarceration_rate_total)) | select count(incarceration_rate_total) from table_25042332_31 where incarceration_rate_female = 63 |
Name the part 3 for treffen | create table table_1745843_9 (part_3 varchar, part_1 varchar, PRIMARY KEY (part_3)) | select part_3 from table_1745843_9 where part_1 = "treffen" |
Who wrote the episode with 18.07 million viewers? | create table table_26198709_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by)) | select written_by from table_26198709_1 where us_viewers__million_ = "18.07" |
What is the address of employee Nancy Edwards? | create table employees (address varchar, first_name varchar, last_name varchar, PRIMARY KEY (address)) | select address from employees where first_name = "nancy" and last_name = "edwards" |
Against what team did the Islanders have a 5-18-5 record? | create table table_27539535_5 (opponent varchar, record varchar, PRIMARY KEY (opponent)) | select opponent from table_27539535_5 where record = "5-18-5" |
What is every institution with the nickname of Quakers? | create table table_261954_1 (institution varchar, nickname varchar, PRIMARY KEY (institution)) | select institution from table_261954_1 where nickname = "quakers" |
Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver? | create table table_29285076_2 (location varchar, fastest_lap varchar, winning_driver varchar, PRIMARY KEY (location)) | select location from table_29285076_2 where fastest_lap = "luke ellery" and winning_driver = "wayne boyd" |
Name the 2011 gdp for pakistan | create table table_2248784_3 (country varchar, PRIMARY KEY (country)) | select 2011 as _gdp__ppp__billions_of_usd from table_2248784_3 where country = "pakistan" |
When was the episode with a 1,036,000 BARB rating first aired in Denmark? | create table table_26591309_3 (first_broadcast_denmark___dr1__ varchar, official_barb_ratings varchar, PRIMARY KEY (first_broadcast_denmark___dr1__)) | select first_broadcast_denmark___dr1__ from table_26591309_3 where official_barb_ratings = "1,036,000" |
Show the transaction type and the number of transactions. | create table financial_transactions (transaction_type varchar, PRIMARY KEY (transaction_type)) | select transaction_type, count(*) from financial_transactions group by transaction_type |
Show the details of all trucks in the order of their license number. | create table trucks (truck_details varchar, truck_licence_number varchar, PRIMARY KEY (truck_details)) | select truck_details from trucks order by truck_licence_number |
List all the MCs with peak ranking of 6 who were inducted in 2007. | create table table_29160596_1 (top_mc varchar, year_inducted varchar, peak_ranking varchar, PRIMARY KEY (top_mc)) | select top_mc from table_29160596_1 where year_inducted = 2007 and peak_ranking = 6 |
Who did she play with on clay? | create table table_1920271_3 (partner varchar, surface varchar, PRIMARY KEY (partner)) | select partner from table_1920271_3 where surface = "clay" |
Show the product type codes which have at least two products. | create table products (product_type_code varchar, PRIMARY KEY (product_type_code)) | select product_type_code from products group by product_type_code having count(*) >= 2 |
List the first name middle name and last name of all staff. | create table staff (first_name varchar, middle_name varchar, last_name varchar, PRIMARY KEY (first_name)) | select first_name, middle_name, last_name from staff |
Show the names and ids of tourist attractions that are visited at least two times. | create table visits (tourist_attraction_id varchar, PRIMARY KEY (tourist_attraction_id)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name)) | select t1.name, t2.tourist_attraction_id from tourist_attractions as t1 join visits as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id group by t2.tourist_attraction_id having count(*) >= 2 |
Who was the race 1 winner of the race at Hidden Valley Raceway? | create table table_22905641_2 (race_1_winner varchar, circuit varchar, PRIMARY KEY (race_1_winner)) | select race_1_winner from table_22905641_2 where circuit = "hidden valley raceway" |
What does the inactive state for University of Texas, El Paso? | create table table_21821014_1 (inactive varchar, institution varchar, PRIMARY KEY (inactive)) | select inactive from table_21821014_1 where institution = "university of texas, el paso" |
Who is the rector of the residence hall who's mascot is the phoxes? | create table table_15873547_1 (rector varchar, mascot varchar, PRIMARY KEY (rector)) | select rector from table_15873547_1 where mascot = "phoxes" |
Who was the winning driver when Michael Schumacher had the pole and the fastest lap? | create table table_1137695_3 (winning_driver varchar, fastest_lap varchar, pole_position varchar, PRIMARY KEY (winning_driver)) | select winning_driver from table_1137695_3 where fastest_lap = "michael schumacher" and pole_position = "michael schumacher" |
When 27 gp h-e bombs the capacity of the bomb what is the cause of loss? | create table table_18933037_3 (cause_of_loss varchar, bomb_capacity varchar, PRIMARY KEY (cause_of_loss)) | select cause_of_loss from table_18933037_3 where bomb_capacity = "27 gp h-e bombs" |
How many new entries started in the round where winners from the previous round is 32? | create table table_18328569_1 (new_entries_this_round varchar, winners_from_previous_round varchar, PRIMARY KEY (new_entries_this_round)) | select new_entries_this_round from table_18328569_1 where winners_from_previous_round = "32" |
what is the home team when the opposition is east coast? | create table table_26847237_3 (home_team varchar, opposition varchar, PRIMARY KEY (home_team)) | select home_team from table_26847237_3 where opposition = "east coast" |
How many knockout of the night occurred when joe lauzon fought. | create table table_21114902_1 (knockouts_of_the_night varchar, fighter varchar, PRIMARY KEY (knockouts_of_the_night)) | select knockouts_of_the_night from table_21114902_1 where fighter = "joe lauzon" |
Who was the original artist when the order number is 9? | create table table_15796072_1 (original_artist varchar, order__number varchar, PRIMARY KEY (original_artist)) | select original_artist from table_15796072_1 where order__number = "9" |
What is the adjusted GDP per capita when the population is 37.376 million? | create table table_1610496_3 (gdp_per_capita_adjusted__$_ varchar, population__millions_ varchar, PRIMARY KEY (gdp_per_capita_adjusted__$_)) | select gdp_per_capita_adjusted__$_ from table_1610496_3 where population__millions_ = "37.376" |
Name the % for core moldova being 4.36% | create table table_19260_1 (_percentage varchar, _percentage_core_moldova varchar, PRIMARY KEY (_percentage)) | select _percentage from table_19260_1 where _percentage_core_moldova = "4.36_percentage" |
What is the original airdate of the episode where the challenge was three overstuffed sandwiches? | create table table_24798489_1 (original_airdate varchar, challenge varchar, PRIMARY KEY (original_airdate)) | select original_airdate from table_24798489_1 where challenge = "three overstuffed sandwiches" |
What is the UN operation title with the UN operation name, Uncok? | create table table_10121127_1 (un_operation_title varchar, un_operation_name varchar, PRIMARY KEY (un_operation_title)) | select un_operation_title from table_10121127_1 where un_operation_name = "uncok" |
what are all the report where winning constructor is williams - renault and grand prix is south african grand prix | create table table_1137704_2 (report varchar, winning_constructor varchar, grand_prix varchar, PRIMARY KEY (report)) | select report from table_1137704_2 where winning_constructor = "williams - renault" and grand_prix = "south african grand_prix" |
How many electorates are there with Hedmark as a constituency? | create table table_1289762_1 (electorate varchar, constituency varchar, PRIMARY KEY (electorate)) | select count(electorate) from table_1289762_1 where constituency = "hedmark" |
What chassis is on the car repped by team rahal letterman lanigan racing? | create table table_2503102_2 (chassis varchar, team varchar, PRIMARY KEY (chassis)) | select chassis from table_2503102_2 where team = "rahal letterman lanigan racing" |
What percentage of the population is below 50% of the median income in the region where 10.4% of the population earns below 40% of the median income? | create table table_25042332_16 (below_50_percentage_of_median_income varchar, below_40_percentage_of_median_income varchar, PRIMARY KEY (below_50_percentage_of_median_income)) | select count(below_50_percentage_of_median_income) from table_25042332_16 where below_40_percentage_of_median_income = "10.4%" |
What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United? | create table table_23835213_2 (undisclosed varchar, wycombe_wanderers varchar, PRIMARY KEY (undisclosed)) | select undisclosed from table_23835213_2 where "aldershot_town" = "aldershot_town" and wycombe_wanderers = "oxford united" |
When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there? | create table table_1965650_9 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality)) | select count(nationality) from table_1965650_9 where college_junior_club_team = "sault ste. marie greyhounds (oha)" |
Name the total number for race caller for bob costas and charlsie cantey | create table table_22514845_2 (race_caller varchar, trophy_presentation varchar, PRIMARY KEY (race_caller)) | select count(race_caller) from table_22514845_2 where trophy_presentation = "bob costas and charlsie cantey" |
Who is the independent regional force when democratic coalition is (r) jorge tarud ( ppd )? | create table table_2651755_1 (independent_regional_force varchar, democratic_coalition varchar, PRIMARY KEY (independent_regional_force)) | select independent_regional_force from table_2651755_1 where democratic_coalition = "(r) jorge tarud ( ppd )" |
Name the most 4/inns | create table table_17900317_5 (id varchar, PRIMARY KEY (id)) | select max(4 as _inns) from table_17900317_5 |
what is the score where the record is 1-1 | create table table_26173058_2 (ramtha varchar, ahli varchar, PRIMARY KEY (ramtha)) | select ramtha from table_26173058_2 where ahli = "1-1" |
How many artist(s) have a start date is 1966-12-12? | create table table_2560677_1 (artist_s_ varchar, start_date varchar, PRIMARY KEY (artist_s_)) | select count(artist_s_) from table_2560677_1 where start_date = "1966-12-12" |
What is the largest number for trine dehli cleve? | create table table_28677723_5 (trine_dehli_cleve integer, PRIMARY KEY (trine_dehli_cleve)) | select max(trine_dehli_cleve) from table_28677723_5 |
Name the comptroller for office of prohibition | create table table_22607062_1 (comptroller varchar, ticket___office varchar, PRIMARY KEY (comptroller)) | select comptroller from table_22607062_1 where ticket___office = "prohibition" |
Find all the phone numbers. | create table available_policies (customer_phone varchar, PRIMARY KEY (customer_phone)) | select customer_phone from available_policies |
How many semi-final weeks are there for acts from Pittsburgh, Pennsylvania? | create table table_27529608_21 (semi_final__week_ varchar, hometown varchar, PRIMARY KEY (semi_final__week_)) | select count(semi_final__week_) from table_27529608_21 where hometown = "pittsburgh, pennsylvania" |
Show the different countries and the number of members from each. | create table member (country varchar, PRIMARY KEY (country)) | select country, count(*) from member group by country |
Find the number of pets for each student who has any pet and student id. | create table has_pet (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid)) | select count(*), t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid |
Name the narraed by for beluga shipping | create table table_26168687_5 (narrated_by varchar, vessel_operator varchar, PRIMARY KEY (narrated_by)) | select narrated_by from table_26168687_5 where vessel_operator = "beluga shipping" |
How many different part 3 verbs are there that mean to freeze? | create table table_1745843_6 (part_3 varchar, verb_meaning varchar, PRIMARY KEY (part_3)) | select count(part_3) from table_1745843_6 where verb_meaning = "to freeze" |
How many 'United Airlines' flights depart from Airport 'AHD'? | create table flights (airline varchar, sourceairport varchar, PRIMARY KEY (airline)); create table airlines (uid varchar, airline varchar, PRIMARY KEY (uid)) | select count(*) from airlines as t1 join flights as t2 on t2.airline = t1.uid where t1.airline = "united airlines" and t2.sourceairport = "ahd" |
How many informations does Michael Hawkins have? | create table table_11340432_1 (information varchar, shadow_ridge varchar, PRIMARY KEY (information)) | select count(information) from table_11340432_1 where shadow_ridge = "michael hawkins" |
What was the position (P) for Clapham? | create table table_12608427_8 (p varchar, name varchar, PRIMARY KEY (p)) | select p from table_12608427_8 where name = "clapham" |
If the equation is 6 × 9² + 6 × 9 + 6, what is the 2nd throw? | create table table_17265535_7 (equation varchar, PRIMARY KEY (equation)) | select max(2 as nd_throw) from table_17265535_7 where equation = "6 × 9² + 6 × 9 + 6" |
Please show the countries and the number of climbers from each country. | create table climber (country varchar, PRIMARY KEY (country)) | select country, count(*) from climber group by country |
What is the range of the head of household whereas single is $171,551–$372,950? | create table table_11647327_2 (head_of_household varchar, single varchar, PRIMARY KEY (head_of_household)) | select head_of_household from table_11647327_2 where single = "$171,551–$372,950" |
What was Johnny Rutherford's fastest lap while Al Unser was the pole position? | create table table_10527215_3 (fastest_lap varchar, winning_driver varchar, pole_position varchar, PRIMARY KEY (fastest_lap)) | select fastest_lap from table_10527215_3 where winning_driver = "johnny rutherford" and pole_position = "al unser" |
How many courses do the student whose id is 171 attend? | create table courses (course_id varchar, PRIMARY KEY (course_id)); create table student_course_attendance (course_id varchar, student_id varchar, PRIMARY KEY (course_id)) | select count(*) from courses as t1 join student_course_attendance as t2 on t1.course_id = t2.course_id where t2.student_id = 171 |
How many total titles did Rupesh Kumar Sanave Thomas and Jwala Gutta Ashwini Ponnappa win total? | create table table_12194021_1 (womens_singles varchar, mens_doubles varchar, womens_doubles varchar, PRIMARY KEY (womens_singles)) | select count(womens_singles) from table_12194021_1 where mens_doubles = "rupesh kumar sanave thomas" and womens_doubles = "jwala gutta ashwini ponnappa" |
What are the results for testing the species with voges-proskauer when citrate yields a positive result? | create table table_16083989_1 (voges_proskauer varchar, citrate varchar, PRIMARY KEY (voges_proskauer)) | select voges_proskauer from table_16083989_1 where citrate = "positive" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.