answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT date FROM table_name_76 WHERE circuit = "mallala motor sport park" | CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR) | what date was mallala motor sport park the circuit? |
SELECT date FROM table_name_38 WHERE team = "m3 motorsport" AND circuit = "winton motor raceway" | CREATE TABLE table_name_38 (date VARCHAR, team VARCHAR, circuit VARCHAR) | what date did the m3 motorsport team compete at winton motor raceway? |
SELECT agg FROM table_name_34 WHERE team_2 = "asl sport guyanais" | CREATE TABLE table_name_34 (agg VARCHAR, team_2 VARCHAR) | Name the agg for team 2 of asl sport guyanais. |
SELECT agg FROM table_name_12 WHERE team_1 = "seba united" | CREATE TABLE table_name_12 (agg VARCHAR, team_1 VARCHAR) | Name the agg for seba united |
SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "defence force" | CREATE TABLE table_name_61 (team_2 VARCHAR) | Name the 2nd leg for defence force |
SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau" | CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR) | Which country does FC Atyrau represent after the 2006 season? |
SELECT MAX(season) FROM table_name_72 WHERE country = "uzbekistan" AND team = "fc pakhtakor tashkent" AND apps > 6 | CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR) | In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps? |
SELECT COUNT(season) FROM table_name_89 WHERE goals = 1 AND apps > 11 | CREATE TABLE table_name_89 (season VARCHAR, goals VARCHAR, apps VARCHAR) | How many seasons have 1 goals and more than 11 apps? |
SELECT MIN(attendance) FROM table_name_44 WHERE record = "39-44" | CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR) | What game that had a record of 39-44 had the lowest attendance? |
SELECT opponent FROM table_name_7 WHERE loss = "saarloos (7-7)" | CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR) | Who was the opponent at the game that had a loss of Saarloos (7-7)? |
SELECT score FROM table_name_71 WHERE record = "81-60" | CREATE TABLE table_name_71 (score VARCHAR, record VARCHAR) | What was the score of the game with a record of 81-60? |
SELECT MIN(attendance) FROM table_name_29 WHERE score = "5-4" AND loss = "williams (2-4)" | CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR, loss VARCHAR) | What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)? |
SELECT year FROM table_name_96 WHERE place = "11th" AND played = 26 | CREATE TABLE table_name_96 (year VARCHAR, place VARCHAR, played VARCHAR) | What year did the 11th place play 26 games? |
SELECT COUNT(played) FROM table_name_24 WHERE ga = "22" | CREATE TABLE table_name_24 (played VARCHAR, ga VARCHAR) | What is the total played games of a 22 G.A.? |
SELECT winner FROM table_name_39 WHERE course = "genoa to livorno" | CREATE TABLE table_name_39 (winner VARCHAR, course VARCHAR) | Name the winner for genoa to livorno |
SELECT winner FROM table_name_80 WHERE date = "5 june" | CREATE TABLE table_name_80 (winner VARCHAR, date VARCHAR) | Name the winner for 5 june |
SELECT winner FROM table_name_97 WHERE race_leader = "rest day" | CREATE TABLE table_name_97 (winner VARCHAR, race_leader VARCHAR) | Name the winner for rest day race leader |
SELECT MIN(rank) FROM table_name_22 WHERE lane < 5 AND nationality = "germany" AND name = "sandra vΓΆlker" | CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR, nationality VARCHAR) | Name the least rank for lane less than 5 for germany and sandra vΓΆlker |
SELECT COUNT(rank) FROM table_name_69 WHERE lane = 7 | CREATE TABLE table_name_69 (rank VARCHAR, lane VARCHAR) | Name the total number of rank for lane 7 |
SELECT MAX(time) FROM table_name_71 WHERE name = "katrin meiΓner" AND rank < 5 | CREATE TABLE table_name_71 (time INTEGER, name VARCHAR, rank VARCHAR) | Name the most time for katrin meiΓner and rank less than 5 |
SELECT name FROM table_name_2 WHERE time = 25.74 | CREATE TABLE table_name_2 (name VARCHAR, time VARCHAR) | Tell me the name for time of 25.74 |
SELECT signed FROM table_name_50 WHERE school = "university of southern california" | CREATE TABLE table_name_50 (signed VARCHAR, school VARCHAR) | Was the University of Southern California Signed? |
SELECT signed FROM table_name_13 WHERE school = "university of michigan" | CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR) | Was the University of Michigan Signed? |
SELECT MAX(round) FROM table_name_92 WHERE school = "university of southern california" | CREATE TABLE table_name_92 (round INTEGER, school VARCHAR) | What is the University of Southern California's highest Round? |
SELECT home_captain FROM table_name_89 WHERE venue = "sabina park" | CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR) | Who was the home captain at Sabina Park? |
SELECT result FROM table_name_30 WHERE venue = "queen's park oval" | CREATE TABLE table_name_30 (result VARCHAR, venue VARCHAR) | What was the result of the game hosted at Queen's Park Oval? |
SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988 | CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR) | Name the genre for release-year of first charted record of 1988 |
SELECT loss FROM table_name_96 WHERE record = "77-65" | CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) | What was the loss of the game with a record of 77-65? |
SELECT loss FROM table_name_29 WHERE record = "84-71" | CREATE TABLE table_name_29 (loss VARCHAR, record VARCHAR) | What was the loss of the game with a record of 84-71? |
SELECT date FROM table_name_11 WHERE record = "34-41" | CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) | What date was the record 34-41? |
SELECT type FROM table_name_18 WHERE course = "grosseto to rieti" | CREATE TABLE table_name_18 (type VARCHAR, course VARCHAR) | What type had a course of Grosseto To Rieti? |
SELECT season FROM table_name_53 WHERE league = "wcjhl" AND assists = 86 | CREATE TABLE table_name_53 (season VARCHAR, league VARCHAR, assists VARCHAR) | In what Season were there 86 Assists in the WCJHL League? |
SELECT MIN(assists) FROM table_name_37 WHERE league = "wchl" AND goals < 65 | CREATE TABLE table_name_37 (assists INTEGER, league VARCHAR, goals VARCHAR) | In the WCHL League, what is the last Assists with less than 65 Goals? |
SELECT MAX(points) FROM table_name_53 WHERE assists = 46 | CREATE TABLE table_name_53 (points INTEGER, assists VARCHAR) | What are the most Points with an Assist of 46? |
SELECT compound_name FROM table_name_2 WHERE colour = "yellow" | CREATE TABLE table_name_2 (compound_name VARCHAR, colour VARCHAR) | What compound is yellow? |
SELECT colour FROM table_name_31 WHERE compound_name = "super-soft" | CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR) | What color is the super-soft compound? |
SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232" | CREATE TABLE table_name_26 (tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR) | Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232? |
SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre" | CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR) | What is the Gross Revenue (1979) of the Venue, lyceum theatre? |
SELECT tickets_sold___available FROM table_name_44 WHERE venue = "hippodrome" | CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, venue VARCHAR) | What is the amount of Tickets Sold/ Available at the Venue of hippodrome? |
SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712" | CREATE TABLE table_name_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR) | Which Venue has a Gross Revenue (2012) of $179,712? |
SELECT venue FROM table_name_21 WHERE tickets_sold___available = "4,700 / 4,700 (100%)" | CREATE TABLE table_name_21 (venue VARCHAR, tickets_sold___available VARCHAR) | Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)? |
SELECT date FROM table_name_32 WHERE loss = "willis (0β1)" | CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR) | What was the date of the game that had a loss of Willis (0β1)? |
SELECT opponent FROM table_name_9 WHERE loss = "travers (0β2)" | CREATE TABLE table_name_9 (opponent VARCHAR, loss VARCHAR) | What was the opponent at the game that had a loss of Travers (0β2)? |
SELECT loss FROM table_name_46 WHERE record = "50-54" | CREATE TABLE table_name_46 (loss VARCHAR, record VARCHAR) | What was the Loss when the Record was 50-54? |
SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)" | CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) | Who was the opponent when the loss was Wells (4-7)? |
SELECT shoots FROM table_name_62 WHERE player = "craig peacock a" | CREATE TABLE table_name_62 (shoots VARCHAR, player VARCHAR) | What shows for shoots for craig peacock a? |
SELECT AVG(acquired) FROM table_name_73 WHERE number = 7 | CREATE TABLE table_name_73 (acquired INTEGER, number VARCHAR) | What is the average Acquired when the Number shows as 7? |
SELECT MAX(total) FROM table_name_87 WHERE 2013 = "6th" | CREATE TABLE table_name_87 (total INTEGER) | What is the total of 2013 with 6th? |
SELECT 2009 FROM table_name_45 WHERE total = 1 AND 2004 = "7th" | CREATE TABLE table_name_45 (total VARCHAR) | Which 2009 year has a total of 1, and 2004 year of 7th? |
SELECT 2013 FROM table_name_78 WHERE total = 5 AND 2009 = "5th" | CREATE TABLE table_name_78 (total VARCHAR) | What is the year 2013 with a total of 5, and 5th in 2009? |
SELECT 2001 FROM table_name_26 WHERE total > 1 AND 2009 = "8" | CREATE TABLE table_name_26 (total VARCHAR) | What is the year 2001 with a total larger than 1, and 2009 with 8? |
SELECT opponent FROM table_name_34 WHERE record = "90-70" | CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR) | What opponents have a record of 90-70? |
SELECT date FROM table_name_45 WHERE attendance > 50 OFFSET 324 | CREATE TABLE table_name_45 (date VARCHAR, attendance INTEGER) | What game had more than 50,324 in attendance? |
SELECT start FROM table_name_76 WHERE engine = "offy" AND year = 1972 | CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR) | What is the start of Offy engine and in 1972? |
SELECT chassis FROM table_name_12 WHERE engine = "offy" AND finish = "25th" | CREATE TABLE table_name_12 (chassis VARCHAR, engine VARCHAR, finish VARCHAR) | What is the chassis for offy engine and 25th finish? |
SELECT finish FROM table_name_7 WHERE chassis = "mclaren" | CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR) | What is the finish of Mclaren chassis? |
SELECT wrestlers FROM table_name_83 WHERE days_held = "428" | CREATE TABLE table_name_83 (wrestlers VARCHAR, days_held VARCHAR) | Name the wrestlers with days held of 428 |
SELECT wrestlers FROM table_name_58 WHERE days_held = "69" | CREATE TABLE table_name_58 (wrestlers VARCHAR, days_held VARCHAR) | Name the wrestlers for days held of 69 |
SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotΓ‘" AND score = "6β0, 6β4" | CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) | Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotΓ‘, and a Score of 6β0, 6β4? |
SELECT opponent FROM table_name_7 WHERE score = "6β4, 3β6, 6β3" | CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) | Which opponent has a Score of 6β4, 3β6, 6β3? |
SELECT score FROM table_name_21 WHERE date = "04 september 2006" | CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR) | What is the score for 04 september 2006? |
SELECT tournament FROM table_name_40 WHERE score = "4-6 6-2 6-1" | CREATE TABLE table_name_40 (tournament VARCHAR, score VARCHAR) | Which Tournament has a Score of 4-6 6-2 6-1? |
SELECT outcome FROM table_name_50 WHERE surface = "clay" AND score = "4β6, 7β5, 2β6" | CREATE TABLE table_name_50 (outcome VARCHAR, surface VARCHAR, score VARCHAR) | Which outcome has a Surface of clay and a Score of 4β6, 7β5, 2β6? |
SELECT date FROM table_name_15 WHERE tournament = "versmold" | CREATE TABLE table_name_15 (date VARCHAR, tournament VARCHAR) | What date was versmold? |
SELECT competition FROM table_name_17 WHERE opponents = "motherwell" | CREATE TABLE table_name_17 (competition VARCHAR, opponents VARCHAR) | Name the competition for motherwell opponents |
SELECT home_leg FROM table_name_82 WHERE competition = "uefa europa league" AND round = "q1" AND opponents = "motherwell" | CREATE TABLE table_name_82 (home_leg VARCHAR, opponents VARCHAR, competition VARCHAR, round VARCHAR) | Name the home leg for uefa europa league and round of q1 with opponents of motherwell |
SELECT aggregate FROM table_name_65 WHERE opponents = "tauras" | CREATE TABLE table_name_65 (aggregate VARCHAR, opponents VARCHAR) | Name the aggregate with opponents of tauras |
SELECT date FROM table_name_16 WHERE record = "53-75" | CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR) | What date was 53-75 recorded? |
SELECT AVG(round) FROM table_name_42 WHERE overall = 62 | CREATE TABLE table_name_42 (round INTEGER, overall VARCHAR) | Overall of 62 is what average round? |
SELECT MIN(overall) FROM table_name_32 WHERE college = "san diego state" AND pick__number < 30 | CREATE TABLE table_name_32 (overall INTEGER, college VARCHAR, pick__number VARCHAR) | College of san diego state, and a Pick # smaller than 30 is what lowest overall? |
SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30 | CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR) | College of san diego state, and a Pick # smaller than 30 has what lowest overall? |
SELECT city_of_license FROM table_name_9 WHERE network_affiliation = "independent" AND format = "variety" AND station = "kkup" | CREATE TABLE table_name_9 (city_of_license VARCHAR, station VARCHAR, network_affiliation VARCHAR, format VARCHAR) | Which city of license has an independent network affiliation, a variety format and is station KKUP? |
SELECT status FROM table_name_60 WHERE network_affiliation = "independent" AND station = "kpfb" | CREATE TABLE table_name_60 (status VARCHAR, network_affiliation VARCHAR, station VARCHAR) | What is the status of the independent station KPFB? |
SELECT city_of_license FROM table_name_56 WHERE status = "owned by coyote communications" | CREATE TABLE table_name_56 (city_of_license VARCHAR, status VARCHAR) | Which city station is owned by Coyote Communications? |
SELECT SUM(year) FROM table_name_10 WHERE competition = "olympic games" | CREATE TABLE table_name_10 (year INTEGER, competition VARCHAR) | What year were the Olympic Games? |
SELECT MIN(year) FROM table_name_92 WHERE position = "5th" AND venue = "osaka, japan" | CREATE TABLE table_name_92 (year INTEGER, position VARCHAR, venue VARCHAR) | What's the year in 5th position that happened in Osaka, Japan? |
SELECT MIN(year) FROM table_name_57 WHERE venue = "barcelona, spain" | CREATE TABLE table_name_57 (year INTEGER, venue VARCHAR) | What year was the venue in Barcelona, Spain? |
SELECT decile FROM table_name_10 WHERE authority = "state" AND roll = 798 | CREATE TABLE table_name_10 (decile VARCHAR, authority VARCHAR, roll VARCHAR) | For a school with authority of state and a roll of 798, what is the decile? |
SELECT years FROM table_name_6 WHERE roll > 296 AND area = "murupara" | CREATE TABLE table_name_6 (years VARCHAR, roll VARCHAR, area VARCHAR) | Murupara has a roll greater than 296 for what years? |
SELECT roll FROM table_name_66 WHERE authority = "state" AND decile > 1 | CREATE TABLE table_name_66 (roll VARCHAR, authority VARCHAR, decile VARCHAR) | When a school has authority of state and a decile greater than 1, what is the roll number? |
SELECT opponent FROM table_name_53 WHERE date = "august 30" | CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR) | Who did the Jays play on August 30? |
SELECT opponent FROM table_name_10 WHERE record = "5-0-1" | CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR) | Which opponent has a record of 5-0-1? |
SELECT method FROM table_name_90 WHERE opponent = "dan new" | CREATE TABLE table_name_90 (method VARCHAR, opponent VARCHAR) | What method does the opponent of Dan New use? |
SELECT method FROM table_name_27 WHERE record = "3-0" | CREATE TABLE table_name_27 (method VARCHAR, record VARCHAR) | Which method has a record of 3-0? |
SELECT event FROM table_name_24 WHERE res = "win" AND round = "n/a" AND opponent = "nicolas smith" | CREATE TABLE table_name_24 (event VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR) | Which event is a win by an opponent of Nicolas Smith, with the round marked n/a? |
SELECT event FROM table_name_36 WHERE round = "1" AND opponent = "dan spychalski" | CREATE TABLE table_name_36 (event VARCHAR, round VARCHAR, opponent VARCHAR) | Which event lasted 1 round and included an opponent of Dan Spychalski? |
SELECT record FROM table_name_70 WHERE opponent = "jimmy smith" | CREATE TABLE table_name_70 (record VARCHAR, opponent VARCHAR) | What is Jimmy Smith's opponent's record? |
SELECT SUM(frequency) FROM table_name_47 WHERE brand = "exa fm" | CREATE TABLE table_name_47 (frequency INTEGER, brand VARCHAR) | Name the sum of frequecy with brand of exa fm |
SELECT webcast FROM table_name_5 WHERE website = "β’" AND frequency = 103.3 | CREATE TABLE table_name_5 (webcast VARCHAR, website VARCHAR, frequency VARCHAR) | Name the webcast for website of β’ and frequency of 103.3 |
SELECT MIN(frequency) FROM table_name_54 WHERE brand = "radio manantial" | CREATE TABLE table_name_54 (frequency INTEGER, brand VARCHAR) | Name the lowest frequency for brand of radio manantial |
SELECT COUNT(game) FROM table_name_13 WHERE score = "new york yankees β 2, brooklyn dodgers β 3" | CREATE TABLE table_name_13 (game VARCHAR, score VARCHAR) | Score of new york yankees β 2, brooklyn dodgers β 3 involves how many number of games? |
SELECT score FROM table_name_15 WHERE date = "october 5" | CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR) | Date of october 5 had what score? |
SELECT SUM(attendance) FROM table_name_47 WHERE score = "brooklyn dodgers β 3, new york yankees β 5" AND game > 1 | CREATE TABLE table_name_47 (attendance INTEGER, score VARCHAR, game VARCHAR) | brooklyn dodgers β 3, new york yankees β 5, and a Game larger than 1 had what attendance figure? |
SELECT mixed_doubles FROM table_name_42 WHERE season = 2002 | CREATE TABLE table_name_42 (mixed_doubles VARCHAR, season VARCHAR) | Who won mixed doubles in the 2002 season? |
SELECT MIN(quay_cranes) FROM table_name_72 WHERE berths = 1 AND operator = "mtl" AND terminal = "terminal 5 (ct5)" | CREATE TABLE table_name_72 (quay_cranes INTEGER, terminal VARCHAR, berths VARCHAR, operator VARCHAR) | Name the lowest Quay cranes for Berths of 1 and operator of mtl with terminal of terminal 5 (ct5) |
SELECT operator FROM table_name_81 WHERE berths > 1 AND depth__m_ = "12.5-15.5" | CREATE TABLE table_name_81 (operator VARCHAR, berths VARCHAR, depth__m_ VARCHAR) | Name the operator with berths more than 1 and depth of 12.5-15.5 |
SELECT AVG(points) FROM table_name_3 WHERE chassis = "mclaren m23" AND entrant = "centro asegurador" | CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR, entrant VARCHAR) | What is the average points that Centro Asegurador earned with the McLaren M23 chassis? |
SELECT chassis FROM table_name_94 WHERE year > 1981 | CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER) | What was the chassis of Emilio de Villota in 1981? |
SELECT director_s_ FROM table_name_98 WHERE date = "14/6/6" | CREATE TABLE table_name_98 (director_s_ VARCHAR, date VARCHAR) | What directors won an award on 14/6/6? |
SELECT date FROM table_name_42 WHERE recipient = "passion pictures" | CREATE TABLE table_name_42 (date VARCHAR, recipient VARCHAR) | What date did Passion Pictures receive an award? |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.