context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_name_1 (res VARCHAR, record VARCHAR) | What was the result of the bout that led to a 4-4 record? | SELECT res FROM table_name_1 WHERE record = "4-4" |
CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR) | Which location held the bout that led to a 4-3 record? | SELECT location FROM table_name_19 WHERE record = "4-3" |
CREATE TABLE table_name_90 (discs VARCHAR, region_1_release VARCHAR) | What discs has a region 1 release date of January 22, 2008? | SELECT discs FROM table_name_90 WHERE region_1_release = "january 22, 2008" |
CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR) | What is the lowest rank of Citigroup? | SELECT MIN(rank) FROM table_name_67 WHERE name = "citigroup" |
CREATE TABLE table_name_10 (market_value___usd_million_ VARCHAR, industry VARCHAR) | What is the market value of the automotive industry? | SELECT COUNT(market_value___usd_million_) FROM table_name_10 WHERE industry = "automotive" |
CREATE TABLE table_name_92 (attendance VARCHAR, result VARCHAR) | Name the attendance with result of t 14-14 | SELECT attendance FROM table_name_92 WHERE result = "t 14-14" |
CREATE TABLE table_name_43 (attendance VARCHAR, date VARCHAR, week VARCHAR) | Name the total number of attendance for october 20, 1946 with week less than 4 | SELECT COUNT(attendance) FROM table_name_43 WHERE date = "october 20, 1946" AND week < 4 |
CREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR, week VARCHAR) | Name the most attendance for november 17, 1946 and week more than 8 | SELECT MAX(attendance) FROM table_name_21 WHERE date = "november 17, 1946" AND week > 8 |
CREATE TABLE table_name_92 (points INTEGER, rank VARCHAR) | What is the sum of the points for the player who was a rank of 61t? | SELECT SUM(points) FROM table_name_92 WHERE rank = "61t" |
CREATE TABLE table_name_87 (player VARCHAR, points INTEGER) | Who is the player who had more than 1,052 points? | SELECT player FROM table_name_87 WHERE points > 1 OFFSET 052 |
CREATE TABLE table_name_96 (points INTEGER, player VARCHAR) | What are the highest points that Emmitt Smith had? | SELECT MAX(points) FROM table_name_96 WHERE player = "emmitt smith" |
CREATE TABLE table_name_33 (attendance VARCHAR, record VARCHAR) | Record of 6–8 had what attendance? | SELECT attendance FROM table_name_33 WHERE record = "6–8" |
CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR) | Result of l 17–20 had what attendance? | SELECT attendance FROM table_name_31 WHERE result = "l 17–20" |
CREATE TABLE table_name_29 (attendance VARCHAR, game_site VARCHAR, result VARCHAR) | Game Site of hoosier dome, and a Result of l 7–31 involved what attendance? | SELECT attendance FROM table_name_29 WHERE game_site = "hoosier dome" AND result = "l 7–31" |
CREATE TABLE table_name_48 (year INTEGER, venue VARCHAR, score VARCHAR) | Which Year is the highest one that has a Venue of blackwolf run, composite course, and a Score of 281? | SELECT MAX(year) FROM table_name_48 WHERE venue = "blackwolf run, composite course" AND score = "281" |
CREATE TABLE table_name_35 (champion VARCHAR, venue VARCHAR) | Which Champion has a Venue of old waverly golf club? | SELECT champion FROM table_name_35 WHERE venue = "old waverly golf club" |
CREATE TABLE table_name_80 (world_ranking INTEGER, date VARCHAR, year VARCHAR) | How many world rankings are after Aug 5, 1980 ? | SELECT SUM(world_ranking) FROM table_name_80 WHERE date = "aug 5" AND year > 1980 |
CREATE TABLE table_name_9 (date VARCHAR, performance VARCHAR) | On which date is there a performance of more than 8.22.72? | SELECT date FROM table_name_9 WHERE performance = "8.22.72" |
CREATE TABLE table_name_84 (date VARCHAR, venue VARCHAR) | The venue of Rome has which date? | SELECT date FROM table_name_84 WHERE venue = "rome" |
CREATE TABLE table_name_11 (agg VARCHAR) | What was the 1st leg of the match that had an aggregate of 4-3? | SELECT 1 AS st_leg FROM table_name_11 WHERE agg = "4-3" |
CREATE TABLE table_name_49 (last_final_lost VARCHAR, wins VARCHAR) | When was the last final lost of the club with 7 wins? | SELECT last_final_lost FROM table_name_49 WHERE wins = "7" |
CREATE TABLE table_name_39 (runners_up VARCHAR, last_final_lost VARCHAR) | How many runners-up did the club with the last final lost in 1985 have? | SELECT runners_up FROM table_name_39 WHERE last_final_lost = "1985" |
CREATE TABLE table_name_70 (last_final_lost VARCHAR, last_win VARCHAR) | When was the last final lost of the club with a last win in 1959? | SELECT last_final_lost FROM table_name_70 WHERE last_win = "1959" |
CREATE TABLE table_name_89 (last_win VARCHAR, club VARCHAR) | When was the last win of Celtic? | SELECT last_win FROM table_name_89 WHERE club = "celtic" |
CREATE TABLE table_name_27 (club VARCHAR, runners_up VARCHAR) | Which club had 13 runners-up? | SELECT club FROM table_name_27 WHERE runners_up = "13" |
CREATE TABLE table_name_41 (visitor VARCHAR, home VARCHAR, date VARCHAR) | Who is the visitor in Philadelphia on March 6? | SELECT visitor FROM table_name_41 WHERE home = "philadelphia" AND date = "march 6" |
CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) | what date were they playing in hawthorn | SELECT date FROM table_name_17 WHERE away_team = "hawthorn" |
CREATE TABLE table_name_48 (report VARCHAR, home_team VARCHAR) | what report was in geelong | SELECT report FROM table_name_48 WHERE home_team = "geelong" |
CREATE TABLE table_name_45 (town_city VARCHAR, name VARCHAR) | In what Town/City is Nana Museum of The Arctic located? | SELECT town_city FROM table_name_45 WHERE name = "nana museum of the arctic" |
CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR) | What is the Name of the Multiple Type museum in Anchorage? | SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple" |
CREATE TABLE table_name_31 (name VARCHAR, borough VARCHAR, type VARCHAR) | In what Borough is the Anchorage museum of Natural History? | SELECT name FROM table_name_31 WHERE borough = "anchorage" AND type = "natural history" |
CREATE TABLE table_name_8 (region VARCHAR, type VARCHAR, town_city VARCHAR) | In what Region is the Native American museum in Anchorage? | SELECT region FROM table_name_8 WHERE type = "native american" AND town_city = "anchorage" |
CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR) | What Type of museum is the Valdez museum? | SELECT type FROM table_name_73 WHERE name = "valdez museum" |
CREATE TABLE table_name_82 (borough VARCHAR, type VARCHAR, name VARCHAR) | In what Borough is the History Type Fairbanks Community Museum? | SELECT borough FROM table_name_82 WHERE type = "history" AND name = "fairbanks community museum" |
CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR) | what is the zip code of boonville | SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville" |
CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR) | Which tournament was held on 9 Jun 2002? | SELECT tournament FROM table_name_57 WHERE date = "9 jun 2002" |
CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament? | SELECT winning_score FROM table_name_93 WHERE margin_of_victory = "4 strokes" AND tournament = "nec invitational" |
CREATE TABLE table_name_45 (runner_s__up VARCHAR, winning_score VARCHAR) | Who is the runner-up where the winning score is –8 (71-69-67-73=280)? | SELECT runner_s__up FROM table_name_45 WHERE winning_score = –8(71 - 69 - 67 - 73 = 280) |
CREATE TABLE table_name_67 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke? | SELECT winning_score FROM table_name_67 WHERE margin_of_victory = "1 stroke" AND tournament = "linde german masters" |
CREATE TABLE table_name_19 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | Who is runner-up where the winning score is –6 (65-70-70-69=274) and the margin of victory is 3 strokes? | SELECT runner_s__up FROM table_name_19 WHERE margin_of_victory = "3 strokes" AND winning_score = –6(65 - 70 - 70 - 69 = 274) |
CREATE TABLE table_name_27 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR) | What is the winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke? | SELECT winning_score FROM table_name_27 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "robert-jan derksen" |
CREATE TABLE table_name_17 (high_rebounds VARCHAR, team VARCHAR) | What are the high rebounds of team @ Charlotte? | SELECT high_rebounds FROM table_name_17 WHERE team = "@ charlotte" |
CREATE TABLE table_name_46 (high_rebounds VARCHAR, game VARCHAR) | What is the high rebounds of game 68? | SELECT high_rebounds FROM table_name_46 WHERE game = 68 |
CREATE TABLE table_name_63 (score VARCHAR, game VARCHAR, team VARCHAR) | What is the score of New York team before game 61? | SELECT score FROM table_name_63 WHERE game < 61 AND team = "new york" |
CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) | When David McNamara was the opponent in the final, what was the tier? | SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "david mcnamara" |
CREATE TABLE table_name_6 (international_tourist_arrivals__2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR) | In 2011, how many tourists visited the country that had 23.4 million tourists in 2012? | SELECT international_tourist_arrivals__2011_ FROM table_name_6 WHERE international_tourist_arrivals__2012_ = "23.4 million" |
CREATE TABLE table_name_38 (international_tourist_arrivals__2012_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | How many tourists visited the country that had 2.5 million tourists in 2011? | SELECT international_tourist_arrivals__2012_ FROM table_name_38 WHERE international_tourist_arrivals__2011_ = "2.5 million" |
CREATE TABLE table_name_6 (distance VARCHAR, venue VARCHAR) | How far Venue of seoul, south korea is? | SELECT distance FROM table_name_6 WHERE venue = "seoul, south korea" |
CREATE TABLE table_name_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR) | Which Venue has a Tournament of olympic games with a Result of 4th? | SELECT venue FROM table_name_33 WHERE tournament = "olympic games" AND result = "4th" |
CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR) | What is the Result of Venue of edmonton, canada? | SELECT result FROM table_name_54 WHERE venue = "edmonton, canada" |
CREATE TABLE table_name_21 (team_2 VARCHAR) | What is the 1st leg of Team 2 PSV Eindhoven? | SELECT 1 AS st_leg FROM table_name_21 WHERE team_2 = "psv eindhoven" |
CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) | Which opponent was played at Forbes Field after week 4? | SELECT opponent FROM table_name_76 WHERE game_site = "forbes field" AND week > 4 |
CREATE TABLE table_name_46 (opponent VARCHAR, week VARCHAR) | Which opponent was played on week 9? | SELECT opponent FROM table_name_46 WHERE week = 9 |
CREATE TABLE table_name_28 (date VARCHAR, game_site VARCHAR) | What was the date of the game played at Fenway Park? | SELECT date FROM table_name_28 WHERE game_site = "fenway park" |
CREATE TABLE table_name_23 (opponents VARCHAR, year VARCHAR, team VARCHAR) | Which Opponents have a Year of 1998–99, and a Team of aston villa? | SELECT opponents FROM table_name_23 WHERE year = "1998–99" AND team = "aston villa" |
CREATE TABLE table_name_21 (score VARCHAR, opponents VARCHAR, year VARCHAR) | Which Score has Opponents of valencia, and a Year of 2011–12? | SELECT score FROM table_name_21 WHERE opponents = "valencia" AND year = "2011–12" |
CREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR) | Which Opponents have a Team of arsenal, and a Year of 1963–64? | SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963–64" |
CREATE TABLE table_name_78 (opponents VARCHAR, year VARCHAR, team VARCHAR) | Which Opponents have a Year of 1999–2000, and a Team of leeds united? | SELECT opponents FROM table_name_78 WHERE year = "1999–2000" AND team = "leeds united" |
CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR) | Which Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round? | SELECT opponents FROM table_name_82 WHERE score = "1–2" AND team = "arsenal" AND progress = "first round" |
CREATE TABLE table_name_11 (rank VARCHAR, points INTEGER) | How much Rank has Points larger than 282.5? | SELECT COUNT(rank) FROM table_name_11 WHERE points > 282.5 |
CREATE TABLE table_name_98 (rank INTEGER, points INTEGER) | Which Rank is the highest one that has Points smaller than 256.6? | SELECT MAX(rank) FROM table_name_98 WHERE points < 256.6 |
CREATE TABLE table_name_78 (nationality VARCHAR, rank VARCHAR) | Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3? | SELECT MAX(2 AS nd__m_) FROM table_name_78 WHERE nationality = "sui" AND rank < 3 |
CREATE TABLE table_name_72 (uk_broadcast_date VARCHAR, presenter VARCHAR) | What is the UK broadcast date of the episode where Chris Bonington was the presenter? | SELECT uk_broadcast_date FROM table_name_72 WHERE presenter = "chris bonington" |
CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR) | What is the episode title of the episode with Ben Okri as the presenter? | SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri" |
CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR) | Who is the presenter of the episode broadcast in the UK on 1996-09-25? | SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25" |
CREATE TABLE table_name_87 (uk_broadcast_date VARCHAR, presenter VARCHAR) | What is the UK broadcast date of the episode with Ben Okri as the presenter? | SELECT uk_broadcast_date FROM table_name_87 WHERE presenter = "ben okri" |
CREATE TABLE table_name_92 (score VARCHAR, home VARCHAR) | What was the score when the team played at the bobcats? | SELECT score FROM table_name_92 WHERE home = "bobcats" |
CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR) | What was the score when the Spurs' record was 43-13? | SELECT score FROM table_name_72 WHERE record = "43-13" |
CREATE TABLE table_name_63 (country_name VARCHAR, numeric_code VARCHAR, latin_3_letter_code VARCHAR) | What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv? | SELECT country_name FROM table_name_63 WHERE numeric_code < 246 AND latin_3_letter_code = "slv" |
CREATE TABLE table_name_86 (russian_name VARCHAR, latin_3_letter_code VARCHAR) | What is the Russian name with lbr as the Latin 3-letter code? | SELECT russian_name FROM table_name_86 WHERE latin_3_letter_code = "lbr" |
CREATE TABLE table_name_4 (country_name VARCHAR, numeric_code VARCHAR, latin_2_letter_code VARCHAR) | What is the country name with a numeric code less than 580 and a dk Latin 2-letter code? | SELECT country_name FROM table_name_4 WHERE numeric_code < 580 AND latin_2_letter_code = "dk" |
CREATE TABLE table_name_68 (cyrillic_code VARCHAR, latin_2_letter_code VARCHAR) | What is the Cyrillic code with a cu Latin 2-letter code? | SELECT cyrillic_code FROM table_name_68 WHERE latin_2_letter_code = "cu" |
CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR) | Name the least place for draw more than 3 and points of 8 | SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 8 |
CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR) | Name the song for points less than 16 and draw less than 3 | SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3 |
CREATE TABLE table_name_67 (single VARCHAR, artist VARCHAR) | what is the single of the queen | SELECT single FROM table_name_67 WHERE artist = "queen" |
CREATE TABLE table_name_41 (artist VARCHAR, year VARCHAR) | what artist won in 1953 | SELECT artist FROM table_name_41 WHERE year = "1953" |
CREATE TABLE table_name_14 (year VARCHAR, artist VARCHAR) | what year did david whitfield win | SELECT year FROM table_name_14 WHERE artist = "david whitfield" |
CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR) | What is the average rank of Roman Koudelka, who has less than 274.4 points? | SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = "roman koudelka" |
CREATE TABLE table_name_82 (points INTEGER, game INTEGER) | How many points was before game 14? | SELECT SUM(points) FROM table_name_82 WHERE game < 14 |
CREATE TABLE table_name_8 (points INTEGER, november VARCHAR) | What is the average points on November 6? | SELECT AVG(points) FROM table_name_8 WHERE november = 6 |
CREATE TABLE table_name_34 (against INTEGER, difference VARCHAR, lost VARCHAR) | Which average's against score has 2 as a difference and a lost of 5? | SELECT AVG(against) FROM table_name_34 WHERE difference = "2" AND lost = 5 |
CREATE TABLE table_name_75 (position VARCHAR, difference VARCHAR, against VARCHAR) | How many positions had a difference of - 4 and an against of less than 24? | SELECT COUNT(position) FROM table_name_75 WHERE difference = "- 4" AND against < 24 |
CREATE TABLE table_name_85 (lost INTEGER, points VARCHAR, position VARCHAR, drawn VARCHAR) | What is the smallest lost when position is larger than 6, drawn is 7, and the points stat is less than 15? | SELECT MIN(lost) FROM table_name_85 WHERE position > 6 AND drawn = 7 AND points < 15 |
CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR) | What is the largest played number when the difference is - 8 and position is more than 8? | SELECT MAX(played) FROM table_name_42 WHERE difference = "- 8" AND position > 8 |
CREATE TABLE table_name_34 (drawn INTEGER, difference VARCHAR, against VARCHAR) | What is the mean drawn when the difference is 0 and the against stat is more than 31? | SELECT AVG(drawn) FROM table_name_34 WHERE difference = "0" AND against > 31 |
CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR) | what is the winner of meridiana | SELECT owner FROM table_name_35 WHERE winner = "meridiana" |
CREATE TABLE table_name_44 (weight INTEGER, number VARCHAR) | Number of 13 that has what highest weight? | SELECT MAX(weight) FROM table_name_44 WHERE number = 13 |
CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR) | Weight of 220 has what class? | SELECT class FROM table_name_5 WHERE weight = 220 |
CREATE TABLE table_name_63 (number INTEGER, name VARCHAR, weight VARCHAR) | Name of byron geis, and a Weight smaller than 195 involves what average number? | SELECT AVG(number) FROM table_name_63 WHERE name = "byron geis" AND weight < 195 |
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR) | What was the record on March 22? | SELECT record FROM table_name_58 WHERE date = "march 22" |
CREATE TABLE table_name_96 (february INTEGER, game VARCHAR) | What day in february was game 53? | SELECT AVG(february) FROM table_name_96 WHERE game = 53 |
CREATE TABLE table_name_29 (record VARCHAR, february VARCHAR) | What is the team's record on februrary 23? | SELECT record FROM table_name_29 WHERE february = 23 |
CREATE TABLE table_name_94 (place INTEGER, total VARCHAR, draw VARCHAR) | Which Place is the lowest one that has a Total smaller than 24, and a Draw larger than 7? | SELECT MIN(place) FROM table_name_94 WHERE total < 24 AND draw > 7 |
CREATE TABLE table_name_87 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) | with lola t86/50 chassis and less than 7 points what is the entrant? | SELECT entrant FROM table_name_87 WHERE points < 7 AND chassis = "lola t86/50" |
CREATE TABLE table_name_69 (points INTEGER, entrant VARCHAR, year VARCHAR) | after 1987 and entrant of first racing what is the highest points? | SELECT MAX(points) FROM table_name_69 WHERE entrant = "first racing" AND year > 1987 |
CREATE TABLE table_name_62 (points VARCHAR, year INTEGER) | with year greater than 1988 what is the total number of points? | SELECT COUNT(points) FROM table_name_62 WHERE year > 1988 |
CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR) | what is the points total for forti corse? | SELECT SUM(points) FROM table_name_49 WHERE entrant = "forti corse" |
CREATE TABLE table_name_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR) | What is the Parts-per example of 2×10 −6? | SELECT parts_per_example FROM table_name_75 WHERE value_of_quantity = "2×10 −6" |
CREATE TABLE table_name_16 (coefficient VARCHAR, parts_per_example VARCHAR) | What is the Coefficient of 2 ppt? | SELECT coefficient FROM table_name_16 WHERE parts_per_example = "2 ppt" |
CREATE TABLE table_name_25 (format VARCHAR, catalog VARCHAR) | what is the format of catalog 865 821-1? | SELECT format FROM table_name_25 WHERE catalog = "865 821-1" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.