answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT SUM(score) FROM table_name_36 WHERE player = "phil mickelson" | What's the sum of all phil mickelson's game scores? | CREATE TABLE table_name_36 (score INTEGER, player VARCHAR) |
SELECT venue FROM table_name_96 WHERE score = "1 goal" AND date = "october 11, 1997" | what is the venue when the score is 1 goal and the date is october 11, 1997? | CREATE TABLE table_name_96 (venue VARCHAR, score VARCHAR, date VARCHAR) |
SELECT MIN(1965) FROM table_name_38 WHERE 1962 = 0.35000000000000003 AND 1967 < 0.53 | Which 1965 has a 1962 of 0.35000000000000003, and a 1967 smaller than 0.53? | CREATE TABLE table_name_38 (Id VARCHAR) |
SELECT shooter FROM table_name_75 WHERE total = "olympic bronze medalist" | Which shooter was the olympic bronze medalist? | CREATE TABLE table_name_75 (shooter VARCHAR, total VARCHAR) |
SELECT MAX(first_prize___) AS $__ FROM table_name_49 WHERE year = 1997 | What was the top first place prize in 1997? | CREATE TABLE table_name_49 (first_prize___ INTEGER, year VARCHAR) |
SELECT attendance FROM table_name_27 WHERE result = "w 16-10* o.t." | Result of w 16-10* o.t. had what attendance? | CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR) |
SELECT away_team FROM table_name_80 WHERE home_team = "geelong" | When the home team was geelong, who played as the away team? | CREATE TABLE table_name_80 (away_team VARCHAR, home_team VARCHAR) |
SELECT rebuilt FROM table_name_64 WHERE builder = "derby" AND name_as_rebuilt = "ben madigan" | Which Rebuilt has a Builder of derby, and a Name as rebuilt of ben madigan? | CREATE TABLE table_name_64 (rebuilt VARCHAR, builder VARCHAR, name_as_rebuilt VARCHAR) |
SELECT 4 AS th_place FROM table_2388763_1 WHERE year = 2007 | What team finished in 4th place in 2007? | CREATE TABLE table_2388763_1 (year VARCHAR) |
SELECT catalog FROM table_name_97 WHERE label = "columbia" AND region = "united states" AND format = "cd/dvd" | What's the catalog number for a record from columbia formatted in a cd/dvd that's from the United States region? | CREATE TABLE table_name_97 (catalog VARCHAR, format VARCHAR, label VARCHAR, region VARCHAR) |
SELECT away_team AS score FROM table_name_57 WHERE home_team = "fitzroy" | In the game against home team Fitzroy, what did the away team score? | CREATE TABLE table_name_57 (away_team VARCHAR, home_team VARCHAR) |
SELECT opponent FROM table_14945112_1 WHERE date = "November 12, 1978" | Who were all of the opponents when the date was November 12, 1978? | CREATE TABLE table_14945112_1 (opponent VARCHAR, date VARCHAR) |
SELECT MAX(games) FROM table_name_2 WHERE standing = "5th, lebel" AND goals_against > 220 AND lost > 52 | Name the most games for standing of 5th, lebel and goals against larger than 220 with lost more than 52 | CREATE TABLE table_name_2 (games INTEGER, lost VARCHAR, standing VARCHAR, goals_against VARCHAR) |
SELECT COUNT(total_goals) FROM table_name_20 WHERE fa_cup_apps > 1 AND total_apps = 37 AND league_apps < 30 | The total goals have a FA Cup Apps larger than 1, and a Total Apps of 37, and a League Apps smaller than 30?, what is the total number? | CREATE TABLE table_name_20 (total_goals VARCHAR, league_apps VARCHAR, fa_cup_apps VARCHAR, total_apps VARCHAR) |
SELECT player FROM table_2897457_8 WHERE nhl_team = "Vancouver Canucks" | Who was drafted to the Vancouver Canucks? | CREATE TABLE table_2897457_8 (player VARCHAR, nhl_team VARCHAR) |
SELECT chassis FROM table_name_12 WHERE engine = "offy" AND finish = "25th" | What is the chassis for offy engine and 25th finish? | CREATE TABLE table_name_12 (chassis VARCHAR, engine VARCHAR, finish VARCHAR) |
SELECT city___state FROM table_name_62 WHERE series = "atcc round 4" | In what City/State did the ATCC Round 4 series take place? | CREATE TABLE table_name_62 (city___state VARCHAR, series VARCHAR) |
SELECT player FROM table_name_27 WHERE pos = "g/f" AND years_of_nba_experience_[a_] = "3" | What G/F Player has 3 Years in the NBA? | CREATE TABLE table_name_27 (player VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR) |
SELECT MIN(grid) FROM table_name_21 WHERE time_retired = "steering" AND laps < 15 | What is the low grid total for a retired due to steering in under 15 laps? | CREATE TABLE table_name_21 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) |
SELECT opponent FROM table_name_26 WHERE loss = "moyer (9–4)" | Who lost to moyer (9–4)? | CREATE TABLE table_name_26 (opponent VARCHAR, loss VARCHAR) |
SELECT COUNT(weight) FROM table_name_28 WHERE block > 328 AND height > 207 AND spike > 375 | What is the Weight of the player with a Block larger than 328, Spike greater than 375 and Height larger than 207? | CREATE TABLE table_name_28 (weight VARCHAR, spike VARCHAR, block VARCHAR, height VARCHAR) |
SELECT won FROM table_14058433_5 WHERE tries_for = "84" | what's the won with tries for being 84 | CREATE TABLE table_14058433_5 (won VARCHAR, tries_for VARCHAR) |
SELECT result FROM table_name_10 WHERE score = "2-2" | What's the result when the score is 2-2? | CREATE TABLE table_name_10 (result VARCHAR, score VARCHAR) |
SELECT previous_school FROM table_24925945_3 WHERE height = "ft7in (m)" | What was the previous school of the ft7in (m) tall player? | CREATE TABLE table_24925945_3 (previous_school VARCHAR, height VARCHAR) |
SELECT COUNT(directed_by) FROM table_14724369_1 WHERE written_by = "Chris Sheridan" | How many people directed the show written by Chris Sheridan? | CREATE TABLE table_14724369_1 (directed_by VARCHAR, written_by VARCHAR) |
SELECT location_attendance FROM table_name_66 WHERE date = "dec 14" | What is the Location/Attendance on Dec 14? | CREATE TABLE table_name_66 (location_attendance VARCHAR, date VARCHAR) |
SELECT venue FROM table_name_66 WHERE rank = "2" | What is the Venue that has a Rank of 2? | CREATE TABLE table_name_66 (venue VARCHAR, rank VARCHAR) |
SELECT monarch FROM table_name_6 WHERE assumed_office = "december 15, 1876" | Which monarch assumed office on December 15, 1876? | CREATE TABLE table_name_6 (monarch VARCHAR, assumed_office VARCHAR) |
SELECT non_suited_match FROM table_name_60 WHERE number_of_decks > 6 | Name the Non-Suited Match that has greater than 6 Number of Decks. | CREATE TABLE table_name_60 (non_suited_match VARCHAR, number_of_decks INTEGER) |
SELECT spans FROM table_name_73 WHERE built = "1896" | What spans were built in 1896? | CREATE TABLE table_name_73 (spans VARCHAR, built VARCHAR) |
SELECT COUNT(DISTINCT pPos) FROM tryout | What are the unique types of player positions in the tryout? | CREATE TABLE tryout (pPos VARCHAR) |
SELECT copa_libertadores_1997 FROM table_14310205_1 WHERE team = "Racing Club" | what is the racing club where copa libertadores 1997? | CREATE TABLE table_14310205_1 (copa_libertadores_1997 VARCHAR, team VARCHAR) |
SELECT distance FROM table_name_73 WHERE stage = "4" | What's the distance of the course of stage 4? | CREATE TABLE table_name_73 (distance VARCHAR, stage VARCHAR) |
SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315" | What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982? | CREATE TABLE table_name_6 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR) |
SELECT COUNT(home_ground) FROM table_11365528_2 WHERE president = "Peter Williamson" | The president, peter williamson, had how many home grounds? | CREATE TABLE table_11365528_2 (home_ground VARCHAR, president VARCHAR) |
SELECT commissioned FROM table_1220125_4 WHERE laid_down = "4 May 1943" | What is the comissioned for 4 may 1943? | CREATE TABLE table_1220125_4 (commissioned VARCHAR, laid_down VARCHAR) |
SELECT MAX(series) FROM table_24057191_2 WHERE average_viewers__millions_ = "3.72" | What series had an average of 3.72 million people watching it? | CREATE TABLE table_24057191_2 (series INTEGER, average_viewers__millions_ VARCHAR) |
SELECT COUNT(opponent) FROM table_27539808_3 WHERE october = 9 | How many games did they play on october 9? | CREATE TABLE table_27539808_3 (opponent VARCHAR, october VARCHAR) |
SELECT overall FROM table_name_16 WHERE pick__number < 20 | What is the Overall of the pick less than 20? | CREATE TABLE table_name_16 (overall VARCHAR, pick__number INTEGER) |
SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte" | Where did Brendon Labatte get picked? | CREATE TABLE table_16575609_1 (pick__number INTEGER, player VARCHAR) |
SELECT MAX(localities) FROM table_26007767_1 | What is the highest localities? | CREATE TABLE table_26007767_1 (localities INTEGER) |
SELECT COUNT(peak_position) FROM table_23180638_1 WHERE oricon_albums_chart = "Weekly Charts" | How many peak positions were there on the weekly charts? | CREATE TABLE table_23180638_1 (peak_position VARCHAR, oricon_albums_chart VARCHAR) |
SELECT home_team FROM table_name_51 WHERE away_team = "armthorpe welfare" | Who was the home team that played against Armthorpe Welfare? | CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR) |
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1 | List the software platform shared by the greatest number of devices. | CREATE TABLE device (Software_Platform VARCHAR) |
SELECT home FROM table_name_53 WHERE time = "14:00" | Who was the home team of the game at the time of 14:00? | CREATE TABLE table_name_53 (home VARCHAR, time VARCHAR) |
SELECT location FROM table_name_87 WHERE nationality = "united states" AND time = "2:25.62" | In what Location in the United States the Time 2:25.62? | CREATE TABLE table_name_87 (location VARCHAR, nationality VARCHAR, time VARCHAR) |
SELECT MAX(year) FROM table_name_68 WHERE nominated_work = "herself" AND event = "mtv movie awards" | What year was Herself nominated at the MTV Movie Awards? | CREATE TABLE table_name_68 (year INTEGER, nominated_work VARCHAR, event VARCHAR) |
SELECT result FROM table_name_33 WHERE score = "48-12" AND city = "perth" | What was the result of the match that took place in Perth, featuring a score of 48-12? | CREATE TABLE table_name_33 (result VARCHAR, score VARCHAR, city VARCHAR) |
SELECT HOST FROM performance ORDER BY Attendance | List the hosts of performances in ascending order of attendance. | CREATE TABLE performance (HOST VARCHAR, Attendance VARCHAR) |
SELECT home_team FROM table_name_28 WHERE venue = "windy hill" | What team plays at home at Windy Hill? | CREATE TABLE table_name_28 (home_team VARCHAR, venue VARCHAR) |
SELECT to_par FROM table_name_15 WHERE score = 68 - 66 = 134 | What To par has a Score of 68-66=134? | CREATE TABLE table_name_15 (to_par VARCHAR, score VARCHAR) |
SELECT date FROM table_name_35 WHERE label = "parlophone" AND catalog = "582 2912" | What date is the release when the label was Parlophone and the catalog was 582 2912? | CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR, catalog VARCHAR) |
SELECT suburb_town FROM table_name_11 WHERE years = "k-6" AND founded < 1875 AND school = "ashfield public school" | What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school? | CREATE TABLE table_name_11 (suburb_town VARCHAR, school VARCHAR, years VARCHAR, founded VARCHAR) |
SELECT district FROM table_1341568_14 WHERE elected = 1964 | What district had elections in 1964? | CREATE TABLE table_1341568_14 (district VARCHAR, elected VARCHAR) |
SELECT position FROM table_name_67 WHERE pick = "234" | Name the position of pick 234 | CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR) |
SELECT race_name FROM table_22673872_1 WHERE pole_position = "Al Unser" | What was the name of the race that Al Unser had the pole position? | CREATE TABLE table_22673872_1 (race_name VARCHAR, pole_position VARCHAR) |
SELECT father FROM table_name_98 WHERE husband = "william iv" | Which father had william iv as a husband? | CREATE TABLE table_name_98 (father VARCHAR, husband VARCHAR) |
SELECT score FROM table_name_46 WHERE visitor = "montreal canadiens" AND date = "february 18" | What's the score on february 18 when the visitors are the montreal canadiens? | CREATE TABLE table_name_46 (score VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT COUNT(date_of_polls) FROM table_15329030_1 WHERE state = "Madhya Pradesh" | How many dates of polls occur in the Madhya Pradesh state? | CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR) |
SELECT MAX(ast_avg) FROM table_name_28 WHERE player = "cam long" AND games < 132 | How many assists does cam long average in under 132 games? | CREATE TABLE table_name_28 (ast_avg INTEGER, player VARCHAR, games VARCHAR) |
SELECT driver FROM table_name_95 WHERE grid = 18 | What driver shows grid as 18? | CREATE TABLE table_name_95 (driver VARCHAR, grid VARCHAR) |
SELECT MAX(home_total) FROM table_27094070_4 | What was the highest home total? | CREATE TABLE table_27094070_4 (home_total INTEGER) |
SELECT show_name FROM table_name_25 WHERE news_freq = "60 minutes" | What's the show that has 60 minutes as the news freq? | CREATE TABLE table_name_25 (show_name VARCHAR, news_freq VARCHAR) |
SELECT away_team FROM table_name_7 WHERE tie_no = "7" | who is the away team when the tie no is 7? | CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR) |
SELECT AVG(draw) FROM table_name_74 WHERE artist = "maggie toal" | What was the draw of Maggie Toal? | CREATE TABLE table_name_74 (draw INTEGER, artist VARCHAR) |
SELECT hdtv FROM table_name_84 WHERE content = "documentaries" | What is the HDTV when documentaries are the content? | CREATE TABLE table_name_84 (hdtv VARCHAR, content VARCHAR) |
SELECT 2001 FROM table_name_42 WHERE 1991 = "4r" | what 2001 has 1991 of 4r? | CREATE TABLE table_name_42 (Id VARCHAR) |
SELECT present_conference FROM table_name_5 WHERE location = "gainesville, florida" | Which conference does the school from Gainesville, Florida, play in? | CREATE TABLE table_name_5 (present_conference VARCHAR, location VARCHAR) |
SELECT circuit FROM table_30134667_2 WHERE location = "Baltimore , Maryland" | What is the circuit located in baltimore , maryland? | CREATE TABLE table_30134667_2 (circuit VARCHAR, location VARCHAR) |
SELECT result FROM table_name_84 WHERE date = "bye" | What was the result when they had their bye week? | CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR) |
SELECT 1947 AS _nos FROM table_name_55 WHERE br_nos = "48730-9" | Which 1947 Nos has a BR Nos of 48730-9? | CREATE TABLE table_name_55 (br_nos VARCHAR) |
SELECT surface FROM table_name_16 WHERE tournament = "berlin" | What type of surface was played at the tournament in berlin? | CREATE TABLE table_name_16 (surface VARCHAR, tournament VARCHAR) |
SELECT COUNT(tonioli) FROM table_1014319_1 WHERE goodman = "10" | How many songs received a 10 from Goodman and were rated by Tonioli? | CREATE TABLE table_1014319_1 (tonioli VARCHAR, goodman VARCHAR) |
SELECT AVG(attendance) FROM table_name_28 WHERE date = "1 october 1998" | What is the average Attendance, when Date is 1 October 1998? | CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR) |
SELECT MAX(rank) FROM table_name_98 WHERE react > 0.20400000000000001 AND time > 45.56 | Which Rank has a Reaction time larger than 0.20400000000000001, and a Time larger than 45.56? | CREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR) |
SELECT _percentage_yes FROM table_256286_5 WHERE yes_votes = 35270 | What is the yes percentage in the measure that had 35270 yes votes? | CREATE TABLE table_256286_5 (_percentage_yes VARCHAR, yes_votes VARCHAR) |
SELECT MAX(grid) FROM table_name_86 WHERE rider = "colin edwards" AND laps < 28 | Which Grid is the highest one that has a Rider of colin edwards, and Laps smaller than 28? | CREATE TABLE table_name_86 (grid INTEGER, rider VARCHAR, laps VARCHAR) |
SELECT date FROM table_name_21 WHERE record = "8-25-7" | What was the date that ended in a record of 8-25-7? | CREATE TABLE table_name_21 (date VARCHAR, record VARCHAR) |
SELECT COUNT(*) FROM Dogs WHERE NOT dog_id IN (SELECT dog_id FROM Treatments) | How many dogs have not gone through any treatment? | CREATE TABLE Dogs (dog_id VARCHAR); CREATE TABLE Treatments (dog_id VARCHAR) |
SELECT length FROM table_name_28 WHERE remarks = "replaced by lp 20" | What is the length of the highway with remarks that it was replaced by lp 20? | CREATE TABLE table_name_28 (length VARCHAR, remarks VARCHAR) |
SELECT AVG(pick__number) FROM table_name_11 WHERE league_from = "quebec major junior hockey league" AND player = "samuel carrier" | What is the average pick # from the Quebec Major Junior Hockey League player Samuel Carrier? | CREATE TABLE table_name_11 (pick__number INTEGER, league_from VARCHAR, player VARCHAR) |
SELECT COUNT(seasons) FROM table_name_56 WHERE name = "charles c. farrell" | How many seasons did Charles C. Farrell coach? | CREATE TABLE table_name_56 (seasons VARCHAR, name VARCHAR) |
SELECT position FROM table_name_6 WHERE weight__kg_ < 91 AND birthdate = "march 5, 1977" | What position did the player play who weighed less thna 91 kg and was born on March 5, 1977? | CREATE TABLE table_name_6 (position VARCHAR, weight__kg_ VARCHAR, birthdate VARCHAR) |
SELECT theme FROM table_name_93 WHERE week = "final showdown (week 3)" | What was the theme for the final showdown (week 3)? | CREATE TABLE table_name_93 (theme VARCHAR, week VARCHAR) |
SELECT venue FROM table_name_45 WHERE attendance > 50 OFFSET 715 | What venue has more than 50,715 attending? | CREATE TABLE table_name_45 (venue VARCHAR, attendance INTEGER) |
SELECT COUNT(gold) FROM table_name_38 WHERE bronze > 1 AND silver > 2 | How much Gold has a Bronze larger than 1, and a Silver larger than 2? | CREATE TABLE table_name_38 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) |
SELECT type FROM table_name_46 WHERE built = 1923 | Which type of locomotive was built in 1923? | CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR) |
SELECT bronze FROM table_name_27 WHERE year = "1998" | How many bronze medals were won in 1998? | CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR) |
SELECT place FROM table_name_16 WHERE country = "wales" | What place has Wales as a country? | CREATE TABLE table_name_16 (place VARCHAR, country VARCHAR) |
SELECT methyl_red FROM table_name_98 WHERE indole = "positive" | What is the methyl red reading for the species that tests positive for indole? | CREATE TABLE table_name_98 (methyl_red VARCHAR, indole VARCHAR) |
SELECT date FROM table_name_95 WHERE circuit = "bahrain international circuit" | What's the date of Bahrain International Circuit? | CREATE TABLE table_name_95 (date VARCHAR, circuit VARCHAR) |
SELECT COUNT(series__number) FROM table_16175064_3 WHERE writer_s_ = "Alexa Wyatt" | What is the total number of episodes where alexa wyatt is the writer? | CREATE TABLE table_16175064_3 (series__number VARCHAR, writer_s_ VARCHAR) |
SELECT MIN(population) FROM table_name_20 WHERE colour = "blue" AND construction_commenced < 1987 | What is the lowest population for the neighborhood with the color blue that commenced its construction before 1987? | CREATE TABLE table_name_20 (population INTEGER, colour VARCHAR, construction_commenced VARCHAR) |
SELECT election_date FROM table_26362472_1 WHERE province = "Albacete" | What are the election date for elections held in the province of Albacete? | CREATE TABLE table_26362472_1 (election_date VARCHAR, province VARCHAR) |
SELECT 2010 FROM table_27146868_1 WHERE 2003 = "5.6" | What is 2010 when 2003 is 5.6? | CREATE TABLE table_27146868_1 (Id VARCHAR) |
SELECT SUM(pick) FROM table_name_31 WHERE round = 1 AND player = "paul seymour" | What number pick was Paul Seymour in round 1? | CREATE TABLE table_name_31 (pick INTEGER, round VARCHAR, player VARCHAR) |
SELECT actor FROM table_name_22 WHERE year = "1978" | What actor won in 1978? | CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR) |
SELECT COUNT(played) FROM table_18703133_1 WHERE losses = 5 | Namr the total number of played for 5 losses | CREATE TABLE table_18703133_1 (played VARCHAR, losses VARCHAR) |
SELECT cardinalatial_order_and_title FROM table_name_92 WHERE elector = "bosone" | What is the cardinalatial order and title of bosone? | CREATE TABLE table_name_92 (cardinalatial_order_and_title VARCHAR, elector VARCHAR) |
SELECT COUNT(week) FROM table_name_81 WHERE tv_time = "fox 4:15et" | What is the Week of the game with TV Time of Fox 4:15ET? | CREATE TABLE table_name_81 (week VARCHAR, tv_time VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.