answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT time__cet_ FROM table_21536557_2 WHERE time = "5:04.8"
What is every time(cet) for a time of 5:04.8?
CREATE TABLE table_21536557_2 (time__cet_ VARCHAR, time VARCHAR)
SELECT SUM(capacity) FROM table_name_63 WHERE school = "windlehurst school" AND ofsted < 131889
Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889?
CREATE TABLE table_name_63 (capacity INTEGER, school VARCHAR, ofsted VARCHAR)
SELECT candidates FROM table_1341865_37 WHERE incumbent = "Carl W. Rich"
Who ran in the race for the seat of incumbent Carl W. Rich?
CREATE TABLE table_1341865_37 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(sacks) FROM table_name_69 WHERE solo = 72 AND ttkl < 112
How many sacks have 72 as the solo and a TTkl less than 112?
CREATE TABLE table_name_69 (sacks VARCHAR, solo VARCHAR, ttkl VARCHAR)
SELECT scores FROM table_23575917_2 WHERE lees_team = "Michael Buerk and Russell Howard"
Name the scores for michael buerk and russell howard
CREATE TABLE table_23575917_2 (scores VARCHAR, lees_team VARCHAR)
SELECT MIN(points) FROM table_name_17 WHERE make = "chevrolet" AND car__number < 24 AND laps = 312 AND winnings = "$122,325"
Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325?
CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR)
SELECT tries_against FROM table_name_69 WHERE points_against = "520"
How many tries against were there with 520 points against?
CREATE TABLE table_name_69 (tries_against VARCHAR, points_against VARCHAR)
SELECT record FROM table_23285849_7 WHERE team = "Timberwolves"
What was the record when the timberwolves were played?
CREATE TABLE table_23285849_7 (record VARCHAR, team VARCHAR)
SELECT format FROM table_134729_3 WHERE call_sign = "K213CL"
What station has the call number K213cl
CREATE TABLE table_134729_3 (format VARCHAR, call_sign VARCHAR)
SELECT Status FROM roller_coaster GROUP BY Status HAVING COUNT(*) > 2
List the status shared by more than two roller coaster.
CREATE TABLE roller_coaster (Status VARCHAR)
SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 3
Show the id and details for the investors who have the top 3 number of transactions.
CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)
SELECT score FROM table_name_51 WHERE competition = "test" AND date = "23 apr 1988"
A competition of test taking place on 23 Apr 1988 had what as a score?
CREATE TABLE table_name_51 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT venue FROM table_name_7 WHERE winner = "nevada" AND year > 2004
Tell me the venue for winner of nevada and year more than 2004
CREATE TABLE table_name_7 (venue VARCHAR, winner VARCHAR, year VARCHAR)
SELECT opponents FROM table_name_15 WHERE partner = "anastasia pivovarova"
What is the name of the opponent when anastasia pivovarova was the partner?
CREATE TABLE table_name_15 (opponents VARCHAR, partner VARCHAR)
SELECT reason_for_change FROM table_18563954_3 WHERE state__class_ = "Massachusetts (2)"
Why did the change happened in Massachusetts (2)?
CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR)
SELECT to_par FROM table_name_70 WHERE place = "t8" AND score = 71 - 66 - 66 - 71 = 274
What was the to par for place t8 and a score of 71-66-66-71=274?
CREATE TABLE table_name_70 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT authority FROM table_name_22 WHERE roll = 54
Name the authority for roll of 54
CREATE TABLE table_name_22 (authority VARCHAR, roll VARCHAR)
SELECT round FROM table_name_42 WHERE opponent = "gabriel veiga"
In which round was Gabriel Veiga the opponent?
CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR)
SELECT league FROM table_name_18 WHERE away = "2-3"
What league has 2-3 as the away?
CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR)
SELECT manufacturer FROM table_name_44 WHERE laps = "24" AND time_retired = "+1.965"
WHAT IS THE MANUFACTURER WITH 24 LAPS, AND +1.965 TIME/RETIRED?
CREATE TABLE table_name_44 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher"
Name the total for jamie carragher
CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR)
SELECT home_team FROM table_name_16 WHERE venue = "windy hill"
Who was the home team when VFL played at Windy Hill?
CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)
SELECT MIN(rank) FROM table_name_27 WHERE bronze = 2 AND gold > 0 AND nation = "ynys môn/anglesey" AND total > 8
Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8
CREATE TABLE table_name_27 (rank INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT country FROM table_name_80 WHERE lane = 5 AND react > 0.166
What is Country, when Lane is 5, and when React is greater than 0.166?
CREATE TABLE table_name_80 (country VARCHAR, lane VARCHAR, react VARCHAR)
SELECT SUM(to_par) FROM table_name_53 WHERE total < 148
What is the to par for the player with fewer than 148 total points?
CREATE TABLE table_name_53 (to_par INTEGER, total INTEGER)
SELECT MAX(_number) FROM table_21002034_7 WHERE air_date_netherlands_yyyy_mm_dd = "2009/12/29"
Name the most number for air date 2009/12/29
CREATE TABLE table_21002034_7 (_number INTEGER, air_date_netherlands_yyyy_mm_dd VARCHAR)
SELECT duration FROM table_name_47 WHERE province = "zeeland"
What is the duration of the commissioner from the zeeland province?
CREATE TABLE table_name_47 (duration VARCHAR, province VARCHAR)
SELECT opposing_team FROM table_name_30 WHERE status = "second test"
What was the opposing team for the second test?
CREATE TABLE table_name_30 (opposing_team VARCHAR, status VARCHAR)
SELECT position FROM table_24540893_6 WHERE school = "Kent State"
What position does the player from kent state play?
CREATE TABLE table_24540893_6 (position VARCHAR, school VARCHAR)
SELECT abbr FROM table_name_75 WHERE common_english = "zug"
What is the abbr for zug?
CREATE TABLE table_name_75 (abbr VARCHAR, common_english VARCHAR)
SELECT SUM(rank) FROM table_name_94 WHERE matches = 367 AND goals > 216
How many ranks had 367 matches and more than 216 goals?
CREATE TABLE table_name_94 (rank INTEGER, matches VARCHAR, goals VARCHAR)
SELECT COUNT(result) FROM table_26250145_1 WHERE original_artist = "Alicia Keys"
How many times is the original artist Alicia keys?
CREATE TABLE table_26250145_1 (result VARCHAR, original_artist VARCHAR)
SELECT model_number FROM table_name_86 WHERE voltage = "3.45 v" AND frequency = "133 mhz"
What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ?
CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)
SELECT MAX(population__2001_) FROM table_27366772_3
What is the highest population in 2001?
CREATE TABLE table_27366772_3 (population__2001_ INTEGER)
SELECT player FROM table_name_44 WHERE position = "guard" AND school = "wisconsin"
Who is the guard for Wisconsin?
CREATE TABLE table_name_44 (player VARCHAR, position VARCHAR, school VARCHAR)
SELECT SUM(population) FROM table_name_18 WHERE region > 3
How many people are in regions greater than 3?
CREATE TABLE table_name_18 (population INTEGER, region INTEGER)
SELECT AVG(year) FROM table_name_93 WHERE title = "far cry vengeance"
What is the average year that has far cry vengeance as the title?
CREATE TABLE table_name_93 (year INTEGER, title VARCHAR)
SELECT COUNT(wickets) FROM table_15700367_2 WHERE name = "Yuvraj Singh"
Name the total number of wickets being yuvraj singh
CREATE TABLE table_15700367_2 (wickets VARCHAR, name VARCHAR)
SELECT japanese FROM table_name_15 WHERE prefecture = "ibaraki" AND name = "tsukuba"
What Japanese prefecture has Ibaraki, Tsukuba?
CREATE TABLE table_name_15 (japanese VARCHAR, prefecture VARCHAR, name VARCHAR)
SELECT season_episode FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.68"
What was the episode number for the episode viewed by 5.68 million viewers?
CREATE TABLE table_27987623_1 (season_episode VARCHAR, us_viewers__in_million_ VARCHAR)
SELECT centerfold_model FROM table_name_81 WHERE cover_model = "irina voronina"
Which Centerfold model has a Cover model of irina voronina?
CREATE TABLE table_name_81 (centerfold_model VARCHAR, cover_model VARCHAR)
SELECT COUNT(total__number) FROM table_27155243_3 WHERE directed_by = "Sheri Elwood"
How many different episode numbers are there for the episodes directed by Sheri Elwood?
CREATE TABLE table_27155243_3 (total__number VARCHAR, directed_by VARCHAR)
SELECT position FROM table_name_58 WHERE player = "dan o'sullivan"
What is position does Dan O'Sullivan play?
CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR)
SELECT COUNT(hand_number) FROM table_26853172_1 WHERE player_1 = "South" AND prevailing_wind = "East"
What is the hand number of the hand where player 1 is south and the east wind is prevailing?
CREATE TABLE table_26853172_1 (hand_number VARCHAR, player_1 VARCHAR, prevailing_wind VARCHAR)
SELECT MAX(bronze) FROM table_name_46 WHERE silver > 1 AND rank > 1
WHAT COUNTRY HAS THE HIGHEST BRONZE COUNT, MORE THAN 1 SILVER METAL, AND LESS THAN 1ST PLACE?
CREATE TABLE table_name_46 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
SELECT last_current_driver_s__3_november_2013 FROM table_27279050_3 WHERE first_driver_s_ = "Marlon Stöckinger , Kotaro Sakurai ( 2011 )"
Who is the last/current driver(s) 3 november 2013 when first driver(s) is marlon stöckinger , kotaro sakurai ( 2011 )?
CREATE TABLE table_27279050_3 (last_current_driver_s__3_november_2013 VARCHAR, first_driver_s_ VARCHAR)
SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire"
What is the football conference for Henniker, New Hampshire>?
CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR)
SELECT surface FROM table_24638867_6 WHERE partner = "Nathalie Tauziat"
Name the surface for nathalie tauziat
CREATE TABLE table_24638867_6 (surface VARCHAR, partner VARCHAR)
SELECT label FROM table_name_73 WHERE country = "uk" AND catalog = "bpg 62988"
What is the Label name that has a Country of uk and the Catalog is bpg 62988?
CREATE TABLE table_name_73 (label VARCHAR, country VARCHAR, catalog VARCHAR)
SELECT MAX(pick) FROM table_2840500_8 WHERE player = "Evgeny Korolev"
Name the most pick for evgeny korolev
CREATE TABLE table_2840500_8 (pick INTEGER, player VARCHAR)
SELECT win_loss FROM table_name_60 WHERE win__percentage = ".456"
What is Win-Loss, when Win % is .456?
CREATE TABLE table_name_60 (win_loss VARCHAR, win__percentage VARCHAR)
SELECT grid FROM table_name_20 WHERE driver = "michael schumacher"
What is the grid when the driver was Michael Schumacher?
CREATE TABLE table_name_20 (grid VARCHAR, driver VARCHAR)
SELECT date FROM table_name_59 WHERE surface = "clay" AND opponent = "jean-julien rojer"
What was the date of the match against Jean-Julien Rojer, on a clay surface?
CREATE TABLE table_name_59 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT MIN(apparent_magnitude) FROM table_name_66 WHERE object_type = "spiral galaxy" AND constellation = "leo minor" AND ngc_number > 3021
what is the lowest apparent magnitude when the object type is spiral galaxy, the constellation is leo minor and the ngc number is more than 3021?
CREATE TABLE table_name_66 (apparent_magnitude INTEGER, ngc_number VARCHAR, object_type VARCHAR, constellation VARCHAR)
SELECT date FROM table_name_31 WHERE game_site = "riverfront stadium"
Name the date for game site of riverfront stadium
CREATE TABLE table_name_31 (date VARCHAR, game_site VARCHAR)
SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen"
Tell me the average year for my queen
CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)
SELECT latitude FROM table_18600760_8 WHERE geo_id = 3809935740
Name the latitude for 3809935740
CREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR)
SELECT away_team FROM table_name_28 WHERE tie_no = "3"
Which away team has a tie number of 3?
CREATE TABLE table_name_28 (away_team VARCHAR, tie_no VARCHAR)
SELECT manufacturer FROM table_name_13 WHERE grid = "14"
What is the manufacturer with a 14 grid?
CREATE TABLE table_name_13 (manufacturer VARCHAR, grid VARCHAR)
SELECT livery FROM table_name_33 WHERE serial_no = "83-1010"
What is the livery of the locomotive with a serial number 83-1010?
CREATE TABLE table_name_33 (livery VARCHAR, serial_no VARCHAR)
SELECT COUNT(wins) FROM table_name_54 WHERE rank = "98" AND scoring_average > 73.52
What is the total number of Wins when 98 is the rank and the scoring average is more than 73.52?
CREATE TABLE table_name_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR)
SELECT drawn FROM table_20396710_1 WHERE "points_against" = "points_against"
when points against is points again, which are the drawn?
CREATE TABLE table_20396710_1 (drawn VARCHAR)
SELECT name, openning_year, capacity FROM cinema
Show name, opening year, and capacity for each cinema.
CREATE TABLE cinema (name VARCHAR, openning_year VARCHAR, capacity VARCHAR)
SELECT championship FROM table_name_89 WHERE margin = "8 strokes"
Which championship has a margin of 8 strokes?
CREATE TABLE table_name_89 (championship VARCHAR, margin VARCHAR)
SELECT MIN(group_stage) FROM table_1059743_2 WHERE points = "886.6"
What is the lowest group to earn 886.6 points?
CREATE TABLE table_1059743_2 (group_stage INTEGER, points VARCHAR)
SELECT award_ceremony FROM table_name_87 WHERE nominee = "sarah travis" AND category = "best orchestrations"
Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations?
CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR)
SELECT COUNT(unemployment_rate) FROM table_22815568_2 WHERE market_income_per_capita = "$20,958"
What is the unemployment rate for the county with a market income per capita of $20,958?
CREATE TABLE table_22815568_2 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
SELECT building FROM table_name_54 WHERE year = 2013 AND floors > 20
What building shows 2013 and has more than 20 floors?
CREATE TABLE table_name_54 (building VARCHAR, year VARCHAR, floors VARCHAR)
SELECT fastest_laps FROM table_name_99 WHERE season < 1979
What is the fastest lap for a season smaller than 1979?
CREATE TABLE table_name_99 (fastest_laps VARCHAR, season INTEGER)
SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99"
What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?
CREATE TABLE table_name_72 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR)
SELECT 1999 AS _2000_team FROM table_name_93 WHERE height__cm_ < 187 AND birthplace = "cloquet, minnesota"
What is the 1999-2000 team, when the Height (cm) is less than 187, and when the Birthplace is Cloquet, Minnesota?
CREATE TABLE table_name_93 (height__cm_ VARCHAR, birthplace VARCHAR)
SELECT venue FROM table_name_29 WHERE home_team = "hawthorn"
Where did Hawthorn play as home team?
CREATE TABLE table_name_29 (venue VARCHAR, home_team VARCHAR)
SELECT COUNT(team) FROM table_27631756_2 WHERE head_coach = "Mahdi Ali"
How many teams have a head coach named mahdi ali?
CREATE TABLE table_27631756_2 (team VARCHAR, head_coach VARCHAR)
SELECT status FROM table_name_20 WHERE area_km_2 < 75.35 AND official_name = "sussex"
Which status is 75.35 km2 and is named sussex?
CREATE TABLE table_name_20 (status VARCHAR, area_km_2 VARCHAR, official_name VARCHAR)
SELECT COUNT(game) FROM table_name_83 WHERE record = "16-17"
How many games had a record of 16-17?
CREATE TABLE table_name_83 (game VARCHAR, record VARCHAR)
SELECT score FROM table_name_28 WHERE opponent = "algeria" AND location = "porto-novo"
What is the score from the game where Algeria is the opponent at Porto-Novo?
CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, location VARCHAR)
SELECT w_l_d FROM table_14181578_1 WHERE position = 1
what's the w-l-d with position being 1
CREATE TABLE table_14181578_1 (w_l_d VARCHAR, position VARCHAR)
SELECT nominated_work FROM table_name_29 WHERE category = "popularity award (actor in a motion picture)"
What is the Nominated work of popularity award (actor in a motion picture)?
CREATE TABLE table_name_29 (nominated_work VARCHAR, category VARCHAR)
SELECT televote FROM table_name_96 WHERE draw > 11 AND place < 4
With a draw greater than 11 and the place smaller than 4 what was the televote?
CREATE TABLE table_name_96 (televote VARCHAR, draw VARCHAR, place VARCHAR)
SELECT comp FROM table_name_71 WHERE name = "smith"
Name the Comp which has a Name of smith?
CREATE TABLE table_name_71 (comp VARCHAR, name VARCHAR)
SELECT builder FROM table_1181375_1 WHERE withdrawn = "1954–1958"
what's the builder where withdrawn is 1954–1958
CREATE TABLE table_1181375_1 (builder VARCHAR, withdrawn VARCHAR)
SELECT style FROM table_name_50 WHERE first_performance = "15 november 2007"
What is the Style of the First Performance of Billy Elliot on 15 November 2007?
CREATE TABLE table_name_50 (style VARCHAR, first_performance VARCHAR)
SELECT outcome FROM table_name_85 WHERE opponent = "jelena janković"
What is the Outcome with an Opponent that is jelena janković?
CREATE TABLE table_name_85 (outcome VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_83 WHERE venue = "pietermaritzburg"
When was a competition held at Pietermaritzburg?
CREATE TABLE table_name_83 (date VARCHAR, venue VARCHAR)
SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC
What are the names of poker players in descending order of earnings?
CREATE TABLE poker_player (People_ID VARCHAR, Earnings VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
SELECT MAX(first_elected) FROM table_1342233_42 WHERE district = "Tennessee 3"
When was the Tennessee 3 district incumbent first elected?
CREATE TABLE table_1342233_42 (first_elected INTEGER, district VARCHAR)
SELECT nhl_team FROM table_2781227_7 WHERE player = "Tom White"
What NHL team picked Tom White?
CREATE TABLE table_2781227_7 (nhl_team VARCHAR, player VARCHAR)
SELECT AVG(wins) FROM table_name_12 WHERE tournament = "masters tournament" AND events < 12
How many times did Morgan win The Masters Tournament with fewer than 12 appearances?
CREATE TABLE table_name_12 (wins INTEGER, tournament VARCHAR, events VARCHAR)
SELECT 20 AS _questions FROM table_1566852_8 WHERE date = "10-07"
Who answered the 20 questions on 10-07?
CREATE TABLE table_1566852_8 (date VARCHAR)
SELECT record FROM table_name_75 WHERE opponent = "rangers" AND date = "august 29"
On August 29, What was the record playing against the Rangers?
CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT SUM(reg_gp) FROM table_name_40 WHERE player = "rick vaive" AND rd__number > 1
How many reg GP for rick vaive in round 1?
CREATE TABLE table_name_40 (reg_gp INTEGER, player VARCHAR, rd__number VARCHAR)
SELECT school_club_team FROM table_15463188_7 WHERE season = "2009-2011"
Name the school/club team when season is 2009-2011
CREATE TABLE table_15463188_7 (school_club_team VARCHAR, season VARCHAR)
SELECT crowd FROM table_name_43 WHERE home_team = "collingwood"
What was the crowd size at Collingwood's match?
CREATE TABLE table_name_43 (crowd VARCHAR, home_team VARCHAR)
SELECT feminine_ōn_stems FROM table_name_82 WHERE feminine_ō_stems = "siangu"
What ending does siangu get for ön?
CREATE TABLE table_name_82 (feminine_ōn_stems VARCHAR, feminine_ō_stems VARCHAR)
SELECT COUNT(number) FROM table_name_28 WHERE name = "koppenberg" AND kilometer < 195
What is the Number of the Koppenberg course with less than 195 Kilometers?
CREATE TABLE table_name_28 (number VARCHAR, name VARCHAR, kilometer VARCHAR)
SELECT rank FROM table_name_84 WHERE laps < 200 AND finish = "26"
What rank had less than 200 laps with a finish of 26?
CREATE TABLE table_name_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
SELECT laps FROM table_name_74 WHERE grid = "4"
How many laps does grid 4 have?
CREATE TABLE table_name_74 (laps VARCHAR, grid VARCHAR)
SELECT entrant FROM table_name_20 WHERE chassis = "march cg891"
Which entrant had a chassis of March CG891?
CREATE TABLE table_name_20 (entrant VARCHAR, chassis VARCHAR)
SELECT bonus_points FROM table_17510803_2 WHERE won = "5"
How many bonus points were won by 5?
CREATE TABLE table_17510803_2 (bonus_points VARCHAR, won VARCHAR)
SELECT song FROM table_name_1 WHERE year < 1979 AND us_hot_100 = "8"
Which Song has a Year smaller than 1979, and a US Hot 100 of 8?
CREATE TABLE table_name_1 (song VARCHAR, year VARCHAR, us_hot_100 VARCHAR)