answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT frequency FROM table_name_59 WHERE model_number = "pentium ii 400"
What is Frequency, when Model Number is Pentium II 400?
CREATE TABLE table_name_59 (frequency VARCHAR, model_number VARCHAR)
SELECT opponent_in_the_final FROM table_name_69 WHERE score = "6–3, 2–6, 7–5"
What was the opponent in the final when the score was 6–3, 2–6, 7–5?
CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, score VARCHAR)
SELECT share_of_votes FROM table_name_44 WHERE election = 2008
What is the share of votes in the 2008 election?
CREATE TABLE table_name_44 (share_of_votes VARCHAR, election VARCHAR)
SELECT COUNT(total) FROM table_name_58 WHERE player = "al geiberger" AND to_par > 7
What is the total for a to par bigger than 7 and a player of al geiberger?
CREATE TABLE table_name_58 (total VARCHAR, player VARCHAR, to_par VARCHAR)
SELECT high_rebounds FROM table_17102076_5 WHERE game = 11
Name the high rebounds for game 11
CREATE TABLE table_17102076_5 (high_rebounds VARCHAR, game VARCHAR)
SELECT evening_gown FROM table_16390001_2 WHERE average = "9.266"
What are the evening gown scores of contestants whose average is 9.266?
CREATE TABLE table_16390001_2 (evening_gown VARCHAR, average VARCHAR)
SELECT plyff FROM table_name_21 WHERE opponent = "billings outlaws"
What is the Plyff team that plays the Billings Outlaws?
CREATE TABLE table_name_21 (plyff VARCHAR, opponent VARCHAR)
SELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = "41"
When the seq is 41, what is the ability to compromise?
CREATE TABLE table_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR)
SELECT result FROM table_name_47 WHERE competition = "friendly match" AND venue = "seoul"
What is the result of the friendly match in Seoul?
CREATE TABLE table_name_47 (result VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(1)"
Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?
CREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)
SELECT grand_prix FROM table_12161822_5 WHERE winning_driver = "Jenson Button"
what's the grand prix with winning driver being jenson button
CREATE TABLE table_12161822_5 (grand_prix VARCHAR, winning_driver VARCHAR)
SELECT team FROM table_2266976_1 WHERE year = "2003"
What team competed in 2003?
CREATE TABLE table_2266976_1 (team VARCHAR, year VARCHAR)
SELECT result FROM table_name_33 WHERE stadium = "bye week"
What was the result when they were on a bye week?
CREATE TABLE table_name_33 (result VARCHAR, stadium VARCHAR)
SELECT power__kw_ FROM table_name_26 WHERE frequency = "98.7mhz"
What is the Power (kW) for the station with the frequency of 98.7mhz?
CREATE TABLE table_name_26 (power__kw_ VARCHAR, frequency VARCHAR)
SELECT party FROM table_1342218_35 WHERE district = "Ohio 20"
What party does the incumbent from the Ohio 20 district belong to?
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)
SELECT power FROM table_name_40 WHERE years = "1975-84"
What is the power for the years 1975-84?
CREATE TABLE table_name_40 (power VARCHAR, years VARCHAR)
SELECT AVG(wins) FROM table_name_99 WHERE top_5 > 2 AND top_10 < 5
What is the average win with a top 5 greater than 2 and a top 10 less than 5?
CREATE TABLE table_name_99 (wins INTEGER, top_5 VARCHAR, top_10 VARCHAR)
SELECT position FROM table_name_31 WHERE wins = "2" AND season = 1992
Which position has 2 wins in 1992?
CREATE TABLE table_name_31 (position VARCHAR, wins VARCHAR, season VARCHAR)
SELECT COUNT(podiums) FROM table_10420426_1 WHERE season = "2010" AND series = "Campionato Italiano Superstars"
What is the number of podiums for season 2010 for campionato italiano superstars.
CREATE TABLE table_10420426_1 (podiums VARCHAR, season VARCHAR, series VARCHAR)
SELECT MIN(first_played) FROM table_14288212_1 WHERE team = "Italy"
In what year did Italy begin playing?
CREATE TABLE table_14288212_1 (first_played INTEGER, team VARCHAR)
SELECT race_2 FROM table_name_6 WHERE race_1 = "30"
What is Race 2, when Race 1 is 30?
CREATE TABLE table_name_6 (race_2 VARCHAR, race_1 VARCHAR)
SELECT owner FROM table_name_4 WHERE branding = "kool-fm"
Who owns the kool-fm branding?
CREATE TABLE table_name_4 (owner VARCHAR, branding VARCHAR)
SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais"
Name the most against for minas gerais
CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)
SELECT original_team FROM table_name_84 WHERE result = "hired by trump (5-19-2005)"
What is the original team that was Hired by Trump (5-19-2005)?
CREATE TABLE table_name_84 (original_team VARCHAR, result VARCHAR)
SELECT MIN(points) FROM table_name_92 WHERE chassis = "kurtis kraft 3000" AND year < 1951
Name the least points with chassis of kurtis kraft 3000 and year before 1951
CREATE TABLE table_name_92 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT date FROM table_name_34 WHERE h___a = "a" AND league_position = "9th"
What is the date of the away game when the team has a league position of 9th?
CREATE TABLE table_name_34 (date VARCHAR, h___a VARCHAR, league_position VARCHAR)
SELECT publisher FROM table_name_67 WHERE character_s_ = "wolverine"
Who publishes Wolverine?
CREATE TABLE table_name_67 (publisher VARCHAR, character_s_ VARCHAR)
SELECT date FROM table_name_95 WHERE points = 37
What date has 37 points?
CREATE TABLE table_name_95 (date VARCHAR, points VARCHAR)
SELECT m_r_romaja FROM table_160510_5 WHERE region = "Kwanbuk"
Name the m r romaja for kwanbuk
CREATE TABLE table_160510_5 (m_r_romaja VARCHAR, region VARCHAR)
SELECT away_team FROM table_name_45 WHERE time = "18:30"
What was the away team for the match that had a time of 18:30?
CREATE TABLE table_name_45 (away_team VARCHAR, time VARCHAR)
SELECT position FROM table_26847237_2 WHERE player = "Todd Wise"
What position does the player Todd Wise play in?
CREATE TABLE table_26847237_2 (position VARCHAR, player VARCHAR)
SELECT venue FROM table_name_43 WHERE away_team = "hawthorn"
Where was the Hawthorn game played?
CREATE TABLE table_name_43 (venue VARCHAR, away_team VARCHAR)
SELECT directed_by FROM table_23916272_6 WHERE original_air_date = "September 29, 2003"
Who was the director for the episode originally airing September 29, 2003?
CREATE TABLE table_23916272_6 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT opponent FROM table_name_3 WHERE date = "21 jul 2007"
Which opponent has a date 21 jul 2007?
CREATE TABLE table_name_3 (opponent VARCHAR, date VARCHAR)
SELECT score FROM table_22883210_10 WHERE record = "49-31"
Name the score for 49-31
CREATE TABLE table_22883210_10 (score VARCHAR, record VARCHAR)
SELECT thursday FROM table_11019212_1 WHERE location = "Hawthorne"
what's the thursday time with location being hawthorne
CREATE TABLE table_11019212_1 (thursday VARCHAR, location VARCHAR)
SELECT season FROM table_name_62 WHERE winner = "kiveton park" AND final_venue = "sandy lane"
During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner?
CREATE TABLE table_name_62 (season VARCHAR, winner VARCHAR, final_venue VARCHAR)
SELECT AVG(silver) FROM table_name_61 WHERE rank < 2 AND gold > 1
What is the average silver with a Rank smaller than 2 and more than 1 gold?
CREATE TABLE table_name_61 (silver INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MIN(jersey__number) FROM table_name_62 WHERE birthplace = "evergreen park, illinois" AND weight__kg_ > 86
What is the lowest jersey # that has evergreen park, illinois as the birthplace, with a weight (km) greater than 86?
CREATE TABLE table_name_62 (jersey__number INTEGER, birthplace VARCHAR, weight__kg_ VARCHAR)
SELECT MAX(tf1__number) FROM table_name_95 WHERE official__number > 47 AND air_date__france_ = "13 july 2010"
What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010?
CREATE TABLE table_name_95 (tf1__number INTEGER, official__number VARCHAR, air_date__france_ VARCHAR)
SELECT date FROM table_name_31 WHERE total = "56–75"
What date was the total 56–75?
CREATE TABLE table_name_31 (date VARCHAR, total VARCHAR)
SELECT COUNT(draws) FROM table_name_29 WHERE points = "45+7" AND position < 3
What is the amount of Draws for the game that had a score of 45+7 and a position below 3?
CREATE TABLE table_name_29 (draws VARCHAR, points VARCHAR, position VARCHAR)
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.crossing > 90 AND T2.preferred_foot = "right"
List the names of all players who have a crossing score higher than 90 and prefer their right foot.
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, crossing VARCHAR, preferred_foot VARCHAR)
SELECT MAX(population__2010_) FROM table_2144436_1 WHERE population__2000_ = 5720
What is the 2010 population when the 2000 population is 5720?
CREATE TABLE table_2144436_1 (population__2010_ INTEGER, population__2000_ VARCHAR)
SELECT MIN(code) FROM table_name_3 WHERE population > 762 AND most_spoken_language = "xhosa" AND area__km_2__ > 15.34 AND place = "remainder of the municipality"
What is the lowest code number for the remainder of the municipality that has an area bigger than 15.34 squared kilometers, a population greater than 762 and a language of xhosa spoken?
CREATE TABLE table_name_3 (code INTEGER, place VARCHAR, area__km_2__ VARCHAR, population VARCHAR, most_spoken_language VARCHAR)
SELECT chassis FROM table_name_93 WHERE rounds = "all" AND tyre = "g" AND driver = "bruce mclaren"
What is the chassis for Bruce Mclaren with all rounds and a g tyre?
CREATE TABLE table_name_93 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR)
SELECT MAX(seat) FROM table_name_85 WHERE season_6 = "kevin o'leary"
Which Seat has a Season 6 of kevin o'leary?
CREATE TABLE table_name_85 (seat INTEGER, season_6 VARCHAR)
SELECT MIN(other_black_population) FROM table_19149550_7 WHERE black_african_population = 37811
How much is the other black population when the black African population is 37811?
CREATE TABLE table_19149550_7 (other_black_population INTEGER, black_african_population VARCHAR)
SELECT country FROM table_name_71 WHERE name = "sba towers tower hayneville"
What country has the SBA Towers Tower Hayneville?
CREATE TABLE table_name_71 (country VARCHAR, name VARCHAR)
SELECT no_built FROM table_name_17 WHERE loco_nos = "11-20"
How many were built with a locomotive number of 11-20?
CREATE TABLE table_name_17 (no_built VARCHAR, loco_nos VARCHAR)
SELECT length_of_stay_permitted FROM table_25965003_3 WHERE countries_and_territories = "European Union"
What length of stay is permitted in the European Union?
CREATE TABLE table_25965003_3 (length_of_stay_permitted VARCHAR, countries_and_territories VARCHAR)
SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001"
What was Rosie's winning score on Apr 29, 2001?
CREATE TABLE table_name_39 (winning_score VARCHAR, date VARCHAR)
SELECT points FROM table_10160447_1 WHERE driver = "Mark Martin"
what's the points with driver  mark martin
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR)
SELECT nation FROM table_name_83 WHERE points = 187.84
What nation has 187.84 points?
CREATE TABLE table_name_83 (nation VARCHAR, points VARCHAR)
SELECT fourth_district FROM table_name_82 WHERE third_district = "sharon yentsch"
Who's the Fourth District with a Third District of sharon yentsch?
CREATE TABLE table_name_82 (fourth_district VARCHAR, third_district VARCHAR)
SELECT visitor FROM table_name_99 WHERE leading_scorer = "rudy gay (23)"
What is the visitor team of the game with Rudy Gay (23) as the leading scorer?
CREATE TABLE table_name_99 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT party FROM table_2668401_17 WHERE result = "Re-elected" AND first_elected = "1797" AND district = "Virginia 5"
What party did the incumbent from the Virginia 5 district who was re-elected and was first elected in 1797 belong to?
CREATE TABLE table_2668401_17 (party VARCHAR, district VARCHAR, result VARCHAR, first_elected VARCHAR)
SELECT record FROM table_27700530_9 WHERE date = "November 10"
What was the team's record on november 10?
CREATE TABLE table_27700530_9 (record VARCHAR, date VARCHAR)
SELECT languages FROM table_21133193_1 WHERE member_countries = "Cyprus"
Name the languages for cyprus
CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR)
SELECT competition FROM table_name_64 WHERE date = "november 16, 2007"
What was the Competition on November 16, 2007?
CREATE TABLE table_name_64 (competition VARCHAR, date VARCHAR)
SELECT MAX(pick) FROM table_name_9 WHERE school_club_team = "arkansas"
What was the highest pick for a player from a school or club team of Arkansas?
CREATE TABLE table_name_9 (pick INTEGER, school_club_team VARCHAR)
SELECT result FROM table_name_95 WHERE week < 7 AND opponent = "bye"
What is the result for the game before week 7 against BYE?
CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid WHERE T1.country = 'China' GROUP BY T1.name ORDER BY COUNT(*) DESC LIMIT 1
Find the busiest source airport that runs most number of routes in China.
CREATE TABLE routes (src_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR)
SELECT time FROM table_21578303_2 WHERE time__eet_ = "10:46"
What is the time when time is 10:46?
CREATE TABLE table_21578303_2 (time VARCHAR, time__eet_ VARCHAR)
SELECT to_par FROM table_name_59 WHERE player = "justin leonard"
What is Justin Leonard's To par?
CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)
SELECT date FROM table_27902171_4 WHERE team = "Phoenix Suns"
What day did they play the phoenix suns?
CREATE TABLE table_27902171_4 (date VARCHAR, team VARCHAR)
SELECT written_by FROM table_228973_11 WHERE original_air_date = "December 17, 2004"
The episode which originally aired on December 17, 2004 was written by whom?
CREATE TABLE table_228973_11 (written_by VARCHAR, original_air_date VARCHAR)
SELECT altadeña FROM table_name_83 WHERE aprende = "jaguars"
Which Altadeña has a Aprende of jaguars?
CREATE TABLE table_name_83 (altadeña VARCHAR, aprende VARCHAR)
SELECT race_name FROM table_10707142_2 WHERE winning_team = "Newman/Haas Racing" AND pole_position = "Rick Mears"
what is the name of the race where newman/haas racing is the winning team and rick mears is at the pole position?
CREATE TABLE table_10707142_2 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT finalist FROM table_name_57 WHERE host_city = "tartu" AND season = 2010
Who was the finalist in the 2010 season in the host city tartu?
CREATE TABLE table_name_57 (finalist VARCHAR, host_city VARCHAR, season VARCHAR)
SELECT time FROM table_name_45 WHERE event = "sportfight 10"
What was the time of sportfight 10?
CREATE TABLE table_name_45 (time VARCHAR, event VARCHAR)
SELECT SUM(prominence__m_) FROM table_name_69 WHERE elevation__m_ = 2 OFFSET 024
COunt the sum of Prominence (m) of an Elevation (m) of 2,024?
CREATE TABLE table_name_69 (prominence__m_ INTEGER, elevation__m_ VARCHAR)
SELECT MAX(byes) FROM table_name_55 WHERE wins > 11 AND against > 1118 AND hampden_fl = "terang-mortlake"
What were the most byes of Terang-Mortlake when they had more than 11 wins and more than 1118 against?
CREATE TABLE table_name_55 (byes INTEGER, hampden_fl VARCHAR, wins VARCHAR, against VARCHAR)
SELECT won FROM table_21489362_2 WHERE rr1_pts = 3
When 3 is the rr1 points what is won score?
CREATE TABLE table_21489362_2 (won VARCHAR, rr1_pts VARCHAR)
SELECT game_name FROM table_name_92 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,000"
What is the name of the game with odds of winning 1 in 4.23 with a top prize of $15,000?
CREATE TABLE table_name_92 (game_name VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR)
SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = "Kabul"
Which region is the city Kabul located in?
CREATE TABLE country (Code VARCHAR); CREATE TABLE city (CountryCode VARCHAR, Name VARCHAR)
SELECT COUNT(number) FROM table_name_52 WHERE born = "1368"
How many people were born in 1368?
CREATE TABLE table_name_52 (number VARCHAR, born VARCHAR)
SELECT MIN(enrollment) FROM table_name_3 WHERE team_nickname = "pilots"
What is the Enrollment for the Pilots?
CREATE TABLE table_name_3 (enrollment INTEGER, team_nickname VARCHAR)
SELECT position FROM table_name_63 WHERE games_played = 5 AND w_l_d = "1-2-2"
Which position had 5 games played and a record of 1-2-2?
CREATE TABLE table_name_63 (position VARCHAR, games_played VARCHAR, w_l_d VARCHAR)
SELECT game FROM table_name_17 WHERE date = "february 9"
What is the Game held on february 9?
CREATE TABLE table_name_17 (game VARCHAR, date VARCHAR)
SELECT kickoff___et__ FROM table_name_92 WHERE game_site = "ralph wilson stadium"
What is the kickoff time for the game that was at Ralph Wilson Stadium?
CREATE TABLE table_name_92 (kickoff___et__ VARCHAR, game_site VARCHAR)
SELECT party FROM driver WHERE home_city = 'Hartford' AND age > 40
Show the party with drivers from Hartford and drivers older than 40.
CREATE TABLE driver (party VARCHAR, home_city VARCHAR, age VARCHAR)
SELECT MIN(capacity) FROM table_name_95 WHERE opening > 2015 AND city = "trabzon"
What is the lowest capacity with an opening larger than 2015 in Trabzon?
CREATE TABLE table_name_95 (capacity INTEGER, opening VARCHAR, city VARCHAR)
SELECT SUM(games) FROM table_name_31 WHERE lost = 6 AND points < 7
How many Games have a Lost of 6, and Points smaller than 7?
CREATE TABLE table_name_31 (games INTEGER, lost VARCHAR, points VARCHAR)
SELECT AVG(cuts_made) FROM table_name_54 WHERE top_25 < 2
For top-25 values under 2, what is the average number of cuts made?
CREATE TABLE table_name_54 (cuts_made INTEGER, top_25 INTEGER)
SELECT Name FROM ship ORDER BY Tonnage
List the name of ships in ascending order of tonnage.
CREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR)
SELECT team FROM table_name_52 WHERE date_of_vacancy = "28 february"
I want the team for date of vacancy being 28 february
CREATE TABLE table_name_52 (team VARCHAR, date_of_vacancy VARCHAR)
SELECT position FROM table_10360823_1 WHERE overall = 255
What position is played by pick 255 overall?
CREATE TABLE table_10360823_1 (position VARCHAR, overall VARCHAR)
SELECT state FROM table_16268026_3 WHERE semifinal_average = "8.538 (8)"
What state has a semifinal average of 8.538 (8) ?
CREATE TABLE table_16268026_3 (state VARCHAR, semifinal_average VARCHAR)
SELECT away_team FROM table_name_29 WHERE tie_no = "34"
Who was the away team when the Tie no was 34?
CREATE TABLE table_name_29 (away_team VARCHAR, tie_no VARCHAR)
SELECT date_of_departure FROM table_name_46 WHERE name = "brendan rodgers"
When did Brendan Rodgers depart his position?
CREATE TABLE table_name_46 (date_of_departure VARCHAR, name VARCHAR)
SELECT date FROM table_name_87 WHERE type_of_game = "friendly" AND results¹ = "2:3"
What day was a friendly game held that had a score of 2:3?
CREATE TABLE table_name_87 (date VARCHAR, type_of_game VARCHAR, results¹ VARCHAR)
SELECT rowers FROM table_name_50 WHERE country = "great britain"
Who were the rowers for Great britain?
CREATE TABLE table_name_50 (rowers VARCHAR, country VARCHAR)
SELECT nationality FROM table_name_30 WHERE position = "left wing"
Which Nationality of the person has a Position on left wing?
CREATE TABLE table_name_30 (nationality VARCHAR, position VARCHAR)
SELECT water_depth FROM table_name_87 WHERE location = "gulf of mexico" AND name = "discoverer clear leader"
What was the water depth in the Gulf of Mexico named Discoverer Clear Leader?
CREATE TABLE table_name_87 (water_depth VARCHAR, location VARCHAR, name VARCHAR)
SELECT COUNT(equipment) FROM table_24898185_4 WHERE points = 556
When 556 is the amount of points how much equipment is there?
CREATE TABLE table_24898185_4 (equipment VARCHAR, points VARCHAR)
SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott"
How many times did Charles Jarrott report?
CREATE TABLE table_18893428_1 (report VARCHAR, driver VARCHAR)
SELECT scale FROM table_name_90 WHERE name = "ura index"
What is URA Index scale?
CREATE TABLE table_name_90 (scale VARCHAR, name VARCHAR)
SELECT original_title FROM table_name_66 WHERE result = "not nominated" AND year__ceremony_ = "2012 (85th)"
In the 2012 (85th) Ceremony, what was the Original title of the film not nominated?
CREATE TABLE table_name_66 (original_title VARCHAR, result VARCHAR, year__ceremony_ VARCHAR)
SELECT college FROM table_name_38 WHERE team = "new york jets"
Which college has their team as the New York Jets?
CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR)