question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
who directed the episode that 6.3 million u.s. viewers saw?
|
create table table_27811555_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_27811555_1 where us_viewers__millions_ = "6.3"
|
Find the first names of all the authors who have written a paper with title containing the word "Functional".
|
create table authors (fname varchar, authid varchar, PRIMARY KEY (fname)); create table papers (paperid varchar, title varchar, PRIMARY KEY (paperid)); create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid))
|
select t1.fname from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t3.title like "%functional%"
|
Who is the womens doubles on the tour french super series?
|
create table table_27753492_2 (womens_doubles varchar, tour varchar, PRIMARY KEY (womens_doubles))
|
select womens_doubles from table_27753492_2 where tour = "french super series"
|
With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?
|
create table table_2263152_1 (version varchar, security_issues varchar, distribution_mechanism varchar, PRIMARY KEY (version))
|
select version from table_2263152_1 where security_issues = "98-004" and distribution_mechanism = "microsoft website"
|
Find the number of routes from the United States to Canada.
|
create table airports (dst_apid varchar, src_apid varchar, apid varchar, country varchar, PRIMARY KEY (dst_apid)); create table routes (dst_apid varchar, src_apid varchar, apid varchar, country varchar, PRIMARY KEY (dst_apid))
|
select count(*) from routes where dst_apid in (select apid from airports where country = 'canada') and src_apid in (select apid from airports where country = 'united states')
|
What are all the instruments used?
|
create table instruments (instrument varchar, PRIMARY KEY (instrument))
|
select distinct instrument from instruments
|
What is the department name of the students with lowest gpa belongs to?
|
create table student (dept_code varchar, PRIMARY KEY (dept_code)); create table department (dept_name varchar, dept_code varchar, PRIMARY KEY (dept_name))
|
select t2.dept_name from student as t1 join department as t2 on t1.dept_code = t2.dept_code order by stu_gpa limit 1
|
what's the u.s. open cup status for regular season of 4th, atlantic division
|
create table table_1046170_5 (us_open_cup varchar, regular_season varchar, PRIMARY KEY (us_open_cup))
|
select us_open_cup from table_1046170_5 where regular_season = "4th, atlantic division"
|
Name the proto-austrronesian for *pine, *papine
|
create table table_15568886_14 (proto_austronesian varchar, proto_oceanic varchar, PRIMARY KEY (proto_austronesian))
|
select proto_austronesian from table_15568886_14 where proto_oceanic = "*pine, *papine"
|
How many different nationalities do conductors have?
|
create table conductor (nationality varchar, PRIMARY KEY (nationality))
|
select count(distinct nationality) from conductor
|
How many entries are shown for an air date when the team guest captain was stephen k amos?
|
create table table_25816476_2 (air_date varchar, team_guest_captain varchar, PRIMARY KEY (air_date))
|
select count(air_date) from table_25816476_2 where team_guest_captain = "stephen k amos"
|
What college's team is the Saskatchewan Roughriders?
|
create table table_10812403_4 (college varchar, cfl_team varchar, PRIMARY KEY (college))
|
select college from table_10812403_4 where cfl_team = "saskatchewan roughriders"
|
What are the names of the heads who are born outside the California state?
|
create table head (name varchar, born_state varchar, PRIMARY KEY (name))
|
select name from head where born_state <> 'california'
|
Tell me the least amount of democratic colation
|
create table table_15306124_1 (democratic_coalition integer, PRIMARY KEY (democratic_coalition))
|
select min(democratic_coalition) from table_15306124_1
|
Name the outgoing manager for mutual consent and position 16th
|
create table table_27225944_3 (outgoing_manager varchar, manner_of_departure varchar, position_in_table varchar, PRIMARY KEY (outgoing_manager))
|
select outgoing_manager from table_27225944_3 where manner_of_departure = "mutual consent" and position_in_table = "16th"
|
How many incumbent candidates in the election featuring sam m. gibbons (d) unopposed?
|
create table table_1341690_9 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
|
select count(incumbent) from table_1341690_9 where candidates = "sam m. gibbons (d) unopposed"
|
Who drove the winning car constructed by Jordan - Mugen-Honda?
|
create table table_1137694_3 (winning_driver varchar, winning_constructor varchar, PRIMARY KEY (winning_driver))
|
select winning_driver from table_1137694_3 where winning_constructor = "jordan - mugen-honda"
|
On what air date were there 2.15 million u.s. viewers?
|
create table table_22380270_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_22380270_1 where us_viewers__millions_ = "2.15"
|
What is the netflix code where the series and episode are 4-11?
|
create table table_15187735_4 (netflix varchar, series_ep varchar, PRIMARY KEY (netflix))
|
select netflix from table_15187735_4 where series_ep = "4-11"
|
Who played against team 1 Vitória?
|
create table table_17282875_2 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))
|
select team__number2 from table_17282875_2 where team__number1 = "vitória"
|
Who performed the song named "Le Pop"?
|
create table band (firstname varchar, lastname varchar, id varchar, PRIMARY KEY (firstname)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table songs (songid varchar, title varchar, PRIMARY KEY (songid))
|
select t2.firstname, t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid where t3.title = "le pop"
|
Name the party with edward boland
|
create table table_1341865_23 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1341865_23 where incumbent = "edward boland"
|
what's the constructor with location being hockenheimring
|
create table table_1140074_2 (constructor varchar, location varchar, PRIMARY KEY (constructor))
|
select constructor from table_1140074_2 where location = "hockenheimring"
|
The new entries this round was shown to be 12, in which phase would you find this?
|
create table table_1281200_1 (phase varchar, new_entries_this_round varchar, PRIMARY KEY (phase))
|
select phase from table_1281200_1 where new_entries_this_round = "12"
|
Name the name for visayas
|
create table table_15463188_16 (name varchar, school_club_team varchar, PRIMARY KEY (name))
|
select name from table_15463188_16 where school_club_team = "visayas"
|
Where are the headquarters of the company whose sales were 69.2 billion?
|
create table table_1682026_3 (headquarters varchar, sales__billion_$_ varchar, PRIMARY KEY (headquarters))
|
select headquarters from table_1682026_3 where sales__billion_$_ = "69.2"
|
What programs were held in charleston, illinois?
|
create table table_16275828_4 (program varchar, location varchar, PRIMARY KEY (program))
|
select program from table_16275828_4 where location = "charleston, illinois"
|
How many candidates ran in the election where Wayne Gilchrest was the incumbent?
|
create table table_1341423_20 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select count(candidates) from table_1341423_20 where incumbent = "wayne gilchrest"
|
What is the status of the London Aquatics Centre project at the time of production?
|
create table table_1792122_11 (status_at_production varchar, project varchar, PRIMARY KEY (status_at_production))
|
select status_at_production from table_1792122_11 where project = "london aquatics centre"
|
Find the last names of all the authors that have written a paper with title containing the word "Monadic".
|
create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table authors (lname varchar, authid varchar, PRIMARY KEY (lname)); create table papers (paperid varchar, title 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 where t3.title like "%monadic%"
|
Which constructor was present at the Redex Trophy race?
|
create table table_1140114_5 (constructor varchar, race_name varchar, PRIMARY KEY (constructor))
|
select constructor from table_1140114_5 where race_name = "redex trophy"
|
Where was the game played when the result/margin was won by 70?
|
create table table_24919137_2 (venue varchar, result_margin varchar, PRIMARY KEY (venue))
|
select venue from table_24919137_2 where result_margin = "won by 70"
|
Name the number of cancelled for turnham green
|
create table table_211615_2 (cancelled varchar, station varchar, PRIMARY KEY (cancelled))
|
select count(cancelled) from table_211615_2 where station = "turnham green"
|
Name the total number of kenesia for african record
|
create table table_24011830_2 (kenenisa_bekele___eth__ varchar, world_record varchar, PRIMARY KEY (kenenisa_bekele___eth__))
|
select count(kenenisa_bekele___eth__) from table_24011830_2 where world_record = "african record"
|
Who had high assists when they played against San Antonio?
|
create table table_10812293_3 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))
|
select high_assists from table_10812293_3 where team = "san antonio"
|
To what party does Cardiss Collins belong?
|
create table table_1341577_14 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1341577_14 where incumbent = "cardiss collins"
|
Is the biggest win recorded as home or away?
|
create table table_1233808_2 (home_or_away varchar, record varchar, PRIMARY KEY (home_or_away))
|
select home_or_away from table_1233808_2 where record = "biggest win"
|
who guest starred on the episode with a 1.44m rating
|
create table table_29135051_3 (guest_s_ varchar, ratings varchar, PRIMARY KEY (guest_s_))
|
select guest_s_ from table_29135051_3 where ratings = "1.44m"
|
What is the title for the episode written by Robert Carlock & Dana Klein Borkow?
|
create table table_14889988_1 (title varchar, written_by varchar, PRIMARY KEY (title))
|
select title from table_14889988_1 where written_by = "robert carlock & dana klein borkow"
|
List the date the claim was made, the date it was settled and the amount settled for all the claims which had exactly one settlement.
|
create table claims (claim_id varchar, date_claim_made varchar, date_claim_settled varchar, claim_id varchar, PRIMARY KEY (claim_id)); create table settlements (claim_id varchar, PRIMARY KEY (claim_id))
|
select t1.claim_id, t1.date_claim_made, t1.date_claim_settled from claims as t1 join settlements as t2 on t1.claim_id = t2.claim_id group by t1.claim_id having count(*) = 1
|
Who directed episode number 3?
|
create table table_158088_2 (directed_by varchar, episode_no varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_158088_2 where episode_no = 3
|
Which is the class A when Marion was the class AA
|
create table table_14747043_1 (class_a varchar, class_aa varchar, marion varchar, PRIMARY KEY (class_a))
|
select class_a from table_14747043_1 where class_aa = marion
|
How do you say Friday in Polish?
|
create table table_1277350_5 (friday_fifth_day varchar, day__see_irregularities__ varchar, PRIMARY KEY (friday_fifth_day))
|
select friday_fifth_day from table_1277350_5 where day__see_irregularities__ = "polish"
|
Find the number of rooms located on each block floor.
|
create table room (blockfloor varchar, blockcode varchar, PRIMARY KEY (blockfloor)); create table block (blockfloor varchar, blockcode varchar, PRIMARY KEY (blockfloor))
|
select count(*), t1.blockfloor from block as t1 join room as t2 on t1.blockfloor = t2.blockfloor and t1.blockcode = t2.blockcode group by t1.blockfloor
|
How many wins are with Dodge vehicles?
|
create table table_2241841_1 (miles__km_ varchar, manufacturer varchar, PRIMARY KEY (miles__km_))
|
select count(miles__km_) from table_2241841_1 where manufacturer = "dodge"
|
What is the document type name for the document with name "How to read a book"?
|
create table ref_document_types (document_type_name varchar, document_type_code varchar, PRIMARY KEY (document_type_name)); create table all_documents (document_type_code varchar, document_name varchar, PRIMARY KEY (document_type_code))
|
select t2.document_type_name from all_documents as t1 join ref_document_types as t2 on t1.document_type_code = t2.document_type_code where t1.document_name = "how to read a book"
|
What are all the course names of the courses which ever have students enrolled in?
|
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 distinct t1.course_name from courses as t1 join student_enrolment_courses as t2 on t1.course_id = t2.course_id
|
what's the author / editor / source with index (year) being press freedom (2007)
|
create table table_12000368_1 (author___editor___source varchar, index__year_ varchar, PRIMARY KEY (author___editor___source))
|
select author___editor___source from table_12000368_1 where index__year_ = "press freedom (2007)"
|
What is the background of the candidate daniel phillips?
|
create table table_26263322_1 (background varchar, candidate varchar, PRIMARY KEY (background))
|
select background from table_26263322_1 where candidate = "daniel phillips"
|
How did the manager who was replaced by Jakob Michelsen depart?
|
create table table_27782699_3 (manner_of_departure varchar, replaced_by varchar, PRIMARY KEY (manner_of_departure))
|
select manner_of_departure from table_27782699_3 where replaced_by = "jakob michelsen"
|
Which teams had a difference of 8 between goals scored and goals conceeded
|
create table table_15420044_1 (team varchar, difference varchar, PRIMARY KEY (team))
|
select team from table_15420044_1 where difference = "8"
|
if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team
|
create table table_29826467_2 (lmp2_winning_team varchar, flm_winning_team varchar, PRIMARY KEY (lmp2_winning_team))
|
select lmp2_winning_team from table_29826467_2 where flm_winning_team = "no. 99 jmb racing"
|
How many LOA metres were there when the skipper is lou abrahams?
|
create table table_25594271_2 (loa__metres_ varchar, skipper varchar, PRIMARY KEY (loa__metres_))
|
select loa__metres_ from table_25594271_2 where skipper = "lou abrahams"
|
List all the image name and URLs in the order of their names.
|
create table images (image_name varchar, image_url varchar, PRIMARY KEY (image_name))
|
select image_name, image_url from images order by image_name
|
What are the name and assets of each company, sorted in ascending order of company name?
|
create table companies (name varchar, assets_billion varchar, PRIMARY KEY (name))
|
select name, assets_billion from companies order by name
|
What was the title of the episode that aired on October 7, 1965?
|
create table table_25046766_3 (title varchar, original_airdate_uk varchar, PRIMARY KEY (title))
|
select title from table_25046766_3 where original_airdate_uk = "october 7, 1965"
|
which company released audiobooks authored by day, martin martin day
|
create table table_20174050_24 (company varchar, author varchar, PRIMARY KEY (company))
|
select company from table_20174050_24 where author = "day, martin martin day"
|
How many episodes were written by Kirstie Falkous & John Regier?
|
create table table_21025437_2 (episode_no varchar, written_by varchar, PRIMARY KEY (episode_no))
|
select count(episode_no) from table_21025437_2 where written_by = "kirstie falkous & john regier"
|
List the clubs that have at least a member with advisor "1121".
|
create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubname varchar, clubid varchar, PRIMARY KEY (clubname)); create table student (stuid varchar, advisor varchar, PRIMARY KEY (stuid))
|
select distinct t1.clubname 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.advisor = 1121
|
Which conference did boise state university play at?
|
create table table_27816698_2 (current_conference varchar, institution varchar, PRIMARY KEY (current_conference))
|
select current_conference from table_27816698_2 where institution = "boise state university"
|
What team was Pearson on when his winnings were $5,200?
|
create table table_2626564_2 (team_s_ varchar, winnings varchar, PRIMARY KEY (team_s_))
|
select team_s_ from table_2626564_2 where winnings = "$5,200"
|
How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers?
|
create table table_17628022_2 (play_by_play varchar, pregame_analysts varchar, PRIMARY KEY (play_by_play))
|
select count(play_by_play) from table_17628022_2 where pregame_analysts = "darren flutie, eric tillman and greg frers"
|
What medium was used for the sculpture by Ernest Richard Gause?
|
create table table_20903658_1 (medium varchar, artist varchar, PRIMARY KEY (medium))
|
select medium from table_20903658_1 where artist = "ernest richard gause"
|
Which nominations was the film 27 Stolen Kisses nominated for?
|
create table table_10236830_6 (nomination varchar, film_name varchar, PRIMARY KEY (nomination))
|
select nomination from table_10236830_6 where film_name = "27 stolen kisses"
|
How many writers write the episode whose director is Jonathan Herron?
|
create table table_22580855_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))
|
select count(written_by) from table_22580855_1 where directed_by = "jonathan herron"
|
Show all male student ids who don't play football.
|
create table sportsinfo (stuid varchar, sex varchar, sportname varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, sex varchar, sportname varchar, PRIMARY KEY (stuid))
|
select stuid from student where sex = 'm' except select stuid from sportsinfo where sportname = "football"
|
Which school has the Raiders as their mascot?
|
create table table_11044765_1 (school varchar, mascot varchar, PRIMARY KEY (school))
|
select school from table_11044765_1 where mascot = "raiders"
|
What was the round of 16 result for felipe saucedo?
|
create table table_29521180_35 (round_of_16 varchar, athlete varchar, PRIMARY KEY (round_of_16))
|
select round_of_16 from table_29521180_35 where athlete = "felipe saucedo"
|
How many teams does Jeff Wyler own?
|
create table table_19908313_2 (team varchar, listed_owner_s_ varchar, PRIMARY KEY (team))
|
select count(team) from table_19908313_2 where listed_owner_s_ = "jeff wyler"
|
Name the number of parish for vilnes kyrkje
|
create table table_178399_1 (parish__prestegjeld_ varchar, church_name varchar, PRIMARY KEY (parish__prestegjeld_))
|
select count(parish__prestegjeld_) from table_178399_1 where church_name = "vilnes kyrkje"
|
Name the title directed by charles beeson by jeremy carver
|
create table table_19396259_1 (title varchar, directed_by varchar, written_by varchar, PRIMARY KEY (title))
|
select title from table_19396259_1 where directed_by = "charles beeson" and written_by = "jeremy carver"
|
How many categories for, replaced by, exist when the outgoing manager is Alan Buckley?
|
create table table_18795125_6 (replaced_by varchar, outgoing_manager varchar, PRIMARY KEY (replaced_by))
|
select count(replaced_by) from table_18795125_6 where outgoing_manager = "alan buckley"
|
What is the 1st leg when club is a.c. libertas?
|
create table table_1233026_4 (club varchar, PRIMARY KEY (club))
|
select 1 as st_leg from table_1233026_4 where club = "a.c. libertas"
|
Find the number of products with category "Spices" and typically sold above 1000.
|
create table products (product_category_code varchar, typical_buying_price varchar, PRIMARY KEY (product_category_code))
|
select count(*) from products where product_category_code = "spices" and typical_buying_price > 1000
|
Which elementary schools list Cort Monroe as the principal from 2013 to 2014?
|
create table table_14254419_3 (elementary_schools varchar, principal__2013_2014_ varchar, PRIMARY KEY (elementary_schools))
|
select elementary_schools from table_14254419_3 where principal__2013_2014_ = "cort monroe"
|
What country is in the region of France?
|
create table table_29487895_2 (title_in_country varchar, country___region varchar, PRIMARY KEY (title_in_country))
|
select title_in_country from table_29487895_2 where country___region = "france"
|
Who won mens singles the year sveinn logi sölvason tryggvi nilsen won mens doubles and elsa nielsen won womens singles
|
create table table_14903999_1 (mens_singles varchar, mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))
|
select mens_singles from table_14903999_1 where mens_doubles = "sveinn logi sölvason tryggvi nilsen" and womens_singles = "elsa nielsen"
|
Count the products that have the color description "white" or have the characteristic name "hot".
|
create table characteristics (characteristic_id varchar, characteristic_name varchar, PRIMARY KEY (characteristic_id)); create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table products (product_id varchar, color_code varchar, PRIMARY KEY (product_id)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))
|
select count(*) 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 join ref_colors as t4 on t1.color_code = t4.color_code where t4.color_description = "white" or t3.characteristic_name = "hot"
|
What's the wheelbase (in mm/inch) of the model with model designation 97G00?
|
create table table_20866024_3 (wheelbase__mm_inch_ varchar, model_designation varchar, PRIMARY KEY (wheelbase__mm_inch_))
|
select wheelbase__mm_inch_ from table_20866024_3 where model_designation = "97g00"
|
What was the final score when the game was @ roughriders?
|
create table table_21761882_4 (final_score varchar, opponent varchar, PRIMARY KEY (final_score))
|
select final_score from table_21761882_4 where opponent = "@ roughriders"
|
List the addresses of all the course authors or tutors.
|
create table course_authors_and_tutors (address_line_1 varchar, PRIMARY KEY (address_line_1))
|
select address_line_1 from course_authors_and_tutors
|
Who were the candidates in the district where the incumbent was Nathaniel Macon?
|
create table table_2668367_14 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_2668367_14 where incumbent = "nathaniel macon"
|
What was the DRAM type of an SM Count of 6?
|
create table table_26040604_1 (dram_type varchar, sm_count varchar, PRIMARY KEY (dram_type))
|
select dram_type from table_26040604_1 where sm_count = 6
|
When was the successor who got his seat because of "until august 2, 1813" seated?
|
create table table_225096_4 (date_successor_seated varchar, reason_for_change varchar, PRIMARY KEY (date_successor_seated))
|
select date_successor_seated from table_225096_4 where reason_for_change = "until august 2, 1813"
|
Who was the home team when Burnley were the away team?
|
create table table_17736890_5 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))
|
select home_team from table_17736890_5 where away_team = "burnley"
|
How many miles (km) were driven when the average speed (mph) was 103.145?
|
create table table_2175685_1 (miles__km_ varchar, average_speed__mph_ varchar, PRIMARY KEY (miles__km_))
|
select miles__km_ from table_2175685_1 where average_speed__mph_ = "103.145"
|
What is the status of the county that has a 14.7% poverty rate?
|
create table table_22815568_1 (status varchar, poverty_rate varchar, PRIMARY KEY (status))
|
select status from table_22815568_1 where poverty_rate = "14.7%"
|
What batting partners played in sydney?
|
create table table_1670921_2 (batting_partners varchar, venue varchar, PRIMARY KEY (batting_partners))
|
select batting_partners from table_1670921_2 where venue = "sydney"
|
What was the highest vote number for Bush?
|
create table table_1756284_1 (bush_number integer, PRIMARY KEY (bush_number))
|
select max(bush_number) from table_1756284_1
|
what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi
|
create table table_1277350_1 (saturday_saturnus___saturn_ varchar, wednesday_mercurius__mercury_ varchar, PRIMARY KEY (saturday_saturnus___saturn_))
|
select saturday_saturnus___saturn_ from table_1277350_1 where wednesday_mercurius__mercury_ = "mercuridi"
|
Name the replaced by for position in table is 1st
|
create table table_17039232_3 (replaced_by varchar, position_in_table varchar, PRIMARY KEY (replaced_by))
|
select replaced_by from table_17039232_3 where position_in_table = "1st"
|
How many introductory phrases were there on David Finkel's guest episode?
|
create table table_25691838_8 (introductory_phrase varchar, guest varchar, PRIMARY KEY (introductory_phrase))
|
select count(introductory_phrase) from table_25691838_8 where guest = "david finkel"
|
How many solar eclipse during January 15-16 and august 21-22 on august 21, 2017?
|
create table table_25287007_2 (january_15_16 varchar, august_21_22 varchar, PRIMARY KEY (january_15_16))
|
select january_15_16 from table_25287007_2 where august_21_22 = "august 21, 2017"
|
Name the minimum for prohibition?
|
create table table_120778_1 (for_prohibition integer, PRIMARY KEY (for_prohibition))
|
select min(for_prohibition) from table_120778_1
|
How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010?
|
create table reservations (kids varchar, lastname varchar, checkin varchar, firstname varchar, PRIMARY KEY (kids))
|
select kids from reservations where checkin = "2010-09-21" and firstname = "damien" and lastname = "trachsel"
|
What is the largest ethnic group in doline?
|
create table table_2562572_33 (largest_ethnic_group__2002_ varchar, settlement varchar, PRIMARY KEY (largest_ethnic_group__2002_))
|
select largest_ethnic_group__2002_ from table_2562572_33 where settlement = "doline"
|
What are the dates for the documents with both 'GV' type and 'SF' type expenses?
|
create table documents_with_expenses (document_id varchar, budget_type_code varchar, PRIMARY KEY (document_id)); create table documents (document_date varchar, document_id varchar, PRIMARY KEY (document_date))
|
select t1.document_date from documents as t1 join documents_with_expenses as t2 on t1.document_id = t2.document_id where t2.budget_type_code = 'gv' intersect select t1.document_date from documents as t1 join documents_with_expenses as t2 on t1.document_id = t2.document_id where t2.budget_type_code = 'sf'
|
Who directed the episode written by Matt Ford?
|
create table table_18712423_3 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_18712423_3 where written_by = "matt ford"
|
What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006?
|
create table table_23619212_1 (_percentage_of_all_immigrants_2004 varchar, _percentage_of_all_immigrants_2006 varchar, PRIMARY KEY (_percentage_of_all_immigrants_2004))
|
select _percentage_of_all_immigrants_2004 from table_23619212_1 where _percentage_of_all_immigrants_2006 = "2.1%"
|
What is 2010 when 2003 is 5.6?
|
create table table_27146868_1 (id varchar, PRIMARY KEY (id))
|
select 2010 from table_27146868_1 where 2003 = "5.6"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.