question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
What's the model of the processor with a 5.5 w TDP?
|
create table table_24099916_1 (model__list_ varchar, tdp varchar, PRIMARY KEY (model__list_))
|
select model__list_ from table_24099916_1 where tdp = "5.5 w"
|
What was the name of the episode directed by Jessica Yu?
|
create table table_23492454_1 (title varchar, directed_by varchar, PRIMARY KEY (title))
|
select title from table_23492454_1 where directed_by = "jessica yu"
|
What country is the contestant from Salto from?
|
create table table_20754016_2 (country varchar, hometown varchar, PRIMARY KEY (country))
|
select country from table_20754016_2 where hometown = "salto"
|
How many lowest mark entries are there when % passed is 76?
|
create table table_29842201_1 (lowest_mark varchar, _percentage_pass varchar, PRIMARY KEY (lowest_mark))
|
select count(lowest_mark) from table_29842201_1 where _percentage_pass = 76
|
What are the profits of Wells Fargo (in billions)?
|
create table table_1682026_3 (profits__billion_$_ varchar, company varchar, PRIMARY KEY (profits__billion_$_))
|
select profits__billion_$_ from table_1682026_3 where company = "wells fargo"
|
Name the time for entries being 907
|
create table table_2534387_10 (time__et_ varchar, entries varchar, PRIMARY KEY (time__et_))
|
select time__et_ from table_2534387_10 where entries = "907"
|
What is the percentage seats contested for the revolutionary socialist party?
|
create table table_20728138_1 (_percentage_in_seats_contested varchar, party varchar, PRIMARY KEY (_percentage_in_seats_contested))
|
select _percentage_in_seats_contested from table_20728138_1 where party = "revolutionary socialist party"
|
What eagle riders where ova (harmony gold dub) is lord zortek?
|
create table table_17480471_3 (eagle_riders varchar, ova__harmony_gold_dub_ varchar, PRIMARY KEY (eagle_riders))
|
select eagle_riders from table_17480471_3 where ova__harmony_gold_dub_ = "lord zortek"
|
What was the average finish when the average start was 18.4?
|
create table table_1507423_4 (avg_finish varchar, avg_start varchar, PRIMARY KEY (avg_finish))
|
select avg_finish from table_1507423_4 where avg_start = "18.4"
|
What is the size of Itwara central forest reserve?
|
create table table_16577990_1 (size_in_km² integer, central_forest_reserve varchar, PRIMARY KEY (size_in_km²))
|
select min(size_in_km²) from table_16577990_1 where central_forest_reserve = "itwara"
|
what is ahli when ramtha is 0-4?
|
create table table_26173063_2 (ahli varchar, ramtha varchar, PRIMARY KEY (ahli))
|
select ahli from table_26173063_2 where ramtha = "0-4"
|
What is the car number for driver Hélio Castroneves
|
create table table_17330069_1 (car_no integer, driver varchar, PRIMARY KEY (car_no))
|
select min(car_no) from table_17330069_1 where driver = "hélio castroneves"
|
what is the name of the report that lists the race name as long beach grand prix?
|
create table table_10707142_2 (report varchar, race_name varchar, PRIMARY KEY (report))
|
select report from table_10707142_2 where race_name = "long beach grand prix"
|
Name the 1/8 finals for round 1 n/a
|
create table table_18646111_13 (round_1 varchar, PRIMARY KEY (round_1))
|
select 1 as _8_finals from table_18646111_13 where round_1 = "n/a"
|
Where were games played when the record was 9-1?
|
create table table_22862203_2 (location varchar, record varchar, PRIMARY KEY (location))
|
select location from table_22862203_2 where record = "9-1"
|
What is the genre for the group with ages 29-30?
|
create table table_27529608_21 (genre varchar, age_s_ varchar, PRIMARY KEY (genre))
|
select genre from table_27529608_21 where age_s_ = "29-30"
|
How much ht does the model with 10x mult. 1 have?
|
create table table_27277284_28 (ht varchar, mult_1 varchar, PRIMARY KEY (ht))
|
select ht from table_27277284_28 where mult_1 = "10x"
|
Which operators offer a genre of music?
|
create table table_1837570_1 (operator varchar, genre varchar, PRIMARY KEY (operator))
|
select operator from table_1837570_1 where genre = "music"
|
List all themes from the top 9.
|
create table table_23871828_1 (theme varchar, week__number varchar, PRIMARY KEY (theme))
|
select theme from table_23871828_1 where week__number = "top 9"
|
Jack Lynch played for the oshawa generals (omjhl) before playing for what nhl team?
|
create table table_1473672_2 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))
|
select nhl_team from table_1473672_2 where college_junior_club_team = "oshawa generals (omjhl)"
|
What is the winning score when 5 strokes is the margin of victory?
|
create table table_2167226_3 (winning_score varchar, margin_of_victory varchar, PRIMARY KEY (winning_score))
|
select winning_score from table_2167226_3 where margin_of_victory = "5 strokes"
|
How many places has the rank changed since 2006, for Clane?
|
create table table_1940144_1 (change_since_2006 varchar, urban_area varchar, PRIMARY KEY (change_since_2006))
|
select change_since_2006 from table_1940144_1 where urban_area = "clane"
|
How many people voted for Obama in the county where McCain got 72.75% of the votes?
|
create table table_20799587_1 (obama_number integer, mccain_percentage varchar, PRIMARY KEY (obama_number))
|
select min(obama_number) from table_20799587_1 where mccain_percentage = "72.75%"
|
How may women doubles winner were there when Philippe Aulner was mens singles winner?
|
create table table_15001957_1 (womens_doubles varchar, mens_singles varchar, PRIMARY KEY (womens_doubles))
|
select count(womens_doubles) from table_15001957_1 where mens_singles = "philippe aulner"
|
What is the circuit located in baltimore , maryland?
|
create table table_30134667_2 (circuit varchar, location varchar, PRIMARY KEY (circuit))
|
select circuit from table_30134667_2 where location = "baltimore , maryland"
|
How many professors who has a either Ph.D. or MA degree?
|
create table professor (prof_high_degree varchar, PRIMARY KEY (prof_high_degree))
|
select count(*) from professor where prof_high_degree = 'ph.d.' or prof_high_degree = 'ma'
|
How many employees do we have?
|
create table employees (id varchar, PRIMARY KEY (id))
|
select count(*) from employees
|
What team did the New York Rangers recruit a player from?
|
create table table_2886617_4 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))
|
select college_junior_club_team from table_2886617_4 where nhl_team = "new york rangers"
|
What is the color description of the product with name "catnip"?
|
create table products (color_code varchar, product_name varchar, PRIMARY KEY (color_code)); create table ref_colors (color_description varchar, color_code varchar, PRIMARY KEY (color_description))
|
select t2.color_description from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code where t1.product_name = "catnip"
|
When the value rank is 23, what is the value?
|
create table table_21109892_1 (value__int_ integer, value_world_rank varchar, PRIMARY KEY (value__int_))
|
select min(value__int_) as $1000_ from table_21109892_1 where value_world_rank = "23"
|
How many values for Maghreb with Mediterranean Europe is Siciliense?
|
create table table_22860_1 (maghreb varchar, mediterranean_europe varchar, PRIMARY KEY (maghreb))
|
select count(maghreb) from table_22860_1 where mediterranean_europe = "siciliense"
|
What is the theme where the original artist is AC/DC?
|
create table table_25374338_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))
|
select theme from table_25374338_1 where original_artist = "ac/dc"
|
What are the maximum and minimum settlement amount on record?
|
create table settlements (settlement_amount integer, PRIMARY KEY (settlement_amount))
|
select max(settlement_amount), min(settlement_amount) from settlements
|
What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?
|
create table table_161591_2 (expenditure__s$m_ varchar, operating_profit__s$m_ varchar, PRIMARY KEY (expenditure__s$m_))
|
select expenditure__s$m_ from table_161591_2 where operating_profit__s$m_ = "717.1"
|
How many of the schools listed are in Ames, IA?
|
create table table_10082596_1 (primary_conference varchar, location varchar, PRIMARY KEY (primary_conference))
|
select count(primary_conference) from table_10082596_1 where location = "ames, ia"
|
What is the id of the event with the most participants?
|
create table participants_in_events (event_id varchar, PRIMARY KEY (event_id))
|
select event_id from participants_in_events group by event_id order by count(*) desc limit 1
|
When 24.1 million is international tourist arrivals (2012) what is the change (2010 to 2011) ?
|
create table table_14752049_6 (change__2010_to_2011_ varchar, international_tourist_arrivals__2012_ varchar, PRIMARY KEY (change__2010_to_2011_))
|
select change__2010_to_2011_ from table_14752049_6 where international_tourist_arrivals__2012_ = "24.1 million"
|
How many trains call at Castor, Overton, Peterborough East and are operated by LNWR?
|
create table table_12221135_3 (arrival varchar, operator varchar, calling_at varchar, PRIMARY KEY (arrival))
|
select count(arrival) from table_12221135_3 where operator = "lnwr" and calling_at = "castor, overton, peterborough east"
|
How many integrated allied-related are there?
|
create table table_11944282_1 (integrated varchar, allied_related varchar, PRIMARY KEY (integrated))
|
select integrated from table_11944282_1 where allied_related = "many"
|
Name the sprint classification being alejandro valverde
|
create table table_22713796_14 (sprint_classification varchar, winner varchar, PRIMARY KEY (sprint_classification))
|
select sprint_classification from table_22713796_14 where winner = "alejandro valverde"
|
For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description.
|
create table skills_required_to_fix (part_fault_id varchar, skill_id varchar, PRIMARY KEY (part_fault_id)); create table part_faults (fault_short_name varchar, part_fault_id varchar, PRIMARY KEY (fault_short_name)); create table skills (skill_description varchar, skill_id varchar, PRIMARY KEY (skill_description))
|
select t1.fault_short_name, t3.skill_description from part_faults as t1 join skills_required_to_fix as t2 on t1.part_fault_id = t2.part_fault_id join skills as t3 on t2.skill_id = t3.skill_id
|
What is the original air date of the Jamie Babbit directed episode?
|
create table table_11404452_1 (original_air_date varchar, director varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_11404452_1 where director = "jamie babbit"
|
What is the height for the player in 1968-72?
|
create table table_11734041_11 (height_in_ft varchar, years_for_rockets varchar, PRIMARY KEY (height_in_ft))
|
select height_in_ft from table_11734041_11 where years_for_rockets = "1968-72"
|
what is the overall record when the club is dallas burn?
|
create table table_1246208_5 (overall_record varchar, club varchar, PRIMARY KEY (overall_record))
|
select overall_record from table_1246208_5 where club = "dallas burn"
|
What are electricals where secretariat is po(w)?
|
create table table_1348246_3 (electrical varchar, secretariat varchar, PRIMARY KEY (electrical))
|
select electrical from table_1348246_3 where secretariat = "po(w)"
|
Which state can address "6862 Kaitlyn Knolls" possibly be in?
|
create table addresses (state_province_county varchar, line_1_number_building varchar, PRIMARY KEY (state_province_county))
|
select state_province_county from addresses where line_1_number_building like "%6862 kaitlyn knolls%"
|
What is the city_code of the city that the most students live in?
|
create table student (city_code varchar, PRIMARY KEY (city_code))
|
select city_code from student group by city_code order by count(*) desc limit 1
|
How many solar eclipse during June 10-11 and march 27-29 is 149?
|
create table table_25287007_2 (june_10_11 varchar, march_27_29 varchar, PRIMARY KEY (june_10_11))
|
select june_10_11 from table_25287007_2 where march_27_29 = "149"
|
What are the names of the airports which are not in the country 'Iceland'?
|
create table airport (name varchar, country varchar, PRIMARY KEY (name))
|
select name from airport where country <> 'iceland'
|
What is the area of cimahi city?
|
create table table_21734764_1 (area__km²__2005 varchar, administrative_division varchar, PRIMARY KEY (area__km²__2005))
|
select area__km²__2005 from table_21734764_1 where administrative_division = "cimahi city"
|
What is the fewest recorded entrants against paris saint-germain?
|
create table table_26455614_1 (entries integer, winner varchar, PRIMARY KEY (entries))
|
select min(entries) from table_26455614_1 where winner = "paris saint-germain"
|
What is the name of the shop that is hiring the largest number of employees?
|
create table shop (name varchar, shop_id varchar, PRIMARY KEY (name)); create table hiring (shop_id varchar, PRIMARY KEY (shop_id))
|
select t2.name from hiring as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t1.shop_id order by count(*) desc limit 1
|
Find the average ranking for each player and their first name.
|
create table players (first_name varchar, player_id varchar, PRIMARY KEY (first_name)); create table rankings (player_id varchar, PRIMARY KEY (player_id))
|
select avg(ranking), t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id group by t1.first_name
|
when hayden roulston is the winner what is the team classification?
|
create table table_28298471_14 (team_classification varchar, winner varchar, PRIMARY KEY (team_classification))
|
select team_classification from table_28298471_14 where winner = "hayden roulston"
|
Name the finished for exited day 13
|
create table table_14345690_4 (finished varchar, exited varchar, PRIMARY KEY (finished))
|
select finished from table_14345690_4 where exited = "day 13"
|
what's the torque where performance is 0–100km/h: 7.5s auto, vmax: km/h (mph)
|
create table table_11167610_1 (torque varchar, performance varchar, PRIMARY KEY (torque))
|
select torque from table_11167610_1 where performance = "0–100km/h: 7.5s auto, vmax: km/h (mph)"
|
What is the df when Adam Hinshelwood is Junior Mendes?
|
create table table_23835213_2 (df varchar, adam_hinshelwood varchar, PRIMARY KEY (df))
|
select df from table_23835213_2 where adam_hinshelwood = "junior mendes"
|
How many yards per attempt were there when total yards were 513?
|
create table table_19517448_3 (yards_per_attempt varchar, total_yards varchar, PRIMARY KEY (yards_per_attempt))
|
select yards_per_attempt from table_19517448_3 where total_yards = "513"
|
What is the power of the Baguio station?
|
create table table_17822401_1 (power__kw_ varchar, location varchar, PRIMARY KEY (power__kw_))
|
select power__kw_ from table_17822401_1 where location = "baguio"
|
List all areas within 1000 km in the city of Lubelskie?
|
create table table_11654169_1 (area_in_1000km²__1930_ varchar, voivodeship_separate_city varchar, PRIMARY KEY (area_in_1000km²__1930_))
|
select area_in_1000km²__1930_ from table_11654169_1 where voivodeship_separate_city = "lubelskie"
|
Name the most female life expectancy for djibouti
|
create table table_2701625_1 (female_life_expectancy integer, country varchar, PRIMARY KEY (female_life_expectancy))
|
select max(female_life_expectancy) from table_2701625_1 where country = "djibouti"
|
What is the paper type of the University of Saskatchewan themed stamp?
|
create table table_11900773_5 (paper_type varchar, theme varchar, PRIMARY KEY (paper_type))
|
select paper_type from table_11900773_5 where theme = "university of saskatchewan"
|
Name the 2nd m for gregor schlierenzauer
|
create table table_14407512_24 (name varchar, PRIMARY KEY (name))
|
select 2 as nd__m_ from table_14407512_24 where name = "gregor schlierenzauer"
|
How old was the official with Chinese name 孫明揚?
|
create table table_2263674_1 (age_at_appointment varchar, chinese_name varchar, PRIMARY KEY (age_at_appointment))
|
select age_at_appointment from table_2263674_1 where chinese_name = "孫明揚"
|
What's 梁愛詩's romanised name?
|
create table table_2263674_1 (romanised_name varchar, chinese_name varchar, PRIMARY KEY (romanised_name))
|
select romanised_name from table_2263674_1 where chinese_name = "梁愛詩"
|
What is the capital of the country with a population density per km² of 15.6/km² (/sqmi)?
|
create table table_26769_1 (capital varchar, population_density_per_km² varchar, PRIMARY KEY (capital))
|
select capital from table_26769_1 where population_density_per_km² = "15.6/km² (/sqmi)"
|
What is the record where high assists is pierce (6)?
|
create table table_11959669_6 (record varchar, high_assists varchar, PRIMARY KEY (record))
|
select record from table_11959669_6 where high_assists = "pierce (6)"
|
HOW MUCH IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007?
|
create table table_11251601_2 (percentage_of_global_total varchar, carbon_dioxide_emissions_per_year__tons_per_person___2007_ varchar, PRIMARY KEY (percentage_of_global_total))
|
select percentage_of_global_total from table_11251601_2 where carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "4.9"
|
How many record data were written when Devin Harris (6) was High Assists?
|
create table table_27700375_8 (record varchar, high_assists varchar, PRIMARY KEY (record))
|
select count(record) from table_27700375_8 where high_assists = "devin harris (6)"
|
What is the wheel arrangement for the train in Riverdale, Georgia?
|
create table table_1057316_1 (wheel_arrangement___whyte_notation__ varchar, disposition varchar, PRIMARY KEY (wheel_arrangement___whyte_notation__))
|
select wheel_arrangement___whyte_notation__ from table_1057316_1 where disposition = "riverdale, georgia"
|
What's the HP -hr/gal of the fuel whose GGE is 0.9000?
|
create table table_2224692_1 (hp__hr_gal varchar, gge varchar, PRIMARY KEY (hp__hr_gal))
|
select hp__hr_gal from table_2224692_1 where gge = "0.9000"
|
In how many different parts was the incumbent Abraham B. Venable?
|
create table table_2668416_18 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select count(party) from table_2668416_18 where incumbent = "abraham b. venable"
|
What's the record of the game in which Carlos Delfino (17) did the most high points?
|
create table table_22871316_6 (record varchar, high_points varchar, PRIMARY KEY (record))
|
select record from table_22871316_6 where high_points = "carlos delfino (17)"
|
How many numbers were recorded under Obama when he had 29.9% voters?
|
create table table_20693870_1 (obama_number varchar, obama_percentage varchar, PRIMARY KEY (obama_number))
|
select count(obama_number) from table_20693870_1 where obama_percentage = "29.9%"
|
What is the try bonus for Ruthin RFC?
|
create table table_14058433_3 (try_bonus varchar, club varchar, PRIMARY KEY (try_bonus))
|
select try_bonus from table_14058433_3 where club = "ruthin rfc"
|
Show all majors.
|
create table student (major varchar, PRIMARY KEY (major))
|
select distinct major from student
|
Name the jason for public vote being 19.20%
|
create table table_21234111_6 (jason varchar, public_vote__percentage varchar, PRIMARY KEY (jason))
|
select jason from table_21234111_6 where public_vote__percentage = "19.20%"
|
What is the gender of the Roman Catholic school is AL4?
|
create table table_28523_3 (gender varchar, religious_affiliation varchar, location varchar, PRIMARY KEY (gender))
|
select gender from table_28523_3 where religious_affiliation = "roman catholic" and location = "al4"
|
Who won the season with Africa as its destination?
|
create table table_20026849_1 (winner varchar, destination varchar, PRIMARY KEY (winner))
|
select winner from table_20026849_1 where destination = "africa"
|
Name the studio for catalog number 81063
|
create table table_27303975_2 (studio varchar, catalog_number varchar, PRIMARY KEY (studio))
|
select studio from table_27303975_2 where catalog_number = "81063"
|
What is the teaching language with the duration (years) 3.5?
|
create table table_12591022_2 (teaching_language varchar, duration__years_ varchar, PRIMARY KEY (teaching_language))
|
select teaching_language from table_12591022_2 where duration__years_ = "3.5"
|
What is the literacy rate for groups that grew 103.1% between 1991 and 2001?
|
create table table_10710364_2 (literacy___percentage_ varchar, growth__1991_2001_ varchar, PRIMARY KEY (literacy___percentage_))
|
select literacy___percentage_ from table_10710364_2 where growth__1991_2001_ = "103.1%"
|
How many colleges in total?
|
create table college (id varchar, PRIMARY KEY (id))
|
select count(*) from college
|
What is the june 10-11 when august 21-22 is august 21, 2017?
|
create table table_25355392_2 (june_10_11 varchar, august_21_22 varchar, PRIMARY KEY (june_10_11))
|
select june_10_11 from table_25355392_2 where august_21_22 = "august 21, 2017"
|
Find the numbers of different majors and cities.
|
create table student (major varchar, city_code varchar, PRIMARY KEY (major))
|
select count(distinct major), count(distinct city_code) from student
|
What medium was used for the sculpture of George Harold Baker?
|
create table table_20903658_1 (medium varchar, title_subject varchar, PRIMARY KEY (medium))
|
select medium from table_20903658_1 where title_subject = "george harold baker"
|
What was the percentage in 2011 of the province that had 2.4% population in 2001?
|
create table table_1717824_1 (_percentage_2011 varchar, _percentage_2001 varchar, PRIMARY KEY (_percentage_2011))
|
select _percentage_2011 from table_1717824_1 where _percentage_2001 = "2.4%"
|
What is the zip code of staff with first name as Janessa and last name as Sawayn lived?
|
create table addresses (zip_postcode varchar, address_id varchar, PRIMARY KEY (zip_postcode)); create table staff (staff_address_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (staff_address_id))
|
select t1.zip_postcode from addresses as t1 join staff as t2 on t1.address_id = t2.staff_address_id where t2.first_name = "janessa" and t2.last_name = "sawayn"
|
Who had the fastest lap for the circuit magione?
|
create table table_26920192_5 (fastest_lap varchar, circuit varchar, PRIMARY KEY (fastest_lap))
|
select fastest_lap from table_26920192_5 where circuit = "magione"
|
What are the countries that have at least two perpetrators?
|
create table perpetrator (country varchar, PRIMARY KEY (country))
|
select country, count(*) from perpetrator group by country having count(*) >= 2
|
Who is the captain of the team whose kit manufacturer is Nike?
|
create table table_25527255_2 (captain varchar, kit_manufacturer varchar, PRIMARY KEY (captain))
|
select captain from table_25527255_2 where kit_manufacturer = "nike"
|
What is the losing bonus for the team with a point difference of -99?
|
create table table_15467476_3 (losing_bonus varchar, points_difference varchar, PRIMARY KEY (losing_bonus))
|
select losing_bonus from table_15467476_3 where points_difference = "-99"
|
What kind of paper were the stamps with the theme duck decoys, barrow's golden eye printed on?
|
create table table_11900773_4 (paper_type varchar, theme varchar, PRIMARY KEY (paper_type))
|
select paper_type from table_11900773_4 where theme = "duck decoys, barrow's golden eye"
|
how many 10wi and bbi is 6/101
|
create table table_28846752_5 (bbi varchar, PRIMARY KEY (bbi))
|
select count(10 as wi) from table_28846752_5 where bbi = "6/101"
|
Find the first name of students who are living in the dorm that has most number of amenities.
|
create table dorm_amenity (amenid varchar, PRIMARY KEY (amenid)); create table lives_in (stuid varchar, dormid varchar, PRIMARY KEY (stuid)); create table dorm (dormid varchar, PRIMARY KEY (dormid)); create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid))
|
select t1.fname from student as t1 join lives_in as t2 on t1.stuid = t2.stuid where t2.dormid in (select t2.dormid from dorm as t3 join has_amenity as t4 on t3.dormid = t4.dormid join dorm_amenity as t5 on t4.amenid = t5.amenid group by t3.dormid order by count(*) desc limit 1)
|
how many points did the argentinos juniors team score during the 1986-87 season?
|
create table table_14489821_1 (team varchar, PRIMARY KEY (team))
|
select 1986 as _87 from table_14489821_1 where team = "argentinos juniors"
|
What is the number of monarchs that had Yan Maw la Mon as the heir?
|
create table table_26460435_5 (monarch varchar, heir varchar, PRIMARY KEY (monarch))
|
select count(monarch) from table_26460435_5 where heir = "yan maw la mon"
|
What are the commissioned for scotts, greenock and chieftain?
|
create table table_1206583_2 (commissioned varchar, builder varchar, name varchar, PRIMARY KEY (commissioned))
|
select commissioned from table_1206583_2 where builder = "scotts, greenock" and name = "chieftain"
|
How many employees are living in Canada?
|
create table employees (country varchar, PRIMARY KEY (country))
|
select count(*) from employees where country = "canada"
|
Find the payment method that is used most frequently.
|
create table customers (payment_method varchar, PRIMARY KEY (payment_method))
|
select payment_method from customers group by payment_method order by count(*) desc limit 1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.