question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009?
|
create table table_240936_2 (region_1__can_ varchar, region_2__uk_ varchar, PRIMARY KEY (region_1__can_))
|
select region_1__can_ from table_240936_2 where region_2__uk_ = "may 18, 2009"
|
List the project details of the projects launched by the organisation
|
create table projects (project_details varchar, organisation_id varchar, PRIMARY KEY (project_details))
|
select project_details from projects where organisation_id in (select organisation_id from projects group by organisation_id order by count(*) desc limit 1)
|
What was the weekly rank by Virgin media for the title aired on May 20, 2010?
|
create table table_26826304_2 (weekly_rank_virgin_media integer, air_date varchar, PRIMARY KEY (weekly_rank_virgin_media))
|
select min(weekly_rank_virgin_media) from table_26826304_2 where air_date = "may 20, 2010"
|
who are the candidates when the incumbent is lindsey graham?
|
create table table_1341423_40 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_1341423_40 where incumbent = "lindsey graham"
|
Find all the stage positions of the musicians with first name "Solveig"
|
create table band (id varchar, PRIMARY KEY (id)); create table performance (stageposition varchar, bandmate varchar, PRIMARY KEY (stageposition))
|
select distinct t1.stageposition from performance as t1 join band as t2 on t1.bandmate = t2.id where firstname = "solveig"
|
What is the socket for the pentium dual-core t2410?
|
create table table_11602313_4 (socket varchar, model_number varchar, PRIMARY KEY (socket))
|
select socket from table_11602313_4 where model_number = "pentium dual-core t2410"
|
Which of the countries has the most car makers? List the country name.
|
create table car_makers (country varchar, PRIMARY KEY (country)); create table countries (countryname varchar, countryid varchar, PRIMARY KEY (countryname))
|
select t2.countryname from car_makers as t1 join countries as t2 on t1.country = t2.countryid group by t1.country order by count(*) desc limit 1
|
What are the names of products whose availability equals to 1?
|
create table view_product_availability (product_id varchar, available_yn varchar, PRIMARY KEY (product_id)); create table products_for_hire (product_name varchar, product_id varchar, PRIMARY KEY (product_name))
|
select t2.product_name from view_product_availability as t1 join products_for_hire as t2 on t1.product_id = t2.product_id where t1.available_yn = 1
|
List the names of climbers whose country is not Switzerland.
|
create table climber (name varchar, country varchar, PRIMARY KEY (name))
|
select name from climber where country <> "switzerland"
|
Name the vessel type for beluga shipping
|
create table table_26168687_5 (vessel_type varchar, vessel_operator varchar, PRIMARY KEY (vessel_type))
|
select vessel_type from table_26168687_5 where vessel_operator = "beluga shipping"
|
Name the total number of awardees for best screenplay
|
create table table_24446718_3 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_))
|
select count(awardee_s_) from table_24446718_3 where name_of_award = "best screenplay"
|
Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)?
|
create table table_22834834_3 (surface varchar, score_in_the_final varchar, PRIMARY KEY (surface))
|
select surface from table_22834834_3 where score_in_the_final = "6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)"
|
What is the region 1 where region 4 is tba is the complete eighth series?
|
create table table_1337525_1 (region_1 varchar, region_4 varchar, complete_series varchar, PRIMARY KEY (region_1))
|
select region_1 from table_1337525_1 where region_4 = "tba" and complete_series = "the complete eighth series"
|
In how many locations was the game against Barcelona Dragons played?
|
create table table_1941183_2 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))
|
select count(game_site) from table_1941183_2 where opponent = "barcelona dragons"
|
Name the lower index kcal/ nm3 for 61.32
|
create table table_1868929_1 (lower_index_kcal__nm_3 varchar, upper_index_mj__nm_3 varchar, PRIMARY KEY (lower_index_kcal__nm_3))
|
select lower_index_kcal__nm_3 from table_1868929_1 where upper_index_mj__nm_3 = "61.32"
|
What's the number of verbal nouns with the basic stem (root) -bil-?
|
create table table_12784134_1 (verbal_noun varchar, basic_stem__root_ varchar, PRIMARY KEY (verbal_noun))
|
select count(verbal_noun) from table_12784134_1 where basic_stem__root_ = "-bil-"
|
How many junctions have "replaced by bsi-35" listed in their remarks section?
|
create table table_11336756_6 (junctions varchar, remarks varchar, PRIMARY KEY (junctions))
|
select count(junctions) from table_11336756_6 where remarks = "replaced by bsi-35"
|
Which college did the player attend that went to Mission Viejo High School?
|
create table table_11677691_4 (college varchar, school varchar, PRIMARY KEY (college))
|
select college from table_11677691_4 where school = "mission viejo high school"
|
How many values of r z (arcsecond) correspond with a r y (arcsecond) value of −0.247?
|
create table table_15318324_1 (r_z___arcsecond__ varchar, r_y___arcsecond__ varchar, PRIMARY KEY (r_z___arcsecond__))
|
select r_z___arcsecond__ from table_15318324_1 where r_y___arcsecond__ = "−0.247"
|
What is the rank where the area is Los Angeles?
|
create table table_1131183_2 (rank___wjc__ varchar, metro_area varchar, PRIMARY KEY (rank___wjc__))
|
select rank___wjc__ from table_1131183_2 where metro_area = "los angeles"
|
How many Latin Americans lived in 2011 in Saskatchewan?
|
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 = "saskatchewan"
|
what's the party with brooklyn value of 51.0%
|
create table table_1108394_43 (party varchar, brooklyn varchar, PRIMARY KEY (party))
|
select party from table_1108394_43 where brooklyn = "51.0_percentage"
|
What are the vocal types used in song "Le Pop"?
|
create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))
|
select type from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = "le pop"
|
In how many different categories is the value of C_{low} 35.5?
|
create table table_1942366_9 (category varchar, low varchar, PRIMARY KEY (category))
|
select count(category) from table_1942366_9 where struct(low) = "35.5"
|
In the Class T, what is the total of the 1958 UTA?
|
create table t (id varchar, PRIMARY KEY (id))
|
select count(1958 as _uta) from "t" as able_name_49 where class = "t"
|
How many prefectures have a population density of 16 people/kilometers squared?
|
create table table_221398_1 (pop_density___km²_ varchar, number_in_map varchar, PRIMARY KEY (pop_density___km²_))
|
select count(pop_density___km²_) from table_221398_1 where number_in_map = "16"
|
What is the name of party with most number of members?
|
create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table member (party_id varchar, PRIMARY KEY (party_id))
|
select t2.party_name from member as t1 join party as t2 on t1.party_id = t2.party_id group by t1.party_id order by count(*) desc limit 1
|
Which state does congressman jim demint represent?
|
create table table_20803065_1 (state varchar, senator varchar, PRIMARY KEY (state))
|
select state from table_20803065_1 where senator = "jim demint"
|
how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%?
|
create table table_2668347_14 (party varchar, candidates varchar, PRIMARY KEY (party))
|
select count(party) from table_2668347_14 where candidates = "thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%"
|
What is the amoun of marginal ordinary income tax rate where married filing jointly or qualified widow is $208,851–$372,950?
|
create table table_11647327_2 (marginal_ordinary_income_tax_rate varchar, married_filing_jointly_or_qualified_widow_er_ varchar, PRIMARY KEY (marginal_ordinary_income_tax_rate))
|
select count(marginal_ordinary_income_tax_rate) from table_11647327_2 where married_filing_jointly_or_qualified_widow_er_ = "$208,851–$372,950"
|
Show the type of school and the number of buses for each type.
|
create table school (type varchar, school_id varchar, PRIMARY KEY (type)); create table school_bus (school_id varchar, PRIMARY KEY (school_id))
|
select t2.type, count(*) from school_bus as t1 join school as t2 on t1.school_id = t2.school_id group by t2.type
|
where catalog number is 81258 , what are all the studio ?
|
create table table_11222744_2 (studio varchar, catalog_number varchar, PRIMARY KEY (studio))
|
select studio from table_11222744_2 where catalog_number = "81258"
|
What was the stats of Trinidad and Tobago
|
create table table_1231316_4 (wind__m_s_ varchar, country varchar, PRIMARY KEY (wind__m_s_))
|
select wind__m_s_ from table_1231316_4 where country = "trinidad and tobago"
|
What is the last name of the author that has published the most papers?
|
create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table authors (lname varchar, fname varchar, authid varchar, PRIMARY KEY (lname)); create table papers (paperid varchar, PRIMARY KEY (paperid))
|
select t1.lname from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid group by t1.fname, t1.lname order by count(*) desc limit 1
|
Show all student IDs with more than total 10 hours per week on all sports played.
|
create table sportsinfo (stuid varchar, hoursperweek integer, PRIMARY KEY (stuid))
|
select stuid from sportsinfo group by stuid having sum(hoursperweek) > 10
|
What is the location of the institution nicknamed Lions?
|
create table table_2562113_1 (location varchar, nickname varchar, PRIMARY KEY (location))
|
select location from table_2562113_1 where nickname = "lions"
|
Who in the original Toronto cast played the character played by Kate Rockwell in the current Broadway cast?
|
create table table_19529639_3 (original_toronto_cast varchar, current_broadway_cast varchar, PRIMARY KEY (original_toronto_cast))
|
select original_toronto_cast from table_19529639_3 where current_broadway_cast = "kate rockwell"
|
What is the description of the restaurant type Sandwich?
|
create table restaurant_type (restypedescription varchar, restypename varchar, PRIMARY KEY (restypedescription))
|
select restypedescription from restaurant_type where restypename = "sandwich"
|
How many activities do we have?
|
create table activity (id varchar, PRIMARY KEY (id))
|
select count(*) from activity
|
Show the id, name of each festival and the number of artworks it has nominated.
|
create table nomination (festival_id varchar, artwork_id varchar, PRIMARY KEY (festival_id)); create table festival_detail (festival_name varchar, festival_id varchar, PRIMARY KEY (festival_name)); create table artwork (artwork_id varchar, PRIMARY KEY (artwork_id))
|
select t1.festival_id, t3.festival_name, count(*) from nomination as t1 join artwork as t2 on t1.artwork_id = t2.artwork_id join festival_detail as t3 on t1.festival_id = t3.festival_id group by t1.festival_id
|
What are the largest ethnic groups where the cyrillic name and other names is пачир (hungarian: pacsér)?
|
create table table_2562572_27 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))
|
select largest_ethnic_group__2002_ from table_2562572_27 where cyrillic_name_other_names = "пачир (hungarian: pacsér)"
|
What is the calling at for the 09.50 departure?
|
create table table_18332845_2 (calling_at varchar, departure varchar, PRIMARY KEY (calling_at))
|
select calling_at from table_18332845_2 where departure = "09.50"
|
Find number of tracks in each genre?
|
create table tracks (genre_id varchar, PRIMARY KEY (genre_id)); create table genres (name varchar, id varchar, PRIMARY KEY (name))
|
select count(*), t1.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id group by t1.name
|
What's the name of the course with most number of enrollments?
|
create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_enrolment_courses (course_id varchar, PRIMARY KEY (course_id))
|
select t1.course_name from courses as t1 join student_enrolment_courses as t2 on t1.course_id = t2.course_id group by t1.course_name order by count(*) desc limit 1
|
When Spencer is the county what is the in no.?
|
create table table_14253123_1 (in_no varchar, county_name varchar, PRIMARY KEY (in_no))
|
select in_no from table_14253123_1 where county_name = "spencer"
|
How many statuses are listed for the parish officially named Gagetown?
|
create table table_171356_2 (status varchar, official_name varchar, PRIMARY KEY (status))
|
select count(status) from table_171356_2 where official_name = "gagetown"
|
What time was the highest for 2nd finishers?
|
create table table_10021158_3 (id varchar, PRIMARY KEY (id))
|
select max(2 as nd) from table_10021158_3
|
What is the team Sussex' highest score?
|
create table table_27268238_4 (highest_score varchar, team varchar, PRIMARY KEY (highest_score))
|
select highest_score from table_27268238_4 where team = "sussex"
|
What was the number of viewers in millions for the broadcast from 2010?
|
create table table_24212608_1 (viewers__millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__millions_))
|
select viewers__millions_ from table_24212608_1 where broadcast_date = 2010
|
What is the broadcast date when 8.3 million viewers watched?
|
create table table_1785117_1 (broadcast_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (broadcast_date))
|
select broadcast_date from table_1785117_1 where viewers__in_millions_ = "8.3"
|
List the names of countries whose language is not "German".
|
create table country (name varchar, languages varchar, PRIMARY KEY (name))
|
select name from country where languages <> "german"
|
Find name of the services that has never been used.
|
create table services (service_name varchar, PRIMARY KEY (service_name)); create table party_services (service_id varchar, PRIMARY KEY (service_id)); create table services (service_name varchar, service_id varchar, PRIMARY KEY (service_name))
|
select service_name from services except select t1.service_name from services as t1 join party_services as t2 on t1.service_id = t2.service_id
|
who was executed during president charles de gaulle's reign for thr crime of child murder after rape?
|
create table table_2861364_1 (executed_person varchar, under_president varchar, crime varchar, PRIMARY KEY (executed_person))
|
select executed_person from table_2861364_1 where under_president = "charles de gaulle" and crime = "child murder after rape"
|
What is the running of marlene sanchez?
|
create table table_12407546_2 (running varchar, athlete varchar, PRIMARY KEY (running))
|
select running from table_12407546_2 where athlete = "marlene sanchez"
|
What are the numbers for the order number 713096-713119?
|
create table table_2351952_1 (numbers varchar, order_number varchar, PRIMARY KEY (numbers))
|
select numbers from table_2351952_1 where order_number = "713096-713119"
|
Find the number of reviews.
|
create table review (id varchar, PRIMARY KEY (id))
|
select count(*) from review
|
What is every value for Monday August 24 if Friday August 28 is 23' 22.25 96.864mph?
|
create table table_23465864_5 (mon_24_aug varchar, fri_28_aug varchar, PRIMARY KEY (mon_24_aug))
|
select mon_24_aug from table_23465864_5 where fri_28_aug = "23' 22.25 96.864mph"
|
When did the Prime Minister of Italy take office?
|
create table table_10026563_1 (entered_office_as_head_of_state_or_government varchar, office varchar, PRIMARY KEY (entered_office_as_head_of_state_or_government))
|
select entered_office_as_head_of_state_or_government from table_10026563_1 where office = "prime minister of italy"
|
What is the theme where the original artist is Noemi feat. Fiorella Mannoia?
|
create table table_25374338_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))
|
select theme from table_25374338_1 where original_artist = "noemi feat. fiorella mannoia"
|
Which city has a school where the nickname is Pioneers?
|
create table table_262560_2 (location varchar, nickname varchar, PRIMARY KEY (location))
|
select location from table_262560_2 where nickname = "pioneers"
|
What is the mascot for the instition of Kansas city Kansas community college?
|
create table table_12434380_1 (mascot varchar, institution varchar, PRIMARY KEY (mascot))
|
select mascot from table_12434380_1 where institution = "kansas city kansas community college"
|
Name the dates for margin of victory being 5 strokes
|
create table table_1628792_1 (dates varchar, margin_of_victory varchar, PRIMARY KEY (dates))
|
select count(dates) from table_1628792_1 where margin_of_victory = "5 strokes"
|
Find the name of the candidates whose oppose percentage is the lowest for each sex.
|
create table candidate (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, sex varchar, people_id varchar, PRIMARY KEY (name))
|
select t1.name, t1.sex, min(oppose_rate) from people as t1 join candidate as t2 on t1.people_id = t2.people_id group by t1.sex
|
Show names of actors and names of musicals they are in.
|
create table actor (name varchar, musical_id varchar, PRIMARY KEY (name)); create table musical (name varchar, musical_id varchar, PRIMARY KEY (name))
|
select t1.name, t2.name from actor as t1 join musical as t2 on t1.musical_id = t2.musical_id
|
How many writers were there in the episode directed by Charles Haid?
|
create table table_23255941_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))
|
select count(written_by) from table_23255941_1 where directed_by = "charles haid"
|
Name the driver for race time being 2:34:21
|
create table table_16493961_1 (driver varchar, race_time varchar, PRIMARY KEY (driver))
|
select driver from table_16493961_1 where race_time = "2:34:21"
|
Which teams won when Bobby Rahal was their winning driver?
|
create table table_10706961_2 (winning_team varchar, winning_driver varchar, PRIMARY KEY (winning_team))
|
select winning_team from table_10706961_2 where winning_driver = "bobby rahal"
|
What was the GF attendance at the location of Sydney Football Stadium, Sydney (6)?
|
create table table_11236195_2 (gf_attendance varchar, location varchar, PRIMARY KEY (gf_attendance))
|
select count(gf_attendance) from table_11236195_2 where location = "sydney football stadium, sydney (6)"
|
How man teams have a writer named harry angus?
|
create table table_28243323_1 (name_of_team_song varchar, writer_composer varchar, PRIMARY KEY (name_of_team_song))
|
select count(name_of_team_song) from table_28243323_1 where writer_composer = "harry angus"
|
What is the education in Nepal?
|
create table table_23050383_1 (education varchar, country varchar, PRIMARY KEY (education))
|
select education from table_23050383_1 where country = "nepal"
|
What are the entry names of catalog with the attribute possessed by most entries.
|
create table catalog_contents_additional_attributes (catalog_entry_id varchar, attribute_value varchar, PRIMARY KEY (catalog_entry_id)); create table catalog_contents (catalog_entry_name varchar, catalog_entry_id varchar, PRIMARY KEY (catalog_entry_name)); create table catalog_contents_additional_attributes (attribute_value varchar, PRIMARY KEY (attribute_value))
|
select t1.catalog_entry_name from catalog_contents as t1 join catalog_contents_additional_attributes as t2 on t1.catalog_entry_id = t2.catalog_entry_id where t2.attribute_value = (select attribute_value from catalog_contents_additional_attributes group by attribute_value order by count(*) desc limit 1)
|
Name the competition of panathinaikos
|
create table table_17594659_1 (competition varchar, opposition varchar, PRIMARY KEY (competition))
|
select competition from table_17594659_1 where opposition = "panathinaikos"
|
When Yaroslav Popovych won most corageous, who won the mountains classification?
|
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 = "yaroslav popovych"
|
What are the home team scores when richmond is the home team?
|
create table table_16388506_1 (home_team varchar, PRIMARY KEY (home_team))
|
select home_team as score from table_16388506_1 where home_team = "richmond"
|
What is the location for the office whose term ended December 2, 1976
|
create table table_1602620_1 (location varchar, term_ended varchar, PRIMARY KEY (location))
|
select location from table_1602620_1 where term_ended = "december 2, 1976"
|
If the team in the New England Patriots, what is the super bowl championship minimum number?
|
create table table_1952057_5 (super_bowl_championships integer, team varchar, PRIMARY KEY (super_bowl_championships))
|
select min(super_bowl_championships) from table_1952057_5 where team = "new england patriots"
|
What is the total number of television channels when one of the radio stations is onda madrid?
|
create table table_23143607_1 (television_channels varchar, radio_stations varchar, PRIMARY KEY (television_channels))
|
select count(television_channels) from table_23143607_1 where radio_stations = "onda madrid"
|
When did the club UNAM played the first season in top division?
|
create table table_18143210_2 (first_season_in_top_division varchar, club varchar, PRIMARY KEY (first_season_in_top_division))
|
select first_season_in_top_division from table_18143210_2 where club = "unam"
|
Name the comprehension for non-fluent, effortful, slow
|
create table table_2088_1 (auditory_comprehension varchar, fluency varchar, PRIMARY KEY (auditory_comprehension))
|
select auditory_comprehension from table_2088_1 where fluency = "non-fluent, effortful, slow"
|
give the location of subtrate coproporphyrinogen iii
|
create table table_182499_1 (location varchar, substrate varchar, PRIMARY KEY (location))
|
select location from table_182499_1 where substrate = "coproporphyrinogen iii"
|
What is the coverage of relay 5kw of dyfj-tv?
|
create table table_12379297_1 (coverage__transmitter_site_ varchar, callsign varchar, station_type varchar, power__kw_ varchar, PRIMARY KEY (coverage__transmitter_site_))
|
select coverage__transmitter_site_ from table_12379297_1 where station_type = "relay" and power__kw_ = "5kw" and callsign = "dyfj-tv"
|
If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size?
|
create table table_26211058_1 (specimen_weight_size varchar, calculated_activity___ci__ varchar, PRIMARY KEY (specimen_weight_size))
|
select specimen_weight_size from table_26211058_1 where calculated_activity___ci__ = "4.96×10 −11"
|
In what season did the team get in the conference finals of the playoffs?
|
create table table_1939214_1 (regular_season varchar, playoffs varchar, PRIMARY KEY (regular_season))
|
select regular_season from table_1939214_1 where playoffs = "conference finals"
|
HOW MANY MODELS WERE ON THE COVER OF THE ISSUE WHERE THE CENTERFOLD WAS STEPHANIE LARIMORE?
|
create table table_1566852_7 (cover_model varchar, centerfold_model varchar, PRIMARY KEY (cover_model))
|
select count(cover_model) from table_1566852_7 where centerfold_model = "stephanie larimore"
|
When 27,822 (72.3) is the percentage for how many electorate measurements are there?
|
create table table_20683381_3 (electorate varchar, for___percentage_ varchar, PRIMARY KEY (electorate))
|
select count(electorate) from table_20683381_3 where for___percentage_ = "27,822 (72.3)"
|
What is HSN's official virtual channel in Minneapolis-St. Paul?
|
create table table_1404984_1 (virtual_channel varchar, network varchar, PRIMARY KEY (virtual_channel))
|
select virtual_channel from table_1404984_1 where network = "hsn"
|
What is every pregame analyst with Chris Rose as trophy presenter?
|
create table table_2941848_2 (pregame_analysts varchar, trophy_presentation varchar, PRIMARY KEY (pregame_analysts))
|
select pregame_analysts from table_2941848_2 where trophy_presentation = "chris rose"
|
What's part 1 of the verb whose part 4 is gevroren?
|
create table table_1745843_7 (part_1 varchar, part_4 varchar, PRIMARY KEY (part_1))
|
select part_1 from table_1745843_7 where part_4 = "gevroren"
|
What is the date when the document "Marry CV" was stored?
|
create table all_documents (date_stored varchar, document_name varchar, PRIMARY KEY (date_stored))
|
select date_stored from all_documents where document_name = "marry cv"
|
What is the budget type code with most number of documents.
|
create table documents_with_expenses (budget_type_code varchar, PRIMARY KEY (budget_type_code))
|
select budget_type_code from documents_with_expenses group by budget_type_code order by count(*) desc limit 1
|
What is the last name of the musician that has been at the back position the most?
|
create table band (lastname varchar, id varchar, PRIMARY KEY (lastname)); create table performance (bandmate varchar, PRIMARY KEY (bandmate))
|
select t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id where stageposition = "back" group by lastname order by count(*) desc limit 1
|
How many paragraphs for the document with name 'Summer Show'?
|
create table documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id)); create table paragraphs (document_id varchar, PRIMARY KEY (document_id))
|
select count(*) from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = 'summer show'
|
Where was the 2011-2012 soccer state tournament held?
|
create table table_2849652_2 (sport varchar, PRIMARY KEY (sport))
|
select 2011 as _2012_state_tournament_location from table_2849652_2 where sport = "soccer"
|
What are the unique types of player positions in the tryout?
|
create table tryout (ppos varchar, PRIMARY KEY (ppos))
|
select count(distinct ppos) from tryout
|
For the game whose developer was Ailive, is it a Move-only release?
|
create table table_26538035_1 (move_only varchar, developer varchar, PRIMARY KEY (move_only))
|
select move_only from table_26538035_1 where developer = "ailive"
|
What is the average horizontal bar points for all gymnasts?
|
create table gymnast (horizontal_bar_points integer, PRIMARY KEY (horizontal_bar_points))
|
select avg(horizontal_bar_points) from gymnast
|
what are the lines served where station users is 210076?
|
create table table_14748457_1 (lines_served varchar, station_users_2008_9 varchar, PRIMARY KEY (lines_served))
|
select lines_served from table_14748457_1 where station_users_2008_9 = "210076"
|
How many tasks are there in total?
|
create table tasks (id varchar, PRIMARY KEY (id))
|
select count(*) from tasks
|
Who was in the election that was for incumbent bud shuster's seat?
|
create table table_1341522_41 (opponent varchar, incumbent varchar, PRIMARY KEY (opponent))
|
select opponent from table_1341522_41 where incumbent = "bud shuster"
|
What is the institution whose current conference is gcac (naia)?
|
create table table_262481_2 (institution varchar, current_conference varchar, PRIMARY KEY (institution))
|
select institution from table_262481_2 where current_conference = "gcac (naia)"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.