answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT home_team FROM table_name_98 WHERE score = "2 – 2" | CREATE TABLE table_name_98 (home_team VARCHAR, score VARCHAR) | What is the Home team of the game with a Score of 2 – 2? |
SELECT attendance FROM table_name_94 WHERE score = "0 – 0" | CREATE TABLE table_name_94 (attendance VARCHAR, score VARCHAR) | What is the Attendance of the game with a Score of 0 – 0? |
SELECT SUM(year) FROM table_name_36 WHERE developer_s_ = "nintendo ead, monolith soft" | CREATE TABLE table_name_36 (year INTEGER, developer_s_ VARCHAR) | What year had Nintendo EAD, Monolith Soft as developers? |
SELECT location FROM table_name_48 WHERE designer = "glen peloso" AND restaurant_name = "joe boo's cookoos" | CREATE TABLE table_name_48 (location VARCHAR, designer VARCHAR, restaurant_name VARCHAR) | what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos? |
SELECT AVG(year_joined__or_joining_) FROM table_name_57 WHERE city = "aurora" | CREATE TABLE table_name_57 (year_joined__or_joining_ INTEGER, city VARCHAR) | What year did the team from City of Aurora join? |
SELECT COUNT(enrollment_08_09) FROM table_name_93 WHERE school = "franklin county" | CREATE TABLE table_name_93 (enrollment_08_09 VARCHAR, school VARCHAR) | What was the total enrollment 08-09 of Franklin County? |
SELECT school FROM table_name_79 WHERE team_name = "pirates" | CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR) | What school has a team called the Pirates? |
SELECT AVG(rank) FROM table_name_1 WHERE time = "1:00.61" | CREATE TABLE table_name_1 (rank INTEGER, time VARCHAR) | What is the rank of the team with a time of 1:00.61? |
SELECT AVG(lane) FROM table_name_93 WHERE time = "1:00.66" | CREATE TABLE table_name_93 (lane INTEGER, time VARCHAR) | What's the lane with a time of 1:00.66? |
SELECT rank FROM table_name_43 WHERE time = "59.65" | CREATE TABLE table_name_43 (rank VARCHAR, time VARCHAR) | What's the rank when the time was 59.65? |
SELECT record FROM table_name_64 WHERE opponent = "new york" | CREATE TABLE table_name_64 (record VARCHAR, opponent VARCHAR) | What is the record when they played New York? |
SELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = "montezuma" | CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR) | Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma? |
SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bears" | CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR) | Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears? |
SELECT mascot FROM table_name_70 WHERE school = "rosedale" | CREATE TABLE table_name_70 (mascot VARCHAR, school VARCHAR) | Can you tell me the Mascot that has the School of rosedale? |
SELECT conference_joined FROM table_name_88 WHERE mascot = "little sycamores" | CREATE TABLE table_name_88 (conference_joined VARCHAR, mascot VARCHAR) | Can you tell me the Conference Joined that has the Mascot of little sycamores? |
SELECT location FROM table_name_69 WHERE mascot = "lakers" | CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR) | Can you tell me the Location that has the Mascot of lakers? |
SELECT time FROM table_name_55 WHERE team = "348cc k4 honda" AND speed = "97.743mph" | CREATE TABLE table_name_55 (time VARCHAR, team VARCHAR, speed VARCHAR) | What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph? |
SELECT lane FROM table_name_30 WHERE time = "8:34.25" | CREATE TABLE table_name_30 (lane VARCHAR, time VARCHAR) | What is the Lane of the swimmer with a Time of 8:34.25? |
SELECT name FROM table_name_40 WHERE heat = 2 AND time = "9:04.86" | CREATE TABLE table_name_40 (name VARCHAR, heat VARCHAR, time VARCHAR) | What is the Name of the swimmer with a Time of 9:04.86 in Heat 2? |
SELECT location FROM table_name_21 WHERE round = 1 AND time = "1:25" | CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, time VARCHAR) | What is the Location of the Event in Round 1 with a Time of 1:25? |
SELECT AVG(goals) FROM table_name_52 WHERE last_appearance < 1984 AND appearances > 17 AND first_appearance < 1961 AND position = "mf" | CREATE TABLE table_name_52 (goals INTEGER, position VARCHAR, first_appearance VARCHAR, last_appearance VARCHAR, appearances VARCHAR) | What is the average goals when the last appearance was before 1984, there were more than 17 appearances, the first appearance was before 1961 and the position was mf? |
SELECT school FROM table_name_18 WHERE year_left = 1966 | CREATE TABLE table_name_18 (school VARCHAR, year_left VARCHAR) | what is the school that left in 1966? |
SELECT mascot FROM table_name_19 WHERE year_joined > 1952 AND school = "moores hill" | CREATE TABLE table_name_19 (mascot VARCHAR, year_joined VARCHAR, school VARCHAR) | what is the mascot for moores hill that joined later than 1952? |
SELECT conference_joined FROM table_name_58 WHERE county = "69 ripley" AND year_joined = 1952 AND location = "versailles" | CREATE TABLE table_name_58 (conference_joined VARCHAR, location VARCHAR, county VARCHAR, year_joined VARCHAR) | what is the conference joined for the county 69 ripley in 1952 in versailles? |
SELECT mascot FROM table_name_91 WHERE county = "78 switzerland" | CREATE TABLE table_name_91 (mascot VARCHAR, county VARCHAR) | who is the mascot of the county 78 switzerland? |
SELECT COUNT(time) FROM table_name_52 WHERE lane < 8 AND nationality = "canada" AND rank < 8 | CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR) | What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8? |
SELECT COUNT(react) FROM table_name_53 WHERE time < 20.05 AND lane < 6 | CREATE TABLE table_name_53 (react VARCHAR, time VARCHAR, lane VARCHAR) | What is the total react number with a time less than 20.05 and a lane less than 6? |
SELECT AVG(react) FROM table_name_59 WHERE name = "bryan barnett" AND lane < 2 | CREATE TABLE table_name_59 (react INTEGER, name VARCHAR, lane VARCHAR) | What is the average react of bryan barnett, who has a lane less than 2? |
SELECT year_left FROM table_name_68 WHERE team_name = "hornets" | CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR) | What year did the Hornets leave the conference? |
SELECT city FROM table_name_65 WHERE year_left = "1949" | CREATE TABLE table_name_65 (city VARCHAR, year_left VARCHAR) | In what city was the team that left the conference in 1949 based? |
SELECT year_joined FROM table_name_6 WHERE city = "winamac" | CREATE TABLE table_name_6 (year_joined VARCHAR, city VARCHAR) | What year did the team based in the city of Winamac join the conference? |
SELECT county FROM table_name_3 WHERE year_left = "1993" | CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR) | From what county was the team that left the conference in 1993? |
SELECT school FROM table_name_63 WHERE year_left = "1992" | CREATE TABLE table_name_63 (school VARCHAR, year_left VARCHAR) | From what school was the team that left the conference in 1992? |
SELECT year_joined FROM table_name_10 WHERE school = "western" | CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR) | In what year did the team from the Western school join the conference? |
SELECT AVG(place) FROM table_name_77 WHERE points < 1 | CREATE TABLE table_name_77 (place INTEGER, points INTEGER) | What is the place when less than 1 point is scored? |
SELECT MAX(draw) FROM table_name_36 WHERE points = 23 | CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR) | What is the highest draw number when 23 points are scored? |
SELECT MIN(heat) FROM table_name_40 WHERE time = "1:02.85" AND lane > 7 | CREATE TABLE table_name_40 (heat INTEGER, time VARCHAR, lane VARCHAR) | What is the lowest heat that had a time of 1:02.85 in a lane larger than 7? |
SELECT SUM(lane) FROM table_name_75 WHERE heat < 7 AND name = "elizabeth simmonds" | CREATE TABLE table_name_75 (lane INTEGER, heat VARCHAR, name VARCHAR) | What is the sum of the lanes before heat 7 that elizabeth simmonds swam? |
SELECT südbayern FROM table_name_27 WHERE year = 1928 | CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR) | What's the Südbayern in 1928? |
SELECT württemberg FROM table_name_51 WHERE baden = "karlsruher fv" AND year > 1931 | CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR) | What's the Württemberg for Karlsruher FV happening after 1931? |
SELECT COUNT(year) FROM table_name_78 WHERE baden = "freiburger fc" | CREATE TABLE table_name_78 (year VARCHAR, baden VARCHAR) | What's the year that has a Baden Freiburger FC? |
SELECT württemberg FROM table_name_42 WHERE year < 1929 | CREATE TABLE table_name_42 (württemberg VARCHAR, year INTEGER) | What's the Württemberg in the year before 1929? |
SELECT nordbayern FROM table_name_92 WHERE year < 1932 AND württemberg = "union böckingen" | CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR) | What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932? |
SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66" | CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR) | What was the high rebounds for the game that had a score of w 76-66? |
SELECT location_attendance FROM table_name_79 WHERE record = "16-6" | CREATE TABLE table_name_79 (location_attendance VARCHAR, record VARCHAR) | What was the location/attendance for the game with a record of 16-6? |
SELECT nationality FROM table_name_24 WHERE lane > 1 AND rank > 5 AND name = "hsu chi-chieh" | CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR) | What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh? |
SELECT COUNT(lane) FROM table_name_31 WHERE time = "1:56.64" AND rank < 7 | CREATE TABLE table_name_31 (lane VARCHAR, time VARCHAR, rank VARCHAR) | What is the lane with a time of 1:56.64, and a tank smaller than 7? |
SELECT rank FROM table_name_84 WHERE nationality = "japan" | CREATE TABLE table_name_84 (rank VARCHAR, nationality VARCHAR) | What is the rank of Japan? |
SELECT time FROM table_name_54 WHERE nationality = "russia" | CREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR) | What is the time for Russia? |
SELECT nation FROM table_name_27 WHERE silver > 0 AND rank = "1" | CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR) | What nation has more than 0 silver medals and is ranked 1? |
SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 6 | CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR) | What is the rank of the country with total more than 3 and more than 6 silver? |
SELECT MAX(silver) FROM table_name_54 WHERE gold > "1" AND bronze = 3 AND rank = "1" AND total < 12 | CREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR) | What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total? |
SELECT nation FROM table_name_58 WHERE total < 11 AND silver < 1 AND bronze < 1 | CREATE TABLE table_name_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) | What nation has a total less than 11, more than 1 silver and less than 1 bronze? |
SELECT MAX(silver) FROM table_name_76 WHERE nation = "norway" | CREATE TABLE table_name_76 (silver INTEGER, nation VARCHAR) | What is the most silver won by Norway? |
SELECT district FROM table_name_27 WHERE constituency_number = "60" | CREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR) | What district has a constituency of 60? |
SELECT district FROM table_name_88 WHERE name = "rajnagar" | CREATE TABLE table_name_88 (district VARCHAR, name VARCHAR) | What is district has a name of Rajnagar? |
SELECT score FROM table_name_25 WHERE away_team = "brentford" | CREATE TABLE table_name_25 (score VARCHAR, away_team VARCHAR) | What was the score for the away team of Brentford? |
SELECT tie_no FROM table_name_13 WHERE away_team = "crewe alexandra" | CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR) | What was the score of the tied game or the away team of Crewe Alexandra? |
SELECT date FROM table_name_17 WHERE away_team = "wrexham" | CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) | What was the date of the game for the Wrexham away team? |
SELECT date FROM table_name_27 WHERE home_team = "hartlepool united" | CREATE TABLE table_name_27 (date VARCHAR, home_team VARCHAR) | What was the date of the game for the HartlePool United team? |
SELECT tickets_sold___available FROM table_name_18 WHERE venue = "long beach arena" | CREATE TABLE table_name_18 (tickets_sold___available VARCHAR, venue VARCHAR) | What is the number of tickets sold and available for the concert at Long Beach Arena? |
SELECT city FROM table_name_42 WHERE venue = "arco arena" | CREATE TABLE table_name_42 (city VARCHAR, venue VARCHAR) | Which city has a venue of the Arco Arena? |
SELECT MIN(round) FROM table_name_92 WHERE opponent = "kazushi sakuraba" | CREATE TABLE table_name_92 (round INTEGER, opponent VARCHAR) | What is the lowest round that has kazushi sakuraba as the opponent? |
SELECT AVG(gold) FROM table_name_51 WHERE nation = "japan (jpn)" AND total < 5 | CREATE TABLE table_name_51 (gold INTEGER, nation VARCHAR, total VARCHAR) | Japan (JPN) with a total of less than 5, has what average gold medals? |
SELECT AVG(bronze) FROM table_name_86 WHERE gold > 0 AND silver < 0 | CREATE TABLE table_name_86 (bronze INTEGER, gold VARCHAR, silver VARCHAR) | What is the average bronze medal when gold is greater than 0, and there is less than 0 silver medals? |
SELECT COUNT(bronze) FROM table_name_2 WHERE rank > 2 AND total < 2 AND silver > 0 | CREATE TABLE table_name_2 (bronze VARCHAR, silver VARCHAR, rank VARCHAR, total VARCHAR) | What is the sum of bronze medals when the rank is greater than 2, and less than 2 total medals with silver medals being more than 0? |
SELECT AVG(total) FROM table_name_23 WHERE rank > 4 AND silver > 0 AND bronze < 1 | CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR) | With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total? |
SELECT MIN(gold) FROM table_name_49 WHERE bronze > 5 | CREATE TABLE table_name_49 (gold INTEGER, bronze INTEGER) | What is the fewest gold medals when the bronze medals is greater than 5? |
SELECT player FROM table_name_89 WHERE team = "oakland raiders" | CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR) | What is the player when the team is oakland raiders? |
SELECT team FROM table_name_30 WHERE college = "virginia tech" | CREATE TABLE table_name_30 (team VARCHAR, college VARCHAR) | What is the team when the college is virginia tech? |
SELECT college FROM table_name_74 WHERE team = "new york jets" | CREATE TABLE table_name_74 (college VARCHAR, team VARCHAR) | What college has a team of new york jets? |
SELECT team FROM table_name_74 WHERE pick > 30 AND college = "saginaw valley state" | CREATE TABLE table_name_74 (team VARCHAR, pick VARCHAR, college VARCHAR) | What team has a pick larger than 30, when the college is saginaw valley state? |
SELECT MAX(pick) FROM table_name_61 WHERE college = "saginaw valley state" | CREATE TABLE table_name_61 (pick INTEGER, college VARCHAR) | What is the highest pick when the college is saginaw valley state? |
SELECT record FROM table_name_37 WHERE opponent = "akiko inoue" | CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR) | what is the record when the opponent is akiko inoue? |
SELECT event FROM table_name_7 WHERE location = "tokyo, japan" AND record = "6-1" | CREATE TABLE table_name_7 (event VARCHAR, location VARCHAR, record VARCHAR) | what is the even when the location is tokyo, japan and the record is 6-1? |
SELECT range FROM table_name_7 WHERE name = "mount fukushima" AND rank = 38 | CREATE TABLE table_name_7 (range VARCHAR, name VARCHAR, rank VARCHAR) | Which range includes Mount Fukushima, and is ranked 38? |
SELECT SUM(altitude__meters_) FROM table_name_93 WHERE range = "belgica mountains" AND name = "mount launoit" | CREATE TABLE table_name_93 (altitude__meters_ INTEGER, range VARCHAR, name VARCHAR) | What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains? |
SELECT COUNT(altitude__meters_) FROM table_name_72 WHERE range = "mühlig-hofmann mountains" AND rank < 10 | CREATE TABLE table_name_72 (altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR) | What is the Altitude (meters) associated with a rank smaller than 10, and the range Mühlig-Hofmann Mountains? |
SELECT name FROM table_name_79 WHERE range = "sivorgfjella" AND rank > 69 AND altitude__meters_ < 2154 | CREATE TABLE table_name_79 (name VARCHAR, altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR) | What name is associated with a rank greater than 69, an altitude (meters) smaller than 2154, and a range of Sivorgfjella? |
SELECT name FROM table_name_41 WHERE rank < 24 AND altitude__meters_ = 3085 | CREATE TABLE table_name_41 (name VARCHAR, rank VARCHAR, altitude__meters_ VARCHAR) | What name is associated with a rank of less than 24, and an altitude (meters) of 3085? |
SELECT primary_conference FROM table_name_56 WHERE ihsaa_football_class = "a" AND school = "south decatur" | CREATE TABLE table_name_56 (primary_conference VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) | What is the primary conference with a IHSAA Football Class of A, at South Decatur school? |
SELECT location FROM table_name_28 WHERE county = "30 hancock" | CREATE TABLE table_name_28 (location VARCHAR, county VARCHAR) | What is the Location with a county of 30 Hancock? |
SELECT county FROM table_name_36 WHERE ihsaa_football_class = "a" AND mascot = "royals" | CREATE TABLE table_name_36 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR) | What county has an IHSAA Football Class of A, and a Mascot of royals? |
SELECT school FROM table_name_74 WHERE county = "69 ripley" | CREATE TABLE table_name_74 (school VARCHAR, county VARCHAR) | What school has a county of 69 ripley? |
SELECT enrollment FROM table_name_9 WHERE mascot = "fighting '59ers" | CREATE TABLE table_name_9 (enrollment VARCHAR, mascot VARCHAR) | What is the enrollment for the school with the mascot of the Fighting '59ers? |
SELECT nation FROM table_name_32 WHERE total < 2 AND bronze < 1 AND silver = 1 | CREATE TABLE table_name_32 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR) | What nation has a total less than 2, silver of 1 and bronze less than 1? |
SELECT SUM(total) FROM table_name_25 WHERE bronze = 3 AND gold < 1 AND silver < 0 | CREATE TABLE table_name_25 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | What's the total with silver being less than 0, less than 1 gold, and 3 bronze? |
SELECT time FROM table_name_43 WHERE heat > 4 AND nationality = "australia" | CREATE TABLE table_name_43 (time VARCHAR, heat VARCHAR, nationality VARCHAR) | What's Australia's time in the heat more than 4? |
SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = "sara isakovič" | CREATE TABLE table_name_43 (lane INTEGER, heat VARCHAR, name VARCHAR) | What's Sara Isakovič's lane number that had a heat of 3? |
SELECT COUNT(heat) FROM table_name_64 WHERE time = "2:08.54" | CREATE TABLE table_name_64 (heat VARCHAR, time VARCHAR) | What's the heat that was timed 2:08.54? |
SELECT director FROM table_name_94 WHERE title = "fish tales" | CREATE TABLE table_name_94 (director VARCHAR, title VARCHAR) | Who is the Director of Fish Tales? |
SELECT title FROM table_name_40 WHERE release_date = "1936-08-29" | CREATE TABLE table_name_40 (title VARCHAR, release_date VARCHAR) | What was released on 1936-08-29? |
SELECT release_date FROM table_name_50 WHERE title = "milk and money" | CREATE TABLE table_name_50 (release_date VARCHAR, title VARCHAR) | What is the release date of Milk and Money? |
SELECT release_date FROM table_name_95 WHERE title = "i wanna play house" | CREATE TABLE table_name_95 (release_date VARCHAR, title VARCHAR) | What is the release date of I Wanna Play House? |
SELECT director FROM table_name_31 WHERE title = "little beau porky" | CREATE TABLE table_name_31 (director VARCHAR, title VARCHAR) | Who is the director of Little Beau Porky? |
SELECT release_date FROM table_name_59 WHERE title = "the blow out" | CREATE TABLE table_name_59 (release_date VARCHAR, title VARCHAR) | What is the release date of The Blow Out? |
SELECT author FROM table_name_18 WHERE company = "buzz productions theater" | CREATE TABLE table_name_18 (author VARCHAR, company VARCHAR) | Who was the author for company Buzz Productions Theater? |
SELECT country FROM table_name_15 WHERE play = "cyclops" | CREATE TABLE table_name_15 (country VARCHAR, play VARCHAR) | What country had the play Cyclops? |
SELECT country FROM table_name_5 WHERE play = "medea" | CREATE TABLE table_name_5 (country VARCHAR, play VARCHAR) | What country had the play Medea? |
SELECT play FROM table_name_18 WHERE country = "belgium" | CREATE TABLE table_name_18 (play VARCHAR, country VARCHAR) | What play is from the country Belgium? |
Subsets and Splits