question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the Year won for the player with a larger than 4 To par and less the 157 Total? | CREATE TABLE table_name_4 (year_won VARCHAR, to_par VARCHAR, total VARCHAR) | SELECT year_won FROM table_name_4 WHERE to_par > 4 AND total < 157 |
Which week has hot 100 reaction as did not debut for Natalie Cole? | CREATE TABLE table_name_71 (week VARCHAR, hot_100_reaction VARCHAR, performer_s_ VARCHAR) | SELECT week FROM table_name_71 WHERE hot_100_reaction = "did not debut" AND performer_s_ = "natalie cole" |
What was the To par for bill britton when he placed t7? | CREATE TABLE table_name_37 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_37 WHERE place = "t7" AND player = "bill britton" |
What date did the Geelong team play on as a home team? | CREATE TABLE table_name_12 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_12 WHERE home_team = "geelong" |
What was the record when there was a fight that lasted 5:00? | CREATE TABLE table_name_96 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_96 WHERE time = "5:00" |
What was the venue of the game that was lost 3-4? | CREATE TABLE table_17120964_8 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_17120964_8 WHERE result = "Lost 3-4" |
Which player's runs are 270? | CREATE TABLE table_name_43 (player VARCHAR, runs VARCHAR) | SELECT player FROM table_name_43 WHERE runs = "270" |
What nation scored 7 in shooting in 1920? | CREATE TABLE table_name_39 (nation VARCHAR, years VARCHAR, sport VARCHAR, total VARCHAR) | SELECT nation FROM table_name_39 WHERE sport = "shooting" AND total = 7 AND years = "1920" |
What group had 29 studio albums? | CREATE TABLE table_19439814_1 (girl_group VARCHAR, studio_albums VARCHAR) | SELECT girl_group FROM table_19439814_1 WHERE studio_albums = 29 |
What class is the city of black mountain, north carolina? | CREATE TABLE table_name_45 (class VARCHAR, city_of_license VARCHAR) | SELECT class FROM table_name_45 WHERE city_of_license = "black mountain, north carolina" |
Where is the first class team of date of birth 20 november 1969? | CREATE TABLE table_11950720_4 (first_class_team VARCHAR, date_of_birth VARCHAR) | SELECT first_class_team FROM table_11950720_4 WHERE date_of_birth = "20 November 1969" |
Which tournament had a 2010 result of QF and a 2012 result of SF? | CREATE TABLE table_name_64 (tournament VARCHAR) | SELECT tournament FROM table_name_64 WHERE 2012 = "sf" AND 2010 = "qf" |
What year had the Hungarian top 40 album charts of 3? | CREATE TABLE table_name_69 (year VARCHAR, hungarian_top_40_album_charts VARCHAR) | SELECT year FROM table_name_69 WHERE hungarian_top_40_album_charts = "3" |
What was the winning score when the runner-up was Neal Briggs? | CREATE TABLE table_name_9 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_9 WHERE runner_s__up = "neal briggs" |
What is the attendance on 24 December 1898? | CREATE TABLE table_name_23 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_23 WHERE date = "24 december 1898" |
What is the Date of the Event with a Prize of $141,426? | CREATE TABLE table_name_92 (date VARCHAR, prize VARCHAR) | SELECT date FROM table_name_92 WHERE prize = "$141,426" |
Which Show has an Award of indian television academy awards? | CREATE TABLE table_name_77 (show VARCHAR, award VARCHAR) | SELECT show FROM table_name_77 WHERE award = "indian television academy awards" |
What's the total attendance of the leagues in season of 2010? | CREATE TABLE table_10815352_1 (total_attendance VARCHAR, season VARCHAR) | SELECT COUNT(total_attendance) FROM table_10815352_1 WHERE season = "2010" |
What team has fewer than 9 wins and less than 1593 against? | CREATE TABLE table_name_18 (lexton_plains VARCHAR, wins VARCHAR, against VARCHAR) | SELECT lexton_plains FROM table_name_18 WHERE wins < 9 AND against < 1593 |
What position is the player drafted with pick 34? | CREATE TABLE table_16575609_5 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_16575609_5 WHERE pick__number = 34 |
Name the date for score of w 112-91 | CREATE TABLE table_27902171_8 (date VARCHAR, score VARCHAR) | SELECT date FROM table_27902171_8 WHERE score = "W 112-91" |
What model is the n·m (lb·ft)@1500-2500 torque? | CREATE TABLE table_name_60 (model VARCHAR, torque VARCHAR) | SELECT model FROM table_name_60 WHERE torque = "n·m (lb·ft)@1500-2500" |
What is the number of s sikh where 955 is the number of buddhists? | CREATE TABLE table_14598_5 (s_sikh VARCHAR, buddhist VARCHAR) | SELECT s_sikh FROM table_14598_5 WHERE buddhist = "955" |
How many districts had crib damage of 1,164.50? | CREATE TABLE table_20403667_2 (district VARCHAR, crop_damaged__in_lakh_inr__ VARCHAR) | SELECT COUNT(district) FROM table_20403667_2 WHERE crop_damaged__in_lakh_inr__ = "1,164.50" |
What is the district that has Bob Wilson as an incumbent? | CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341663_6 WHERE incumbent = "Bob Wilson" |
what are the name of players who get more than the average points. | CREATE TABLE player (name VARCHAR, points INTEGER) | SELECT name FROM player WHERE points > (SELECT AVG(points) FROM player) |
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) | SELECT gtc_winning_team FROM table_24037660_2 WHERE lmp_winning_team = "#8 Drayson Racing" |
Who was the winner of the game in 1999 with Kansas City Chiefs as the loser? | CREATE TABLE table_name_29 (winner VARCHAR, year VARCHAR, loser VARCHAR) | SELECT winner FROM table_name_29 WHERE year = 1999 AND loser = "kansas city chiefs" |
When did the term end that began December 4, 1978? | CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR) | SELECT term_ended FROM table_224672_2 WHERE term_began = "December 4, 1978" |
The theme Auditioner's Choice has what song choice? | CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR) | SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice" |
In which season is the runner-up Lase-R/Riga? | CREATE TABLE table_25058269_1 (season VARCHAR, runner_up VARCHAR) | SELECT season FROM table_25058269_1 WHERE runner_up = "Lase-R/Riga" |
How many papers are published by the institution "Tokohu University"? | CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR) | SELECT COUNT(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "Tokohu University" |
List the companies of entrepreneurs in descending order of money requested. | CREATE TABLE entrepreneur (Company VARCHAR, Money_Requested VARCHAR) | SELECT Company FROM entrepreneur ORDER BY Money_Requested DESC |
What is the nationality of the event with a 1:51.51 time? | CREATE TABLE table_name_66 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_66 WHERE time = "1:51.51" |
What is the latest year they were nominated? | CREATE TABLE table_name_44 (year INTEGER, result VARCHAR) | SELECT MAX(year) FROM table_name_44 WHERE result = "nominated" |
What is the largest amount of floors in the 70m (233ft) Tupper building (educational)? | CREATE TABLE table_name_11 (floors INTEGER, height VARCHAR, building VARCHAR) | SELECT MAX(floors) FROM table_name_11 WHERE height = "70m (233ft)" AND building = "tupper building (educational)" |
Result of w 21–7 had what average week? | CREATE TABLE table_name_96 (week INTEGER, result VARCHAR) | SELECT AVG(week) FROM table_name_96 WHERE result = "w 21–7" |
What type has a GNIS ID of 1139805 | CREATE TABLE table_name_15 (type VARCHAR, gnis_id VARCHAR) | SELECT type FROM table_name_15 WHERE gnis_id = 1139805 |
What name was proposed on 09/08/1983 in hillsborough county? | CREATE TABLE table_name_73 (name VARCHAR, county VARCHAR, proposed VARCHAR) | SELECT name FROM table_name_73 WHERE county = "hillsborough" AND proposed = "09/08/1983" |
Location of boston garden, and a Record of 58-23 involved what opponent? | CREATE TABLE table_name_34 (opponent VARCHAR, location VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_34 WHERE location = "boston garden" AND record = "58-23" |
What was the Partner on February 23, 1997? | CREATE TABLE table_name_91 (partner VARCHAR, date VARCHAR) | SELECT partner FROM table_name_91 WHERE date = "february 23, 1997" |
When was there a Result of 8–0 and a Score of 1–0? | CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR) | SELECT date FROM table_name_48 WHERE result = "8–0" AND score = "1–0" |
Name the loss with save of || 23,391 ||17-18||? | CREATE TABLE table_name_86 (loss VARCHAR, save VARCHAR) | SELECT loss FROM table_name_86 WHERE save = "|| 23,391 ||17-18||" |
Name the best supporting actress for sun honglei for mongol | CREATE TABLE table_15301258_1 (best_supporting_actress VARCHAR, best_supporting_actor VARCHAR) | SELECT best_supporting_actress FROM table_15301258_1 WHERE best_supporting_actor = "Sun Honglei for Mongol" |
Name the scoreboard for total being 23.5 | CREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR) | SELECT scoreboard FROM table_21234111_6 WHERE total = "23.5" |
Who is the constructor whose circuit was Oulton Park? | CREATE TABLE table_name_71 (constructor VARCHAR, circuit VARCHAR) | SELECT constructor FROM table_name_71 WHERE circuit = "oulton park" |
Who played Peter Pan in the 1990 Broadway? | CREATE TABLE table_10312547_1 (character VARCHAR) | SELECT 1990 AS _broadway FROM table_10312547_1 WHERE character = "Peter Pan" |
What was the final score in Tie #28? | CREATE TABLE table_name_90 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_90 WHERE tie_no = 28 |
What was the GDP for 2002-2005 for the construction center? | CREATE TABLE table_25282151_1 (supply_sector___percentage_of_gdp_in_current_prices_ VARCHAR) | SELECT 2002 AS _2005 FROM table_25282151_1 WHERE supply_sector___percentage_of_gdp_in_current_prices_ = "Construction" |
Tell me the sum of frequency for ERP W less than 1 | CREATE TABLE table_name_43 (frequency_mhz INTEGER, erp_w INTEGER) | SELECT SUM(frequency_mhz) FROM table_name_43 WHERE erp_w < 1 |
What was the score of the game played on 16 August 2006? | CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_32 WHERE date = "16 august 2006" |
What was the production company for the nominated film, Badmouth? | CREATE TABLE table_name_33 (production_company VARCHAR, rank VARCHAR, film VARCHAR) | SELECT production_company FROM table_name_33 WHERE rank = "nominated" AND film = "badmouth" |
On which date did the Indians have a record of 67-58 | CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_92 WHERE record = "67-58" |
display the department name, city, and state province for each department. | CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR) | SELECT T1.department_name, T2.city, T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id = T1.location_id |
What was the score when the partner is Rafael Osuna? | CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_2215159_2 WHERE partner = "Rafael Osuna" |
Where is the location for the home rink Triangle sports plex/Greensboro ice house? | CREATE TABLE table_name_36 (location VARCHAR, home_rink VARCHAR) | SELECT location FROM table_name_36 WHERE home_rink = "triangle sports plex/greensboro ice house" |
Find the number of courses provided in each semester and year. | CREATE TABLE SECTION (semester VARCHAR, YEAR VARCHAR) | SELECT COUNT(*), semester, YEAR FROM SECTION GROUP BY semester, YEAR |
Which Total has a Nation of japan, and a Silver larger than 2? | CREATE TABLE table_name_55 (total INTEGER, nation VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_55 WHERE nation = "japan" AND silver > 2 |
For Model e12 what is the IFLs/uIFLs? | CREATE TABLE table_name_77 (ifls___uifls VARCHAR, model VARCHAR) | SELECT ifls___uifls FROM table_name_77 WHERE model = "e12" |
What was the enemy aircraft on 14.09.1942, when the Soviet Unit was 437 iap? | CREATE TABLE table_name_46 (enemy_aircraft VARCHAR, soviet_unit VARCHAR, date__ddmmyyyy_ VARCHAR) | SELECT enemy_aircraft FROM table_name_46 WHERE soviet_unit = "437 iap" AND date__ddmmyyyy_ = "14.09.1942" |
What's the subject of 20 questions in those issues where Jillian Grace is the centerfold model? | CREATE TABLE table_1566852_6 (centerfold_model VARCHAR) | SELECT 20 AS _questions FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace" |
How many frequency figures are given for next station service pattern? | CREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR) | SELECT COUNT(frequency__per_hour_) FROM table_1612760_1 WHERE service_pattern = "Next station" |
What football stadium has a school enrollment of 43579? | CREATE TABLE table_12896884_1 (football_stadium VARCHAR, enrollment VARCHAR) | SELECT football_stadium FROM table_12896884_1 WHERE enrollment = 43579 |
What Home city has the home ground Klepp stadion? | CREATE TABLE table_2522473_1 (home_city VARCHAR, home_ground VARCHAR) | SELECT home_city FROM table_2522473_1 WHERE home_ground = "Klepp Stadion" |
What is Adam Keefe's nationality? | CREATE TABLE table_name_42 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_42 WHERE player = "adam keefe" |
How many people saw the game won by G. Claypool (4-1)? | CREATE TABLE table_27862483_3 (attendance INTEGER, win VARCHAR) | SELECT MIN(attendance) FROM table_27862483_3 WHERE win = "G. Claypool (4-1)" |
What is the largest game number? | CREATE TABLE table_27712702_11 (game INTEGER) | SELECT MAX(game) FROM table_27712702_11 |
when the position is forward and the league is 5 what number is the Champion league | CREATE TABLE table_17505751_5 (Champions VARCHAR, league VARCHAR, position VARCHAR) | SELECT COUNT(Champions) AS league FROM table_17505751_5 WHERE league = 5 AND position = "Forward" |
On what Date was the Venue in Carson? | CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_10 WHERE venue = "carson" |
What's the official name of the place with an Area KM 2 of 295.07 | CREATE TABLE table_171236_2 (official_name VARCHAR, area_km_2 VARCHAR) | SELECT official_name FROM table_171236_2 WHERE area_km_2 = "295.07" |
What is the total number for long when there are 19 attempts? | CREATE TABLE table_name_52 (long VARCHAR, attempts VARCHAR) | SELECT COUNT(long) FROM table_name_52 WHERE attempts = 19 |
Tell me the most total for horse of carlson | CREATE TABLE table_name_10 (total INTEGER, horse VARCHAR) | SELECT MAX(total) FROM table_name_10 WHERE horse = "carlson" |
What year did the man from Norway who won the Holmenkollen in 1958 win the FIS Nordic World Ski Championships? | CREATE TABLE table_174491_1 (fis_nordic_world_ski_championships VARCHAR, country VARCHAR, holmenkollen VARCHAR) | SELECT fis_nordic_world_ski_championships FROM table_174491_1 WHERE country = "Norway" AND holmenkollen = "1958" |
What time is grid 7 in? | CREATE TABLE table_name_61 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_61 WHERE grid = 7 |
What is High Points, when Game is less than 10, and when High Assists is "Chauncey Billups (8)"? | CREATE TABLE table_name_18 (high_points VARCHAR, game VARCHAR, high_assists VARCHAR) | SELECT high_points FROM table_name_18 WHERE game < 10 AND high_assists = "chauncey billups (8)" |
Which home team had an away team of the Brisbane Lions? | CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_36 WHERE away_team = "brisbane lions" |
What was the smallest grid for Prince bira? | CREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR) | SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira" |
Who was the opponent at the game that had a loss of Caldwell (10-11)? | CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_35 WHERE loss = "caldwell (10-11)" |
What color is model # pd-kb400w? | CREATE TABLE table_name_14 (color VARCHAR, model__number VARCHAR) | SELECT color FROM table_name_14 WHERE model__number = "pd-kb400w" |
What is the Winners when the United States is the runner-up at st. germain golf club? | CREATE TABLE table_name_90 (winners VARCHAR, runners_up VARCHAR, venue VARCHAR) | SELECT winners FROM table_name_90 WHERE runners_up = "united states" AND venue = "st. germain golf club" |
WHich Scored 1,500 Points has a Years Played of 2004–2008 and a Name of jolene anderson? | CREATE TABLE table_name_34 (scored_1 VARCHAR, years_played VARCHAR, name VARCHAR) | SELECT scored_1, 500 AS _points FROM table_name_34 WHERE years_played = "2004–2008" AND name = "jolene anderson" |
Name the tries that has a points of 008 8 and games of 27 27 | CREATE TABLE table_name_98 (tries VARCHAR, points VARCHAR, games VARCHAR) | SELECT tries FROM table_name_98 WHERE points = "008 8" AND games = "27 27" |
What is the lowest top-5 of the tournament with less than 1 top-10 and less than 1 top-25? | CREATE TABLE table_name_74 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR) | SELECT MIN(top_5) FROM table_name_74 WHERE top_10 < 1 AND top_25 < 1 |
Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23? | CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_46 WHERE laps = 14 AND grid > 23 AND bike = "honda cbr1000rr" AND time = "+1'04.877" |
Tell me the lowest silver for rank of 9 and bronze less than 2 | CREATE TABLE table_name_26 (silver INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT MIN(silver) FROM table_name_26 WHERE rank = 9 AND bronze < 2 |
What is the Pinnacle height for Metcalf, Georgia? | CREATE TABLE table_name_17 (pinnacle_height VARCHAR, town VARCHAR) | SELECT pinnacle_height FROM table_name_17 WHERE town = "metcalf, georgia" |
What is last date created of votes from the state 'CA'? | CREATE TABLE votes (created INTEGER, state VARCHAR) | SELECT MAX(created) FROM votes WHERE state = 'CA' |
When the cmd.exe / command.com is type, what are all associated values for powershell (cmdlet)? | CREATE TABLE table_14465871_1 (powershell__cmdlet_ VARCHAR, cmdexe___commandcom VARCHAR) | SELECT powershell__cmdlet_ FROM table_14465871_1 WHERE cmdexe___commandcom = "type" |
What is the record of game 7? | CREATE TABLE table_name_4 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_4 WHERE game = 7 |
What is the province where the age of the contestant is 27? | CREATE TABLE table_18349697_1 (province VARCHAR, _community VARCHAR, age VARCHAR) | SELECT province, _community FROM table_18349697_1 WHERE age = 27 |
Which Current Conference has a Nickname of lynx? | CREATE TABLE table_name_53 (current_conference VARCHAR, nickname VARCHAR) | SELECT current_conference FROM table_name_53 WHERE nickname = "lynx" |
What is the methyl red reading for proteus mirabilis? | CREATE TABLE table_name_77 (methyl_red VARCHAR, species VARCHAR) | SELECT methyl_red FROM table_name_77 WHERE species = "proteus mirabilis" |
How many laps did the team with a time/retired of +1.906 have? | CREATE TABLE table_name_90 (laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_90 WHERE time_retired = "+1.906" |
Name the opponent with record of 12-18 | CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_20 WHERE record = "12-18" |
What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton? | CREATE TABLE table_name_26 (race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR) | SELECT race_2 FROM table_name_26 WHERE race_1 = "dnf" AND race_3 = "dnf" AND track = "winton" |
What was the height of representative #1? | CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR) | SELECT height FROM table_28062822_3 WHERE represent = 1 |
Which district is associated with the incumbent Carl Vinson? | CREATE TABLE table_1342233_11 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342233_11 WHERE incumbent = "Carl Vinson" |
What is the Opponent from the final with a Partner named jorgelina cravero? | CREATE TABLE table_name_83 (opponent_in_the_final VARCHAR, partner VARCHAR) | SELECT opponent_in_the_final FROM table_name_83 WHERE partner = "jorgelina cravero" |
What was the result of the election for incumbent Cordell Hull? | CREATE TABLE table_1342393_41 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342393_41 WHERE incumbent = "Cordell Hull" |
What is the livery of the locomotive with a serial number 83-1010? | CREATE TABLE table_name_33 (livery VARCHAR, serial_no VARCHAR) | SELECT livery FROM table_name_33 WHERE serial_no = "83-1010" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.