answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT constructor FROM table_name_91 WHERE time_retired = "+37.311" | Which constructor has a Time/Retired of +37.311? | CREATE TABLE table_name_91 (constructor VARCHAR, time_retired VARCHAR) |
SELECT owner FROM table_name_43 WHERE year > 1985 AND winner = "give a toast" | Who was the owner of Give a Toast after 1985? | CREATE TABLE table_name_43 (owner VARCHAR, year VARCHAR, winner VARCHAR) |
SELECT opponent_in_final FROM table_name_31 WHERE surface = "hard" AND date = "13 january 1992" | What is Opponent in Final, when Surface is "Hard", and when Date is "13 January 1992"? | CREATE TABLE table_name_31 (opponent_in_final VARCHAR, surface VARCHAR, date VARCHAR) |
SELECT name FROM table_name_47 WHERE average = 48.83 | Which Name has an Average of 48.83? | CREATE TABLE table_name_47 (name VARCHAR, average VARCHAR) |
SELECT season FROM table_name_42 WHERE ufl_cup = "quarter-finals" | Which Season has a UFL Cup of quarter-finals? | CREATE TABLE table_name_42 (season VARCHAR, ufl_cup VARCHAR) |
SELECT COUNT(constructor) FROM table_1140113_5 WHERE race_name = "III RedeX Trophy" | How many constructors won the III Redex Trophy? | CREATE TABLE table_1140113_5 (constructor VARCHAR, race_name VARCHAR) |
SELECT country FROM table_name_39 WHERE money___$__ = "45,000" | What country was the golfer from who had a money amount of 45,000? | CREATE TABLE table_name_39 (country VARCHAR, money___$__ VARCHAR) |
SELECT SUM(attendance) FROM table_name_16 WHERE score = "8–7" | What was the attendance when the score was 8–7? | CREATE TABLE table_name_16 (attendance INTEGER, score VARCHAR) |
SELECT T2.country FROM city AS T1 JOIN country AS T2 ON T1.country_id = T2.country_id GROUP BY T2.country_id HAVING COUNT(*) >= 3 | Which countries have at least 3 cities? | CREATE TABLE country (country VARCHAR, country_id VARCHAR); CREATE TABLE city (country_id VARCHAR) |
SELECT call_sign FROM table_name_3 WHERE erp_w > 250 AND frequency_mhz < 99.3 | Which call sign has ERP Wlarger than 250, and Frequency MHZ smaller than 99.3? | CREATE TABLE table_name_3 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) |
SELECT hanyu_pinyin FROM table_name_68 WHERE name = "rural" | Which Hanyu Pinyin is labeled rural? | CREATE TABLE table_name_68 (hanyu_pinyin VARCHAR, name VARCHAR) |
SELECT tries_against FROM table_12828723_4 WHERE points = "60" | what is the tries against where points is 60? | CREATE TABLE table_12828723_4 (tries_against VARCHAR, points VARCHAR) |
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 2003 FROM table_name_10 WHERE 1994 = "1r" AND tournament = "french open" | What is the 2003 value for the french open, which has a 1r in 1994? | CREATE TABLE table_name_10 (tournament VARCHAR) |
SELECT branding FROM table_19874169_3 WHERE callsign = "DXYR" | If the call sign is DXYR, what is the branding? | CREATE TABLE table_19874169_3 (branding VARCHAR, callsign VARCHAR) |
SELECT score FROM table_name_66 WHERE attendance = 275 | Which score was associated with an attendance of 275? | CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR) |
SELECT MIN(drawn) FROM table_name_45 WHERE goal_difference = "0" AND goals_against < 55 | What is the fewest draws for teams with a 0 goal difference and under 55 goals against? | CREATE TABLE table_name_45 (drawn INTEGER, goal_difference VARCHAR, goals_against VARCHAR) |
SELECT format FROM table_name_79 WHERE catalogue = "9362486152" AND region = "australia" | What format is the Catalogue 9362486152 from the region of Australia in? | CREATE TABLE table_name_79 (format VARCHAR, catalogue VARCHAR, region VARCHAR) |
SELECT away_team FROM table_name_3 WHERE home_team = "walsall" | Which Away team has a Home team of walsall? | CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR) |
SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.5 | I need the FCC info on the radio Frequency MHz 107.5? | CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR) |
SELECT AVG(total) FROM table_name_71 WHERE gold = 0 AND nation = "iran" | What is the average Total, when Gold is 0, and when Nation is Iran? | CREATE TABLE table_name_71 (total INTEGER, gold VARCHAR, nation VARCHAR) |
SELECT SUM(wins) FROM table_name_51 WHERE draws > 0 | What is the sum of the number of wins for teams with more than 0 draws? | CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER) |
SELECT MAX(bronze) FROM table_name_58 WHERE silver > 2 AND sport = "cycling" AND gold < 16 | What is the highest bronze value with silvers over 2, golds under 16, and in Cycling? | CREATE TABLE table_name_58 (bronze INTEGER, gold VARCHAR, silver VARCHAR, sport VARCHAR) |
SELECT SUM(total) FROM table_name_44 WHERE rank = "5" AND bronze > 3 | How much Total has a Rank of 5, and a Bronze larger than 3? | CREATE TABLE table_name_44 (total INTEGER, rank VARCHAR, bronze VARCHAR) |
SELECT week_13_nov_26 FROM table_name_18 WHERE week_14_dec_3 = "maryland (10-1)" | What is the week 13 result where the week 14 resulted in Maryland (10-1)? | CREATE TABLE table_name_18 (week_13_nov_26 VARCHAR, week_14_dec_3 VARCHAR) |
SELECT AVG(attendance) FROM table_name_65 WHERE venue = "a" AND date = "5 january 2005" | What is the average Attendance, when Venue is "A", and when Date is "5 January 2005"? | CREATE TABLE table_name_65 (attendance INTEGER, venue VARCHAR, date VARCHAR) |
SELECT money___$__ FROM table_name_24 WHERE score = 76 - 70 - 65 - 68 = 279 | How much money does the player with a score of 76-70-65-68=279 have? | CREATE TABLE table_name_24 (money___$__ VARCHAR, score VARCHAR) |
SELECT SUM(pos) FROM table_name_23 WHERE driver = "brian scott (r)" | Which Pos has a Driver of brian scott (r)? | CREATE TABLE table_name_23 (pos INTEGER, driver VARCHAR) |
SELECT final_score FROM table_24918268_2 WHERE kickoff = "6:00 p.m." | What was the score for the game that kicked off at 6:00 p.m.? | CREATE TABLE table_24918268_2 (final_score VARCHAR, kickoff VARCHAR) |
SELECT teams_that_have_been_eliminated FROM table_23995075_2 WHERE teams_started = "11" | How many teams eliminated when 11 teams started? | CREATE TABLE table_23995075_2 (teams_that_have_been_eliminated VARCHAR, teams_started VARCHAR) |
SELECT high_rebounds FROM table_17058116_7 WHERE high_points = "Charlie Villanueva (32)" | Who scored highest rebounds high points is charlie villanueva (32) | CREATE TABLE table_17058116_7 (high_rebounds VARCHAR, high_points VARCHAR) |
SELECT team FROM table_name_79 WHERE game = 39 | What team played in game 39? | CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR) |
SELECT Name FROM ship ORDER BY Tonnage | List the name of ships in ascending order of tonnage. | CREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR) |
SELECT date FROM table_name_50 WHERE venue = "mcg" | On what date was a match held at MCG? | CREATE TABLE table_name_50 (date VARCHAR, venue VARCHAR) |
SELECT position FROM table_1213511_2 WHERE college_junior_club_team = "Peterborough Petes (OHA)" | What position does the player from Peterborough Petes (OHA) play on? | CREATE TABLE table_1213511_2 (position VARCHAR, college_junior_club_team VARCHAR) |
SELECT date FROM table_name_34 WHERE site = "shriver field" | What is the Date if the Site is Shriver Field? | CREATE TABLE table_name_34 (date VARCHAR, site VARCHAR) |
SELECT took_office FROM table_name_90 WHERE left_office = "2003" | The deputy that left office in 2003 took office in which year? | CREATE TABLE table_name_90 (took_office VARCHAR, left_office VARCHAR) |
SELECT north_american_release_date FROM table_name_17 WHERE japanese_release_date = "2011-06-23" | What is North American Release Date, when Japanese Release Date is "2011-06-23"? | CREATE TABLE table_name_17 (north_american_release_date VARCHAR, japanese_release_date VARCHAR) |
SELECT frequency FROM table_14670060_1 WHERE coverage = "Chihuahua Sinaloa Durango" | What frequency does Chihuahua Sinaloa Durango cover? | CREATE TABLE table_14670060_1 (frequency VARCHAR, coverage VARCHAR) |
SELECT classification FROM table_name_4 WHERE current_conference = "nec" AND location = "new britain, connecticut" | What is the classification for the school in the NEC Conference located in New Britain, Connecticut? | CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR) |
SELECT score FROM table_name_66 WHERE date = "15 aug" AND time = "17:30" | What is the score on 15 Aug with a 17:30 time? | CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR, time VARCHAR) |
SELECT region FROM table_name_61 WHERE catalog = "576 096-2" | Tell me the region for catalog of 576 096-2 | CREATE TABLE table_name_61 (region VARCHAR, catalog VARCHAR) |
SELECT COUNT(home_team) AS score FROM table_16388439_2 WHERE ground = "Manuka Oval" | When ground is manuka oval what is the home team score? | CREATE TABLE table_16388439_2 (home_team VARCHAR, ground VARCHAR) |
SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131 | 1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]? | CREATE TABLE table_name_80 (Id VARCHAR) |
SELECT opponent FROM table_name_67 WHERE type = "tko" AND round = "2 (6)" AND date = "2006-09-20" | Which Opponent has a Type of tko, and a Round of 2 (6) on 2006-09-20? | CREATE TABLE table_name_67 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR) |
SELECT grid FROM table_name_45 WHERE team = "dale coyne racing" AND driver = "bruno junqueira" | What was the grid for Bruno Junqueira for Dale Coyne Racing? | CREATE TABLE table_name_45 (grid VARCHAR, team VARCHAR, driver VARCHAR) |
SELECT circuit FROM table_14016079_1 WHERE race_title = "City of Ipswich 400" | On what circuit was the City of Ipswich 400 race held? | CREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR) |
SELECT date FROM table_name_51 WHERE score = "4-2" | What is the date of the game with a score of 4-2? | CREATE TABLE table_name_51 (date VARCHAR, score VARCHAR) |
SELECT term_of_office FROM table_name_64 WHERE member = "dominic costa" | What is Term of Office, when Member is "Dominic Costa"? | CREATE TABLE table_name_64 (term_of_office VARCHAR, member VARCHAR) |
SELECT home_team AS score FROM table_16388478_4 WHERE home_team = "Fremantle" | What is the home team score where the home team is Fremantle? | CREATE TABLE table_16388478_4 (home_team VARCHAR) |
SELECT leader FROM table_name_26 WHERE _percentage_of_seats = "spoilt votes" | Which Leader has Spoilt Votes as % of Seats? | CREATE TABLE table_name_26 (leader VARCHAR, _percentage_of_seats VARCHAR) |
SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 4 | What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4? | CREATE TABLE table_name_98 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) |
SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16" | What time was the game played against Cagliari that lasted 16 rounds? | CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR) |
SELECT round FROM table_name_92 WHERE race = "int. adac-preis der tourenwagen von sachsen-anhalt" | What is the round for the Int. Adac-Preis Der Tourenwagen Von Sachsen-Anhalt? | CREATE TABLE table_name_92 (round VARCHAR, race VARCHAR) |
SELECT field FROM table_name_43 WHERE result = "w 12-11" | Say the field with a result of w 12-11 | CREATE TABLE table_name_43 (field VARCHAR, result VARCHAR) |
SELECT COUNT(college) FROM table_15017024_2 WHERE pick = 57 | How many colleges did the player picked 57 attend? | CREATE TABLE table_15017024_2 (college VARCHAR, pick VARCHAR) |
SELECT entrant FROM table_name_11 WHERE year > 1963 AND chassis = "eagle mk1" | What ist he entrant later than 1963 with an eagle MK1 chassis? | CREATE TABLE table_name_11 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) |
SELECT MIN(draws) FROM table_name_98 WHERE position < 5 AND points = 62 AND played > 38 | what is the least draws when the position is lower than 5, the points is 62 and played is more than 38? | CREATE TABLE table_name_98 (draws INTEGER, played VARCHAR, position VARCHAR, points VARCHAR) |
SELECT home_team AS score FROM table_name_68 WHERE venue = "moorabbin oval" | What was the score for the home team that played at Moorabbin Oval? | CREATE TABLE table_name_68 (home_team VARCHAR, venue VARCHAR) |
SELECT COUNT(pole_position) FROM table_1137707_2 WHERE round = 15 | What is the number of pole position with a round of 15? | CREATE TABLE table_1137707_2 (pole_position VARCHAR, round VARCHAR) |
SELECT SUM(points) FROM table_name_95 WHERE year < 1984 | Name the sum of points for 1984 | CREATE TABLE table_name_95 (points INTEGER, year INTEGER) |
SELECT open_2nd_viii FROM table_name_5 WHERE u15_6th_quad = "bgs" AND u16_1st_viii = "tss" | Which Open 2nd VIII had a U15 6th Quad of BGS and a U16 1st VII of TSS? | CREATE TABLE table_name_5 (open_2nd_viii VARCHAR, u15_6th_quad VARCHAR, u16_1st_viii VARCHAR) |
SELECT COUNT(total) FROM table_name_82 WHERE nation = "costa rica" AND rank > 8 | Tell me the total number for costa rica and rank more than 8 | CREATE TABLE table_name_82 (total VARCHAR, nation VARCHAR, rank VARCHAR) |
SELECT result FROM table_name_63 WHERE date = "10/11/1930" | What is the Result of the game on 10/11/1930? | CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR) |
SELECT MIN(total_goals) FROM table_10240125_1 | What is the smallest number of Total Goals? | CREATE TABLE table_10240125_1 (total_goals INTEGER) |
SELECT original_nfl_team FROM table_name_31 WHERE pos = "s" AND college = "georgia tech" | What's the original NFL team when the POS is S and college is Georgia Tech? | CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR) |
SELECT score FROM table_name_12 WHERE home = "scotland" AND date = "24 february" | What's the Score with a Home of Scotland and Date of 24 February? | CREATE TABLE table_name_12 (score VARCHAR, home VARCHAR, date VARCHAR) |
SELECT MIN(starts) FROM table_1875157_2 WHERE winnings = "$690,321" | How many starts were there when the winnings are $690,321? | CREATE TABLE table_1875157_2 (starts INTEGER, winnings VARCHAR) |
SELECT AVG(year) FROM table_name_46 WHERE team = "team oreca" | What is the average year for Team Oreca? | CREATE TABLE table_name_46 (year INTEGER, team VARCHAR) |
SELECT cat__number FROM table_name_85 WHERE release_date = "november 2007" | What is the category number that was released in November 2007? | CREATE TABLE table_name_85 (cat__number VARCHAR, release_date VARCHAR) |
SELECT attendance FROM table_name_14 WHERE date = "7 january 2003" | What attendance was on 7 January 2003? | CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR) |
SELECT series FROM table_25572068_1 WHERE winning_team = "TDS Racing" AND date = "9 October" | In what series was TDS Racing the winning team on 9 October? | CREATE TABLE table_25572068_1 (series VARCHAR, winning_team VARCHAR, date VARCHAR) |
SELECT MIN(total_seasons) FROM table_name_58 WHERE team = "vancouver 86ers" | What is the least total seasons of the Vancouver 86ers? | CREATE TABLE table_name_58 (total_seasons INTEGER, team VARCHAR) |
SELECT 2 AS nd FROM table_10021158_3 WHERE best_finish = "T69" | When the best finish was T69, how many people came in 2nd? | CREATE TABLE table_10021158_3 (best_finish VARCHAR) |
SELECT historical_photos FROM table_name_46 WHERE location = "prospect 43 prospect ave" | Which Historical Photos were taken at prospect 43 prospect ave? | CREATE TABLE table_name_46 (historical_photos VARCHAR, location VARCHAR) |
SELECT party FROM table_1341884_45 WHERE incumbent = "Ray Roberts" | what is the political affiliation of ray roberts | CREATE TABLE table_1341884_45 (party VARCHAR, incumbent VARCHAR) |
SELECT MAX(counties_carries) FROM table_16186152_1 | What is the highest number of Counties carries? | CREATE TABLE table_16186152_1 (counties_carries INTEGER) |
SELECT opponents FROM table_name_59 WHERE partner = "alicja rosolska" | Who were the Opponents when Liga Dekmeijere had Alicja Rosolska as a Partner? | CREATE TABLE table_name_59 (opponents VARCHAR, partner VARCHAR) |
SELECT SUM(population), AVG(surfacearea) FROM country WHERE continent = "north america" AND surfacearea > 3000 | What is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ? | CREATE TABLE country (population INTEGER, surfacearea INTEGER, continent VARCHAR) |
SELECT condition FROM table_14006_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Prolonged" | what's the condition with bleeding time being unaffected and prothrombin time being prolonged | CREATE TABLE table_14006_1 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) |
SELECT school FROM table_name_15 WHERE year_joined = "1971" AND year_left = "1975" | Which school joined in 1971 and left in 1975? | CREATE TABLE table_name_15 (school VARCHAR, year_joined VARCHAR, year_left VARCHAR) |
SELECT tries_for FROM table_name_31 WHERE tries_against = "correct as of 2007-10-15" | tries against correct as of 2007-10-15 has what tries for? | CREATE TABLE table_name_31 (tries_for VARCHAR, tries_against VARCHAR) |
SELECT COUNT(tomina_municipality) FROM table_2509350_3 WHERE villa_alcalá_municipality = 176 | Name the number of tomina for villa alcala for 176 | CREATE TABLE table_2509350_3 (tomina_municipality VARCHAR, villa_alcalá_municipality VARCHAR) |
SELECT SUM(total) FROM table_name_2 WHERE nation = "bulgaria" AND bronze > 13 | What's the total amount of Bulgaria that has more than 13 bronze? | CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR) |
SELECT shuji_kondo FROM table_name_2 WHERE pepe_michinoku = "sabin (14:43)" | What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)? | CREATE TABLE table_name_2 (shuji_kondo VARCHAR, pepe_michinoku VARCHAR) |
SELECT points FROM table_14342367_7 WHERE player = "Albert Herrnstein" | How many points did Albert Herrnstein make? | CREATE TABLE table_14342367_7 (points VARCHAR, player VARCHAR) |
SELECT COUNT(dfb_pokal) FROM table_22167196_1 WHERE player = "Kevin-Prince Boateng" | How many dfb-pokal did kevin-prince boateng have? | CREATE TABLE table_22167196_1 (dfb_pokal VARCHAR, player VARCHAR) |
SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5252 T" | What is the model of the enginge d5252 t? | CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR) |
SELECT visitor FROM table_name_97 WHERE leading_scorer = "andrew bogut (21)" | Who is the visitor team of the game with Andrew Bogut (21) as the leading scorer? | CREATE TABLE table_name_97 (visitor VARCHAR, leading_scorer VARCHAR) |
SELECT percent_for FROM table_120778_1 WHERE against_prohibition = 2978 | What is the percent for when against prohibition is 2978? | CREATE TABLE table_120778_1 (percent_for VARCHAR, against_prohibition VARCHAR) |
SELECT COUNT(rank_held_at_time_of_death) FROM table_16527640_2 WHERE player = "Paddy Rowan" | How many players named paddy rowan? | CREATE TABLE table_16527640_2 (rank_held_at_time_of_death VARCHAR, player VARCHAR) |
SELECT english_spelling FROM table_1242447_1 WHERE strongs_transliteration = "Y e howram" | What is the english spelling of the word that has the strongs trasliteration of y e howram? | CREATE TABLE table_1242447_1 (english_spelling VARCHAR, strongs_transliteration VARCHAR) |
SELECT d_46_√ FROM table_name_94 WHERE d_41_√ = "d 38 √" | What is the D 46 √ with a D 41 √ with d 38 √? | CREATE TABLE table_name_94 (d_46_√ VARCHAR, d_41_√ VARCHAR) |
SELECT turns FROM table_name_35 WHERE city = "san antonio" | What is the number of turns for the City of san antonio? | CREATE TABLE table_name_35 (turns VARCHAR, city VARCHAR) |
SELECT judges FROM table_19744915_16 WHERE couple = "Roxanne and Daniel" | What is the judge's total for Roxanne and Daniel? | CREATE TABLE table_19744915_16 (judges VARCHAR, couple VARCHAR) |
SELECT away_team AS score FROM table_name_64 WHERE venue = "victoria park" | What did the Away team score in their game at Victoria Park? | CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR) |
SELECT high_rebounds FROM table_27744976_10 WHERE date = "March 12" | Who had highest rebounds during game on March 12? | CREATE TABLE table_27744976_10 (high_rebounds VARCHAR, date VARCHAR) |
SELECT MAX(standard_order) FROM table_1805919_1 WHERE english_translation = "A Lament for Ying" | What is the place of "A Lament for Ying"? | CREATE TABLE table_1805919_1 (standard_order INTEGER, english_translation VARCHAR) |
SELECT eliminated FROM table_name_74 WHERE entered > 3 AND time = "35:55" | Who was eliminated that entered after number 3 and lasted 35:55? | CREATE TABLE table_name_74 (eliminated VARCHAR, entered VARCHAR, time VARCHAR) |
SELECT SUM(round) FROM table_name_41 WHERE position = "defenceman" | What is the sum of the round with the defenceman? | CREATE TABLE table_name_41 (round INTEGER, position VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.