question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
Find the name of persons who are friends with Bob.
|
create table personfriend (name varchar, friend varchar, PRIMARY KEY (name)); create table person (name varchar, PRIMARY KEY (name))
|
select t1.name from person as t1 join personfriend as t2 on t1.name = t2.name where t2.friend = 'bob'
|
Who was the successor for the state of Maine (2) ?
|
create table table_225099_3 (successor varchar, state__class_ varchar, PRIMARY KEY (successor))
|
select successor from table_225099_3 where state__class_ = "maine (2)"
|
What is the party for the candidates edwin gray (dr)?
|
create table table_2668393_18 (party varchar, candidates varchar, PRIMARY KEY (party))
|
select party from table_2668393_18 where candidates = "edwin gray (dr)"
|
Name the song choice for michael jackson
|
create table table_19508635_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))
|
select song_choice from table_19508635_1 where original_artist = "michael jackson"
|
Name the player for 1945 for player
|
create table table_19611329_1 (year_inducted varchar, inducted_as varchar, PRIMARY KEY (year_inducted))
|
select "player" from table_19611329_1 where year_inducted = 1945 and inducted_as = "player"
|
What is the judge's total for Roxanne and Daniel?
|
create table table_19744915_16 (judges varchar, couple varchar, PRIMARY KEY (judges))
|
select judges from table_19744915_16 where couple = "roxanne and daniel"
|
Name the content for sky famiglia for italian and dar 16:9 for mtv hits
|
create table table_15887683_10 (content varchar, television_service varchar, dar varchar, package_option varchar, language varchar, PRIMARY KEY (content))
|
select content from table_15887683_10 where package_option = "sky famiglia" and language = "italian" and dar = "16:9" and television_service = "mtv hits"
|
When mixed quad singles is the event what is the final/bronze medal match?
|
create table table_18602462_21 (final__bronze_medal_match varchar, event varchar, PRIMARY KEY (final__bronze_medal_match))
|
select final__bronze_medal_match from table_18602462_21 where event = "mixed quad singles"
|
Name the sign of zodiac for chithirai
|
create table table_169955_1 (sign_of_zodiac varchar, tamil_calendar varchar, PRIMARY KEY (sign_of_zodiac))
|
select sign_of_zodiac from table_169955_1 where tamil_calendar = "chithirai"
|
Show the names of donors who donated to both school "Glenn" and "Triton."
|
create table school (school_id varchar, school_name varchar, PRIMARY KEY (school_id)); create table endowment (donator_name varchar, school_id varchar, PRIMARY KEY (donator_name))
|
select t1.donator_name from endowment as t1 join school as t2 on t1.school_id = t2.school_id where t2.school_name = 'glenn' intersect select t1.donator_name from endowment as t1 join school as t2 on t1.school_id = t2.school_id where t2.school_name = 'triton'
|
Who is the mens singles and womens singlses is wang shixian?
|
create table table_13553701_1 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))
|
select mens_singles from table_13553701_1 where womens_singles = "wang shixian"
|
Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?
|
create table table_25773116_2 (pole_position varchar, fastest_lap varchar, location varchar, PRIMARY KEY (pole_position))
|
select pole_position from table_25773116_2 where fastest_lap = "victor carbone" and location = "braselton, georgia"
|
What was the arrival time of the train that departed at 18.16?
|
create table table_18365784_3 (arrival varchar, departure varchar, PRIMARY KEY (arrival))
|
select arrival from table_18365784_3 where departure = "18.16"
|
What's the original air date of the episode with a broadcast order s04 e01?
|
create table table_1231892_4 (us_air_date varchar, broadcast_order varchar, PRIMARY KEY (us_air_date))
|
select us_air_date from table_1231892_4 where broadcast_order = "s04 e01"
|
How many won the Men's Open if the players are from Sweden?
|
create table table_182298_5 (mens_open varchar, country varchar, PRIMARY KEY (mens_open))
|
select count(mens_open) from table_182298_5 where country = "sweden"
|
Name the london great britain for championship record
|
create table table_23619492_3 (london_ varchar, _great_britain varchar, world_record varchar, PRIMARY KEY (london_))
|
select london_, _great_britain from table_23619492_3 where world_record = "championship record"
|
How many figures are there for wheels for LMS numbers 16377-9?
|
create table table_15412381_5 (wheels varchar, lms_nos varchar, PRIMARY KEY (wheels))
|
select count(wheels) from table_15412381_5 where lms_nos = "16377-9"
|
In what country is the El Hamada area of operation?
|
create table table_13150274_1 (country varchar, area_of_operation varchar, PRIMARY KEY (country))
|
select country from table_13150274_1 where area_of_operation = "el hamada"
|
Find the number of rooms with a king bed.
|
create table rooms (bedtype varchar, PRIMARY KEY (bedtype))
|
select count(*) from rooms where bedtype = "king"
|
when womens singles is wang yihan and tour is french super series, what were the men's singles?
|
create table table_21001903_2 (mens_singles varchar, womens_singles varchar, tour varchar, PRIMARY KEY (mens_singles))
|
select mens_singles from table_21001903_2 where womens_singles = "wang yihan" and tour = "french super series"
|
What is the french word for the Russian word filtrovat (фильтровать)?
|
create table table_15040_8 (french varchar, russian varchar, PRIMARY KEY (french))
|
select french from table_15040_8 where russian = "filtrovat (фильтровать)"
|
What is the number of cores associated with model name e2xxx?
|
create table table_24099628_1 (cores varchar, model__list_ varchar, PRIMARY KEY (cores))
|
select cores from table_24099628_1 where model__list_ = "e2xxx"
|
What is the team whose driver Jeff Simmons?
|
create table table_17319931_1 (team varchar, driver varchar, PRIMARY KEY (team))
|
select team from table_17319931_1 where driver = "jeff simmons"
|
What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08?
|
create table table_19589113_5 (total_population_2001 integer, growth_rate_1991_01 varchar, PRIMARY KEY (total_population_2001))
|
select min(total_population_2001) from table_19589113_5 where growth_rate_1991_01 = "33.08"
|
Name the conventional for تاغارما
|
create table table_2008069_2 (conventional varchar, uyghur___k̢ona_yezik̢__ varchar, PRIMARY KEY (conventional))
|
select conventional from table_2008069_2 where uyghur___k̢ona_yezik̢__ = "تاغارما"
|
Show names of actors that have appeared in musical with name "The Phantom of the Opera".
|
create table actor (name varchar, musical_id varchar, PRIMARY KEY (name)); create table musical (musical_id varchar, name varchar, PRIMARY KEY (musical_id))
|
select t1.name from actor as t1 join musical as t2 on t1.musical_id = t2.musical_id where t2.name = "the phantom of the opera"
|
What are the races that johnny rutherford has won?
|
create table table_10706879_3 (name varchar, winning_driver varchar, PRIMARY KEY (name))
|
select name from table_10706879_3 where winning_driver = "johnny rutherford"
|
Show all allergy types.
|
create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))
|
select distinct allergytype from allergy_type
|
What was the area in km2 in 2011 for the Narsingdi District?
|
create table table_24027047_1 (area__km²__2011 varchar, administrative_division varchar, PRIMARY KEY (area__km²__2011))
|
select area__km²__2011 * * from table_24027047_1 where administrative_division = "narsingdi district"
|
What is JCTV's digital channel?
|
create table table_1404984_1 (digital_channel varchar, network varchar, PRIMARY KEY (digital_channel))
|
select digital_channel from table_1404984_1 where network = "jctv"
|
what is the entry where the other person is zdeněk hrůza
|
create table table_28046929_2 (entrant varchar, co_driver varchar, PRIMARY KEY (entrant))
|
select entrant from table_28046929_2 where co_driver = "zdeněk hrůza"
|
In what prefecture is Susaki located?
|
create table table_2518850_4 (prefecture varchar, city_town varchar, PRIMARY KEY (prefecture))
|
select prefecture from table_2518850_4 where city_town = "susaki"
|
How many different locations does each school have?
|
create table department (school_code varchar, dept_address varchar, PRIMARY KEY (school_code))
|
select count(distinct dept_address), school_code from department group by school_code
|
What are the names and buying prices of all the products?
|
create table products (product_name varchar, typical_buying_price varchar, PRIMARY KEY (product_name))
|
select product_name, typical_buying_price from products
|
Name the hometown for ventrell jenkins
|
create table table_14624447_39 (hometown varchar, name varchar, PRIMARY KEY (hometown))
|
select hometown from table_14624447_39 where name = "ventrell jenkins"
|
List the total number of records from Lambeau Field.
|
create table table_14477002_1 (record varchar, location varchar, PRIMARY KEY (record))
|
select count(record) from table_14477002_1 where location = "lambeau field"
|
What language for the glam genre?
|
create table table_14160327_4 (language varchar, genre varchar, PRIMARY KEY (language))
|
select language from table_14160327_4 where genre = "glam"
|
how many afghan in banglash is hungarian
|
create table table_24807774_1 (afghan varchar, bangladeshi varchar, PRIMARY KEY (afghan))
|
select afghan from table_24807774_1 where bangladeshi = "hungarian"
|
If the director is Yannick Bisson, what was the Canadian amount of viewers?
|
create table table_25640730_7 (canadian_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (canadian_viewers__millions_))
|
select count(canadian_viewers__millions_) from table_25640730_7 where directed_by = "yannick bisson"
|
Name the saka era for sign of zodiac being pisces
|
create table table_169955_1 (saka_era varchar, sign_of_zodiac varchar, PRIMARY KEY (saka_era))
|
select saka_era from table_169955_1 where sign_of_zodiac = "pisces"
|
What is the opponent of the veterans stadium
|
create table table_12944805_15 (opponent varchar, game_site varchar, PRIMARY KEY (opponent))
|
select opponent from table_12944805_15 where game_site = "veterans stadium"
|
What was the week ranking of the episode written by Russel Friend & Garrett Lerner?
|
create table table_23177573_1 (rank__week_ varchar, written_by varchar, PRIMARY KEY (rank__week_))
|
select rank__week_ from table_23177573_1 where written_by = "russel friend & garrett lerner"
|
What is the benue house made of?
|
create table table_11464746_1 (composition varchar, house_name varchar, PRIMARY KEY (composition))
|
select composition from table_11464746_1 where house_name = "benue"
|
How many students live in HKG or CHI?
|
create table student (city_code varchar, PRIMARY KEY (city_code))
|
select count(*) from student where city_code = "hkg" or city_code = "chi"
|
Which airline has abbreviation 'UAL'?
|
create table airlines (airline varchar, abbreviation varchar, PRIMARY KEY (airline))
|
select airline from airlines where abbreviation = "ual"
|
What are the phone numbers of all customers and suppliers.
|
create table suppliers (customer_phone varchar, supplier_phone varchar, PRIMARY KEY (customer_phone)); create table customers (customer_phone varchar, supplier_phone varchar, PRIMARY KEY (customer_phone))
|
select customer_phone from customers union select supplier_phone from suppliers
|
list the name, job title of all people ordered by their names.
|
create table person (name varchar, job varchar, PRIMARY KEY (name))
|
select name, job from person order by name
|
Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1%
|
create table table_2668243_18 (party varchar, candidates varchar, PRIMARY KEY (party))
|
select count(party) from table_2668243_18 where candidates = "willis alston (j) 93.9% george e. spruill 6.1%"
|
Who wrote the lyrics when Jeevankala co-starred?
|
create table table_2528382_5 (lyricist varchar, co_stars varchar, PRIMARY KEY (lyricist))
|
select lyricist from table_2528382_5 where co_stars = "jeevankala"
|
What are McCain's Percent when Obama has 36.47%?
|
create table table_20688030_1 (mccain_percentage varchar, obama_percentage varchar, PRIMARY KEY (mccain_percentage))
|
select mccain_percentage from table_20688030_1 where obama_percentage = "36.47%"
|
Who directed the episode that was viewed by 2.57 million people in the U.S.?
|
create table table_11820086_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_11820086_1 where us_viewers__millions_ = "2.57"
|
Find the names of all the products whose stock number starts with "2".
|
create table catalog_contents (catalog_entry_name varchar, product_stock_number varchar, PRIMARY KEY (catalog_entry_name))
|
select catalog_entry_name from catalog_contents where product_stock_number like "2%"
|
Namethe team for feb 27, 1996
|
create table table_1594772_2 (team__a_ varchar, match_date varchar, PRIMARY KEY (team__a_))
|
select team__a_ from table_1594772_2 where match_date = "feb 27, 1996"
|
When alicia molik is the partner what is the outcome?
|
create table table_24901152_2 (outcome varchar, partner varchar, PRIMARY KEY (outcome))
|
select outcome from table_24901152_2 where partner = "alicia molik"
|
Show names of shops that have more than one kind of device in stock.
|
create table shop (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)); create table stock (shop_id varchar, PRIMARY KEY (shop_id))
|
select t2.shop_name from stock as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t1.shop_id having count(*) > 1
|
When godstone is in division five who is in division four?
|
create table table_24575253_4 (division_four varchar, division_five varchar, PRIMARY KEY (division_four))
|
select division_four from table_24575253_4 where division_five = "godstone"
|
Who had the high point total when they were 8-5?
|
create table table_27902171_4 (high_points varchar, record varchar, PRIMARY KEY (high_points))
|
select high_points from table_27902171_4 where record = "8-5"
|
What is the home city for the team whose home ground is dnb nor arena?
|
create table table_2522473_1 (home_city varchar, home_ground varchar, PRIMARY KEY (home_city))
|
select home_city from table_2522473_1 where home_ground = "dnb nor arena"
|
who made the recovers where the score is 12-30
|
create table table_13464416_6 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))
|
select high_rebounds from table_13464416_6 where record = "12-30"
|
Find the name and attribute ID of the attribute definitions with attribute value 0.
|
create table catalog_contents_additional_attributes (attribute_id varchar, attribute_value varchar, PRIMARY KEY (attribute_id)); create table attribute_definitions (attribute_name varchar, attribute_id varchar, PRIMARY KEY (attribute_name))
|
select t1.attribute_name, t1.attribute_id from attribute_definitions as t1 join catalog_contents_additional_attributes as t2 on t1.attribute_id = t2.attribute_id where t2.attribute_value = 0
|
Name the number of assets for australia
|
create table table_24307126_3 (assets_2013__bil varchar, base varchar, PRIMARY KEY (assets_2013__bil))
|
select count(assets_2013__bil) as $_ from table_24307126_3 where base = "australia"
|
What are all the characteristic names of product "sesame"?
|
create table characteristics (characteristic_name varchar, characteristic_id varchar, PRIMARY KEY (characteristic_name)); create table products (product_id varchar, product_name varchar, PRIMARY KEY (product_id)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))
|
select t3.characteristic_name 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 where t1.product_name = "sesame"
|
What was the vote tally on the episode aired May 5, 2005?
|
create table table_1272844_2 (vote varchar, air_date varchar, PRIMARY KEY (vote))
|
select vote from table_1272844_2 where air_date = "may 5, 2005"
|
How many different software platforms are there for devices?
|
create table device (software_platform varchar, PRIMARY KEY (software_platform))
|
select count(distinct software_platform) from device
|
what are all the Canadian air dates where the u.s. air date is may 1, 2009
|
create table table_12294557_3 (canadian_airdate varchar, us_airdate varchar, PRIMARY KEY (canadian_airdate))
|
select canadian_airdate from table_12294557_3 where us_airdate = "may 1, 2009"
|
Name the most runs conceded
|
create table table_15700367_4 (runs_conceded integer, PRIMARY KEY (runs_conceded))
|
select max(runs_conceded) from table_15700367_4
|
What is the Japanese title with an average rating of 11.6%?
|
create table table_18540104_1 (japanese_title varchar, average_ratings varchar, PRIMARY KEY (japanese_title))
|
select japanese_title from table_18540104_1 where average_ratings = "11.6%"
|
Name the total number directed by for uk viewers being 6.86
|
create table table_18012738_1 (directed_by varchar, uk_viewers__million_ varchar, PRIMARY KEY (directed_by))
|
select count(directed_by) from table_18012738_1 where uk_viewers__million_ = "6.86"
|
What is the make of the car that won the brazilian grand prix?
|
create table table_1139087_2 (constructor varchar, grand_prix varchar, PRIMARY KEY (constructor))
|
select constructor from table_1139087_2 where grand_prix = "brazilian grand_prix"
|
What is every release price(USD) for model number core i5-650?
|
create table table_23028629_2 (release_price___usd__ varchar, model_number varchar, PRIMARY KEY (release_price___usd__))
|
select release_price___usd__ from table_23028629_2 where model_number = "core i5-650"
|
Who directed episode number 23?
|
create table table_21025437_6 (directed_by varchar, episode_no varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_21025437_6 where episode_no = 23
|
What is every entry for epoch if periselene is 2,291.250?
|
create table table_206217_2 (epoch__utc_ varchar, periselene__km_ varchar, PRIMARY KEY (epoch__utc_))
|
select epoch__utc_ from table_206217_2 where periselene__km_ = "2,291.250"
|
How many characteristics are there?
|
create table characteristics (id varchar, PRIMARY KEY (id))
|
select count(*) from characteristics
|
what is x when faisaly is 0-0?
|
create table table_26173063_2 (× varchar, faisaly varchar, PRIMARY KEY (×))
|
select × from table_26173063_2 where faisaly = "0-0"
|
Find the kind of program which most number of students are enrolled in?
|
create table student_enrolment (degree_program_id varchar, PRIMARY KEY (degree_program_id)); create table degree_programs (degree_summary_name varchar, degree_program_id varchar, PRIMARY KEY (degree_summary_name))
|
select t1.degree_summary_name from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id group by t1.degree_summary_name order by count(*) desc limit 1
|
How many times has the student Linda Smith visited Subway?
|
create table visits_restaurant (id varchar, PRIMARY KEY (id)); create table student (id varchar, PRIMARY KEY (id)); create table restaurant (id varchar, PRIMARY KEY (id))
|
select count(*) from student join visits_restaurant on student.stuid = visits_restaurant.stuid join restaurant on visits_restaurant.resid = restaurant.resid where student.fname = "linda" and student.lname = "smith" and restaurant.resname = "subway"
|
Which city does student Linda Smith live in?
|
create table student (city_code varchar, fname varchar, lname varchar, PRIMARY KEY (city_code))
|
select city_code from student where fname = "linda" and lname = "smith"
|
What was the record in the game against Memphis?
|
create table table_22879323_8 (record varchar, team varchar, PRIMARY KEY (record))
|
select record from table_22879323_8 where team = "memphis"
|
If the opponents in the final is Hewitt McMillan and the partner is Fleming, what is the surface?
|
create table table_22597626_2 (surface varchar, partner varchar, opponents_in_the_final varchar, PRIMARY KEY (surface))
|
select surface from table_22597626_2 where partner = "fleming" and opponents_in_the_final = "hewitt mcmillan"
|
What is the total number for 3rd place for ducati xerox?
|
create table table_13196576_2 (team varchar, PRIMARY KEY (team))
|
select count(3 as rd_pl) from table_13196576_2 where team = "ducati xerox"
|
What group a winner was for nocerina?
|
create table table_1137142_1 (group_a_winner varchar, group_d_winner varchar, PRIMARY KEY (group_a_winner))
|
select group_a_winner from table_1137142_1 where group_d_winner = "nocerina"
|
What is the local name given to the capital of Anguilla?
|
create table table_1008653_1 (capital___endonym__ varchar, country___endonym__ varchar, PRIMARY KEY (capital___endonym__))
|
select capital___endonym__ from table_1008653_1 where country___endonym__ = "anguilla"
|
Find the distinct last names of all the students who have president votes and whose advisor is 8741.
|
create table student (lname varchar, president_vote varchar, advisor varchar, PRIMARY KEY (lname)); create table student (lname varchar, stuid varchar, PRIMARY KEY (lname)); create table voting_record (id varchar, PRIMARY KEY (id))
|
select distinct t1.lname from student as t1 join voting_record as t2 on t1.stuid = president_vote intersect select distinct lname from student where advisor = "8741"
|
What university was founded in 1898?
|
create table table_24697604_1 (university varchar, year_founded varchar, PRIMARY KEY (university))
|
select university from table_24697604_1 where year_founded = 1898
|
What is the largest ethnic group of the settlement with the cyrillic name of банатско аранђелово?
|
create table table_2562572_30 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))
|
select largest_ethnic_group__2002_ from table_2562572_30 where cyrillic_name_other_names = "банатско аранђелово"
|
Provide me with the names of all the villages (German) that has 76.3% of Slovenes in 1951.
|
create table table_10798421_1 (village__german_ varchar, percent_of_slovenes_1951 varchar, PRIMARY KEY (village__german_))
|
select village__german_ from table_10798421_1 where percent_of_slovenes_1951 = "76.3%"
|
What is the name and id of the staff who recorded the fault log but has not contacted any visiting engineers?
|
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)); create table fault_log (recorded_by_staff_id varchar, PRIMARY KEY (recorded_by_staff_id))
|
select t1.staff_name, t1.staff_id from staff as t1 join fault_log as t2 on t1.staff_id = t2.recorded_by_staff_id except select t3.staff_name, t3.staff_id from staff as t3 join engineer_visits as t4 on t3.staff_id = t4.contact_staff_id
|
What is every yellow jersey entry for the distance 125?
|
create table table_275506_1 (yellow_jersey varchar, distance__km_ varchar, PRIMARY KEY (yellow_jersey))
|
select yellow_jersey from table_275506_1 where distance__km_ = "125"
|
How many different values of total power are there for the unit whose construction started on 01.03.1977 and whose commercial operation started on 01.02.1984?
|
create table table_12983929_1 (total_power varchar, construction_start varchar, commercial_operation varchar, PRIMARY KEY (total_power))
|
select count(total_power) from table_12983929_1 where construction_start = "01.03.1977" and commercial_operation = "01.02.1984"
|
What are all the payment methods?
|
create table customers (payment_method varchar, PRIMARY KEY (payment_method))
|
select distinct payment_method from customers
|
how many times have there been helps by damon stoudamire (13)
|
create table table_13464416_6 (record varchar, high_assists varchar, PRIMARY KEY (record))
|
select count(record) from table_13464416_6 where high_assists = "damon stoudamire (13)"
|
What is the modern german standard wording for the german based writing system 2 phrase "wie mir die vergewwe wu uns schuldich sinn."?
|
create table table_181240_1 (modern_german__standard_wording_ varchar, writing_system_2__german_based_ varchar, PRIMARY KEY (modern_german__standard_wording_))
|
select modern_german__standard_wording_ from table_181240_1 where writing_system_2__german_based_ = "wie mir die vergewwe wu uns schuldich sinn."
|
What are the distinct reigns of wrestlers whose location is not "Tokyo,Japan" ?
|
create table wrestler (reign varchar, location varchar, PRIMARY KEY (reign))
|
select distinct reign from wrestler where location <> "tokyo , japan"
|
Return all the information for all employees without any department number.
|
create table employees (department_id varchar, PRIMARY KEY (department_id))
|
select * from employees where department_id = "null"
|
What are airlines that have some flight departing from airport 'AHD'?
|
create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline)); create table flights (airline varchar, sourceairport varchar, PRIMARY KEY (airline))
|
select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = "ahd"
|
What is the name of the episode that aired originally on October 18, 1991?
|
create table table_2468961_2 (title varchar, original_air_date varchar, PRIMARY KEY (title))
|
select title from table_2468961_2 where original_air_date = "october 18, 1991"
|
Name the guest 3 for iyare igiehon
|
create table table_20466963_13 (guest_3 varchar, guest_2 varchar, PRIMARY KEY (guest_3))
|
select guest_3 from table_20466963_13 where guest_2 = "iyare igiehon"
|
What are the profits (in billions) of the company with a market value of 172.9 billion?
|
create table table_1682026_3 (profits__billion_$_ varchar, market_value__billion_$_ varchar, PRIMARY KEY (profits__billion_$_))
|
select profits__billion_$_ from table_1682026_3 where market_value__billion_$_ = "172.9"
|
To which party does Robert W. Edgar belong?
|
create table table_1341598_39 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1341598_39 where incumbent = "robert w. edgar"
|
What are different nationalities of people and the corresponding number of people from each nation?
|
create table people (nationality varchar, PRIMARY KEY (nationality))
|
select nationality, count(*) from people group by nationality
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.