answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT equipment FROM table_name_79 WHERE points < 6 AND position = 53 | What is Equipment, when Points is less than 6, and when Position is 53? | CREATE TABLE table_name_79 (equipment VARCHAR, points VARCHAR, position VARCHAR) |
SELECT host_s_ FROM table_name_78 WHERE market = "new york" | What is the Host of the Show with a Market of New York? | CREATE TABLE table_name_78 (host_s_ VARCHAR, market VARCHAR) |
SELECT SUM(november) FROM table_name_40 WHERE game > 23 | What is the sum of November, when Game is greater than 23? | CREATE TABLE table_name_40 (november INTEGER, game INTEGER) |
SELECT crowd FROM table_1139835_1 WHERE grand_finalist = "South Melbourne" | what is the crowd when the grand finalist was south melbourne? | CREATE TABLE table_1139835_1 (crowd VARCHAR, grand_finalist VARCHAR) |
SELECT MIN(season) FROM table_2223177_3 | Name the least season | CREATE TABLE table_2223177_3 (season INTEGER) |
SELECT part_1 FROM table_name_78 WHERE class = "7d" | what is part 1 when the class is 7d? | CREATE TABLE table_name_78 (part_1 VARCHAR, class VARCHAR) |
SELECT ground FROM table_name_36 WHERE result = "0-4" | Where was the game played that has a result of 0-4? | CREATE TABLE table_name_36 (ground VARCHAR, result VARCHAR) |
SELECT joined FROM table_name_15 WHERE conference_championships = 5 AND nickname = "wolfpack" | What is the year joined with a Conference championships of 5, and a Nickname of wolfpack? | CREATE TABLE table_name_15 (joined VARCHAR, conference_championships VARCHAR, nickname VARCHAR) |
SELECT SUM(ends_lost) FROM table_name_62 WHERE province = "alberta" AND stolen_ends > 7 | How many ends lost for Alberta when stolen ends are greater than 7? | CREATE TABLE table_name_62 (ends_lost INTEGER, province VARCHAR, stolen_ends VARCHAR) |
SELECT away_team FROM table_name_37 WHERE home_team = "geelong" | What is the name of the away team that played Geelong? | CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR) |
SELECT stadium FROM table_21436373_4 WHERE type_of_record = "Regular season game" | What was the stadium that had the regular season game? | CREATE TABLE table_21436373_4 (stadium VARCHAR, type_of_record VARCHAR) |
SELECT name FROM PersonFriend GROUP BY name HAVING COUNT(*) = 1 | Find the person who has exactly one friend. | CREATE TABLE PersonFriend (name VARCHAR) |
SELECT MIN(interview) FROM table_name_3 WHERE evening_gown < 8.938 AND state = "texas" AND average < 8.846 | What is the lowest evening score of the contestant with an evening gown less than 8.938, from Texas, and with an average less than 8.846 has? | CREATE TABLE table_name_3 (interview INTEGER, average VARCHAR, evening_gown VARCHAR, state VARCHAR) |
SELECT couple FROM table_name_27 WHERE style = "contemporary" | Which couple participated in the Contemporary style of dance? | CREATE TABLE table_name_27 (couple VARCHAR, style VARCHAR) |
SELECT record FROM table_name_9 WHERE date = "december 4, 1983" | What is the record of the buccaneers on December 4, 1983? | CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR) |
SELECT required_os FROM table_name_91 WHERE type = "2d" | What operating system was needed for 2D games? | CREATE TABLE table_name_91 (required_os VARCHAR, type VARCHAR) |
SELECT original_air_date FROM table_23399481_3 WHERE season__number = 4 | What is the original air date for episode 4? | CREATE TABLE table_23399481_3 (original_air_date VARCHAR, season__number VARCHAR) |
SELECT works_number FROM table_name_7 WHERE type = "rs-11" AND number = "61" | What is Works Number, when Type is RS-11, and when Number is 61? | CREATE TABLE table_name_7 (works_number VARCHAR, type VARCHAR, number VARCHAR) |
SELECT COUNT(grid) FROM table_name_69 WHERE laps < 9 AND time_retired = "engine" | When the laps driven were under 9 and the time/retired recorded was engine, what's the total number of grid values? | CREATE TABLE table_name_69 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR) |
SELECT margin_of_victory FROM table_name_39 WHERE tournament = "semgroup championship" | What is the margin of victory in a semgroup championship? | CREATE TABLE table_name_39 (margin_of_victory VARCHAR, tournament VARCHAR) |
SELECT regular_season_vacated FROM table_name_14 WHERE record_as_played = "12–19" | What is the regular season vacated for the Record as played of 12–19? | CREATE TABLE table_name_14 (regular_season_vacated VARCHAR, record_as_played VARCHAR) |
SELECT rank FROM table_name_3 WHERE name = "skanskaskrapan" | What is the rank of Skanskaskrapan? | CREATE TABLE table_name_3 (rank VARCHAR, name VARCHAR) |
SELECT 54 AS _holes FROM table_name_33 WHERE runner_s__up = "phil mickelson" | What is the round of 54 holes in which Phil Mickelson was the runner-up? | CREATE TABLE table_name_33 (runner_s__up VARCHAR) |
SELECT points FROM table_name_88 WHERE drawn = "2" AND points_for = "577" | What is the number of points for the team with 2 matches drawn and 577 points for? | CREATE TABLE table_name_88 (points VARCHAR, drawn VARCHAR, points_for VARCHAR) |
SELECT date FROM table_13079788_3 WHERE gt3_winner = "Oliver Bryant Matt Harris" | what are all the date for gt3 winner oliver bryant matt harris | CREATE TABLE table_13079788_3 (date VARCHAR, gt3_winner VARCHAR) |
SELECT crowd FROM table_name_54 WHERE venue = "junction oval" | What is the listed crowd at junction oval? | CREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR) |
SELECT score FROM table_27734286_1 WHERE date = "October 7" | What`s the score in October 7. | CREATE TABLE table_27734286_1 (score VARCHAR, date VARCHAR) |
SELECT car_model FROM table_name_19 WHERE engine = "ford 6.0 v8" | What Car Model has the Engine of Ford 6.0 V8? | CREATE TABLE table_name_19 (car_model VARCHAR, engine VARCHAR) |
SELECT tournament FROM table_name_83 WHERE opponent = "patricia mayr-achleitner" | What is the Tournament, when the Opponent is Patricia Mayr-Achleitner? | CREATE TABLE table_name_83 (tournament VARCHAR, opponent VARCHAR) |
SELECT MIN(series__number) FROM table_12564633_1 WHERE season__number = 18 | What is the series number for Season #18? | CREATE TABLE table_12564633_1 (series__number INTEGER, season__number VARCHAR) |
SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201" | What is the date of the label Alfa records, a CD format, and an alca-9201 catalog? | CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR) |
SELECT date FROM table_name_43 WHERE week > 6 AND result = "w 65-20" | When was there a result of w 65-20 after week 6? | CREATE TABLE table_name_43 (date VARCHAR, week VARCHAR, result VARCHAR) |
SELECT COUNT(season) FROM table_name_13 WHERE actual_adjusted_record = "0–19" | How many seasons have an Actual adjusted record of 0–19? | CREATE TABLE table_name_13 (season VARCHAR, actual_adjusted_record VARCHAR) |
SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354 | What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354? | CREATE TABLE table_name_64 (Id VARCHAR) |
SELECT drawn FROM table_name_63 WHERE lost = "14" AND bonus_points = "12" | What is Drawn, when Lost is 14, and when Bonus Points is 12? | CREATE TABLE table_name_63 (drawn VARCHAR, lost VARCHAR, bonus_points VARCHAR) |
SELECT COUNT(round) FROM table_name_87 WHERE pick = 20 | What is the total number of rounds of the player with a pick of 20? | CREATE TABLE table_name_87 (round VARCHAR, pick VARCHAR) |
SELECT opponent FROM table_name_91 WHERE date = "august 14" | Who was the opponent on August 14? | CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR) |
SELECT driver FROM table_name_99 WHERE constructor = "brm" AND time_retired = "engine" | Which driver had brm as a constructor and a time/retired of engine? | CREATE TABLE table_name_99 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR) |
SELECT venue FROM table_name_18 WHERE silver = "united states" AND year = 2010 | Where was 2010 tournament where the United States received the silver? | CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR) |
SELECT finishes FROM table_name_12 WHERE starts = 13 AND points > 169 AND stage_wins = 96 | What is the number of finishes associated with 13 starts, more than 169 points, and 96 stage wins? | CREATE TABLE table_name_12 (finishes VARCHAR, stage_wins VARCHAR, starts VARCHAR, points VARCHAR) |
SELECT time FROM table_name_81 WHERE bike = "yamaha yzf-r6" AND grid > 1 AND rider = "david salom" | What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1? | CREATE TABLE table_name_81 (time VARCHAR, rider VARCHAR, bike VARCHAR, grid VARCHAR) |
SELECT division_iV FROM table_name_35 WHERE division_iII = portsmouth | With a Division II of Portsmouth, what is the Division IV? | CREATE TABLE table_name_35 (division_iV VARCHAR, division_iII VARCHAR, portsmouth VARCHAR) |
SELECT AVG(total) FROM table_name_52 WHERE mccain_percentage = "55.0%" AND obama_number > 3 OFFSET 487 | What is the total average for McCain% of 55.0% and Obama# higher than 3,487? | CREATE TABLE table_name_52 (total INTEGER, mccain_percentage VARCHAR, obama_number VARCHAR) |
SELECT COUNT(party) FROM table_1341930_5 WHERE district = "Arkansas 1" | What is the number of party in the arkansas 1 district | CREATE TABLE table_1341930_5 (party VARCHAR, district VARCHAR) |
SELECT scoring_average FROM table_name_92 WHERE year < 1998 AND wins > 3 | Tell me the scoring average for year less than 1998 and wins more than 3 | CREATE TABLE table_name_92 (scoring_average VARCHAR, year VARCHAR, wins VARCHAR) |
SELECT position FROM table_1965650_2 WHERE player = "Glenn Goldup" | Name the position of glenn goldup | CREATE TABLE table_1965650_2 (position VARCHAR, player VARCHAR) |
SELECT MIN(1964) FROM table_name_85 WHERE country = "united states" AND 1969 < 7.3 | Which 1964 has a Country of united states, and a 1969 smaller than 7.3? | CREATE TABLE table_name_85 (country VARCHAR) |
SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3 | Name the song for points less than 16 and draw less than 3 | CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR) |
SELECT class FROM table_name_70 WHERE type = "4-6-0" AND quantity < 3 | Which class has less than 3 in quantity with a type of 4-6-0? | CREATE TABLE table_name_70 (class VARCHAR, type VARCHAR, quantity VARCHAR) |
SELECT opponent FROM table_name_21 WHERE game = 7 | Who is the opponent in game 7? | CREATE TABLE table_name_21 (opponent VARCHAR, game VARCHAR) |
SELECT copa_mercosur_1998 FROM table_14962316_9 WHERE team = "Cruzeiro" | What were Cruzeiro results in the Copa Mercosur in 1998 | CREATE TABLE table_14962316_9 (copa_mercosur_1998 VARCHAR, team VARCHAR) |
SELECT established FROM table_name_32 WHERE championships > 0 AND league = "west coast league" | What year was the West Coast League established than the championships are greater than 0? | CREATE TABLE table_name_32 (established VARCHAR, championships VARCHAR, league VARCHAR) |
SELECT chassis FROM table_name_32 WHERE year > 1990 AND entrant = "fondmetal f1 spa" | Which chassis did fondmetal f1 spa use after 1990? | CREATE TABLE table_name_32 (chassis VARCHAR, year VARCHAR, entrant VARCHAR) |
SELECT MAX(drawn) FROM table_name_96 WHERE played < 10 | Which of the highest drawn has a played less than 10? | CREATE TABLE table_name_96 (drawn INTEGER, played INTEGER) |
SELECT AVG(week) FROM table_name_93 WHERE result = "l 56-3" | Which week has a result L 56-3? | CREATE TABLE table_name_93 (week INTEGER, result VARCHAR) |
SELECT MAX(touchdowns) FROM table_14342592_7 WHERE player = "Heston" | How many touchdowns were there when Heston was in play? | CREATE TABLE table_14342592_7 (touchdowns INTEGER, player VARCHAR) |
SELECT date FROM table_name_9 WHERE catalog = "540,934-2" | What is the date on Catalog 540,934-2? | CREATE TABLE table_name_9 (date VARCHAR, catalog VARCHAR) |
SELECT catalog_number FROM table_name_30 WHERE a_side = "venus demilo" | What is the catalog number of Venus Demilo's A-side? | CREATE TABLE table_name_30 (catalog_number VARCHAR, a_side VARCHAR) |
SELECT perpetrator FROM table_name_64 WHERE location = "bait al-aqari" | Who is the perpetrator in Bait Al-Aqari? | CREATE TABLE table_name_64 (perpetrator VARCHAR, location VARCHAR) |
SELECT COUNT(area__km²_) FROM table_name_85 WHERE capital = "matanzas" AND population__2005_ < 670427 | How many regions have a capital of matanzas and a 2005 population under 670427? | CREATE TABLE table_name_85 (area__km²_ VARCHAR, capital VARCHAR, population__2005_ VARCHAR) |
SELECT location FROM table_13456202_1 WHERE mascot = "Eagles" | What are the locations with an eagles macot? | CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR) |
SELECT position FROM table_name_15 WHERE player = "mikhail kravets" | What position does Mikhail Kravets play? | CREATE TABLE table_name_15 (position VARCHAR, player VARCHAR) |
SELECT co_driver FROM table_name_1 WHERE year < 2012 AND laps < 161 AND position = "dnf" AND number = 33 | Can you tell me the Co-driver that has the Year smaller than 2012, and the Laps smaller than 161, and the Position of dnf, and the Number 33? | CREATE TABLE table_name_1 (co_driver VARCHAR, number VARCHAR, position VARCHAR, year VARCHAR, laps VARCHAR) |
SELECT result_games FROM table_21436373_11 WHERE attendance = 54530 | Name the result/games for 54530 | CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR) |
SELECT losses FROM table_name_13 WHERE team = "japan" | What losses consist of the team of japan? | CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR) |
SELECT SUM(league_goals) FROM table_name_45 WHERE player = "john o'flynn" | How many total League goals does Player John O'Flynn have? | CREATE TABLE table_name_45 (league_goals INTEGER, player VARCHAR) |
SELECT score FROM table_17382360_7 WHERE team = "Boston Celtics" | what is the score in february 12 of the boston celtics team | CREATE TABLE table_17382360_7 (score VARCHAR, team VARCHAR) |
SELECT actors_name FROM table_10236830_1 WHERE nomination = "Best Debut" | What was the actor's name for best debut? | CREATE TABLE table_10236830_1 (actors_name VARCHAR, nomination VARCHAR) |
SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-2003" | What name has the role of midfielder for 1999-2003? | CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR) |
SELECT COUNT(week) FROM table_name_85 WHERE result = "l 20-10" | How many weeks ended in a result of L 20-10? | CREATE TABLE table_name_85 (week VARCHAR, result VARCHAR) |
SELECT time FROM table_name_83 WHERE laps = 19 AND grid > 19 AND manufacturer = "ktm" AND rider = "randy krummenacher" | Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher? | CREATE TABLE table_name_83 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT date FROM table_name_33 WHERE venue = "western oval" | What day is the venue the western oval? | CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR) |
SELECT province FROM table_name_56 WHERE icao = "vmmc" | which Province has a ICAO of vmmc? | CREATE TABLE table_name_56 (province VARCHAR, icao VARCHAR) |
SELECT favorite_professional_sport FROM table_name_91 WHERE 2005 = "17.1%" | What is listed the Favorite Professional Sport that's got a 2005 of 17.1%? | CREATE TABLE table_name_91 (favorite_professional_sport VARCHAR) |
SELECT length FROM table_16279520_1 WHERE release = "3.5" | What was the length time of the 3.5 release? | CREATE TABLE table_16279520_1 (length VARCHAR, release VARCHAR) |
SELECT attempts FROM table_name_17 WHERE completions = "223" | What number of attempts were recorded when the completions were 223? | CREATE TABLE table_name_17 (attempts VARCHAR, completions VARCHAR) |
SELECT race_name FROM table_1140116_5 WHERE circuit = "Modena" | What is the name of the race in the Modena circuit? | CREATE TABLE table_1140116_5 (race_name VARCHAR, circuit VARCHAR) |
SELECT COUNT(top_10) FROM table_1507423_5 WHERE position = "78th" | How many entries arr there for the top 10 for the 78th position? | CREATE TABLE table_1507423_5 (top_10 VARCHAR, position VARCHAR) |
SELECT unit_of_measure FROM ref_product_categories WHERE product_category_code = "Herbs" | What is the unit of measuerment of the product category code "Herbs"? | CREATE TABLE ref_product_categories (unit_of_measure VARCHAR, product_category_code VARCHAR) |
SELECT senior_status FROM table_name_22 WHERE reason_for_termination = "death" AND chief_judge = "—" | What was the senior status for the judge who was terminated because of death, with a Chief Judge entry of —? | CREATE TABLE table_name_22 (senior_status VARCHAR, reason_for_termination VARCHAR, chief_judge VARCHAR) |
SELECT MIN(interview) FROM table_name_4 WHERE evening_gown > 9.343 | What is the lowest interview of the contestant with an evening gown bigger than 9.343? | CREATE TABLE table_name_4 (interview INTEGER, evening_gown INTEGER) |
SELECT MIN(draws) FROM table_name_42 WHERE against = 1547 AND wins > 3 | What is the lowest Draws, when Against is "1547", and when Wins is greater than 3? | CREATE TABLE table_name_42 (draws INTEGER, against VARCHAR, wins VARCHAR) |
SELECT SUM(avg_g) FROM table_name_69 WHERE name = "opponents" AND effic < 129.73 | Which Avg/G that has a Name of opponents, and an Effic smaller than 129.73? | CREATE TABLE table_name_69 (avg_g INTEGER, name VARCHAR, effic VARCHAR) |
SELECT MIN(matches) FROM table_name_74 WHERE against < 7 AND wins > 1 | What is the lowest Matches, when Against is less than 7, and when Wins is greater than 1? | CREATE TABLE table_name_74 (matches INTEGER, against VARCHAR, wins VARCHAR) |
SELECT finish FROM table_name_64 WHERE record = "39-31" | Name the finish for a 39-31 record | CREATE TABLE table_name_64 (finish VARCHAR, record VARCHAR) |
SELECT year FROM table_name_25 WHERE uk_albums = "15" | 15 albums were released in the UK during which year? | CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR) |
SELECT gold FROM table_name_61 WHERE bronze = "kim sun-bin" | What's the Gold that also has Bronze of Kim Sun-Bin? | CREATE TABLE table_name_61 (gold VARCHAR, bronze VARCHAR) |
SELECT SUM(against) FROM table_name_20 WHERE status = "six nations" AND date = "30/03/2003" | What is the sum of Against, when Status is "Six Nations", and when Date is "30/03/2003"? | CREATE TABLE table_name_20 (against INTEGER, status VARCHAR, date VARCHAR) |
SELECT city FROM table_name_69 WHERE iata = "bva" | Where has an IATA of BVA? | CREATE TABLE table_name_69 (city VARCHAR, iata VARCHAR) |
SELECT downstream FROM table_name_88 WHERE upstream = "384 kbit" | What is Downstream, when Upstream is "384 kbit"? | CREATE TABLE table_name_88 (downstream VARCHAR, upstream VARCHAR) |
SELECT visitor FROM table_name_43 WHERE decision = "biron" AND date = "october 4" | Who was the visiting team where the decision was Biron on October 4? | CREATE TABLE table_name_43 (visitor VARCHAR, decision VARCHAR, date VARCHAR) |
SELECT to_par FROM table_name_56 WHERE finish = "t16" AND player = "julius boros" | What is the To Par when the finish was t16 and the player was Julius Boros? | CREATE TABLE table_name_56 (to_par VARCHAR, finish VARCHAR, player VARCHAR) |
SELECT MAX(pick__number) FROM table_name_2 WHERE name = "adam podlesh" AND overall < 101 | Which highest pick number's name was Adam Podlesh, when the overall was less than 101? | CREATE TABLE table_name_2 (pick__number INTEGER, name VARCHAR, overall VARCHAR) |
SELECT SUM(roll) FROM table_name_53 WHERE area = "karaka" | What was the sum roll of Karaka area? | CREATE TABLE table_name_53 (roll INTEGER, area VARCHAR) |
SELECT constituency_number FROM table_name_8 WHERE name = "meerut" | What is the Constituency number for Meerut? | CREATE TABLE table_name_8 (constituency_number VARCHAR, name VARCHAR) |
SELECT series FROM table_name_63 WHERE wins = 0 AND season = "2002" | Can you tell me the Series that has the Wins of 0, and the Season of a 2002? | CREATE TABLE table_name_63 (series VARCHAR, wins VARCHAR, season VARCHAR) |
SELECT opponent FROM table_name_52 WHERE date = "november 24, 1991" | Which Opponent has a Date of november 24, 1991? | CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) |
SELECT home_team AS score FROM table_16388439_3 WHERE home_team = "Brisbane Lions" | Name the home team score for brisbane lions | CREATE TABLE table_16388439_3 (home_team VARCHAR) |
SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = "12%" | Name the csa 4/16/09 for opinionway being 4/17/09 of 12% | CREATE TABLE table_name_17 (csa_4_16_09 VARCHAR, opinionway_4_17_09 VARCHAR) |
SELECT couple FROM table_28677723_16 WHERE total = 38 | What is the couple that received a total score of 38? | CREATE TABLE table_28677723_16 (couple VARCHAR, total VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.