answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT COUNT(silver) FROM table_name_18 WHERE gold < 1 AND bronze = 0 AND total < 2 | CREATE TABLE table_name_18 (silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) | Name the number of silver when gold is less than 1 and bronze is 0 when total is less than 2 |
SELECT traffic_direction FROM table_name_88 WHERE street = "70th street" | CREATE TABLE table_name_88 (traffic_direction VARCHAR, street VARCHAR) | What is the traffic direction of 70th street? |
SELECT traffic_direction FROM table_name_8 WHERE west = "2nd avenue" AND _number_of_lanes = "1" AND street = "64th street" | CREATE TABLE table_name_8 (traffic_direction VARCHAR, street VARCHAR, west VARCHAR, _number_of_lanes VARCHAR) | What is the traffic direction of 64th street with 2nd avenue to the west and 1 lane? |
SELECT traffic_direction FROM table_name_94 WHERE street = "97th street" | CREATE TABLE table_name_94 (traffic_direction VARCHAR, street VARCHAR) | What is the traffic direction of 97th street? |
SELECT _number_of_lanes FROM table_name_43 WHERE street = "20th street" | CREATE TABLE table_name_43 (_number_of_lanes VARCHAR, street VARCHAR) | What is the # of lanes on 20th street? |
SELECT driver FROM table_name_40 WHERE entrant = "marlboro mclaren peugeot" | CREATE TABLE table_name_40 (driver VARCHAR, entrant VARCHAR) | Who drove the Marlboro Mclaren Peugeot? |
SELECT tyre FROM table_name_93 WHERE entrant = "team lotus" AND driver = "mika salo" | CREATE TABLE table_name_93 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR) | What tyre did Mika Salo use for team Lotus? |
SELECT driver FROM table_name_99 WHERE entrant = "tourtel larrousse f1" | CREATE TABLE table_name_99 (driver VARCHAR, entrant VARCHAR) | Which driver drove the Tourtel Larrousse F1? |
SELECT constructor FROM table_name_92 WHERE rounds = "all" AND driver = "gerhard berger" | CREATE TABLE table_name_92 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR) | Who constructed Gerhard Berger car that went all rounds? |
SELECT visitor FROM table_name_64 WHERE home = "phoenix" AND record = "2–5–0" | CREATE TABLE table_name_64 (visitor VARCHAR, home VARCHAR, record VARCHAR) | Who visited phoenix with a Record of 2–5–0? |
SELECT decision FROM table_name_17 WHERE record = "3–5–0" | CREATE TABLE table_name_17 (decision VARCHAR, record VARCHAR) | What decision had a Record of 3–5–0? |
SELECT MIN(attendance) FROM table_name_38 WHERE home = "phoenix" AND record = "1–0–0" | CREATE TABLE table_name_38 (attendance INTEGER, home VARCHAR, record VARCHAR) | What is the low attendance was based in phoenix with a Record of 1–0–0? |
SELECT score FROM table_name_88 WHERE home = "phoenix" AND record = "3–6–0" | CREATE TABLE table_name_88 (score VARCHAR, home VARCHAR, record VARCHAR) | What was the score did phoenix have with a Record of 3–6–0 at home? |
SELECT record FROM table_name_95 WHERE home = "anaheim" | CREATE TABLE table_name_95 (record VARCHAR, home VARCHAR) | What was the record while at home in Anaheim? |
SELECT inning FROM table_name_86 WHERE team = "minnesota twins" AND date = "06-07-1961" | CREATE TABLE table_name_86 (inning VARCHAR, team VARCHAR, date VARCHAR) | Which inning were the Minnesota Twins in on 06-07-1961? |
SELECT away_team FROM table_name_16 WHERE venue = "arden street oval" | CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR) | Who was the away team at the game held at Arden Street Oval? |
SELECT venue FROM table_name_91 WHERE away_team = "footscray" | CREATE TABLE table_name_91 (venue VARCHAR, away_team VARCHAR) | What is the name of the venue that away team footscray played at? |
SELECT date FROM table_name_74 WHERE venue = "princes park" | CREATE TABLE table_name_74 (date VARCHAR, venue VARCHAR) | What date was the game played at princes park? |
SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08" | CREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR) | How many tracks were Recorded 1964-01-08? |
SELECT translation FROM table_name_61 WHERE composer = "jacques brel, rod mckuen" | CREATE TABLE table_name_61 (translation VARCHAR, composer VARCHAR) | WhatTranslation has a Composer of jacques brel, rod mckuen? |
SELECT recorded FROM table_name_31 WHERE track > 2 AND translation = "the last meal" | CREATE TABLE table_name_31 (recorded VARCHAR, track VARCHAR, translation VARCHAR) | Which recording has a Track larger than 2, and a Translation of the last meal? |
SELECT title FROM table_name_90 WHERE track = 3 | CREATE TABLE table_name_90 (title VARCHAR, track VARCHAR) | Which title has a Track of 3? |
SELECT date FROM table_name_9 WHERE home = "new jersey" AND record = "7-23-7" | CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR, record VARCHAR) | When was the home game when the New Jersey team's record became 7-23-7? |
SELECT college FROM table_name_86 WHERE pick = 11 | CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR) | What college has a pick of 11? |
SELECT AVG(pick) FROM table_name_28 WHERE college = "florida state" | CREATE TABLE table_name_28 (pick INTEGER, college VARCHAR) | What is the average pick of Florida State? |
SELECT AVG(pick) FROM table_name_63 WHERE college = "san diego state" | CREATE TABLE table_name_63 (pick INTEGER, college VARCHAR) | What is the average pick of San Diego State? |
SELECT MIN(sp) + fs FROM table_name_64 WHERE name = "miljan begovic" AND placings > 189 | CREATE TABLE table_name_64 (fs VARCHAR, sp INTEGER, name VARCHAR, placings VARCHAR) | What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place? |
SELECT AVG(points) FROM table_name_42 WHERE rank < 12 AND name = "david santee" | CREATE TABLE table_name_42 (points INTEGER, rank VARCHAR, name VARCHAR) | What is the average points value for a rank less than 12 for David Santee? |
SELECT COUNT(rank) FROM table_name_44 WHERE points = 185.16 AND sp + fs > 5 | CREATE TABLE table_name_44 (rank VARCHAR, points VARCHAR, sp VARCHAR, fs VARCHAR) | What is the total number for Rank with 185.16 points and a SP+FS value greater than 5? |
SELECT MAX(sp) + fs FROM table_name_27 WHERE points > 164.56 AND rank > 1 AND name = "mitsuru matsumura" | CREATE TABLE table_name_27 (fs VARCHAR, sp INTEGER, name VARCHAR, points VARCHAR, rank VARCHAR) | What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1? |
SELECT variant__with_niqqud__ FROM table_name_84 WHERE phonetic_realisation = "[[[|u]]]" | CREATE TABLE table_name_84 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR) | When phonetic realisation is [[[|u]]], what is the variant with niqqud? |
SELECT variant__with_niqqud__ FROM table_name_53 WHERE phonemic_value = "/v/" AND without_niqqud = "as middle letter: וו" | CREATE TABLE table_name_53 (variant__with_niqqud__ VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR) | When a variant without niqqud is as middle letter: וו with a phonemic value of /v/, what is the variant with niqqud? |
SELECT phonetic_realisation FROM table_name_12 WHERE phonemic_value = "/v/" AND without_niqqud = "as initial letter: ו" | CREATE TABLE table_name_12 (phonetic_realisation VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR) | What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ו? |
SELECT english_example FROM table_name_96 WHERE variant__with_niqqud__ = "וֹ" | CREATE TABLE table_name_96 (english_example VARCHAR, variant__with_niqqud__ VARCHAR) | Give me an english example of a variant with niqqud of וֹ? |
SELECT variant__with_niqqud__ FROM table_name_77 WHERE phonetic_realisation = "[[[|v]]]" | CREATE TABLE table_name_77 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR) | What is the variant with niqqud for a phonetic realisation of [[[|v]]]? |
SELECT phonetic_realisation FROM table_name_61 WHERE without_niqqud = "as final letter: ו or יו" | CREATE TABLE table_name_61 (phonetic_realisation VARCHAR, without_niqqud VARCHAR) | If a variant without niqqud is as final letter: ו or יו, what is the phonetic realisation? |
SELECT position FROM table_name_96 WHERE pick = 113 | CREATE TABLE table_name_96 (position VARCHAR, pick VARCHAR) | What position does pick 113 play? |
SELECT school FROM table_name_7 WHERE pick > 225 AND player = "victor jones" | CREATE TABLE table_name_7 (school VARCHAR, pick VARCHAR, player VARCHAR) | What is the school of Victor Jones, who was picked further than number 225? |
SELECT COUNT(pick) FROM table_name_68 WHERE school = "virginia tech" | CREATE TABLE table_name_68 (pick VARCHAR, school VARCHAR) | What is the total pick number of Virginia Tech? |
SELECT position FROM table_name_57 WHERE school = "north carolina" | CREATE TABLE table_name_57 (position VARCHAR, school VARCHAR) | What is the position of a player from North Carolina? |
SELECT home_team AS score FROM table_name_4 WHERE home_team = "st kilda" | CREATE TABLE table_name_4 (home_team VARCHAR) | What is the home team score of St Kilda? |
SELECT date FROM table_name_19 WHERE home_team = "collingwood" | CREATE TABLE table_name_19 (date VARCHAR, home_team VARCHAR) | What is the date for home team Collingwood? |
SELECT home_team AS score FROM table_name_52 WHERE home_team = "st kilda" | CREATE TABLE table_name_52 (home_team VARCHAR) | What is the home team score for St Kilda? |
SELECT named AS after FROM table_name_97 WHERE diameter__km_ < 19.2 AND latitude > -37.5 AND longitude < 67.3 | CREATE TABLE table_name_97 (named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR, latitude VARCHAR) | Tell me the named after for diameter less than 19.2 and latitude more than -37.5 with longitude less than 67.3 |
SELECT named AS after FROM table_name_61 WHERE latitude = 6.4 | CREATE TABLE table_name_61 (named VARCHAR, latitude VARCHAR) | Tell me the named for latitude of 6.4 |
SELECT name FROM table_name_80 WHERE longitude > 103.8 AND latitude = -11.4 | CREATE TABLE table_name_80 (name VARCHAR, longitude VARCHAR, latitude VARCHAR) | Tell me the name for longitude more than 103.8 and latitude of -11.4 |
SELECT SUM(longitude) FROM table_name_65 WHERE diameter__km_ = 22.6 AND latitude < -12.4 | CREATE TABLE table_name_65 (longitude INTEGER, diameter__km_ VARCHAR, latitude VARCHAR) | Tell me the sum of longitude for diameter being 22.6 and latitude less than -12.4 |
SELECT overall FROM table_name_48 WHERE nationality = "united states" AND player = "doug sproule" | CREATE TABLE table_name_48 (overall VARCHAR, nationality VARCHAR, player VARCHAR) | What was the overall pick for Doug Sproule of the United States? |
SELECT MIN(viewers__m_) FROM table_name_69 WHERE share > 13 | CREATE TABLE table_name_69 (viewers__m_ INTEGER, share INTEGER) | what is the lowest viewers (m) when the share is more than 13? |
SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 2007" | CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR) | what is the average rating when the air date is november 23, 2007? |
SELECT COUNT(viewers__m_) FROM table_name_12 WHERE rating = 6.4 AND share > 11 | CREATE TABLE table_name_12 (viewers__m_ VARCHAR, rating VARCHAR, share VARCHAR) | what is the total viewers (m) when the rating is 6.4 and the share is more than 11? |
SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram" | CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR) | Who wrote the episode that was directed by Terry Ingram? |
SELECT title FROM table_name_38 WHERE directed_by = "roy dupuis" | CREATE TABLE table_name_38 (title VARCHAR, directed_by VARCHAR) | What is the title of the episode that was directed by Roy Dupuis? |
SELECT directed_by FROM table_name_10 WHERE original_airdate = "february 25, 2001" | CREATE TABLE table_name_10 (directed_by VARCHAR, original_airdate VARCHAR) | Who directed the episode that originally aired on February 25, 2001? |
SELECT episode__number FROM table_name_95 WHERE original_airdate = "january 21, 2001" | CREATE TABLE table_name_95 (episode__number VARCHAR, original_airdate VARCHAR) | What is the episode # of the episode that originally aired on January 21, 2001? |
SELECT directed_by FROM table_name_21 WHERE episode__number = "92 (4)" | CREATE TABLE table_name_21 (directed_by VARCHAR, episode__number VARCHAR) | Who directed episode # 92 (4)? |
SELECT stream_s__and___or_lake_s_ FROM table_name_42 WHERE date_founded = 1959 | CREATE TABLE table_name_42 (stream_s__and___or_lake_s_ VARCHAR, date_founded VARCHAR) | what is the stream(s) and / or lake(s) when the date founded is 1959? |
SELECT area_in_acres__ha_ FROM table_name_20 WHERE park_name = "bald eagle state park" | CREATE TABLE table_name_20 (area_in_acres__ha_ VARCHAR, park_name VARCHAR) | What is the area in acres (ha) for the park bald eagle state park? |
SELECT MAX(date_founded) FROM table_name_6 WHERE county_or_counties = "elk county" | CREATE TABLE table_name_6 (date_founded INTEGER, county_or_counties VARCHAR) | what is the most recent date founded in elk county? |
SELECT COUNT(date_founded) FROM table_name_77 WHERE park_name = "beltzville state park" | CREATE TABLE table_name_77 (date_founded VARCHAR, park_name VARCHAR) | how many parks are name beltzville state park? |
SELECT AVG(rank) FROM table_name_23 WHERE total < 1 | CREATE TABLE table_name_23 (rank INTEGER, total INTEGER) | Which rank has a total smaller than 1? |
SELECT year FROM table_name_47 WHERE english_title = "the ocean" | CREATE TABLE table_name_47 (year VARCHAR, english_title VARCHAR) | What is the year for the ocean? |
SELECT representing FROM table_name_59 WHERE original_title = "om fjorten dage" | CREATE TABLE table_name_59 (representing VARCHAR, original_title VARCHAR) | Name the representation for om fjorten dage |
SELECT representing FROM table_name_35 WHERE original_title = "englar alheimsins" | CREATE TABLE table_name_35 (representing VARCHAR, original_title VARCHAR) | Name the representing for englar alheimsins |
SELECT original_title FROM table_name_53 WHERE year < 1977 AND author = "lagercrantz olof lagercrantz" | CREATE TABLE table_name_53 (original_title VARCHAR, year VARCHAR, author VARCHAR) | Name the original title for years before 1977 and author of lagercrantz olof lagercrantz |
SELECT representing FROM table_name_82 WHERE original_title = "ingenjör andrées luftfärd" | CREATE TABLE table_name_82 (representing VARCHAR, original_title VARCHAR) | Name the representating for ingenjör andrées luftfärd |
SELECT distance FROM table_name_26 WHERE type = "team time trial" | CREATE TABLE table_name_26 (distance VARCHAR, type VARCHAR) | What is the distance for the team time trial? |
SELECT course FROM table_name_99 WHERE date = "13 may" | CREATE TABLE table_name_99 (course VARCHAR, date VARCHAR) | What was the course on 13 may? |
SELECT type FROM table_name_83 WHERE course = "rest day" AND date = "21 may" | CREATE TABLE table_name_83 (type VARCHAR, course VARCHAR, date VARCHAR) | What type has rest day as a course and was on 21 may? |
SELECT race_name FROM table_name_3 WHERE winning_driver = "innes ireland" | CREATE TABLE table_name_3 (race_name VARCHAR, winning_driver VARCHAR) | What's the race name that the driver Innes Ireland won? |
SELECT score FROM table_name_48 WHERE visitor = "charlotte bobcats" | CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR) | What's the score in the home game against the Charlotte Bobcats? |
SELECT date FROM table_name_80 WHERE venue = "victoria park" | CREATE TABLE table_name_80 (date VARCHAR, venue VARCHAR) | What was the date of the game played at Victoria Park? |
SELECT home_team FROM table_name_71 WHERE crowd > 13 OFFSET 557 | CREATE TABLE table_name_71 (home_team VARCHAR, crowd INTEGER) | Who was the home team when the crowd was larger than 13,557? |
SELECT venue FROM table_name_57 WHERE away_team = "richmond" | CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR) | Where did Richmond play as the away team? |
SELECT years_competed FROM table_name_97 WHERE nickname = "panthers" | CREATE TABLE table_name_97 (years_competed VARCHAR, nickname VARCHAR) | Tell me the years competed for panthers |
SELECT SUM(release_date) FROM table_name_32 WHERE media = "cd" AND country = "uk" AND music_label = "eg records" | CREATE TABLE table_name_32 (release_date INTEGER, music_label VARCHAR, media VARCHAR, country VARCHAR) | What is the release date of the CD by EG Records in the UK? |
SELECT AVG(release_date) FROM table_name_46 WHERE music_label = "editions eg" AND country = "netherlands" | CREATE TABLE table_name_46 (release_date INTEGER, music_label VARCHAR, country VARCHAR) | What is the release date by Editions EG in the Netherlands? |
SELECT music_label FROM table_name_36 WHERE catalogue_number = "enocd 10" | CREATE TABLE table_name_36 (music_label VARCHAR, catalogue_number VARCHAR) | What is the music label with the catalogue number enocd 10? |
SELECT AVG(release_date) FROM table_name_86 WHERE music_label = "virgin" | CREATE TABLE table_name_86 (release_date INTEGER, music_label VARCHAR) | What is the release date by Virgin? |
SELECT team FROM table_name_49 WHERE coach = "yuriy hruznov" | CREATE TABLE table_name_49 (team VARCHAR, coach VARCHAR) | Which team has Yuriy Hruznov as coach? |
SELECT location FROM table_name_38 WHERE team = "dynamo-2" | CREATE TABLE table_name_38 (location VARCHAR, team VARCHAR) | Where is Dynamo-2 located? |
SELECT location FROM table_name_81 WHERE team = "shakhtar-2" | CREATE TABLE table_name_81 (location VARCHAR, team VARCHAR) | Where is Shakhtar-2 located? |
SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_71 WHERE score = "207 (-9)" AND tournament = "gte northwest classic" | CREATE TABLE table_name_71 (score VARCHAR, tournament VARCHAR) | For the gte northwest classic with the score of 207 (-9), what is the average 1st prize ($) |
SELECT COUNT(1 AS st_prize__) AS $__ FROM table_name_56 WHERE date = "sep 18" | CREATE TABLE table_name_56 (date VARCHAR) | For sep 18 what is the total number of 1 prize ($) |
SELECT winner FROM table_name_99 WHERE location = "virginia" | CREATE TABLE table_name_99 (winner VARCHAR, location VARCHAR) | What is the winner for Virginia? |
SELECT date FROM table_name_81 WHERE tournament = "gte north classic" | CREATE TABLE table_name_81 (date VARCHAR, tournament VARCHAR) | On what date was the gte north classic tournament? |
SELECT home_team FROM table_name_81 WHERE venue = "princes park" | CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR) | What home team plays at princes park? |
SELECT venue FROM table_name_78 WHERE home_team = "fitzroy" | CREATE TABLE table_name_78 (venue VARCHAR, home_team VARCHAR) | Where does the home team fitzroy play? |
SELECT extra FROM table_name_30 WHERE result = "2nd" AND year < 2005 | CREATE TABLE table_name_30 (extra VARCHAR, result VARCHAR, year VARCHAR) | Which extra resulted in 2nd before 2005? |
SELECT venue FROM table_name_27 WHERE result = "2nd" AND year < 2005 | CREATE TABLE table_name_27 (venue VARCHAR, result VARCHAR, year VARCHAR) | Which venue resulted in 2nd before 2005? |
SELECT attendance FROM table_name_22 WHERE loss = "wakefield (7–10)" | CREATE TABLE table_name_22 (attendance VARCHAR, loss VARCHAR) | What was the attendance at the Red Sox game that had a loss of Wakefield (7–10)? |
SELECT loss FROM table_name_74 WHERE record = "77–67" | CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR) | What was the loss of the Red Sox game when they had a record of 77–67? |
SELECT tournament FROM table_name_36 WHERE runner_up = "pat cash" | CREATE TABLE table_name_36 (tournament VARCHAR, runner_up VARCHAR) | Which Tournament has Pat Cash as a runner-up? |
SELECT winner FROM table_name_32 WHERE third_place = "mikael pernfors" AND tournament = "hong kong" | CREATE TABLE table_name_32 (winner VARCHAR, third_place VARCHAR, tournament VARCHAR) | Who is the winner for the Tournament in Hong Kong with a third place winner named Mikael Pernfors? |
SELECT nationality FROM table_name_75 WHERE event = "10000 m" | CREATE TABLE table_name_75 (nationality VARCHAR, event VARCHAR) | What was the nationality of the athlete that ran the 10000 m event? |
SELECT COUNT(points) FROM table_name_60 WHERE wins < 21 AND club = "palamós cf" AND goals_for < 40 | CREATE TABLE table_name_60 (points VARCHAR, goals_for VARCHAR, wins VARCHAR, club VARCHAR) | What is the number of points of palamós cf, which has less than 21 wins and less than 40 goals? |
SELECT club FROM table_name_25 WHERE goals_against > 46 AND wins = 10 AND goal_difference = -24 | CREATE TABLE table_name_25 (club VARCHAR, goal_difference VARCHAR, goals_against VARCHAR, wins VARCHAR) | Which club has more than 46 goals, 10 wins, and a goal difference of -24? |
SELECT away_team AS score FROM table_name_11 WHERE away_team = "richmond" | CREATE TABLE table_name_11 (away_team VARCHAR) | What is Richmond score as the away team? |
SELECT pole_position FROM table_name_97 WHERE round < 2 | CREATE TABLE table_name_97 (pole_position VARCHAR, round INTEGER) | Tell me the pole position with round less than 2 |
SELECT fastest_lap FROM table_name_18 WHERE round = 16 | CREATE TABLE table_name_18 (fastest_lap VARCHAR, round VARCHAR) | I want the fastest lap for round of 16 |
Subsets and Splits