question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the highest Population that has a Median household income of $32,902 with a number of households less than 11,125 | CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) | SELECT MAX(population) FROM table_name_34 WHERE median_household_income = "$32,902" AND number_of_households < 11 OFFSET 125 |
What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ? | CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR) | SELECT model_number FROM table_name_86 WHERE voltage = "3.45 v" AND frequency = "133 mhz" |
Name the the Best of rodolfo lavín | CREATE TABLE table_name_12 (best VARCHAR, name VARCHAR) | SELECT best FROM table_name_12 WHERE name = "rodolfo lavín" |
What venue saw a crowd larger than 29,840? | CREATE TABLE table_name_13 (venue VARCHAR, crowd INTEGER) | SELECT venue FROM table_name_13 WHERE crowd > 29 OFFSET 840 |
When peninsula is the electorate what is the reason? | CREATE TABLE table_28898974_3 (reason VARCHAR, electorate VARCHAR) | SELECT reason FROM table_28898974_3 WHERE electorate = "Peninsula" |
What was the highest number of goals for a game held at Hannover? | CREATE TABLE table_name_27 (goal INTEGER, venue VARCHAR) | SELECT MAX(goal) FROM table_name_27 WHERE venue = "hannover" |
What is the result foe October 12, 2005? | CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_75 WHERE date = "october 12, 2005" |
What is every value for Monday August 24 if Friday August 28 is 23' 22.25 96.864mph? | CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, fri_28_aug VARCHAR) | SELECT mon_24_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 22.25 96.864mph" |
When stacy schneider is the candidate what are the results? | CREATE TABLE table_1859855_2 (result VARCHAR, candidate VARCHAR) | SELECT result FROM table_1859855_2 WHERE candidate = "Stacy Schneider" |
What is the smallest crowd with fitzroy as the home team? | CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_8 WHERE away_team = "fitzroy" |
Round 1 of 70, and a Money ($) larger than 500,000 has the highest year? | CREATE TABLE table_name_72 (year INTEGER, round_1 VARCHAR, money__$_ VARCHAR) | SELECT MAX(year) FROM table_name_72 WHERE round_1 = "70" AND money__$_ > 500 OFFSET 000 |
What is 2001, when 1987 is N/A, and when Career SR is N/A? | CREATE TABLE table_name_50 (career_sr VARCHAR) | SELECT 2001 FROM table_name_50 WHERE 1987 = "n/a" AND career_sr = "n/a" |
What was the location and attendance on March 9? | CREATE TABLE table_27700530_13 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_27700530_13 WHERE date = "March 9" |
error (see notes) | CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER) | SELECT MIN(weeks_at_number_1) FROM table_25760427_2 |
What is the number of appearances where the most recent final result is 1999, beat Genk 3-1? | CREATE TABLE table_1463332_2 (_number_appearances VARCHAR, most_recent_final VARCHAR) | SELECT COUNT(_number_appearances) FROM table_1463332_2 WHERE most_recent_final = "1999, beat Genk 3-1" |
Who is Jason Leffler's primary sponsor? | CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) | SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = "Jason Leffler" |
which club in group stage 4 had member association iran | CREATE TABLE table_19412902_1 (clubs VARCHAR, group_stage VARCHAR, member_association VARCHAR) | SELECT clubs FROM table_19412902_1 WHERE group_stage = 4 AND member_association = "Iran" |
what is the to par when the score is 69-70-72-72=283? | CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 - 72 = 283 |
what is the name of the netherlands head quarters | CREATE TABLE table_name_68 (name VARCHAR, headquarters VARCHAR) | SELECT name FROM table_name_68 WHERE headquarters = "the netherlands" |
How many Gold medals did the Nation with less than 8 Total medals including 1 Bronze and 0 Silver receive? | CREATE TABLE table_name_88 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT MIN(gold) FROM table_name_88 WHERE total < 8 AND bronze < 1 AND silver < 1 |
who is the the candidates with district being mississippi 4 | CREATE TABLE table_1342379_23 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342379_23 WHERE district = "Mississippi 4" |
What was the record when the visitor was Atlanta Hawks? | CREATE TABLE table_name_90 (record VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_90 WHERE visitor = "atlanta hawks" |
Which events id does not have any participant with detail 'Kenyatta Kuhn'? | CREATE TABLE Participants (Participant_ID VARCHAR); CREATE TABLE EVENTS (event_id VARCHAR, Participant_Details VARCHAR); CREATE TABLE Participants_in_Events (event_id VARCHAR, Participant_ID VARCHAR) | SELECT event_id FROM EVENTS EXCEPT SELECT T1.event_id FROM Participants_in_Events AS T1 JOIN Participants AS T2 ON T1.Participant_ID = T2.Participant_ID WHERE Participant_Details = 'Kenyatta Kuhn' |
What incumbent was first elected in 2009? | CREATE TABLE table_19753079_8 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_19753079_8 WHERE first_elected = 2009 |
What was the result of the election when Clarence F. Lea was the incumbent? | CREATE TABLE table_1346118_5 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1346118_5 WHERE incumbent = "Clarence F. Lea" |
Name the sum of Laps for lance reventlow with grid more than 16 | CREATE TABLE table_name_56 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_56 WHERE driver = "lance reventlow" AND grid > 16 |
Who was the runner(s)-up for the Feb 18, 1996 tournament? | CREATE TABLE table_name_39 (runner_s__up VARCHAR, date VARCHAR) | SELECT runner_s__up FROM table_name_39 WHERE date = "feb 18, 1996" |
What 1941 has N/A as 1945, N/A for 1948, and 9 for 1953? | CREATE TABLE table_name_7 (Id VARCHAR) | SELECT 1941 FROM table_name_7 WHERE 1945 = "n/a" AND 1948 = "n/a" AND 1953 = "9" |
What was the population of Minneapolis in 2012? | CREATE TABLE table_1818254_1 (population INTEGER, city VARCHAR) | SELECT MAX(population) FROM table_1818254_1 WHERE city = "Minneapolis" |
What was the result in the election where the incumbent was first elected in 1942? | CREATE TABLE table_1342149_43 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_1342149_43 WHERE first_elected = "1942" |
The country of Spain has what score? | CREATE TABLE table_name_63 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_63 WHERE country = "spain" |
Name the singer for joe wilkinson | CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, comedian VARCHAR) | SELECT singer_s_ FROM table_29135051_2 WHERE comedian = "Joe Wilkinson" |
How many matches has Mohammad Al-Shamlan played when there is 1 win? | CREATE TABLE table_name_43 (matches VARCHAR, wins VARCHAR, name VARCHAR) | SELECT matches FROM table_name_43 WHERE wins = "1" AND name = "mohammad al-shamlan" |
When was the duchess, who was married on 11 july 1643, born? | CREATE TABLE table_name_12 (birth VARCHAR, marriage VARCHAR) | SELECT birth FROM table_name_12 WHERE marriage = "11 july 1643" |
How many winners did Halcones uv xalapa have? | CREATE TABLE table_name_83 (winners VARCHAR, team VARCHAR) | SELECT winners FROM table_name_83 WHERE team = "halcones uv xalapa" |
How many types of tracks are there on the Phoenix International raceway? | CREATE TABLE table_22673956_1 (type VARCHAR, track VARCHAR) | SELECT COUNT(type) FROM table_22673956_1 WHERE track = "Phoenix International Raceway" |
How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5? | CREATE TABLE table_name_60 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR) | SELECT COUNT(lost) FROM table_name_60 WHERE played > 8 AND team = "ypiranga-sp" AND position > 5 |
What is the power of the engine with an engine code m44b19? | CREATE TABLE table_name_84 (power VARCHAR, engine_code VARCHAR) | SELECT power FROM table_name_84 WHERE engine_code = "m44b19" |
What was the loss of the game with a record of 54–42? | CREATE TABLE table_name_63 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_63 WHERE record = "54–42" |
What is Instant Messaging, when Telephony is "Yes with integrated Sametime"? | CREATE TABLE table_name_26 (instant_messaging VARCHAR, telephony VARCHAR) | SELECT instant_messaging FROM table_name_26 WHERE telephony = "yes with integrated sametime" |
What is the lowest against score for Twickenham, London with the status of Five Nations against Ireland? | CREATE TABLE table_name_16 (against INTEGER, opposing_teams VARCHAR, venue VARCHAR, status VARCHAR) | SELECT MIN(against) FROM table_name_16 WHERE venue = "twickenham, london" AND status = "five nations" AND opposing_teams = "ireland" |
What is the point classification with chris anker sørensen as the young rider classification and Christian vande velde as the general classification? | CREATE TABLE table_name_93 (points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR) | SELECT points_classification FROM table_name_93 WHERE young_rider_classification = "chris anker sørensen" AND general_classification = "christian vande velde" |
What are the transit connections from Pioneer Square U? | CREATE TABLE table_22771048_2 (transit_connections VARCHAR, station VARCHAR) | SELECT transit_connections FROM table_22771048_2 WHERE station = "Pioneer Square U" |
display job ID for those jobs that were done by two or more for more than 300 days. | CREATE TABLE job_history (job_id VARCHAR, end_date VARCHAR, start_date VARCHAR) | SELECT job_id FROM job_history WHERE end_date - start_date > 300 GROUP BY job_id HAVING COUNT(*) >= 2 |
What is the year for the United Arab Emirates? | CREATE TABLE table_name_19 (year VARCHAR, country VARCHAR) | SELECT COUNT(year) FROM table_name_19 WHERE country = "united arab emirates" |
What is the enrollment amount where Hispanic (%) is 3.6? | CREATE TABLE table_14754471_1 (enrollment VARCHAR, hispanic___percentage_ VARCHAR) | SELECT enrollment FROM table_14754471_1 WHERE hispanic___percentage_ = "3.6" |
What state is Tanya Plibersek from? | CREATE TABLE table_name_15 (state VARCHAR, member VARCHAR) | SELECT state FROM table_name_15 WHERE member = "tanya plibersek" |
What is the score when away team is Crystal Palace? | CREATE TABLE table_name_8 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_8 WHERE away_team = "crystal palace" |
What is the salary and name of the employee who has the most number of certificates on aircrafts with distance more than 5000? | CREATE TABLE Aircraft (aid VARCHAR, distance INTEGER); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR) | SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.distance > 5000 GROUP BY T1.eid ORDER BY COUNT(*) DESC LIMIT 1 |
Tell me the guns for third-rate ship of the line and rank of vice-admiral with year of 1802 | CREATE TABLE table_name_63 (guns VARCHAR, year VARCHAR, class VARCHAR, rank VARCHAR) | SELECT guns FROM table_name_63 WHERE class = "third-rate ship of the line" AND rank = "vice-admiral" AND year = "1802" |
Team with average of 1.035? | CREATE TABLE table_name_79 (team VARCHAR, average VARCHAR) | SELECT team FROM table_name_79 WHERE average = 1.035 |
Where is nac breda club located? | CREATE TABLE table_name_76 (location VARCHAR, club VARCHAR) | SELECT location FROM table_name_76 WHERE club = "nac breda" |
Who was the developer(s) of the genre Adventure? | CREATE TABLE table_name_22 (developer_s_ VARCHAR, genre VARCHAR) | SELECT developer_s_ FROM table_name_22 WHERE genre = "adventure" |
What is the season # when ther are 5.3 million U.S viewers? | CREATE TABLE table_29102612_1 (season__number INTEGER, us_viewers__millions_ VARCHAR) | SELECT MAX(season__number) FROM table_29102612_1 WHERE us_viewers__millions_ = "5.3" |
Who was the game on January 26 played against? | CREATE TABLE table_23285761_7 (team VARCHAR, date VARCHAR) | SELECT team FROM table_23285761_7 WHERE date = "January 26" |
Name the opponent for record 10-4 | CREATE TABLE table_18894744_5 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_18894744_5 WHERE record = "10-4" |
What is the yes percentage in the measure that had 35270 yes votes? | CREATE TABLE table_256286_5 (_percentage_yes VARCHAR, yes_votes VARCHAR) | SELECT _percentage_yes FROM table_256286_5 WHERE yes_votes = 35270 |
What is the time for a grid greater than 20, fewer than 26 laps, and the Aprilia manufacturer? | CREATE TABLE table_name_86 (time_retired VARCHAR, manufacturer VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_86 WHERE grid > 20 AND laps < 26 AND manufacturer = "aprilia" |
What is the number of tries for the team that has 22 plays with 33 tries against and 60 points? | CREATE TABLE table_name_22 (tries_for VARCHAR, points VARCHAR, played VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_22 WHERE played = "22" AND tries_against = "33" AND points = "60" |
How many points did agnieszka radwańska score? | CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR) | SELECT points FROM table_20855452_4 WHERE player = "Agnieszka Radwańska" |
Which round is a lower score than 21.5? | CREATE TABLE table_name_46 (round VARCHAR, score INTEGER) | SELECT round FROM table_name_46 WHERE score < 21.5 |
Name the year for japanese | CREATE TABLE table_21790203_1 (year__ceremony_ VARCHAR, language_s_ VARCHAR) | SELECT year__ceremony_ FROM table_21790203_1 WHERE language_s_ = "Japanese" |
After March 19, what's the score of game 67? | CREATE TABLE table_name_75 (score VARCHAR, march VARCHAR, game VARCHAR) | SELECT score FROM table_name_75 WHERE march > 19 AND game = 67 |
Name the team classification for stage of 6 | CREATE TABLE table_name_47 (team_classification VARCHAR, stage VARCHAR) | SELECT team_classification FROM table_name_47 WHERE stage = "6" |
Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london? | CREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR) | SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london" |
how many maximum winners | CREATE TABLE table_12303563_2 (winners INTEGER) | SELECT MAX(winners) FROM table_12303563_2 |
What is Date, when Constellation is "Delphinus"? | CREATE TABLE table_name_71 (date_sent VARCHAR, constellation VARCHAR) | SELECT date_sent FROM table_name_71 WHERE constellation = "delphinus" |
When koki mizuno is the player how man positions are there? | CREATE TABLE table_18254488_2 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_18254488_2 WHERE player = "Koki Mizuno" |
What was the lowest attendance at a game that had a loss of lohse (12–11)? | CREATE TABLE table_name_2 (att INTEGER, loss VARCHAR) | SELECT MIN(att) FROM table_name_2 WHERE loss = "lohse (12–11)" |
What date did Ben Gordon (8) have high assists? | CREATE TABLE table_name_20 (date VARCHAR, high_assists VARCHAR) | SELECT date FROM table_name_20 WHERE high_assists = "ben gordon (8)" |
When 6.00 is the land area in kilometers squared what is the highest population of 2011? | CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR) | SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00" |
which countries' tv channels are playing some cartoon written by Todd Casey? | CREATE TABLE TV_Channel (country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, written_by VARCHAR) | SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey' |
Which To par has a Year(s) won of 1964? | CREATE TABLE table_name_89 (to_par VARCHAR, year_s__won VARCHAR) | SELECT to_par FROM table_name_89 WHERE year_s__won = "1964" |
How many players named victor hănescu played? | CREATE TABLE table_24431264_16 (points VARCHAR, player VARCHAR) | SELECT COUNT(points) AS won FROM table_24431264_16 WHERE player = "Victor Hănescu" |
What is the minimum number of opponents? | CREATE TABLE table_18847692_2 (opponents INTEGER) | SELECT MIN(opponents) FROM table_18847692_2 |
Who is the builder for the location Irton Road shed | CREATE TABLE table_142159_1 (builder VARCHAR, location VARCHAR) | SELECT builder FROM table_142159_1 WHERE location = "Irton Road shed" |
How many innings are there when the average is 32.3? | CREATE TABLE table_26041144_10 (innings INTEGER, average VARCHAR) | SELECT MIN(innings) FROM table_26041144_10 WHERE average = "32.3" |
What is the highest Peroutka with 46 others, and less than 15 electors? | CREATE TABLE table_name_69 (peroutka INTEGER, others VARCHAR, electors VARCHAR) | SELECT MAX(peroutka) FROM table_name_69 WHERE others = 46 AND electors < 15 |
who is the the mens doubles with year being 1978 | CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, year VARCHAR) | SELECT mens_doubles FROM table_13857700_1 WHERE year = 1978 |
What's the original title of The New Land? | CREATE TABLE table_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = "The New Land" |
Which continent is Anguilla in? | CREATE TABLE country (Continent VARCHAR, Name VARCHAR) | SELECT Continent FROM country WHERE Name = "Anguilla" |
What is the height in feet of number 10? | CREATE TABLE table_name_77 (height_in_ft VARCHAR, no_s_ VARCHAR) | SELECT height_in_ft FROM table_name_77 WHERE no_s_ = "10" |
Which party's candidate is Grech Louis Grech? | CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR) | SELECT party FROM table_name_36 WHERE candidate = "grech louis grech" |
What school has belleville as the city? | CREATE TABLE table_name_37 (school VARCHAR, city VARCHAR) | SELECT school FROM table_name_37 WHERE city = "belleville" |
What is the loss when the record is 38-33? | CREATE TABLE table_name_67 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_67 WHERE record = "38-33" |
What family was featured in episode us14 of the series? | CREATE TABLE table_19897294_11 (family_families VARCHAR, no_in_series VARCHAR) | SELECT family_families FROM table_19897294_11 WHERE no_in_series = "US14" |
What country had a total less than 291 and a 4 Finish? | CREATE TABLE table_name_24 (country VARCHAR, total VARCHAR, finish VARCHAR) | SELECT country FROM table_name_24 WHERE total < 291 AND finish = "4" |
What date is st kilda the Away team? | CREATE TABLE table_name_90 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_90 WHERE away_team = "st kilda" |
What is the highest average of celebrity Natalia Lesz, who is ranked greater than 4? | CREATE TABLE table_name_19 (average INTEGER, rank VARCHAR, celebrity VARCHAR) | SELECT MAX(average) FROM table_name_19 WHERE rank > 4 AND celebrity = "natalia lesz" |
What was the sum of Richie Hebner winning games that were smaller 34? | CREATE TABLE table_name_80 (games INTEGER, manager VARCHAR, wins VARCHAR) | SELECT SUM(games) FROM table_name_80 WHERE manager = "richie hebner" AND wins < 34 |
Name the Tracking Method which has a Company of mapmyuser, llc? | CREATE TABLE table_name_24 (tracking_method VARCHAR, company VARCHAR) | SELECT tracking_method FROM table_name_24 WHERE company = "mapmyuser, llc" |
What kind of the Winning driver has a Circuit of saint-raphaël? | CREATE TABLE table_name_11 (winning_driver VARCHAR, circuit VARCHAR) | SELECT winning_driver FROM table_name_11 WHERE circuit = "saint-raphaël" |
What place is South Africa? | CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_99 WHERE country = "south africa" |
For each phone, show its names and total number of stocks. | CREATE TABLE phone_market (Num_of_stock INTEGER, Phone_ID VARCHAR); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR) | SELECT T2.Name, SUM(T1.Num_of_stock) FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name |
What is the smallest game number with a record of 16-7-2? | CREATE TABLE table_name_44 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_name_44 WHERE record = "16-7-2" |
What is the Record with a Date that is december 20? | CREATE TABLE table_name_91 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_91 WHERE date = "december 20" |
What is the total enrollment at Laville? | CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR) | SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville" |
What is the branding for stations located in Cebu? | CREATE TABLE table_17487395_1 (branding VARCHAR, location VARCHAR) | SELECT branding FROM table_17487395_1 WHERE location = "Cebu" |
Which Segment C has a Netflix of s08e16? | CREATE TABLE table_name_43 (segment_c VARCHAR, netflix VARCHAR) | SELECT segment_c FROM table_name_43 WHERE netflix = "s08e16" |
Who sponsored the bill that was introduced on June 2, 2009? | CREATE TABLE table_name_55 (sponsor_s_ VARCHAR, date_introduced VARCHAR) | SELECT sponsor_s_ FROM table_name_55 WHERE date_introduced = "june 2, 2009" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.