question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
what is bb - blind bear where ba - running bear is mf - mountain falcon?
|
create table table_2603017_2 (bb___blind_bear varchar, ba___running_bear varchar, PRIMARY KEY (bb___blind_bear))
|
select bb___blind_bear from table_2603017_2 where ba___running_bear = "mf - mountain falcon"
|
Which team has dirk nowitski (13) as high rebounds?
|
create table table_23284271_10 (team varchar, high_rebounds varchar, PRIMARY KEY (team))
|
select team from table_23284271_10 where high_rebounds = "dirk nowitski (13)"
|
How many trains have 'Express' in their names?
|
create table train (name varchar, PRIMARY KEY (name))
|
select count(*) from train where name like "%express%"
|
how many archive were when run time is 24:34
|
create table table_2112766_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))
|
select archive from table_2112766_1 where run_time = "24:34"
|
Show member names that are not in the Progress Party.
|
create table party (party_id varchar, party_name varchar, PRIMARY KEY (party_id)); create table member (member_name varchar, party_id varchar, PRIMARY KEY (member_name))
|
select t1.member_name from member as t1 join party as t2 on t1.party_id = t2.party_id where t2.party_name <> "progress party"
|
What's the title of the episode first seen by 18.15 million people in the US?
|
create table table_22078972_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))
|
select title from table_22078972_2 where us_viewers__millions_ = "18.15"
|
Name the base 10 for peletier for bi llion
|
create table table_260938_1 (base_10 varchar, peletier varchar, PRIMARY KEY (base_10))
|
select base_10 from table_260938_1 where peletier = "bi llion"
|
What is every description if NO votes is 233759?
|
create table table_256286_43 (description varchar, no_votes varchar, PRIMARY KEY (description))
|
select description from table_256286_43 where no_votes = 233759
|
Which seasons were directed by Nelson McCormick?
|
create table table_17355933_1 (title varchar, directed_by varchar, PRIMARY KEY (title))
|
select title from table_17355933_1 where directed_by = "nelson mccormick"
|
Name the callsign for davao mindanao region
|
create table table_27914076_1 (callsign varchar, coverage varchar, PRIMARY KEY (callsign))
|
select callsign from table_27914076_1 where coverage = "davao mindanao region"
|
Show the order ids and the number of items in each order.
|
create table order_items (order_id varchar, PRIMARY KEY (order_id))
|
select order_id, count(*) from order_items group by order_id
|
Find the first name of the band mate that has performed in most songs.
|
create table songs (songid varchar, PRIMARY KEY (songid)); create table band (firstname varchar, id varchar, PRIMARY KEY (firstname)); create table performance (bandmate varchar, PRIMARY KEY (bandmate))
|
select t2.firstname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid group by firstname order by count(*) desc limit 1
|
How many directors are there for the episode that had 1.59 million U.S. viewers?
|
create table table_22347090_6 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))
|
select count(directed_by) from table_22347090_6 where us_viewers__million_ = "1.59"
|
Who was the director of the film with the original title of "The Patience Stone"?
|
create table table_17155250_1 (director varchar, original_title varchar, PRIMARY KEY (director))
|
select director from table_17155250_1 where original_title = "the patience stone"
|
What was the average speed where the total time was 1:30.4842?
|
create table table_23018775_3 (avg_speed varchar, total_time varchar, PRIMARY KEY (avg_speed))
|
select avg_speed from table_23018775_3 where total_time = "1:30.4842"
|
What districts of Bihar have a sex ratio in 1991 of 864?
|
create table table_19589113_5 (districts_of_bihar varchar, sex_ratio_‡_1991 varchar, PRIMARY KEY (districts_of_bihar))
|
select districts_of_bihar from table_19589113_5 where sex_ratio_‡_1991 = 864
|
List countries that have more than one swimmer.
|
create table swimmer (nationality varchar, PRIMARY KEY (nationality))
|
select nationality, count(*) from swimmer group by nationality having count(*) > 1
|
If the height order is 1 and the soundfield type is mixed-order, what are all the channels?
|
create table table_233830_1 (channels varchar, soundfield_type varchar, height_order varchar, PRIMARY KEY (channels))
|
select channels from table_233830_1 where soundfield_type = "mixed-order" and height_order = 1
|
Find the name of dorms which have TV Lounge but no Study Room as amenity.
|
create table dorm (dorm_name varchar, dormid varchar, PRIMARY KEY (dorm_name)); create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm_amenity (amenid varchar, amenity_name varchar, PRIMARY KEY (amenid))
|
select t1.dorm_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t3.amenity_name = 'tv lounge' except select t1.dorm_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t3.amenity_name = 'study room'
|
Who is the manager for lootos põlva?
|
create table table_27409644_1 (manager varchar, club varchar, PRIMARY KEY (manager))
|
select manager from table_27409644_1 where club = "lootos põlva"
|
what is the transliteration during the period covered is 1125-1223?
|
create table table_22464685_1 (transliteration varchar, period_covered varchar, PRIMARY KEY (transliteration))
|
select transliteration from table_22464685_1 where period_covered = "1125-1223"
|
What is the percentage of total capacity when the energy is 120.2?
|
create table table_11456251_5 (_percentage_of_total_capacity varchar, annual_energy__billion_kwh_ varchar, PRIMARY KEY (_percentage_of_total_capacity))
|
select _percentage_of_total_capacity from table_11456251_5 where annual_energy__billion_kwh_ = "120.2"
|
What is the abbreviation/symbol of 辽宁省 liáoníng shěng?
|
create table table_254234_1 (abbreviation_symbol varchar, chinese_name varchar, PRIMARY KEY (abbreviation_symbol))
|
select abbreviation_symbol from table_254234_1 where chinese_name = "辽宁省 liáoníng shěng"
|
Name the route number for rincon valley
|
create table table_25692955_1 (route_number varchar, south_west_terminal varchar, PRIMARY KEY (route_number))
|
select route_number from table_25692955_1 where south_west_terminal = "rincon valley"
|
Name the least spirou
|
create table table_15163938_1 (spirou integer, PRIMARY KEY (spirou))
|
select min(spirou) from table_15163938_1
|
How many candidates ran in the race where the incumbent is J. L. Pilcher?
|
create table table_1342013_10 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select count(candidates) from table_1342013_10 where incumbent = "j. l. pilcher"
|
What is the date of enrollment of the course named "Spanish"?
|
create table student_course_enrolment (date_of_enrolment varchar, course_id varchar, PRIMARY KEY (date_of_enrolment)); create table courses (course_id varchar, course_name varchar, PRIMARY KEY (course_id))
|
select t2.date_of_enrolment from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id where t1.course_name = "spanish"
|
Name the language for villa 1167
|
create table table_2509350_3 (language varchar, villa_alcalá_municipality varchar, PRIMARY KEY (language))
|
select language from table_2509350_3 where villa_alcalá_municipality = 1167
|
Who won the race at Magny-Cours
|
create table table_15187794_1 (race_winner varchar, circuit varchar, PRIMARY KEY (race_winner))
|
select race_winner from table_15187794_1 where circuit = "magny-cours"
|
What are the distinct types of the companies that have operated any flights with velocity less than 200?
|
create table flight (id varchar, PRIMARY KEY (id)); create table operate_company (type varchar, id varchar, PRIMARY KEY (type))
|
select distinct t1.type from operate_company as t1 join flight as t2 on t1.id = t2.company_id where t2.velocity < 200
|
List all the candidates for the seat where the incumbent is Sam Gibbons?
|
create table table_1341472_11 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_1341472_11 where incumbent = "sam gibbons"
|
What is the engine configuration $notes 0-100km/h for the engine type b5244 t2?
|
create table table_1147705_1 (engine_configuration_ varchar, _notes_0_100km_h varchar, engine_type varchar, PRIMARY KEY (engine_configuration_))
|
select engine_configuration_ & _notes_0_100km_h from table_1147705_1 where engine_type = "b5244 t2"
|
Name the total number of step 6 for 11 gs grade
|
create table table_2319437_1 (step_6 varchar, gs_grade varchar, PRIMARY KEY (step_6))
|
select count(step_6) from table_2319437_1 where gs_grade = 11
|
What are the names of companies whose headquarters are not "USA"?
|
create table companies (name varchar, headquarters varchar, PRIMARY KEY (name))
|
select name from companies where headquarters <> 'usa'
|
How many were written by Peter Winther?
|
create table table_20704243_3 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))
|
select count(written_by) from table_20704243_3 where directed_by = "peter winther"
|
What height was the player that played for the Rockets between 1992-93?
|
create table table_11734041_1 (height_in_ft varchar, years_for_rockets varchar, PRIMARY KEY (height_in_ft))
|
select height_in_ft from table_11734041_1 where years_for_rockets = "1992-93"
|
Find names and ids of all documents with document type code BK.
|
create table documents (document_name varchar, document_id varchar, document_type_code varchar, PRIMARY KEY (document_name))
|
select document_name, document_id from documents where document_type_code = "bk"
|
What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there?
|
create table visitors (tourist_id varchar, tourist_details varchar, PRIMARY KEY (tourist_id)); create table visits (visit_date varchar, tourist_attraction_id varchar, tourist_id varchar, PRIMARY KEY (visit_date)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))
|
select t1.name, t3.visit_date from tourist_attractions as t1 join visitors as t2 join visits as t3 on t1.tourist_attraction_id = t3.tourist_attraction_id and t2.tourist_id = t3.tourist_id where t2.tourist_details = "vincent" or t2.tourist_details = "vivian"
|
How many department stores does the store chain South have?
|
create table department_stores (dept_store_chain_id varchar, PRIMARY KEY (dept_store_chain_id)); create table department_store_chain (dept_store_chain_id varchar, dept_store_chain_name varchar, PRIMARY KEY (dept_store_chain_id))
|
select count(*) from department_stores as t1 join department_store_chain as t2 on t1.dept_store_chain_id = t2.dept_store_chain_id where t2.dept_store_chain_name = "south"
|
How many licenses have version 1.2.2.0?
|
create table table_15038373_1 (license varchar, version varchar, PRIMARY KEY (license))
|
select count(license) from table_15038373_1 where version = "1.2.2.0"
|
Name the result for total attendance-regular season
|
create table table_21436373_11 (result_games varchar, type_of_record varchar, PRIMARY KEY (result_games))
|
select result_games from table_21436373_11 where type_of_record = "total attendance-regular season"
|
What is the percentage of land area in the ecozone that the percentage protected is 7.96?
|
create table table_15555661_2 (percentage_of_land_area varchar, percentage_protected varchar, PRIMARY KEY (percentage_of_land_area))
|
select percentage_of_land_area from table_15555661_2 where percentage_protected = "7.96"
|
How much did Jeff Burton win?
|
create table table_25146455_1 (winnings varchar, driver varchar, PRIMARY KEY (winnings))
|
select winnings from table_25146455_1 where driver = "jeff burton"
|
Return the name and number of reservations made for each of the rooms.
|
create table reservations (room varchar, PRIMARY KEY (room)); create table rooms (roomname varchar, roomid varchar, PRIMARY KEY (roomname))
|
select t2.roomname, count(*), t1.room from reservations as t1 join rooms as t2 on t1.room = t2.roomid group by t1.room
|
How many schools have some students playing in goalie and mid positions.
|
create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname))
|
select count(*) from (select cname from tryout where ppos = 'goalie' intersect select cname from tryout where ppos = 'mid')
|
Show the location code, the starting date and ending data in that location for all the documents.
|
create table document_locations (location_code varchar, date_in_location_from varchar, date_in_locaton_to varchar, PRIMARY KEY (location_code))
|
select location_code, date_in_location_from, date_in_locaton_to from document_locations
|
What was the site of the game against Buffalo Bills ?
|
create table table_14875671_1 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))
|
select game_site from table_14875671_1 where opponent = "buffalo bills"
|
If the world record is the African record, what is the 1:53.28 total number?
|
create table table_24001246_2 (world_record varchar, PRIMARY KEY (world_record))
|
select count(1) as :5328 from table_24001246_2 where world_record = "african record"
|
Name the stacks for 1 1969 2 1995
|
create table table_23958917_1 (stacks varchar, in_service_dates varchar, PRIMARY KEY (stacks))
|
select stacks from table_23958917_1 where in_service_dates = "1 1969 2 1995"
|
What is every trigram when direction is Northwest?
|
create table table_23406517_2 (trigram varchar, direction varchar, PRIMARY KEY (trigram))
|
select trigram from table_23406517_2 where direction = "northwest"
|
Retrieve the country that has published the most papers.
|
create table inst (country varchar, instid varchar, PRIMARY KEY (country)); create table authorship (instid varchar, paperid varchar, PRIMARY KEY (instid)); create table papers (paperid varchar, PRIMARY KEY (paperid))
|
select t1.country from inst as t1 join authorship as t2 on t1.instid = t2.instid join papers as t3 on t2.paperid = t3.paperid group by t1.country order by count(*) desc limit 1
|
Where did the games that had Wisconsin as big ten team take place?
|
create table table_29535057_4 (location varchar, big_ten_team varchar, PRIMARY KEY (location))
|
select location from table_29535057_4 where big_ten_team = "wisconsin"
|
What are the distinct Famous release dates?
|
create table artist (famous_release_date varchar, PRIMARY KEY (famous_release_date))
|
select distinct (famous_release_date) from artist
|
Name the date of report for tier 1 ratio being 3.9%
|
create table table_22368322_2 (date_of_report varchar, tier_1_ratio varchar, PRIMARY KEY (date_of_report))
|
select date_of_report from table_22368322_2 where tier_1_ratio = "3.9%"
|
what location has team trek-livestrong?
|
create table table_27887723_1 (location varchar, team varchar, PRIMARY KEY (location))
|
select location from table_27887723_1 where team = "trek-livestrong"
|
How many freedom indices does the country of Austria have?
|
create table table_1604579_2 (country varchar, PRIMARY KEY (country))
|
select count(2013 as _press_freedom_index) from table_1604579_2 where country = "austria"
|
Show details of all visitors.
|
create table visitors (tourist_details varchar, PRIMARY KEY (tourist_details))
|
select tourist_details from visitors
|
Which vocal type is the most frequently appearring type?
|
create table vocals (type varchar, PRIMARY KEY (type))
|
select type from vocals group by type order by count(*) desc limit 1
|
what are all the location where station number is c11
|
create table table_11934032_1 (location varchar, station_number varchar, PRIMARY KEY (location))
|
select location from table_11934032_1 where station_number = "c11"
|
How many votes did Obama have at 32.12%
|
create table table_20722805_1 (obama_number integer, obama_percentage varchar, PRIMARY KEY (obama_number))
|
select min(obama_number) from table_20722805_1 where obama_percentage = "32.12%"
|
What is the soccer stadium with the varsity name is citadins?
|
create table table_27369069_4 (soccer_stadium varchar, varsity_name varchar, PRIMARY KEY (soccer_stadium))
|
select soccer_stadium from table_27369069_4 where varsity_name = "citadins"
|
List the problem id and log id which are assigned to the staff named Rylan Homenick.
|
create table problem_log (problem_id varchar, problem_log_id varchar, assigned_to_staff_id varchar, PRIMARY KEY (problem_id)); create table staff (staff_id varchar, staff_first_name varchar, staff_last_name varchar, PRIMARY KEY (staff_id))
|
select distinct t2.problem_id, t2.problem_log_id from staff as t1 join problem_log as t2 on t1.staff_id = t2.assigned_to_staff_id where t1.staff_first_name = "rylan" and t1.staff_last_name = "homenick"
|
What is the -500 number for Theo Bos?
|
create table table_1912276_2 (__500m varchar, name varchar, PRIMARY KEY (__500m))
|
select __500m from table_1912276_2 where name = "theo bos"
|
What's the name of the competition where the nationality is Brazil and the voting percentage is n/a?
|
create table table_24765815_2 (competition varchar, vote_percentage varchar, nationality varchar, PRIMARY KEY (competition))
|
select competition from table_24765815_2 where vote_percentage = "n/a" and nationality = "brazil"
|
Find the name of instructor who is the advisor of the student who has the highest number of total credits.
|
create table student (id varchar, tot_cred varchar, PRIMARY KEY (id)); create table advisor (i_id varchar, s_id varchar, PRIMARY KEY (i_id)); create table instructor (name varchar, id varchar, PRIMARY KEY (name))
|
select t2.name from advisor as t1 join instructor as t2 on t1.i_id = t2.id join student as t3 on t1.s_id = t3.id order by t3.tot_cred desc limit 1
|
What was the airdate of the episode with a UK viewership of 6.02 million?
|
create table table_29063233_1 (original_air_date varchar, uk_viewers__million_ varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_29063233_1 where uk_viewers__million_ = "6.02"
|
what's the mole with airdate being 8 january 2009
|
create table table_13036251_1 (the_mole varchar, airdate varchar, PRIMARY KEY (the_mole))
|
select the_mole from table_13036251_1 where airdate = "8 january 2009"
|
What is the lowest disposable USD 2011?
|
create table table_24486462_1 (disposable_usd_2011 integer, PRIMARY KEY (disposable_usd_2011))
|
select min(disposable_usd_2011) from table_24486462_1
|
Which home town was the high school Catholic University located in?
|
create table table_12032893_1 (home_town varchar, high_school varchar, PRIMARY KEY (home_town))
|
select home_town from table_12032893_1 where high_school = "catholic university"
|
when the nickname halley is used, what are the date completed
|
create table table_15070195_1 (date_completed varchar, nickname varchar, PRIMARY KEY (date_completed))
|
select date_completed from table_15070195_1 where nickname = "halley"
|
what are all the date withdrawn for twin screw ro-ro motorship
|
create table table_11662133_3 (date_withdrawn varchar, type_of_ship varchar, PRIMARY KEY (date_withdrawn))
|
select date_withdrawn from table_11662133_3 where type_of_ship = "twin screw ro-ro motorship"
|
Name the townland for fermoy and ballynoe
|
create table table_30120664_1 (townland varchar, poor_law_union varchar, civil_parish varchar, PRIMARY KEY (townland))
|
select townland from table_30120664_1 where poor_law_union = "fermoy" and civil_parish = "ballynoe"
|
Find the names of courses taught by the tutor who has personal name "Julio".
|
create table course_authors_and_tutors (author_id varchar, personal_name varchar, PRIMARY KEY (author_id)); create table courses (course_name varchar, author_id varchar, PRIMARY KEY (course_name))
|
select t2.course_name from course_authors_and_tutors as t1 join courses as t2 on t1.author_id = t2.author_id where t1.personal_name = "julio"
|
What show is coming back on in July 2008
|
create table table_13549921_18 (programme varchar, date_s__of_return varchar, PRIMARY KEY (programme))
|
select programme from table_13549921_18 where date_s__of_return = "july 2008"
|
How many different weeks are there in order number 4 that were judge's choice?
|
create table table_27614707_1 (week__number varchar, theme varchar, order__number varchar, PRIMARY KEY (week__number))
|
select count(week__number) from table_27614707_1 where theme = "judge's choice" and order__number = "4"
|
List the status shared by more than two roller coaster.
|
create table roller_coaster (status varchar, PRIMARY KEY (status))
|
select status from roller_coaster group by status having count(*) > 2
|
What is the maximum apogee for samos f3-3?
|
create table table_12141496_1 (apogee__km_ integer, name varchar, PRIMARY KEY (apogee__km_))
|
select max(apogee__km_) from table_12141496_1 where name = "samos f3-3"
|
Name the last title for cuenca
|
create table table_2454589_1 (last_title varchar, home_city varchar, PRIMARY KEY (last_title))
|
select last_title from table_2454589_1 where home_city = "cuenca"
|
Name the high points 31-27
|
create table table_22669044_9 (high_points varchar, record varchar, PRIMARY KEY (high_points))
|
select high_points from table_22669044_9 where record = "31-27"
|
what's the years played with singles w-l of 3–2
|
create table table_10023387_1 (years_played varchar, singles_w_l varchar, PRIMARY KEY (years_played))
|
select years_played from table_10023387_1 where singles_w_l = "3–2"
|
Who were the 3rd couple that were viewed by 4.89 million viewers?
|
create table table_25664518_4 (viewers__millions_ varchar, PRIMARY KEY (viewers__millions_))
|
select 3 as rd_couple from table_25664518_4 where viewers__millions_ = "4.89"
|
Who is every name for time(cet) of 09:03?
|
create table table_21536557_2 (name varchar, time__cet_ varchar, PRIMARY KEY (name))
|
select name from table_21536557_2 where time__cet_ = "09:03"
|
Name the entrant for benedicto campos
|
create table table_21977704_1 (entrant varchar, driver varchar, PRIMARY KEY (entrant))
|
select entrant from table_21977704_1 where driver = "benedicto campos"
|
List the name of tracks belongs to genre Rock or genre Jazz.
|
create table genres (id varchar, name varchar, PRIMARY KEY (id)); create table tracks (name varchar, genre_id varchar, PRIMARY KEY (name))
|
select t2.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id where t1.name = "rock" or t1.name = "jazz"
|
What is the original air date for the episode written by Bob Goodman?
|
create table table_16581695_2 (original_airdate varchar, written_by varchar, PRIMARY KEY (original_airdate))
|
select original_airdate from table_16581695_2 where written_by = "bob goodman"
|
What is the name and country for the artist with most number of exhibitions?
|
create table exhibition (artist_id varchar, PRIMARY KEY (artist_id)); create table artist (name varchar, country varchar, artist_id varchar, PRIMARY KEY (name))
|
select t2.name, t2.country from exhibition as t1 join artist as t2 on t1.artist_id = t2.artist_id group by t1.artist_id order by count(*) desc limit 1
|
What is the max pressure of the .38 long colt cartridge?
|
create table table_173103_1 (max_pressure varchar, cartridge varchar, PRIMARY KEY (max_pressure))
|
select max_pressure from table_173103_1 where cartridge = ".38 long colt"
|
What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph?
|
create table table_30058355_2 (thurs_25_aug varchar, fri_26_aug varchar, PRIMARY KEY (thurs_25_aug))
|
select thurs_25_aug from table_30058355_2 where fri_26_aug = "19' 30.70 116.023mph"
|
What is every value for periselene if period is 4.947432?
|
create table table_206217_2 (periselene__km_ varchar, period__h_ varchar, PRIMARY KEY (periselene__km_))
|
select periselene__km_ from table_206217_2 where period__h_ = "4.947432"
|
Find the first names of teachers whose email address contains the word "man".
|
create table teachers (first_name varchar, email_address varchar, PRIMARY KEY (first_name))
|
select first_name from teachers where email_address like '%man%'
|
Name the del pueblo for red/black
|
create table table_15977768_1 (del_pueblo varchar, centennial varchar, PRIMARY KEY (del_pueblo))
|
select del_pueblo from table_15977768_1 where centennial = "red/black"
|
Name the circuit for #47 orbit racing
|
create table table_19598014_2 (circuit varchar, challenge_winning_team varchar, PRIMARY KEY (circuit))
|
select circuit from table_19598014_2 where challenge_winning_team = "#47 orbit racing"
|
What were the years active where Asian Cup played as a captain is Qatar 1988?
|
create table table_272865_20 (years_active varchar, asian_cup_played_as_a_captain varchar, PRIMARY KEY (years_active))
|
select years_active from table_272865_20 where asian_cup_played_as_a_captain = "qatar 1988"
|
How many albums does Billy Cobham has?
|
create table artists (id varchar, name varchar, PRIMARY KEY (id)); create table albums (artist_id varchar, PRIMARY KEY (artist_id))
|
select count(*) from albums as t1 join artists as t2 on t1.artist_id = t2.id where t2.name = "billy cobham"
|
Which poll resource provided the most number of candidate information?
|
create table candidate (poll_source varchar, PRIMARY KEY (poll_source))
|
select poll_source from candidate group by poll_source order by count(*) desc limit 1
|
In the year (ceremony) 1998 (71st), what are all the main languages?
|
create table table_26385848_1 (main_language_s_ varchar, year__ceremony_ varchar, PRIMARY KEY (main_language_s_))
|
select main_language_s_ from table_26385848_1 where year__ceremony_ = "1998 (71st)"
|
What are the names of the mills which are not located in 'Donceel'?
|
create table mill (name varchar, location varchar, PRIMARY KEY (name))
|
select name from mill where location <> 'donceel'
|
Who had the high points when the team was charlotte?
|
create table table_27756314_8 (high_points varchar, team varchar, PRIMARY KEY (high_points))
|
select high_points from table_27756314_8 where team = "charlotte"
|
how many people work with N Rawiller
|
create table table_13498403_1 (trainer varchar, jockey varchar, PRIMARY KEY (trainer))
|
select count(trainer) from table_13498403_1 where jockey = "n rawiller"
|
What are the complements when the commander is Major William Lloyd?
|
create table table_11793221_2 (complement varchar, commander varchar, PRIMARY KEY (complement))
|
select complement from table_11793221_2 where commander = "major william lloyd"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.