question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
When Paul Whiting won the mixed veteran, who won the mixed restricted?
|
create table table_28211674_3 (mixed_restricted varchar, mixed_veteran varchar, PRIMARY KEY (mixed_restricted))
|
select mixed_restricted from table_28211674_3 where mixed_veteran = "paul whiting"
|
What is the percentage of all the literate people where females are 73.17?
|
create table table_14598_9 (literate_persons___percentage_ varchar, females___percentage_ varchar, PRIMARY KEY (literate_persons___percentage_))
|
select literate_persons___percentage_ from table_14598_9 where females___percentage_ = "73.17"
|
What's the axle ratio of the model with model designation 97G00?
|
create table table_20866024_2 (axle_ratio varchar, model_designation varchar, PRIMARY KEY (axle_ratio))
|
select axle_ratio from table_20866024_2 where model_designation = "97g00"
|
How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?
|
create table table_1013129_2 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))
|
select count(college_junior_club_team) from table_1013129_2 where nhl_team = "washington capitals"
|
What is the mascot for texas tech university?
|
create table table_28243691_1 (team_nickname varchar, institution varchar, PRIMARY KEY (team_nickname))
|
select team_nickname from table_28243691_1 where institution = "texas tech university"
|
How many CFL teams drafted someone from mount allison college?
|
create table table_26996293_3 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))
|
select count(cfl_team) from table_26996293_3 where college = "mount allison"
|
What type had a beginning term of December 8, 1980
|
create table table_1602620_1 (type varchar, term_began varchar, PRIMARY KEY (type))
|
select type from table_1602620_1 where term_began = "december 8, 1980"
|
List the presbyterian members of the senate.
|
create table table_20803065_1 (senator varchar, religion varchar, PRIMARY KEY (senator))
|
select senator from table_20803065_1 where religion = "presbyterian"
|
What was the goal accuracy % when the total disposals are 481?
|
create table table_2814720_1 (goal_accuracy__percentage varchar, total_disposals varchar, PRIMARY KEY (goal_accuracy__percentage))
|
select goal_accuracy__percentage from table_2814720_1 where total_disposals = 481
|
How many 'United Airlines' flights go to Airport 'ASY'?
|
create table flights (airline varchar, destairport 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.destairport = "asy"
|
Which sport has most number of students on scholarship?
|
create table sportsinfo (sportname varchar, onscholarship varchar, PRIMARY KEY (sportname))
|
select sportname from sportsinfo where onscholarship = 'y' group by sportname order by count(*) desc limit 1
|
What was the name of the episode that was directed by Mary Harron?
|
create table table_2182654_6 (title varchar, directed_by varchar, PRIMARY KEY (title))
|
select title from table_2182654_6 where directed_by = "mary harron"
|
How many votes were cast when the constituency was midlothian?
|
create table table_25818630_2 (votes__cast varchar, constituency varchar, PRIMARY KEY (votes__cast))
|
select votes__cast from table_25818630_2 where constituency = "midlothian"
|
Show the distinct apartment numbers of the apartments that have bookings with status code "Confirmed".
|
create table apartments (apt_number varchar, apt_id varchar, PRIMARY KEY (apt_number)); create table apartment_bookings (apt_id varchar, booking_status_code varchar, PRIMARY KEY (apt_id))
|
select distinct t2.apt_number from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t1.booking_status_code = "confirmed"
|
what are the notes for date (from) 12 august 1897?
|
create table table_12562214_1 (notes varchar, date__from_ varchar, PRIMARY KEY (notes))
|
select notes from table_12562214_1 where date__from_ = "12 august 1897"
|
What is the detailed family information where the sequence is aagtact?
|
create table table_26708105_2 (detailed_family_information varchar, sequence varchar, PRIMARY KEY (detailed_family_information))
|
select count(detailed_family_information) from table_26708105_2 where sequence = "aagtact"
|
When atsv erlangen is the mittelfranken nord and alemannia haibach is the unterfranken west what is the mittelfranken süd?
|
create table table_23224961_2 (mittelfranken_süd varchar, unterfranken_west varchar, mittelfranken_nord varchar, PRIMARY KEY (mittelfranken_süd))
|
select mittelfranken_süd from table_23224961_2 where unterfranken_west = "alemannia haibach" and mittelfranken_nord = "atsv erlangen"
|
what's the party with incumbent being william b. bankhead
|
create table table_1342292_2 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1342292_2 where incumbent = "william b. bankhead"
|
If 4 went to iran and the amount that survived was less than 12.0 how many were there in 1990?
|
create table table_1817852_1 (to_iran varchar, survived varchar, PRIMARY KEY (to_iran))
|
select count(1990) from table_1817852_1 where to_iran = 4 and survived < 12.0
|
What is every type for the location of Roanoke, Virginia?
|
create table table_261954_1 (type varchar, location varchar, PRIMARY KEY (type))
|
select type from table_261954_1 where location = "roanoke, virginia"
|
what's the status with incumbent being eliot engel
|
create table table_13833770_3 (status varchar, incumbent varchar, PRIMARY KEY (status))
|
select status from table_13833770_3 where incumbent = "eliot engel"
|
How many professors do have a Ph.D. degree?
|
create table professor (prof_high_degree varchar, PRIMARY KEY (prof_high_degree))
|
select count(*) from professor where prof_high_degree = 'ph.d.'
|
How many viewers in the UK did episode 50 have?
|
create table table_30139175_3 (uk_total_viewers varchar, episode_no varchar, PRIMARY KEY (uk_total_viewers))
|
select uk_total_viewers from table_30139175_3 where episode_no = 50
|
Show all the distinct institution types.
|
create table institution (type varchar, PRIMARY KEY (type))
|
select distinct type from institution
|
Name the towns/villages for budapest
|
create table table_16278825_1 (towns__villages varchar, county_seat varchar, PRIMARY KEY (towns__villages))
|
select towns__villages from table_16278825_1 where county_seat = "budapest"
|
Who is the constituency when the runner-up was d. Venugopal?
|
create table table_22753245_1 (constituency varchar, runner_up_a varchar, PRIMARY KEY (constituency))
|
select constituency from table_22753245_1 where runner_up_a = "d. venugopal"
|
How many Mountains Classifications were in the race with Mike Northey as Youth Classification?
|
create table table_23157997_13 (mountains_classification varchar, youth_classification varchar, PRIMARY KEY (mountains_classification))
|
select count(mountains_classification) from table_23157997_13 where youth_classification = "mike northey"
|
How much did Dale Jarrett win?
|
create table table_21297652_1 (winnings varchar, driver varchar, PRIMARY KEY (winnings))
|
select winnings from table_21297652_1 where driver = "dale jarrett"
|
What was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms?
|
create table table_18461045_1 (kentucky varchar, michigan varchar, PRIMARY KEY (kentucky))
|
select kentucky from table_18461045_1 where michigan = "grosse pointe farms-city ll grosse pointe farms"
|
What is Samuel Smith's party?
|
create table table_2668329_11 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_2668329_11 where incumbent = "samuel smith"
|
What was the innings when caught was 20?
|
create table table_24039597_26 (innings varchar, caught varchar, PRIMARY KEY (innings))
|
select innings from table_24039597_26 where caught = 20
|
list all female (sex is F) candidate names in the alphabetical order.
|
create table candidate (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, sex varchar, PRIMARY KEY (name))
|
select t1.name from people as t1 join candidate as t2 on t1.people_id = t2.people_id where t1.sex = 'f' order by t1.name
|
When 87 mpg-e (39kw-hrs/100mi) is the epa rated combined fuel economy how many operating modes are there?
|
create table table_24620684_2 (operating_mode varchar, epa_rated_combined_fuel_economy varchar, PRIMARY KEY (operating_mode))
|
select count(operating_mode) from table_24620684_2 where epa_rated_combined_fuel_economy = "87 mpg-e (39kw-hrs/100mi)"
|
How many stamps were designed for the theme of XII Summit de la Francophonie?
|
create table table_11900773_6 (design varchar, theme varchar, PRIMARY KEY (design))
|
select count(design) from table_11900773_6 where theme = "xii summit de la francophonie"
|
Name the family/families uk17
|
create table table_19897294_5 (family_families varchar, no_overall varchar, PRIMARY KEY (family_families))
|
select family_families from table_19897294_5 where no_overall = "uk17"
|
Name the original airdate for guy verney
|
create table table_20345624_2 (original_airdate varchar, director varchar, PRIMARY KEY (original_airdate))
|
select original_airdate from table_20345624_2 where director = "guy verney"
|
When was the tournament in Forest Lake Country Club held?
|
create table table_229059_2 (dates varchar, tournament_location varchar, PRIMARY KEY (dates))
|
select dates from table_229059_2 where tournament_location = "forest lake country club"
|
List all customers’ names in the alphabetical order.
|
create table accounts (name varchar, PRIMARY KEY (name))
|
select name from accounts order by name
|
On broadcast date is 28march1970, how many people tuned in?
|
create table table_2102898_1 (viewers__in_millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__in_millions_))
|
select viewers__in_millions_ from table_2102898_1 where broadcast_date = "28march1970"
|
what is the type of vehicle driven by mark higgins
|
create table table_28046929_2 (car varchar, driver varchar, PRIMARY KEY (car))
|
select car from table_28046929_2 where driver = "mark higgins"
|
How many trains depart at 17:30?
|
create table table_27011761_2 (train_no varchar, departure varchar, PRIMARY KEY (train_no))
|
select count(train_no) from table_27011761_2 where departure = "17:30"
|
Which nation is where the horse parkmore ed is?
|
create table table_18666752_3 (nation varchar, horse varchar, PRIMARY KEY (nation))
|
select nation from table_18666752_3 where horse = "parkmore ed"
|
What is the days with rain figure for the city of Santiago de Compostela?
|
create table table_12837_1 (days_with_rain__year_summer_ varchar, city_town varchar, PRIMARY KEY (days_with_rain__year_summer_))
|
select days_with_rain__year_summer_ from table_12837_1 where city_town = "santiago de compostela"
|
What is the independent regional force when alliance is (r) iván norambuena ( udi )?
|
create table table_2651755_1 (independent_regional_force varchar, alliance varchar, PRIMARY KEY (independent_regional_force))
|
select independent_regional_force from table_2651755_1 where alliance = "(r) iván norambuena ( udi )"
|
Name the manner of departure for elvio selighini
|
create table table_17275810_7 (manner_of_departure varchar, replaced_by varchar, PRIMARY KEY (manner_of_departure))
|
select manner_of_departure from table_17275810_7 where replaced_by = "elvio selighini"
|
Name the date successor seated for contested election; served until february 14, 1794
|
create table table_224837_4 (date_successor_seated varchar, reason_for_change varchar, PRIMARY KEY (date_successor_seated))
|
select date_successor_seated from table_224837_4 where reason_for_change = "contested election; served until february 14, 1794"
|
What's the type of the school whose students are nicknamed Chargers?
|
create table table_1969577_3 (type varchar, nickname varchar, PRIMARY KEY (type))
|
select type from table_1969577_3 where nickname = "chargers"
|
When spanish challenge is the team name what are the rr1 points?
|
create table table_21489362_2 (rr1_pts varchar, team_name varchar, PRIMARY KEY (rr1_pts))
|
select rr1_pts from table_21489362_2 where team_name = "spanish challenge"
|
How many circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ?
|
create table table_24037660_2 (circuit varchar, lmp_winning_team varchar, gtc_winning_team varchar, PRIMARY KEY (circuit))
|
select count(circuit) from table_24037660_2 where lmp_winning_team = "#1 patrón highcroft racing" and gtc_winning_team = "#81 alex job racing"
|
What is Stella Farentino's current relationship status?
|
create table table_24143253_2 (current_marital_status varchar, name varchar, PRIMARY KEY (current_marital_status))
|
select current_marital_status from table_24143253_2 where name = "stella farentino"
|
who won the senate seat in arkansas
|
create table table_1133844_4 (senator varchar, state__linked_to_summaries_below_ varchar, PRIMARY KEY (senator))
|
select senator from table_1133844_4 where state__linked_to_summaries_below_ = "arkansas"
|
What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?
|
create table table_16175217_1 (donor_payment varchar, children_per_donor varchar, allowed_recipients varchar, PRIMARY KEY (donor_payment))
|
select donor_payment from table_16175217_1 where children_per_donor = "6 children" and allowed_recipients = "no data"
|
How many budget types do we have?
|
create table ref_budget_codes (id varchar, PRIMARY KEY (id))
|
select count(*) from ref_budget_codes
|
When finland is the country how many hometowns are there?
|
create table table_18626383_2 (hometown varchar, country varchar, PRIMARY KEY (hometown))
|
select count(hometown) from table_18626383_2 where country = "finland"
|
What NFL team picked a player from Jackson State?
|
create table table_2508633_9 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team))
|
select nfl_team from table_2508633_9 where college = "jackson state"
|
Name the number of team for 19th position
|
create table table_27666856_3 (team varchar, position_in_table varchar, PRIMARY KEY (team))
|
select count(team) from table_27666856_3 where position_in_table = "19th"
|
Who replaced outgoing manager José Ángel Ziganda?
|
create table table_17201869_3 (replaced_by varchar, outgoing_manager varchar, PRIMARY KEY (replaced_by))
|
select replaced_by from table_17201869_3 where outgoing_manager = "josé ángel ziganda"
|
What is the english spelling of the word that has the strongs trasliteration of y e howram?
|
create table table_1242447_1 (english_spelling varchar, strongs_transliteration varchar, PRIMARY KEY (english_spelling))
|
select english_spelling from table_1242447_1 where strongs_transliteration = "y e howram"
|
Name the team for arif asadov
|
create table table_22848931_3 (team varchar, replaced_by varchar, PRIMARY KEY (team))
|
select team from table_22848931_3 where replaced_by = "arif asadov"
|
When yidu 宜都 is the commandery what is the lowest number of countries?
|
create table table_278229_1 (no_of_counties integer, commandery varchar, PRIMARY KEY (no_of_counties))
|
select min(no_of_counties) from table_278229_1 where commandery = "yidu 宜都"
|
Name the bulgarian name for mart
|
create table table_15275060_1 (bulgarian_name varchar, mart varchar, transliteration varchar, PRIMARY KEY (bulgarian_name))
|
select bulgarian_name from table_15275060_1 where bulgarian_name(transliteration) = mart
|
Which teams used Wally Rogers as their crew chief?
|
create table table_1266602_2 (team varchar, crew_chief varchar, PRIMARY KEY (team))
|
select team from table_1266602_2 where crew_chief = "wally rogers"
|
The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout?
|
create table table_26352332_4 (cylinder_layout varchar, years_produced varchar, engine_family varchar, PRIMARY KEY (cylinder_layout))
|
select cylinder_layout from table_26352332_4 where years_produced = "2007-current" and engine_family = "maxxforce 5"
|
What are the descriptions and names of the courses that have student enrollment bigger than 2?
|
create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id)); create table courses (course_description varchar, course_name varchar, course_id varchar, PRIMARY KEY (course_description))
|
select t1.course_description, 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 having count(*) > 2
|
How many categories of Senate Seats does Emile Roemer have?
|
create table table_158282_1 (senate_seats varchar, political_leader varchar, PRIMARY KEY (senate_seats))
|
select count(senate_seats) from table_158282_1 where political_leader = "emile roemer"
|
Who was the General Classification awardee if Sergio Luis Henao was the winner and the Points Classification award was given to Sergio Luis Henao?
|
create table table_28853064_15 (general_classification varchar, winner varchar, points_classification varchar, PRIMARY KEY (general_classification))
|
select general_classification from table_28853064_15 where winner = "sergio luis henao" and points_classification = "sergio luis henao"
|
What is the earliest quarterfinal week when the genre is dancing and the act is 32?
|
create table table_27529608_21 (qtr_final__week_ integer, genre varchar, age_s_ varchar, PRIMARY KEY (qtr_final__week_))
|
select min(qtr_final__week_) from table_27529608_21 where genre = "dancing" and age_s_ = "32"
|
If the amount of U.S. viewers is 2.05 milliom, who was the episode directed by?
|
create table table_23399481_2 (directed_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_23399481_2 where us_viewers__in_millions_ = "2.05"
|
What is the region 2 for the complete fifth series?
|
create table table_1337525_1 (region_2 varchar, complete_series varchar, PRIMARY KEY (region_2))
|
select region_2 from table_1337525_1 where complete_series = "the complete fifth series"
|
What was the to winnning team when the tu winning team was #16 2002?
|
create table table_13657883_2 (to_winning_team varchar, tu_winning_team varchar, PRIMARY KEY (to_winning_team))
|
select to_winning_team from table_13657883_2 where tu_winning_team = "#16 2002"
|
What is the postal code when the administrative capital in Bori?
|
create table table_28891101_3 (postal_code integer, administrative_capital varchar, PRIMARY KEY (postal_code))
|
select max(postal_code) from table_28891101_3 where administrative_capital = "bori"
|
Which states have renewable electricity equal to 9667 (gw×h)?
|
create table table_25244412_1 (state varchar, renewable_electricity__gw•h_ varchar, PRIMARY KEY (state))
|
select state from table_25244412_1 where renewable_electricity__gw•h_ = 9667
|
What is every Gregorian month when the season in Tamil is இளவேனில்?
|
create table table_1740431_3 (gregorian_months varchar, season_in_tamil varchar, PRIMARY KEY (gregorian_months))
|
select gregorian_months from table_1740431_3 where season_in_tamil = "இளவேனில்"
|
Show the apartment numbers of apartments with bookings that have status code both "Provisional" and "Confirmed"
|
create table apartments (apt_number varchar, apt_id varchar, PRIMARY KEY (apt_number)); create table apartment_bookings (apt_id varchar, booking_status_code varchar, PRIMARY KEY (apt_id))
|
select t2.apt_number from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t1.booking_status_code = "confirmed" intersect select t2.apt_number from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t1.booking_status_code = "provisional"
|
Who won the tournament when Idaho State won the regular season?
|
create table table_22779004_1 (conference varchar, regular_season_winner varchar, PRIMARY KEY (conference))
|
select conference as tournament from table_22779004_1 where regular_season_winner = "idaho state"
|
When the network mask is 255.255.255.252 what is the prefix size?
|
create table table_149426_4 (prefix_size varchar, network_mask varchar, PRIMARY KEY (prefix_size))
|
select prefix_size from table_149426_4 where network_mask = "255.255.255.252"
|
Name the rank timeslot for 11.59 viewers
|
create table table_20971444_3 (rank__timeslot_ varchar, viewers__millions_ varchar, PRIMARY KEY (rank__timeslot_))
|
select rank__timeslot_ from table_20971444_3 where viewers__millions_ = "11.59"
|
What is the status in those places where the poverty rate is 8.6%?
|
create table table_22815568_7 (status varchar, poverty_rate varchar, PRIMARY KEY (status))
|
select status from table_22815568_7 where poverty_rate = "8.6%"
|
What is the poor law union of the Lackenagobidane townland?
|
create table table_30121046_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))
|
select poor_law_union from table_30121046_1 where townland = "lackenagobidane"
|
If high assists are under Canty (6) how much would the record be?
|
create table table_17118657_10 (record varchar, high_assists varchar, PRIMARY KEY (record))
|
select record from table_17118657_10 where high_assists = "canty (6)"
|
List the names and emails of customers who payed by Visa card.
|
create table customers (customer_email varchar, customer_name varchar, payment_method varchar, PRIMARY KEY (customer_email))
|
select customer_email, customer_name from customers where payment_method = 'visa'
|
What member of the current Broadway cast plays the character played by Constantine Maroulis from the original Broadway cast?
|
create table table_19529639_3 (current_broadway_cast varchar, original_broadway_cast varchar, PRIMARY KEY (current_broadway_cast))
|
select current_broadway_cast from table_19529639_3 where original_broadway_cast = "constantine maroulis"
|
How many IRST figures for the show that premiered on Canale 5 (2006)?
|
create table table_28803803_1 (irst varchar, original_channel varchar, PRIMARY KEY (irst))
|
select count(irst) from table_28803803_1 where original_channel = "canale 5 (2006)"
|
What are characteristic names used at least twice across all products?
|
create table products (product_id varchar, PRIMARY KEY (product_id)); create table characteristics (characteristic_name varchar, characteristic_id varchar, PRIMARY KEY (characteristic_name)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))
|
select t3.characteristic_name from products as t1 join product_characteristics as t2 on t1.product_id = t2.product_id join characteristics as t3 on t2.characteristic_id = t3.characteristic_id group by t3.characteristic_name having count(*) >= 2
|
How many entries have a speed of exactly 2.53 GHz?
|
create table table_269920_16 (cores varchar, speed__ghz_ varchar, PRIMARY KEY (cores))
|
select count(cores) from table_269920_16 where speed__ghz_ = "2.53"
|
How many outputs are there for solid state, battery operated for portable use listed in notes?
|
create table table_25276250_3 (outputs varchar, notes varchar, PRIMARY KEY (outputs))
|
select count(outputs) from table_25276250_3 where notes = "solid state, battery operated for portable use"
|
Name the original air date for the potter family
|
create table table_19897294_16 (original_air_date varchar, family_families varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_19897294_16 where family_families = "the potter family"
|
What market is Wessington Springs in
|
create table table_134729_3 (target_city__market varchar, city_of_license varchar, PRIMARY KEY (target_city__market))
|
select target_city__market from table_134729_3 where city_of_license = "wessington springs"
|
How many total finals where there when the last win was in 2012-13?
|
create table table_14286908_1 (total_finals varchar, year_of_last_win varchar, PRIMARY KEY (total_finals))
|
select total_finals from table_14286908_1 where year_of_last_win = "2012-13"
|
Name the scientific name for veiled chameleon
|
create table table_175442_1 (scientific_name varchar, common_name varchar, PRIMARY KEY (scientific_name))
|
select scientific_name from table_175442_1 where common_name = "veiled chameleon"
|
Name the common name for rhampholeon spectrum
|
create table table_175442_1 (common_name varchar, scientific_name varchar, PRIMARY KEY (common_name))
|
select common_name from table_175442_1 where scientific_name = "rhampholeon spectrum"
|
Who won the mens doubles when wang hao won the mens singles?
|
create table table_28138035_26 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))
|
select mens_doubles from table_28138035_26 where mens_singles = "wang hao"
|
What type of car does Jeff Fuller drive?
|
create table table_2182170_1 (car_s_ varchar, driver_s_ varchar, PRIMARY KEY (car_s_))
|
select car_s_ from table_2182170_1 where driver_s_ = "jeff fuller"
|
How many weeks are shown for the champion of john mcenroe 6–2, 6–3?
|
create table table_21584646_10 (week_of varchar, champion varchar, PRIMARY KEY (week_of))
|
select count(week_of) from table_21584646_10 where champion = "john mcenroe 6–2, 6–3"
|
When 2005 is the year played what is the lowest year drafted?
|
create table table_18373863_2 (year_drafted integer, years_played varchar, PRIMARY KEY (year_drafted))
|
select min(year_drafted) from table_18373863_2 where years_played = "2005"
|
How many perpetrators are there?
|
create table perpetrator (id varchar, PRIMARY KEY (id))
|
select count(*) from perpetrator
|
If sail number is AUS 03, what are all associated race numbers?
|
create table table_14882588_2 (race_number varchar, sail_number varchar, PRIMARY KEY (race_number))
|
select race_number from table_14882588_2 where sail_number = "aus 03"
|
What is the name of the green house?
|
create table table_11464746_1 (house_name varchar, colours varchar, PRIMARY KEY (house_name))
|
select house_name from table_11464746_1 where colours = "green"
|
How many different allergy types exist?
|
create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))
|
select count(distinct allergytype) from allergy_type
|
What is the decision when the opponents are atlanta thrashers?
|
create table table_27501030_7 (decision varchar, opponent varchar, PRIMARY KEY (decision))
|
select decision from table_27501030_7 where opponent = "atlanta thrashers"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.