answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT COUNT(earnings__) AS $__ FROM table_name_5 WHERE wins = 14 AND rank > 3 | How much have players earned with 14 wins ranked below 3? | CREATE TABLE table_name_5 (earnings__ VARCHAR, wins VARCHAR, rank VARCHAR) |
SELECT result FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia" | What was the result of the player from Maylands, Western Australia? | CREATE TABLE table_24501530_1 (result VARCHAR, hometown VARCHAR) |
SELECT model FROM table_name_68 WHERE chassis_code = "w116.036" | What's the model that has chassis code W116.036? | CREATE TABLE table_name_68 (model VARCHAR, chassis_code VARCHAR) |
SELECT club FROM table_name_61 WHERE sport = "soccer" AND league = "nwsl" | Which club plays soccer in the nwsl? | CREATE TABLE table_name_61 (club VARCHAR, sport VARCHAR, league VARCHAR) |
SELECT MAX(top_5) FROM table_name_93 WHERE top_10 = 1 AND wins > 0 | What is the best top-5 when top-10 is 1 and there are more than 0 wins? | CREATE TABLE table_name_93 (top_5 INTEGER, top_10 VARCHAR, wins VARCHAR) |
SELECT SUM(elevation__m_) FROM table_name_45 WHERE prominence__m_ > 1 OFFSET 754 | How much Elevation (m) has a Prominence (m) larger than 1,754? | CREATE TABLE table_name_45 (elevation__m_ INTEGER, prominence__m_ INTEGER) |
SELECT points_for FROM table_13564637_5 WHERE club = "Tonyrefail RFC" | What were all the points for Tonyrefail RFC? | CREATE TABLE table_13564637_5 (points_for VARCHAR, club VARCHAR) |
SELECT colonized FROM table_name_61 WHERE charter_range = "n/a" AND school = "appalachian state" | What is the colonized date for the n/a charter range for appalachian state? | CREATE TABLE table_name_61 (colonized VARCHAR, charter_range VARCHAR, school VARCHAR) |
SELECT COUNT(*) FROM building WHERE height_feet > (SELECT AVG(height_feet) FROM building) OR floors > (SELECT AVG(floors) FROM building) | Show the number of buildings with a height above the average or a number of floors above the average. | CREATE TABLE building (height_feet INTEGER, floors INTEGER) |
SELECT season FROM table_27571406_1 WHERE team_name = "Pons Racing" | In what season did Pons Racing compete? | CREATE TABLE table_27571406_1 (season VARCHAR, team_name VARCHAR) |
SELECT home_team AS score FROM table_name_79 WHERE home_team = "collingwood" | What is the home team score when the home team is Collingwood? | CREATE TABLE table_name_79 (home_team VARCHAR) |
SELECT stage FROM table_name_49 WHERE trofeo_fast_team = "once" | What was the stage of team Once? | CREATE TABLE table_name_49 (stage VARCHAR, trofeo_fast_team VARCHAR) |
SELECT title FROM table_17482534_1 WHERE no_in_series = "96" | What is the title of episode number 96 in the series? | CREATE TABLE table_17482534_1 (title VARCHAR, no_in_series VARCHAR) |
SELECT MAX(wins) FROM table_name_11 WHERE class = "250cc" AND year = 1971 | What are the most wins in 1971 in 250cc class? | CREATE TABLE table_name_11 (wins INTEGER, class VARCHAR, year VARCHAR) |
SELECT result FROM table_name_14 WHERE game_site = "heinz field" AND record = "2-5" | What is the result of the game of heinz field with a record of 2-5? | CREATE TABLE table_name_14 (result VARCHAR, game_site VARCHAR, record VARCHAR) |
SELECT name FROM table_name_40 WHERE a_league = "150 (4)" | Which player has an A-League of 150 (4)? | CREATE TABLE table_name_40 (name VARCHAR, a_league VARCHAR) |
SELECT region FROM table_name_16 WHERE date = "2005" AND label = "playground music scandinavia" | What region has the date of 2005 and Playground Music Scandinavia as a label? | CREATE TABLE table_name_16 (region VARCHAR, date VARCHAR, label VARCHAR) |
SELECT position FROM table_name_10 WHERE height = "5-8" AND home_town = "grottoes, va" | What position does the 5-8 player from Grottoes, VA play? | CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR, home_town VARCHAR) |
SELECT date FROM table_name_92 WHERE opponent = "woking" | When did woking compete? | CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR) |
SELECT challenger FROM table_23982399_1 WHERE overall_episode__number = 5 | Who was the challenger on Episode 5? | CREATE TABLE table_23982399_1 (challenger VARCHAR, overall_episode__number VARCHAR) |
SELECT type FROM table_name_88 WHERE release_date = "november 30, 1997" | Which Type has a Release date of november 30, 1997? | CREATE TABLE table_name_88 (type VARCHAR, release_date VARCHAR) |
SELECT carbon_dioxide_emissions_per_year__10_6_tons___2006_ FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "1.4" | WHAT WAS THE AMOUNT OF CARBON DIOXIDE EMISSIONS IN 2006 IN THE COUNTRY WHOSE CO2 EMISSIONS (TONS PER PERSON) REACHED 1.4 IN 2OO7? | CREATE TABLE table_11251601_2 (carbon_dioxide_emissions_per_year__10_6_tons___2006_ VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR) |
SELECT career FROM table_name_71 WHERE rank > 1 AND average < 36.13 AND wickets = 15 AND player = "george o'brien" | What was the career of the rank higher than 1, with an average less than 36.13 and 15 wickets, and player George O'Brien? | CREATE TABLE table_name_71 (career VARCHAR, player VARCHAR, wickets VARCHAR, rank VARCHAR, average VARCHAR) |
SELECT ihsaa_class FROM table_name_73 WHERE county = "10 clark" AND mascot = "mustangs" | What is the IHSAA class for the school in 10 Clark county with mascot of the Mustangs? | CREATE TABLE table_name_73 (ihsaa_class VARCHAR, county VARCHAR, mascot VARCHAR) |
SELECT score FROM table_name_77 WHERE record = "22–19–4" | What is the score of the game when they had a record of 22–19–4? | CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) |
SELECT decision FROM table_name_20 WHERE visitor = "buffalo" | What is the decision when Buffalo was the visitor? | CREATE TABLE table_name_20 (decision VARCHAR, visitor VARCHAR) |
SELECT school FROM table_name_18 WHERE year_left = 1966 | what is the school that left in 1966? | CREATE TABLE table_name_18 (school VARCHAR, year_left VARCHAR) |
SELECT studio FROM table_name_77 WHERE year = 1943 AND title = "the hard way" | What was the studio for The Hard Way in 1943? | CREATE TABLE table_name_77 (studio VARCHAR, year VARCHAR, title VARCHAR) |
SELECT outcome FROM table_name_8 WHERE date = "07-jun-2010" | What was the outcome for the game that was played on 07-Jun-2010? | CREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR) |
SELECT MIN(latitude) FROM table_name_97 WHERE land___sqmi__ < 32.696 AND water__sqmi_ < 0 | what is the lowest latitude for the land sqmi less than 32.696 and a water sqmi less than 0 | CREATE TABLE table_name_97 (latitude INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) |
SELECT location_attendance FROM table_27756474_2 WHERE game = 5 | What location and attendance were there for game 5? | CREATE TABLE table_27756474_2 (location_attendance VARCHAR, game VARCHAR) |
SELECT SUM(rank) FROM table_name_83 WHERE total = 1 AND silver < 0 | What is the sum of the ranks with a total of 1 and silver less than 0. | CREATE TABLE table_name_83 (rank INTEGER, total VARCHAR, silver VARCHAR) |
SELECT tv_time FROM table_name_89 WHERE opponent = "at cincinnati bengals" | What is TV Time, when Opponent is At Cincinnati Bengals? | CREATE TABLE table_name_89 (tv_time VARCHAR, opponent VARCHAR) |
SELECT previous_school FROM table_24925945_3 WHERE _number = 22 | What was the previous school of #22? | CREATE TABLE table_24925945_3 (previous_school VARCHAR, _number VARCHAR) |
SELECT venue FROM table_19576091_1 WHERE date = "October 10" | What was the venue for the match on October 10? | CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR) |
SELECT number_of_episodes FROM table_name_86 WHERE status = "2001 - 2003, 2005 - 2009" | What is Number Of Episodes, when Status is "2001 - 2003, 2005 - 2009"? | CREATE TABLE table_name_86 (number_of_episodes VARCHAR, status VARCHAR) |
SELECT score FROM table_name_98 WHERE game = "4" | What is the Score of Game 4? | CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR) |
SELECT land_area FROM table_214920_1 WHERE density__pop_per_km2_ = "21.1" | What is the land area of the RCM having a density of 21.1? | CREATE TABLE table_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR) |
SELECT SUM(pl_gp) FROM table_name_44 WHERE pick__number < 122 AND player = "rob flockhart" AND rd__number < 3 | What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3? | CREATE TABLE table_name_44 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR, player VARCHAR) |
SELECT MAX(stories) FROM table_name_38 WHERE location = "recife" AND year_of_completion > 2007 AND height__m_ < 135 | What is the largest number of stories in Recife completed later than 2007 with a height less than 135 meters? | CREATE TABLE table_name_38 (stories INTEGER, height__m_ VARCHAR, location VARCHAR, year_of_completion VARCHAR) |
SELECT COUNT(batting_team) FROM table_1670921_1 WHERE wicket = "3rd" | How many teams are listed for 3rd wickets? | CREATE TABLE table_1670921_1 (batting_team VARCHAR, wicket VARCHAR) |
SELECT MAX(rank) FROM table_name_98 WHERE source = "fao" AND out_of > 50 AND name = "dietary calorie intake" | What is the highest rank that has fao as a source and an out greater than 50, with dietary calorie intake as the name? | CREATE TABLE table_name_98 (rank INTEGER, name VARCHAR, source VARCHAR, out_of VARCHAR) |
SELECT date FROM table_28898974_3 WHERE winner = "Edward Shaw" | When edward shaw is the winner what is the date? | CREATE TABLE table_28898974_3 (date VARCHAR, winner VARCHAR) |
SELECT margin FROM table_name_50 WHERE country = "united states" AND score = 63 - 70 - 65 - 69 = 267 | Which Margin has a Country of united states, and a Score of 63-70-65-69=267? | CREATE TABLE table_name_50 (margin VARCHAR, country VARCHAR, score VARCHAR) |
SELECT difference FROM table_name_57 WHERE points = 12 | What is the difference of the team with 12 points? | CREATE TABLE table_name_57 (difference VARCHAR, points VARCHAR) |
SELECT pavilion_depth FROM table_name_49 WHERE crown_angle = "34.0–34.7°" | Which Pavilion depth has a Crown angle of 34.0–34.7°? | CREATE TABLE table_name_49 (pavilion_depth VARCHAR, crown_angle VARCHAR) |
SELECT MAX(pick) FROM table_name_13 WHERE college = "fairmont state" AND round > 10 | Who had the high pick of the round of 10 for Fairmont State college? | CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR, round VARCHAR) |
SELECT building FROM table_name_22 WHERE status = "proposed" AND floors = 32 | what is a building that is proposed and will have 32 floors? | CREATE TABLE table_name_22 (building VARCHAR, status VARCHAR, floors VARCHAR) |
SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53 | Which lowest played has a Position of 2, and Goals against larger than 53? | CREATE TABLE table_name_6 (played INTEGER, position VARCHAR, goals_against VARCHAR) |
SELECT COUNT(rank) FROM table_name_98 WHERE time = "1:01.14.62" AND rider = "michael russell" | How many ranks have 1:01.14.62 as the time, with michael russell as the rider? | CREATE TABLE table_name_98 (rank VARCHAR, time VARCHAR, rider VARCHAR) |
SELECT event FROM table_name_81 WHERE score_points = "10" | What event did the shooter, who had 10 score points, compete in? | CREATE TABLE table_name_81 (event VARCHAR, score_points VARCHAR) |
SELECT location_attendance FROM table_22883210_9 WHERE team = "Golden State" | What was the location and how many attended when Golden State played? | CREATE TABLE table_22883210_9 (location_attendance VARCHAR, team VARCHAR) |
SELECT stage__winner_ FROM table_name_42 WHERE sprint_classification = "mark cavendish" AND team_classification = "garmin-chipotle-h30" AND young_classification = "mark cavendish" | Who was the winner for a Sprint Classification and Young Classification to Mark Cavendish and Garmin-Chipotle-H30 for team? | CREATE TABLE table_name_42 (stage__winner_ VARCHAR, young_classification VARCHAR, sprint_classification VARCHAR, team_classification VARCHAR) |
SELECT football_stadium FROM table_12896884_1 WHERE enrollment = 43579 | What football stadium has a school enrollment of 43579? | CREATE TABLE table_12896884_1 (football_stadium VARCHAR, enrollment VARCHAR) |
SELECT channel FROM table_name_71 WHERE play_by_play = "joel meyers" | Which channel has Joel Meyers as the Play by play commentator? | CREATE TABLE table_name_71 (channel VARCHAR, play_by_play VARCHAR) |
SELECT COUNT(points) FROM table_name_75 WHERE engine = "chevrolet" AND team = "kv racing technology" | What is the total number of points for the KV Racing Technology team when they use a chevrolet engine? | CREATE TABLE table_name_75 (points VARCHAR, engine VARCHAR, team VARCHAR) |
SELECT venue FROM table_name_20 WHERE away_team = "essendon" | What venue was essendon the away team? | CREATE TABLE table_name_20 (venue VARCHAR, away_team VARCHAR) |
SELECT start FROM table_name_70 WHERE year < 1977 | Name the start for year less than 1977 | CREATE TABLE table_name_70 (start VARCHAR, year INTEGER) |
SELECT score FROM table_name_25 WHERE date = "11 september 2010" | What Score has a Date of 11 september 2010? | CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR) |
SELECT qual_2 FROM table_name_32 WHERE best = "1:45.172" | What is the qual 2 when the best is 1:45.172? | CREATE TABLE table_name_32 (qual_2 VARCHAR, best VARCHAR) |
SELECT MIN(year) FROM table_name_7 WHERE viewers = "13.7 million" | Which Year is the lowest when the Viewers are 13.7 million? | CREATE TABLE table_name_7 (year INTEGER, viewers VARCHAR) |
SELECT season FROM table_20217456_7 WHERE rl_süd__2nd_ = "Freiburger FC" | What season was Freiburger FC the RL Süd (2nd) team? | CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__2nd_ VARCHAR) |
SELECT position FROM table_name_45 WHERE name = "jamar chaney" | What position does Jamar Chaney play? | CREATE TABLE table_name_45 (position VARCHAR, name VARCHAR) |
SELECT date FROM table_name_8 WHERE opponent = "houston" | What was the game date when the opponent was Houston? | CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) |
SELECT position FROM table_name_16 WHERE name = "ronjay buenafe" | What position has ronjay buenafe as the name? | CREATE TABLE table_name_16 (position VARCHAR, name VARCHAR) |
SELECT date FROM table_name_81 WHERE venue = "brunswick street oval" | If the Venue is brunswick street oval, what date was the game played ? | CREATE TABLE table_name_81 (date VARCHAR, venue VARCHAR) |
SELECT COUNT(attendance) FROM table_name_20 WHERE location = "td banknorth garden" AND game > 31 | What is the total number of people in attendance when the game was at TD Banknorth Garden, in a game higher than 31? | CREATE TABLE table_name_20 (attendance VARCHAR, location VARCHAR, game VARCHAR) |
SELECT tournament_winner FROM table_24248450_3 WHERE conference = "Atlantic Sun conference" | Who won the tournament for the Atlantic Sun Conference? | CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, conference VARCHAR) |
SELECT SUM(points) FROM table_name_60 WHERE year < 1971 AND entrant = "scuderia ferrari" AND engine = "ferrari v12" | What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971? | CREATE TABLE table_name_60 (points INTEGER, engine VARCHAR, year VARCHAR, entrant VARCHAR) |
SELECT result FROM table_name_47 WHERE original_title = "tiānmǎ cháfáng (天馬茶房)" | What is Result, when Original Title is "Tiānmǎ Cháfáng (天馬茶房)"? | CREATE TABLE table_name_47 (result VARCHAR, original_title VARCHAR) |
SELECT MIN(area___ha__) FROM table_21302_1 WHERE no_of_villages = 18 | If there are 18 villages, what is the minimum area ? | CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR) |
SELECT AVG(margin) FROM table_name_30 WHERE player = "russ cochran" | What is russ cochran's average margin? | CREATE TABLE table_name_30 (margin INTEGER, player VARCHAR) |
SELECT MIN(mccain_number) FROM table_20453681_1 WHERE obama_percentage = "35.7%" AND others_percentage = "1.9%" | What's the number of McCain votes in the county where Obama got 35.7% and others got 1.9% of the votes? | CREATE TABLE table_20453681_1 (mccain_number INTEGER, obama_percentage VARCHAR, others_percentage VARCHAR) |
SELECT date FROM table_name_3 WHERE result = "missed*" AND game_time = "2nd quarter (0:00)" AND kicker = "mason crosby" | Result of missed*, and a Game time of 2nd quarter (0:00), and a Kicker of mason crosby involves what date? | CREATE TABLE table_name_3 (date VARCHAR, kicker VARCHAR, result VARCHAR, game_time VARCHAR) |
SELECT game FROM table_27756474_2 WHERE high_rebounds = "Marc Gasol (10)" | Which game did marc gasol (10) have the high rebounds? | CREATE TABLE table_27756474_2 (game VARCHAR, high_rebounds VARCHAR) |
SELECT ipsos_5_30_09 FROM table_name_16 WHERE bva_6_1_09 = "3%" | When BVA was 3%, what was the Ipsos? | CREATE TABLE table_name_16 (ipsos_5_30_09 VARCHAR, bva_6_1_09 VARCHAR) |
SELECT position FROM table_name_20 WHERE game_2 = "andrew farrar" | During Game 2, which position did Andrew Farrar play? | CREATE TABLE table_name_20 (position VARCHAR, game_2 VARCHAR) |
SELECT series__number FROM table_23399481_3 WHERE us_viewers__in_millions_ = "1.42" | What episode had 1.42 million viewers? | CREATE TABLE table_23399481_3 (series__number VARCHAR, us_viewers__in_millions_ VARCHAR) |
SELECT us_original_airdate FROM table_29475589_5 WHERE _number = 9 | When the # is 9 what is the U.S original airdate? | CREATE TABLE table_29475589_5 (us_original_airdate VARCHAR, _number VARCHAR) |
SELECT no_in_season FROM table_11562149_1 WHERE no_in_series = "111" | List the episode whose number in the series is 111. | CREATE TABLE table_11562149_1 (no_in_season VARCHAR, no_in_series VARCHAR) |
SELECT MAX(fumbles) FROM table_name_56 WHERE yards > 44 AND att = 32 | What is the most fumbles for more than 44 yards and att of 32? | CREATE TABLE table_name_56 (fumbles INTEGER, yards VARCHAR, att VARCHAR) |
SELECT score FROM table_name_38 WHERE opponent = "daniel gimeno-traver" | What is Score, when Opponent is "Daniel Gimeno-Traver"? | CREATE TABLE table_name_38 (score VARCHAR, opponent VARCHAR) |
SELECT score FROM table_name_51 WHERE date = "december 2" | What is the score on December 2? | CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR) |
SELECT crew FROM table_name_49 WHERE comments = "daggerboards. design: roy seaman" | Which Crew has Comments of daggerboards. design: roy seaman? | CREATE TABLE table_name_49 (crew VARCHAR, comments VARCHAR) |
SELECT away_team FROM table_name_11 WHERE home_team = "luton town" | who is the away team when the home team is luton town? | CREATE TABLE table_name_11 (away_team VARCHAR, home_team VARCHAR) |
SELECT club FROM table_17625749_1 WHERE tries_for = "32" | Name the club for when tries for is 32 | CREATE TABLE table_17625749_1 (club VARCHAR, tries_for VARCHAR) |
SELECT place FROM table_name_74 WHERE score = 66 - 74 - 68 - 73 = 281 | what place has score 66-74-68-73=281 | CREATE TABLE table_name_74 (place VARCHAR, score VARCHAR) |
SELECT minister FROM party ORDER BY left_office DESC LIMIT 1 | Return the minister who left office at the latest time. | CREATE TABLE party (minister VARCHAR, left_office VARCHAR) |
SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 4" | Name the total number of result for mississippi 4? | CREATE TABLE table_1342393_23 (result VARCHAR, district VARCHAR) |
SELECT area_served FROM table_name_46 WHERE on_air_id = "abc canberra" | Name the area served for on-air ID of abc canberra | CREATE TABLE table_name_46 (area_served VARCHAR, on_air_id VARCHAR) |
SELECT original_title FROM table_name_83 WHERE english_title = "madame rosa" | What is the original title of Madame Rosa? | CREATE TABLE table_name_83 (original_title VARCHAR, english_title VARCHAR) |
SELECT writer FROM table_23705843_1 WHERE ratings__millions_ = "2.61" | What is the name of the writer when the ratings was 2.61 million? | CREATE TABLE table_23705843_1 (writer VARCHAR, ratings__millions_ VARCHAR) |
SELECT result_f___a FROM table_name_11 WHERE h___a = "h" AND attendance > 31 OFFSET 727 | What is the result F-A with an H/A of h and more than 31,727 attending? | CREATE TABLE table_name_11 (result_f___a VARCHAR, h___a VARCHAR, attendance VARCHAR) |
SELECT written_by FROM table_15584067_7 WHERE no_in_season = "11" | Name who wrote the 11 number in the season | CREATE TABLE table_15584067_7 (written_by VARCHAR, no_in_season VARCHAR) |
SELECT COUNT(population__2011_) FROM table_2562572_12 WHERE settlement = "Mladenovo" | How many populations are listed for mladenovo? | CREATE TABLE table_2562572_12 (population__2011_ VARCHAR, settlement VARCHAR) |
SELECT result FROM table_name_38 WHERE original_title = "qala" | What is Result, when Original Title is "Qala"? | CREATE TABLE table_name_38 (result VARCHAR, original_title VARCHAR) |
SELECT opponent FROM table_name_14 WHERE date = "august 25" | what team played on august 25 | CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR) |
SELECT district FROM table_name_61 WHERE incumbent = "joseph t. johnson" | Which district has joseph t. johnson as an incumbent? | CREATE TABLE table_name_61 (district VARCHAR, incumbent VARCHAR) |
SELECT score FROM table_name_76 WHERE date = "september 26" | What was the score in the September 26 game? | CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) |
SELECT AVG(pick) FROM table_name_70 WHERE school_club_team = "florida state" | What is the average pick for Florida State? | CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.