context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE SECTION (YEAR VARCHAR) | SELECT YEAR FROM SECTION GROUP BY YEAR ORDER BY COUNT(*) DESC LIMIT 1 | Find the year which offers the largest number of courses. | <s>[INST]Find the year which offers the largest number of courses. Context: CREATE TABLE SECTION (YEAR VARCHAR)[/INST]SELECT YEAR FROM SECTION GROUP BY YEAR ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_80 (home_team VARCHAR, game VARCHAR) | SELECT home_team FROM table_name_80 WHERE game = "game 2" | What is the Home Team in Game 2? | <s>[INST]What is the Home Team in Game 2? Context: CREATE TABLE table_name_80 (home_team VARCHAR, game VARCHAR)[/INST]SELECT home_team FROM table_name_80 WHERE game = "game 2"</s> |
CREATE TABLE table_name_32 (tournament VARCHAR) | SELECT tournament FROM table_name_32 WHERE 2009 = "2r" | Name the tournament for 2009 2r | <s>[INST]Name the tournament for 2009 2r Context: CREATE TABLE table_name_32 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_32 WHERE 2009 = "2r"</s> |
CREATE TABLE table_name_44 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_44 WHERE away_team = "richmond" | What is the smallest crowd when richmond is away? | <s>[INST]What is the smallest crowd when richmond is away? Context: CREATE TABLE table_name_44 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_44 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_72 (catalog VARCHAR, label VARCHAR) | SELECT catalog FROM table_name_72 WHERE label = "sony music direct" | What are the catalogs of releases from Sony Music Direct? | <s>[INST]What are the catalogs of releases from Sony Music Direct? Context: CREATE TABLE table_name_72 (catalog VARCHAR, label VARCHAR)[/INST]SELECT catalog FROM table_name_72 WHERE label = "sony music direct"</s> |
CREATE TABLE table_25999087_2 (mountains_classification VARCHAR, winner VARCHAR) | SELECT COUNT(mountains_classification) FROM table_25999087_2 WHERE winner = "Rui Costa" | How many mountains classifications when Rui Costa is the winner? | <s>[INST]How many mountains classifications when Rui Costa is the winner? Context: CREATE TABLE table_25999087_2 (mountains_classification VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(mountains_classification) FROM table_25999087_2 WHERE winner = "Rui Costa"</s> |
CREATE TABLE table_name_35 (high_rebounds VARCHAR, high_assists VARCHAR) | SELECT high_rebounds FROM table_name_35 WHERE high_assists = "a. johnson (6)" | Who had the highest rebounds of the game with A. Johnson (6) as the highest assist? | <s>[INST]Who had the highest rebounds of the game with A. Johnson (6) as the highest assist? Context: CREATE TABLE table_name_35 (high_rebounds VARCHAR, high_assists VARCHAR)[/INST]SELECT high_rebounds FROM table_name_35 WHERE high_assists = "a. johnson (6)"</s> |
CREATE TABLE table_name_14 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_14 WHERE date = "2 may 2007" | How many people attended on 2 may 2007? | <s>[INST]How many people attended on 2 may 2007? Context: CREATE TABLE table_name_14 (attendance INTEGER, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_14 WHERE date = "2 may 2007"</s> |
CREATE TABLE table_name_14 (name VARCHAR, date VARCHAR) | SELECT name FROM table_name_14 WHERE date = "cancelled" | What tour was cancelled? | <s>[INST]What tour was cancelled? Context: CREATE TABLE table_name_14 (name VARCHAR, date VARCHAR)[/INST]SELECT name FROM table_name_14 WHERE date = "cancelled"</s> |
CREATE TABLE table_name_9 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR) | SELECT MAX(grid) FROM table_name_9 WHERE manufacturer = "suzuki" AND time_retired = "+1:01.894" | What is the grid for the rider who rides a Suzuki and has the time of +1:01.894? | <s>[INST]What is the grid for the rider who rides a Suzuki and has the time of +1:01.894? Context: CREATE TABLE table_name_9 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_9 WHERE manufacturer = "suzuki" AND time_retired = "+1:01.894"</s> |
CREATE TABLE table_name_71 (gross VARCHAR, rank VARCHAR, director VARCHAR) | SELECT gross FROM table_name_71 WHERE rank > 7 AND director = "barry levinson" | WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON? | <s>[INST]WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON? Context: CREATE TABLE table_name_71 (gross VARCHAR, rank VARCHAR, director VARCHAR)[/INST]SELECT gross FROM table_name_71 WHERE rank > 7 AND director = "barry levinson"</s> |
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR) | SELECT result FROM table_19810459_1 WHERE background = "Small business owner" | What was the result for the contestant who was a small business owner? | <s>[INST]What was the result for the contestant who was a small business owner? Context: CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)[/INST]SELECT result FROM table_19810459_1 WHERE background = "Small business owner"</s> |
CREATE TABLE table_name_46 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_46 WHERE competition = "friendly" AND date = "30 april" | What is Score, when Competition is "Friendly", and when Date is "30 April"? | <s>[INST]What is Score, when Competition is "Friendly", and when Date is "30 April"? Context: CREATE TABLE table_name_46 (score VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_46 WHERE competition = "friendly" AND date = "30 april"</s> |
CREATE TABLE table_name_57 (tour_apps VARCHAR, career_caps VARCHAR) | SELECT tour_apps FROM table_name_57 WHERE career_caps = 15 | What is the tour Apps when the career caps show 15? | <s>[INST]What is the tour Apps when the career caps show 15? Context: CREATE TABLE table_name_57 (tour_apps VARCHAR, career_caps VARCHAR)[/INST]SELECT tour_apps FROM table_name_57 WHERE career_caps = 15</s> |
CREATE TABLE checking (custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) | SELECT COUNT(*), T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid GROUP BY T1.name | Find the number of checking accounts for each account name. | <s>[INST]Find the number of checking accounts for each account name. Context: CREATE TABLE checking (custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)[/INST]SELECT COUNT(*), T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid GROUP BY T1.name</s> |
CREATE TABLE table_name_28 (speed VARCHAR, rank VARCHAR, time VARCHAR) | SELECT speed FROM table_name_28 WHERE rank < 3 AND time = "1:06.19.90" | What is the Speed when the rank is smaller than 3, and time is 1:06.19.90? | <s>[INST]What is the Speed when the rank is smaller than 3, and time is 1:06.19.90? Context: CREATE TABLE table_name_28 (speed VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT speed FROM table_name_28 WHERE rank < 3 AND time = "1:06.19.90"</s> |
CREATE TABLE table_1965650_9 (player VARCHAR, college_junior_club_team VARCHAR) | SELECT player FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)" | When kitchener rangers (oha) is the college, junior, or club team team who is the player? | <s>[INST]When kitchener rangers (oha) is the college, junior, or club team team who is the player? Context: CREATE TABLE table_1965650_9 (player VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT player FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)"</s> |
CREATE TABLE table_name_65 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR) | SELECT knots_knots AS :_pseudoknot_prediction, _ FROM table_name_65 WHERE name = "tfold" | What is the pseudoknot prediction of the software named tfold? | <s>[INST]What is the pseudoknot prediction of the software named tfold? Context: CREATE TABLE table_name_65 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR)[/INST]SELECT knots_knots AS :_pseudoknot_prediction, _ FROM table_name_65 WHERE name = "tfold"</s> |
CREATE TABLE table_name_22 (name VARCHAR, notes VARCHAR) | SELECT name FROM table_name_22 WHERE notes = "n ornithischia of uncertain placement" | What is the Name of the dinosaur, whose notes are, "n ornithischia of uncertain placement"? | <s>[INST]What is the Name of the dinosaur, whose notes are, "n ornithischia of uncertain placement"? Context: CREATE TABLE table_name_22 (name VARCHAR, notes VARCHAR)[/INST]SELECT name FROM table_name_22 WHERE notes = "n ornithischia of uncertain placement"</s> |
CREATE TABLE table_name_6 (date VARCHAR, margin_of_victory VARCHAR) | SELECT date FROM table_name_6 WHERE margin_of_victory = "4 strokes" | What is the date of the 4 strokes margin of victory? | <s>[INST]What is the date of the 4 strokes margin of victory? Context: CREATE TABLE table_name_6 (date VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE margin_of_victory = "4 strokes"</s> |
CREATE TABLE table_name_40 (constituency_number VARCHAR, number_of_electorates__2009_ INTEGER) | SELECT constituency_number FROM table_name_40 WHERE number_of_electorates__2009_ > 152 OFFSET 958 | What is the constituency number with electorates (2009) number larger than 152,958? | <s>[INST]What is the constituency number with electorates (2009) number larger than 152,958? Context: CREATE TABLE table_name_40 (constituency_number VARCHAR, number_of_electorates__2009_ INTEGER)[/INST]SELECT constituency_number FROM table_name_40 WHERE number_of_electorates__2009_ > 152 OFFSET 958</s> |
CREATE TABLE matches (tourney_name VARCHAR) | SELECT tourney_name FROM matches GROUP BY tourney_name HAVING COUNT(*) > 10 | Find the name of tourney that has more than 10 matches. | <s>[INST]Find the name of tourney that has more than 10 matches. Context: CREATE TABLE matches (tourney_name VARCHAR)[/INST]SELECT tourney_name FROM matches GROUP BY tourney_name HAVING COUNT(*) > 10</s> |
CREATE TABLE table_name_43 (source VARCHAR, chrome VARCHAR) | SELECT source FROM table_name_43 WHERE chrome = "32.60%" | Which source reported 32.60% of browsers used Chrome? | <s>[INST]Which source reported 32.60% of browsers used Chrome? Context: CREATE TABLE table_name_43 (source VARCHAR, chrome VARCHAR)[/INST]SELECT source FROM table_name_43 WHERE chrome = "32.60%"</s> |
CREATE TABLE table_name_27 (gain INTEGER, long VARCHAR, avg_g VARCHAR) | SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND avg_g = 124.9 | How many gains have a long greater than 8, with avg/g of 124.9? | <s>[INST]How many gains have a long greater than 8, with avg/g of 124.9? Context: CREATE TABLE table_name_27 (gain INTEGER, long VARCHAR, avg_g VARCHAR)[/INST]SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND avg_g = 124.9</s> |
CREATE TABLE table_name_50 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_50 WHERE home_team = "manchester united" | What is Score, when Home Team is "Manchester United"? | <s>[INST]What is Score, when Home Team is "Manchester United"? Context: CREATE TABLE table_name_50 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_50 WHERE home_team = "manchester united"</s> |
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR) | SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY overall_rating DESC LIMIT 3 | Who are the top 3 players in terms of overall rating? | <s>[INST]Who are the top 3 players in terms of overall rating? Context: CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR)[/INST]SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDE... |
CREATE TABLE table_name_47 (spouse VARCHAR, birth VARCHAR) | SELECT spouse FROM table_name_47 WHERE birth = "29 october 1451" | Who is the Spouse of the Duchess that has a Birth on 29 october 1451? | <s>[INST]Who is the Spouse of the Duchess that has a Birth on 29 october 1451? Context: CREATE TABLE table_name_47 (spouse VARCHAR, birth VARCHAR)[/INST]SELECT spouse FROM table_name_47 WHERE birth = "29 october 1451"</s> |
CREATE TABLE table_name_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR) | SELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" | Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator? | <s>[INST]Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator? Context: CREATE TABLE table_name_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)[/INST]SELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = "sean grande" AND flagship_st... |
CREATE TABLE table_name_80 (time_retired VARCHAR, constructor VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_80 WHERE constructor = "bmw sauber" AND driver = "nick heidfeld" | What is the Time/Retired for the BMW Sauber, and Nick Heidfeld? | <s>[INST]What is the Time/Retired for the BMW Sauber, and Nick Heidfeld? Context: CREATE TABLE table_name_80 (time_retired VARCHAR, constructor VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_80 WHERE constructor = "bmw sauber" AND driver = "nick heidfeld"</s> |
CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_85 WHERE outcome = "winner" AND score = "6–3, 7–5" AND partner = "kimberly po-messerli" | Which Tournament has a winner Outcome with a Score of 6–3, 7–5 with Kimberly Po-Messerli as a Partner? | <s>[INST]Which Tournament has a winner Outcome with a Score of 6–3, 7–5 with Kimberly Po-Messerli as a Partner? Context: CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, outcome VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_85 WHERE outcome = "winner" AND score = "6–3, 7–5" AND partner... |
CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR) | SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "jean-claude andruet" | What was the average speed over 18.00km for winning driver Jean-Claude Andruet? | <s>[INST]What was the average speed over 18.00km for winning driver Jean-Claude Andruet? Context: CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR)[/INST]SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "jean-claude andruet"</s> |
CREATE TABLE station (id VARCHAR, local_authority VARCHAR); CREATE TABLE route (station_id VARCHAR, train_id VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, id VARCHAR) | SELECT t3.name, t3.time FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id JOIN train AS t3 ON t2.train_id = t3.id WHERE t1.local_authority = "Chiltern" | Find names and times of trains that run through stations for the local authority Chiltern. | <s>[INST]Find names and times of trains that run through stations for the local authority Chiltern. Context: CREATE TABLE station (id VARCHAR, local_authority VARCHAR); CREATE TABLE route (station_id VARCHAR, train_id VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, id VARCHAR)[/INST]SELECT t3.name, t3.time FR... |
CREATE TABLE table_20948329_1 (legs_won VARCHAR) | SELECT MAX(180 AS s) FROM table_20948329_1 WHERE legs_won = 45 | How many 180s have legs won of 45? | <s>[INST]How many 180s have legs won of 45? Context: CREATE TABLE table_20948329_1 (legs_won VARCHAR)[/INST]SELECT MAX(180 AS s) FROM table_20948329_1 WHERE legs_won = 45</s> |
CREATE TABLE table_name_67 (position VARCHAR, round VARCHAR, pick VARCHAR) | SELECT position FROM table_name_67 WHERE round > 8 AND pick < 270 | What position after round 8 has a pick less than 270? | <s>[INST]What position after round 8 has a pick less than 270? Context: CREATE TABLE table_name_67 (position VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_67 WHERE round > 8 AND pick < 270</s> |
CREATE TABLE table_name_17 (runners_up VARCHAR, individual VARCHAR) | SELECT runners_up FROM table_name_17 WHERE individual = "tiger woods" | Who were the runners-up when the individual winner was Tiger Woods? | <s>[INST]Who were the runners-up when the individual winner was Tiger Woods? Context: CREATE TABLE table_name_17 (runners_up VARCHAR, individual VARCHAR)[/INST]SELECT runners_up FROM table_name_17 WHERE individual = "tiger woods"</s> |
CREATE TABLE table_name_64 (language VARCHAR, title VARCHAR) | SELECT language FROM table_name_64 WHERE title = "strong heart" | What is the language for Strong Heart? | <s>[INST]What is the language for Strong Heart? Context: CREATE TABLE table_name_64 (language VARCHAR, title VARCHAR)[/INST]SELECT language FROM table_name_64 WHERE title = "strong heart"</s> |
CREATE TABLE table_name_42 (race_2 VARCHAR, race_1 VARCHAR) | SELECT race_2 FROM table_name_42 WHERE race_1 = "18" | What is Race 2, when Race 1 is "18"? | <s>[INST]What is Race 2, when Race 1 is "18"? Context: CREATE TABLE table_name_42 (race_2 VARCHAR, race_1 VARCHAR)[/INST]SELECT race_2 FROM table_name_42 WHERE race_1 = "18"</s> |
CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR) | SELECT SUM(final_year) FROM table_name_15 WHERE notes = "replaced by i-96" | What is the total of Final year that has a Notes of replaced by i-96? | <s>[INST]What is the total of Final year that has a Notes of replaced by i-96? Context: CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR)[/INST]SELECT SUM(final_year) FROM table_name_15 WHERE notes = "replaced by i-96"</s> |
CREATE TABLE table_name_44 (italian VARCHAR, common_english VARCHAR) | SELECT italian FROM table_name_44 WHERE common_english = "glarus" | What is the italian word for Glarus? | <s>[INST]What is the italian word for Glarus? Context: CREATE TABLE table_name_44 (italian VARCHAR, common_english VARCHAR)[/INST]SELECT italian FROM table_name_44 WHERE common_english = "glarus"</s> |
CREATE TABLE table_name_20 (white VARCHAR, opening VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR) | SELECT white FROM table_name_20 WHERE black = "anand" AND result = "½–½" AND moves = 39 AND opening = "d37 queen's gambit declined" | What's the white for a black of Anand, a result of ½–½, 39 moves, and an opening of d37 queen's gambit declined? | <s>[INST]What's the white for a black of Anand, a result of ½–½, 39 moves, and an opening of d37 queen's gambit declined? Context: CREATE TABLE table_name_20 (white VARCHAR, opening VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR)[/INST]SELECT white FROM table_name_20 WHERE black = "anand" AND result = "½–½" AND... |
CREATE TABLE table_name_71 (date INTEGER, catalog VARCHAR) | SELECT SUM(date) FROM table_name_71 WHERE catalog = "nebbc003" | What is the total number of Dates during which the Catalog nebbc003 was given? | <s>[INST]What is the total number of Dates during which the Catalog nebbc003 was given? Context: CREATE TABLE table_name_71 (date INTEGER, catalog VARCHAR)[/INST]SELECT SUM(date) FROM table_name_71 WHERE catalog = "nebbc003"</s> |
CREATE TABLE table_name_60 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_60 WHERE home_team = "fitzroy" | What is Fitzroy's Home team score? | <s>[INST]What is Fitzroy's Home team score? Context: CREATE TABLE table_name_60 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_60 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_name_96 (set_3 VARCHAR, date VARCHAR, time VARCHAR) | SELECT set_3 FROM table_name_96 WHERE date = "29 sep" AND time = "16:40" | For a date of 29 Sep and a time of 16:40, what is the corresponding Set 3? | <s>[INST]For a date of 29 Sep and a time of 16:40, what is the corresponding Set 3? Context: CREATE TABLE table_name_96 (set_3 VARCHAR, date VARCHAR, time VARCHAR)[/INST]SELECT set_3 FROM table_name_96 WHERE date = "29 sep" AND time = "16:40"</s> |
CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_77 WHERE venue = "lake oval" | Who was the home team for the game played at Lake Oval? | <s>[INST]Who was the home team for the game played at Lake Oval? Context: CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_77 WHERE venue = "lake oval"</s> |
CREATE TABLE table_name_6 (years_as_tallest VARCHAR, name VARCHAR) | SELECT years_as_tallest FROM table_name_6 WHERE name = "independence hall" | How many years as tallest building was Independence Hall? | <s>[INST]How many years as tallest building was Independence Hall? Context: CREATE TABLE table_name_6 (years_as_tallest VARCHAR, name VARCHAR)[/INST]SELECT years_as_tallest FROM table_name_6 WHERE name = "independence hall"</s> |
CREATE TABLE table_name_95 (byes INTEGER, against VARCHAR, wins VARCHAR) | SELECT MAX(byes) FROM table_name_95 WHERE against < 1867 AND wins = 11 | What is the most byes with 11 wins and fewer than 1867 againsts? | <s>[INST]What is the most byes with 11 wins and fewer than 1867 againsts? Context: CREATE TABLE table_name_95 (byes INTEGER, against VARCHAR, wins VARCHAR)[/INST]SELECT MAX(byes) FROM table_name_95 WHERE against < 1867 AND wins = 11</s> |
CREATE TABLE table_name_29 (partnering VARCHAR, tournament VARCHAR) | SELECT partnering FROM table_name_29 WHERE tournament = "lyon, france" | Who was the partner for the tournament in Lyon, France? | <s>[INST]Who was the partner for the tournament in Lyon, France? Context: CREATE TABLE table_name_29 (partnering VARCHAR, tournament VARCHAR)[/INST]SELECT partnering FROM table_name_29 WHERE tournament = "lyon, france"</s> |
CREATE TABLE table_name_22 (position VARCHAR, goals_against VARCHAR, points VARCHAR) | SELECT position FROM table_name_22 WHERE goals_against > 32 AND points > 30 | Which Position has Goals against larger than 32, and points larger than 30? | <s>[INST]Which Position has Goals against larger than 32, and points larger than 30? Context: CREATE TABLE table_name_22 (position VARCHAR, goals_against VARCHAR, points VARCHAR)[/INST]SELECT position FROM table_name_22 WHERE goals_against > 32 AND points > 30</s> |
CREATE TABLE table_name_97 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_97 WHERE week < 11 AND date = "october 31, 1976" | Who was the opponent of the game before week 11 on October 31, 1976? | <s>[INST]Who was the opponent of the game before week 11 on October 31, 1976? Context: CREATE TABLE table_name_97 (opponent VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_97 WHERE week < 11 AND date = "october 31, 1976"</s> |
CREATE TABLE table_14260687_3 (windows_phone VARCHAR, total VARCHAR) | SELECT windows_phone FROM table_14260687_3 WHERE total = "216.2" | How many million of windows phones were shipped during the quarter that shipped 216.2 million total? | <s>[INST]How many million of windows phones were shipped during the quarter that shipped 216.2 million total? Context: CREATE TABLE table_14260687_3 (windows_phone VARCHAR, total VARCHAR)[/INST]SELECT windows_phone FROM table_14260687_3 WHERE total = "216.2"</s> |
CREATE TABLE table_name_5 (caps INTEGER, goals VARCHAR, rank VARCHAR) | SELECT MAX(caps) FROM table_name_5 WHERE goals = 0 AND rank = 15 | What is the maximum cap number where 0 goals were scored with a rank of 15? | <s>[INST]What is the maximum cap number where 0 goals were scored with a rank of 15? Context: CREATE TABLE table_name_5 (caps INTEGER, goals VARCHAR, rank VARCHAR)[/INST]SELECT MAX(caps) FROM table_name_5 WHERE goals = 0 AND rank = 15</s> |
CREATE TABLE table_25042332_26 (public_network VARCHAR, solar_panel VARCHAR) | SELECT COUNT(public_network) FROM table_25042332_26 WHERE solar_panel = "0.5%" | How many regions have 0.5% solar panels? | <s>[INST]How many regions have 0.5% solar panels? Context: CREATE TABLE table_25042332_26 (public_network VARCHAR, solar_panel VARCHAR)[/INST]SELECT COUNT(public_network) FROM table_25042332_26 WHERE solar_panel = "0.5%"</s> |
CREATE TABLE table_name_37 (team__number2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_37 WHERE team__number2 = "akasvayu girona" | What is the 1st leg that has akasvayu girona as team #2? | <s>[INST]What is the 1st leg that has akasvayu girona as team #2? Context: CREATE TABLE table_name_37 (team__number2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_37 WHERE team__number2 = "akasvayu girona"</s> |
CREATE TABLE table_name_82 (xiii_season VARCHAR, viii_season VARCHAR) | SELECT xiii_season FROM table_name_82 WHERE viii_season = "4 780 743 (2 november 2008)" | What is XIII Season, when VIII Season is 4 780 743 (2 november 2008)? | <s>[INST]What is XIII Season, when VIII Season is 4 780 743 (2 november 2008)? Context: CREATE TABLE table_name_82 (xiii_season VARCHAR, viii_season VARCHAR)[/INST]SELECT xiii_season FROM table_name_82 WHERE viii_season = "4 780 743 (2 november 2008)"</s> |
CREATE TABLE table_name_70 (final_position VARCHAR, season VARCHAR) | SELECT final_position FROM table_name_70 WHERE season = "2012" | What is the final position for the season 2012? | <s>[INST]What is the final position for the season 2012? Context: CREATE TABLE table_name_70 (final_position VARCHAR, season VARCHAR)[/INST]SELECT final_position FROM table_name_70 WHERE season = "2012"</s> |
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_44 WHERE date = "january 6" | What was the record after the January 6 game? | <s>[INST]What was the record after the January 6 game? Context: CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_44 WHERE date = "january 6"</s> |
CREATE TABLE table_26996293_3 (player VARCHAR, position VARCHAR) | SELECT player FROM table_26996293_3 WHERE position = "OG" | What player drafted was an OG? | <s>[INST]What player drafted was an OG? Context: CREATE TABLE table_26996293_3 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_26996293_3 WHERE position = "OG"</s> |
CREATE TABLE table_name_58 (years VARCHAR, name VARCHAR, authority VARCHAR, roll VARCHAR) | SELECT years FROM table_name_58 WHERE authority = "state" AND roll > 333 AND name = "bayview school" | What are the years available at Bayview School, which has state authority and a roll number larger than 333? | <s>[INST]What are the years available at Bayview School, which has state authority and a roll number larger than 333? Context: CREATE TABLE table_name_58 (years VARCHAR, name VARCHAR, authority VARCHAR, roll VARCHAR)[/INST]SELECT years FROM table_name_58 WHERE authority = "state" AND roll > 333 AND name = "bayview scho... |
CREATE TABLE table_name_89 (race VARCHAR, location VARCHAR) | SELECT race AS Winner FROM table_name_89 WHERE location = "monza" | Who was the winner of the race in monza? | <s>[INST]Who was the winner of the race in monza? Context: CREATE TABLE table_name_89 (race VARCHAR, location VARCHAR)[/INST]SELECT race AS Winner FROM table_name_89 WHERE location = "monza"</s> |
CREATE TABLE table_name_53 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_53 WHERE home_team = "fitzroy" | What is the score for Fitzroy when they are the home team? | <s>[INST]What is the score for Fitzroy when they are the home team? Context: CREATE TABLE table_name_53 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_53 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_name_52 (competition VARCHAR, club VARCHAR) | SELECT 1 AS st_leg FROM table_name_52 WHERE competition = "uefa champions league" AND club = "skonto riga" | What is the 1st leg of the UEFA Champions League Compeition in the Skonto Riga Club? | <s>[INST]What is the 1st leg of the UEFA Champions League Compeition in the Skonto Riga Club? Context: CREATE TABLE table_name_52 (competition VARCHAR, club VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_52 WHERE competition = "uefa champions league" AND club = "skonto riga"</s> |
CREATE TABLE table_name_68 (player VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_68 WHERE round > 5 AND position = "defensive tackle" | After Round 5, which player was drafted for Defensive Tackle? | <s>[INST]After Round 5, which player was drafted for Defensive Tackle? Context: CREATE TABLE table_name_68 (player VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_68 WHERE round > 5 AND position = "defensive tackle"</s> |
CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR) | SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard" | What country is the film directed by Jean-Luc Godard in French from? | <s>[INST]What country is the film directed by Jean-Luc Godard in French from? Context: CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR)[/INST]SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard"</s> |
CREATE TABLE table_name_12 (opponent_in_final VARCHAR, date VARCHAR) | SELECT opponent_in_final FROM table_name_12 WHERE date = "13 january 1992" | What is Opponent in Final, when Date is "13 January 1992"? | <s>[INST]What is Opponent in Final, when Date is "13 January 1992"? Context: CREATE TABLE table_name_12 (opponent_in_final VARCHAR, date VARCHAR)[/INST]SELECT opponent_in_final FROM table_name_12 WHERE date = "13 january 1992"</s> |
CREATE TABLE table_2876467_3 (first_place INTEGER, third_place VARCHAR) | SELECT MAX(first_place) FROM table_2876467_3 WHERE third_place = 1 | What is the maximum number of 1st places for the country with exactly 1 third place? | <s>[INST]What is the maximum number of 1st places for the country with exactly 1 third place? Context: CREATE TABLE table_2876467_3 (first_place INTEGER, third_place VARCHAR)[/INST]SELECT MAX(first_place) FROM table_2876467_3 WHERE third_place = 1</s> |
CREATE TABLE table_name_6 (class VARCHAR, quantity VARCHAR) | SELECT class FROM table_name_6 WHERE quantity = "1" | What is the class with 1 quantity? | <s>[INST]What is the class with 1 quantity? Context: CREATE TABLE table_name_6 (class VARCHAR, quantity VARCHAR)[/INST]SELECT class FROM table_name_6 WHERE quantity = "1"</s> |
CREATE TABLE table_name_52 (year INTEGER, rank VARCHAR) | SELECT AVG(year) FROM table_name_52 WHERE rank = "12.0 12" | What Year has a Rank of 12.0 12? | <s>[INST]What Year has a Rank of 12.0 12? Context: CREATE TABLE table_name_52 (year INTEGER, rank VARCHAR)[/INST]SELECT AVG(year) FROM table_name_52 WHERE rank = "12.0 12"</s> |
CREATE TABLE table_1971734_1 (prod__number VARCHAR, filmed VARCHAR) | SELECT prod__number FROM table_1971734_1 WHERE filmed = "Aug/Sept 1968" | What was the production number of the episode filmed in aug/sept 1968? | <s>[INST]What was the production number of the episode filmed in aug/sept 1968? Context: CREATE TABLE table_1971734_1 (prod__number VARCHAR, filmed VARCHAR)[/INST]SELECT prod__number FROM table_1971734_1 WHERE filmed = "Aug/Sept 1968"</s> |
CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_40 WHERE result = "w 30–15" | On what Date was the Result of the game W 30–15? | <s>[INST]On what Date was the Result of the game W 30–15? Context: CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE result = "w 30–15"</s> |
CREATE TABLE table_name_74 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_74 WHERE week = 11 | What was the result week 11? | <s>[INST]What was the result week 11? Context: CREATE TABLE table_name_74 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_74 WHERE week = 11</s> |
CREATE TABLE table_21321935_2 (date VARCHAR, pole_position VARCHAR) | SELECT date FROM table_21321935_2 WHERE pole_position = "Oliver Jarvis" | When did Oliver Jarvis have pole position? | <s>[INST]When did Oliver Jarvis have pole position? Context: CREATE TABLE table_21321935_2 (date VARCHAR, pole_position VARCHAR)[/INST]SELECT date FROM table_21321935_2 WHERE pole_position = "Oliver Jarvis"</s> |
CREATE TABLE table_23133482_1 (sets_w_l VARCHAR, player VARCHAR) | SELECT sets_w_l FROM table_23133482_1 WHERE player = "Ken Rosewall" | What are Ken Rosewall's sets w-l? | <s>[INST]What are Ken Rosewall's sets w-l? Context: CREATE TABLE table_23133482_1 (sets_w_l VARCHAR, player VARCHAR)[/INST]SELECT sets_w_l FROM table_23133482_1 WHERE player = "Ken Rosewall"</s> |
CREATE TABLE table_name_57 (label VARCHAR, catalogue__number VARCHAR) | SELECT label FROM table_name_57 WHERE catalogue__number = "cad 2014 cd" | What is the label for CAD 2014 CD? | <s>[INST]What is the label for CAD 2014 CD? Context: CREATE TABLE table_name_57 (label VARCHAR, catalogue__number VARCHAR)[/INST]SELECT label FROM table_name_57 WHERE catalogue__number = "cad 2014 cd"</s> |
CREATE TABLE table_name_42 (score_final INTEGER, rank_final VARCHAR, year VARCHAR) | SELECT SUM(score_final) FROM table_name_42 WHERE rank_final = 2 AND year < 2008 | Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008? | <s>[INST]Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008? Context: CREATE TABLE table_name_42 (score_final INTEGER, rank_final VARCHAR, year VARCHAR)[/INST]SELECT SUM(score_final) FROM table_name_42 WHERE rank_final = 2 AND year < 2008</s> |
CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_20 WHERE round > 2 AND position = "(d)" | What player has a round larger than 2, and position of (d)? | <s>[INST]What player has a round larger than 2, and position of (d)? Context: CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_20 WHERE round > 2 AND position = "(d)"</s> |
CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR) | SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = "audi" AND winning_driver = "timo scheider" AND date = "31 august" | What is the winning team of the race on 31 August with Audi as the winning manufacturer and Timo Scheider as the winning driver? | <s>[INST]What is the winning team of the race on 31 August with Audi as the winning manufacturer and Timo Scheider as the winning driver? Context: CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR)[/INST]SELECT winning_team FROM table_name_15 WHERE winn... |
CREATE TABLE table_name_25 (played INTEGER, manager VARCHAR, drawn VARCHAR) | SELECT SUM(played) FROM table_name_25 WHERE manager = "serik berdalin" AND drawn > 4 | Name the sum of played for serik berdalin and drawn more than 4 | <s>[INST]Name the sum of played for serik berdalin and drawn more than 4 Context: CREATE TABLE table_name_25 (played INTEGER, manager VARCHAR, drawn VARCHAR)[/INST]SELECT SUM(played) FROM table_name_25 WHERE manager = "serik berdalin" AND drawn > 4</s> |
CREATE TABLE table_15417439_1 (identity VARCHAR, genus_species VARCHAR) | SELECT identity FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana" | What identities do the genus/species arabidopsis thaliana have? | <s>[INST]What identities do the genus/species arabidopsis thaliana have? Context: CREATE TABLE table_15417439_1 (identity VARCHAR, genus_species VARCHAR)[/INST]SELECT identity FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana"</s> |
CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_74 WHERE home_team = "melbourne" | What is Melbourne's home venue? | <s>[INST]What is Melbourne's home venue? Context: CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_74 WHERE home_team = "melbourne"</s> |
CREATE TABLE table_name_16 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_16 WHERE tournament = "berlin" | What type of surface was played at the tournament in berlin? | <s>[INST]What type of surface was played at the tournament in berlin? Context: CREATE TABLE table_name_16 (surface VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_16 WHERE tournament = "berlin"</s> |
CREATE TABLE table_name_79 (ground VARCHAR, crowd INTEGER) | SELECT ground FROM table_name_79 WHERE crowd > 41 OFFSET 185 | Which ground has a crowd over 41,185? | <s>[INST]Which ground has a crowd over 41,185? Context: CREATE TABLE table_name_79 (ground VARCHAR, crowd INTEGER)[/INST]SELECT ground FROM table_name_79 WHERE crowd > 41 OFFSET 185</s> |
CREATE TABLE table_name_27 (stadium VARCHAR, clubs VARCHAR) | SELECT stadium FROM table_name_27 WHERE clubs = "zooveti tbilisi" | What is the stadium of the zooveti tbilisi club? | <s>[INST]What is the stadium of the zooveti tbilisi club? Context: CREATE TABLE table_name_27 (stadium VARCHAR, clubs VARCHAR)[/INST]SELECT stadium FROM table_name_27 WHERE clubs = "zooveti tbilisi"</s> |
CREATE TABLE table_name_15 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR) | SELECT team FROM table_name_15 WHERE class = "c1" AND laps > 77 AND driver = "klaus ludwig" | What is the team of driver klaus ludwig, who is class c1 and has more than 77 laps? | <s>[INST]What is the team of driver klaus ludwig, who is class c1 and has more than 77 laps? Context: CREATE TABLE table_name_15 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR)[/INST]SELECT team FROM table_name_15 WHERE class = "c1" AND laps > 77 AND driver = "klaus ludwig"</s> |
CREATE TABLE table_11585313_2 (date_of_death† VARCHAR, name VARCHAR) | SELECT date_of_death† FROM table_11585313_2 WHERE name = "Henk Hordijk" | What was the date of Henk Hordijk's death? | <s>[INST]What was the date of Henk Hordijk's death? Context: CREATE TABLE table_11585313_2 (date_of_death† VARCHAR, name VARCHAR)[/INST]SELECT date_of_death† FROM table_11585313_2 WHERE name = "Henk Hordijk"</s> |
CREATE TABLE table_17751942_4 (wins INTEGER, team VARCHAR) | SELECT MAX(wins) FROM table_17751942_4 WHERE team = "Red Deer Rebels" | How many wins do the Red Deer Rebels have? | <s>[INST]How many wins do the Red Deer Rebels have? Context: CREATE TABLE table_17751942_4 (wins INTEGER, team VARCHAR)[/INST]SELECT MAX(wins) FROM table_17751942_4 WHERE team = "Red Deer Rebels"</s> |
CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR) | SELECT institution FROM table_261931_2 WHERE nickname = "Bobcats" | Which institution's nickname is the Bobcats? | <s>[INST]Which institution's nickname is the Bobcats? Context: CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR)[/INST]SELECT institution FROM table_261931_2 WHERE nickname = "Bobcats"</s> |
CREATE TABLE table_26129220_2 (term_limited INTEGER, senator VARCHAR) | SELECT MIN(term_limited) FROM table_26129220_2 WHERE senator = "Tom Niehaus" | What is the term limit for Senator Tom Niehaus? | <s>[INST]What is the term limit for Senator Tom Niehaus? Context: CREATE TABLE table_26129220_2 (term_limited INTEGER, senator VARCHAR)[/INST]SELECT MIN(term_limited) FROM table_26129220_2 WHERE senator = "Tom Niehaus"</s> |
CREATE TABLE table_name_23 (main_span_metres VARCHAR, main_span_feet VARCHAR, year_to_open VARCHAR, country VARCHAR) | SELECT main_span_metres FROM table_name_23 WHERE year_to_open = 2013 AND country = "china" AND main_span_feet = "2,585" | What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585? | <s>[INST]What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585? Context: CREATE TABLE table_name_23 (main_span_metres VARCHAR, main_span_feet VARCHAR, year_to_open VARCHAR, country VARCHAR)[/INST]SELECT main_span_metres FROM table_name_23 WHERE year_to_open = 2013 AND co... |
CREATE TABLE table_27086613_5 (league_apps INTEGER, total_apps VARCHAR) | SELECT MIN(league_apps) FROM table_27086613_5 WHERE total_apps = 5 | Name the least league apps for total apps of 5 | <s>[INST]Name the least league apps for total apps of 5 Context: CREATE TABLE table_27086613_5 (league_apps INTEGER, total_apps VARCHAR)[/INST]SELECT MIN(league_apps) FROM table_27086613_5 WHERE total_apps = 5</s> |
CREATE TABLE table_28628309_9 (category VARCHAR, player VARCHAR) | SELECT category FROM table_28628309_9 WHERE player = "Olsen Racela" | What are the names of the categories when the player is olsen racela? | <s>[INST]What are the names of the categories when the player is olsen racela? Context: CREATE TABLE table_28628309_9 (category VARCHAR, player VARCHAR)[/INST]SELECT category FROM table_28628309_9 WHERE player = "Olsen Racela"</s> |
CREATE TABLE table_name_47 (million_czk VARCHAR) | SELECT COUNT(2007) FROM table_name_47 WHERE million_czk = "operating revenues" | What 2007 number when the million CZK shows operating revenues? | <s>[INST]What 2007 number when the million CZK shows operating revenues? Context: CREATE TABLE table_name_47 (million_czk VARCHAR)[/INST]SELECT COUNT(2007) FROM table_name_47 WHERE million_czk = "operating revenues"</s> |
CREATE TABLE table_name_96 (country VARCHAR, tournament VARCHAR) | SELECT country FROM table_name_96 WHERE tournament = "indian wells masters" | For the Indian Wells Masters tournament, what was the country? | <s>[INST]For the Indian Wells Masters tournament, what was the country? Context: CREATE TABLE table_name_96 (country VARCHAR, tournament VARCHAR)[/INST]SELECT country FROM table_name_96 WHERE tournament = "indian wells masters"</s> |
CREATE TABLE table_name_36 (quantity_made VARCHAR, quantity_preserved VARCHAR, class VARCHAR) | SELECT quantity_made FROM table_name_36 WHERE quantity_preserved = "0" AND class = "e-22" | What is the quantity made of the e-22 class, which has a quantity preserved of 0? | <s>[INST]What is the quantity made of the e-22 class, which has a quantity preserved of 0? Context: CREATE TABLE table_name_36 (quantity_made VARCHAR, quantity_preserved VARCHAR, class VARCHAR)[/INST]SELECT quantity_made FROM table_name_36 WHERE quantity_preserved = "0" AND class = "e-22"</s> |
CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_93 WHERE home_team = "hawthorn" | What is the away side score when hawthorn is the home side? | <s>[INST]What is the away side score when hawthorn is the home side? Context: CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_93 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_78 (translation VARCHAR, date VARCHAR) | SELECT translation FROM table_name_78 WHERE date = 1986 | Which translation was published in 1986? | <s>[INST]Which translation was published in 1986? Context: CREATE TABLE table_name_78 (translation VARCHAR, date VARCHAR)[/INST]SELECT translation FROM table_name_78 WHERE date = 1986</s> |
CREATE TABLE table_name_66 (date VARCHAR, country VARCHAR) | SELECT date FROM table_name_66 WHERE country = "japan" | Which date was for Japan? | <s>[INST]Which date was for Japan? Context: CREATE TABLE table_name_66 (date VARCHAR, country VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE country = "japan"</s> |
CREATE TABLE table_name_87 (pick INTEGER, nfl_club VARCHAR, round VARCHAR) | SELECT MAX(pick) FROM table_name_87 WHERE nfl_club = "houston oilers" AND round > 10 | What is the highest pick of the houston oilers NFL club, which has a round greater than 10? | <s>[INST]What is the highest pick of the houston oilers NFL club, which has a round greater than 10? Context: CREATE TABLE table_name_87 (pick INTEGER, nfl_club VARCHAR, round VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_87 WHERE nfl_club = "houston oilers" AND round > 10</s> |
CREATE TABLE table_2581397_2 (group VARCHAR, venue VARCHAR) | SELECT group FROM table_2581397_2 WHERE venue = "Moonee Valley" | What group was sunline in when he was at moonee valley? | <s>[INST]What group was sunline in when he was at moonee valley? Context: CREATE TABLE table_2581397_2 (group VARCHAR, venue VARCHAR)[/INST]SELECT group FROM table_2581397_2 WHERE venue = "Moonee Valley"</s> |
CREATE TABLE table_name_53 (ends VARCHAR, name VARCHAR, transfer_fee VARCHAR, goals VARCHAR) | SELECT ends FROM table_name_53 WHERE transfer_fee = "free" AND goals = 0 AND name = "roy carroll" | I want the ends for transfer fee of free and goals being 0 for roy carroll | <s>[INST]I want the ends for transfer fee of free and goals being 0 for roy carroll Context: CREATE TABLE table_name_53 (ends VARCHAR, name VARCHAR, transfer_fee VARCHAR, goals VARCHAR)[/INST]SELECT ends FROM table_name_53 WHERE transfer_fee = "free" AND goals = 0 AND name = "roy carroll"</s> |
CREATE TABLE table_name_66 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_5 VARCHAR) | SELECT SUM(events) FROM table_name_66 WHERE cuts_made > 12 AND top_5 > 2 AND top_10 > 11 | How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s? | <s>[INST]How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s? Context: CREATE TABLE table_name_66 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_5 VARCHAR)[/INST]SELECT SUM(events) FROM table_name_66 WHERE cuts_made > 12 AND top_5 > 2 AND top_10 > 11</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.