question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
What location is nicknamed the 49ers? | create table table_255188_3 (location varchar, nickname varchar, PRIMARY KEY (location)) | select location from table_255188_3 where nickname = "49ers" |
What is the sockets associated with a brand name of Core i3-3xx0m? | create table table_24538587_11 (socket varchar, brand_name__list_ varchar, PRIMARY KEY (socket)) | select socket from table_24538587_11 where brand_name__list_ = "core i3-3xx0m" |
What school is located in Huntsville, Texas? | create table table_28243691_2 (institution varchar, location varchar, PRIMARY KEY (institution)) | select institution from table_28243691_2 where location = "huntsville, texas" |
How many solar eclipse on June 10-11, while November 3 is 153? | create table table_25287007_2 (june_10_11 varchar, november_3 varchar, PRIMARY KEY (june_10_11)) | select june_10_11 from table_25287007_2 where november_3 = "153" |
what's the electorate where election date is 16 cannot handle non-empty timestamp argument! | create table table_1193568_1 (electorate varchar, election_date varchar, PRIMARY KEY (electorate)) | select electorate from table_1193568_1 where election_date = "16 cannot handle non-empty timestamp argument!" |
List the research staff details, and order in ascending order. | create table research_staff (staff_details varchar, PRIMARY KEY (staff_details)) | select staff_details from research_staff order by staff_details |
What are the titles of episodes written by Eric Trueheart? | create table table_29087004_3 (title varchar, written_by varchar, PRIMARY KEY (title)) | select title from table_29087004_3 where written_by = "eric trueheart" |
When deutsche grammophon is the label how many clairons are there? | create table table_29728787_1 (clairon varchar, label varchar, PRIMARY KEY (clairon)) | select count(clairon) from table_29728787_1 where label = "deutsche grammophon" |
When private/ nonsectarian is the the affiliation what is the team nickname? | create table table_28211213_2 (team_nickname varchar, affiliation varchar, PRIMARY KEY (team_nickname)) | select team_nickname from table_28211213_2 where affiliation = "private/ nonsectarian" |
who ended runner-up to sankar adhi? | create table table_22757733_4 (runner_up_a varchar, winner varchar, PRIMARY KEY (runner_up_a)) | select runner_up_a from table_22757733_4 where winner = "sankar adhi" |
Srdjan Dragojevic worked on a film which earned what nomination? | create table table_10236830_4 (nomination varchar, director varchar, PRIMARY KEY (nomination)) | select nomination from table_10236830_4 where director = "srdjan dragojevic" |
List names of conductors in descending order of years of work. | create table conductor (name varchar, year_of_work varchar, PRIMARY KEY (name)) | select name from conductor order by year_of_work desc |
What type is the settlement of Lok? | create table table_2562572_19 (type varchar, settlement varchar, PRIMARY KEY (type)) | select type from table_2562572_19 where settlement = "lok" |
Name the tournament venue for big sky conference | create table table_22849575_6 (tournament_venue__city_ varchar, conference varchar, PRIMARY KEY (tournament_venue__city_)) | select tournament_venue__city_ from table_22849575_6 where conference = "big sky conference" |
Who directed episodes that had 2.61 million U.S. viewers? | create table table_11111116_7 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by)) | select directed_by from table_11111116_7 where us_viewers__million_ = "2.61" |
What are all distinct country for artists? | create table artist (country varchar, PRIMARY KEY (country)) | select distinct country from artist |
Who was sent to the third island in week 1? | create table table_11764007_2 (member varchar, week_sent_to_third_island varchar, PRIMARY KEY (member)) | select member from table_11764007_2 where week_sent_to_third_island = "1" |
When belgrano is the home (1st leg) what is the home (2nd leg)? | create table table_14219514_2 (home__2nd_leg_ varchar, home__1st_leg_ varchar, PRIMARY KEY (home__2nd_leg_)) | select home__2nd_leg_ from table_14219514_2 where home__1st_leg_ = "belgrano" |
When gniazdo is polish what is proto-slavic? | create table table_26757_4 (proto_slavic varchar, polish varchar, PRIMARY KEY (proto_slavic)) | select proto_slavic from table_26757_4 where polish = "gniazdo" |
How many films are there in each category? List the genre name, genre id and the count. | create table film_category (category_id varchar, PRIMARY KEY (category_id)); create table category (name varchar, category_id varchar, PRIMARY KEY (name)) | select t2.name, t1.category_id, count(*) from film_category as t1 join category as t2 on t1.category_id = t2.category_id group by t1.category_id |
Who is every young rider classification when Jelle Vanendert is the winner? | create table table_25999087_2 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification)) | select young_rider_classification from table_25999087_2 where winner = "jelle vanendert" |
High points earned by Josh Howard (19) resulted in how many high rebounds? | create table table_17288869_7 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds)) | select count(high_rebounds) from table_17288869_7 where high_points = "josh howard (19)" |
What is the flange thickness (mm) for the weight (kg/m) 6.0?Wg | create table table_2071644_1 (flange_thickness__mm_ varchar, weight__kg_m_ varchar, PRIMARY KEY (flange_thickness__mm_)) | select flange_thickness__mm_ from table_2071644_1 where weight__kg_m_ = "6.0" |
If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders? | create table table_25220821_3 (rider varchar, thurs_3_june varchar, PRIMARY KEY (rider)) | select rider from table_25220821_3 where thurs_3_june = "20' 27.93 110.615mph" |
What is the name of the episode that Richard Thorpe directed? | create table table_12564633_1 (title varchar, directed_by varchar, PRIMARY KEY (title)) | select title from table_12564633_1 where directed_by = "richard thorpe" |
Name the location of buffalo sabres | create table table_23453931_5 (location varchar, opponent varchar, PRIMARY KEY (location)) | select location from table_23453931_5 where opponent = "buffalo sabres" |
What was the winning score in the tournament, ending with Birdie Kim as a runner-up? | create table table_1940012_2 (winning_score varchar, runner_s__up varchar, PRIMARY KEY (winning_score)) | select winning_score from table_1940012_2 where runner_s__up = "birdie kim" |
What is the largest ethnic group (2002) when cyrillic name is брестач? | create table table_2562572_52 (largest_ethnic_group__2002_ varchar, cyrillic_name varchar, PRIMARY KEY (largest_ethnic_group__2002_)) | select largest_ethnic_group__2002_ from table_2562572_52 where cyrillic_name = "брестач" |
Who is the head coach of the team who's venue is Lokomotiv? | create table table_20140132_1 (head_coach varchar, venue varchar, PRIMARY KEY (head_coach)) | select head_coach from table_20140132_1 where venue = "lokomotiv" |
What was the overall record of UMBC? | create table table_16295365_1 (record varchar, school varchar, PRIMARY KEY (record)) | select record from table_16295365_1 where school = "umbc" |
Which province has the soccer stadium that holds 4,000 people? | create table table_27369069_1 (province varchar, stadium_capacity varchar, PRIMARY KEY (province)) | select province from table_27369069_1 where stadium_capacity = "4,000" |
What is the total number of capitals that have an area of exactly 1104 square km? | create table table_19605700_1 (capital varchar, area_km² varchar, PRIMARY KEY (capital)) | select count(capital) from table_19605700_1 where area_km² = 1104 |
How many victors where there in the War of 1730–1736 , first stage? | create table table_24706337_1 (victor varchar, name_of_the_war varchar, PRIMARY KEY (victor)) | select count(victor) from table_24706337_1 where name_of_the_war = "war of 1730–1736 , first stage" |
What is Briar Cliff University's nickname? | create table table_262508_1 (nickname varchar, institution varchar, PRIMARY KEY (nickname)) | select nickname from table_262508_1 where institution = "briar cliff university" |
What are the student ids of students who don't have any allergies? | create table has_allergy (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid)) | select stuid from student except select stuid from has_allergy |
What is the trans 2 duration if the biking stage is covered within 58:20? | create table table_17085947_32 (trans_2 varchar, bike__40km_ varchar, PRIMARY KEY (trans_2)) | select trans_2 from table_17085947_32 where bike__40km_ = "58:20" |
What is the density in Garran? | create table table_1174162_1 (density___km²_ integer, suburb varchar, PRIMARY KEY (density___km²_)) | select min(density___km²_) from table_1174162_1 where suburb = "garran" |
Who is the team with the ft% of 77.6? | create table table_20107762_1 (team varchar, ft_percentage varchar, PRIMARY KEY (team)) | select team from table_20107762_1 where ft_percentage = "77.6" |
What is Peter Gregg Hurley Haywood's results? | create table table_13657749_2 (results varchar, gto_winning_team varchar, PRIMARY KEY (results)) | select results from table_13657749_2 where gto_winning_team = "peter gregg hurley haywood" |
What is the Liscumb when Gauthier is 34? | create table table_11447995_2 (liscumb varchar, gauthier varchar, PRIMARY KEY (liscumb)) | select liscumb from table_11447995_2 where gauthier = "34" |
What circuit did Clay Regazzoni win? | create table table_1140090_6 (circuit varchar, winning_driver varchar, PRIMARY KEY (circuit)) | select circuit from table_1140090_6 where winning_driver = "clay regazzoni" |
When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010? | create table table_29289372_1 (population__2010_ varchar, income_classification varchar, city_municipality varchar, PRIMARY KEY (population__2010_)) | select count(population__2010_) from table_29289372_1 where income_classification = "1st class" and city_municipality = "itogon, benguet" |
What are the names of the states where at least 3 heads were born? | create table head (born_state varchar, PRIMARY KEY (born_state)) | select born_state from head group by born_state having count(*) >= 3 |
How many breadth entries are there when propulsion is jet? | create table table_28132970_5 (breadth varchar, propulsion varchar, PRIMARY KEY (breadth)) | select count(breadth) from table_28132970_5 where propulsion = "jet" |
What are the public schools with a master's university? | create table table_2076595_1 (location_s_ varchar, control varchar, type varchar, PRIMARY KEY (location_s_)) | select location_s_ from table_2076595_1 where control = "public" and type = "master's university" |
Name the class aaaaa for 2005-06 | create table table_14601528_2 (class_aaaaa varchar, school_year varchar, PRIMARY KEY (class_aaaaa)) | select class_aaaaa from table_14601528_2 where school_year = "2005-06" |
How many phones are there? | create table phone (id varchar, PRIMARY KEY (id)) | select count(*) from phone |
Show me the departure date and arrival date for all flights from Los Angeles to Honolulu. | create table flight (departure_date varchar, arrival_date varchar, origin varchar, destination varchar, PRIMARY KEY (departure_date)) | select departure_date, arrival_date from flight where origin = "los angeles" and destination = "honolulu" |
Whats the season/episode of segment a digital dentistry | create table table_15187735_16 (netflix varchar, segment_a varchar, PRIMARY KEY (netflix)) | select netflix from table_15187735_16 where segment_a = "digital dentistry" |
What are the percentages in 2001 in all the provinces where the percentage in 2011 is 0.2%? | create table table_1939405_2 (_percentage_2001 varchar, _percentage_2011 varchar, PRIMARY KEY (_percentage_2001)) | select _percentage_2001 from table_1939405_2 where _percentage_2011 = "0.2%" |
What are the country codes for countries that do not speak English? | create table countrylanguage (countrycode varchar, language varchar, PRIMARY KEY (countrycode)) | select countrycode from countrylanguage except select countrycode from countrylanguage where language = "english" |
If the aircraft was ussr mig-25 rb how many were destroyed? | create table table_1817852_1 (destroyed varchar, aircraft varchar, PRIMARY KEY (destroyed)) | select destroyed from table_1817852_1 where aircraft = "ussr mig-25 rb" |
What is the most recent census year? | create table table_1532779_1 (census_year integer, PRIMARY KEY (census_year)) | select max(census_year) from table_1532779_1 |
List the name of tracks belongs to genre Rock or media type is MPEG audio file. | create table genres (id varchar, name varchar, PRIMARY KEY (id)); create table tracks (name varchar, genre_id varchar, media_type_id varchar, PRIMARY KEY (name)); create table media_types (id varchar, name varchar, PRIMARY KEY (id)) | select t2.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id join media_types as t3 on t3.id = t2.media_type_id where t1.name = "rock" or t3.name = "mpeg audio file" |
What is the y = 2008 when y = 2011 is a = 3? | create table table_214479_8 (y_ varchar, _2008 varchar, a varchar, _2011 varchar, PRIMARY KEY (y_)) | select y_ = _2008 from table_214479_8 where y_ = _2011 = a = 3 |
Name the transliteration for ചിങ്ങം | create table table_20354_7 (transliteration varchar, malayalam_name varchar, PRIMARY KEY (transliteration)) | select transliteration from table_20354_7 where malayalam_name = "ചിങ്ങം" |
Show ids of students who play video game and play sports. | create table plays_games (stuid varchar, PRIMARY KEY (stuid)); create table sportsinfo (stuid varchar, PRIMARY KEY (stuid)) | select stuid from sportsinfo intersect select stuid from plays_games |
When persikos sorong city played in group 11, who played in group 7? | create table table_19523142_5 (group_7 varchar, group_11 varchar, PRIMARY KEY (group_7)) | select group_7 from table_19523142_5 where group_11 = "persikos sorong city" |
What is the Japanese orthography for the English name National Farmers Academy? | create table table_11390711_4 (japanese_orthography varchar, english_name varchar, PRIMARY KEY (japanese_orthography)) | select japanese_orthography from table_11390711_4 where english_name = "national farmers academy" |
What city and state are the miners located in? | create table table_11044765_1 (location varchar, mascot varchar, PRIMARY KEY (location)) | select location from table_11044765_1 where mascot = "miners" |
Name the most households | create table table_21310575_2 (households integer, PRIMARY KEY (households)) | select max(households) from table_21310575_2 |
What is the name of the school where the year of last win is 1985-86? | create table table_14286908_1 (school varchar, year_of_last_win varchar, PRIMARY KEY (school)) | select school from table_14286908_1 where year_of_last_win = "1985-86" |
If the language is only native, what is the percentage of the San Antonio de Lomerio municipality? | create table table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ varchar, language varchar, PRIMARY KEY (san_antonio_de_lomerío_municipality___percentage_)) | select san_antonio_de_lomerío_municipality___percentage_ from table_19998428_3 where language = "only native" |
Which staff have contacted which engineers? List the staff name and the engineer first name and last name. | create table engineer_visits (contact_staff_id varchar, engineer_id varchar, PRIMARY KEY (contact_staff_id)); create table staff (staff_name varchar, staff_id varchar, PRIMARY KEY (staff_name)); create table maintenance_engineers (first_name varchar, last_name varchar, engineer_id varchar, PRIMARY KEY (first_name)) | select t1.staff_name, t3.first_name, t3.last_name from staff as t1 join engineer_visits as t2 on t1.staff_id = t2.contact_staff_id join maintenance_engineers as t3 on t2.engineer_id = t3.engineer_id |
Name the fuel gas for upper index mj/nm3 for 92.32 | create table table_1868929_1 (fuel_gas varchar, upper_index_mj__nm_3 varchar, PRIMARY KEY (fuel_gas)) | select fuel_gas from table_1868929_1 where upper_index_mj__nm_3 = "92.32" |
For each file format, return the number of artists who released songs in that format. | create table files (formats varchar, PRIMARY KEY (formats)) | select count(*), formats from files group by formats |
What is the 1st participle of the verb whose 4th participle is haitans? | create table table_1745843_5 (part_1 varchar, part_4 varchar, PRIMARY KEY (part_1)) | select part_1 from table_1745843_5 where part_4 = "haitans" |
Who is in group c when iowa is in group e? | create table table_15290638_1 (group_c varchar, group_e varchar, PRIMARY KEY (group_c)) | select group_c from table_15290638_1 where group_e = "iowa" |
Who ran in the district elections won by Tom Petri? | create table table_1341423_49 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates)) | select candidates from table_1341423_49 where incumbent = "tom petri" |
Show the most common college of authors of submissions. | create table submission (college varchar, PRIMARY KEY (college)) | select college from submission group by college order by count(*) desc limit 1 |
What is the title of the episode directed by Linda Mendoza? | create table table_25548505_1 (title varchar, directed_by varchar, PRIMARY KEY (title)) | select title from table_25548505_1 where directed_by = "linda mendoza" |
List the distinct director of all films. | create table film (director varchar, PRIMARY KEY (director)) | select distinct director from film |
When the lead margin was 35, what were the Democrat: Vivian Davis Figures? | create table table_16751596_12 (democrat varchar, lead_margin varchar, PRIMARY KEY (democrat)) | select democrat as :_vivian_davis_figures from table_16751596_12 where lead_margin = 35 |
Who wrote the episode that David Tucker directed? | create table table_15026994_3 (writer varchar, director varchar, PRIMARY KEY (writer)) | select count(writer) from table_15026994_3 where director = "david tucker" |
Where was d: ~100nm, l: 1 μm geometry researched? | create table table_30057479_1 (researched_at varchar, geometry varchar, PRIMARY KEY (researched_at)) | select researched_at from table_30057479_1 where geometry = "d: ~100nm, l: 1 μm" |
Where was the quake that began at 14:07? | create table table_25643046_1 (location varchar, origin_time varchar, PRIMARY KEY (location)) | select location from table_25643046_1 where origin_time = "14:07" |
When boston university is the team what is the record? | create table table_29846807_5 (record varchar, team varchar, PRIMARY KEY (record)) | select record from table_29846807_5 where team = "boston university" |
What was the winning score for the tournament with runner-up Rory Sabbatini? | create table table_1602858_1 (winning_score varchar, runner_s__up varchar, PRIMARY KEY (winning_score)) | select winning_score from table_1602858_1 where runner_s__up = "rory sabbatini" |
If in English it's house, what is it in proto-semitic? | create table table_26919_7 (proto_semitic varchar, english varchar, PRIMARY KEY (proto_semitic)) | select proto_semitic from table_26919_7 where english = "house" |
Who were all the pictorials when the centerfold model was Rebekka Armstrong? | create table table_1566848_7 (pictorials varchar, centerfold_model varchar, PRIMARY KEY (pictorials)) | select count(pictorials) from table_1566848_7 where centerfold_model = "rebekka armstrong" |
Which QB had a rating of 72.3? | create table table_19418696_3 (name varchar, qb_rating varchar, PRIMARY KEY (name)) | select name from table_19418696_3 where qb_rating = "72.3" |
How many conductors are there? | create table conductor (id varchar, PRIMARY KEY (id)) | select count(*) from conductor |
For what year is the type of record 'total attendance-regular season? | create table table_21436373_5 (date_year varchar, type_of_record varchar, PRIMARY KEY (date_year)) | select date_year from table_21436373_5 where type_of_record = "total attendance-regular season" |
Who had the fastest lap in the races won by Max Papis? | create table table_11056278_3 (fastest_lap varchar, winning_driver varchar, PRIMARY KEY (fastest_lap)) | select fastest_lap from table_11056278_3 where winning_driver = "max papis" |
What is the most amount of points any team had in round 4? | create table table_24784769_1 (round4 integer, PRIMARY KEY (round4)) | select max(round4) from table_24784769_1 |
What is the panchayat when the public property damage was 1,03,049.60 | create table table_20403667_2 (panchayat integer, public_property_damaged__in_lakh_inr__ varchar, PRIMARY KEY (panchayat)) | select max(panchayat) from table_20403667_2 where public_property_damaged__in_lakh_inr__ = "1,03,049.60" |
Who was the under-15 when Moises Galvez was the under-17? | create table table_26368963_1 (under_15 varchar, under_17 varchar, PRIMARY KEY (under_15)) | select under_15 from table_26368963_1 where under_17 = "moises galvez" |
List the states that have entry times of 49years, 29days | create table table_24415627_2 (state_served varchar, time_since_entry varchar, PRIMARY KEY (state_served)) | select state_served from table_24415627_2 where time_since_entry = "49years, 29days" |
List the wheels and locations of the railways. | create table railway (wheels varchar, location varchar, PRIMARY KEY (wheels)) | select wheels, location from railway |
How many wheels does the train owned by Texas and New Orleans Railroad #319 have? | create table table_1057316_1 (wheel_arrangement___whyte_notation__ varchar, operational_owner_s_ varchar, PRIMARY KEY (wheel_arrangement___whyte_notation__)) | select count(wheel_arrangement___whyte_notation__) from table_1057316_1 where operational_owner_s_ = "texas and new orleans railroad #319" |
What are the meanings of the flag whose name transliterates to dvojka? | create table table_29997112_3 (meaning varchar, transliteration varchar, PRIMARY KEY (meaning)) | select meaning from table_29997112_3 where transliteration = "dvojka" |
where are dragons used as mascots? | create table table_2439728_1 (location varchar, mascot varchar, PRIMARY KEY (location)) | select location from table_2439728_1 where mascot = "dragons" |
With theme the Year They Were Born, what is the song of choice? | create table table_21501565_1 (song_choice varchar, theme varchar, PRIMARY KEY (song_choice)) | select song_choice from table_21501565_1 where theme = "year they were born" |
How many times is the incoming head coach abdollah veysi? | create table table_27383390_4 (team varchar, incoming_head_coach varchar, PRIMARY KEY (team)) | select count(team) from table_27383390_4 where incoming_head_coach = "abdollah veysi" |
Name the number of color for furcifer pardalis | create table table_175442_1 (color varchar, scientific_name varchar, PRIMARY KEY (color)) | select count(color) from table_175442_1 where scientific_name = "furcifer pardalis" |
What is the lowest overall number of 09-10 oi 2nd? | create table table_24990183_6 (id varchar, PRIMARY KEY (id)) | select min(09 as _10_oi_2nd) from table_24990183_6 |
Where was there a change of 6.5%? | create table table_1425958_1 (name varchar, _percentage_change varchar, PRIMARY KEY (name)) | select name from table_1425958_1 where _percentage_change = "6.5" |
what is the fee for ankaragücü previous club | create table table_27998152_1 (fee varchar, previous_club varchar, PRIMARY KEY (fee)) | select fee from table_27998152_1 where previous_club = "ankaragücü" |
Where Luke Durbridge is the aggressive rider who is listed as the young rider classification? | create table table_29332810_14 (young_rider_classification varchar, aggressive_rider varchar, PRIMARY KEY (young_rider_classification)) | select young_rider_classification from table_29332810_14 where aggressive_rider = "luke durbridge" |
What is the completion percentage when yards per attempt was done by Steve McNair : 2003? | create table table_19517448_3 (completion_percentage varchar, yards_per_attempt varchar, PRIMARY KEY (completion_percentage)) | select completion_percentage from table_19517448_3 where yards_per_attempt = "steve mcnair : 2003" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.