question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the total stories that rank number 10?
CREATE TABLE table_name_12 (stories VARCHAR, rank VARCHAR)
SELECT COUNT(stories) FROM table_name_12 WHERE rank = 10
Name the least total transfers for romania
CREATE TABLE table_17650725_1 (total_transfers INTEGER, country VARCHAR)
SELECT MIN(total_transfers) FROM table_17650725_1 WHERE country = "Romania"
What role was at the Sydney Film Festival in 2008?
CREATE TABLE table_name_4 (role VARCHAR, year VARCHAR, festival_organization VARCHAR)
SELECT role FROM table_name_4 WHERE year = 2008 AND festival_organization = "sydney film festival"
What is the Place of the Player with a Score of 68-73-66-74=281?
CREATE TABLE table_name_13 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_13 WHERE score = 68 - 73 - 66 - 74 = 281
When Michael Schumacher won the race, who had the fastest lap?
CREATE TABLE table_name_18 (fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_name_18 WHERE winning_driver = "michael schumacher"
At the home game in Collingwood, how much did the away team score?
CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_62 WHERE home_team = "collingwood"
What is the match number that had a result of 0:5 (0:3)?
CREATE TABLE table_name_20 (match VARCHAR, result VARCHAR)
SELECT COUNT(match) FROM table_name_20 WHERE result = "0:5 (0:3)"
Which entrant has a Honda V6 engine and a Lotus 99t chassis?
CREATE TABLE table_name_42 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_42 WHERE engine = "honda v6" AND chassis = "lotus 99t"
What is the release date of the mm series which has the title confederate honey?
CREATE TABLE table_name_92 (release_date VARCHAR, series VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_92 WHERE series = "mm" AND title = "confederate honey"
What is Mike Smith's To par?
CREATE TABLE table_name_79 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_79 WHERE player = "mike smith"
Which Score has a Couple of cristián & cheryl, and a Style of cha-cha-cha?
CREATE TABLE table_name_7 (score VARCHAR, couple VARCHAR, style VARCHAR)
SELECT score FROM table_name_7 WHERE couple = "cristián & cheryl" AND style = "cha-cha-cha"
What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1?
CREATE TABLE table_name_8 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_8 WHERE silver = 1 AND rank < 4 AND gold > 1
what's the character with fate being deceased: knife wound
CREATE TABLE table_11210576_4 (character VARCHAR, fate VARCHAR)
SELECT character FROM table_11210576_4 WHERE fate = "Deceased: Knife Wound"
Year larger than 2008, and a Nationality of director of lebanon is what director?
CREATE TABLE table_name_49 (director VARCHAR, year VARCHAR, nationality_of_director VARCHAR)
SELECT director FROM table_name_49 WHERE year > 2008 AND nationality_of_director = "lebanon"
What is the sum of averages with a long value of 32?
CREATE TABLE table_name_70 (avg INTEGER, long VARCHAR)
SELECT SUM(avg) FROM table_name_70 WHERE long = 32
What was the away team's score at Princes Park?
CREATE TABLE table_name_3 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_3 WHERE venue = "princes park"
how many times were points counted for fk prienai
CREATE TABLE table_16034882_3 (points VARCHAR, club VARCHAR)
SELECT COUNT(points) FROM table_16034882_3 WHERE club = "FK Prienai"
What is the total laps for the year 2011?
CREATE TABLE table_name_1 (laps INTEGER, year VARCHAR)
SELECT SUM(laps) FROM table_name_1 WHERE year = 2011
what is the title where the airdate is december 5, 1964?
CREATE TABLE table_25800134_9 (title VARCHAR, airdate VARCHAR)
SELECT title FROM table_25800134_9 WHERE airdate = "December 5, 1964"
Find the number of web accelerators used for each Operating system.
CREATE TABLE web_client_accelerator (Operating_system VARCHAR)
SELECT Operating_system, COUNT(*) FROM web_client_accelerator GROUP BY Operating_system
The nissan primera p12 nissan almera n16 has what C.R.?
CREATE TABLE table_name_60 (cr VARCHAR, vehicle VARCHAR)
SELECT cr FROM table_name_60 WHERE vehicle = "nissan primera p12 nissan almera n16"
What is the lowest number of games loss with a Points difference of 40 - 17, and over 6 games?
CREATE TABLE table_name_3 (lost INTEGER, points_difference VARCHAR, games VARCHAR)
SELECT MIN(lost) FROM table_name_3 WHERE points_difference = "40 - 17" AND games > 6
What Birthplace's Real Name is Charles 'Chuck' Connors?
CREATE TABLE table_name_86 (birthplace VARCHAR, real_name VARCHAR)
SELECT birthplace FROM table_name_86 WHERE real_name = "charles 'chuck' connors"
What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165?
CREATE TABLE table_name_18 (Id VARCHAR)
SELECT MIN(2009) FROM table_name_18 WHERE 2010 = 141 AND 1985 > 165
What is the total number of rushing yards associated with averages over 8.4 and fewer than 54 carries?
CREATE TABLE table_name_27 (rushing_yards VARCHAR, average VARCHAR, carries VARCHAR)
SELECT COUNT(rushing_yards) FROM table_name_27 WHERE average > 8.4 AND carries < 54
what game was on may 24
CREATE TABLE table_name_27 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_27 WHERE date = "may 24"
What is the average 3620 value that has a 5432 of 1277 and a 15122 less than 1540?
CREATE TABLE table_name_66 (Id VARCHAR)
SELECT AVG(3620) FROM table_name_66 WHERE 5432 = 1277 AND 15122 < 1540
Which engine was used in 1987?
CREATE TABLE table_name_89 (engine VARCHAR, year VARCHAR)
SELECT engine FROM table_name_89 WHERE year = 1987
What is the branding for fm 88.9?
CREATE TABLE table_name_66 (branding VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_66 WHERE frequency = "fm 88.9"
Where was the game where attendance was 51478?
CREATE TABLE table_17848578_1 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_17848578_1 WHERE attendance = 51478
What is the highest number of gold medals Naugatuck HS won?
CREATE TABLE table_1305623_20 (gold_medals INTEGER, ensemble VARCHAR)
SELECT MAX(gold_medals) FROM table_1305623_20 WHERE ensemble = "Naugatuck HS"
What school is in Lagrange, with an IHSAA Class of aaa?
CREATE TABLE table_name_80 (school VARCHAR, location VARCHAR, ihsaa_class VARCHAR)
SELECT school FROM table_name_80 WHERE location = "lagrange" AND ihsaa_class = "aaa"
What is the Nationality of the Player with Jersey Number 6?
CREATE TABLE table_name_13 (nationality VARCHAR, jersey_number_s_ VARCHAR)
SELECT nationality FROM table_name_13 WHERE jersey_number_s_ = 6
Tell me the School/Club team of the player from the United States that play'de guard?
CREATE TABLE table_name_53 (school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_name_53 WHERE nationality = "united states" AND position = "guard"
What years did Birger Ruud win the FIS Nordic World Ski Championships?
CREATE TABLE table_174491_2 (fis_nordic_world_ski_championships VARCHAR, winner VARCHAR)
SELECT fis_nordic_world_ski_championships FROM table_174491_2 WHERE winner = "Birger Ruud"
What is the score of the game that has a record of 1-2-1?
CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_29 WHERE record = "1-2-1"
Which College has a Year smaller than 1962, and a Position of rb?
CREATE TABLE table_name_98 (college VARCHAR, year VARCHAR, position VARCHAR)
SELECT college FROM table_name_98 WHERE year < 1962 AND position = "rb"
What number was the game against Kansas State?
CREATE TABLE table_21034801_1 (game VARCHAR, opponent VARCHAR)
SELECT game FROM table_21034801_1 WHERE opponent = "Kansas State"
What is the category for the premios lo nuestro award?
CREATE TABLE table_name_72 (category VARCHAR, award VARCHAR)
SELECT category FROM table_name_72 WHERE award = "premios lo nuestro"
How many million U.S. viewers wtched episode 69 of the series?
CREATE TABLE table_27832075_2 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
SELECT us_viewers__millions_ FROM table_27832075_2 WHERE series__number = 69
How many players wore number 8?
CREATE TABLE table_12962773_16 (height VARCHAR, no VARCHAR)
SELECT COUNT(height) FROM table_12962773_16 WHERE no = 8
What's the West Germanic when the German is /s/ or /ts/?
CREATE TABLE table_name_90 (west_germanic VARCHAR, german VARCHAR)
SELECT west_germanic FROM table_name_90 WHERE german = "/s/ or /ts/"
In rounds 7-13 what engine was featured?
CREATE TABLE table_name_58 (engine VARCHAR, rounds VARCHAR)
SELECT engine FROM table_name_58 WHERE rounds = "7-13"
What driver has a 166 c 500 chassis?
CREATE TABLE table_name_56 (driver VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_56 WHERE chassis = "166 c 500"
What is Player, when Place is "1"?
CREATE TABLE table_name_70 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_70 WHERE place = "1"
How many won when points against is 410?
CREATE TABLE table_17510803_2 (won VARCHAR, points_against VARCHAR)
SELECT COUNT(won) FROM table_17510803_2 WHERE points_against = "410"
What is the Stadium held on november 29?
CREATE TABLE table_name_41 (stadium VARCHAR, date VARCHAR)
SELECT stadium FROM table_name_41 WHERE date = "november 29"
What were the results for round of 32 for Nicole Vaidišová?
CREATE TABLE table_17289604_38 (round_of_32 VARCHAR, athlete VARCHAR)
SELECT round_of_32 FROM table_17289604_38 WHERE athlete = "Nicole Vaidišová"
what's the tries against with tries for being 47
CREATE TABLE table_12828723_3 (tries_against VARCHAR, tries_for VARCHAR)
SELECT tries_against FROM table_12828723_3 WHERE tries_for = "47"
Name the least rank for lane less than 5 for germany and sandra völker
CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT MIN(rank) FROM table_name_22 WHERE lane < 5 AND nationality = "germany" AND name = "sandra völker"
Show the membership level with most number of members.
CREATE TABLE member (LEVEL VARCHAR)
SELECT LEVEL FROM member GROUP BY LEVEL ORDER BY COUNT(*) DESC LIMIT 1
What is the lowest Premiere peaking at more than 35 with a Rank of 10 and Finale greater than 33?
CREATE TABLE table_name_25 (premiere INTEGER, finale VARCHAR, peak VARCHAR, rank VARCHAR)
SELECT MIN(premiere) FROM table_name_25 WHERE peak > 35 AND rank = 10 AND finale > 33
what is the single of the queen
CREATE TABLE table_name_67 (single VARCHAR, artist VARCHAR)
SELECT single FROM table_name_67 WHERE artist = "queen"
Who had a 32-29-8 record at home?
CREATE TABLE table_name_55 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_55 WHERE record = "32-29-8"
What episode had a run time of 24:18?
CREATE TABLE table_2101431_1 (episode VARCHAR, run_time VARCHAR)
SELECT episode FROM table_2101431_1 WHERE run_time = "24:18"
What is the description of the measure that got 39.57% yes votes?
CREATE TABLE table_256286_23 (description VARCHAR, _percentage_yes VARCHAR)
SELECT description FROM table_256286_23 WHERE _percentage_yes = "39.57%"
What is the result when 13 is the week?
CREATE TABLE table_name_64 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_64 WHERE week = 13
What was the score in the game on May 11?
CREATE TABLE table_11963601_11 (score VARCHAR, date VARCHAR)
SELECT score FROM table_11963601_11 WHERE date = "May 11"
What time contains the owner of maine chance farm?
CREATE TABLE table_name_55 (time VARCHAR, owner VARCHAR)
SELECT time FROM table_name_55 WHERE owner = "maine chance farm"
Find the first name of students who is older than 20.
CREATE TABLE student (fname VARCHAR, age INTEGER)
SELECT fname FROM student WHERE age > 20
What is the T8 Place Player?
CREATE TABLE table_name_78 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_78 WHERE place = "t8"
What is the capacity with 2.7v volts and a power-to-weight ratio of 5.44 w/kg c/1 (1.875a)?
CREATE TABLE table_name_11 (capacity VARCHAR, volts VARCHAR, power_to_weight_ratio VARCHAR)
SELECT capacity FROM table_name_11 WHERE volts = "2.7v" AND power_to_weight_ratio = "5.44 w/kg c/1 (1.875a)"
Tell me the average year for my queen
CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)
SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen"
At what venue did Sigurd Rushfeldt score 1 point in the 2006 FIFA World Cup Qualification competition?
CREATE TABLE table_name_53 (venue VARCHAR, scored VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_53 WHERE scored = 1 AND competition = "2006 fifa world cup qualification"
Who is the incumbent in district Massachusetts7?
CREATE TABLE table_1341522_24 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1341522_24 WHERE district = "Massachusetts7"
Name the number of scores for episode 7x05
CREATE TABLE table_23292220_7 (scores VARCHAR, episode VARCHAR)
SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = "7x05"
What is the total number of losses of the player with an avg/g smaller than -3.3 and a gain larger than 126?
CREATE TABLE table_name_86 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR)
SELECT COUNT(loss) FROM table_name_86 WHERE avg_g < -3.3 AND gain > 126
On what date was a game played at MCG?
CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_89 WHERE venue = "mcg"
Which Title has a Type of album and a Year larger than 1986?
CREATE TABLE table_name_73 (title VARCHAR, type VARCHAR, year VARCHAR)
SELECT title FROM table_name_73 WHERE type = "album" AND year > 1986
What name is associated with a rank of less than 24, and an altitude (meters) of 3085?
CREATE TABLE table_name_41 (name VARCHAR, rank VARCHAR, altitude__meters_ VARCHAR)
SELECT name FROM table_name_41 WHERE rank < 24 AND altitude__meters_ = 3085
what is the home team when the opposition is east coast?
CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)
SELECT home_team FROM table_26847237_3 WHERE opposition = "East Coast"
What was the location of the fight when Sara McMann's record was 1-0?
CREATE TABLE table_name_42 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_42 WHERE record = "1-0"
Who has the lead in the season where Cathrine Norberg is second and Anna Rindeskog is third?
CREATE TABLE table_name_70 (lead VARCHAR, second VARCHAR, third VARCHAR)
SELECT lead FROM table_name_70 WHERE second = "cathrine norberg" AND third = "anna rindeskog"
What is the venue of the napa auto parts 200 race with a mrn radio?
CREATE TABLE table_name_79 (venue VARCHAR, radio VARCHAR, race VARCHAR)
SELECT venue FROM table_name_79 WHERE radio = "mrn" AND race = "napa auto parts 200"
What is Class, when Part 2 is "blétu"?
CREATE TABLE table_name_15 (class VARCHAR, part_3 VARCHAR)
SELECT class FROM table_name_15 WHERE part_3 = "blétu"
Who did the Toronto Blue Jays play against where the score was 4 - 2?
CREATE TABLE table_name_66 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_66 WHERE score = "4 - 2"
What are the climatic conditions for the trance- n himalaya zone?
CREATE TABLE table_10638523_1 (trance__n_himalaya_zone VARCHAR, particulars_and_characteristics VARCHAR)
SELECT trance__n_himalaya_zone FROM table_10638523_1 WHERE particulars_and_characteristics = "Climatic conditions"
Which Opened has a System of c-train, and a Daily ridership smaller than 269,600?
CREATE TABLE table_name_80 (opened INTEGER, system VARCHAR, daily_ridership VARCHAR)
SELECT MAX(opened) FROM table_name_80 WHERE system = "c-train" AND daily_ridership < 269 OFFSET 600
How many reservations for sc/st are there in constituency 191?
CREATE TABLE table_29785324_4 (reservation_for_sc_st VARCHAR, constituency_no VARCHAR)
SELECT COUNT(reservation_for_sc_st) FROM table_29785324_4 WHERE constituency_no = 191
Which record had a visitor of New Jersey Devils on May 7?
CREATE TABLE table_name_78 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_78 WHERE visitor = "new jersey devils" AND date = "may 7"
Name the concacaf for 2010 season
CREATE TABLE table_245694_4 (concacaf VARCHAR, season VARCHAR)
SELECT concacaf FROM table_245694_4 WHERE season = 2010
What number pick did the CFL team bc lions (via hamilton via winnipeg ) have?
CREATE TABLE table_20170644_1 (pick__number INTEGER, cfl_team VARCHAR)
SELECT MAX(pick__number) FROM table_20170644_1 WHERE cfl_team = "BC Lions (via Hamilton via Winnipeg )"
Who was the Player that spent the Year 2005 in Orlando?
CREATE TABLE table_name_16 (player VARCHAR, years_in_orlando VARCHAR)
SELECT player FROM table_name_16 WHERE years_in_orlando = "2005"
What was the minimum number of the episode that first aired August 11?
CREATE TABLE table_25691838_8 (episode__number INTEGER, original_airdate VARCHAR)
SELECT MIN(episode__number) FROM table_25691838_8 WHERE original_airdate = "August 11"
How many episodes did Alison Maclean direct?
CREATE TABLE table_17624965_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT COUNT(written_by) FROM table_17624965_1 WHERE directed_by = "Alison Maclean"
what's airdate with international destination being scotland
CREATE TABLE table_13036251_1 (airdate VARCHAR, international_destination VARCHAR)
SELECT airdate FROM table_13036251_1 WHERE international_destination = "Scotland"
What is Trevard Lindley's height?
CREATE TABLE table_name_42 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_42 WHERE name = "trevard lindley"
What is the sum of Rebounds, when Team is Aris Thessaloniki, and when Games is greater than 14?
CREATE TABLE table_name_56 (rebounds INTEGER, team VARCHAR, games VARCHAR)
SELECT SUM(rebounds) FROM table_name_56 WHERE team = "aris thessaloniki" AND games > 14
Can you tell me the total number of React that has the Lane of 5?
CREATE TABLE table_name_13 (react VARCHAR, lane VARCHAR)
SELECT COUNT(react) FROM table_name_13 WHERE lane = 5
Who has 1 win, 1 loss, and has played 2 matches?
CREATE TABLE table_name_77 (name VARCHAR, matches VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT name FROM table_name_77 WHERE wins = "1" AND losses = "1" AND matches = "2"
Who was the team that lost but had 10 points?
CREATE TABLE table_name_48 (lost VARCHAR, points VARCHAR)
SELECT lost FROM table_name_48 WHERE points = "10"
Who is the coach of the team with home ground at Club Cove?
CREATE TABLE table_name_25 (coach VARCHAR, home_ground VARCHAR)
SELECT coach FROM table_name_25 WHERE home_ground = "club cove"
How many bronzes associated with over 0 total medals, 3 golds, and over 6 games?
CREATE TABLE table_name_9 (bronze INTEGER, games VARCHAR, total VARCHAR, gold VARCHAR)
SELECT AVG(bronze) FROM table_name_9 WHERE total > 0 AND gold = 3 AND games > 6
What series was Dick Johnson Racing the team?
CREATE TABLE table_name_8 (series VARCHAR, team VARCHAR)
SELECT series FROM table_name_8 WHERE team = "dick johnson racing"
How many years was the issue price $19.95?
CREATE TABLE table_name_52 (year_of_issue VARCHAR, issue_price VARCHAR)
SELECT COUNT(year_of_issue) FROM table_name_52 WHERE issue_price = "$19.95"
In which stadium does Club Pro Patria play?
CREATE TABLE table_name_43 (stadium VARCHAR, club VARCHAR)
SELECT stadium FROM table_name_43 WHERE club = "pro patria"
What was the average attendance of a team with a 38–31–8 record?
CREATE TABLE table_name_16 (attendance INTEGER, record VARCHAR)
SELECT AVG(attendance) FROM table_name_16 WHERE record = "38–31–8"
What's the 2010 when they had a Q2 in 2009?
CREATE TABLE table_name_10 (Id VARCHAR)
SELECT 2010 FROM table_name_10 WHERE 2009 = "q2"
What are the names of the nations with the 3 lowest populations?
CREATE TABLE country (Name VARCHAR, Population VARCHAR)
SELECT Name FROM country ORDER BY Population LIMIT 3
Who were the opponents when the score of the game was 101-105 and the H/A/N was H?
CREATE TABLE table_name_68 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_68 WHERE h_a_n = "h" AND score = "101-105"