question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the population of Chimbote? | CREATE TABLE table_name_38 (population INTEGER, name_of_city VARCHAR) | SELECT SUM(population) FROM table_name_38 WHERE name_of_city = "chimbote" |
Which music video was from the album Map of the Human Soul? | CREATE TABLE table_name_96 (music_video VARCHAR, album VARCHAR) | SELECT music_video FROM table_name_96 WHERE album = "map of the human soul" |
When was the team that plays at Athelstone founded? | CREATE TABLE table_name_59 (founded VARCHAR, location VARCHAR) | SELECT founded FROM table_name_59 WHERE location = "athelstone" |
When Marlene was nominated for the Olivier Award, what was the result? | CREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR) | SELECT result FROM table_name_33 WHERE nominated_work = "marlene" AND award = "olivier award" |
how many times is gold more than 0 and the rank less than 2? | CREATE TABLE table_name_64 (silver VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_64 WHERE gold > 0 AND rank < 2 |
What engine has more than 0 pts? | CREATE TABLE table_name_79 (engine VARCHAR, pts INTEGER) | SELECT engine FROM table_name_79 WHERE pts > 0 |
what is the state for reason for change is resigned may 15, 1820? | CREATE TABLE table_225099_3 (state__class_ VARCHAR, reason_for_change VARCHAR) | SELECT state__class_ FROM table_225099_3 WHERE reason_for_change = "Resigned May 15, 1820" |
Who was the Prato Elector with a faction of Italian? | CREATE TABLE table_name_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR) | SELECT elector FROM table_name_51 WHERE faction = "italian" AND nationality = "prato" |
What is the title of the episode watched by 3.2 million viewers? | CREATE TABLE table_26448179_4 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_26448179_4 WHERE us_viewers__millions_ = "3.2" |
What are the results for a game with an attendance of 41,429? | CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_70 WHERE attendance = "41,429" |
WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282? | CREATE TABLE table_name_2 (population__2007_ VARCHAR, population__2010_ INTEGER) | SELECT COUNT(population__2007_) FROM table_name_2 WHERE population__2010_ < 1282 |
who had high assists on december 3? | CREATE TABLE table_27756314_7 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_27756314_7 WHERE date = "December 3" |
Which Network has a Local name of moj tata je bolji od tvog tate? | CREATE TABLE table_name_56 (network VARCHAR, local_name VARCHAR) | SELECT network FROM table_name_56 WHERE local_name = "moj tata je bolji od tvog tate" |
What's the sum of sign with more than 53 bits precision, double extended (80-bit) type, and more than 80 total bits? | CREATE TABLE table_name_98 (sign INTEGER, total_bits VARCHAR, bits_precision VARCHAR, type VARCHAR) | SELECT SUM(sign) FROM table_name_98 WHERE bits_precision > 53 AND type = "double extended (80-bit)" AND total_bits > 80 |
How many total dismissals did the player for Guyana have? | CREATE TABLE table_27771406_1 (total_dismissals INTEGER, club VARCHAR) | SELECT MAX(total_dismissals) FROM table_27771406_1 WHERE club = "Guyana" |
What date were Romania at Home at the Bucharest Venue with a Score of 13-19? | CREATE TABLE table_name_80 (date VARCHAR, score VARCHAR, home VARCHAR, venue VARCHAR) | SELECT date FROM table_name_80 WHERE home = "romania" AND venue = "bucharest" AND score = "13-19" |
Can you tell me the manufacturer behind Race Hill Farm Team? | CREATE TABLE table_2267465_1 (manufacturer VARCHAR, team VARCHAR) | SELECT manufacturer FROM table_2267465_1 WHERE team = "Race Hill Farm team" |
What is the 2005 Lukoil oil prodroduction when in 2007 oil production 5.545 million tonnes? | CREATE TABLE table_name_88 (Id VARCHAR) | SELECT 2005 FROM table_name_88 WHERE 2007 = "5.545" |
What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme? | CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR) | SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002 |
Which position was selected for by the Toronto Maple Leafs? | CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_2850912_4 WHERE nhl_team = "Toronto Maple Leafs" |
Who was the home team for the game where North Melbourne was the away team? | CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_59 WHERE away_team = "north melbourne" |
What is the average position of club burgos cf, which has more than 42 goals against and more than 14 losses? | CREATE TABLE table_name_60 (position INTEGER, losses VARCHAR, goals_against VARCHAR, club VARCHAR) | SELECT AVG(position) FROM table_name_60 WHERE goals_against > 42 AND club = "burgos cf" AND losses > 14 |
What is Opponent, when October is less than 31, and when Game is greater than 7? | CREATE TABLE table_name_12 (opponent VARCHAR, october VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_12 WHERE october < 31 AND game > 7 |
What is the highest 2009 value with a 2006 value smaller than 280.4, a 2007 less than 2.2, and a 2011 less than 3.5? | CREATE TABLE table_name_10 (Id VARCHAR) | SELECT MAX(2009) FROM table_name_10 WHERE 2006 < 280.4 AND 2007 < 2.2 AND 2010 < 3.5 |
What is every location for the date of March 20? | CREATE TABLE table_23486853_8 (location VARCHAR, date VARCHAR) | SELECT location FROM table_23486853_8 WHERE date = "March 20" |
What is the Man of the Match of the Competition with a Result of lost 2-5? | CREATE TABLE table_name_73 (man_of_the_match VARCHAR, result VARCHAR) | SELECT man_of_the_match FROM table_name_73 WHERE result = "lost 2-5" |
What is the largest total that has a gold less than 0? | CREATE TABLE table_name_57 (total INTEGER, gold INTEGER) | SELECT MAX(total) FROM table_name_57 WHERE gold < 0 |
What is the sum of December, when Game is greater than 31, and when Score is "5 - 2"? | CREATE TABLE table_name_61 (december INTEGER, game VARCHAR, score VARCHAR) | SELECT SUM(december) FROM table_name_61 WHERE game > 31 AND score = "5 - 2" |
What is every entry for Friday August 26 when the entry for Wednesday August 24 is 23' 52.67 94.807mph? | CREATE TABLE table_30058355_7 (fri_26_aug VARCHAR, wed_24_aug VARCHAR) | SELECT fri_26_aug FROM table_30058355_7 WHERE wed_24_aug = "23' 52.67 94.807mph" |
Which Nominated Work won in 2000? | CREATE TABLE table_name_15 (nominated_work VARCHAR, year VARCHAR, results VARCHAR) | SELECT nominated_work FROM table_name_15 WHERE year = 2000 AND results = "won" |
Who was the Long Beach constructor? | CREATE TABLE table_name_24 (constructor VARCHAR, location VARCHAR) | SELECT constructor FROM table_name_24 WHERE location = "long beach" |
What's the lowest diameter when the longitude is 71.1w? | CREATE TABLE table_name_71 (diameter INTEGER, longitude VARCHAR) | SELECT MIN(diameter) FROM table_name_71 WHERE longitude = "71.1w" |
How many total gold are less than 4? | CREATE TABLE table_name_14 (gold VARCHAR, total INTEGER) | SELECT COUNT(gold) FROM table_name_14 WHERE total < 4 |
Which Administrative district has a Pre-1009 province of gwannae -do and a Post-1009 province of seohae -do? | CREATE TABLE table_name_76 (administrative_district VARCHAR, pre_1009_province VARCHAR, post_1009_province VARCHAR) | SELECT administrative_district FROM table_name_76 WHERE pre_1009_province = "gwannae -do" AND post_1009_province = "seohae -do" |
What is Heart of Rome's catalogue number? | CREATE TABLE table_name_73 (catalogue VARCHAR, song_title VARCHAR) | SELECT catalogue FROM table_name_73 WHERE song_title = "heart of rome" |
where did obama get 39.8% | CREATE TABLE table_20424014_1 (county VARCHAR, obama__percentage VARCHAR) | SELECT county FROM table_20424014_1 WHERE obama__percentage = "39.8%" |
What are the point value(s) for when the athlete was Barney Berlinger? | CREATE TABLE table_26454128_9 (points VARCHAR, athlete VARCHAR) | SELECT points FROM table_26454128_9 WHERE athlete = "Barney Berlinger" |
What is the points where Toronto was the home team and the game number was larger than 63? | CREATE TABLE table_name_59 (points INTEGER, home VARCHAR, game__number VARCHAR) | SELECT MAX(points) FROM table_name_59 WHERE home = "toronto" AND game__number > 63 |
What was the episode number that had 797000 viewers? | CREATE TABLE table_25737761_3 (no VARCHAR, viewing_figure VARCHAR) | SELECT no FROM table_25737761_3 WHERE viewing_figure = 797000 |
What country came in third when there were 13 teams in 1996? | CREATE TABLE table_name_25 (third VARCHAR, teams VARCHAR, season VARCHAR) | SELECT third FROM table_name_25 WHERE teams = 13 AND season = 1996 |
What is the wattage/TDP associated with model name 4x0? | CREATE TABLE table_24099628_1 (tdp VARCHAR, model__list_ VARCHAR) | SELECT tdp FROM table_24099628_1 WHERE model__list_ = "4x0" |
What season was there a 2nd place finish? | CREATE TABLE table_name_81 (season VARCHAR, position VARCHAR) | SELECT season FROM table_name_81 WHERE position = "2nd" |
What in 2007 has a 2010 of qf, and a 2012 of w? | CREATE TABLE table_name_92 (Id VARCHAR) | SELECT 2007 FROM table_name_92 WHERE 2010 = "qf" AND 2012 = "w" |
What's the total of Year that's got a Team of Porsche Kremer Racing? | CREATE TABLE table_name_37 (year INTEGER, team VARCHAR) | SELECT SUM(year) FROM table_name_37 WHERE team = "porsche kremer racing" |
What team was the away team for the venue punt road oval? | CREATE TABLE table_name_4 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_4 WHERE venue = "punt road oval" |
How many races were there when Sigachev had 38 points? | CREATE TABLE table_25421463_1 (races INTEGER, points VARCHAR) | SELECT MIN(races) FROM table_25421463_1 WHERE points = "38" |
What are the top 5 average finishes equalling 40.3? | CREATE TABLE table_2182562_1 (top_5 VARCHAR, avg_finish VARCHAR) | SELECT top_5 FROM table_2182562_1 WHERE avg_finish = "40.3" |
What is the difficulty of the athens circuit? | CREATE TABLE table_24463470_1 (difficulty VARCHAR, circuit VARCHAR) | SELECT difficulty FROM table_24463470_1 WHERE circuit = "Athens" |
Which Lead has a Nation of switzerland? | CREATE TABLE table_name_15 (lead VARCHAR, nation VARCHAR) | SELECT lead FROM table_name_15 WHERE nation = "switzerland" |
WHAT IS THE DIRECTOR WITH FILM hope and pain? | CREATE TABLE table_name_28 (director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director FROM table_name_28 WHERE film_title_used_in_nomination = "hope and pain" |
What year at CU is the person in video services with an experience less than 1? | CREATE TABLE table_name_8 (year_at_cu VARCHAR, experience VARCHAR, position VARCHAR) | SELECT year_at_cu FROM table_name_8 WHERE experience < 1 AND position = "video services" |
What kind of party is the district in Alabama 1? | CREATE TABLE table_1342338_3 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1342338_3 WHERE district = "Alabama 1" |
Who is the producer for the director Richard Clark? | CREATE TABLE table_name_31 (producer VARCHAR, director VARCHAR) | SELECT producer FROM table_name_31 WHERE director = "richard clark" |
What is the category number that was released in November 2007? | CREATE TABLE table_name_85 (cat__number VARCHAR, release_date VARCHAR) | SELECT cat__number FROM table_name_85 WHERE release_date = "november 2007" |
Which player is on the roster for the Sydney University Lions? | CREATE TABLE table_name_58 (name VARCHAR, club VARCHAR) | SELECT name FROM table_name_58 WHERE club = "sydney university lions" |
Who wrote episode #1 in season 7? | CREATE TABLE table_10470082_8 (writer VARCHAR, _number VARCHAR) | SELECT COUNT(writer) FROM table_10470082_8 WHERE _number = 1 |
Which source has a Cost free, and an Activity of some, and an Editor of markitup? | CREATE TABLE table_name_48 (open_source VARCHAR, editor VARCHAR, cost___us$__ VARCHAR, activity VARCHAR) | SELECT open_source FROM table_name_48 WHERE cost___us$__ = "free" AND activity = "some" AND editor = "markitup" |
Please show the most common publication date. | CREATE TABLE publication (Publication_Date VARCHAR) | SELECT Publication_Date FROM publication GROUP BY Publication_Date ORDER BY COUNT(*) DESC LIMIT 1 |
Which score has a prize of $400? | CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR) | SELECT score FROM table_name_77 WHERE money___$__ = 400 |
What is the Time with a Score that is 80-34? | CREATE TABLE table_name_38 (time VARCHAR, score VARCHAR) | SELECT time FROM table_name_38 WHERE score = "80-34" |
What were Holly Scouler's total votes? | CREATE TABLE table_name_27 (total_votes VARCHAR, members VARCHAR) | SELECT total_votes FROM table_name_27 WHERE members = "holly scouler" |
Which team 1 had a team 2 of Asante Kotoko? | CREATE TABLE table_name_79 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_79 WHERE team_2 = "asante kotoko" |
What was the score of the match on April 23, 2007? | CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_65 WHERE date = "april 23, 2007" |
What award did Charlie Productions Ltd receive? | CREATE TABLE table_name_14 (award VARCHAR, recipient VARCHAR) | SELECT award FROM table_name_14 WHERE recipient = "charlie productions ltd" |
What was fitzroy's score at home? | CREATE TABLE table_name_27 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_27 WHERE home_team = "fitzroy" |
What is the name of the person with a 1:10.771 qual 2? | CREATE TABLE table_name_60 (name VARCHAR, qual_2 VARCHAR) | SELECT name FROM table_name_60 WHERE qual_2 = "1:10.771" |
In what event is the opponent Joe Nameth? | CREATE TABLE table_name_25 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_25 WHERE opponent = "joe nameth" |
What is the launch date odds of winning 1 in 4.54? | CREATE TABLE table_name_2 (launch_date VARCHAR, odds_of_winning VARCHAR) | SELECT launch_date FROM table_name_2 WHERE odds_of_winning = "1 in 4.54" |
During what competition was a game played with a score of 3–1? | CREATE TABLE table_name_95 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_95 WHERE score = "3–1" |
Can you tell me the average Points that has the Attendance of 3,806? | CREATE TABLE table_name_42 (points INTEGER, attendance VARCHAR) | SELECT AVG(points) FROM table_name_42 WHERE attendance = 3 OFFSET 806 |
What day did the person who finished in 12th place leave on? | CREATE TABLE table_name_53 (exited VARCHAR, finished VARCHAR) | SELECT exited FROM table_name_53 WHERE finished = "12th" |
What is the GDP (billion US$) of the country that has an Area (km²) of 316? | CREATE TABLE table_name_76 (gdp__billion_us$_ VARCHAR, area__km²_ VARCHAR) | SELECT gdp__billion_us$_ FROM table_name_76 WHERE area__km²_ = "316" |
Which Line has a Platform of 3? | CREATE TABLE table_name_62 (line VARCHAR, platform VARCHAR) | SELECT line FROM table_name_62 WHERE platform = "3" |
What Entrant has 0 points and from 1997? | CREATE TABLE table_name_67 (entrant VARCHAR, points VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_67 WHERE points = 0 AND year = 1997 |
Name the number of total pts for gbr challenge | CREATE TABLE table_21457754_2 (total_pts VARCHAR, team_name VARCHAR) | SELECT COUNT(total_pts) FROM table_21457754_2 WHERE team_name = "GBR Challenge" |
what's the former province with area (km 2 ) being 12,245.9 | CREATE TABLE table_1404456_1 (former_province VARCHAR, area__km_2__ VARCHAR) | SELECT former_province FROM table_1404456_1 WHERE area__km_2__ = "12,245.9" |
What is the time/retired of the one with grid of 16? | CREATE TABLE table_name_60 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_60 WHERE grid = 16 |
What is the grid for johnny herbert? | CREATE TABLE table_name_6 (grid VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_6 WHERE driver = "johnny herbert" |
Which Date has a Result of 3–4? | CREATE TABLE table_name_11 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_11 WHERE result = "3–4" |
What was the attendance of the Cup Quarterfinals game? | CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_21 WHERE game_site = "cup quarterfinals" |
What is the To Par of Peter Senior from Australia? | CREATE TABLE table_name_28 (to_par VARCHAR, country VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_28 WHERE country = "australia" AND player = "peter senior" |
What is the attendance with a 45 tie no.? | CREATE TABLE table_name_73 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_73 WHERE tie_no = "45" |
What is the Bulgarian Commander of the Battle of Rusion? | CREATE TABLE table_name_39 (bulgarian_commander VARCHAR, battle VARCHAR) | SELECT bulgarian_commander FROM table_name_39 WHERE battle = "battle of rusion" |
How many times was the time 20' 05.19 112.703mph on Thurs Aug 26th? | CREATE TABLE table_26986076_1 (sat_21_aug VARCHAR, thurs_26_aug VARCHAR) | SELECT COUNT(sat_21_aug) FROM table_26986076_1 WHERE thurs_26_aug = "20' 05.19 112.703mph" |
Tell me the NHL team for ryan johnson | CREATE TABLE table_name_69 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_name_69 WHERE player = "ryan johnson" |
How many population total figures are there for the year when Allora's population was 2132? | CREATE TABLE table_12584173_1 (population__region_total_ VARCHAR, population__allora_ VARCHAR) | SELECT COUNT(population__region_total_) FROM table_12584173_1 WHERE population__allora_ = 2132 |
What is the nba draft for the player from the hometown of virginia beach, va? | CREATE TABLE table_11677760_1 (nba_draft VARCHAR, hometown VARCHAR) | SELECT nba_draft FROM table_11677760_1 WHERE hometown = "Virginia Beach, VA" |
What was the score for the South American Championship dated December 13, 1925? | CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR) | SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925" |
Which venues were closed because they were replaced? | CREATE TABLE table_name_5 (location VARCHAR, reason VARCHAR) | SELECT location FROM table_name_5 WHERE reason = "replaced" |
What is the position of the player from the college of North Carolina with an overall less than 100? | CREATE TABLE table_name_47 (position VARCHAR, overall VARCHAR, college VARCHAR) | SELECT position FROM table_name_47 WHERE overall < 100 AND college = "north carolina" |
Who scored the most assists in game 59? | CREATE TABLE table_15780718_8 (high_assists VARCHAR, game VARCHAR) | SELECT high_assists FROM table_15780718_8 WHERE game = 59 |
when was the ship launched when it was laid down 20 october 1924 and built by fujinagata shipyards, japan? | CREATE TABLE table_name_36 (launched VARCHAR, builder VARCHAR, laid_down VARCHAR) | SELECT launched FROM table_name_36 WHERE builder = "fujinagata shipyards, japan" AND laid_down = "20 october 1924" |
What is long-term C PK when the short-term C PK is 2.00? | CREATE TABLE table_222448_1 (long_term_c_pk VARCHAR, short_term_c_pk VARCHAR) | SELECT long_term_c_pk FROM table_222448_1 WHERE short_term_c_pk = "2.00" |
What was coach Dick Bennett's overall win percentage? | CREATE TABLE table_name_5 (overall_win_percentage VARCHAR, coach VARCHAR) | SELECT overall_win_percentage FROM table_name_5 WHERE coach = "dick bennett" |
What is the station type of DWZM-TV? | CREATE TABLE table_24673888_1 (station_type VARCHAR, callsign VARCHAR) | SELECT station_type FROM table_24673888_1 WHERE callsign = "DWZM-TV" |
Churai has what as the fewest number of electorates? | CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) | SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai" |
What is the greatest played with a drawn less than 1 and a position of less than 1? | CREATE TABLE table_name_99 (played INTEGER, drawn VARCHAR, position VARCHAR) | SELECT MAX(played) FROM table_name_99 WHERE drawn < 1 AND position < 1 |
What is the Playoffs MVP of the game with a Result of 4–1 with Champions Daejeon Hyundai Dynat? | CREATE TABLE table_name_65 (playoffs_mvp VARCHAR, result VARCHAR, champions VARCHAR) | SELECT playoffs_mvp FROM table_name_65 WHERE result = "4–1" AND champions = "daejeon hyundai dynat" |
What was the date if the driver was Robert Pressley? | CREATE TABLE table_2260452_1 (date VARCHAR, driver VARCHAR) | SELECT date FROM table_2260452_1 WHERE driver = "Robert Pressley" |
How many matches were there in the round with £1,000,000 in prize money? | CREATE TABLE table_name_15 (matches VARCHAR, prize_money VARCHAR) | SELECT COUNT(matches) FROM table_name_15 WHERE prize_money = "£1,000,000" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.