answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT player FROM table_name_93 WHERE place = "2" | What is Player, when Place is 2? | CREATE TABLE table_name_93 (player VARCHAR, place VARCHAR) |
SELECT term_ended FROM table_224672_2 WHERE term_began = "December 4, 1978" | When did the term end that began December 4, 1978? | CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR) |
SELECT 2010 FROM table_name_46 WHERE 2011 = "2r" AND 2008 = "2r" | what is 2010 when 2011 is 2r and 2008 is 2r? | CREATE TABLE table_name_46 (Id VARCHAR) |
SELECT MIN(season) FROM table_name_38 WHERE profile = "advertising account manager" | What is the earliest season with an advertising account manager profile? | CREATE TABLE table_name_38 (season INTEGER, profile VARCHAR) |
SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8 | What is the sum of points values that are associated with 0 losses and more than 8 games? | CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR) |
SELECT appointed_by FROM table_name_55 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "spruille braden" | What is the Appointed by that has the Title of Ambassador Extraordinary and Plenipotentiary and has a Representative of Spruille Braden? | CREATE TABLE table_name_55 (appointed_by VARCHAR, title VARCHAR, representative VARCHAR) |
SELECT mechanical FROM table_1348246_3 WHERE regulating = "LPM" | What mechanical has lpm regulation? | CREATE TABLE table_1348246_3 (mechanical VARCHAR, regulating VARCHAR) |
SELECT SUM(purse___) AS $__ FROM table_name_27 WHERE score = "272 (-16)" AND winner = "frank nobilo" AND year > 1996 | What was the total purse in the years after 1996 with a score of 272 (-16) when frank nobilo won? | CREATE TABLE table_name_27 (purse___ INTEGER, year VARCHAR, score VARCHAR, winner VARCHAR) |
SELECT qual_1 FROM table_name_98 WHERE qual_2 = "58.861" | Which Qual 1 has a Qual 2 of 58.861? | CREATE TABLE table_name_98 (qual_1 VARCHAR, qual_2 VARCHAR) |
SELECT date FROM table_name_4 WHERE record = "29–47" | Which Date has a Record of 29–47? | CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR) |
SELECT us_dance FROM table_name_89 WHERE year > 1985 | Name the US dance when the year is more than 1985 | CREATE TABLE table_name_89 (us_dance VARCHAR, year INTEGER) |
SELECT opposition FROM table_name_17 WHERE city = "taunton" | Which Opposition has a City of taunton? | CREATE TABLE table_name_17 (opposition VARCHAR, city VARCHAR) |
SELECT job_id FROM employees GROUP BY job_id HAVING AVG(salary) > 8000 | Find the job ID for those jobs which average salary is above 8000. | CREATE TABLE employees (job_id VARCHAR, salary INTEGER) |
SELECT away_team AS score FROM table_name_50 WHERE home_team = "north melbourne" | What is the Away team score with north melbourne as home team? | CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR) |
SELECT 2003 FROM table_name_84 WHERE career_win_loss = "6–7" | What is in 2003 that has a Career Win-Loss of 6–7 | CREATE TABLE table_name_84 (career_win_loss VARCHAR) |
SELECT SUM(long) FROM table_name_12 WHERE yards < 197 AND player = "matt nagy" | Name the sum of Long for yards less than 197 and players of matt nagy | CREATE TABLE table_name_12 (long INTEGER, yards VARCHAR, player VARCHAR) |
SELECT score FROM table_name_32 WHERE winners = "sligo rovers f.c." | What was the score in the game that was won by Sligo Rovers F.C.? | CREATE TABLE table_name_32 (score VARCHAR, winners VARCHAR) |
SELECT MAX(all_bills_cosponsored) FROM table_name_22 WHERE all_bills_sponsored < 24 AND all_amendments_sponsored < 16 | What is the highest number of bills cosponsored associated with under 24 bills sponsored and under 16 amendments sponsored? | CREATE TABLE table_name_22 (all_bills_cosponsored INTEGER, all_bills_sponsored VARCHAR, all_amendments_sponsored VARCHAR) |
SELECT combined FROM table_name_46 WHERE super_g < 10 AND overall < 4 | What is Combined, when Super G is less than 10, and when Overall is less than 4? | CREATE TABLE table_name_46 (combined VARCHAR, super_g VARCHAR, overall VARCHAR) |
SELECT COUNT(laps) FROM table_name_94 WHERE team = "wps racing" | Can you tell me the total number of Laps that has the Team of wps racing? | CREATE TABLE table_name_94 (laps VARCHAR, team VARCHAR) |
SELECT formula FROM table_23548160_1 WHERE driver = "Stirling Moss" | What type of formula did Stirling Moss drive? | CREATE TABLE table_23548160_1 (formula VARCHAR, driver VARCHAR) |
SELECT home_venue FROM table_name_63 WHERE state = "goa" AND city = "salcette" | Which team plays in Goa, Salcette? | CREATE TABLE table_name_63 (home_venue VARCHAR, state VARCHAR, city VARCHAR) |
SELECT celebrity FROM table_name_35 WHERE exited = "day 13" | Who was the celebrity who exited on day 13? | CREATE TABLE table_name_35 (celebrity VARCHAR, exited VARCHAR) |
SELECT score FROM table_name_42 WHERE home = "new jersey" | What is the score of the New Jersey home game? | CREATE TABLE table_name_42 (score VARCHAR, home VARCHAR) |
SELECT jockey FROM table_name_44 WHERE horse = "mad rush" | Who rode mad rush? | CREATE TABLE table_name_44 (jockey VARCHAR, horse VARCHAR) |
SELECT MIN(year) FROM table_name_90 WHERE festival_organization = "satellite award" | What is the first year that there was a Satellite Award? | CREATE TABLE table_name_90 (year INTEGER, festival_organization VARCHAR) |
SELECT name FROM table_name_80 WHERE season = "2002" AND acquisition_via = "free agency" | What is the name from the 2002 season, and acquired via free agency? | CREATE TABLE table_name_80 (name VARCHAR, season VARCHAR, acquisition_via VARCHAR) |
SELECT MIN(overall) FROM table_name_48 WHERE school_club_team = "tennessee state" AND round < 10 | What is the highest overall rank of any Tennessee State player drafted before round 10? | CREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR) |
SELECT "player" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = "player" | Name the player for 1945 for player | CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR) |
SELECT COUNT(nationality) FROM table_16494599_10 WHERE school_club_team = "Duke" | What are the nationalities of players who attended duke? | CREATE TABLE table_16494599_10 (nationality VARCHAR, school_club_team VARCHAR) |
SELECT hometown_school FROM table_name_74 WHERE team = "atlanta braves" | Which Hometown/School has a Team of atlanta braves? | CREATE TABLE table_name_74 (hometown_school VARCHAR, team VARCHAR) |
SELECT COUNT(total) FROM table_19744915_22 WHERE rank = 5 | How many different total points does the couple ranked at number 5 have? | CREATE TABLE table_19744915_22 (total VARCHAR, rank VARCHAR) |
SELECT centerfold_model FROM table_name_20 WHERE date = "5-88" | Who was the Centerfold model on 5-88? | CREATE TABLE table_name_20 (centerfold_model VARCHAR, date VARCHAR) |
SELECT COUNT(rating) FROM table_name_22 WHERE air_date = "june 25, 2008" AND share > 3 | What is the total number of Rating(s), when Air Date is June 25, 2008, and when Share is greater than 3? | CREATE TABLE table_name_22 (rating VARCHAR, air_date VARCHAR, share VARCHAR) |
SELECT player FROM table_name_5 WHERE school_club_team = "illinois" | Which Player has a School/Club Team of Illinois? | CREATE TABLE table_name_5 (player VARCHAR, school_club_team VARCHAR) |
SELECT green_communist FROM table_name_64 WHERE left_bloc = "3.6%" | What is the result for the Green-Communist party when the Left Bloc has 3.6%? | CREATE TABLE table_name_64 (green_communist VARCHAR, left_bloc VARCHAR) |
SELECT score FROM table_name_60 WHERE game__number = 81 | What was the score in game 81? | CREATE TABLE table_name_60 (score VARCHAR, game__number VARCHAR) |
SELECT COUNT(season) FROM table_26222468_1 WHERE points = "N/A" | How many seasons have points totals of N/A? | CREATE TABLE table_26222468_1 (season VARCHAR, points VARCHAR) |
SELECT status FROM table_29572583_19 WHERE rank = 2 | What is the status when the rank is 2? | CREATE TABLE table_29572583_19 (status VARCHAR, rank VARCHAR) |
SELECT date_of_completion FROM table_12078626_1 WHERE success = "Yes" | what's the date of completion where success is yes | CREATE TABLE table_12078626_1 (date_of_completion VARCHAR, success VARCHAR) |
SELECT 2009 FROM table_name_64 WHERE 2008 = "wta premier mandatory tournaments" | Which 2009 has a 2008 of wta premier mandatory tournaments? | CREATE TABLE table_name_64 (Id VARCHAR) |
SELECT conference_matchups FROM table_name_66 WHERE city = "glendale, arizona" | What was the conference matchup for the bowl game played in Glendale, Arizona? | CREATE TABLE table_name_66 (conference_matchups VARCHAR, city VARCHAR) |
SELECT status FROM table_name_63 WHERE venue = "stadio flaminio , rome" | What is the Statue, when Venue is "Stadio Flaminio , Rome"? | CREATE TABLE table_name_63 (status VARCHAR, venue VARCHAR) |
SELECT mark FROM table_name_17 WHERE athlete = "heike drechsler" | Which Mark has an Athlete of heike drechsler? | CREATE TABLE table_name_17 (mark VARCHAR, athlete VARCHAR) |
SELECT player FROM table_name_67 WHERE finish = "t15" | Who had a finish of t15? | CREATE TABLE table_name_67 (player VARCHAR, finish VARCHAR) |
SELECT COUNT(name) FROM table_24565004_14 WHERE appearances¹ = 101 | How many names correspond to the value 101 for appearances? | CREATE TABLE table_24565004_14 (name VARCHAR, appearances¹ VARCHAR) |
SELECT AVG(grid) FROM table_name_66 WHERE driver = "jack brabham" AND laps > 32 | What is the average grid for jack brabham going over 32 laps? | CREATE TABLE table_name_66 (grid INTEGER, driver VARCHAR, laps VARCHAR) |
SELECT seeding FROM table_name_41 WHERE matches_w_l = "1-2" AND team = "spain" | Matches W-L of 1-2, and a Team of spain had what seeding? | CREATE TABLE table_name_41 (seeding VARCHAR, matches_w_l VARCHAR, team VARCHAR) |
SELECT country FROM stadium EXCEPT SELECT country FROM stadium WHERE opening_year > 2006 | Which countries do not have a stadium that was opened after 2006? | CREATE TABLE stadium (country VARCHAR, opening_year INTEGER) |
SELECT host_country___countries FROM table_name_3 WHERE year = "2007" | Who was the host country in 2007? | CREATE TABLE table_name_3 (host_country___countries VARCHAR, year VARCHAR) |
SELECT date FROM table_name_25 WHERE record = "43–35" | On what date was the Record of 43–35? | CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) |
SELECT age FROM Person WHERE job = 'doctor' AND name = 'Zach' | How old is the doctor named Zach? | CREATE TABLE Person (age VARCHAR, job VARCHAR, name VARCHAR) |
SELECT kerry_percentage FROM table_name_71 WHERE others_number = 66 | What Kerry's percentage where 66 people voted for another candidate? | CREATE TABLE table_name_71 (kerry_percentage VARCHAR, others_number VARCHAR) |
SELECT genre FROM table_name_47 WHERE developer_s_ = "naughty dog" | Which Genre has a Developer(s) of naughty dog? | CREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR) |
SELECT place FROM table_name_40 WHERE player = "payne stewart" | Which place is payne stewart, the player in? | CREATE TABLE table_name_40 (place VARCHAR, player VARCHAR) |
SELECT television_service FROM table_name_27 WHERE package_option = "qualsiasi" | Which television service has a qualsiasi package/option? | CREATE TABLE table_name_27 (television_service VARCHAR, package_option VARCHAR) |
SELECT engine FROM table_name_3 WHERE team = "bettenhausen motorsports" | What is the engine for the Bettenhausen Motorsports team? | CREATE TABLE table_name_3 (engine VARCHAR, team VARCHAR) |
SELECT MIN(month_sequence) FROM table_28985631_1 WHERE month_name = "Av" | What is the month sequence for the month name of av? | CREATE TABLE table_28985631_1 (month_sequence INTEGER, month_name VARCHAR) |
SELECT MIN(attendance) FROM table_16025095_1 WHERE date = "January 24, 1987" | What was the minimum crowd on January 24, 1987? | CREATE TABLE table_16025095_1 (attendance INTEGER, date VARCHAR) |
SELECT successor FROM table_225100_4 WHERE district = "Florida Territory At-large" | Who is the successor when florida territory at-large is the district? | CREATE TABLE table_225100_4 (successor VARCHAR, district VARCHAR) |
SELECT category FROM table_name_25 WHERE year < 2006 AND result = "nominated" AND title = "cold feet" | What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet? | CREATE TABLE table_name_25 (category VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) |
SELECT current_conference FROM table_12936521_2 WHERE institution = "Post University" | What current conference is Post University a member of? | CREATE TABLE table_12936521_2 (current_conference VARCHAR, institution VARCHAR) |
SELECT malayalam_മലയാളം FROM table_1408397_3 WHERE _number = 10 | What is the Malayalam word that is listed as #10 in the table? | CREATE TABLE table_1408397_3 (malayalam_മലയാളം VARCHAR, _number VARCHAR) |
SELECT tournament FROM table_name_49 WHERE winning_score = –6(73 - 68 - 72 - 69 = 282) | What Tournament had a Winning score of –6 (73-68-72-69=282)? | CREATE TABLE table_name_49 (tournament VARCHAR, winning_score VARCHAR) |
SELECT year_s__won FROM table_name_40 WHERE total = 145 AND country = "united states" | What is Year(s) Won, when Total is "145", and when Country is "United States"? | CREATE TABLE table_name_40 (year_s__won VARCHAR, total VARCHAR, country VARCHAR) |
SELECT call_sign FROM table_name_65 WHERE city_of_license = "soledad, california" | What call sign is licensed in soledad, california? | CREATE TABLE table_name_65 (call_sign VARCHAR, city_of_license VARCHAR) |
SELECT MAX(points) FROM table_25730123_2 | What are the most points listed? | CREATE TABLE table_25730123_2 (points INTEGER) |
SELECT written_by FROM table_22269839_1 WHERE production_code = "7ACX08" | Who wrote the title with the production code is 7acx08? | CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR) |
SELECT home_team FROM table_name_6 WHERE venue = "arden street oval" | Who was the home team when the VFL played Arden Street Oval? | CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) |
SELECT MONTH FROM happy_hour GROUP BY MONTH ORDER BY COUNT(*) DESC LIMIT 1 | Which month has the most happy hours? | CREATE TABLE happy_hour (MONTH VARCHAR) |
SELECT week_5 FROM table_name_95 WHERE week_3 = "felicia taylor" | Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5? | CREATE TABLE table_name_95 (week_5 VARCHAR, week_3 VARCHAR) |
SELECT score FROM table_name_9 WHERE set_2 = "25–17" AND time = "16:00" | Which Score has a Set 2 of 25–17, and a Time of 16:00? | CREATE TABLE table_name_9 (score VARCHAR, set_2 VARCHAR, time VARCHAR) |
SELECT SUM(attendance) FROM table_name_96 WHERE tie_no = "13" | What was the attendance for the game that has a tie number of 13? | CREATE TABLE table_name_96 (attendance INTEGER, tie_no VARCHAR) |
SELECT country FROM table_name_97 WHERE score = 71 - 69 = 140 | What country scored 71-69=140? | CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR) |
SELECT rank FROM table_name_96 WHERE country = "us" AND accolade = "40 best albums of the year" | Which rank's country is the US when the accolade is 40 best albums of the year? | CREATE TABLE table_name_96 (rank VARCHAR, country VARCHAR, accolade VARCHAR) |
SELECT COUNT(frequency__mhz_) FROM table_name_52 WHERE type = "primary" AND call_letters = "ktbb-fm" | Frequency (MHz) that has a Type of primary, and a Call letters of ktbb-fm has what total number? | CREATE TABLE table_name_52 (frequency__mhz_ VARCHAR, type VARCHAR, call_letters VARCHAR) |
SELECT series FROM table_name_92 WHERE actor = "tom ward" | Which Series has an Actor of tom ward? | CREATE TABLE table_name_92 (series VARCHAR, actor VARCHAR) |
SELECT elapsed_time FROM table_22050544_4 WHERE prize = "$9,377.42" | What was the elapsed time for the championship that had $9,377.42 in prize money? | CREATE TABLE table_22050544_4 (elapsed_time VARCHAR, prize VARCHAR) |
SELECT grid FROM table_name_24 WHERE constructor = "toyota" AND time_retired = "+1:09.718" | What is the grid with a Toyota constructor and +1:09.718 as time/retired? | CREATE TABLE table_name_24 (grid VARCHAR, constructor VARCHAR, time_retired VARCHAR) |
SELECT nfl_team FROM table_name_33 WHERE college = "washington" | Which NFL team has a player that came from a college in Washington? | CREATE TABLE table_name_33 (nfl_team VARCHAR, college VARCHAR) |
SELECT top_10 FROM table_name_53 WHERE top_5 < 1 | Name the top-10 with top-5 less than 1 | CREATE TABLE table_name_53 (top_10 VARCHAR, top_5 INTEGER) |
SELECT location FROM table_name_93 WHERE result = "28-21" | What is Location, when Result is 28-21? | CREATE TABLE table_name_93 (location VARCHAR, result VARCHAR) |
SELECT score FROM table_name_20 WHERE visitor = "chicago black hawks" AND date = "march 24" | WHAT IS THE SCORE WITH VISITORS CHICAGO BLACK HAWKS ON MARCH 24? | CREATE TABLE table_name_20 (score VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT runner_s__up FROM table_name_58 WHERE year = "2008" | Who was the runner-up when the year was 2008? | CREATE TABLE table_name_58 (runner_s__up VARCHAR, year VARCHAR) |
SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–1982" | What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play? | CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) |
SELECT SUM(top_25) FROM table_name_84 WHERE tournament = "u.s. open" AND cuts_made < 7 | What is the total top-25 of the U.S. Open, which has less than 7 cuts? | CREATE TABLE table_name_84 (top_25 INTEGER, tournament VARCHAR, cuts_made VARCHAR) |
SELECT theme FROM table_name_24 WHERE special_notes = "from calgary flames gift set" | What theme has special notes from calgary flames gift set? | CREATE TABLE table_name_24 (theme VARCHAR, special_notes VARCHAR) |
SELECT location_attendance FROM table_22669044_7 WHERE score = "L 83–118 (OT)" | Name the location attendance for score being l 83–118 (ot) | CREATE TABLE table_22669044_7 (location_attendance VARCHAR, score VARCHAR) |
SELECT last_final_lost FROM table_name_70 WHERE last_win = "1959" | When was the last final lost of the club with a last win in 1959? | CREATE TABLE table_name_70 (last_final_lost VARCHAR, last_win VARCHAR) |
SELECT date FROM table_name_22 WHERE result = "3-1" | When was the result 3-1? | CREATE TABLE table_name_22 (date VARCHAR, result VARCHAR) |
SELECT route_number FROM table_25692955_1 WHERE south_west_terminal = "Rincon Valley" | Name the route number for rincon valley | CREATE TABLE table_25692955_1 (route_number VARCHAR, south_west_terminal VARCHAR) |
SELECT AVG(drawn) FROM table_name_13 WHERE points = 12 AND played < 10 | What was the drawn amount for teams with points of 12 and played smaller than 10? | CREATE TABLE table_name_13 (drawn INTEGER, points VARCHAR, played VARCHAR) |
SELECT position FROM table_name_96 WHERE college = "virginia" | Name the position of the player from college of virginia | CREATE TABLE table_name_96 (position VARCHAR, college VARCHAR) |
SELECT AVG(genes) FROM table_name_84 WHERE reference = "2009" AND strain = "rku-1" | what is the average genes when the reference is 2009 and the strain is rku-1? | CREATE TABLE table_name_84 (genes INTEGER, reference VARCHAR, strain VARCHAR) |
SELECT type FROM table_name_73 WHERE name = "valdez museum" | What Type of museum is the Valdez museum? | CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR) |
SELECT attendance FROM table_name_77 WHERE loss = "nakamura (0-1)" | What was the attendance when Nakamura (0-1) lost? | CREATE TABLE table_name_77 (attendance VARCHAR, loss VARCHAR) |
SELECT no FROM table_10015132_3 WHERE school_club_team = "Boise State" | What's the number of the player from Boise State? | CREATE TABLE table_10015132_3 (no VARCHAR, school_club_team VARCHAR) |
SELECT prod_code FROM table_23117208_4 WHERE viewers__millions_ = "4.92" | Name the production code for 4.92 million viewers | CREATE TABLE table_23117208_4 (prod_code VARCHAR, viewers__millions_ VARCHAR) |
SELECT sport FROM table_name_16 WHERE name = "miroslav jambor richard csejtey" | What sport did Miroslav Jambor Richard Csejtey participate in? | CREATE TABLE table_name_16 (sport VARCHAR, name VARCHAR) |
SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = "Juan Manuel Fangio" | How many different kinds of reports are there for races that Juan Manuel Fangio won? | CREATE TABLE table_1140111_5 (report VARCHAR, winning_driver VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.