answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT f_laps FROM table_name_94 WHERE points = "n/a" AND poles = "1" AND wins = "0" | What F/Laps listing has entries of n/a Points, 1 Poles, and 0 Wins? | CREATE TABLE table_name_94 (f_laps VARCHAR, wins VARCHAR, points VARCHAR, poles VARCHAR) |
SELECT driver FROM table_name_79 WHERE grid = 9 | What driver has a 9 grid total? | CREATE TABLE table_name_79 (driver VARCHAR, grid VARCHAR) |
SELECT MAX(fiscal_year) FROM table_name_95 WHERE revenues = "$4.3 billion" AND employees > 85 OFFSET 335 | What is the latest Fiscal Year with Revenues of $4.3 billion, and more than 85,335 employees? | CREATE TABLE table_name_95 (fiscal_year INTEGER, revenues VARCHAR, employees VARCHAR) |
SELECT tier FROM table_name_62 WHERE sport = "football" AND stadium = "tianhe stadium" | Which tier is for football at Tianhe Stadium? | CREATE TABLE table_name_62 (tier VARCHAR, sport VARCHAR, stadium VARCHAR) |
SELECT location FROM table_name_26 WHERE result = "21–16" | What is the name of the location of the game with a Result of 21–16? | CREATE TABLE table_name_26 (location VARCHAR, result VARCHAR) |
SELECT date FROM table_name_5 WHERE venue = "vfl park" | On what date was the venue VFL Park? | CREATE TABLE table_name_5 (date VARCHAR, venue VARCHAR) |
SELECT MAX(top_25) FROM table_name_17 WHERE top_10 > 9 AND events < 29 | What is the highest top-25 with more than 9 top-10 but less than 29 events? | CREATE TABLE table_name_17 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR) |
SELECT home_team AS score FROM table_name_25 WHERE home_team = "fitzroy" | What was Fitzroy score at their home stadium? | CREATE TABLE table_name_25 (home_team VARCHAR) |
SELECT 2002 FROM table_name_3 WHERE 1994 = "a" AND 1989 = "nme" AND 1999 = "2r" | What shows for 202 when the 1994 is A, the 1989 is NME, and the 199 is 2R? | CREATE TABLE table_name_3 (Id VARCHAR) |
SELECT format FROM table_name_31 WHERE artist = "triumfall" | What was the format of the release by Triumfall? | CREATE TABLE table_name_31 (format VARCHAR, artist VARCHAR) |
SELECT nation_of_citizenship FROM table_name_78 WHERE type_of_vehicle = "stock car" AND year = 1999 | What Nation of citizenship has a stock car vehicle with a year of 1999? | CREATE TABLE table_name_78 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR) |
SELECT MIN(points) FROM table_14342592_4 WHERE player = "Patrick" | Name the least points for patrick | CREATE TABLE table_14342592_4 (points INTEGER, player VARCHAR) |
SELECT capital___exonym__ FROM table_1008653_1 WHERE capital___endonym__ = "St. John's" | What is the English name given to the city of St. John's? | CREATE TABLE table_1008653_1 (capital___exonym__ VARCHAR, capital___endonym__ VARCHAR) |
SELECT competition FROM table_name_35 WHERE date = "1995-08-06" | what is the competition when the date is 1995-08-06? | CREATE TABLE table_name_35 (competition VARCHAR, date VARCHAR) |
SELECT winning_driver FROM table_name_76 WHERE winning_team = "tpc team qi-meritus" AND round > 8 | Who is the driver that one for the winning tpc team qi-meritus that has a round more than 8? | CREATE TABLE table_name_76 (winning_driver VARCHAR, winning_team VARCHAR, round VARCHAR) |
SELECT COUNT(population) FROM table_1307842_7 WHERE member_countries = "Lithuania" | What is the number of population for lithuania? | CREATE TABLE table_1307842_7 (population VARCHAR, member_countries VARCHAR) |
SELECT AVG(lost) FROM table_name_42 WHERE against = 57 | What is the average Lost when there are 57 against? | CREATE TABLE table_name_42 (lost INTEGER, against VARCHAR) |
SELECT third_member FROM table_name_2 WHERE second_party = "liberal" AND third_party = "conservative" AND second_member = "humphrey mildmay" | Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay? | CREATE TABLE table_name_2 (third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR) |
SELECT home FROM table_name_85 WHERE visitor = "lakers" | Who was the home team that played the Lakers? | CREATE TABLE table_name_85 (home VARCHAR, visitor VARCHAR) |
SELECT MIN(apparent_magnitude) FROM table_name_67 WHERE declination___j2000__ = "°39′45″" | What is the Apparent magnitude of a Declination (J2000) of °39′45″? | CREATE TABLE table_name_67 (apparent_magnitude INTEGER, declination___j2000__ VARCHAR) |
SELECT college_junior_club_team FROM table_name_13 WHERE round = 6 | Which College/Junior/Club team has a Round of 6? | CREATE TABLE table_name_13 (college_junior_club_team VARCHAR, round VARCHAR) |
SELECT title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid GROUP BY T1.songid ORDER BY COUNT(*) DESC LIMIT 1 | Which song has the most vocals? | CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) |
SELECT score FROM table_name_32 WHERE date = "february 18, 2008" | What was the Score on February 18, 2008? | CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR) |
SELECT provider FROM table_name_10 WHERE up__up_to_kbit_s_ = 1180 | who is the provider when up (up to kbit/s) is 1180? | CREATE TABLE table_name_10 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR) |
SELECT SUM(crowd) FROM table_name_39 WHERE venue = "glenferrie oval" | What is the total number of people that attended the glenferrie oval venue? | CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR) |
SELECT COUNT(record) FROM table_14477002_1 WHERE location = "Lambeau Field" | List the total number of records from Lambeau Field. | CREATE TABLE table_14477002_1 (record VARCHAR, location VARCHAR) |
SELECT MAX(in_de_creased_by) FROM table_name_34 WHERE percentage_in_de_crease = "100%" AND seats_2010 > 8 | Name the highest In/de-creased which has a Percentage in/de-crease of 100%, and Seats 2010 larger than 8? | CREATE TABLE table_name_34 (in_de_creased_by INTEGER, percentage_in_de_crease VARCHAR, seats_2010 VARCHAR) |
SELECT SUM(ngc_number) FROM table_name_16 WHERE constellation = "vela" | What is the sum of NGC numbers for Constellation vela? | CREATE TABLE table_name_16 (ngc_number INTEGER, constellation VARCHAR) |
SELECT capital FROM table_1404414_2 WHERE population_census_2009 = 596268 | What capital has a population of 596268? | CREATE TABLE table_1404414_2 (capital VARCHAR, population_census_2009 VARCHAR) |
SELECT population FROM table_name_15 WHERE gdp_per_capita__us$_ = "15,054" | What is the total population of the country that has a GDP per capita (US$) of 15,054? | CREATE TABLE table_name_15 (population VARCHAR, gdp_per_capita__us$_ VARCHAR) |
SELECT artist FROM table_name_80 WHERE theme = "400th anniversary of quebec" | Which artist created the silver dollar for the 400th anniversary of Quebec? | CREATE TABLE table_name_80 (artist VARCHAR, theme VARCHAR) |
SELECT home_team AS score FROM table_name_45 WHERE venue = "junction oval" | When the VFL played Junction Oval what was the home team score? | CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR) |
SELECT ihsaa_class FROM table_name_84 WHERE size > 511 | Which IHSAA Class has a Size larger than 511? | CREATE TABLE table_name_84 (ihsaa_class VARCHAR, size INTEGER) |
SELECT AVG(game) FROM table_name_30 WHERE team = "@ boston" | Can you tell me the average Game that has the Team of @ boston? | CREATE TABLE table_name_30 (game INTEGER, team VARCHAR) |
SELECT MAX(bronze) FROM table_name_28 WHERE total < 17 AND nation = "poland" AND gold > 1 | When the nation of poland had less than 17 medals but more than 1 gold medal, what's the Highest number of bronze medals? | CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation 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 date FROM table_name_17 WHERE set_2 = "21:12" | What is the date of the 21:12 Set 2? | CREATE TABLE table_name_17 (date VARCHAR, set_2 VARCHAR) |
SELECT name FROM table_name_68 WHERE qual_2 > 58.669 AND team = "team australia" | Who had a Qualifying 2 time over 58.669 for Team Australia? | CREATE TABLE table_name_68 (name VARCHAR, qual_2 VARCHAR, team VARCHAR) |
SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak" | What is the total number of the ERP W with a call sign of w242ak? | CREATE TABLE table_name_81 (erp_w VARCHAR, call_sign VARCHAR) |
SELECT title FROM table_228973_5 WHERE original_air_date = "November 10, 1998" | What is the name of the episode that aired originally on November 10, 1998? | CREATE TABLE table_228973_5 (title VARCHAR, original_air_date VARCHAR) |
SELECT winning_driver FROM table_1769428_2 WHERE team = "Hendrick Motorsports" AND make = "Chevrolet Impala SS" | Who was the winning driver for Hendrick Motorsports in a Chevrolet Impala SS? | CREATE TABLE table_1769428_2 (winning_driver VARCHAR, team VARCHAR, make VARCHAR) |
SELECT species FROM table_name_63 WHERE threat_level = "medium" | Which Species has a medium Threat Level? | CREATE TABLE table_name_63 (species VARCHAR, threat_level VARCHAR) |
SELECT MIN(election) FROM table_name_13 WHERE share_of_votes = "0.9%" | What is the earlest election with a 0.9% share of votes? | CREATE TABLE table_name_13 (election INTEGER, share_of_votes VARCHAR) |
SELECT MAX(series__number) FROM table_29087004_2 WHERE united_states_original_airdate = "December 24, 2010" | What number episode in the series had and original United States air date of December 24, 2010? | CREATE TABLE table_29087004_2 (series__number INTEGER, united_states_original_airdate VARCHAR) |
SELECT MAX(played) FROM table_name_26 WHERE position > 5 AND points > 0 AND drawn < 0 | Which Played has a Position larger than 5, a Points larger than 0, and a Drawn smaller than 0? | CREATE TABLE table_name_26 (played INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR) |
SELECT choice FROM table_10360656_1 WHERE player_name = "Bill Hill" | What round was Bill Hill drafted? | CREATE TABLE table_10360656_1 (choice VARCHAR, player_name VARCHAR) |
SELECT uk_base FROM table_name_42 WHERE airborne_unit = "pathfinders" | Which UK Base has an airborne unit of Pathfinders? | CREATE TABLE table_name_42 (uk_base VARCHAR, airborne_unit VARCHAR) |
SELECT COUNT(*) FROM Courses | How many courses in total are listed? | CREATE TABLE Courses (Id VARCHAR) |
SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE t_c__°c_ = "720" | When 720 is the t c (°c) what is the h ci (ka/m)? | CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, t_c__°c_ VARCHAR) |
SELECT opponent FROM table_name_63 WHERE location_attendance = "delta center/19,911" AND date = "dec 6" | Which Opponent has a Location/Attendance of delta center/19,911 on dec 6? | CREATE TABLE table_name_63 (opponent VARCHAR, location_attendance VARCHAR, date VARCHAR) |
SELECT college_hall_of_fame FROM table_name_83 WHERE position = "fullback" | What is the college hall of fame of the player who plays fullback? | CREATE TABLE table_name_83 (college_hall_of_fame VARCHAR, position VARCHAR) |
SELECT airline FROM table_name_87 WHERE iata = "bx" | What airline has a IATA of BX? | CREATE TABLE table_name_87 (airline VARCHAR, iata VARCHAR) |
SELECT DISTINCT instrument FROM Instruments | What are all the instruments used? | CREATE TABLE Instruments (instrument VARCHAR) |
SELECT swim__15km_ FROM table_17085947_32 WHERE athlete = "Daniela Ryf" | What was the duration of Daniela Ryf's swimming stage? | CREATE TABLE table_17085947_32 (swim__15km_ VARCHAR, athlete VARCHAR) |
SELECT format FROM table_2709_4 WHERE frequency = "105.5 FM" | What is the format of 105.5 fm? | CREATE TABLE table_2709_4 (format VARCHAR, frequency VARCHAR) |
SELECT us_viewers__million_ FROM table_26464364_1 WHERE production_code = "3X6004" | How many million U.S. viewers watched the episode with the production code 3x6004? | CREATE TABLE table_26464364_1 (us_viewers__million_ VARCHAR, production_code VARCHAR) |
SELECT school FROM table_name_96 WHERE player = "bo jackson" | What school did bo jackson attend? | CREATE TABLE table_name_96 (school VARCHAR, player VARCHAR) |
SELECT tournament FROM table_11621747_1 WHERE date = "Aug 29" | What is the tournament of aug 29? | CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR) |
SELECT percentage___percentage_ FROM table_name_35 WHERE males = "99" | What is the percentage where males equal 99? | CREATE TABLE table_name_35 (percentage___percentage_ VARCHAR, males VARCHAR) |
SELECT won FROM table_12828723_3 WHERE club = "Ammanford RFC" | what's the won with club being ammanford rfc | CREATE TABLE table_12828723_3 (won VARCHAR, club VARCHAR) |
SELECT opponent FROM table_21256068_3 WHERE venue = "Halliwell Jones Stadium" AND competition = "Super League XIV" | state the opponent on halliwell jones stadium in super league xiv | CREATE TABLE table_21256068_3 (opponent VARCHAR, venue VARCHAR, competition VARCHAR) |
SELECT date FROM table_name_98 WHERE away_team = "newport county" | what is the date when the away team is newport county? | CREATE TABLE table_name_98 (date VARCHAR, away_team VARCHAR) |
SELECT original_air_date FROM table_19501664_1 WHERE us_viewers__millions_ = "15.74" | Name the original air date for 15.74 viewers | CREATE TABLE table_19501664_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT MIN(losses) FROM table_name_13 WHERE draws > 0 AND season < 1926 | What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926? | CREATE TABLE table_name_13 (losses INTEGER, draws VARCHAR, season VARCHAR) |
SELECT weight__kg_ FROM table_2985987_2 WHERE race = "Autumn Classic" | What is the autumn classic weight? | CREATE TABLE table_2985987_2 (weight__kg_ VARCHAR, race VARCHAR) |
SELECT viewers__millions_ FROM table_17525955_2 WHERE episode__number = 5 | How many viewers did Episode #5 have? | CREATE TABLE table_17525955_2 (viewers__millions_ VARCHAR, episode__number VARCHAR) |
SELECT COUNT(high_assists) FROM table_27902171_8 WHERE record = "34-27" | Name the total number of high asists for 34-27 | CREATE TABLE table_27902171_8 (high_assists VARCHAR, record VARCHAR) |
SELECT AVG(year) FROM table_name_12 WHERE date = "5–6 february" | Which Year has a Date of 5–6 february? | CREATE TABLE table_name_12 (year INTEGER, date VARCHAR) |
SELECT MAX(facility_id) FROM table_name_52 WHERE city_of_license = "wheeling" AND erp_kw < 4.5 | What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5? | CREATE TABLE table_name_52 (facility_id INTEGER, city_of_license VARCHAR, erp_kw VARCHAR) |
SELECT record FROM table_name_25 WHERE opponent = "los angeles rams" | What was the record at the game against the Los Angeles Rams? | CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR) |
SELECT AVG(long) FROM table_name_72 WHERE gain = 1581 AND loss < 308 | What is the average long that has 1581 as a gain, with a loss less than 308? | CREATE TABLE table_name_72 (long INTEGER, gain VARCHAR, loss VARCHAR) |
SELECT lowest FROM table_21824695_8 WHERE stadium = "Pohang Steelyard" | What is the lowest when pohang steelyard is the stadium? | CREATE TABLE table_21824695_8 (lowest VARCHAR, stadium VARCHAR) |
SELECT MIN(year_completed) FROM table_name_31 WHERE dam_type = "concrete gravity" AND impounded_body_of_water = "deep creek reservoir" | Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir? | CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR) |
SELECT player FROM table_name_5 WHERE college = "memphis" | What Player is from the College of memphis? | CREATE TABLE table_name_5 (player VARCHAR, college VARCHAR) |
SELECT AVG(Scores) FROM submission | What is the average score of submissions? | CREATE TABLE submission (Scores INTEGER) |
SELECT engine FROM table_name_85 WHERE output = "ps (kw; hp) @4700 rpm" | What engine has an output of ps (kw; hp) @4700 rpm? | CREATE TABLE table_name_85 (engine VARCHAR, output VARCHAR) |
SELECT college_junior_club_team FROM table_2781227_10 WHERE pick = 255 | Which school players have a number of 255 | CREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, pick VARCHAR) |
SELECT venue FROM table_name_24 WHERE competition = "olympic games" AND position = "dnq" | Which venue hosts the Olympic Games for DNQ position? | CREATE TABLE table_name_24 (venue VARCHAR, competition VARCHAR, position VARCHAR) |
SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = "pierre tchernia" AND spokesperson = "unknown" | What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson? | CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR) |
SELECT MIN(total) FROM table_name_96 WHERE ward > 60 | WHAT IS THE TOTAL WITH WARD LARGER THAN 60? | CREATE TABLE table_name_96 (total INTEGER, ward INTEGER) |
SELECT city FROM table_name_76 WHERE venue = "university gym (gold mine)" | What city is University Gym (Gold Mine) in? | CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR) |
SELECT score FROM table_name_9 WHERE record = "4-1" | What is the score for 4-1? | CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR) |
SELECT venue FROM table_name_89 WHERE home_team = "san francisco 49ers" AND result = "30-10" | What was the Venue of the San Francisco 49ers Home game with a Result of 30-10? | CREATE TABLE table_name_89 (venue VARCHAR, home_team VARCHAR, result VARCHAR) |
SELECT COUNT(year) FROM table_name_27 WHERE wimbledon = "andy murray" | What is the total number of years Andy Murray was at Wimbledon? | CREATE TABLE table_name_27 (year VARCHAR, wimbledon VARCHAR) |
SELECT MAX(production_code) FROM table_name_6 WHERE written_by = "brian egeston" AND season__number > 5 | What is the highest production code when the writer was brian egeston after season 5? | CREATE TABLE table_name_6 (production_code INTEGER, written_by VARCHAR, season__number VARCHAR) |
SELECT record FROM table_23346303_3 WHERE location = "Tampa, FL" AND opponent = "Louisville" | what is the record where the locaiton is tampa, fl and the opponent is louisville? | CREATE TABLE table_23346303_3 (record VARCHAR, location VARCHAR, opponent VARCHAR) |
SELECT billboard_peak FROM table_name_95 WHERE label = "mca" AND date_of_release = "february 2, 1976" | What was the Billboard peak for the album released on February 2, 1976 by MCA? | CREATE TABLE table_name_95 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR) |
SELECT title FROM table_29747178_2 WHERE series__number = 7 | What is the title when the series # is 7? | CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR) |
SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince regent of bavaria" | What is the total End term with a Title of prince regent of bavaria? | CREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR) |
SELECT time FROM table_name_96 WHERE grid < 8 AND rider = "troy bayliss" | What is the time of Troy Bayliss with less than 8 grids? | CREATE TABLE table_name_96 (time VARCHAR, grid VARCHAR, rider VARCHAR) |
SELECT COUNT(caps) FROM table_name_97 WHERE name = "jon dahl tomasson" AND goals_per_match < 0.46 | How many caps does Jon Dahl Tomasson, who has less than 0.46 goals per match, have? | CREATE TABLE table_name_97 (caps VARCHAR, name VARCHAR, goals_per_match VARCHAR) |
SELECT SUM(gold) FROM table_name_94 WHERE total < 7 AND nation = "gabon" AND rank < 17 | How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total? | CREATE TABLE table_name_94 (gold INTEGER, rank VARCHAR, total VARCHAR, nation VARCHAR) |
SELECT date FROM table_name_80 WHERE week = 6 | What date was the week 6 game played on? | CREATE TABLE table_name_80 (date VARCHAR, week VARCHAR) |
SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57 | What is the lowest Attendance, when Date is "February 4", and when Points is less than 57? | CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR) |
SELECT COUNT(population) FROM table_name_51 WHERE area__km_2__ > 498.77 | What is the Population of the Place with an Area (km 2) larger than 498.77? | CREATE TABLE table_name_51 (population VARCHAR, area__km_2__ INTEGER) |
SELECT surface FROM table_name_56 WHERE tournament = "pune" | What kind of surface was the tournament at Pune played on? | CREATE TABLE table_name_56 (surface VARCHAR, tournament VARCHAR) |
SELECT method FROM table_name_89 WHERE round = 1 AND record = "1-0" | Which method was used in round 1 with a record of 1-0? | CREATE TABLE table_name_89 (method VARCHAR, round VARCHAR, record VARCHAR) |
SELECT home_captain FROM table_name_55 WHERE result = "aus by 32 runs" | What is the name of the home captain when the result was Aus by 32 runs? | CREATE TABLE table_name_55 (home_captain VARCHAR, result VARCHAR) |
SELECT region FROM table_name_33 WHERE host = "old dominion university" | Which region does Old Dominion University represent? | CREATE TABLE table_name_33 (region VARCHAR, host VARCHAR) |
SELECT prod_code FROM table_20967430_2 WHERE original_air_date = "November 08, 1985" | Name the production code for november 08, 1985 | CREATE TABLE table_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.