question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
Which Year Start has a Number of 28?
SELECT MAX(year_start) FROM table_name_41 WHERE number = 28
CREATE TABLE table_name_41 (year_start INTEGER, number VARCHAR)
What competition has a result of W on June 30, 1966?
SELECT competition FROM table_name_31 WHERE result = "w" AND date = "june 30, 1966"
CREATE TABLE table_name_31 (competition VARCHAR, result VARCHAR, date VARCHAR)
Which driver drove car McLaren M23 at the Snetterton Circuit?
SELECT winning_driver FROM table_name_66 WHERE winning_car = "mclaren m23" AND circuit = "snetterton"
CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_car VARCHAR, circuit VARCHAR)
What year did Cooper Car Company enter?
SELECT AVG(year) FROM table_name_35 WHERE entrant = "cooper car company"
CREATE TABLE table_name_35 (year INTEGER, entrant VARCHAR)
What was the score when they had 62 points?
SELECT score FROM table_23453931_8 WHERE points = 62
CREATE TABLE table_23453931_8 (score VARCHAR, points VARCHAR)
What was the average for contestants with a swimsuit score of 8.266?
SELECT average FROM table_16390001_2 WHERE swimsuit = "8.266"
CREATE TABLE table_16390001_2 (average VARCHAR, swimsuit VARCHAR)
What game site has december 24, 2000 as a date?
SELECT game_site FROM table_name_58 WHERE date = "december 24, 2000"
CREATE TABLE table_name_58 (game_site VARCHAR, date VARCHAR)
what report was in geelong
SELECT report FROM table_name_48 WHERE home_team = "geelong"
CREATE TABLE table_name_48 (report VARCHAR, home_team VARCHAR)
What is the largest Founded with an Institution of cloud county community college?
SELECT MAX(founded) FROM table_name_67 WHERE institution = "cloud county community college"
CREATE TABLE table_name_67 (founded INTEGER, institution VARCHAR)
What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider?
SELECT bike FROM table_name_24 WHERE grid > 17 AND laps < 8 AND rider = "milos cihak"
CREATE TABLE table_name_24 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)
The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to?
SELECT foreign_nationality FROM table_17964087_2 WHERE romanised_name = "Cheung, Raymond Man-to"
CREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR)
What is the total rank number for Los Alamos' girls cross country?
SELECT COUNT(rank) FROM table_name_84 WHERE school = "los alamos" AND sport = "girls cross country"
CREATE TABLE table_name_84 (rank VARCHAR, school VARCHAR, sport VARCHAR)
what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = "asian games" AND event = "400 m"
CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)
Who directed the episode that aired on February 19, 1968?
SELECT director FROM table_25800134_12 WHERE airdate = "February 19, 1968"
CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR)
What day has a record of 25–30–13 and less than 63 points?
SELECT AVG(march) FROM table_name_70 WHERE record = "25–30–13" AND points < 63
CREATE TABLE table_name_70 (march INTEGER, record VARCHAR, points VARCHAR)
What position did athlete play from Tennessee state?
SELECT pos FROM table_name_86 WHERE college = "tennessee state"
CREATE TABLE table_name_86 (pos VARCHAR, college VARCHAR)
How many times was the high assists andre miller (7)?
SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = "Andre Miller (7)"
CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR)
How many rounds had a pick number of more than 10 and Appalachian State as a college?
SELECT COUNT(round) FROM table_name_73 WHERE pick__number > 10 AND college = "appalachian state"
CREATE TABLE table_name_73 (round VARCHAR, pick__number VARCHAR, college VARCHAR)
what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969
SELECT number_of_deputies FROM table_13746866_2 WHERE number_of_votes_received < 1549176.2765483726 AND election_date = 1969
CREATE TABLE table_13746866_2 (number_of_deputies VARCHAR, number_of_votes_received VARCHAR, election_date VARCHAR)
What is the latest first year with 0 total medals and over 0 golds?
SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 0
CREATE TABLE table_name_5 (first INTEGER, total VARCHAR, gold VARCHAR)
In 2012, which round in the Open Cup did Real Colorado Foxes make it to the conference semifinal?
SELECT open_cup FROM table_name_61 WHERE playoffs = "conference semifinal" AND year = 2012
CREATE TABLE table_name_61 (open_cup VARCHAR, playoffs VARCHAR, year VARCHAR)
What is the highest rank team akasvayu girona had with less than 311 rebounds?
SELECT MAX(rank) FROM table_name_52 WHERE team = "akasvayu girona" AND rebounds < 311
CREATE TABLE table_name_52 (rank INTEGER, team VARCHAR, rebounds VARCHAR)
How many points in 87/88 for racing de córdoba?
SELECT 1987 AS _88 FROM table_14460085_3 WHERE team = "Racing de Córdoba"
CREATE TABLE table_14460085_3 (team VARCHAR)
How much parking is in Van Nuys at the Sepulveda station?
SELECT parking FROM table_2093995_1 WHERE city__neighborhood = "Van Nuys" AND stations = "Sepulveda"
CREATE TABLE table_2093995_1 (parking VARCHAR, city__neighborhood VARCHAR, stations VARCHAR)
who is the dual commentator at the channel with spokesperson larisa verbickaya
SELECT Dual AS commentator FROM table_1992924_3 WHERE spokesperson = "Larisa Verbickaya"
CREATE TABLE table_1992924_3 (Dual VARCHAR, spokesperson VARCHAR)
what is the maximum aircraft movements with international passengers being 21002260
SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE international_passengers = 21002260
CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, international_passengers VARCHAR)
Who was the home captain at Sabina Park?
SELECT home_captain FROM table_name_89 WHERE venue = "sabina park"
CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR)
When total goals is 11 what was the league apps (sub)?
SELECT MAX(league_apps__sub_) FROM table_1112176_1 WHERE total_goals = 11
CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR)
Name the bulgarian for jullie hadden gehoord
SELECT bulgarian FROM table_1841901_1 WHERE dutch = "jullie hadden gehoord"
CREATE TABLE table_1841901_1 (bulgarian VARCHAR, dutch VARCHAR)
How many people attended the game when Larry Hughes(33) was the leading scorer and cleveland was visiting?
SELECT SUM(attendance) FROM table_name_6 WHERE visitor = "cleveland" AND leading_scorer = "larry hughes(33)"
CREATE TABLE table_name_6 (attendance INTEGER, visitor VARCHAR, leading_scorer VARCHAR)
Who was the music director in 1971 for the movie Kalyani?
SELECT Music AS director FROM table_name_7 WHERE year = 1971 AND movie__in_kannada__ = "kalyani"
CREATE TABLE table_name_7 (Music VARCHAR, year VARCHAR, movie__in_kannada__ VARCHAR)
Which location has a time of 9:30pm?
SELECT location FROM table_21330550_2 WHERE time = "9:30PM"
CREATE TABLE table_21330550_2 (location VARCHAR, time VARCHAR)
Name the total number of class aaa for 2006-07
SELECT COUNT(class_aAA) FROM table_14630796_1 WHERE school_year = "2006-07"
CREATE TABLE table_14630796_1 (class_aAA VARCHAR, school_year VARCHAR)
Which Record has a Game larger than 32, and a December smaller than 21?
SELECT record FROM table_name_34 WHERE game > 32 AND december < 21
CREATE TABLE table_name_34 (record VARCHAR, game VARCHAR, december VARCHAR)
What is the democratic seat plurality with partisan order of New Hampshire?
SELECT democratic_seat_plurality FROM table_name_91 WHERE state_ranked_in_partisan_order = "new hampshire"
CREATE TABLE table_name_91 (democratic_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
What years have 10 (0) in the finals?
SELECT years FROM table_name_33 WHERE finals = "10 (0)"
CREATE TABLE table_name_33 (years VARCHAR, finals VARCHAR)
What is Date, when Game is "65"?
SELECT date FROM table_name_6 WHERE game = 65
CREATE TABLE table_name_6 (date VARCHAR, game VARCHAR)
Who is the player that plays position f from Fort Wayne Pistons?
SELECT player FROM table_name_89 WHERE team = "fort wayne pistons" AND position = "f"
CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, position VARCHAR)
How many poles have 4 Starts of 4 and position of 46th?
SELECT COUNT(poles) FROM table_name_20 WHERE starts = 4 AND position = "46th"
CREATE TABLE table_name_20 (poles VARCHAR, starts VARCHAR, position VARCHAR)
When is the Mexican grand prix?
SELECT date FROM table_name_24 WHERE race = "mexican grand prix"
CREATE TABLE table_name_24 (date VARCHAR, race VARCHAR)
What was the average of games that were one in 1978 that were smaller than 141?
SELECT AVG(wins) FROM table_name_42 WHERE years = "1978" AND games < 141
CREATE TABLE table_name_42 (wins INTEGER, years VARCHAR, games VARCHAR)
What was the displacement having a torque of n·m (lb·ft) @ 3000 rpm?
SELECT displacement FROM table_name_16 WHERE torque = "n·m (lb·ft) @ 3000 rpm"
CREATE TABLE table_name_16 (displacement VARCHAR, torque VARCHAR)
What is the Hangul of the Province with a Kana of ちゅうせいなんどう?
SELECT hangul FROM table_name_3 WHERE kana = "ちゅうせいなんどう"
CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR)
In which district is Robert W. Edgar the incumbent?
SELECT district FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar"
CREATE TABLE table_1341598_39 (district VARCHAR, incumbent VARCHAR)
How many products are there under the category "Seeds"?
SELECT COUNT(*) FROM products WHERE product_category_code = "Seeds"
CREATE TABLE products (product_category_code VARCHAR)
What are the positions for Menlo College?
SELECT position FROM table_22603701_1 WHERE college = "Menlo college"
CREATE TABLE table_22603701_1 (position VARCHAR, college VARCHAR)
Name the nickname for enrollment being 9000
SELECT nickname FROM table_1974545_1 WHERE enrollment = 9000
CREATE TABLE table_1974545_1 (nickname VARCHAR, enrollment VARCHAR)
What event was in a year later than 2007 and in the 88th position?
SELECT event FROM table_name_66 WHERE year > 2007 AND position = "88th"
CREATE TABLE table_name_66 (event VARCHAR, year VARCHAR, position VARCHAR)
Which Venue has a Notes of 2:28:31?
SELECT venue FROM table_name_83 WHERE notes = "2:28:31"
CREATE TABLE table_name_83 (venue VARCHAR, notes VARCHAR)
Which tier is for football at Tianhe Stadium?
SELECT tier FROM table_name_62 WHERE sport = "football" AND stadium = "tianhe stadium"
CREATE TABLE table_name_62 (tier VARCHAR, sport VARCHAR, stadium VARCHAR)
How many points did Joe O'Meara have?
SELECT COUNT(points) FROM table_name_93 WHERE artist = "joe o'meara"
CREATE TABLE table_name_93 (points VARCHAR, artist VARCHAR)
What is the Rank of the Rowers with FA as Notes?
SELECT AVG(rank) FROM table_name_29 WHERE notes = "fa"
CREATE TABLE table_name_29 (rank INTEGER, notes VARCHAR)
How many copies were sold where the position is lager than 1 in 1988?
SELECT copies_sold FROM table_name_85 WHERE oricon_position > 1 AND year = 1988
CREATE TABLE table_name_85 (copies_sold VARCHAR, oricon_position VARCHAR, year VARCHAR)
What is the nationality of the Washington Capitals?
SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals"
CREATE TABLE table_name_68 (nationality VARCHAR, nhl_team VARCHAR)
Show the church names for the weddings of all people older than 30.
SELECT T4.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id JOIN church AS T4 ON T4.church_id = T1.church_id WHERE T2.age > 30 OR T3.age > 30
CREATE TABLE church (name VARCHAR, church_id VARCHAR); CREATE TABLE people (people_id VARCHAR, age VARCHAR); CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, church_id VARCHAR)
What is the highest amount of bronze medals when the rank was larger than 9?
SELECT MAX(bronze) FROM table_name_46 WHERE rank > 9
CREATE TABLE table_name_46 (bronze INTEGER, rank INTEGER)
When did chang myon (장면) leave office?
SELECT left_office FROM table_name_96 WHERE romanized__hangul_ = "chang myon (장면)"
CREATE TABLE table_name_96 (left_office VARCHAR, romanized__hangul_ VARCHAR)
What date was proposed when the listed date was 12/16/1994 in the County of beaufort?
SELECT proposed FROM table_name_65 WHERE listed = "12/16/1994" AND county = "beaufort"
CREATE TABLE table_name_65 (proposed VARCHAR, listed VARCHAR, county VARCHAR)
what is the race number of bob wollek
SELECT race_number FROM table_name_95 WHERE driver = "bob wollek"
CREATE TABLE table_name_95 (race_number VARCHAR, driver VARCHAR)
What is Name, when Royal House is "Ji", and when State is "Cai"?
SELECT name FROM table_name_93 WHERE royal_house = "ji" AND state = "cai"
CREATE TABLE table_name_93 (name VARCHAR, royal_house VARCHAR, state VARCHAR)
What is the score for Ky Laffoon?
SELECT score FROM table_name_22 WHERE player = "ky laffoon"
CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)
Which week's date was September 27, 1953?
SELECT week FROM table_name_8 WHERE date = "september 27, 1953"
CREATE TABLE table_name_8 (week VARCHAR, date VARCHAR)
Which tournament has an Outcome of runner-up, and an Opponent of maša zec peškirič?
SELECT tournament FROM table_name_93 WHERE outcome = "runner-up" AND opponent = "maša zec peškirič"
CREATE TABLE table_name_93 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR)
Which School has a National Championships of 2, and a City of orlando?
SELECT school FROM table_name_27 WHERE national_championships = 2 AND city = "orlando"
CREATE TABLE table_name_27 (school VARCHAR, national_championships VARCHAR, city VARCHAR)
Who won the gold medal in 1998?
SELECT gold FROM table_name_15 WHERE year = 1998
CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR)
Find the name of the campuses opened before 1800.
SELECT campus FROM campuses WHERE YEAR < 1800
CREATE TABLE campuses (campus VARCHAR, YEAR INTEGER)
List all of the NLL Toronto Rock players.
SELECT player FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock"
CREATE TABLE table_18042409_1 (player VARCHAR, national_lacrosse_league VARCHAR)
What is the average Gold when silver is more than 2, and bronze is more than 1
SELECT AVG(gold) FROM table_name_59 WHERE silver > 2 AND bronze > 1
CREATE TABLE table_name_59 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
What Country is Player Leland Gibson with Money of 400 from?
SELECT country FROM table_name_89 WHERE money__$_ = "400" AND player = "leland gibson"
CREATE TABLE table_name_89 (country VARCHAR, money__$_ VARCHAR, player VARCHAR)
What movie earned $1,659,542 at the box office?
SELECT title FROM table_name_29 WHERE box_office = "$1,659,542"
CREATE TABLE table_name_29 (title VARCHAR, box_office VARCHAR)
What were Cruzeiro results in the Copa Mercosur in 1998
SELECT copa_mercosur_1998 FROM table_14962316_9 WHERE team = "Cruzeiro"
CREATE TABLE table_14962316_9 (copa_mercosur_1998 VARCHAR, team VARCHAR)
what's current club with position being center and no being bigger than 12.0
SELECT current_club FROM table_12962773_1 WHERE position = "Center" AND no > 12.0
CREATE TABLE table_12962773_1 (current_club VARCHAR, position VARCHAR, no VARCHAR)
What is the total number of UEFA Cup(s), when Total is greater than 3?
SELECT COUNT(uefa_cup) FROM table_name_44 WHERE total > 3
CREATE TABLE table_name_44 (uefa_cup VARCHAR, total INTEGER)
what is the average rank when the day 1 is less than 71 and the country is romania?
SELECT AVG(rank) FROM table_name_62 WHERE day_1 < 71 AND country = "romania"
CREATE TABLE table_name_62 (rank INTEGER, day_1 VARCHAR, country VARCHAR)
How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4?
SELECT COUNT(season) FROM table_name_53 WHERE loses > 1 AND competition = "fiba europe cup" AND wins < 4
CREATE TABLE table_name_53 (season VARCHAR, wins VARCHAR, loses VARCHAR, competition VARCHAR)
What is the film type for the movie Sanctuary?
SELECT type FROM table_name_35 WHERE name = "sanctuary"
CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)
What nationality was the player whose college team was Georgia Tech?
SELECT nationality FROM table_name_61 WHERE college_country_team = "georgia tech"
CREATE TABLE table_name_61 (nationality VARCHAR, college_country_team VARCHAR)
How many parks are there in the state of NY?
SELECT COUNT(*) FROM park WHERE state = 'NY'
CREATE TABLE park (state VARCHAR)
What is the to par of player jerry pate, who has a 70-69=139 score?
SELECT to_par FROM table_name_66 WHERE score = 70 - 69 = 139 AND player = "jerry pate"
CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR, score VARCHAR)
How many positions had a difference of - 4 and an against of less than 24?
SELECT COUNT(position) FROM table_name_75 WHERE difference = "- 4" AND against < 24
CREATE TABLE table_name_75 (position VARCHAR, difference VARCHAR, against VARCHAR)
Which Faces have a Dual Archimedean solid of truncated icosahedron, and Vertices larger than 32?
SELECT AVG(faces) FROM table_name_39 WHERE dual_archimedean_solid = "truncated icosahedron" AND vertices > 32
CREATE TABLE table_name_39 (faces INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)
What was the epicenter latitude for the quake that started at 17:09?
SELECT epicentre__lat, _s_ FROM table_25643046_1 WHERE origin_time = "17:09"
CREATE TABLE table_25643046_1 (epicentre__lat VARCHAR, _s_ VARCHAR, origin_time VARCHAR)
How long was the fight 'adrenaline mma 3'?
SELECT time FROM table_name_72 WHERE event = "adrenaline mma 3"
CREATE TABLE table_name_72 (time VARCHAR, event VARCHAR)
What is the average attendance for the game on September 26, 1976?
SELECT AVG(attendance) FROM table_name_48 WHERE date = "september 26, 1976"
CREATE TABLE table_name_48 (attendance INTEGER, date VARCHAR)
What was the date for a round that only had 1 match?
SELECT date FROM table_name_36 WHERE matches = 1
CREATE TABLE table_name_36 (date VARCHAR, matches VARCHAR)
What is the percentage of others when the number for Bush is 1329?
SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 1329
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR)
In what season was the conference record for the Pandas 15-1-1?
SELECT season FROM table_27069503_2 WHERE conf_record = "15-1-1"
CREATE TABLE table_27069503_2 (season VARCHAR, conf_record VARCHAR)
Name the total number of bronze with rank of 5 and silver more than 1
SELECT COUNT(bronze) FROM table_name_39 WHERE rank = "5" AND silver > 1
CREATE TABLE table_name_39 (bronze VARCHAR, rank VARCHAR, silver VARCHAR)
When was the operation in Field 103 executed?
SELECT years_of_operation FROM table_13150274_1 WHERE area_of_operation = "Field 103"
CREATE TABLE table_13150274_1 (years_of_operation VARCHAR, area_of_operation VARCHAR)
What is the tries against for the team that has a losing bonus?
SELECT tries_against FROM table_name_48 WHERE losing_bonus = "losing bonus"
CREATE TABLE table_name_48 (tries_against VARCHAR, losing_bonus VARCHAR)
What's the frequency when the identifier is cbf-fm-9?
SELECT frequency FROM table_name_47 WHERE identifier = "cbf-fm-9"
CREATE TABLE table_name_47 (frequency VARCHAR, identifier VARCHAR)
What score has 7-0 as the result?
SELECT score FROM table_name_56 WHERE result = "7-0"
CREATE TABLE table_name_56 (score VARCHAR, result VARCHAR)
What year did the finish of 15 happen in?
SELECT year FROM table_name_16 WHERE finish = "15"
CREATE TABLE table_name_16 (year VARCHAR, finish VARCHAR)
In what series did the driver get 30 points?
SELECT series FROM table_21297652_1 WHERE points = 30
CREATE TABLE table_21297652_1 (series VARCHAR, points VARCHAR)
What is the scored figure when the result is 40-22?
SELECT SUM(scored) FROM table_name_94 WHERE result = "40-22"
CREATE TABLE table_name_94 (scored INTEGER, result VARCHAR)
What was the home team's score at Windy Hill?
SELECT home_team AS score FROM table_name_76 WHERE venue = "windy hill"
CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR)
When the Makeup is u s s and the Spin (Parity) J P of 3⁄2 +, what is the Rest mass MeV/C2?
SELECT rest_mass_mev___c_2 FROM table_name_58 WHERE makeup = "u s s" AND spin___parity___j_p = "3⁄2 +"
CREATE TABLE table_name_58 (rest_mass_mev___c_2 VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR)
When the Away team was hawthorn, what's the Home team?
SELECT home_team FROM table_name_84 WHERE away_team = "hawthorn"
CREATE TABLE table_name_84 (home_team VARCHAR, away_team VARCHAR)
Name the total number of yards for avg of 9 and rec of 1
SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1
CREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR)
Which Home team that has a Tie no of 20?
SELECT home_team FROM table_name_74 WHERE tie_no = "20"
CREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR)