question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
How many airlines does Russia has?
|
create table airlines (country varchar, PRIMARY KEY (country))
|
select count(*) from airlines where country = 'russia'
|
who is the of the shield winnerin which the mls cup runner-up and mls cup winner is real salt lake?
|
create table table_11148572_1 (mls_cup_runner_up varchar, mls_cup_winner varchar, PRIMARY KEY (mls_cup_runner_up))
|
select mls_cup_runner_up from table_11148572_1 where mls_cup_winner = "real salt lake"
|
What date did De Vries start?
|
create table table_12608427_8 (started varchar, name varchar, PRIMARY KEY (started))
|
select started from table_12608427_8 where name = "de vries"
|
Name the largest ethnic group for kosančić
|
create table table_2562572_20 (largest_ethnic_group__2002_ varchar, settlement varchar, PRIMARY KEY (largest_ethnic_group__2002_))
|
select largest_ethnic_group__2002_ from table_2562572_20 where settlement = "kosančić"
|
Who had the mountains classification when borut božič was the winner?
|
create table table_25655781_17 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))
|
select mountains_classification from table_25655781_17 where winner = "borut božič"
|
Find the number of clubs where "Tracy Kim" is a member.
|
create table student (stuid varchar, fname varchar, lname varchar, PRIMARY KEY (stuid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubid varchar, PRIMARY KEY (clubid))
|
select count(*) from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.fname = "tracy" and t3.lname = "kim"
|
how many arabic in colobians is finnish
|
create table table_24807774_1 (arabic varchar, colombian varchar, PRIMARY KEY (arabic))
|
select arabic from table_24807774_1 where colombian = "finnish"
|
What is the most popular first name of the actors?
|
create table actor (first_name varchar, PRIMARY KEY (first_name))
|
select first_name from actor group by first_name order by count(*) desc limit 1
|
What country is the show aired on TVNZ?
|
create table table_14523485_9 (country varchar, channel varchar, PRIMARY KEY (country))
|
select country from table_14523485_9 where channel = "tvnz"
|
What are the id of problems reported by the staff named Dameon Frami or Jolie Weber?
|
create table staff (staff_id varchar, staff_first_name varchar, staff_last_name varchar, PRIMARY KEY (staff_id)); create table problems (reported_by_staff_id varchar, PRIMARY KEY (reported_by_staff_id))
|
select product_id from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where t2.staff_first_name = "dameon" and t2.staff_last_name = "frami" union select product_id from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where t2.staff_first_name = "jolie" and t2.staff_last_name = "weber"
|
What are the names of all clubs?
|
create table club (clubname varchar, PRIMARY KEY (clubname))
|
select clubname from club
|
Which terminations correspond with headphone model SR80I?
|
create table table_1601027_1 (termination varchar, headphone_model varchar, PRIMARY KEY (termination))
|
select termination from table_1601027_1 where headphone_model = "sr80i"
|
Name the master recording for europe
|
create table table_22457674_1 (master_recording varchar, artist varchar, PRIMARY KEY (master_recording))
|
select master_recording from table_22457674_1 where artist = "europe"
|
What is the hometown of the players for de la salle high school
|
create table table_11677691_12 (hometown varchar, school varchar, PRIMARY KEY (hometown))
|
select hometown from table_11677691_12 where school = "de la salle high school"
|
how many premieres had the episode that had 12.68 millions of north american viewers?
|
create table table_2791668_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))
|
select count(original_air_date) from table_2791668_1 where us_viewers__millions_ = "12.68"
|
what percent of slovenes did the village called čahorče in slovenian have in 1991?
|
create table table_10797463_1 (percent_of_slovenes_1991 varchar, village__slovenian_ varchar, PRIMARY KEY (percent_of_slovenes_1991))
|
select percent_of_slovenes_1991 from table_10797463_1 where village__slovenian_ = "čahorče"
|
What are all the section titles of the document named "David CV"?
|
create table documents (document_code varchar, document_name varchar, PRIMARY KEY (document_code)); create table document_sections (section_title varchar, document_code varchar, PRIMARY KEY (section_title))
|
select t2.section_title from documents as t1 join document_sections as t2 on t1.document_code = t2.document_code where t1.document_name = "david cv"
|
What was the competition when there was no competition for mens doubles?
|
create table table_15001572_1 (womens_doubles varchar, mens_doubles varchar, PRIMARY KEY (womens_doubles))
|
select womens_doubles from table_15001572_1 where mens_doubles = "no competition"
|
what is the maximum total region with fitzroy being 8047
|
create table table_12570207_1 (total_region integer, fitzroy varchar, PRIMARY KEY (total_region))
|
select max(total_region) from table_12570207_1 where fitzroy = 8047
|
Show all template type codes and the number of documents using each type.
|
create table documents (template_id varchar, PRIMARY KEY (template_id)); create table templates (template_type_code varchar, template_id varchar, PRIMARY KEY (template_type_code))
|
select t1.template_type_code, count(*) from templates as t1 join documents as t2 on t1.template_id = t2.template_id group by t1.template_type_code
|
what is the name of the episode directed by james bobin
|
create table table_29803475_3 (title varchar, directed_by varchar, PRIMARY KEY (title))
|
select title from table_29803475_3 where directed_by = "james bobin"
|
Name the host for prime
|
create table table_16884579_1 (host_s_ varchar, network varchar, PRIMARY KEY (host_s_))
|
select host_s_ from table_16884579_1 where network = "prime"
|
What won est pc intro when 4k0 (polka brothers) won best amiga intro?
|
create table table_2490289_1 (pc_intro varchar, amiga_intro varchar, PRIMARY KEY (pc_intro))
|
select pc_intro from table_2490289_1 where amiga_intro = "4k0 (polka brothers)"
|
Which celebrity was raised 03?
|
create table table_12286195_1 (celebrity varchar, raised varchar, PRIMARY KEY (celebrity))
|
select celebrity from table_12286195_1 where raised = "03"
|
Find the last names of the teachers that teach fifth grade.
|
create table list (classroom varchar, PRIMARY KEY (classroom)); create table teachers (lastname varchar, classroom varchar, PRIMARY KEY (lastname))
|
select distinct t2.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where grade = 5
|
What are all the operating systems for sbagen?
|
create table table_15038373_1 (operating_systems varchar, software varchar, PRIMARY KEY (operating_systems))
|
select operating_systems from table_15038373_1 where software = "sbagen"
|
List the ship with 1x115-2x70-2x12-pounders for primary artillery.
|
create table table_23614702_2 (warship varchar, main_artillery varchar, PRIMARY KEY (warship))
|
select warship from table_23614702_2 where main_artillery = "1x115-2x70-2x12-pounders"
|
how many times was the exposures 53?
|
create table table_2583036_1 (camera varchar, exposures varchar, PRIMARY KEY (camera))
|
select count(camera) from table_2583036_1 where exposures = 53
|
How many teams were there when chris bosh , lebron james (8) had the high rebounds?
|
create table table_27713030_16 (team varchar, high_rebounds varchar, PRIMARY KEY (team))
|
select count(team) from table_27713030_16 where high_rebounds = "chris bosh , lebron james (8)"
|
How much absorption in nm does the orange dye have?
|
create table table_26428602_1 (absorb__nm_ integer, color varchar, PRIMARY KEY (absorb__nm_))
|
select min(absorb__nm_) from table_26428602_1 where color = "orange"
|
Which accelerator name contains substring "Opera"?
|
create table web_client_accelerator (name varchar, PRIMARY KEY (name))
|
select name from web_client_accelerator where name like "%opera%"
|
What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?
|
create table table_2267345_2 (winner varchar, team_classification varchar, combativity_award varchar, PRIMARY KEY (winner))
|
select count(winner) from table_2267345_2 where team_classification = "kelme-costa blanca" and combativity_award = "jacky durand"
|
What is the name of person that scored 10 goals?
|
create table table_11585313_1 (name varchar, number_of_goals varchar, PRIMARY KEY (name))
|
select name from table_11585313_1 where number_of_goals = 10
|
what is the virtual callsign if is wnet
|
create table table_1979203_1 (_virtual_ varchar, callsign varchar, PRIMARY KEY (_virtual_))
|
select _virtual_ from table_1979203_1 where callsign = "wnet"
|
How many nicknames does the school in Newark, DE have
|
create table table_16432543_1 (nickname varchar, location varchar, PRIMARY KEY (nickname))
|
select count(nickname) from table_16432543_1 where location = "newark, de"
|
how many times was the catalog number cal05 / 0091037137357?
|
create table table_27303975_3 (title varchar, catalog_number varchar, PRIMARY KEY (title))
|
select count(title) from table_27303975_3 where catalog_number = "cal05 / 0091037137357"
|
List all candidates in the democratic party where the election had the incumbent Frank Chelf running.
|
create table table_1342218_17 (candidates varchar, party varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_1342218_17 where party = "democratic" and incumbent = "frank chelf"
|
How many people wrote the episode with 3.40 million U.S viewers?
|
create table table_26748252_1 (written_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (written_by))
|
select count(written_by) from table_26748252_1 where us_viewers__in_millions_ = "3.40"
|
What was the surface for the opponents in the final with fitzgerald vilas?
|
create table table_22597626_17 (surface varchar, opponents_in_the_final varchar, PRIMARY KEY (surface))
|
select surface from table_22597626_17 where opponents_in_the_final = "fitzgerald vilas"
|
How many engineers did each staff contact? List both the contact staff name and number of engineers contacted.
|
create table engineer_visits (contact_staff_id varchar, PRIMARY KEY (contact_staff_id)); create table staff (staff_name varchar, staff_id varchar, PRIMARY KEY (staff_name))
|
select t1.staff_name, count(*) from staff as t1 join engineer_visits as t2 on t1.staff_id = t2.contact_staff_id group by t1.staff_name
|
What's the report of the race won by Michael Andretti, with Nigel Mansell driving the fastest lap?
|
create table table_19908651_3 (report varchar, winning_driver varchar, fastest_lap varchar, PRIMARY KEY (report))
|
select report from table_19908651_3 where winning_driver = "michael andretti" and fastest_lap = "nigel mansell"
|
Show all countries and the number of people from each country.
|
create table people (country varchar, PRIMARY KEY (country))
|
select country, count(*) from people group by country
|
Name the playoffs for 2nd round open cup
|
create table table_14240688_1 (playoffs varchar, open_cup varchar, PRIMARY KEY (playoffs))
|
select playoffs from table_14240688_1 where open_cup = "2nd round"
|
What is the membership card held by both members living in Hartford and ones living in Waterbury address?
|
create table member (membership_card varchar, address varchar, PRIMARY KEY (membership_card))
|
select membership_card from member where address = 'hartford' intersect select membership_card from member where address = 'waterbury'
|
Why did Majid bagherinia leave?
|
create table table_22297198_3 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))
|
select manner_of_departure from table_22297198_3 where outgoing_manager = "majid bagherinia"
|
What is the finished place where exited is day 11?
|
create table table_14345690_5 (finished varchar, exited varchar, PRIMARY KEY (finished))
|
select finished from table_14345690_5 where exited = "day 11"
|
What is the name of the episode that aired originally on November 10, 1998?
|
create table table_228973_5 (title varchar, original_air_date varchar, PRIMARY KEY (title))
|
select title from table_228973_5 where original_air_date = "november 10, 1998"
|
When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the population (2010) (rank)?
|
create table table_14253123_1 (population__2010___rank_ varchar, area_sq_mi__km_2____rank_ varchar, PRIMARY KEY (population__2010___rank_))
|
select population__2010___rank_ from table_14253123_1 where area_sq_mi__km_2____rank_ = "sqmi (km2) (5)"
|
List all program origins in the alphabetical order.
|
create table program (origin varchar, PRIMARY KEY (origin))
|
select origin from program order by origin
|
When 1-1-0-0-1-1-0-0- is the graphical how many ignition timings are there?
|
create table table_22915134_2 (ignition_timing varchar, graphical varchar, PRIMARY KEY (ignition_timing))
|
select count(ignition_timing) from table_22915134_2 where graphical = "1-1-0-0-1-1-0-0-"
|
What is the percentage of registered voters in which the d-r spread is +10.4%?
|
create table table_27003223_4 (registered_voters varchar, d_r_spread varchar, PRIMARY KEY (registered_voters))
|
select registered_voters from table_27003223_4 where d_r_spread = "+10.4%"
|
What is the description of the intact software?
|
create table table_25474825_1 (description varchar, software varchar, PRIMARY KEY (description))
|
select description from table_25474825_1 where software = "intact"
|
How many external (cm 2 ) are there for the .338 lapua magnum chambering?
|
create table table_26967904_2 (a_external__cm_2__ varchar, chambering varchar, PRIMARY KEY (a_external__cm_2__))
|
select count(a_external__cm_2__) from table_26967904_2 where chambering = ".338 lapua magnum"
|
Find all the catalog publishers whose name contains "Murray"
|
create table catalogs (catalog_publisher varchar, PRIMARY KEY (catalog_publisher))
|
select distinct (catalog_publisher) from catalogs where catalog_publisher like "%murray%"
|
Who was the opponent in the game in which Austin Daye (16) did the most high points?
|
create table table_27755603_2 (team varchar, high_points varchar, PRIMARY KEY (team))
|
select team from table_27755603_2 where high_points = "austin daye (16)"
|
What date did the epiode that had 1.37 million as the rating originally air?
|
create table table_27218002_2 (originalairdate varchar, ratings varchar, PRIMARY KEY (originalairdate))
|
select originalairdate from table_27218002_2 where ratings = "1.37 million"
|
What is the enrollment for the school in bottineau?
|
create table table_2076522_2 (enrollment__fall_2010_ varchar, location_s_ varchar, PRIMARY KEY (enrollment__fall_2010_))
|
select enrollment__fall_2010_ from table_2076522_2 where location_s_ = "bottineau"
|
what tims is wed may 28 and mon may 26 is 17' 58.34 125.960mph?
|
create table table_14209455_1 (wed_28_may varchar, mon_26_may varchar, PRIMARY KEY (wed_28_may))
|
select wed_28_may from table_14209455_1 where mon_26_may = "17' 58.34 125.960mph"
|
What is the autonomous community with television channels tpa tpa2 rtpa internacional?
|
create table table_23143607_1 (autonomous_community varchar, television_channels varchar, PRIMARY KEY (autonomous_community))
|
select autonomous_community from table_23143607_1 where television_channels = "tpa tpa2 rtpa internacional"
|
Name the total number of list votes for 20.95%
|
create table table_14834801_1 (list_votes varchar, list_pct varchar, PRIMARY KEY (list_votes))
|
select count(list_votes) from table_14834801_1 where list_pct = "20.95%"
|
What is the percentage for manhattan 45,901?
|
create table table_1108394_24 (_percentage varchar, manhattan varchar, PRIMARY KEY (_percentage))
|
select count(_percentage) from table_1108394_24 where manhattan = "45,901"
|
what is the date (from) where the notes are apeldoornsche tramweg-maatschappij?
|
create table table_12562214_1 (date__from_ varchar, notes varchar, PRIMARY KEY (date__from_))
|
select date__from_ from table_12562214_1 where notes = "apeldoornsche tramweg-maatschappij"
|
during which period did albert baning play?
|
create table table_24565004_3 (period varchar, name varchar, PRIMARY KEY (period))
|
select period from table_24565004_3 where name = "albert baning"
|
Who wrote the episode that was watched by 2.97 million U.S. viewers?
|
create table table_29920800_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))
|
select written_by from table_29920800_1 where us_viewers__million_ = "2.97"
|
Find the description of the most popular role among the users that have logged in.
|
create table users (role_description varchar, role_code varchar, user_login varchar, PRIMARY KEY (role_description)); create table roles (role_description varchar, role_code varchar, user_login varchar, PRIMARY KEY (role_description))
|
select role_description from roles where role_code = (select role_code from users where user_login = 1 group by role_code order by count(*) desc limit 1)
|
Find the title of all the albums of the artist "AC/DC".
|
create table artist (artistid varchar, name varchar, PRIMARY KEY (artistid)); create table album (artistid varchar, PRIMARY KEY (artistid))
|
select title from album as t1 join artist as t2 on t1.artistid = t2.artistid where t2.name = "ac/dc"
|
what is the affiliation of the hilltoppers mascot?
|
create table table_20887670_1 (affiliation varchar, mascot varchar, PRIMARY KEY (affiliation))
|
select affiliation from table_20887670_1 where mascot = "hilltoppers"
|
What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?
|
create table table_16409745_1 (dimensions__mm_ varchar, product varchar, PRIMARY KEY (dimensions__mm_))
|
select dimensions__mm_ from table_16409745_1 where product = "fujitsu fi-6130 a4 series scanner"
|
How many matches as captain were played where Asian Cup played as a captain is Qatar 1988
|
create table table_272865_20 (matches_as_captain varchar, asian_cup_played_as_a_captain varchar, PRIMARY KEY (matches_as_captain))
|
select matches_as_captain from table_272865_20 where asian_cup_played_as_a_captain = "qatar 1988"
|
How many singles does Lisa Stansfield have?
|
create table table_26400075_2 (single varchar, artist varchar, PRIMARY KEY (single))
|
select count(single) from table_26400075_2 where artist = "lisa stansfield"
|
What is the netflow version when vendor and type is pc and servers?
|
create table table_1206114_2 (netflow_version varchar, vendor_and_type varchar, PRIMARY KEY (netflow_version))
|
select netflow_version from table_1206114_2 where vendor_and_type = "pc and servers"
|
Who made the decision on the game where the record was 27-28-11?
|
create table table_27537518_9 (decision varchar, record varchar, PRIMARY KEY (decision))
|
select decision from table_27537518_9 where record = "27-28-11"
|
who is the the writer(s) with original airdate being february 7, 2001
|
create table table_13956521_2 (writer_s_ varchar, original_airdate varchar, PRIMARY KEY (writer_s_))
|
select writer_s_ from table_13956521_2 where original_airdate = "february 7, 2001"
|
Name the air date for alex taub
|
create table table_27504682_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_27504682_1 where written_by = "alex taub"
|
What was the record in the game where McWilliams (8) did the most high rebounds?
|
create table table_19789597_6 (record varchar, high_rebounds varchar, PRIMARY KEY (record))
|
select record from table_19789597_6 where high_rebounds = "mcwilliams (8)"
|
who is the the incumbent with opponent being anthony weiner (d) unopposed
|
create table table_13833770_3 (incumbent varchar, opponent varchar, PRIMARY KEY (incumbent))
|
select incumbent from table_13833770_3 where opponent = "anthony weiner (d) unopposed"
|
How many different years was the name/designation cetme?
|
create table table_26389588_1 (year_of_introduction varchar, name___designation varchar, PRIMARY KEY (year_of_introduction))
|
select count(year_of_introduction) from table_26389588_1 where name___designation = "cetme"
|
What is the date of return for the program for the program "Big Brother"?
|
create table table_29566606_11 (date_of_return varchar, programme varchar, PRIMARY KEY (date_of_return))
|
select date_of_return from table_29566606_11 where programme = "big brother"
|
How many locations have the call signs dxjp-fm?
|
create table table_17487395_1 (location varchar, callsign varchar, PRIMARY KEY (location))
|
select count(location) from table_17487395_1 where callsign = "dxjp-fm"
|
how many times is the name of film narmeen?
|
create table table_25926120_7 (cash_prize varchar, name_of_film varchar, PRIMARY KEY (cash_prize))
|
select count(cash_prize) from table_25926120_7 where name_of_film = "narmeen"
|
Name the most top 10s for 2 best finish
|
create table table_2112220_6 (top_10s integer, best_finish varchar, PRIMARY KEY (top_10s))
|
select max(top_10s) from table_2112220_6 where best_finish = "2"
|
Name the deceased spouse for length of marriage being 24 years
|
create table table_24143253_1 (deceased_spouse varchar, length_of_marriage varchar, PRIMARY KEY (deceased_spouse))
|
select deceased_spouse from table_24143253_1 where length_of_marriage = "24 years"
|
What is the 2006-2007 points total number if the team is Saracens?
|
create table table_23215145_2 (team varchar, PRIMARY KEY (team))
|
select count(2006 as _07_points) from table_23215145_2 where team = "saracens"
|
When the standard stamp duty is 367 what is the percentage over gdp?
|
create table table_1618358_1 (over_gdp__in__percentage_ varchar, standard_stamp_duty varchar, PRIMARY KEY (over_gdp__in__percentage_))
|
select over_gdp__in__percentage_ from table_1618358_1 where standard_stamp_duty = "367"
|
What are the records of games where high rebounds is amar'e stoudemire (11)
|
create table table_17340355_6 (record varchar, high_rebounds varchar, PRIMARY KEY (record))
|
select count(record) from table_17340355_6 where high_rebounds = "amar'e stoudemire (11)"
|
When did the show directed by Michael Dimartino first air?
|
create table table_14724369_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_14724369_1 where directed_by = "michael dimartino"
|
where is the private/presbyterian institute
|
create table table_1974632_1 (location varchar, type varchar, PRIMARY KEY (location))
|
select location from table_1974632_1 where type = "private/presbyterian"
|
How many times is the title am/pm callanetics?
|
create table table_27303975_3 (studio varchar, title varchar, PRIMARY KEY (studio))
|
select count(studio) from table_27303975_3 where title = "am/pm callanetics"
|
In seris episode 11-04, what is the B segment titled?
|
create table table_15187735_11 (segment_b varchar, series_ep varchar, PRIMARY KEY (segment_b))
|
select segment_b from table_15187735_11 where series_ep = "11-04"
|
which countries' tv channels are playing some cartoon written by Todd Casey?
|
create table tv_channel (country varchar, id varchar, PRIMARY KEY (country)); create table cartoon (channel varchar, written_by varchar, PRIMARY KEY (channel))
|
select t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.written_by = 'todd casey'
|
What is the branding of metro manila?
|
create table table_12379297_4 (branding varchar, location varchar, PRIMARY KEY (branding))
|
select branding from table_12379297_4 where location = "metro manila"
|
Name the number of spring enrollment for sioux falls seminary
|
create table table_2076557_2 (enrollment__spring_2012_ varchar, school varchar, PRIMARY KEY (enrollment__spring_2012_))
|
select count(enrollment__spring_2012_) from table_2076557_2 where school = "sioux falls seminary"
|
Show all transaction ids with transaction code 'PUR'.
|
create table transactions (transaction_id varchar, transaction_type_code varchar, PRIMARY KEY (transaction_id))
|
select transaction_id from transactions where transaction_type_code = 'pur'
|
Show the location name for document "Robin CV".
|
create table ref_locations (location_name varchar, location_code varchar, PRIMARY KEY (location_name)); create table all_documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id)); create table document_locations (document_id varchar, location_code varchar, PRIMARY KEY (document_id))
|
select t3.location_name from all_documents as t1 join document_locations as t2 on t1.document_id = t2.document_id join ref_locations as t3 on t2.location_code = t3.location_code where t1.document_name = "robin cv"
|
When michael van stayen is the points classification what is the team classification?
|
create table table_28298471_14 (team_classification varchar, points_classification varchar, PRIMARY KEY (team_classification))
|
select team_classification from table_28298471_14 where points_classification = "michael van stayen"
|
Where was the istanbul marathon?
|
create table table_26166836_1 (location varchar, road_race varchar, PRIMARY KEY (location))
|
select location from table_26166836_1 where road_race = "istanbul marathon"
|
Which season titles were directed by Laura Innes?
|
create table table_17355933_1 (title varchar, directed_by varchar, PRIMARY KEY (title))
|
select title from table_17355933_1 where directed_by = "laura innes"
|
What is the Portuguese word for the English word 'grandfather'?
|
create table table_26614365_5 (portuguese varchar, english varchar, PRIMARY KEY (portuguese))
|
select portuguese from table_26614365_5 where english = "grandfather"
|
What is the name of the winning driver where the circuit name is posillipo?
|
create table table_1140105_6 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))
|
select winning_driver from table_1140105_6 where circuit = "posillipo"
|
Find all the male members of club "Hopkins Student Enterprises". Show the first name and last name.
|
create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table student (fname varchar, lname varchar, stuid varchar, sex varchar, PRIMARY KEY (fname)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid))
|
select t3.fname, t3.lname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = "hopkins student enterprises" and t3.sex = "m"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.