question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the number of draws for the team with more than 8 losses and 13 points?
CREATE TABLE table_name_61 (draws VARCHAR, losses VARCHAR, points VARCHAR)
SELECT draws FROM table_name_61 WHERE losses > 8 AND points = 13
When 1-1 is the series who is the team?
CREATE TABLE table_22883210_11 (team VARCHAR, series VARCHAR)
SELECT team FROM table_22883210_11 WHERE series = "1-1"
What are the notes for South Africa?
CREATE TABLE table_name_8 (notes VARCHAR, country VARCHAR)
SELECT notes FROM table_name_8 WHERE country = "south africa"
How much parking is in Van Nuys at the Sepulveda station?
CREATE TABLE table_2093995_1 (parking VARCHAR, city__neighborhood VARCHAR, stations VARCHAR)
SELECT parking FROM table_2093995_1 WHERE city__neighborhood = "Van Nuys" AND stations = "Sepulveda"
List the builder from 1930.
CREATE TABLE table_22481967_1 (builder VARCHAR, date VARCHAR)
SELECT builder FROM table_22481967_1 WHERE date = "1930"
How much was paid to the player whose score was 70-71-77-76=294?
CREATE TABLE table_name_23 (money___ INTEGER, score VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_23 WHERE score = 70 - 71 - 77 - 76 = 294
What CFL team got their draft pick from North Dakota?
CREATE TABLE table_25085059_1 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_25085059_1 WHERE college = "North Dakota"
What was the score for the episode with Matt Smith as Andrew and Jack's guest?
CREATE TABLE table_29141354_7 (scores VARCHAR, andrew_and_jacks_guest VARCHAR)
SELECT scores FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Matt Smith"
Which owner has a description of Mark 1 pos and is dated 1956?
CREATE TABLE table_name_18 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR)
SELECT owner_s_ FROM table_name_18 WHERE date = 1956 AND description = "mark 1 pos"
what's the first operational with programming being not programmable—single purpose
CREATE TABLE table_13636_1 (first_operational VARCHAR, programming VARCHAR)
SELECT first_operational FROM table_13636_1 WHERE programming = "Not programmable—single purpose"
Who are the player's who weighed 170?
CREATE TABLE table_22824312_1 (player VARCHAR, weight VARCHAR)
SELECT player FROM table_22824312_1 WHERE weight = 170
What type is You from the state of Chen?
CREATE TABLE table_name_91 (type VARCHAR, state VARCHAR, name VARCHAR)
SELECT type FROM table_name_91 WHERE state = "chen" AND name = "you"
Which Type has a Date smaller than 1943, and a Builder of alco schenectady, and a Number larger than 822, and Works number of 59867?
CREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR)
SELECT type FROM table_name_46 WHERE date < 1943 AND builder = "alco schenectady" AND number > 822 AND works_number = 59867
What is the time when the opponent is phil collins?
CREATE TABLE table_name_86 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_86 WHERE opponent = "phil collins"
What player has a pick # greater than 207?
CREATE TABLE table_name_44 (player VARCHAR, pick__number INTEGER)
SELECT player FROM table_name_44 WHERE pick__number > 207
What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8?
CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8
What team has a season of 2009-10?
CREATE TABLE table_name_66 (teams VARCHAR, season VARCHAR)
SELECT teams FROM table_name_66 WHERE season = "2009-10"
How many bronze had a total less than 4 and gold bigger than 1?
CREATE TABLE table_name_43 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_43 WHERE total < 4 AND gold > 1
What was the score when the game has a loss of Lary (10-12)?
CREATE TABLE table_name_18 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_18 WHERE loss = "lary (10-12)"
What is the smallest width for a frame size of 5k and a height shorter than 2700?
CREATE TABLE table_name_18 (width INTEGER, frame_size VARCHAR, height VARCHAR)
SELECT MIN(width) FROM table_name_18 WHERE frame_size = "5k" AND height < 2700
Who is the round winner of the wanneroo park circuit?
CREATE TABLE table_19886463_1 (round_winner VARCHAR, circuit VARCHAR)
SELECT round_winner FROM table_19886463_1 WHERE circuit = "Wanneroo Park"
What were the Oct. temperatures for the city that had Nov. temperatures of 51/30?
CREATE TABLE table_name_94 (oct VARCHAR, nov VARCHAR)
SELECT oct FROM table_name_94 WHERE nov = "51/30"
What episode was directed by David Duchovny?
CREATE TABLE table_13336122_7 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_13336122_7 WHERE directed_by = "David Duchovny"
Which Season 7 has a Season 6 of jim treliving?
CREATE TABLE table_name_98 (season_7 VARCHAR, season_6 VARCHAR)
SELECT season_7 FROM table_name_98 WHERE season_6 = "jim treliving"
What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting?
CREATE TABLE table_14700336_1 (presidential_majority_2000_2004 VARCHAR, presidential_majority_2012 VARCHAR)
SELECT presidential_majority_2000_2004 FROM table_14700336_1 WHERE presidential_majority_2012 = "Non-voting"
What was the game site for the matchup against the Frankfurt Galaxy?
CREATE TABLE table_24852001_2 (game_site VARCHAR, opponent VARCHAR)
SELECT game_site FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy"
What is the nickname of the team whose 2013/2014 enrollment is 436?
CREATE TABLE table_18304058_2 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)
SELECT nickname_s_ FROM table_18304058_2 WHERE enrollment__2013_14_ = 436
List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.
CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)
SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = "DDR3-1333" AND frequency = "2.66-2.8GHz"
What is the ISBN in 1999?
CREATE TABLE table_name_48 (isbn VARCHAR, year VARCHAR)
SELECT isbn FROM table_name_48 WHERE year = 1999
Opponent of igor samoilenco had what result?
CREATE TABLE table_name_11 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_11 WHERE opponent = "igor samoilenco"
What is the withdrawal date associated with a date made of 1904?
CREATE TABLE table_name_92 (date_withdrawn VARCHAR, date_made VARCHAR)
SELECT date_withdrawn FROM table_name_92 WHERE date_made = "1904"
Who is in July where October is jill de vries?
CREATE TABLE table_name_7 (july VARCHAR, october VARCHAR)
SELECT july FROM table_name_7 WHERE october = "jill de vries"
Visitor of minnesota has what average attendance?
CREATE TABLE table_name_30 (attendance INTEGER, visitor VARCHAR)
SELECT AVG(attendance) FROM table_name_30 WHERE visitor = "minnesota"
Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96?
CREATE TABLE table_name_64 (champion VARCHAR, third VARCHAR, season VARCHAR)
SELECT champion FROM table_name_64 WHERE third = "blaho blahoyeve" AND season = "1995-96"
List the language used least number of TV Channel. List language and number of TV Channel.
CREATE TABLE TV_Channel (LANGUAGE VARCHAR)
SELECT LANGUAGE, COUNT(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY COUNT(*) LIMIT 1
what's the result with dbeingtrict being california 10
CREATE TABLE table_1342256_6 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342256_6 WHERE district = "California 10"
What was the result associated with the cinemaa awards, and gabbar singh film?
CREATE TABLE table_name_93 (result VARCHAR, award VARCHAR, film VARCHAR)
SELECT result FROM table_name_93 WHERE award = "cinemaa awards" AND film = "gabbar singh"
Which water has green wood?
CREATE TABLE table_name_50 (water VARCHAR, wood VARCHAR)
SELECT water FROM table_name_50 WHERE wood = "green"
what are the results of the opponent of spain?
CREATE TABLE table_name_78 (results¹ VARCHAR, opponent VARCHAR)
SELECT results¹ FROM table_name_78 WHERE opponent = "spain"
What is the candidate whose age is 27?
CREATE TABLE table_26263322_1 (candidate VARCHAR, age VARCHAR)
SELECT candidate FROM table_26263322_1 WHERE age = 27
What is the capacity of the stadium with a rank lower than 31 located in the city of Belém ?
CREATE TABLE table_name_97 (capacity VARCHAR, rank VARCHAR, city VARCHAR)
SELECT capacity FROM table_name_97 WHERE rank < 31 AND city = "belém"
What are all the songs in albums under label "Universal Music Group"?
CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)
SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE t1.label = "Universal Music Group"
Home of dallas happened on what date?
CREATE TABLE table_name_95 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_95 WHERE home = "dallas"
What is the fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the winning team?
CREATE TABLE table_name_76 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR)
SELECT fastest_lap FROM table_name_76 WHERE winning_team = "audi sport team abt" AND circuit = "oschersleben"
When was the train 2053 built?
CREATE TABLE table_1057316_1 (build_date VARCHAR, serial_number VARCHAR)
SELECT build_date FROM table_1057316_1 WHERE serial_number = "2053"
How many silvers did the country with more than 0 gold and a rank above 1 win that had a total less than 4?
CREATE TABLE table_name_65 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_65 WHERE gold > 0 AND rank > 1 AND total < 4
What was the result in a week lower than 10 with an opponent of Chicago Bears?
CREATE TABLE table_name_21 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_21 WHERE week < 10 AND opponent = "chicago bears"
When dayton is the team what is the record?
CREATE TABLE table_29556461_8 (record VARCHAR, team VARCHAR)
SELECT record FROM table_29556461_8 WHERE team = "Dayton"
What was the maximum amount of the poles?
CREATE TABLE table_2190919_3 (poles INTEGER)
SELECT MAX(poles) FROM table_2190919_3
Name the candidates for ellsworth b. buck
CREATE TABLE table_1342233_32 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342233_32 WHERE incumbent = "Ellsworth B. Buck"
What is the total number of wins that has byes less than 0?
CREATE TABLE table_name_84 (wins VARCHAR, byes INTEGER)
SELECT COUNT(wins) FROM table_name_84 WHERE byes < 0
What was the total attendance on September 12?
CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_76 WHERE date = "september 12"
Who was the host country in 2007?
CREATE TABLE table_name_3 (host_country___countries VARCHAR, year VARCHAR)
SELECT host_country___countries FROM table_name_3 WHERE year = "2007"
What year was player number 10?
CREATE TABLE table_29970488_2 (year VARCHAR, _number VARCHAR)
SELECT year FROM table_29970488_2 WHERE _number = 10
Which race was at Hockenheim circuit?
CREATE TABLE table_name_74 (race_name VARCHAR, circuit VARCHAR)
SELECT race_name FROM table_name_74 WHERE circuit = "hockenheim"
What is the NBA Draft for the School Bishop O'Connell High School?
CREATE TABLE table_name_10 (nba_draft VARCHAR, school VARCHAR)
SELECT nba_draft FROM table_name_10 WHERE school = "bishop o'connell high school"
What are the total number of matches smaller than 2 with a tally of 1-19?
CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR)
SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2
What is the IATA for Beijing Capital International Airport?
CREATE TABLE table_name_14 (iata VARCHAR, airport VARCHAR)
SELECT iata FROM table_name_14 WHERE airport = "beijing capital international airport"
Which tier has a division of LEB 2 and Cup Competitions of Copa LEB Plata runner-up?
CREATE TABLE table_name_91 (tier VARCHAR, division VARCHAR, cup_competitions VARCHAR)
SELECT tier FROM table_name_91 WHERE division = "leb 2" AND cup_competitions = "copa leb plata runner-up"
What is the Visitor in the game with a Record of 11–49–7?
CREATE TABLE table_name_98 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_98 WHERE record = "11–49–7"
Name the polyunsaturated fat with total fat of 100g and saturated fat of 7g
CREATE TABLE table_name_39 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, saturated_fat VARCHAR)
SELECT polyunsaturated_fat FROM table_name_39 WHERE total_fat = "100g" AND saturated_fat = "7g"
Name the most 4/inns
CREATE TABLE table_17900317_5 (Id VARCHAR)
SELECT MAX(4 AS _inns) FROM table_17900317_5
What was the distance for the 11th position?
CREATE TABLE table_22265261_1 (distance VARCHAR, position VARCHAR)
SELECT distance FROM table_22265261_1 WHERE position = "11th"
Name the city with 103.1 frequency and ERP W less than 80
CREATE TABLE table_name_92 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT city_of_license FROM table_name_92 WHERE frequency_mhz = 103.1 AND erp_w < 80
Which game was a Platformer?
CREATE TABLE table_name_90 (game VARCHAR, genre VARCHAR)
SELECT game FROM table_name_90 WHERE genre = "platformer"
what is the record where the opponent is central connecticut?
CREATE TABLE table_23346303_3 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_23346303_3 WHERE opponent = "Central Connecticut"
What percentage did chris wright receive?
CREATE TABLE table_name_23 (percentage VARCHAR, candidate VARCHAR)
SELECT percentage FROM table_name_23 WHERE candidate = "chris wright"
What is the lost of Ynysybwl RFC?
CREATE TABLE table_name_47 (lost VARCHAR, club VARCHAR)
SELECT lost FROM table_name_47 WHERE club = "ynysybwl rfc"
Which Purpose has an Elevation + Height of 0 + metres (ft), a Location of bikini, namu (charlie), and a Yield of 220 kt?
CREATE TABLE table_name_37 (purpose VARCHAR, yield VARCHAR, location VARCHAR, elevation_ VARCHAR, _height VARCHAR)
SELECT purpose FROM table_name_37 WHERE elevation_ + _height = "0 + metres (ft)" AND location = "bikini, namu (charlie)" AND yield = "220 kt"
Name the slope length for 1966 groundstation
CREATE TABLE table_17814458_1 (slope_length VARCHAR, elevation_groundstation VARCHAR)
SELECT COUNT(slope_length) FROM table_17814458_1 WHERE elevation_groundstation = 1966
Who was the lights 2 race two winning team when the lites 1 race one winning team was #13 Inspire Motorsports?
CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_one_winning_team VARCHAR)
SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#13 Inspire Motorsports"
Name the team for toshihiro kaneishi
CREATE TABLE table_name_21 (team VARCHAR, driver VARCHAR)
SELECT team FROM table_name_21 WHERE driver = "toshihiro kaneishi"
What is the Front Side Bus for Model Number c3 850?
CREATE TABLE table_name_54 (front_side_bus VARCHAR, model_number VARCHAR)
SELECT front_side_bus FROM table_name_54 WHERE model_number = "c3 850"
who are the writers when the production code is 8011?
CREATE TABLE table_22580855_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_22580855_1 WHERE production_code = 8011
Which tournaments current venue is the Madrid Arena?
CREATE TABLE table_14903081_1 (tournament VARCHAR, current_venue VARCHAR)
SELECT tournament FROM table_14903081_1 WHERE current_venue = "Madrid Arena"
Which Year Ended has a Passenger Load Factor (%) larger than 72.8, and a Revenue (€m) smaller than 906.8?
CREATE TABLE table_name_80 (year_ended VARCHAR, passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR)
SELECT year_ended FROM table_name_80 WHERE passenger_load_factor___percentage_ > 72.8 AND revenue__€m_ < 906.8
What is the total number of draws when there are fewer than 3 wins?
CREATE TABLE table_name_20 (draws VARCHAR, wins INTEGER)
SELECT COUNT(draws) FROM table_name_20 WHERE wins < 3
Name the air date for ratings of 2.19 million
CREATE TABLE table_27218002_1 (originalairdate VARCHAR, ratings VARCHAR)
SELECT originalairdate FROM table_27218002_1 WHERE ratings = "2.19 Million"
What is Home Team, when Date is "6 December 1986", and when Tie No is "4"?
CREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_49 WHERE date = "6 december 1986" AND tie_no = "4"
Which year al geiberger is in?
CREATE TABLE table_name_50 (year_s__won VARCHAR, player VARCHAR)
SELECT year_s__won FROM table_name_50 WHERE player = "al geiberger"
Which player went to college in Oklahoma?
CREATE TABLE table_10966926_2 (player_name VARCHAR, college VARCHAR)
SELECT player_name FROM table_10966926_2 WHERE college = "Oklahoma"
How many games had less than 7 goals scored?
CREATE TABLE table_24565004_15 (appearances¹ VARCHAR, goals¹ VARCHAR)
SELECT COUNT(appearances¹) FROM table_24565004_15 WHERE goals¹ = 7
What date did the episode with a production code of 2j5356 originally air?
CREATE TABLE table_24625467_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_24625467_1 WHERE production_code = "2J5356"
Where was the game that had a final score of 30-20?
CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_92 WHERE score = "30-20"
Find the address line 1 and 2 of the customer with email "vbogisich@example.org".
CREATE TABLE customers (address_line_1 VARCHAR, address_line_2 VARCHAR, email_address VARCHAR)
SELECT address_line_1, address_line_2 FROM customers WHERE email_address = "vbogisich@example.org"
What date has 7 as the tie no.?
CREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_80 WHERE tie_no = "7"
Name the total number of written by for 26 july 2010
CREATE TABLE table_27218002_1 (written_by VARCHAR, originalairdate VARCHAR)
SELECT COUNT(written_by) FROM table_27218002_1 WHERE originalairdate = "26 July 2010"
What frequency has call sign w228bg?
CREATE TABLE table_name_45 (frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg"
What is the home team venue for the New Zealand Breakers?
CREATE TABLE table_name_30 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_30 WHERE home_team = "new zealand breakers"
What is the location attendance of the game with a 27-22 record?
CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_27 WHERE record = "27-22"
What was the record when the visitor was Cleveland in Dallas?
CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT record FROM table_name_59 WHERE visitor = "cleveland" AND home = "dallas"
Name the sum of goals conceded when lost is more than 7 and points less than 26
CREATE TABLE table_name_60 (goals_conceded INTEGER, lost VARCHAR, points VARCHAR)
SELECT SUM(goals_conceded) FROM table_name_60 WHERE lost > 7 AND points < 26
What is the highest silver that has 9 as the rank, germany as the nation, with a gold less than 0?
CREATE TABLE table_name_55 (silver INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT MAX(silver) FROM table_name_55 WHERE rank = 9 AND nation = "germany" AND gold < 0
When renault is the constructor, the grid is over 6, and the time was labeled ignition, what's the largest amount of laps on record?
CREATE TABLE table_name_63 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
SELECT MAX(laps) FROM table_name_63 WHERE grid > 6 AND constructor = "renault" AND time_retired = "ignition"
Find the first name of students living in city PHL whose age is between 20 and 25.
CREATE TABLE student (fname VARCHAR, city_code VARCHAR, age VARCHAR)
SELECT fname FROM student WHERE city_code = 'PHL' AND age BETWEEN 20 AND 25
What is the IcAO of Frankfurt?
CREATE TABLE table_name_91 (icao VARCHAR, city VARCHAR)
SELECT icao FROM table_name_91 WHERE city = "frankfurt"
What's the l2 cache of the model with TDP of 5.5-10 w?
CREATE TABLE table_24099916_1 (l2_cache VARCHAR, tdp VARCHAR)
SELECT l2_cache FROM table_24099916_1 WHERE tdp = "5.5-10 W"
What date did the game at Arden Street Oval take place?
CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_12 WHERE venue = "arden street oval"
What is the largest enrollment for anglican day schools founded after 1929?
CREATE TABLE table_name_82 (enrolment INTEGER, founded VARCHAR, denomination VARCHAR, day_boarding VARCHAR)
SELECT MAX(enrolment) FROM table_name_82 WHERE denomination = "anglican" AND day_boarding = "day" AND founded > 1929
Which Date has High rebounds of pau gasol (9)?
CREATE TABLE table_name_42 (date VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_name_42 WHERE high_rebounds = "pau gasol (9)"