question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
How many traditional Chinese for the translation of "Crossing the River"?
|
create table table_1805919_1 (traditional_chinese varchar, english_translation varchar, PRIMARY KEY (traditional_chinese))
|
select count(traditional_chinese) from table_1805919_1 where english_translation = "crossing the river"
|
Name the prize pool for 706 (481 r, 346 a)
|
create table table_2534387_10 (prize varchar, entries varchar, PRIMARY KEY (prize))
|
select prize as pool from table_2534387_10 where entries = "706 (481 r, 346 a)"
|
How many shader models have a 900 core clock ( mhz )?
|
create table table_25839957_5 (shader_model varchar, core_clock___mhz__ varchar, PRIMARY KEY (shader_model))
|
select count(shader_model) from table_25839957_5 where core_clock___mhz__ = "900"
|
When divisional finals are the playoffs what is the regular season?
|
create table table_1986692_1 (regular_season varchar, playoffs varchar, PRIMARY KEY (regular_season))
|
select regular_season from table_1986692_1 where playoffs = "divisional finals"
|
What is the number of group b winner for francavilla?
|
create table table_1137142_1 (group_b_winner varchar, group_c_winner varchar, PRIMARY KEY (group_b_winner))
|
select count(group_b_winner) from table_1137142_1 where group_c_winner = "francavilla"
|
how many teams had an appointment date of 11 april 2011
|
create table table_27495117_3 (team varchar, date_of_appointment varchar, PRIMARY KEY (team))
|
select count(team) from table_27495117_3 where date_of_appointment = "11 april 2011"
|
Name the high rebounds for record 7-1
|
create table table_18894744_5 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))
|
select high_rebounds from table_18894744_5 where record = "7-1"
|
What is the annual change of GDP with a 20.5% GDP of EU in 2012?
|
create table table_1598533_8 (annual_change__percentage_of_gdp__2012_ varchar, gdp__percentage_of_eu__2012_ varchar, PRIMARY KEY (annual_change__percentage_of_gdp__2012_))
|
select annual_change__percentage_of_gdp__2012_ from table_1598533_8 where gdp__percentage_of_eu__2012_ = "20.5%"
|
What was the first airdate with a viewership of 4.77 million?
|
create table table_17641206_4 (original_airdate varchar, viewership varchar, PRIMARY KEY (original_airdate))
|
select original_airdate from table_17641206_4 where viewership = "4.77 million"
|
How many different PPI does the model with ppcm of 87 have?
|
create table table_27653752_1 (ppi__pixels_per_inch__ varchar, ppcm__pixels_per_cm__ varchar, PRIMARY KEY (ppi__pixels_per_inch__))
|
select count(ppi__pixels_per_inch__) from table_27653752_1 where ppcm__pixels_per_cm__ = 87
|
Who walked in space from STS-101 Eva 1?
|
create table table_22385461_1 (spacewalkers varchar, spacecraft varchar, PRIMARY KEY (spacewalkers))
|
select spacewalkers from table_22385461_1 where spacecraft = "sts-101 eva 1"
|
Show the outcome code of mailshots along with the number of mailshots in each outcome code.
|
create table mailshot_customers (outcome_code varchar, PRIMARY KEY (outcome_code))
|
select outcome_code, count(*) from mailshot_customers group by outcome_code
|
Where is the rate 5.7 in October 2010?
|
create table table_21531764_1 (employment_area varchar, october_2010 varchar, PRIMARY KEY (employment_area))
|
select employment_area from table_21531764_1 where october_2010 = "5.7"
|
Who directed the episode with a UK viewership of exactly 5.77 million?
|
create table table_29063233_1 (directed_by varchar, uk_viewers__million_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_29063233_1 where uk_viewers__million_ = "5.77"
|
Which company started the earliest the maintenance contract? Show the company name.
|
create table third_party_companies (company_name varchar, company_id varchar, PRIMARY KEY (company_name)); create table maintenance_contracts (maintenance_contract_company_id varchar, contract_start_date varchar, PRIMARY KEY (maintenance_contract_company_id))
|
select t1.company_name from third_party_companies as t1 join maintenance_contracts as t2 on t1.company_id = t2.maintenance_contract_company_id order by t2.contract_start_date limit 1
|
How many stores are there?
|
create table store (id varchar, PRIMARY KEY (id))
|
select count(*) from store
|
What is the brand in Metro Manila?
|
create table table_19215259_1 (branding varchar, location varchar, PRIMARY KEY (branding))
|
select branding from table_19215259_1 where location = "metro manila"
|
Candidate John Mccain had how many delegates?
|
create table table_16186152_1 (delegates varchar, candidate varchar, PRIMARY KEY (delegates))
|
select delegates from table_16186152_1 where candidate = "john mccain"
|
What is the exit date for the Dutch Albums Top 100 Chart?
|
create table table_1160304_2 (date_of_exit varchar, chart varchar, PRIMARY KEY (date_of_exit))
|
select date_of_exit from table_1160304_2 where chart = "dutch albums top 100"
|
What parish did McCain have 45.37% of the votes?
|
create table table_20722805_1 (parish varchar, mccain_percentage varchar, PRIMARY KEY (parish))
|
select parish from table_20722805_1 where mccain_percentage = "45.37%"
|
What is the city location of the tournament currently known as the Medibank International Sydney?
|
create table table_20630462_1 (city_s_ varchar, also_currently_known_as varchar, PRIMARY KEY (city_s_))
|
select city_s_ from table_20630462_1 where also_currently_known_as = "medibank international sydney"
|
How many artists do we have?
|
create table artist (id varchar, PRIMARY KEY (id))
|
select count(*) from artist
|
Who was the director of the film with an original title of "16 Days in Afghanistan"?
|
create table table_17155250_1 (director varchar, original_title varchar, PRIMARY KEY (director))
|
select director from table_17155250_1 where original_title = "16 days in afghanistan"
|
What is the id of the department with the least number of staff?
|
create table staff_department_assignments (department_id varchar, PRIMARY KEY (department_id))
|
select department_id from staff_department_assignments group by department_id order by count(*) limit 1
|
What type are State Assemblyman
|
create table table_1602620_1 (type varchar, office varchar, PRIMARY KEY (type))
|
select type from table_1602620_1 where office = "state assemblyman"
|
What was the season record when the team played against Milwaukee?
|
create table table_27704187_10 (record varchar, team varchar, PRIMARY KEY (record))
|
select record from table_27704187_10 where team = "milwaukee"
|
How many color systems has a bit rate of 5.734?
|
create table table_1926240_1 (color_system varchar, bit_rate_ varchar, _mbit_s_ varchar, PRIMARY KEY (color_system))
|
select count(color_system) from table_1926240_1 where bit_rate_[_mbit_s_] = "5.734"
|
When the socket is bga956 and processor is penryn-3m, what is the tdp?
|
create table table_24100843_1 (tdp varchar, socket varchar, processor varchar, PRIMARY KEY (tdp))
|
select tdp from table_24100843_1 where socket = "bga956" and processor = "penryn-3m"
|
what's the ↓ function / genus → with shigella being spa32
|
create table table_10321124_1 (↓_function___genus_→ varchar, shigella varchar, PRIMARY KEY (↓_function___genus_→))
|
select ↓_function___genus_→ from table_10321124_1 where shigella = "spa32"
|
How many values for Germans occurs when value for Slovaks is 0.11%?
|
create table table_2374338_2 (germans varchar, slovaks varchar, PRIMARY KEY (germans))
|
select count(germans) from table_2374338_2 where slovaks = "0.11%"
|
How many reasons for change were listed when Edward Hempstead was the successor?
|
create table table_225095_4 (reason_for_change varchar, successor varchar, PRIMARY KEY (reason_for_change))
|
select count(reason_for_change) from table_225095_4 where successor = "edward hempstead"
|
Report the number of students in each classroom.
|
create table list (classroom varchar, PRIMARY KEY (classroom))
|
select classroom, count(*) from list group by classroom
|
List the name of tracks belongs to genre Rock and whose media type is MPEG audio file.
|
create table genres (id varchar, name varchar, PRIMARY KEY (id)); create table tracks (name varchar, genre_id varchar, media_type_id varchar, PRIMARY KEY (name)); create table media_types (id varchar, name varchar, PRIMARY KEY (id))
|
select t2.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id join media_types as t3 on t3.id = t2.media_type_id where t1.name = "rock" and t3.name = "mpeg audio file"
|
List ids for all student who are on scholarship.
|
create table sportsinfo (stuid varchar, onscholarship varchar, PRIMARY KEY (stuid))
|
select stuid from sportsinfo where onscholarship = 'y'
|
Find the names of the users whose number of followers is greater than that of the user named "Tyler Swift".
|
create table follows (f1 varchar, PRIMARY KEY (f1)); create table user_profiles (name varchar, uid varchar, PRIMARY KEY (name))
|
select t1.name from user_profiles as t1 join follows as t2 on t1.uid = t2.f1 group by t2.f1 having count(*) > (select count(*) from user_profiles as t1 join follows as t2 on t1.uid = t2.f1 where t1.name = 'tyler swift')
|
How many numbers were recorded under miles for the 3:00:46 race time?
|
create table table_2196127_1 (miles__km_ varchar, race_time varchar, PRIMARY KEY (miles__km_))
|
select count(miles__km_) from table_2196127_1 where race_time = "3:00:46"
|
What party is the winner K. Anbazhagan from?
|
create table table_22756549_1 (party varchar, winner varchar, PRIMARY KEY (party))
|
select party as a from table_22756549_1 where winner = "k. anbazhagan"
|
Who directed the episode with 4.82 million U.S. viewers?
|
create table table_25851971_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_25851971_1 where us_viewers__million_ = "4.82"
|
What is the ethnic group is конак?
|
create table table_2562572_39 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))
|
select largest_ethnic_group__2002_ from table_2562572_39 where cyrillic_name_other_names = "конак"
|
How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859?
|
create table table_2134521_1 (pop__2001_ varchar, pop__1996_ varchar, PRIMARY KEY (pop__2001_))
|
select count(pop__2001_) from table_2134521_1 where pop__1996_ = 880859
|
Who came as a replacement in Sheffield United?
|
create table table_19359427_6 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))
|
select replaced_by from table_19359427_6 where team = "sheffield united"
|
Name the greek modern for słyszałeś był / słyszałaś była
|
create table table_1841901_1 (greek__modern_ varchar, polish__extinct_ varchar, PRIMARY KEY (greek__modern_))
|
select greek__modern_ from table_1841901_1 where polish__extinct_ = "słyszałeś był / słyszałaś była"
|
Name the country that has the yen
|
create table table_2764267_2 (country varchar, currency varchar, PRIMARY KEY (country))
|
select country from table_2764267_2 where currency = "yen"
|
what is the report called where the circuit took place at the nazareth speedway?
|
create table table_10707142_2 (report varchar, circuit varchar, PRIMARY KEY (report))
|
select report from table_10707142_2 where circuit = "nazareth speedway"
|
What is the number for the guanay municipality when combaya municipality is 0?
|
create table table_2509202_2 (guanay_municipality varchar, combaya_municipality varchar, PRIMARY KEY (guanay_municipality))
|
select guanay_municipality from table_2509202_2 where combaya_municipality = "0"
|
Name the theatre name for french
|
create table table_2461720_1 (theatre_name varchar, language_of_films varchar, PRIMARY KEY (theatre_name))
|
select theatre_name from table_2461720_1 where language_of_films = "french"
|
What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?
|
create table table_25479607_3 (fixed_charge___rs__kwh_ varchar, unit__kwh__time_range varchar, PRIMARY KEY (fixed_charge___rs__kwh_))
|
select fixed_charge___rs__kwh_ from table_25479607_3 where unit__kwh__time_range = "i-2: peak (18:30-22:30)"
|
How many open era titles does the team with their first title in 1925 have?
|
create table table_1725413_5 (open_era varchar, first_title varchar, PRIMARY KEY (open_era))
|
select open_era from table_1725413_5 where first_title = 1925
|
what's the 54 holes where winning score is −19 (67-66-67-69=269)
|
create table table_11570261_1 (winning_score varchar, PRIMARY KEY (winning_score))
|
select 54 as _holes from table_11570261_1 where winning_score = −19(67 - 66 - 67 - 69 = 269)
|
In what edition is Ungur's opponent David Nalbandian?
|
create table table_24099476_8 (edition varchar, opponent varchar, PRIMARY KEY (edition))
|
select edition from table_24099476_8 where opponent = "david nalbandian"
|
Name the density for 古田縣
|
create table table_2013618_1 (density varchar, traditional varchar, PRIMARY KEY (density))
|
select density from table_2013618_1 where traditional = "古田縣"
|
Name the status for karanvir bohra and date performed being july 30
|
create table table_18278508_4 (status varchar, main_contestant varchar, date_performed varchar, PRIMARY KEY (status))
|
select status from table_18278508_4 where main_contestant = "karanvir bohra" and date_performed = "july 30"
|
List the names of all routes in alphabetic order.
|
create table delivery_routes (route_name varchar, PRIMARY KEY (route_name))
|
select route_name from delivery_routes order by route_name
|
How many episodes by different writers were seen by 3.24 million people in the US?
|
create table table_18268826_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))
|
select count(written_by) from table_18268826_1 where us_viewers__million_ = "3.24"
|
HOw many jockeys had eoin harty as a trainer
|
create table table_22517564_3 (jockey varchar, trainer varchar, PRIMARY KEY (jockey))
|
select count(jockey) from table_22517564_3 where trainer = "eoin harty"
|
Which song was chosen during the audition week?
|
create table table_29756040_1 (song_choice varchar, week__number varchar, PRIMARY KEY (song_choice))
|
select song_choice from table_29756040_1 where week__number = "audition"
|
Name the accession number for sequence similarity being 54
|
create table table_27155678_2 (accession_number varchar, sequence_similarity varchar, PRIMARY KEY (accession_number))
|
select accession_number from table_27155678_2 where sequence_similarity = 54
|
How many sources are there for south africa?
|
create table table_29487895_2 (source_s_ varchar, country___region varchar, PRIMARY KEY (source_s_))
|
select count(source_s_) from table_29487895_2 where country___region = "south africa"
|
List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.
|
create table accelerator_compatible_browser (accelerator_id varchar, browser_id varchar, PRIMARY KEY (accelerator_id)); create table web_client_accelerator (id varchar, name varchar, PRIMARY KEY (id)); create table browser (name varchar, id varchar, PRIMARY KEY (name))
|
select t3.name from web_client_accelerator as t1 join accelerator_compatible_browser as t2 on t2.accelerator_id = t1.id join browser as t3 on t2.browser_id = t3.id where t1.name = 'cachebox' intersect select t3.name from web_client_accelerator as t1 join accelerator_compatible_browser as t2 on t2.accelerator_id = t1.id join browser as t3 on t2.browser_id = t3.id where t1.name = 'fasterfox'
|
List the names of pilots that do not have any record.
|
create table pilot_record (pilot_name varchar, pilot_id varchar, PRIMARY KEY (pilot_name)); create table pilot (pilot_name varchar, pilot_id varchar, PRIMARY KEY (pilot_name))
|
select pilot_name from pilot where not pilot_id in (select pilot_id from pilot_record)
|
How many directors directed an episode that reached 2.48 million viewers?
|
create table table_27047554_1 (directed_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (directed_by))
|
select count(directed_by) from table_27047554_1 where us_viewers__in_millions_ = "2.48"
|
What is the number listed in home games when the team is Seattle Seahawks?
|
create table table_28884858_1 (home_games varchar, team varchar, PRIMARY KEY (home_games))
|
select home_games from table_28884858_1 where team = "seattle seahawks"
|
Who is seat no 1 when the mayor was john j. seguier
|
create table table_2231241_1 (seat_no_1 varchar, mayor varchar, PRIMARY KEY (seat_no_1))
|
select seat_no_1 from table_2231241_1 where mayor = "john j. seguier"
|
What are the arriving date and the departing date of the dogs who have gone through a treatment?
|
create table dogs (date_arrived varchar, date_departed varchar, dog_id varchar, PRIMARY KEY (date_arrived)); create table treatments (dog_id varchar, PRIMARY KEY (dog_id))
|
select distinct t1.date_arrived, t1.date_departed from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id
|
what gender has an asian black bear?
|
create table table_26615633_3 (gender varchar, species varchar, PRIMARY KEY (gender))
|
select gender from table_26615633_3 where species = "asian black bear"
|
what's the regionalliga nord with regionalliga west/südwest being fc gütersloh rot-weiß essen
|
create table table_14242137_11 (regionalliga_nord varchar, regionalliga_west_südwest varchar, PRIMARY KEY (regionalliga_nord))
|
select regionalliga_nord from table_14242137_11 where regionalliga_west_südwest = "fc gütersloh rot-weiß essen"
|
Which candidate won 88 votes in Queens in 1921?
|
create table table_1108394_47 (queens varchar, PRIMARY KEY (queens))
|
select 1921 from table_1108394_47 where queens = "88"
|
Where is the show aired in New Zealand?
|
create table table_14523485_9 (channel varchar, country varchar, PRIMARY KEY (channel))
|
select channel from table_14523485_9 where country = "new zealand"
|
Was there PPV when the service was SCT?
|
create table table_15887683_19 (ppv varchar, television_service varchar, PRIMARY KEY (ppv))
|
select ppv from table_15887683_19 where television_service = "sct"
|
Name the released for pat mills
|
create table table_1620397_2 (released varchar, author varchar, PRIMARY KEY (released))
|
select released from table_1620397_2 where author = "pat mills"
|
When is the original air date written by sean whitesell?
|
create table table_22904752_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_22904752_1 where written_by = "sean whitesell"
|
What pregame host was on espn and had taylor twellman color commentating?
|
create table table_17516922_1 (pregame_host varchar, network varchar, color_commentator varchar, PRIMARY KEY (pregame_host))
|
select pregame_host from table_17516922_1 where network = "espn" and color_commentator = "taylor twellman"
|
Show each premise type and the number of premises in that type.
|
create table premises (premises_type varchar, PRIMARY KEY (premises_type))
|
select premises_type, count(*) from premises group by premises_type
|
Which classroom has the most students?
|
create table list (classroom varchar, PRIMARY KEY (classroom))
|
select classroom from list group by classroom order by count(*) desc limit 1
|
What is the lowest attandance recorded at Cappielow?
|
create table table_11207040_5 (lowest integer, stadium varchar, PRIMARY KEY (lowest))
|
select min(lowest) from table_11207040_5 where stadium = "cappielow"
|
Find the names of nurses who are nursing an undergoing treatment.
|
create table undergoes (assistingnurse varchar, PRIMARY KEY (assistingnurse)); create table nurse (name varchar, employeeid varchar, PRIMARY KEY (name))
|
select distinct t2.name from undergoes as t1 join nurse as t2 on t1.assistingnurse = t2.employeeid
|
Who is the incoming manager when the date of appointment is 9 march 2011?
|
create table table_26914854_3 (incoming_manager varchar, date_of_appointment varchar, PRIMARY KEY (incoming_manager))
|
select incoming_manager from table_26914854_3 where date_of_appointment = "9 march 2011"
|
Valmir Benavides won pole position at which circuit?
|
create table table_29361707_2 (circuit varchar, pole_position varchar, PRIMARY KEY (circuit))
|
select circuit from table_29361707_2 where pole_position = "valmir benavides"
|
Show the country names and the corresponding number of players.
|
create table match_season (country varchar, PRIMARY KEY (country)); create table country (country_name varchar, country_id varchar, PRIMARY KEY (country_name))
|
select country_name, count(*) from country as t1 join match_season as t2 on t1.country_id = t2.country group by t1.country_name
|
Where is the Westfield State University located?
|
create table table_1974545_2 (location varchar, institution varchar, PRIMARY KEY (location))
|
select location from table_1974545_2 where institution = "westfield state university"
|
Show the product type codes that have at least two products.
|
create table products (product_type_code varchar, PRIMARY KEY (product_type_code))
|
select product_type_code from products group by product_type_code having count(*) >= 2
|
Find the id of the order whose shipment tracking number is "3452".
|
create table shipments (order_id varchar, shipment_tracking_number varchar, PRIMARY KEY (order_id))
|
select order_id from shipments where shipment_tracking_number = "3452"
|
Name the segment b for s dress form
|
create table table_15187735_10 (segment_b varchar, segment_a varchar, PRIMARY KEY (segment_b))
|
select segment_b from table_15187735_10 where segment_a = "s dress form"
|
What is the fixed charge for the user who had a tariff of 11.30?
|
create table table_25479607_3 (fixed_charge___rs__kwh_ varchar, tariff___rs__kwh_ varchar, PRIMARY KEY (fixed_charge___rs__kwh_))
|
select fixed_charge___rs__kwh_ from table_25479607_3 where tariff___rs__kwh_ = "11.30"
|
Name the title that aired on 5 august 1967
|
create table table_20345624_2 (title varchar, original_airdate varchar, PRIMARY KEY (title))
|
select count(title) from table_20345624_2 where original_airdate = "5 august 1967"
|
Find the states where have some college students in tryout and their decisions are yes.
|
create table tryout (cname varchar, decision varchar, PRIMARY KEY (cname)); create table college (state varchar, cname varchar, PRIMARY KEY (state))
|
select distinct t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.decision = 'yes'
|
What was the rocket's record when they played against Indiana?
|
create table table_27744976_10 (record varchar, team varchar, PRIMARY KEY (record))
|
select record from table_27744976_10 where team = "indiana"
|
What game sites are where the team record is 1–6?
|
create table table_25380472_2 (game_site varchar, team_record varchar, PRIMARY KEY (game_site))
|
select game_site from table_25380472_2 where team_record = "1–6"
|
What are the number of winning tickets that have 180.00 as the prize (eur)?
|
create table table_20195922_3 (number_of_winning_tickets varchar, prize__eur_ varchar, PRIMARY KEY (number_of_winning_tickets))
|
select number_of_winning_tickets from table_20195922_3 where prize__eur_ = "180.00"
|
When first woman eva is the comment what is the end -utc?
|
create table table_245801_2 (end___utc varchar, comments varchar, PRIMARY KEY (end___utc))
|
select end___utc from table_245801_2 where comments = "first woman eva"
|
how many original airdate with writer(s) being becky hartman edwards and director being adam nimoy
|
create table table_13956521_2 (original_airdate varchar, writer_s_ varchar, director varchar, PRIMARY KEY (original_airdate))
|
select count(original_airdate) from table_13956521_2 where writer_s_ = "becky hartman edwards" and director = "adam nimoy"
|
Name the windows builders for apache gump
|
create table table_22903426_1 (windows_builders varchar, name varchar, PRIMARY KEY (windows_builders))
|
select windows_builders from table_22903426_1 where name = "apache gump"
|
What is the branding for callsign dypv?
|
create table table_27588823_2 (branding varchar, callsign varchar, PRIMARY KEY (branding))
|
select branding from table_27588823_2 where callsign = "dypv"
|
Find the description of the club "Pen and Paper Gaming".
|
create table club (clubdesc varchar, clubname varchar, PRIMARY KEY (clubdesc))
|
select clubdesc from club where clubname = "pen and paper gaming"
|
Who was the outgoing manager when the incoming manager was laurenţiu reghecampf?
|
create table table_26976615_3 (outgoing_manager varchar, incoming_manager varchar, PRIMARY KEY (outgoing_manager))
|
select outgoing_manager from table_26976615_3 where incoming_manager = "laurenţiu reghecampf"
|
What is the location is the winning driver is Bill Vukovich II?
|
create table table_22670216_1 (location varchar, winning_driver varchar, PRIMARY KEY (location))
|
select location from table_22670216_1 where winning_driver = "bill vukovich ii"
|
Who is J.E. Armstrong when W.H. Archer is D.M. Lawson?
|
create table table_1320857_1 (je_armstrong varchar, wh_archer varchar, PRIMARY KEY (je_armstrong))
|
select je_armstrong from table_1320857_1 where wh_archer = "d.m. lawson"
|
What is the school for the player who's hometown was Irvine, CA?
|
create table table_11677100_18 (school varchar, hometown varchar, PRIMARY KEY (school))
|
select school from table_11677100_18 where hometown = "irvine, ca"
|
Show the description and code of the attraction type most tourist attractions belong to.
|
create table ref_attraction_types (attraction_type_description varchar, attraction_type_code varchar, PRIMARY KEY (attraction_type_description)); create table tourist_attractions (attraction_type_code varchar, PRIMARY KEY (attraction_type_code))
|
select t1.attraction_type_description, t2.attraction_type_code from ref_attraction_types as t1 join tourist_attractions as t2 on t1.attraction_type_code = t2.attraction_type_code group by t2.attraction_type_code order by count(*) desc limit 1
|
How many hosts were on Seven Network?
|
create table table_14523485_9 (host varchar, channel varchar, PRIMARY KEY (host))
|
select count(host) from table_14523485_9 where channel = "seven network"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.