question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79?
|
create table table_1601027_1 (earpads varchar, headphone_class varchar, us_msrp varchar, PRIMARY KEY (earpads))
|
select count(earpads) from table_1601027_1 where headphone_class = "prestige" and us_msrp = "$79"
|
Name the surface for 6–0, 6–3
|
create table table_22597626_6 (surface varchar, score_in_the_final varchar, PRIMARY KEY (surface))
|
select surface from table_22597626_6 where score_in_the_final = "6–0, 6–3"
|
What was the gtc winning team when lmp winning team was #8 drayson racing?
|
create table table_24037660_2 (gtc_winning_team varchar, lmp_winning_team varchar, PRIMARY KEY (gtc_winning_team))
|
select gtc_winning_team from table_24037660_2 where lmp_winning_team = "#8 drayson racing"
|
Who is the successor when the reason for change is died November 11, 1845?
|
create table table_225205_4 (successor varchar, reason_for_change varchar, PRIMARY KEY (successor))
|
select successor from table_225205_4 where reason_for_change = "died november 11, 1845"
|
How many poker players are there?
|
create table poker_player (id varchar, PRIMARY KEY (id))
|
select count(*) from poker_player
|
What is the original name of the district with the current English name of South Bogor?
|
create table table_1104312_5 (original_name varchar, english_name varchar, PRIMARY KEY (original_name))
|
select original_name from table_1104312_5 where english_name = "south bogor"
|
What is the settlement destiny in Aleksandrovo?
|
create table table_2562572_56 (settlement varchar, PRIMARY KEY (settlement))
|
select settlement as destiny from table_2562572_56 where settlement = "aleksandrovo"
|
Which outgoing manager was replaced by Jafar Fatahi?
|
create table table_22297140_3 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))
|
select outgoing_manager from table_22297140_3 where replaced_by = "jafar fatahi"
|
Name the location for eagles
|
create table table_1973648_1 (location varchar, nickname varchar, PRIMARY KEY (location))
|
select location from table_1973648_1 where nickname = "eagles"
|
Which administrative division had a 2011 population of 606,699 according to the siak database?
|
create table table_21734764_1 (administrative_division varchar, population_2011_siak_database varchar, PRIMARY KEY (administrative_division))
|
select administrative_division from table_21734764_1 where population_2011_siak_database = "606,699"
|
Name the team for scott dixon
|
create table table_17271495_1 (team varchar, driver varchar, PRIMARY KEY (team))
|
select team from table_17271495_1 where driver = "scott dixon"
|
What is the smallest number of European Parliament sets when the international affiliation is global greens, egp?
|
create table table_158282_1 (european_parliament_seats integer, international_affiliation varchar, PRIMARY KEY (european_parliament_seats))
|
select min(european_parliament_seats) from table_158282_1 where international_affiliation = "global greens, egp"
|
Find the names of the top 10 airlines that operate the most number of routes.
|
create table airlines (name varchar, alid varchar, PRIMARY KEY (name)); create table routes (alid varchar, PRIMARY KEY (alid))
|
select t1.name, t2.alid from airlines as t1 join routes as t2 on t1.alid = t2.alid group by t2.alid order by count(*) desc limit 10
|
What is the description, code and the corresponding count of each service type?
|
create table services (service_type_code varchar, PRIMARY KEY (service_type_code)); create table ref_service_types (service_type_description varchar, service_type_code varchar, PRIMARY KEY (service_type_description))
|
select t1.service_type_description, t2.service_type_code, count(*) from ref_service_types as t1 join services as t2 on t1.service_type_code = t2.service_type_code group by t2.service_type_code
|
What is the number of total candidates when registered voters is 47742?
|
create table table_2676980_4 (total_candidates varchar, registered_voters varchar, PRIMARY KEY (total_candidates))
|
select total_candidates from table_2676980_4 where registered_voters = 47742
|
When 2010 v australia is the interantional debut what is the club?
|
create table table_28286776_50 (club_s_ varchar, international_debut varchar, PRIMARY KEY (club_s_))
|
select club_s_ from table_28286776_50 where international_debut = "2010 v australia"
|
Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.
|
create table course (dno varchar, cname varchar, PRIMARY KEY (dno)); create table department (dname varchar, room varchar, dno varchar, PRIMARY KEY (dname))
|
select t2.dname, t2.room from course as t1 join department as t2 on t1.dno = t2.dno where t1.cname = "introduction to computer science"
|
Name the total number of publishers for flushed away
|
create table table_14325653_2 (publisher_s_ varchar, video_game varchar, PRIMARY KEY (publisher_s_))
|
select count(publisher_s_) from table_14325653_2 where video_game = "flushed away"
|
What is the Alpha 2 code for the area also known as TCA?
|
create table table_222771_1 (alpha_2_code varchar, alpha_3_code varchar, PRIMARY KEY (alpha_2_code))
|
select alpha_2_code from table_222771_1 where alpha_3_code = "tca"
|
what's the regionalliga nord with regionalliga süd being 1. fc nuremberg spvgg greuther fürth
|
create table table_14242137_11 (regionalliga_nord varchar, regionalliga_süd varchar, PRIMARY KEY (regionalliga_nord))
|
select regionalliga_nord from table_14242137_11 where regionalliga_süd = "1. fc nuremberg spvgg greuther fürth"
|
Who creates the catalog with the number "cal03 / 0091037137333"?
|
create table table_11222744_3 (studio varchar, catalog_number varchar, PRIMARY KEY (studio))
|
select studio from table_11222744_3 where catalog_number = "cal03 / 0091037137333"
|
How many number of screenings have an opening film of the journey of vaan nguyen?
|
create table table_18220102_1 (number_of_screening varchar, opening_film varchar, PRIMARY KEY (number_of_screening))
|
select count(number_of_screening) from table_18220102_1 where opening_film = "the journey of vaan nguyen"
|
Who is the shirt sponsor of the team with an average squad age of 25.46?
|
create table table_25527255_2 (shirt_sponsor varchar, average_squad_age varchar, PRIMARY KEY (shirt_sponsor))
|
select shirt_sponsor from table_25527255_2 where average_squad_age = "25.46"
|
Find the name of amenities Smith Hall dorm have.
|
create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm_amenity (amenity_name varchar, amenid varchar, PRIMARY KEY (amenity_name)); create table dorm (dormid varchar, dorm_name varchar, PRIMARY KEY (dormid))
|
select t3.amenity_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 t1.dorm_name = 'smith hall'
|
What is the % of annual production of solar?
|
create table table_11456251_5 (_percentage_of_annual_production varchar, power_source varchar, PRIMARY KEY (_percentage_of_annual_production))
|
select _percentage_of_annual_production from table_11456251_5 where power_source = "solar"
|
How many series had the chipset of the Intel Centrino Ultimate-N 6300 wireless LAN with the codename Arrandale?
|
create table table_199666_1 (chipset varchar, codename varchar, wireless_lan varchar, PRIMARY KEY (chipset))
|
select chipset from table_199666_1 where codename = "arrandale" and wireless_lan = "intel centrino ultimate-n 6300"
|
How much is the net profit when the revenue is 150.6 million dollars?
|
create table table_18077713_1 (net_profit__us_$m_ varchar, revenue__us_$million_ varchar, PRIMARY KEY (net_profit__us_$m_))
|
select net_profit__us_$m_ from table_18077713_1 where revenue__us_$million_ = "150.6"
|
Name the country for sky primafila 7 hd
|
create table table_15887683_6 (country varchar, television_service varchar, PRIMARY KEY (country))
|
select country from table_15887683_6 where television_service = "sky primafila 7 hd"
|
What is the col location for the location of france / italy?
|
create table table_2731431_1 (col_location varchar, location varchar, PRIMARY KEY (col_location))
|
select col_location from table_2731431_1 where location = "france / italy"
|
How many gymnasts are there?
|
create table gymnast (id varchar, PRIMARY KEY (id))
|
select count(*) from gymnast
|
What identities do the genus/species arabidopsis thaliana have?
|
create table table_15417439_1 (identity varchar, genus_species varchar, PRIMARY KEY (identity))
|
select identity from table_15417439_1 where genus_species = "arabidopsis thaliana"
|
What is the issue price (proof) where the issue price (bu) is 34.95?
|
create table table_11916083_1 (issue_price__proof_ varchar, issue_price__bu_ varchar, _clarification_needed_ varchar, PRIMARY KEY (issue_price__proof_))
|
select issue_price__proof_ from table_11916083_1 where issue_price__bu_[_clarification_needed_] = "34.95"
|
Which institution has an endowment of $25.9m?
|
create table table_27599216_6 (institution varchar, endowment varchar, PRIMARY KEY (institution))
|
select institution from table_27599216_6 where endowment = "$25.9m"
|
How many people directed the episode that Joe Toplyn wrote?
|
create table table_25716397_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))
|
select count(directed_by) from table_25716397_1 where written_by = "joe toplyn"
|
What's the part number of the model with TDP of 2.9 (max.4.1~5.4) w?
|
create table table_24096813_15 (part_number_s_ varchar, tdp varchar, PRIMARY KEY (part_number_s_))
|
select part_number_s_ from table_24096813_15 where tdp = "2.9 (max.4.1~5.4) w"
|
What is the name of the episode in which Jenn is eliminated?
|
create table table_1272844_2 (episode_title varchar, eliminated varchar, PRIMARY KEY (episode_title))
|
select episode_title from table_1272844_2 where eliminated = "jenn"
|
List the number of locations for the team known as the billikens.
|
create table table_2419754_1 (location varchar, nickname varchar, PRIMARY KEY (location))
|
select count(location) from table_2419754_1 where nickname = "billikens"
|
How many rebounds per game did Andrej Džaković average when playing 35 minutes per game?
|
create table table_28547289_1 (rebounds_per_game varchar, minutes_per_game varchar, PRIMARY KEY (rebounds_per_game))
|
select rebounds_per_game from table_28547289_1 where minutes_per_game = "35"
|
What party did incumbent Brooks Hays belong to?
|
create table table_1342249_5 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1342249_5 where incumbent = "brooks hays"
|
For the game against Iowa, who had the most assists?
|
create table table_20010140_9 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))
|
select high_assists from table_20010140_9 where team = "iowa"
|
Find the first names of students who took exactly one class.
|
create table enroll (stu_num varchar, PRIMARY KEY (stu_num)); create table student (stu_fname varchar, stu_num varchar, PRIMARY KEY (stu_fname))
|
select t1.stu_fname from student as t1 join enroll as t2 on t1.stu_num = t2.stu_num group by t2.stu_num having count(*) = 1
|
What are the international tourist arrivals in 2010 where change from 2010 to 2011 is +11.2% ?
|
create table table_14752049_2 (international_tourist_arrivals__2010_ varchar, change__2010_to_2011_ varchar, PRIMARY KEY (international_tourist_arrivals__2010_))
|
select international_tourist_arrivals__2010_ from table_14752049_2 where change__2010_to_2011_ = "+11.2%"
|
How many countries had a total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 428(62%)?
|
create table table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ varchar, agricultural_use__m_3__p_yr__in__percentage_ varchar, PRIMARY KEY (total_freshwater_withdrawal__km_3__yr_))
|
select count(total_freshwater_withdrawal__km_3__yr_) from table_15909409_2 where agricultural_use__m_3__p_yr__in__percentage_ = "428(62%)"
|
Find the brand and name for each camera lens, and sort in descending order of maximum aperture.
|
create table camera_lens (brand varchar, name varchar, max_aperture varchar, PRIMARY KEY (brand))
|
select brand, name from camera_lens order by max_aperture desc
|
How many episodes had a broadcast date and run time of 24:43?
|
create table table_1429629_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date))
|
select count(broadcast_date) from table_1429629_1 where run_time = "24:43"
|
Name the glass bulb color for ordinary
|
create table table_1538516_1 (glass_bulb_color varchar, temperature_classification varchar, PRIMARY KEY (glass_bulb_color))
|
select glass_bulb_color from table_1538516_1 where temperature_classification = "ordinary"
|
Give me the maximum low temperature and average precipitation at the Amersham station.
|
create table weekly_weather (low_temperature integer, precipitation integer, station_id varchar, PRIMARY KEY (low_temperature)); create table station (id varchar, network_name varchar, PRIMARY KEY (id))
|
select max(t1.low_temperature), avg(t1.precipitation) from weekly_weather as t1 join station as t2 on t1.station_id = t2.id where t2.network_name = "amersham"
|
Which film has the most copies in the inventory? List both title and id.
|
create table film (title varchar, film_id varchar, PRIMARY KEY (title)); create table inventory (film_id varchar, PRIMARY KEY (film_id))
|
select t1.title, t1.film_id from film as t1 join inventory as t2 on t1.film_id = t2.film_id group by t1.film_id order by count(*) desc limit 1
|
Where was Kristen Kirchner from?
|
create table table_1289860_2 (hometown varchar, candidate varchar, PRIMARY KEY (hometown))
|
select hometown from table_1289860_2 where candidate = "kristen kirchner"
|
In what even was the compulsory dance scored 23.75?
|
create table table_22644589_4 (event varchar, compulsory_dance__cd_ varchar, PRIMARY KEY (event))
|
select event from table_22644589_4 where compulsory_dance__cd_ = "23.75"
|
What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?
|
create table table_298883_5 (dimensions varchar, reverse varchar, PRIMARY KEY (dimensions))
|
select dimensions from table_298883_5 where reverse = "western sea barrage and locks at taedong gang"
|
What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008?
|
create table table_23619212_1 (_percentage_of_all_immigrants_2007 varchar, _percentage_of_all_immigrants_2008 varchar, PRIMARY KEY (_percentage_of_all_immigrants_2007))
|
select _percentage_of_all_immigrants_2007 from table_23619212_1 where _percentage_of_all_immigrants_2008 = "1.7%"
|
List pairs of the owner's first name and the dogs's name.
|
create table dogs (name varchar, owner_id varchar, PRIMARY KEY (name)); create table owners (first_name varchar, owner_id varchar, PRIMARY KEY (first_name))
|
select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id
|
What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?
|
create table table_10592536_8 (date_of_vacancy varchar, date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_vacancy))
|
select date_of_vacancy from table_10592536_8 where date_of_appointment = "28 november 2007" and replaced_by = "alex mcleish"
|
Name the min total pts for team dennis conner
|
create table table_21471897_2 (total_pts integer, team_name varchar, PRIMARY KEY (total_pts))
|
select min(total_pts) from table_21471897_2 where team_name = "team dennis conner"
|
Find the name of physicians who are affiliated with both Surgery and Psychiatry departments.
|
create table affiliated_with (physician varchar, department varchar, PRIMARY KEY (physician)); create table department (departmentid varchar, name varchar, PRIMARY KEY (departmentid)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))
|
select t1.name from physician as t1 join affiliated_with as t2 on t1.employeeid = t2.physician join department as t3 on t2.department = t3.departmentid where t3.name = 'surgery' intersect select t1.name from physician as t1 join affiliated_with as t2 on t1.employeeid = t2.physician join department as t3 on t2.department = t3.departmentid where t3.name = 'psychiatry'
|
What is the figure for December 28 for ang tanging ina mo (last na 'to!)?
|
create table table_29217650_1 (december_28 varchar, movies varchar, PRIMARY KEY (december_28))
|
select december_28 from table_29217650_1 where movies = "ang tanging ina mo (last na 'to!)"
|
How many addresses are there in country USA?
|
create table addresses (country varchar, PRIMARY KEY (country))
|
select count(*) from addresses where country = 'usa'
|
What was the number of nominations for natalia raskokoha?
|
create table table_10236830_1 (nomination varchar, actors_name varchar, PRIMARY KEY (nomination))
|
select count(nomination) from table_10236830_1 where actors_name = "natalia raskokoha"
|
how many times was third place held by drnovice?
|
create table table_2429942_2 (club varchar, third_place varchar, PRIMARY KEY (club))
|
select count(club) from table_2429942_2 where third_place = "drnovice"
|
When Mark Cavendish wins sprint classification and Maarten Tjallingii wins most courageous, who wins youth classification?
|
create table table_25055040_22 (youth_classification varchar, sprint_classification varchar, most_courageous varchar, PRIMARY KEY (youth_classification))
|
select youth_classification from table_25055040_22 where sprint_classification = "mark cavendish" and most_courageous = "maarten tjallingii"
|
How many adults stay in the room CONRAD SELBIG checked in on Oct 23, 2010?
|
create table reservations (adults varchar, lastname varchar, checkin varchar, firstname varchar, PRIMARY KEY (adults))
|
select adults from reservations where checkin = "2010-10-23" and firstname = "conrad" and lastname = "selbig"
|
How many times did M. Gounder win for Party A?
|
create table table_22756549_1 (party varchar, winner varchar, PRIMARY KEY (party))
|
select count(party) as a from table_22756549_1 where winner = "m. gounder"
|
How many top division titles were won during the 'first season of current spell in top division' in 1979-80?
|
create table table_18143210_2 (top_division_titles varchar, first_season_of_current_spell_in_top_division varchar, PRIMARY KEY (top_division_titles))
|
select top_division_titles from table_18143210_2 where first_season_of_current_spell_in_top_division = "1979-80"
|
What was the language score when the reading score was 94.47?
|
create table table_2534578_1 (language varchar, reading varchar, PRIMARY KEY (language))
|
select language from table_2534578_1 where reading = "94.47"
|
If the radio stations is radio nou si radio radio nou música; what were the total number of television channels?
|
create table table_23143607_1 (television_channels varchar, radio_stations varchar, PRIMARY KEY (television_channels))
|
select count(television_channels) from table_23143607_1 where radio_stations = "radio nou si radio radio nou música"
|
how many locations has spain as the winner?
|
create table table_1359212_2 (location varchar, winner varchar, PRIMARY KEY (location))
|
select count(location) from table_1359212_2 where winner = "spain"
|
List the grapes and appelations of all wines.
|
create table wine (grape varchar, appelation varchar, PRIMARY KEY (grape))
|
select grape, appelation from wine
|
Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers?
|
create table table_17467578_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))
|
select written_by from table_17467578_1 where us_viewers__million_ = "3.96"
|
What is every team with a record of 9-7?
|
create table table_27902171_5 (team varchar, record varchar, PRIMARY KEY (team))
|
select team from table_27902171_5 where record = "9-7"
|
What is the template type code for template type description "Book".
|
create table ref_template_types (template_type_code varchar, template_type_description varchar, PRIMARY KEY (template_type_code))
|
select template_type_code from ref_template_types where template_type_description = "book"
|
What was the gtu winning team when the gto winning team was #48 greenwood racing?
|
create table table_13657883_2 (gtu_winning_team varchar, gto_winning_team varchar, PRIMARY KEY (gtu_winning_team))
|
select gtu_winning_team from table_13657883_2 where gto_winning_team = "#48 greenwood racing"
|
how many schools exist in total?
|
create table department (school_code varchar, PRIMARY KEY (school_code))
|
select count(distinct school_code) from department
|
what's the nhl team with college/junior/club team being brandon wheat kings (wchl)
|
create table table_1473672_9 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))
|
select nhl_team from table_1473672_9 where college_junior_club_team = "brandon wheat kings (wchl)"
|
Name the home team for football park
|
create table table_16388439_3 (home_team varchar, ground varchar, PRIMARY KEY (home_team))
|
select home_team from table_16388439_3 where ground = "football park"
|
what is the meaning of the latin day name "dies saturni"?
|
create table table_2624098_1 (latin_day_name_meaning varchar, glossed_from_latin_day_name varchar, PRIMARY KEY (latin_day_name_meaning))
|
select latin_day_name_meaning from table_2624098_1 where glossed_from_latin_day_name = "dies saturni"
|
what is the number of hydroxymatairesinol where sesamin is 62724?
|
create table table_1831262_2 (hydroxymatairesinol varchar, sesamin varchar, PRIMARY KEY (hydroxymatairesinol))
|
select hydroxymatairesinol from table_1831262_2 where sesamin = "62724"
|
List email address and birthday of customer whose first name as Carole.
|
create table customers (email_address varchar, date_of_birth varchar, first_name varchar, PRIMARY KEY (email_address))
|
select email_address, date_of_birth from customers where first_name = "carole"
|
Name the simplified characters for wade giles is ch'ing-yüan … i-ma
|
create table table_16162581_1 (simplified_characters varchar, wade_giles varchar, PRIMARY KEY (simplified_characters))
|
select simplified_characters from table_16162581_1 where wade_giles = "ch'ing-yüan … i-ma"
|
Which location has the ecosystem of kelp forest?
|
create table table_15635768_1 (place_of_issue varchar, ecosystem varchar, PRIMARY KEY (place_of_issue))
|
select place_of_issue from table_15635768_1 where ecosystem = "kelp forest"
|
Find all students taught by OTHA MOYER. Output the first and last names of the students.
|
create table list (firstname varchar, lastname varchar, classroom varchar, PRIMARY KEY (firstname)); create table teachers (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))
|
select t1.firstname, t1.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t2.firstname = "otha" and t2.lastname = "moyer"
|
Who is the guest 1 in the episode where guest 4 is Jill Douglas?
|
create table table_20466963_4 (guest_1 varchar, guest_4 varchar, PRIMARY KEY (guest_1))
|
select guest_1 from table_20466963_4 where guest_4 = "jill douglas"
|
What is every value for % 40-59 if % 60-74 is 12,40%?
|
create table table_23606500_4 (_percentage_40_59 varchar, _percentage_60_74 varchar, PRIMARY KEY (_percentage_40_59))
|
select _percentage_40_59 from table_23606500_4 where _percentage_60_74 = "12,40%"
|
How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London?
|
create table table_28562675_3 (germany varchar, italy varchar, england varchar, PRIMARY KEY (germany))
|
select count(germany) from table_28562675_3 where italy = "naples ll naples" and england = "london area youth london"
|
Who was crew chief for the team owned by Bob Leavine?
|
create table table_1266602_2 (crew_chief varchar, owner_s_ varchar, PRIMARY KEY (crew_chief))
|
select crew_chief from table_1266602_2 where owner_s_ = "bob leavine"
|
What is the first name and last name of the student who have most number of sports?
|
create table student (fname varchar, lname varchar, stuid varchar, PRIMARY KEY (fname)); create table sportsinfo (stuid varchar, PRIMARY KEY (stuid))
|
select t2.fname, t2.lname from sportsinfo as t1 join student as t2 on t1.stuid = t2.stuid group by t1.stuid order by count(*) desc limit 1
|
What are the numbers for GDP (nominal) per capita and USD (2012) of the area with Phnom Penh as capital?
|
create table table_28741_1 (_usd__2012_ varchar, gdp__nominal__per_capita varchar, capital varchar, PRIMARY KEY (_usd__2012_))
|
select count(gdp__nominal__per_capita), _usd__2012_ from table_28741_1 where capital = "phnom penh"
|
Who played 2nd base when nomar garciaparra was at 1st base?
|
create table table_12142298_2 (second_baseman varchar, first_baseman varchar, PRIMARY KEY (second_baseman))
|
select second_baseman from table_12142298_2 where first_baseman = "nomar garciaparra"
|
What's the PM for the standard with 12.3 g/kWh CO?
|
create table table_2780146_6 (pm__g_kwh_ varchar, co__g_kwh_ varchar, PRIMARY KEY (pm__g_kwh_))
|
select pm__g_kwh_ from table_2780146_6 where co__g_kwh_ = "12.3"
|
Find the name of students who have taken the prerequisite course of the course with title International Finance.
|
create table student (name varchar, id varchar, PRIMARY KEY (name)); create table course (course_id varchar, title varchar, PRIMARY KEY (course_id)); create table prereq (prereq_id varchar, course_id varchar, PRIMARY KEY (prereq_id)); create table takes (id varchar, course_id varchar, PRIMARY KEY (id))
|
select t1.name from student as t1 join takes as t2 on t1.id = t2.id where t2.course_id in (select t4.prereq_id from course as t3 join prereq as t4 on t3.course_id = t4.course_id where t3.title = 'international finance')
|
What opposing team was playing when sebastian telfair (7) had the highest assists?
|
create table table_17058226_5 (team varchar, high_assists varchar, PRIMARY KEY (team))
|
select team from table_17058226_5 where high_assists = "sebastian telfair (7)"
|
What was the French title of the story published in 1968?
|
create table table_23963073_1 (french_title varchar, date_of_publication varchar, PRIMARY KEY (french_title))
|
select french_title from table_23963073_1 where date_of_publication = 1968
|
Who was the outgoing manager replaced by Marian Bucurescu?
|
create table table_17115950_2 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))
|
select outgoing_manager from table_17115950_2 where replaced_by = "marian bucurescu"
|
Name the number of record for 12 cowboys points
|
create table table_22815259_1 (record varchar, cowboys_points varchar, PRIMARY KEY (record))
|
select count(record) from table_22815259_1 where cowboys_points = 12
|
What is the party when the candidates were ernest istook (r) 69% garland mcwatters (d) 28%?
|
create table table_1341423_36 (party varchar, candidates varchar, PRIMARY KEY (party))
|
select party from table_1341423_36 where candidates = "ernest istook (r) 69% garland mcwatters (d) 28%"
|
In football league one, what coach was hired as a replacement on 8 October 2007
|
create table table_28181347_6 (replaced_by varchar, date_of_vacancy varchar, PRIMARY KEY (replaced_by))
|
select replaced_by from table_28181347_6 where date_of_vacancy = "8 october 2007"
|
Who is the tournament winner in the Atlantic Coast Conference?
|
create table table_22779004_1 (tournament_winner varchar, conference varchar, PRIMARY KEY (tournament_winner))
|
select tournament_winner from table_22779004_1 where conference = "atlantic coast conference"
|
List all week 37 results when week 33 is 14.3%.
|
create table table_23680576_3 (week_37 varchar, week_33 varchar, PRIMARY KEY (week_37))
|
select week_37 from table_23680576_3 where week_33 = "14.3%"
|
Which malaysian team classification had mohd nur rizuan zainal as points classification?
|
create table table_22464308_2 (malaysian_team_classification varchar, points_classification varchar, PRIMARY KEY (malaysian_team_classification))
|
select malaysian_team_classification from table_22464308_2 where points_classification = "mohd nur rizuan zainal"
|
What is the US air date when the director is ken girotti?
|
create table table_30012404_4 (us_air_date varchar, directed_by varchar, PRIMARY KEY (us_air_date))
|
select us_air_date from table_30012404_4 where directed_by = "ken girotti"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.