answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT previous_season_2007_2008 FROM table_19526911_1 WHERE website = "www.novavolley.narod.ru"
What are the previous season ranks of teams whose website is www.novavolley.narod.ru?
CREATE TABLE table_19526911_1 (previous_season_2007_2008 VARCHAR, website VARCHAR)
SELECT stadium FROM table_name_67 WHERE visiting_team = "green bay packers"
At what stadium did the Green Bay Packers play an away game?
CREATE TABLE table_name_67 (stadium VARCHAR, visiting_team VARCHAR)
SELECT tournament FROM table_name_75 WHERE surface = "hard" AND finalist = "jan-michael gambill (19)"
Where was the tournament where the match was on a hard surface and jan-michael gambill (19) was the finalist?
CREATE TABLE table_name_75 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR)
SELECT MAX(losses) FROM table_name_19 WHERE games_played = 8 AND goals_for < 48
for goals less than 48 and 8 games played what is the count of losses?
CREATE TABLE table_name_19 (losses INTEGER, games_played VARCHAR, goals_for VARCHAR)
SELECT city FROM table_name_89 WHERE name_in_english = "socialist party of the extremadurian people"
What is the name of the city with the Socialist Party of the Extremadurian People?
CREATE TABLE table_name_89 (city VARCHAR, name_in_english VARCHAR)
SELECT runners_up FROM table_name_1 WHERE result = "4–1" AND champions = "wonju dongbu promy"
What is the Runners-up of the game with a Result of 4–1 and Champions of Wonju Dongbu Promy?
CREATE TABLE table_name_1 (runners_up VARCHAR, result VARCHAR, champions VARCHAR)
SELECT airport FROM table_name_75 WHERE country = "angola" AND icao = "fnsa"
What is Angola's airport and ICAO of fnsa?
CREATE TABLE table_name_75 (airport VARCHAR, country VARCHAR, icao VARCHAR)
SELECT away_team AS score FROM table_16388545_1 WHERE ground = "Telstra Stadium"
What was the away team's score of at the game of telstra stadium?
CREATE TABLE table_16388545_1 (away_team VARCHAR, ground VARCHAR)
SELECT colors FROM table_1221089_1 WHERE institution = "University of New Hampshire"
What are the school colors of the University of New Hampshire?
CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR)
SELECT home_team FROM table_name_90 WHERE away_team = "wrexham"
What is the Home team with an Away team that is wrexham?
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
SELECT result FROM table_name_24 WHERE week = 15
What is week 15's result?
CREATE TABLE table_name_24 (result VARCHAR, week VARCHAR)
SELECT engine FROM table_name_29 WHERE rounds = "11" AND teams = "25"
Name the engine with rounds of 11 and teams of 25
CREATE TABLE table_name_29 (engine VARCHAR, rounds VARCHAR, teams VARCHAR)
SELECT date FROM table_name_43 WHERE away = "high park demons"
What is Date, when Away is High Park Demons?
CREATE TABLE table_name_43 (date VARCHAR, away VARCHAR)
SELECT time FROM table_name_12 WHERE jockey = "cornelio velasquez"
What is the time for when cornelio velasquez was the jockey?
CREATE TABLE table_name_12 (time VARCHAR, jockey VARCHAR)
SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = "internal selection" AND year_s_ = "2011"
What is the name of the national final main host when the semi final/heat host shows internal selection in 2011?
CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)
SELECT replica FROM table_name_46 WHERE race = "supersport race 1"
What Replica has a race of supersport race 1?
CREATE TABLE table_name_46 (replica VARCHAR, race VARCHAR)
SELECT party FROM table_1341453_11 WHERE incumbent = "Bill McCollum"
What party does Bill McCollum belong to?
CREATE TABLE table_1341453_11 (party VARCHAR, incumbent VARCHAR)
SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "north melbourne"
How many attended the game with north melbourne as the away side?
CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR)
SELECT series FROM table_name_53 WHERE date = "september 15, 2007"
Which Series are on september 15, 2007?
CREATE TABLE table_name_53 (series VARCHAR, date VARCHAR)
SELECT party FROM table_1342149_43 WHERE incumbent = "Wright Patman"
What party did incumbent Wright Patman belong to?
CREATE TABLE table_1342149_43 (party VARCHAR, incumbent VARCHAR)
SELECT AVG(tie_no) FROM table_name_66 WHERE attendance = 126
what is the tie no when the attendance is 126?
CREATE TABLE table_name_66 (tie_no INTEGER, attendance VARCHAR)
SELECT years_in_orlando FROM table_name_10 WHERE nationality = "united states" AND position = "center" AND player = "jawann oldham"
Which Years in Orlando has a Nationality of united states, a Position of center, and a Player of jawann oldham?
CREATE TABLE table_name_10 (years_in_orlando VARCHAR, player VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT high_points FROM table_name_26 WHERE date = "may 27"
Who had the highest points of the game on May 27?
CREATE TABLE table_name_26 (high_points VARCHAR, date VARCHAR)
SELECT record FROM table_name_1 WHERE date = "october 20"
What was the oilers record on October 20?
CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_44 WHERE tie_no = "replay" AND attendance = "2,048"
What is Home Team, when Tie No is Replay, and when Attendance is 2,048?
CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR)
SELECT а_а_[a] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = "Ш ш [ʂʃ]"
what is а а [a] when ҕь ҕь [ʁʲ/ɣʲ] is ш ш [ʂʃ]?
CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)
SELECT assist_pass FROM table_name_22 WHERE location = "albufeira"
What's Albufeira's assist/pass?
CREATE TABLE table_name_22 (assist_pass VARCHAR, location VARCHAR)
SELECT extension FROM table_22771048_3 WHERE city_neighborhood = "University of Washington"
Name the extension for university of washington
CREATE TABLE table_22771048_3 (extension VARCHAR, city_neighborhood VARCHAR)
SELECT SUM(silver) FROM table_name_30 WHERE rank = "7"
What is the sum of silver medals won for rank 7?
CREATE TABLE table_name_30 (silver INTEGER, rank VARCHAR)
SELECT origin FROM table_name_57 WHERE in_service = 1
For the vessel with a listed In service of 1, what is the origin given?
CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR)
SELECT 18 AS _49__rating_share_ FROM table_name_1 WHERE weekly_rank___number_ = "30"
Name the 18-49 rating for weekly rank of 30
CREATE TABLE table_name_1 (weekly_rank___number_ VARCHAR)
SELECT d_46 FROM table_name_54 WHERE d_45 = "r 5"
I want the D 46 for D 45 of r 5
CREATE TABLE table_name_54 (d_46 VARCHAR, d_45 VARCHAR)
SELECT highest_position FROM table_13805432_2 WHERE artist = "Frankie Avalon"
what's the highest position with artbeingt being frankie avalon
CREATE TABLE table_13805432_2 (highest_position VARCHAR, artist VARCHAR)
SELECT MAX(last_year) FROM table_2472711_31 WHERE lowest = 23578
What is the last year total for the team with a lowest of 23578?
CREATE TABLE table_2472711_31 (last_year INTEGER, lowest VARCHAR)
SELECT AVG(rank) FROM table_name_24 WHERE points > 12
What is the average rank for more than 12 points?
CREATE TABLE table_name_24 (rank INTEGER, points INTEGER)
SELECT COUNT(average) FROM table_name_40 WHERE career = "1990-1995" AND goals < 90
What is the total average for 1990-1995, and goals less than 90?
CREATE TABLE table_name_40 (average VARCHAR, career VARCHAR, goals VARCHAR)
SELECT captain FROM table_name_31 WHERE manager = "gianluca vialli"
Which captain is managed by gianluca vialli?
CREATE TABLE table_name_31 (captain VARCHAR, manager VARCHAR)
SELECT AVG(lost) FROM table_name_21 WHERE difference = "- 3" AND played < 10
What is the average Lost when the difference is - 3, and a Played is less than 10?
CREATE TABLE table_name_21 (lost INTEGER, difference VARCHAR, played VARCHAR)
SELECT college FROM table_name_34 WHERE pick < 145 AND player = "jeff wilkins"
What is College, when Pick is less than 145, and when Player is Jeff Wilkins?
CREATE TABLE table_name_34 (college VARCHAR, pick VARCHAR, player VARCHAR)
SELECT place FROM table_name_98 WHERE country = "south africa" AND player = "retief goosen"
Name the place for south africa and retief goosen
CREATE TABLE table_name_98 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT MAX(year) FROM table_name_57 WHERE team = "ajs" AND wins < 0
What is the most recent year for the ajs team when there are fewer than 0 wins?
CREATE TABLE table_name_57 (year INTEGER, team VARCHAR, wins VARCHAR)
SELECT MAX(population) FROM table_2374338_2
What is the largest value of population?
CREATE TABLE table_2374338_2 (population INTEGER)
SELECT runner_up FROM table_name_95 WHERE tournament = "seiersberg"
Who is the Runner-up in Tournament of seiersberg
CREATE TABLE table_name_95 (runner_up VARCHAR, tournament VARCHAR)
SELECT AVG(interview) FROM table_name_29 WHERE evening_gown < 8.82 AND state = "louisiana"
What is the average interview score of a contestant from Louisiana with an evening gown smaller than 8.82?
CREATE TABLE table_name_29 (interview INTEGER, evening_gown VARCHAR, state VARCHAR)
SELECT result FROM table_name_32 WHERE week = 4
What was the result of the game in week 4?
CREATE TABLE table_name_32 (result VARCHAR, week VARCHAR)
SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND driver = "george eaton"
What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8?
CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT edition FROM table_name_95 WHERE surface = "clay" AND opponent = "park sung-hee"
Which kind of Edition that has a Surface of clay, and Park Sung-Hee as an opponent?
CREATE TABLE table_name_95 (edition VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT airdate FROM table_15739098_2 WHERE story = "Hugh Leonard"
What is the airdate when the story is listed as hugh leonard?
CREATE TABLE table_15739098_2 (airdate VARCHAR, story VARCHAR)
SELECT COUNT(candidates) FROM table_1341930_40 WHERE incumbent = "L. Mendel Rivers"
Name the candidates for l. mendel rivers
CREATE TABLE table_1341930_40 (candidates VARCHAR, incumbent VARCHAR)
SELECT 2008 FROM table_name_67 WHERE 2012 = "qf" AND 2005 = "qf"
What is the 2008 result when 2012 and 2005 are both QF?
CREATE TABLE table_name_67 (Id VARCHAR)
SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName
Find the states where have some college students in tryout.
CREATE TABLE college (cName VARCHAR); CREATE TABLE tryout (cName VARCHAR)
SELECT COUNT(unemployment_rate) FROM table_22815568_7 WHERE market_income_per_capita = "$16,981"
What is the unemployment rate in those places where the market income per capita is $16,981?
CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
SELECT club FROM table_name_22 WHERE replacement = "aykut kocaman"
What is the club the used aykut kocaman as the replacement?
CREATE TABLE table_name_22 (club VARCHAR, replacement VARCHAR)
SELECT opponent FROM table_17360840_6 WHERE date = "December 27"
Who was the opponent on December 27?
CREATE TABLE table_17360840_6 (opponent VARCHAR, date VARCHAR)
SELECT MIN(pick__number) FROM table_name_8 WHERE reg_gp < 0
What is the smallest pick with a Reg GP less than 0?
CREATE TABLE table_name_8 (pick__number INTEGER, reg_gp INTEGER)
SELECT video FROM table_name_1 WHERE channel < 35.66 AND programming = "nhk world"
Which Video has a Channel smaller than 35.66, and a Programming of nhk world?
CREATE TABLE table_name_1 (video VARCHAR, channel VARCHAR, programming VARCHAR)
SELECT SUM(year) FROM table_name_97 WHERE event = "memphis"
what year was the memphis event?
CREATE TABLE table_name_97 (year INTEGER, event VARCHAR)
SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = "Vincent"
Which tourist attractions does the visitor with detail 'Vincent' visit?
CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
SELECT performer_3 FROM table_name_67 WHERE performer_2 = "karen maruyama"
Who was performer 3 with karen maruyama as performer 2?
CREATE TABLE table_name_67 (performer_3 VARCHAR, performer_2 VARCHAR)
SELECT player FROM table_28498999_5 WHERE score = 68 - 70 - 68 - 69 = 275
What is the player listed when the score is 68-70-68-69=275
CREATE TABLE table_28498999_5 (player VARCHAR, score VARCHAR)
SELECT SUM(points) FROM table_name_36 WHERE record = "21–20–6"
Which Points have a Record of 21–20–6?
CREATE TABLE table_name_36 (points INTEGER, record VARCHAR)
SELECT venue FROM table_name_81 WHERE attendance = "47,678"
At what Venue was the Attendance 47,678?
CREATE TABLE table_name_81 (venue VARCHAR, attendance VARCHAR)
SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen"
What is the height in Rouen?
CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR)
SELECT MAX(region) FROM table_name_17 WHERE code < 66112 AND name = "l'île-dorval"
What is the largest region with a Code smaller than 66112, and a Name of l'île-dorval?
CREATE TABLE table_name_17 (region INTEGER, code VARCHAR, name VARCHAR)
SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Jose State University" AND t1.year = 2000
Find the campus fee of "San Jose State University" in year 2000.
CREATE TABLE campuses (id VARCHAR, campus VARCHAR); CREATE TABLE csu_fees (campusfee VARCHAR, campus VARCHAR, year VARCHAR)
SELECT name FROM table_12206918_2 WHERE titles = "The Ring Light heavyweight (175)"
What is the name of the title winner in the ring light heavyweight (175) division?
CREATE TABLE table_12206918_2 (name VARCHAR, titles VARCHAR)
SELECT home_captain FROM table_name_6 WHERE date = "25,26,27,29,30 march 1994"
Which Home captain has Date of 25,26,27,29,30 march 1994?
CREATE TABLE table_name_6 (home_captain VARCHAR, date VARCHAR)
SELECT last_10_meetings FROM table_name_52 WHERE overall_record = "slu, 9-8"
What is the last 10 meetings that have slu, 9-8 as the overall record?
CREATE TABLE table_name_52 (last_10_meetings VARCHAR, overall_record VARCHAR)
SELECT lms_nos FROM table_15412381_5 WHERE builder = "G&SWR Kilmarnock"
What is the LMS number of the trains built by G&SWR Kilmarnock?
CREATE TABLE table_15412381_5 (lms_nos VARCHAR, builder VARCHAR)
SELECT surface FROM table_23297_3 WHERE year = 2001
What is the surface for the year 2001?
CREATE TABLE table_23297_3 (surface VARCHAR, year VARCHAR)
SELECT final_four FROM table_name_1 WHERE conference = "big 12"
How many Big 12 teams made it to the Final Four?
CREATE TABLE table_name_1 (final_four VARCHAR, conference VARCHAR)
SELECT stage FROM table_21326205_2 WHERE rally_leader = "Sébastien Loeb" AND name = "Tempo 2"
In which special stage named Tempo 2 was Sébastien Loeb the leader?
CREATE TABLE table_21326205_2 (stage VARCHAR, rally_leader VARCHAR, name VARCHAR)
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Titans"
How many teams have the titans as a mascot?
CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
SELECT the_tradition FROM table_name_14 WHERE year > 1998 AND senior_players_championship = "mark o'meara"
When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition?
CREATE TABLE table_name_14 (the_tradition VARCHAR, year VARCHAR, senior_players_championship VARCHAR)
SELECT 2010 FROM table_name_44 WHERE 2007 = "grand slam tournaments"
What is the 2010 for the grand slam tournaments of 2007?
CREATE TABLE table_name_44 (Id VARCHAR)
SELECT AVG(drawn) FROM table_name_53 WHERE played > 14
What is the average number of games drawn among teams that played over 14 games?
CREATE TABLE table_name_53 (drawn INTEGER, played INTEGER)
SELECT MAX(played) FROM table_name_51 WHERE points = 37 AND goals_conceded > 17
When goals conceded is greater than 17 with 37 points, what is the greatest played?
CREATE TABLE table_name_51 (played INTEGER, points VARCHAR, goals_conceded VARCHAR)
SELECT MIN(bronze) FROM table_name_39 WHERE rank = 3 AND silver > 0
Which Bronze has a Rank of 3, and a Silver larger than 0?
CREATE TABLE table_name_39 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
SELECT winner FROM table_name_83 WHERE stages = "17" AND year = "1987"
Who won the 17 staged event in 1987?
CREATE TABLE table_name_83 (winner VARCHAR, stages VARCHAR, year VARCHAR)
SELECT score FROM table_name_13 WHERE date = "november 19, 2008"
On November 19, 2008 what was the score?
CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_98 WHERE home = "penguins" AND record = "14–19–6" AND points < 34
How many in attendance when Penguins were home with a record of 14–19–6 with less than 34 points?
CREATE TABLE table_name_98 (attendance VARCHAR, points VARCHAR, home VARCHAR, record VARCHAR)
SELECT name FROM table_name_63 WHERE west_or_south_terminus = "ne 112 west of blue springs"
what is the name when the west or south terminus is ne 112 west of blue springs?
CREATE TABLE table_name_63 (name VARCHAR, west_or_south_terminus VARCHAR)
SELECT date FROM table_11964047_9 WHERE visitor = "Phoenix Suns" AND record = "31–30"
what's the date where visitor is phoenix suns and record is 31–30
CREATE TABLE table_11964047_9 (date VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT name, CLASS, date FROM race
Show name, class, and date for all races.
CREATE TABLE race (name VARCHAR, CLASS VARCHAR, date VARCHAR)
SELECT miles__km_ FROM table_2226343_1 WHERE date = "February 25"
What are the miles when February 25 is the date?
CREATE TABLE table_2226343_1 (miles__km_ VARCHAR, date VARCHAR)
SELECT game FROM table_name_5 WHERE date = "april 22"
Which game of the season was played on April 22?
CREATE TABLE table_name_5 (game VARCHAR, date VARCHAR)
SELECT COUNT(position) FROM table_name_63 WHERE points < 6
What position has less than 6 Points?
CREATE TABLE table_name_63 (position VARCHAR, points INTEGER)
SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id
show the train name and station name for each train.
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)
SELECT opponent FROM table_name_76 WHERE date = 1989
What is the Opponent of the game in 1989?
CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR)
SELECT date FROM table_name_87 WHERE week = 13
What day did the team play week 13?
CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR)
SELECT winner FROM table_name_38 WHERE date = "28 may"
Who won on 28 May?
CREATE TABLE table_name_38 (winner VARCHAR, date VARCHAR)
SELECT team FROM table_name_53 WHERE period = "1st" AND time = "12:37"
What is the team with 1st period at 12:37?
CREATE TABLE table_name_53 (team VARCHAR, period VARCHAR, time VARCHAR)
SELECT date_of_appointment FROM table_name_2 WHERE manner_of_departure = "resigned" AND replaced_by = "sandy clark"
What is the date of appointment for the team with a resigned manner of departure and replaced by Sandy Clark?
CREATE TABLE table_name_2 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT attendance FROM table_16119656_1 WHERE date = "January 9, 1988"
How many were in attendance during the game on January 9, 1988?
CREATE TABLE table_16119656_1 (attendance VARCHAR, date VARCHAR)
SELECT d_47 FROM table_name_10 WHERE d_42 = "d 22"
Name the D 47 which has D 42 of d 22
CREATE TABLE table_name_10 (d_47 VARCHAR, d_42 VARCHAR)
SELECT score FROM table_name_21 WHERE tie_no = "6"
What is the score of the game with a tie no of 6?
CREATE TABLE table_name_21 (score VARCHAR, tie_no VARCHAR)
SELECT population FROM table_name_51 WHERE deed_number = "21352021"
What is the population for Deed number of 21352021?
CREATE TABLE table_name_51 (population VARCHAR, deed_number VARCHAR)
SELECT model FROM table_name_90 WHERE byte_string = "standard" AND floating_point = "standard"
What model has both a standard byte string and floating-point?
CREATE TABLE table_name_90 (model VARCHAR, byte_string VARCHAR, floating_point VARCHAR)
SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 15, 1865"
What was the reason for change in staff in formal installations on March 15, 1865?
CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT class AS pos FROM table_name_72 WHERE year < 2013 AND laps > 175
What is Class Pos., when Year is before 2013, and when Laps is greater than 175?
CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, laps VARCHAR)