question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
Who was the incoming manager for the date of appointment of 15 january 2011?
|
create table table_26976615_3 (incoming_manager varchar, date_of_appointment varchar, PRIMARY KEY (incoming_manager))
|
select incoming_manager from table_26976615_3 where date_of_appointment = "15 january 2011"
|
Show ids for all employees who don't have a certificate.
|
create table employee (eid varchar, PRIMARY KEY (eid)); create table certificate (eid varchar, PRIMARY KEY (eid))
|
select eid from employee except select eid from certificate
|
What date of segment description red line mos-2 north open?
|
create table table_1817879_2 (date_opened varchar, segment_description varchar, PRIMARY KEY (date_opened))
|
select date_opened from table_1817879_2 where segment_description = "red line mos-2 north"
|
List all episode air dates where Luiza Possi was the guest fourth judge?
|
create table table_27615445_1 (episode_air_date varchar, guest_fourth_judge varchar, PRIMARY KEY (episode_air_date))
|
select episode_air_date from table_27615445_1 where guest_fourth_judge = "luiza possi"
|
Find the names of channels that are not owned by CCTV.
|
create table channel (name varchar, owner varchar, PRIMARY KEY (name))
|
select name from channel where owner <> 'cctv'
|
Who was the Class AAAA champion in 2006-07?
|
create table table_14603057_2 (class_aaaa varchar, school_year varchar, PRIMARY KEY (class_aaaa))
|
select class_aaaa from table_14603057_2 where school_year = "2006-07"
|
When London Bridge is the destination, how many lines are there?
|
create table table_1569516_1 (line varchar, destination varchar, PRIMARY KEY (line))
|
select count(line) from table_1569516_1 where destination = "london bridge"
|
what type of institution is ottawa university?
|
create table table_262527_1 (type varchar, institution varchar, PRIMARY KEY (type))
|
select type from table_262527_1 where institution = "ottawa university"
|
what is 2nd when the pronoun is vi (you pl.)?
|
create table table_27298240_28 (pronoun varchar, PRIMARY KEY (pronoun))
|
select 2 as nd from table_27298240_28 where pronoun = "vi (you pl.)"
|
What is the name of the soccer stadium in NL providence?
|
create table table_27369069_1 (soccer_stadium varchar, province varchar, PRIMARY KEY (soccer_stadium))
|
select soccer_stadium from table_27369069_1 where province = "nl"
|
what's the fcc info with call sign being w265av
|
create table table_13998897_1 (fcc_info varchar, call_sign varchar, PRIMARY KEY (fcc_info))
|
select fcc_info from table_13998897_1 where call_sign = "w265av"
|
What are the birth places that are shared by at least two people?
|
create table people (birth_place varchar, PRIMARY KEY (birth_place))
|
select birth_place from people group by birth_place having count(*) >= 2
|
What is the start date and time of the walk that ends March 28, 2005, 11:31?
|
create table table_22385461_6 (start___utc__ varchar, end__utc_ varchar, PRIMARY KEY (start___utc__))
|
select start___utc__ from table_22385461_6 where end__utc_ = "march 28, 2005, 11:31"
|
What was the number of seat changes when the % of votes was 23.75?
|
create table table_149330_1 (change_in_seat varchar, _percentage_of_votes varchar, PRIMARY KEY (change_in_seat))
|
select change_in_seat from table_149330_1 where _percentage_of_votes = "23.75"
|
What are the dates of leaving office for politician from the province of Seville?
|
create table table_26362472_1 (left_office varchar, province varchar, PRIMARY KEY (left_office))
|
select left_office from table_26362472_1 where province = "seville"
|
How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe?
|
create table table_24628683_2 (wrestler varchar, method_of_elimination varchar, PRIMARY KEY (wrestler))
|
select count(wrestler) from table_24628683_2 where method_of_elimination = "pinned after being hit by a lead pipe"
|
What is the poor law union of the Kilmaloda 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 = "kilmaloda"
|
List the names of hosts who did not serve as a host of any party in our record.
|
create table host (name varchar, host_id varchar, PRIMARY KEY (name)); create table party_host (name varchar, host_id varchar, PRIMARY KEY (name))
|
select name from host where not host_id in (select host_id from party_host)
|
how many times was the candidates dan mica (d) 55.3% bill james (r) 44.7%?
|
create table table_1341663_10 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
|
select count(incumbent) from table_1341663_10 where candidates = "dan mica (d) 55.3% bill james (r) 44.7%"
|
What is the result of men's doubles when there was no competition?
|
create table table_14904221_1 (mixed_doubles varchar, mens_doubles varchar, PRIMARY KEY (mixed_doubles))
|
select mixed_doubles from table_14904221_1 where mens_doubles = "no competition"
|
How many video games have type Massively multiplayer online game?
|
create table video_games (gtype varchar, PRIMARY KEY (gtype))
|
select count(*) from video_games where gtype = "massively multiplayer online game"
|
How many reasons were given when A. Willis Robertson (D) resigned?
|
create table table_1847180_3 (reason_for_change varchar, vacator varchar, PRIMARY KEY (reason_for_change))
|
select count(reason_for_change) from table_1847180_3 where vacator = "a. willis robertson (d)"
|
What is the title when 2.50 is u.s. viewers (in millions)?
|
create table table_23499946_1 (title varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (title))
|
select title from table_23499946_1 where us_viewers__in_millions_ = "2.50"
|
List all state classes when successors were formally installed on June 22, 1868.
|
create table table_2417340_3 (state__class_ varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (state__class_))
|
select state__class_ from table_2417340_3 where date_of_successors_formal_installation = "june 22, 1868"
|
What are the previous season ranks of teams whose website is www.novavolley.narod.ru?
|
create table table_19526911_1 (previous_season_2007_2008 varchar, website varchar, PRIMARY KEY (previous_season_2007_2008))
|
select previous_season_2007_2008 from table_19526911_1 where website = "www.novavolley.narod.ru"
|
What type of cartridge is used by a Winchester?
|
create table table_16010376_1 (cartridge varchar, source varchar, PRIMARY KEY (cartridge))
|
select cartridge from table_16010376_1 where source = "winchester"
|
Name the opponent for 7-1-0
|
create table table_21007907_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))
|
select opponent from table_21007907_1 where record = "7-1-0"
|
Who ihad the highest points and what was the number when the record was 11-40?
|
create table table_13619053_7 (high_points varchar, record varchar, PRIMARY KEY (high_points))
|
select high_points from table_13619053_7 where record = "11-40"
|
Who is the teleplay by when the director is Rob Bailey?
|
create table table_14346950_1 (teleplay_by varchar, directed_by varchar, PRIMARY KEY (teleplay_by))
|
select teleplay_by from table_14346950_1 where directed_by = "rob bailey"
|
What is the power when ch# is tv-26 and dyfj-tv?
|
create table table_12379297_1 (power__kw_ varchar, ch__number varchar, callsign varchar, PRIMARY KEY (power__kw_))
|
select power__kw_ from table_12379297_1 where ch__number = "tv-26" and callsign = "dyfj-tv"
|
If the location is Yangon, Myanmar, what is the opponent total number?
|
create table table_25428629_1 (opponent varchar, location varchar, PRIMARY KEY (opponent))
|
select count(opponent) from table_25428629_1 where location = "yangon, myanmar"
|
Name the date for qíngyuán … yìmǎ
|
create table table_16162581_1 (date__ce_ varchar, pinyin varchar, PRIMARY KEY (date__ce_))
|
select date__ce_ from table_16162581_1 where pinyin = "qíngyuán … yìmǎ"
|
What is the conference when Ferris State is the championship game opponent?
|
create table table_22165661_3 (conference varchar, championship_game_opponent varchar, PRIMARY KEY (conference))
|
select conference from table_22165661_3 where championship_game_opponent = "ferris state"
|
When cristina peña garzon is the contestant what is the geographical region?
|
create table table_18618707_1 (geographical_regions varchar, contestant varchar, PRIMARY KEY (geographical_regions))
|
select geographical_regions from table_18618707_1 where contestant = "cristina peña garzon"
|
Show student ids who are on scholarship and have major 600.
|
create table sportsinfo (stuid varchar, major varchar, onscholarship varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, major varchar, onscholarship varchar, PRIMARY KEY (stuid))
|
select stuid from student where major = 600 intersect select stuid from sportsinfo where onscholarship = 'y'
|
how heavy is the maximum
|
create table table_13950065_1 (per_lift integer, PRIMARY KEY (per_lift))
|
select max(per_lift) from table_13950065_1
|
What is the name of the episode that had 8.51 million viewers?
|
create table table_26139405_1 (title varchar, viewers__in_millions_ varchar, PRIMARY KEY (title))
|
select title from table_26139405_1 where viewers__in_millions_ = "8.51"
|
Show the movie titles and book titles for all companies in China.
|
create table movie (title varchar, movie_id varchar, PRIMARY KEY (title)); create table culture_company (movie_id varchar, book_club_id varchar, incorporated_in varchar, PRIMARY KEY (movie_id)); create table book_club (book_title varchar, book_club_id varchar, PRIMARY KEY (book_title))
|
select t1.title, t3.book_title from movie as t1 join culture_company as t2 on t1.movie_id = t2.movie_id join book_club as t3 on t3.book_club_id = t2.book_club_id where t2.incorporated_in = 'china'
|
Which episode had 16.38 million U.S. viewers?
|
create table table_10935548_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))
|
select title from table_10935548_1 where us_viewers__millions_ = "16.38"
|
What are the names and opening hours of the tourist attractions that can be accessed by bus or walk?
|
create table tourist_attractions (name varchar, opening_hours varchar, how_to_get_there varchar, PRIMARY KEY (name))
|
select name, opening_hours from tourist_attractions where how_to_get_there = "bus" or how_to_get_there = "walk"
|
What was the title of the movie from lebanon?
|
create table table_12842068_1 (film_title_used_in_nomination varchar, submitting_country varchar, PRIMARY KEY (film_title_used_in_nomination))
|
select film_title_used_in_nomination from table_12842068_1 where submitting_country = "lebanon"
|
How many akhil bharatiya rashtriya azad hind party seats were contested?
|
create table table_22582663_1 (seats_contested varchar, party_name varchar, PRIMARY KEY (seats_contested))
|
select seats_contested from table_22582663_1 where party_name = "akhil bharatiya rashtriya azad hind party"
|
What is the kit maker for team foolad?
|
create table table_27383390_2 (kit_maker varchar, team varchar, PRIMARY KEY (kit_maker))
|
select kit_maker from table_27383390_2 where team = "foolad"
|
Who is man of the match when Team 1 is ICL Pakistan?
|
create table table_17103566_1 (man_of_the_match varchar, team_1 varchar, PRIMARY KEY (man_of_the_match))
|
select man_of_the_match from table_17103566_1 where team_1 = "icl pakistan"
|
If the poverty rate is 12.9%, what is the market income per capita?
|
create table table_22815568_6 (market_income_per_capita varchar, poverty_rate varchar, PRIMARY KEY (market_income_per_capita))
|
select market_income_per_capita from table_22815568_6 where poverty_rate = "12.9%"
|
Whose address of operation was the Echirax Concession?
|
create table table_13150274_1 (client varchar, area_of_operation varchar, PRIMARY KEY (client))
|
select client from table_13150274_1 where area_of_operation = "echirax concession"
|
What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns?
|
create table table_16724844_1 (mens_open varchar, mens_u20 varchar, PRIMARY KEY (mens_open))
|
select mens_open from table_16724844_1 where mens_u20 = "qld country rustlers def southern suns"
|
how many producers are responsible for the song 'calling out to marlboro?
|
create table table_28232443_1 (producer__s_ varchar, song__s_ varchar, PRIMARY KEY (producer__s_))
|
select count(producer__s_) from table_28232443_1 where song__s_ = "calling out to marlboro"
|
List the number of ramsan-720 hard drives?
|
create table table_27615520_1 (storage_medium varchar, product_name varchar, PRIMARY KEY (storage_medium))
|
select count(storage_medium) from table_27615520_1 where product_name = "ramsan-720"
|
What was the win-loss record for the player from Switzerland?
|
create table table_25820786_2 (win_loss varchar, nationality varchar, PRIMARY KEY (win_loss))
|
select win_loss from table_25820786_2 where nationality = "switzerland"
|
How many kinds of roles are there for the staff?
|
create table project_staff (role_code varchar, PRIMARY KEY (role_code))
|
select count(distinct role_code) from project_staff
|
How many significant relationships list Will as a virtue?
|
create table table_1058787_1 (significant_relationship varchar, virtues varchar, PRIMARY KEY (significant_relationship))
|
select count(significant_relationship) from table_1058787_1 where virtues = "will"
|
What is the id and name of the enzyme with most number of medicines that can interact as 'activator'?
|
create table medicine_enzyme_interaction (enzyme_id varchar, interaction_type varchar, PRIMARY KEY (enzyme_id)); create table enzyme (id varchar, name varchar, PRIMARY KEY (id))
|
select t1.id, t1.name from enzyme as t1 join medicine_enzyme_interaction as t2 on t1.id = t2.enzyme_id where t2.interaction_type = 'activitor' group by t1.id order by count(*) desc limit 1
|
Name the competition for australia 13, new zealand 40, drawn 3
|
create table table_20251343_4 (competition varchar, head_to_head varchar, PRIMARY KEY (competition))
|
select competition from table_20251343_4 where head_to_head = "australia 13, new zealand 40, drawn 3"
|
Find the id of users who are followed by Mary or Susan.
|
create table follows (f1 varchar, f2 varchar, PRIMARY KEY (f1)); create table user_profiles (uid varchar, name varchar, PRIMARY KEY (uid))
|
select t2.f1 from user_profiles as t1 join follows as t2 on t1.uid = t2.f2 where t1.name = "mary" or t1.name = "susan"
|
Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent?
|
create table table_1342256_33 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_1342256_33 where incumbent = "harold d. cooley"
|
What is every growth rate in 1991-2001 when sex ratio in 2001 is 937?
|
create table table_19589113_5 (growth_rate_1991_01 varchar, sex_ratio_‡_2001 varchar, PRIMARY KEY (growth_rate_1991_01))
|
select growth_rate_1991_01 from table_19589113_5 where sex_ratio_‡_2001 = 937
|
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?
|
create table table_15318324_1 (r_z___arcsecond__ varchar, target_datum varchar, PRIMARY KEY (r_z___arcsecond__))
|
select r_z___arcsecond__ from table_15318324_1 where target_datum = "ireland 1965"
|
What was the overall record in the game won by D. Klein (2-0)?
|
create table table_27862483_3 (overall_record varchar, win varchar, PRIMARY KEY (overall_record))
|
select overall_record from table_27862483_3 where win = "d. klein (2-0)"
|
What are donor payments in the country where there are 12 children to 6 families (2 per family)?
|
create table table_16175217_1 (donor_payment varchar, children_per_donor varchar, PRIMARY KEY (donor_payment))
|
select donor_payment from table_16175217_1 where children_per_donor = "12 children to 6 families (2 per family)"
|
What NHL team was the player from Calgary Centennials (WCHL) drafted for?
|
create table table_1965650_11 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))
|
select nhl_team from table_1965650_11 where college_junior_club_team = "calgary centennials (wchl)"
|
If the version is 1.5b, what is the distribution mechanism?
|
create table table_2263152_1 (distribution_mechanism varchar, version varchar, PRIMARY KEY (distribution_mechanism))
|
select distribution_mechanism from table_2263152_1 where version = "1.5b"
|
Who directed the title that was written by Adam Milch?
|
create table table_12419515_4 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_12419515_4 where written_by = "adam milch"
|
What's the nickname of the University of Massachusetts Lowell (UMass Lowell)?
|
create table table_12936521_2 (nickname varchar, institution varchar, PRIMARY KEY (nickname))
|
select nickname from table_12936521_2 where institution = "university of massachusetts lowell (umass lowell)"
|
Which school did the player then go to Auburn?
|
create table table_11677691_7 (school varchar, college varchar, PRIMARY KEY (school))
|
select school from table_11677691_7 where college = "auburn"
|
How many entries are there for cyrillic name other names where settlement is idvor?
|
create table table_2562572_43 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))
|
select count(cyrillic_name_other_names) from table_2562572_43 where settlement = "idvor"
|
Name who wrote the episode directed by arthur albert
|
create table table_17356042_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))
|
select written_by from table_17356042_1 where directed_by = "arthur albert"
|
What is the trigger pack on the Colt 602 with the a1 rear sight type?
|
create table table_19901_1 (trigger_pack varchar, rear_sight_type varchar, colt_model_no varchar, PRIMARY KEY (trigger_pack))
|
select trigger_pack from table_19901_1 where rear_sight_type = "a1" and colt_model_no = "602"
|
Nametheh school team for norman gonzales
|
create table table_15463188_7 (school_club_team varchar, name varchar, PRIMARY KEY (school_club_team))
|
select school_club_team from table_15463188_7 where name = "norman gonzales"
|
how many companies released an audiobook titled deadly download
|
create table table_20174050_24 (company varchar, title varchar, PRIMARY KEY (company))
|
select count(company) from table_20174050_24 where title = "deadly download"
|
What are the names of poker players?
|
create table poker_player (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))
|
select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id
|
Name the torque of the engine is d5244 t5
|
create table table_1147701_5 (torque__nm varchar, engine_code varchar, PRIMARY KEY (torque__nm))
|
select torque__nm as @rpm_ from table_1147701_5 where engine_code = "d5244 t5"
|
How many numbers are there for August when March is 139?
|
create table table_25235489_2 (august_21_22 varchar, march_27_29 varchar, PRIMARY KEY (august_21_22))
|
select count(august_21_22) from table_25235489_2 where march_27_29 = "139"
|
Name the pinyin for kɵkyar k̡irƣiz yezisi
|
create table table_2008069_2 (pinyin varchar, uyghur___yenɡi_yezik̢__ varchar, PRIMARY KEY (pinyin))
|
select pinyin from table_2008069_2 where uyghur___yenɡi_yezik̢__ = "kɵkyar k̡irƣiz yezisi"
|
What is the car make for Sterling Marlin?
|
create table table_27514362_7 (car_make varchar, driver varchar, PRIMARY KEY (car_make))
|
select car_make from table_27514362_7 where driver = "sterling marlin"
|
Name the standard yarn weight system for 7 wpi
|
create table table_20297668_1 (standard_yarn_weight_system varchar, wraps_per_inch__wpi_ varchar, PRIMARY KEY (standard_yarn_weight_system))
|
select standard_yarn_weight_system from table_20297668_1 where wraps_per_inch__wpi_ = "7 wpi"
|
When London Bridge is the destination, what is the frequency?
|
create table table_1569516_1 (frequency__per_hour_ varchar, destination varchar, PRIMARY KEY (frequency__per_hour_))
|
select frequency__per_hour_ from table_1569516_1 where destination = "london bridge"
|
When batavo is the main sponsor and olympikus is the kit manufacturer who are the minor sponsors?
|
create table table_187239_1 (minor_sponsors varchar, kit_manufacturer varchar, main_sponsor varchar, PRIMARY KEY (minor_sponsors))
|
select minor_sponsors from table_187239_1 where kit_manufacturer = "olympikus" and main_sponsor = "batavo"
|
how many colombia in bangladesh is serbian
|
create table table_24807774_1 (colombian varchar, bangladeshi varchar, PRIMARY KEY (colombian))
|
select colombian from table_24807774_1 where bangladeshi = "serbian"
|
How many unique languages are spoken in the world?
|
create table countrylanguage (language varchar, PRIMARY KEY (language))
|
select count(distinct language) from countrylanguage
|
How many different kickoffs happened when the oppenent was at Rhein Fire?
|
create table table_26275503_2 (kickoff varchar, opponent varchar, PRIMARY KEY (kickoff))
|
select count(kickoff) from table_26275503_2 where opponent = "at rhein fire"
|
Name the average grade for şımarık tarkan
|
create table table_21829580_1 (average_grade varchar, song varchar, PRIMARY KEY (average_grade))
|
select average_grade from table_21829580_1 where song = "şımarık tarkan"
|
Who is h.t. brewer when j.e. armstrong is a.j. wilson?
|
create table table_1320857_1 (ht_brewer varchar, je_armstrong varchar, PRIMARY KEY (ht_brewer))
|
select ht_brewer from table_1320857_1 where je_armstrong = "a.j. wilson"
|
Name the name for henley manchester
|
create table table_22977424_8 (name varchar, promoted_to_league varchar, PRIMARY KEY (name))
|
select name from table_22977424_8 where promoted_to_league = "henley manchester"
|
Which gatchaman has eagle riders as lukan?
|
create table table_17480471_3 (gatchaman varchar, eagle_riders varchar, PRIMARY KEY (gatchaman))
|
select gatchaman from table_17480471_3 where eagle_riders = "lukan"
|
Which settlement has a cyrillic and other name of војводинци (romanian: voivodinţ)?
|
create table table_2562572_46 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))
|
select settlement from table_2562572_46 where cyrillic_name_other_names = "војводинци (romanian: voivodinţ)"
|
What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website?
|
create table table_29612224_1 (institution varchar, school_website varchar, PRIMARY KEY (institution))
|
select institution from table_29612224_1 where school_website = "http://www.mfschools.org/high/"
|
What is the most silver medals?
|
create table table_1305623_18 (silver_medals integer, PRIMARY KEY (silver_medals))
|
select max(silver_medals) from table_1305623_18
|
Who was the printer of Estes Park, Colorado?
|
create table table_15635768_1 (printer varchar, place_of_issue varchar, PRIMARY KEY (printer))
|
select printer from table_15635768_1 where place_of_issue = "estes park, colorado"
|
Are the customers holding coupons with amount 500 bad or good?
|
create table discount_coupons (coupon_id varchar, coupon_amount varchar, PRIMARY KEY (coupon_id)); create table customers (good_or_bad_customer varchar, coupon_id varchar, PRIMARY KEY (good_or_bad_customer))
|
select t1.good_or_bad_customer from customers as t1 join discount_coupons as t2 on t1.coupon_id = t2.coupon_id where t2.coupon_amount = 500
|
which examples are pronounced ɪs in american
|
create table table_17798093_20 (examples varchar, american varchar, PRIMARY KEY (examples))
|
select examples from table_17798093_20 where american = "ɪs"
|
What is the number of seats in congress when the electoral district is Ucayali?
|
create table table_2676980_4 (seats_in_congress varchar, electoral_district varchar, PRIMARY KEY (seats_in_congress))
|
select count(seats_in_congress) from table_2676980_4 where electoral_district = "ucayali"
|
How many weeks featured duffy as the original artist?
|
create table table_21501564_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))
|
select count(theme) from table_21501564_1 where original_artist = "duffy"
|
If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?
|
create table table_2263152_1 (features varchar, security_issues varchar, distribution_mechanism varchar, PRIMARY KEY (features))
|
select features from table_2263152_1 where security_issues = "98-004" and distribution_mechanism = "microsoft website"
|
Find the address of all customers that live in Germany and have invoice.
|
create table invoice (customerid varchar, PRIMARY KEY (customerid)); create table customer (address varchar, customerid varchar, country varchar, PRIMARY KEY (address))
|
select distinct t1.address from customer as t1 join invoice as t2 on t1.customerid = t2.customerid where t1.country = "germany"
|
How many records are there at the War Memorial Stadium?
|
create table table_10646790_2 (record varchar, stadium varchar, PRIMARY KEY (record))
|
select count(record) from table_10646790_2 where stadium = "war memorial stadium"
|
How many titles are there for the episode written by Tom Scharpling?
|
create table table_25716401_1 (title varchar, written_by varchar, PRIMARY KEY (title))
|
select count(title) from table_25716401_1 where written_by = "tom scharpling"
|
What was the name of the episode that had 4.65 million viewers?
|
create table table_25548213_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))
|
select title from table_25548213_1 where us_viewers__million_ = "4.65"
|
How many losingteams were for the cup finaldate 20 August 1989?
|
create table table_12028543_3 (losingteam varchar, cup_finaldate varchar, PRIMARY KEY (losingteam))
|
select count(losingteam) from table_12028543_3 where cup_finaldate = "20 august 1989"
|
In 2001, where the mens singles is armand jehle and the womens singles is michaela ritter, who are the mixed doubles
|
create table table_15001681_1 (mixed_doubles varchar, womens_singles varchar, mens_singles varchar, PRIMARY KEY (mixed_doubles))
|
select mixed_doubles from table_15001681_1 where womens_singles = "michaela ritter" and mens_singles = "armand jehle"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.