question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Games have Years at club of 1977, and Goals of 17, and a Debut year smaller than 1977?
CREATE TABLE table_name_5 (games INTEGER, debut_year VARCHAR, years_at_club VARCHAR, goals VARCHAR)
SELECT AVG(games) FROM table_name_5 WHERE years_at_club = "1977" AND goals = 17 AND debut_year < 1977
What power has thunder bay as the city of license?
CREATE TABLE table_name_17 (power VARCHAR, city_of_license VARCHAR)
SELECT power FROM table_name_17 WHERE city_of_license = "thunder bay"
Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht?
CREATE TABLE table_name_84 (yacht VARCHAR, syndicate VARCHAR)
SELECT yacht AS Club FROM table_name_84 WHERE syndicate = "america 3 foundation" AND yacht = "america 3"
What place can sit 65,000 and opens 2016?
CREATE TABLE table_name_63 (location VARCHAR, capacity VARCHAR, opening VARCHAR)
SELECT location FROM table_name_63 WHERE capacity = "65,000" AND opening = "2016"
Who was the 1st member elected in 1511/12?
CREATE TABLE table_name_53 (elected VARCHAR)
SELECT 1 AS st_member FROM table_name_53 WHERE elected = "1511/12"
Before 1981, how many Points did Team Suzuki have with less than 0 Wins?
CREATE TABLE table_name_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR)
SELECT SUM(points) FROM table_name_96 WHERE team = "suzuki" AND year < 1981 AND wins < 0
What's the English word for apfel?
CREATE TABLE table_name_53 (english VARCHAR, german VARCHAR)
SELECT english FROM table_name_53 WHERE german = "apfel"
WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES?
CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR)
SELECT sixth FROM table_name_66 WHERE second = "white lies"
What is To Par, when Country is United States, and when Score is 71-68-73=212?
CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_22 WHERE country = "united states" AND score = 71 - 68 - 73 = 212
Which Player has a Score of 6–4, 7–6 (7–5)?
CREATE TABLE table_name_97 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_97 WHERE score = "6–4, 7–6 (7–5)"
Which party had an incumbent of W. Jasper Talbert?
CREATE TABLE table_name_70 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_name_70 WHERE incumbent = "w. jasper talbert"
Result of l, and a Date of 15-oct-64 had what score?
CREATE TABLE table_name_45 (score VARCHAR, result VARCHAR, date VARCHAR)
SELECT score FROM table_name_45 WHERE result = "l" AND date = "15-oct-64"
Which Team has a Record of 32–50?
CREATE TABLE table_name_24 (team VARCHAR, record VARCHAR)
SELECT team FROM table_name_24 WHERE record = "32–50"
What location had the opponent Hiroyuki Abe?
CREATE TABLE table_name_56 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_56 WHERE opponent = "hiroyuki abe"
What is the jersey number of the player from years 1986 – 1991 1997 – 1999?
CREATE TABLE table_name_54 (jersey_number_s_ VARCHAR, years VARCHAR)
SELECT jersey_number_s_ FROM table_name_54 WHERE years = "1986 – 1991 1997 – 1999"
Who is the second performer in episode 5?
CREATE TABLE table_14934885_1 (performer_2 VARCHAR, episode VARCHAR)
SELECT performer_2 FROM table_14934885_1 WHERE episode = 5
What is the type when Rangers are the moving from?
CREATE TABLE table_name_40 (type VARCHAR, moving_from VARCHAR)
SELECT type FROM table_name_40 WHERE moving_from = "rangers"
What is the rank for the rowers with the time of 6:24.35?
CREATE TABLE table_name_51 (rank VARCHAR, time VARCHAR)
SELECT rank FROM table_name_51 WHERE time = "6:24.35"
What is Type, when Rank is greater than 6, when Number of Bearers 2008 is greater than 13.815, and when Surname is Eriksen?
CREATE TABLE table_name_47 (type VARCHAR, surname VARCHAR, rank VARCHAR, number_of_bearers_2008 VARCHAR)
SELECT type FROM table_name_47 WHERE rank > 6 AND number_of_bearers_2008 > 13.815 AND surname = "eriksen"
Tell me the object type which has an apparent magnitude more than 10.6 and declination of °44′07″
CREATE TABLE table_name_28 (object_type VARCHAR, apparent_magnitude VARCHAR, declination___j2000__ VARCHAR)
SELECT object_type FROM table_name_28 WHERE apparent_magnitude > 10.6 AND declination___j2000__ = "°44′07″"
When university of north carolina at charlotte is the school what is the lowest enrollment in 2012?
CREATE TABLE table_2076516_1 (enrollment__2012_ INTEGER, school VARCHAR)
SELECT MIN(enrollment__2012_) FROM table_2076516_1 WHERE school = "University of North Carolina at Charlotte"
Who attended the school in 2009, that Lakita Hall attended in 2007?
CREATE TABLE table_name_60 (Id VARCHAR)
SELECT 2009 FROM table_name_60 WHERE 2007 = "lakita hall"
What record has a november greater than 11, and st. louis blues as the opponent?
CREATE TABLE table_name_62 (record VARCHAR, november VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_62 WHERE november > 11 AND opponent = "st. louis blues"
How many years did Peter Mikkelsen win the Mens Singles?
CREATE TABLE table_12164707_1 (year VARCHAR, mens_singles VARCHAR)
SELECT COUNT(year) FROM table_12164707_1 WHERE mens_singles = "Peter Mikkelsen"
Who directed the film Antonio's Breakfast?
CREATE TABLE table_name_44 (director_s_ VARCHAR, film VARCHAR)
SELECT director_s_ FROM table_name_44 WHERE film = "antonio's breakfast"
What is the least amount of appearances by new zealand when they scored 4 goals?
CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)
SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"
Which game was on 14 January 1973?
CREATE TABLE table_name_31 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_31 WHERE date = "14 january 1973"
What is the percentage of land area in the ecozone that the percentage protected is 7.96?
CREATE TABLE table_15555661_2 (percentage_of_land_area VARCHAR, percentage_protected VARCHAR)
SELECT percentage_of_land_area FROM table_15555661_2 WHERE percentage_protected = "7.96"
what is the year when tournaments played is less than 2, cuts made is 1 and earnings ($) is less than 10,547?
CREATE TABLE table_name_89 (year INTEGER, earnings___$__ VARCHAR, tournaments_played VARCHAR, cuts_made VARCHAR)
SELECT SUM(year) FROM table_name_89 WHERE tournaments_played < 2 AND cuts_made = 1 AND earnings___$__ < 10 OFFSET 547
What country is the Debemur Morti prod. label from?
CREATE TABLE table_name_97 (country VARCHAR, label VARCHAR)
SELECT country FROM table_name_97 WHERE label = "debemur morti prod."
Name the miles for june 7
CREATE TABLE table_16493961_1 (miles__km_ VARCHAR, date VARCHAR)
SELECT miles__km_ FROM table_16493961_1 WHERE date = "June 7"
Which NFL team chose a position of DE when the pick was larger than 9, after round 5, and the overal was larger than 118?
CREATE TABLE table_name_91 (nfl_team VARCHAR, position VARCHAR, round VARCHAR, overall VARCHAR, pick VARCHAR)
SELECT nfl_team FROM table_name_91 WHERE overall > 118 AND pick > 9 AND round > 5 AND position = "de"
Which Tournament has a Date of january 10, 1994?
CREATE TABLE table_name_10 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_10 WHERE date = "january 10, 1994"
Name the home team for carlton away team
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_77 WHERE away_team = "carlton"
what investing dragons aired on episode 10?
CREATE TABLE table_name_31 (investing_dragon_s_ VARCHAR, episode VARCHAR)
SELECT investing_dragon_s_ FROM table_name_31 WHERE episode = "episode 10"
Gary Barnett who has been in 0 FA Cups plays what position?
CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)
SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett"
What is the lowest number of wins?
CREATE TABLE table_14853156_2 (wins INTEGER)
SELECT MIN(wins) FROM table_14853156_2
What was the average year for a coin that had a mintage smaller than 10,000?
CREATE TABLE table_name_13 (year INTEGER, mintage INTEGER)
SELECT AVG(year) FROM table_name_13 WHERE mintage < 10 OFFSET 000
What is the total number of Grid, when Rider is Aleix Espargaro?
CREATE TABLE table_name_2 (grid VARCHAR, rider VARCHAR)
SELECT COUNT(grid) FROM table_name_2 WHERE rider = "aleix espargaro"
Which record has a Loss of eichhorn (8-5)?
CREATE TABLE table_name_54 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_54 WHERE loss = "eichhorn (8-5)"
What is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3?
CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)
SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = "pvg/zspd" AND rank < 3
What is Athletes, when Run 2 is 1:24.77?
CREATE TABLE table_name_86 (athletes VARCHAR, run_2 VARCHAR)
SELECT athletes FROM table_name_86 WHERE run_2 = "1:24.77"
What is the least round number for Jon Olinger, who was picked before pick # 24?
CREATE TABLE table_name_3 (round INTEGER, name VARCHAR, pick__number VARCHAR)
SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24
What signatory has a purpose of police security and Infotalent payee?
CREATE TABLE table_name_71 (signatories VARCHAR, purpose VARCHAR, payee VARCHAR)
SELECT signatories FROM table_name_71 WHERE purpose = "police security" AND payee = "infotalent"
How many Goals did Matt Cook have?
CREATE TABLE table_name_89 (goals VARCHAR, player VARCHAR)
SELECT goals FROM table_name_89 WHERE player = "matt cook"
List the names of members who did not participate in any round.
CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE round (Name VARCHAR, Member_ID VARCHAR)
SELECT Name FROM member WHERE NOT Member_ID IN (SELECT Member_ID FROM round)
Find the number of cartoons directed by each of the listed directors.
CREATE TABLE cartoon (Directed_by VARCHAR)
SELECT COUNT(*), Directed_by FROM cartoon GROUP BY Directed_by
Which name had an order number of 1?
CREATE TABLE table_name_4 (name VARCHAR, order VARCHAR)
SELECT name FROM table_name_4 WHERE order = 1
what is the circuit when the winner is stan jones and the race is phillip island trophy race?
CREATE TABLE table_name_3 (circuit VARCHAR, winner VARCHAR, race VARCHAR)
SELECT circuit FROM table_name_3 WHERE winner = "stan jones" AND race = "phillip island trophy race"
What report was there for the porsche north america?
CREATE TABLE table_10707176_2 (report VARCHAR, winning_team VARCHAR)
SELECT report FROM table_10707176_2 WHERE winning_team = "Porsche North America"
Name the label for traditional chinese 情歌沒有告訴你
CREATE TABLE table_1893815_1 (label VARCHAR, chinese__traditional_ VARCHAR)
SELECT label FROM table_1893815_1 WHERE chinese__traditional_ = "情歌沒有告訴你"
what is the date when the opponent is real españa?
CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_41 WHERE opponent = "real españa"
What is the sum of 1886(s), when 1886 is greater than 1070, and when 1891 is less than 1946?
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT SUM(1886) FROM table_name_19 WHERE 1866 > 1070 AND 1891 < 1946
Which Manufacturer has 1 lap and had an accident?
CREATE TABLE table_name_69 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT manufacturer FROM table_name_69 WHERE laps = 1 AND time_retired = "accident"
What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ו?
CREATE TABLE table_name_12 (phonetic_realisation VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR)
SELECT phonetic_realisation FROM table_name_12 WHERE phonemic_value = "/v/" AND without_niqqud = "as initial letter: ו"
What day were the results 3:2?
CREATE TABLE table_name_54 (date VARCHAR, results¹ VARCHAR)
SELECT date FROM table_name_54 WHERE results¹ = "3:2"
What was the nationality of player picked no. 168?
CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)
SELECT nationality FROM table_2679061_9 WHERE pick__number = 168
What is the type of electronic with the Gamecube Platform?
CREATE TABLE table_name_10 (type VARCHAR, platform VARCHAR)
SELECT type FROM table_name_10 WHERE platform = "gamecube"
When tajik is the ethnicity what is islam?
CREATE TABLE table_16642_1 (islam VARCHAR, ethnicity VARCHAR)
SELECT islam FROM table_16642_1 WHERE ethnicity = "Tajik"
What is the Long when the ryds is 18?
CREATE TABLE table_name_14 (long VARCHAR, ryds VARCHAR)
SELECT long FROM table_name_14 WHERE ryds = "18"
List all different genre types.
CREATE TABLE genres (name VARCHAR)
SELECT DISTINCT name FROM genres
What was the nba draft for al-farouq aminu?
CREATE TABLE table_name_53 (nba_draft VARCHAR, player VARCHAR)
SELECT nba_draft FROM table_name_53 WHERE player = "al-farouq aminu"
What is the SDLP of Belfast?
CREATE TABLE table_28005809_2 (sdlp INTEGER, council VARCHAR)
SELECT MAX(sdlp) FROM table_28005809_2 WHERE council = "Belfast"
WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY?
CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR)
SELECT package_version FROM table_name_9 WHERE device = "blackberry storm 9530" AND applications = "5.0.0.419" AND carrier = "mts mobility"
What Attack has a 30,00% GERB?
CREATE TABLE table_name_74 (attack VARCHAR, gerb VARCHAR)
SELECT attack FROM table_name_74 WHERE gerb = "30,00%"
What is the Score of game 35?
CREATE TABLE table_name_43 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_43 WHERE game = 35
How many entries are there for points for the 6th position?
CREATE TABLE table_27631002_1 (points VARCHAR, position VARCHAR)
SELECT COUNT(points) FROM table_27631002_1 WHERE position = "6th"
Name the race name for june 6
CREATE TABLE table_22669375_1 (race_name VARCHAR, date VARCHAR)
SELECT race_name FROM table_22669375_1 WHERE date = "June 6"
What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?
CREATE TABLE table_name_17 (house_1950 VARCHAR, governors_1950 VARCHAR)
SELECT house_1950 FROM table_name_17 WHERE 1950 < 1980 AND governors_1950 = "governors 1970"
Name the name for deceased spouse being louis malle
CREATE TABLE table_24143253_1 (name VARCHAR, deceased_spouse VARCHAR)
SELECT name FROM table_24143253_1 WHERE deceased_spouse = "Louis Malle"
What was the away team at the match where the crowd was larger than 30,000?
CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER)
SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000
Which school is Kirk Snyder from?
CREATE TABLE table_11545282_18 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_11545282_18 WHERE player = "Kirk Snyder"
How may lecturers are there in the case when there are more than 8 assistant professors, fewer than 35 associate professors, more than 14 professors and total of more than 81?
CREATE TABLE table_name_71 (lecturers VARCHAR, total VARCHAR, associate_professors VARCHAR, assistant_professors VARCHAR, professors VARCHAR)
SELECT COUNT(lecturers) FROM table_name_71 WHERE assistant_professors > 8 AND professors > 14 AND associate_professors < 35 AND total > 81
What is the position of the player from the Ukraine?
CREATE TABLE table_name_1 (position VARCHAR, nationality VARCHAR)
SELECT position FROM table_name_1 WHERE nationality = "ukraine"
What is the Artist with a Date that is june 1979?
CREATE TABLE table_name_48 (artist VARCHAR, date VARCHAR)
SELECT artist FROM table_name_48 WHERE date = "june 1979"
What winning team has volleyball as the sport?
CREATE TABLE table_name_91 (winning_team VARCHAR, sport VARCHAR)
SELECT winning_team FROM table_name_91 WHERE sport = "volleyball"
What is the To par of the Player with a Score of 70-72-73=215?
CREATE TABLE table_name_7 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_7 WHERE score = 70 - 72 - 73 = 215
What is the screen size and pixel value when the dimensions are 115.5×83.7×102.5?
CREATE TABLE table_name_7 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR)
SELECT screen_size, pixels FROM table_name_7 WHERE dimensions_w×h×d__mm_ = "115.5×83.7×102.5"
Tell me the Host interface for digital of dvb-t (cx22702) and model of nova-t pci (90002)
CREATE TABLE table_name_34 (host_interface VARCHAR, digital VARCHAR, model VARCHAR)
SELECT host_interface FROM table_name_34 WHERE digital = "dvb-t (cx22702)" AND model = "nova-t pci (90002)"
Who had the fastest lap in the races won by Max Papis?
CREATE TABLE table_11056278_3 (fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_11056278_3 WHERE winning_driver = "Max Papis"
What shows for 1988 when 1994 shows 10–6?
CREATE TABLE table_name_32 (Id VARCHAR)
SELECT 1988 FROM table_name_32 WHERE 1994 = "10–6"
How many episode titles does episode 19 in the season have?
CREATE TABLE table_28802668_3 (title VARCHAR, no_in_season VARCHAR)
SELECT COUNT(title) FROM table_28802668_3 WHERE no_in_season = 19
When was febian brandy loaned out until, when was loaned out on 2 february 2009.?
CREATE TABLE table_name_12 (date_to VARCHAR, name VARCHAR, date_from VARCHAR)
SELECT date_to FROM table_name_12 WHERE name = "febian brandy" AND date_from = "2 february 2009"
What was the original airdate of episode #733?
CREATE TABLE table_25691838_6 (original_airdate VARCHAR, episode__number VARCHAR)
SELECT original_airdate FROM table_25691838_6 WHERE episode__number = 733
On April 29, with a game larger than 2, what is the high points?
CREATE TABLE table_name_25 (high_points VARCHAR, game VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_25 WHERE game > 2 AND date = "april 29"
What is the H/A in the semi-final round where oldham athletic were the opponents?
CREATE TABLE table_name_90 (h___a VARCHAR, opponents VARCHAR, round VARCHAR)
SELECT h___a FROM table_name_90 WHERE opponents = "oldham athletic" AND round = "semi-final"
Which incumbent was first elected in 1940?
CREATE TABLE table_1342256_10 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_1342256_10 WHERE first_elected = 1940
What home team has a rank greater than 6, and 94,392 as the capacity?
CREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR)
SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392"
What is Country, when Player is "José María Olazábal"?
CREATE TABLE table_name_55 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_55 WHERE player = "josé maría olazábal"
What is the least amount of points when there is 1 win?
CREATE TABLE table_name_95 (points INTEGER, wins VARCHAR)
SELECT MIN(points) FROM table_name_95 WHERE wins = 1
What was the circuit had a race on September 20.
CREATE TABLE table_name_46 (circuit VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_46 WHERE date = "september 20"
What is the average attendance against the expos?
CREATE TABLE table_name_57 (attendance INTEGER, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_57 WHERE opponent = "expos"
What is the catalog of the release from January 23, 2002?
CREATE TABLE table_name_59 (catalog VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_59 WHERE date = "january 23, 2002"
What did the away team score at Moorabbin Oval?
CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_24 WHERE venue = "moorabbin oval"
How many years in all was less than 105,005 the total for the year?
CREATE TABLE table_name_59 (year VARCHAR, total_for_year INTEGER)
SELECT COUNT(year) FROM table_name_59 WHERE total_for_year < 105 OFFSET 005
What is listsed as the Height feet/m and has a Street address of 2345 Grand Avenue?
CREATE TABLE table_name_40 (height_feet___m VARCHAR, street_address VARCHAR)
SELECT height_feet___m FROM table_name_40 WHERE street_address = "2345 grand avenue"
What country has a P of GK?
CREATE TABLE table_17596418_4 (country VARCHAR, p VARCHAR)
SELECT country FROM table_17596418_4 WHERE p = "GK"
Name the high points for l 110–112 (ot)
CREATE TABLE table_27733258_6 (high_points VARCHAR, score VARCHAR)
SELECT high_points FROM table_27733258_6 WHERE score = "L 110–112 (OT)"
Before 2012, what was the greatest # of Home Games with a Canada - USA Rank of 52nd, and an Average Attendance less than 992?
CREATE TABLE table_name_41 (_number_of_home_games INTEGER, average_attendance VARCHAR, year VARCHAR, canada___usa_rank VARCHAR)
SELECT MAX(_number_of_home_games) FROM table_name_41 WHERE year < 2012 AND canada___usa_rank = "52nd" AND average_attendance < 992
Show names of technicians and the number of machines they are assigned to repair.
CREATE TABLE repair_assignment (technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)
SELECT T2.Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID = T2.technician_ID GROUP BY T2.Name