answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT COUNT(round) FROM table_name_57 WHERE record = "4-0" | What is the total number of rounds with a 4-0 record? | CREATE TABLE table_name_57 (round VARCHAR, record VARCHAR) |
SELECT going_to FROM table_18332845_2 WHERE departure = "20.35" | Where is the train going to when departing at 20.35? | CREATE TABLE table_18332845_2 (going_to VARCHAR, departure VARCHAR) |
SELECT result FROM table_22736523_1 WHERE week__number = "Top 9" | For week of top 9, what were the results? | CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR) |
SELECT date_of_birth__age_ FROM table_name_41 WHERE caps = 11 AND position = "prop" | What is the date of birth of the player that has 11 caps and plays the prop position? | CREATE TABLE table_name_41 (date_of_birth__age_ VARCHAR, caps VARCHAR, position VARCHAR) |
SELECT MAX(attendance) FROM table_name_37 WHERE week = 13 | What was the highest attendance on week 13? | CREATE TABLE table_name_37 (attendance INTEGER, week VARCHAR) |
SELECT SUM(number_in_class) FROM table_name_13 WHERE owner = "whitehaven coal" | What is the total number in class for the Whitehaven Coal? | CREATE TABLE table_name_13 (number_in_class INTEGER, owner VARCHAR) |
SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6 | How many gold(s) for teams with a total of 14, and over 6 bronze medals? | CREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR) |
SELECT COUNT(vote) FROM table_24233848_2 WHERE finish = "3rd voted Out Day 9" | Name the total number of votes for 3rd voted out day 9 | CREATE TABLE table_24233848_2 (vote VARCHAR, finish VARCHAR) |
SELECT AVG(losses) FROM table_name_8 WHERE points < 16 AND draws < 3 | What is the average number of losses for teams with under 16 points and under 3 draws? | CREATE TABLE table_name_8 (losses INTEGER, points VARCHAR, draws VARCHAR) |
SELECT laps FROM table_name_71 WHERE driver = "luca badoer" | How many laps does luca badoer have? | CREATE TABLE table_name_71 (laps VARCHAR, driver VARCHAR) |
SELECT MAX(rank) FROM table_name_21 WHERE county_and_state = "silver bow county, montana" AND capacity__thousands_of_metric_tons_ > 45 | In Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found? | CREATE TABLE table_name_21 (rank INTEGER, county_and_state VARCHAR, capacity__thousands_of_metric_tons_ VARCHAR) |
SELECT date FROM table_27882867_4 WHERE location_attendance = "Omni Coliseum 10,330" | Name the date for omni coliseum 10,330 | CREATE TABLE table_27882867_4 (date VARCHAR, location_attendance VARCHAR) |
SELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = "Pondicherry" | Name the k. r. narayanan values for pondicherry | CREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR) |
SELECT u21_mens FROM table_28211674_3 WHERE mixed_restricted = "Mike Marsden" AND u21_womens = "Claire Nelson" | Who was the U21 Mens winner when Mike Marsden was the mixed restricted winner and Claire Nelson was the U21 Womens winner? | CREATE TABLE table_28211674_3 (u21_mens VARCHAR, mixed_restricted VARCHAR, u21_womens VARCHAR) |
SELECT COUNT(result) FROM table_21350934_2 WHERE attendance = "14,381" | How many results have 14,381 as the attendance? | CREATE TABLE table_21350934_2 (result VARCHAR, attendance VARCHAR) |
SELECT year FROM table_name_96 WHERE 2007 = "big red" | What year is the 2007 big red? | CREATE TABLE table_name_96 (year VARCHAR) |
SELECT SUM(poles) FROM table_name_1 WHERE season < 2005 AND position = "2nd" AND wins < 6 | What is the sum of Poles, when Season is before 2005, when Position is "2nd", and when Wins is less than 6? | CREATE TABLE table_name_1 (poles INTEGER, wins VARCHAR, season VARCHAR, position VARCHAR) |
SELECT australian FROM table_name_79 WHERE examples = "illyria, cf. cirrhosis" | What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis? | CREATE TABLE table_name_79 (australian VARCHAR, examples VARCHAR) |
SELECT COUNT(area) FROM table_2135222_2 WHERE population = 703379 | How many areas have a population of 703379? | CREATE TABLE table_2135222_2 (area VARCHAR, population VARCHAR) |
SELECT opponents FROM table_21092444_1 WHERE record = "2-1" | Name the opponents for record of 2-1 | CREATE TABLE table_21092444_1 (opponents VARCHAR, record VARCHAR) |
SELECT SUM(total) FROM table_name_69 WHERE routine_score = 26.6 | What is the sum of the total for a routine score of 26.6? | CREATE TABLE table_name_69 (total INTEGER, routine_score VARCHAR) |
SELECT affiliation FROM table_name_28 WHERE pick__number < 32 | What affiliations have Pick #s under 32? | CREATE TABLE table_name_28 (affiliation VARCHAR, pick__number INTEGER) |
SELECT COUNT(thursday_day_five) FROM table_1277350_7 WHERE sunday_day_one = "Ahad" | How many time is sunday day one is ahad? | CREATE TABLE table_1277350_7 (thursday_day_five VARCHAR, sunday_day_one VARCHAR) |
SELECT player FROM table_name_50 WHERE games_played > 46 AND goals_allowed < 195 | Who played over 46 games and allowed less than 195 goals? | CREATE TABLE table_name_50 (player VARCHAR, games_played VARCHAR, goals_allowed VARCHAR) |
SELECT drivers FROM table_name_23 WHERE laps = 133 AND class = "oc" | Who are the drivers with 133 laps in OC class? | CREATE TABLE table_name_23 (drivers VARCHAR, laps VARCHAR, class VARCHAR) |
SELECT COUNT(first_performance) FROM table_19189856_1 WHERE performer = "Wilfred Engelman category:Articles with hCards" | how many first performances where performer is wilfred engelman category:articles with hcards | CREATE TABLE table_19189856_1 (first_performance VARCHAR, performer VARCHAR) |
SELECT title FROM table_name_76 WHERE director = "joyce bernal" | Which title was directed by Joyce Bernal? | CREATE TABLE table_name_76 (title VARCHAR, director VARCHAR) |
SELECT time FROM table_name_94 WHERE show_name = "best mix overnight" | What's time is Best Mix Overnight? | CREATE TABLE table_name_94 (time VARCHAR, show_name VARCHAR) |
SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp" | What Australian Marquee team is Michael Beauchamp a captain of? | CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR) |
SELECT AVG(gold) FROM table_name_19 WHERE total < 4 AND nation = "brazil" AND bronze > 1 | What is the average number of gold medals won by Brazil for entries with more than 1 bronze medal but a total smaller than 4? | CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) |
SELECT design FROM table_name_46 WHERE serial_format = "ab-12-34" | Which design has a serial format of AB-12-34? | CREATE TABLE table_name_46 (design VARCHAR, serial_format VARCHAR) |
SELECT AVG(silver) FROM table_name_97 WHERE total < 1 | What is the average Silver with a Total that is smaller than 1? | CREATE TABLE table_name_97 (silver INTEGER, total INTEGER) |
SELECT location_attendance FROM table_name_81 WHERE team = "new orleans" | What is the attendance of the location where New Orleans's team plays? | CREATE TABLE table_name_81 (location_attendance VARCHAR, team VARCHAR) |
SELECT MAX(founded) FROM table_261946_3 | Which founding year corresponds with the highest enrollment? | CREATE TABLE table_261946_3 (founded INTEGER) |
SELECT date_first_settled_as_a_suburb FROM table_1174162_1 WHERE median_age__in_2006_ = "40 years" | What is the date settled for 40 years? | CREATE TABLE table_1174162_1 (date_first_settled_as_a_suburb VARCHAR, median_age__in_2006_ VARCHAR) |
SELECT college_junior_club_team FROM table_1213511_5 WHERE nhl_team = "Chicago Black Hawks" | what college has nhl team chicago black hawks? | CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR) |
SELECT MAX(bronze) FROM table_name_18 WHERE silver < 1 AND nation = "belgium (bel)" AND gold < 0 | What is the largest amount of bronze medals when the silver medals are less than 1, and Belgium (BEL) is the nation, and the gold medals are less than 0? | CREATE TABLE table_name_18 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) |
SELECT constructor FROM table_name_42 WHERE free_practice_driver_s_ = "n/a" AND chassis = "005" AND driver = "takuma sato" | who is the constructor when the free practice driver(s) is n/a, the chassis is 005 and the driver is takuma sato? | CREATE TABLE table_name_42 (constructor VARCHAR, driver VARCHAR, free_practice_driver_s_ VARCHAR, chassis VARCHAR) |
SELECT Double AS non_suited_match FROM table_name_1 WHERE non_suited_match = "4:1" AND house_edge = "3.63%" | With a House Edge of 3.63% and a Non-Suited Match of 4:1, what is the Double Non-Suited Match? | CREATE TABLE table_name_1 (Double VARCHAR, non_suited_match VARCHAR, house_edge VARCHAR) |
SELECT constructor FROM table_name_59 WHERE driver = "juan manuel fangio" | For which constructor does Juan Manuel Fangio drive? | CREATE TABLE table_name_59 (constructor VARCHAR, driver VARCHAR) |
SELECT AVG(margin) FROM table_name_3 WHERE round = "13. (h)" | What is the average Margin that has a Round of 13. (h)? | CREATE TABLE table_name_3 (margin INTEGER, round VARCHAR) |
SELECT home_team AS score FROM table_name_72 WHERE away_team = "geelong" | What did the team score when playing against home in geelong? | CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR) |
SELECT title FROM table_18569389_1 WHERE production_code = "2T6908" | Name the title for production code 2t6908 | CREATE TABLE table_18569389_1 (title VARCHAR, production_code VARCHAR) |
SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02" | tell me the director of the production code ad1d02. | CREATE TABLE table_name_32 (directed_by VARCHAR, production_code VARCHAR) |
SELECT COUNT(top_5) FROM table_name_40 WHERE top_25 = 6 AND cuts_made < 12 | What is the total number of Top-5 when the Top-25 is 6, and a Cuts made are less than 12? | CREATE TABLE table_name_40 (top_5 VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) |
SELECT MIN(wins) FROM table_14853156_2 | What is the lowest number of wins? | CREATE TABLE table_14853156_2 (wins INTEGER) |
SELECT AVG(track_number) FROM table_name_52 WHERE time = "3:25" AND title = "great getting up mornin'" | What is the average track number 3:25 long and a title of Great Getting up Mornin'? | CREATE TABLE table_name_52 (track_number INTEGER, time VARCHAR, title VARCHAR) |
SELECT COUNT(total) FROM table_name_1 WHERE player = "karrie webb" | What is the total for player karrie webb? | CREATE TABLE table_name_1 (total VARCHAR, player VARCHAR) |
SELECT opponent FROM table_name_83 WHERE result = "w 13–12" | Who was the opponent at the game with a result of W 13–12? | CREATE TABLE table_name_83 (opponent VARCHAR, result VARCHAR) |
SELECT score FROM table_name_47 WHERE date = "october 25" | What is the Score of the competition on October 25? | CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR) |
SELECT d_47 FROM table_name_32 WHERE d_45 = "d 32" | Name the D 47 when it has a D 45 of d 32 | CREATE TABLE table_name_32 (d_47 VARCHAR, d_45 VARCHAR) |
SELECT engine FROM table_name_76 WHERE year < 1977 | Name the engine for year less than 1977 | CREATE TABLE table_name_76 (engine VARCHAR, year INTEGER) |
SELECT SUM(points) FROM table_name_12 WHERE player = "tom hammond" AND extra_points > 12 | How many points does Tom Hammond have if he has more than 12 points? | CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, extra_points VARCHAR) |
SELECT season FROM table_name_79 WHERE top_goalscorer = "schädlich" | In what season was Schädlich the top goalscorer? | CREATE TABLE table_name_79 (season VARCHAR, top_goalscorer VARCHAR) |
SELECT party FROM table_1342249_5 WHERE district = "Arkansas 6" | What party did the incumbent of the Arkansas 6 district belong to? | CREATE TABLE table_1342249_5 (party VARCHAR, district VARCHAR) |
SELECT cfl_team FROM table_21321804_1 WHERE college = "Manitoba" | Which cfl team is manitoba college? | CREATE TABLE table_21321804_1 (cfl_team VARCHAR, college VARCHAR) |
SELECT COUNT(_number_of_prefectural_votes) FROM table_name_54 WHERE _number_of_seats_won > 69 AND leader = "yasuhiro nakasone" | What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone? | CREATE TABLE table_name_54 (_number_of_prefectural_votes VARCHAR, _number_of_seats_won VARCHAR, leader VARCHAR) |
SELECT iata FROM table_name_96 WHERE airport = "chennai international airport" | What is the IATA for the chennai international airport? | CREATE TABLE table_name_96 (iata VARCHAR, airport VARCHAR) |
SELECT MAX(draws) FROM table_name_74 WHERE goals_conceded < 154 AND games_played < 36 | What is the most draws when less than 154 goals were conceded, and less than 36 games played? | CREATE TABLE table_name_74 (draws INTEGER, goals_conceded VARCHAR, games_played VARCHAR) |
SELECT chassis FROM table_name_4 WHERE engine = "volkswagen" AND season = "2010" | What chassis was the car with the Volkswagen engine built on in 2010? | CREATE TABLE table_name_4 (chassis VARCHAR, engine VARCHAR, season VARCHAR) |
SELECT opponent FROM table_22875369_3 WHERE date = "2-27-10" | Name the opponent for 2-27-10 | CREATE TABLE table_22875369_3 (opponent VARCHAR, date VARCHAR) |
SELECT points FROM table_name_30 WHERE games = "348" | How many points were scored by the player who played 348 games? | CREATE TABLE table_name_30 (points VARCHAR, games VARCHAR) |
SELECT MAX(week) FROM table_name_18 WHERE opponent = "washington redskins" | What is the biggest week with an opponent of washington redskins? | CREATE TABLE table_name_18 (week INTEGER, opponent VARCHAR) |
SELECT country FROM table_24990183_5 WHERE name = "Akiko Suzuki" | Which country is akiko suzuki from? | CREATE TABLE table_24990183_5 (country VARCHAR, name VARCHAR) |
SELECT section FROM table_name_74 WHERE level = "tier 3" AND position = "6th" AND season = "1937-38" | Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season? | CREATE TABLE table_name_74 (section VARCHAR, season VARCHAR, level VARCHAR, position VARCHAR) |
SELECT city, COUNT(*) FROM airports GROUP BY city HAVING COUNT(*) > 1 | List the cities which have more than one airport and number of airports. | CREATE TABLE airports (city VARCHAR) |
SELECT performer_1 FROM table_name_93 WHERE performer_3 = "paul merton" AND performer_4 = "sandi toksvig" | Performer 3 of paul merton, and a Performer 4 of sandi toksvig is which performer 1? | CREATE TABLE table_name_93 (performer_1 VARCHAR, performer_3 VARCHAR, performer_4 VARCHAR) |
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400" | What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw? | CREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR) |
SELECT SUM(total) FROM invoices WHERE billing_city = "Chicago" AND billing_state = "IL" | List total amount of invoice from Chicago, IL. | CREATE TABLE invoices (total INTEGER, billing_city VARCHAR, billing_state VARCHAR) |
SELECT COUNT(year) FROM table_name_77 WHERE location = "sopot" AND score = "2–6, 6–2, 6–3" | In what Year was the match at Sopot with a Score of 2–6, 6–2, 6–3? | CREATE TABLE table_name_77 (year VARCHAR, location VARCHAR, score VARCHAR) |
SELECT enrollment__fall_2010_ FROM table_2076522_2 WHERE location_s_ = "Bottineau" | What is the enrollment for the school in bottineau? | CREATE TABLE table_2076522_2 (enrollment__fall_2010_ VARCHAR, location_s_ VARCHAR) |
SELECT source FROM table_name_53 WHERE name = "delph" | What source has delph as the name? | CREATE TABLE table_name_53 (source VARCHAR, name VARCHAR) |
SELECT country FROM table_name_21 WHERE city = "yerevan" | What country is Yerevan located in? | CREATE TABLE table_name_21 (country VARCHAR, city VARCHAR) |
SELECT club FROM table_name_25 WHERE founded = 1962 | Which club was founded in 1962? | CREATE TABLE table_name_25 (club VARCHAR, founded VARCHAR) |
SELECT result FROM table_name_37 WHERE competition = "friendly" | What is the result of the friendly match? | CREATE TABLE table_name_37 (result VARCHAR, competition VARCHAR) |
SELECT COUNT(total) FROM table_name_34 WHERE bronze = 2 AND gold > 3 | how many times is bronze 2 and gold more than 3? | CREATE TABLE table_name_34 (total VARCHAR, bronze VARCHAR, gold VARCHAR) |
SELECT SUM(grid) FROM table_name_22 WHERE driver = "kazuyoshi hoshino" AND laps < 71 | What is the grid total for kazuyoshi hoshino with under 71 laps? | CREATE TABLE table_name_22 (grid INTEGER, driver VARCHAR, laps VARCHAR) |
SELECT player FROM table_22824199_1 WHERE rebounds = 156 | Who are all the players with 156 rebounds? | CREATE TABLE table_22824199_1 (player VARCHAR, rebounds VARCHAR) |
SELECT colonel FROM table_29458735_5 WHERE regiment = "35th regiment" | what is the name of the coloneo of the 35th regiment | CREATE TABLE table_29458735_5 (colonel VARCHAR, regiment VARCHAR) |
SELECT township FROM table_18600760_8 WHERE county = "Kidder" | Name the township for kidder | CREATE TABLE table_18600760_8 (township VARCHAR, county VARCHAR) |
SELECT DISTINCT region_name FROM region ORDER BY Label | Show all distinct region names ordered by their labels. | CREATE TABLE region (region_name VARCHAR, Label VARCHAR) |
SELECT position FROM table_name_82 WHERE pick < 3 AND team = "san diego" | What is the position of the player with a pick less than 3 from team san diego? | CREATE TABLE table_name_82 (position VARCHAR, pick VARCHAR, team VARCHAR) |
SELECT AVG(reported_isn) FROM table_name_4 WHERE on_july_2007_press_release = "no" AND citizenship = "kuwait" | Name the average reported isn for july 2007 for kuwait release of no | CREATE TABLE table_name_4 (reported_isn INTEGER, on_july_2007_press_release VARCHAR, citizenship VARCHAR) |
SELECT exited FROM table_name_18 WHERE celebrity = "lucy benjamin" | When did lucy benjamin exit? | CREATE TABLE table_name_18 (exited VARCHAR, celebrity VARCHAR) |
SELECT displacement FROM table_name_61 WHERE year = 1999 AND torque = "280n·m (207lb·ft) @ 1750" | What displacement is the model in 1999 with a Torque of 280n·m (207lb·ft) @ 1750? | CREATE TABLE table_name_61 (displacement VARCHAR, year VARCHAR, torque VARCHAR) |
SELECT us_hot_100 FROM table_name_29 WHERE year = 2002 AND album = "west coast bad boyz, vol. 3: poppin' collars" | What is the U.S. Hot 100 chart number of the single off of the 2002 album west coast bad boyz, vol. 3: poppin' collars? | CREATE TABLE table_name_29 (us_hot_100 VARCHAR, year VARCHAR, album VARCHAR) |
SELECT denomination FROM table_12284476_8 WHERE year = 2008 AND reverse = "Football" | what's the denomination with year being 2008 and reverse being football | CREATE TABLE table_12284476_8 (denomination VARCHAR, year VARCHAR, reverse VARCHAR) |
SELECT SUM(bronze) FROM table_name_35 WHERE gold = 27 AND silver > 30 | Tell me the sum of bronze for gold being 27 and silver more than 30 | CREATE TABLE table_name_35 (bronze INTEGER, gold VARCHAR, silver VARCHAR) |
SELECT successor FROM table_224794_3 WHERE district = "Kentucky 2nd" | Who was the successor for the Kentucky 2nd district? | CREATE TABLE table_224794_3 (successor VARCHAR, district VARCHAR) |
SELECT semifinals FROM table_17427004_7 WHERE athlete = "Hamza Kramou" | How did Hamza Kramou fare in the semifinals? | CREATE TABLE table_17427004_7 (semifinals VARCHAR, athlete VARCHAR) |
SELECT writer FROM table_name_15 WHERE year < 2008 AND notes = "short film" AND title = "wallace & gromit: a close shave" | Who is the writer of Wallace & Gromit: A Close Shave, a short film from before 2008? | CREATE TABLE table_name_15 (writer VARCHAR, title VARCHAR, year VARCHAR, notes VARCHAR) |
SELECT result FROM table_name_75 WHERE date = "october 12, 2005" | What is the result foe October 12, 2005? | CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR) |
SELECT COUNT(DISTINCT school_code) FROM department | how many schools exist in total? | CREATE TABLE department (school_code VARCHAR) |
SELECT COUNT(player) FROM table_20898602_1 WHERE status = "Made 53-man roster at start of 2009 season" AND position = "Running back" | how many players played running back where status is made 53-man roster at start of 2009 season | CREATE TABLE table_20898602_1 (player VARCHAR, status VARCHAR, position VARCHAR) |
SELECT money_list_rank FROM table_1697190_2 WHERE best_finish = "T-65" | when Casey Martin's best finish was t-65, where did he land in the money list rankings? | CREATE TABLE table_1697190_2 (money_list_rank VARCHAR, best_finish VARCHAR) |
SELECT winner FROM table_name_7 WHERE date = "november 26" | What is the Winner of the Game on November 26? | CREATE TABLE table_name_7 (winner VARCHAR, date VARCHAR) |
SELECT tenure FROM table_name_28 WHERE team_nickname = "tritons" | What is the tenure for the Tritons team? | CREATE TABLE table_name_28 (tenure VARCHAR, team_nickname VARCHAR) |
SELECT start_source FROM table_name_7 WHERE country = "irl" AND ended = "13 april" | What is the start source of the irl country, which ended on 13 April? | CREATE TABLE table_name_7 (start_source VARCHAR, country VARCHAR, ended VARCHAR) |
SELECT season FROM table_23014923_1 WHERE minor__south__winners = "Bristol Sanctuary XI" | What is the season date if the minor (South) winners is Bristol Sanctuary XI? | CREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR) |
SELECT 1921 FROM table_1108394_47 WHERE queens = "88" | Which candidate won 88 votes in Queens in 1921? | CREATE TABLE table_1108394_47 (queens VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.