context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_29 (episodes INTEGER, romaji_title VARCHAR) | SELECT SUM(episodes) FROM table_name_29 WHERE romaji_title = "slow dance" | How many Episodes have a Romaji Title of slow dance? | <s>[INST]How many Episodes have a Romaji Title of slow dance? Context: CREATE TABLE table_name_29 (episodes INTEGER, romaji_title VARCHAR)[/INST]SELECT SUM(episodes) FROM table_name_29 WHERE romaji_title = "slow dance"</s> |
CREATE TABLE AssignedTo (ssn VARCHAR, scientist VARCHAR); CREATE TABLE scientists (ssn VARCHAR, scientist VARCHAR) | SELECT COUNT(*) FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo) | Find the number of scientists who are not assigned to any project. | <s>[INST]Find the number of scientists who are not assigned to any project. Context: CREATE TABLE AssignedTo (ssn VARCHAR, scientist VARCHAR); CREATE TABLE scientists (ssn VARCHAR, scientist VARCHAR)[/INST]SELECT COUNT(*) FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo)</s> |
CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR) | SELECT country FROM table_20754016_2 WHERE hometown = "Salto" | What country is the contestant from Salto from? | <s>[INST]What country is the contestant from Salto from? Context: CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR)[/INST]SELECT country FROM table_20754016_2 WHERE hometown = "Salto"</s> |
CREATE TABLE table_name_15 (record VARCHAR, week VARCHAR) | SELECT record FROM table_name_15 WHERE week = 11 | What was their record on week 11? | <s>[INST]What was their record on week 11? Context: CREATE TABLE table_name_15 (record VARCHAR, week VARCHAR)[/INST]SELECT record FROM table_name_15 WHERE week = 11</s> |
CREATE TABLE table_name_68 (tournament VARCHAR) | SELECT 2009 FROM table_name_68 WHERE tournament = "tournaments played" | WHAT IS THE 2009 PERFORMANCE FOR TOURNAMENTS PLAYED? | <s>[INST]WHAT IS THE 2009 PERFORMANCE FOR TOURNAMENTS PLAYED? Context: CREATE TABLE table_name_68 (tournament VARCHAR)[/INST]SELECT 2009 FROM table_name_68 WHERE tournament = "tournaments played"</s> |
CREATE TABLE table_1671401_2 (team_s_ VARCHAR, top_10 VARCHAR) | SELECT COUNT(team_s_) FROM table_1671401_2 WHERE top_10 = 5 | Name the total number of teams for top 10 being 5 | <s>[INST]Name the total number of teams for top 10 being 5 Context: CREATE TABLE table_1671401_2 (team_s_ VARCHAR, top_10 VARCHAR)[/INST]SELECT COUNT(team_s_) FROM table_1671401_2 WHERE top_10 = 5</s> |
CREATE TABLE table_name_89 (president VARCHAR, year VARCHAR) | SELECT president FROM table_name_89 WHERE year = "2002-2003, second semester" | Who was president Year of 2002-2003, second semester? | <s>[INST]Who was president Year of 2002-2003, second semester? Context: CREATE TABLE table_name_89 (president VARCHAR, year VARCHAR)[/INST]SELECT president FROM table_name_89 WHERE year = "2002-2003, second semester"</s> |
CREATE TABLE table_name_32 (county VARCHAR, school VARCHAR) | SELECT county FROM table_name_32 WHERE school = "bloomfield" | Which County has a School of bloomfield? | <s>[INST]Which County has a School of bloomfield? Context: CREATE TABLE table_name_32 (county VARCHAR, school VARCHAR)[/INST]SELECT county FROM table_name_32 WHERE school = "bloomfield"</s> |
CREATE TABLE table_name_43 (date VARCHAR, partner VARCHAR) | SELECT date FROM table_name_43 WHERE partner = "elke clijsters" | What date has elke clijsters as the partner? | <s>[INST]What date has elke clijsters as the partner? Context: CREATE TABLE table_name_43 (date VARCHAR, partner VARCHAR)[/INST]SELECT date FROM table_name_43 WHERE partner = "elke clijsters"</s> |
CREATE TABLE table_name_73 (to_par VARCHAR, player VARCHAR, total VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_73 WHERE total > 294 AND country = "united states" AND player = "lee trevino" | Lee Trevino of the United States with a total greater than 294 had what To par? | <s>[INST]Lee Trevino of the United States with a total greater than 294 had what To par? Context: CREATE TABLE table_name_73 (to_par VARCHAR, player VARCHAR, total VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_73 WHERE total > 294 AND country = "united states" AND player = "lee trevino"</s> |
CREATE TABLE table_name_11 (season VARCHAR) | SELECT 20 AS _29 FROM table_name_11 WHERE season = "1997" | Which 20-29 had a season of 1997? | <s>[INST]Which 20-29 had a season of 1997? Context: CREATE TABLE table_name_11 (season VARCHAR)[/INST]SELECT 20 AS _29 FROM table_name_11 WHERE season = "1997"</s> |
CREATE TABLE table_name_96 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_96 WHERE result = "23rd" | Which venue led to a result of 23rd? | <s>[INST]Which venue led to a result of 23rd? Context: CREATE TABLE table_name_96 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_96 WHERE result = "23rd"</s> |
CREATE TABLE table_11570261_6 (cuts_made VARCHAR) | SELECT MAX(2 AS nd) FROM table_11570261_6 WHERE cuts_made = "11" | How many times did Tiger get second in the year where there were 11 cuts? | <s>[INST]How many times did Tiger get second in the year where there were 11 cuts? Context: CREATE TABLE table_11570261_6 (cuts_made VARCHAR)[/INST]SELECT MAX(2 AS nd) FROM table_11570261_6 WHERE cuts_made = "11"</s> |
CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0 | How many totals have a Gold larger than 0, and a Bronze smaller than 0? | <s>[INST]How many totals have a Gold larger than 0, and a Bronze smaller than 0? Context: CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0</s> |
CREATE TABLE table_name_34 (catalogue VARCHAR, date VARCHAR) | SELECT catalogue FROM table_name_34 WHERE date = "october 15, 2004" | What is the catalogue on october 15, 2004? | <s>[INST]What is the catalogue on october 15, 2004? Context: CREATE TABLE table_name_34 (catalogue VARCHAR, date VARCHAR)[/INST]SELECT catalogue FROM table_name_34 WHERE date = "october 15, 2004"</s> |
CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_24 WHERE date = "september 8" | Who was the opponent on September 8? | <s>[INST]Who was the opponent on September 8? Context: CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_24 WHERE date = "september 8"</s> |
CREATE TABLE table_name_12 (hdtv VARCHAR, television_service VARCHAR) | SELECT hdtv FROM table_name_12 WHERE television_service = "r-light" | What is the HDTV status of the r-light television service? | <s>[INST]What is the HDTV status of the r-light television service? Context: CREATE TABLE table_name_12 (hdtv VARCHAR, television_service VARCHAR)[/INST]SELECT hdtv FROM table_name_12 WHERE television_service = "r-light"</s> |
CREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR) | SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = "Westlake/MacArthur Park to Wilshire/Western" | What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western? | <s>[INST]What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western? Context: CREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR)[/INST]SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = "Westlake/MacArthur Park to Wilshire/Western"</s> |
CREATE TABLE table_name_43 (player VARCHAR, runs VARCHAR) | SELECT player FROM table_name_43 WHERE runs = "270" | Which player's runs are 270? | <s>[INST]Which player's runs are 270? Context: CREATE TABLE table_name_43 (player VARCHAR, runs VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE runs = "270"</s> |
CREATE TABLE table_name_94 (rider VARCHAR, team VARCHAR) | SELECT rider FROM table_name_94 WHERE team = "399cc kawasaki" | Who is the rider with a 399cc Kawasaki? | <s>[INST]Who is the rider with a 399cc Kawasaki? Context: CREATE TABLE table_name_94 (rider VARCHAR, team VARCHAR)[/INST]SELECT rider FROM table_name_94 WHERE team = "399cc kawasaki"</s> |
CREATE TABLE table_name_39 (platelet_count VARCHAR, condition VARCHAR) | SELECT platelet_count FROM table_name_39 WHERE condition = "factor v deficiency" | Which Platelet count has a Condition of factor v deficiency? | <s>[INST]Which Platelet count has a Condition of factor v deficiency? Context: CREATE TABLE table_name_39 (platelet_count VARCHAR, condition VARCHAR)[/INST]SELECT platelet_count FROM table_name_39 WHERE condition = "factor v deficiency"</s> |
CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, ova__harmony_gold_dub_ VARCHAR) | SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Lord Zortek" | What eagle riders where ova (harmony gold dub) is lord zortek? | <s>[INST]What eagle riders where ova (harmony gold dub) is lord zortek? Context: CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, ova__harmony_gold_dub_ VARCHAR)[/INST]SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Lord Zortek"</s> |
CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score FROM table_name_39 WHERE surface = "hardcourt" AND date = "september 30, 1984" | Which score has a Surface of hardcourt, and a Date of september 30, 1984? | <s>[INST]Which score has a Surface of hardcourt, and a Date of september 30, 1984? Context: CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_39 WHERE surface = "hardcourt" AND date = "september 30, 1984"</s> |
CREATE TABLE table_16678052_2 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_16678052_2 WHERE opponent = "Phoenix Cardinals" | What record was reached when the Eagles played the Phoenix Cardinals? | <s>[INST]What record was reached when the Eagles played the Phoenix Cardinals? Context: CREATE TABLE table_16678052_2 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_16678052_2 WHERE opponent = "Phoenix Cardinals"</s> |
CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_84 WHERE venue = "victoria park" | How much did the away team score at Victoria park? | <s>[INST]How much did the away team score at Victoria park? Context: CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_84 WHERE venue = "victoria park"</s> |
CREATE TABLE table_11406866_2 (record VARCHAR, result VARCHAR) | SELECT record FROM table_11406866_2 WHERE result = "L 24-10" | what's the record where result is l 24-10 | <s>[INST] what's the record where result is l 24-10 Context: CREATE TABLE table_11406866_2 (record VARCHAR, result VARCHAR)[/INST]SELECT record FROM table_11406866_2 WHERE result = "L 24-10"</s> |
CREATE TABLE table_name_15 (proto_germanic_origin VARCHAR, sound__allophone_ VARCHAR) | SELECT proto_germanic_origin FROM table_name_15 WHERE sound__allophone_ = "[[[|k]]]" | What is the Proto-Germanic origin associated with an allophone of [[[|k]]]? | <s>[INST]What is the Proto-Germanic origin associated with an allophone of [[[|k]]]? Context: CREATE TABLE table_name_15 (proto_germanic_origin VARCHAR, sound__allophone_ VARCHAR)[/INST]SELECT proto_germanic_origin FROM table_name_15 WHERE sound__allophone_ = "[[[|k]]]"</s> |
CREATE TABLE table_name_67 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_67 WHERE player = "larry mize" | What Country does Larry Mize play for? | <s>[INST]What Country does Larry Mize play for? Context: CREATE TABLE table_name_67 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_67 WHERE player = "larry mize"</s> |
CREATE TABLE table_17121262_5 (score VARCHAR, team VARCHAR) | SELECT score FROM table_17121262_5 WHERE team = "Milwaukee" | What is the score for Milwaukee? | <s>[INST]What is the score for Milwaukee? Context: CREATE TABLE table_17121262_5 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_17121262_5 WHERE team = "Milwaukee"</s> |
CREATE TABLE table_1272844_2 (episode_title VARCHAR, eliminated VARCHAR) | SELECT episode_title FROM table_1272844_2 WHERE eliminated = "Jenn" | What is the name of the episode in which Jenn is eliminated? | <s>[INST]What is the name of the episode in which Jenn is eliminated? Context: CREATE TABLE table_1272844_2 (episode_title VARCHAR, eliminated VARCHAR)[/INST]SELECT episode_title FROM table_1272844_2 WHERE eliminated = "Jenn"</s> |
CREATE TABLE table_name_84 (react INTEGER, mark VARCHAR, heat VARCHAR) | SELECT MAX(react) FROM table_name_84 WHERE mark = "7.61" AND heat > 1 | What is the highest React that has a 7.61 Mark and a heat bigger than 1? | <s>[INST]What is the highest React that has a 7.61 Mark and a heat bigger than 1? Context: CREATE TABLE table_name_84 (react INTEGER, mark VARCHAR, heat VARCHAR)[/INST]SELECT MAX(react) FROM table_name_84 WHERE mark = "7.61" AND heat > 1</s> |
CREATE TABLE table_name_73 (home_team VARCHAR, crowd INTEGER) | SELECT home_team FROM table_name_73 WHERE crowd > 19 OFFSET 000 | Which home team has more than 19,000 spectators? | <s>[INST]Which home team has more than 19,000 spectators? Context: CREATE TABLE table_name_73 (home_team VARCHAR, crowd INTEGER)[/INST]SELECT home_team FROM table_name_73 WHERE crowd > 19 OFFSET 000</s> |
CREATE TABLE table_25711913_8 (touchdowns INTEGER, position VARCHAR) | SELECT MIN(touchdowns) FROM table_25711913_8 WHERE position = "Fullback" | How many touchdowns did the fullback score? | <s>[INST]How many touchdowns did the fullback score? Context: CREATE TABLE table_25711913_8 (touchdowns INTEGER, position VARCHAR)[/INST]SELECT MIN(touchdowns) FROM table_25711913_8 WHERE position = "Fullback"</s> |
CREATE TABLE table_15817998_5 (position VARCHAR, college VARCHAR) | SELECT position FROM table_15817998_5 WHERE college = "Alberta" | What are the positions in the college of Alberta? | <s>[INST]What are the positions in the college of Alberta? Context: CREATE TABLE table_15817998_5 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_15817998_5 WHERE college = "Alberta"</s> |
CREATE TABLE table_name_69 (high_points VARCHAR, record VARCHAR) | SELECT high_points FROM table_name_69 WHERE record = "2-4" | For the game that had an end record of 2-4, who was the high points scorer? | <s>[INST]For the game that had an end record of 2-4, who was the high points scorer? Context: CREATE TABLE table_name_69 (high_points VARCHAR, record VARCHAR)[/INST]SELECT high_points FROM table_name_69 WHERE record = "2-4"</s> |
CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR, man_of_the_match VARCHAR) | SELECT date FROM table_name_32 WHERE attendance = "n/a" AND man_of_the_match = "unknown" | What was the date when the attendance was n/a and the Man of the Match was unknown? | <s>[INST]What was the date when the attendance was n/a and the Man of the Match was unknown? Context: CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR, man_of_the_match VARCHAR)[/INST]SELECT date FROM table_name_32 WHERE attendance = "n/a" AND man_of_the_match = "unknown"</s> |
CREATE TABLE table_2618152_1 (production_code VARCHAR, original_air_date VARCHAR) | SELECT production_code FROM table_2618152_1 WHERE original_air_date = "January 6, 1999" | The episode with the original air date January 6, 1999, has what production code? | <s>[INST]The episode with the original air date January 6, 1999, has what production code? Context: CREATE TABLE table_2618152_1 (production_code VARCHAR, original_air_date VARCHAR)[/INST]SELECT production_code FROM table_2618152_1 WHERE original_air_date = "January 6, 1999"</s> |
CREATE TABLE table_name_88 (stadium VARCHAR, final_score VARCHAR) | SELECT stadium FROM table_name_88 WHERE final_score = "17-31" | What stadium was the game held in when the final score was 17-31? | <s>[INST]What stadium was the game held in when the final score was 17-31? Context: CREATE TABLE table_name_88 (stadium VARCHAR, final_score VARCHAR)[/INST]SELECT stadium FROM table_name_88 WHERE final_score = "17-31"</s> |
CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_24 WHERE venue = "punt road oval" | What is the away team that played at punt road oval? | <s>[INST]What is the away team that played at punt road oval? Context: CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_24 WHERE venue = "punt road oval"</s> |
CREATE TABLE head (name VARCHAR, born_state VARCHAR) | SELECT name FROM head WHERE born_state <> 'California' | What are the names of the heads who are born outside the California state? | <s>[INST]What are the names of the heads who are born outside the California state? Context: CREATE TABLE head (name VARCHAR, born_state VARCHAR)[/INST]SELECT name FROM head WHERE born_state <> 'California'</s> |
CREATE TABLE table_name_43 (institution VARCHAR, mascot VARCHAR) | SELECT institution FROM table_name_43 WHERE mascot = "broncbusters" | Which Institution has a Mascot of broncbusters? | <s>[INST]Which Institution has a Mascot of broncbusters? Context: CREATE TABLE table_name_43 (institution VARCHAR, mascot VARCHAR)[/INST]SELECT institution FROM table_name_43 WHERE mascot = "broncbusters"</s> |
CREATE TABLE table_name_96 (year INTEGER, title VARCHAR) | SELECT MIN(year) FROM table_name_96 WHERE title = "cold feet" | What is recorded as the lowest Year that has the Title of Cold Feet? | <s>[INST]What is recorded as the lowest Year that has the Title of Cold Feet? Context: CREATE TABLE table_name_96 (year INTEGER, title VARCHAR)[/INST]SELECT MIN(year) FROM table_name_96 WHERE title = "cold feet"</s> |
CREATE TABLE table_name_69 (pick__number INTEGER, cfl_team VARCHAR) | SELECT SUM(pick__number) FROM table_name_69 WHERE cfl_team = "edmonton" | Can you tell me the sum of the Pick # that has the CFL Team of edmonton? | <s>[INST]Can you tell me the sum of the Pick # that has the CFL Team of edmonton? Context: CREATE TABLE table_name_69 (pick__number INTEGER, cfl_team VARCHAR)[/INST]SELECT SUM(pick__number) FROM table_name_69 WHERE cfl_team = "edmonton"</s> |
CREATE TABLE table_20589703_2 (college VARCHAR, player VARCHAR) | SELECT college FROM table_20589703_2 WHERE player = "Aaron Slegers" | What college did Aaron Slegers attend? | <s>[INST]What college did Aaron Slegers attend? Context: CREATE TABLE table_20589703_2 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_20589703_2 WHERE player = "Aaron Slegers"</s> |
CREATE TABLE table_name_66 (spectators INTEGER, time___cest__ VARCHAR, team__number2 VARCHAR) | SELECT SUM(spectators) FROM table_name_66 WHERE time___cest__ > 20.05 AND team__number2 = "estonia" | Name the sum of spectators for time more than 20.05 and team #2 of estonia | <s>[INST]Name the sum of spectators for time more than 20.05 and team #2 of estonia Context: CREATE TABLE table_name_66 (spectators INTEGER, time___cest__ VARCHAR, team__number2 VARCHAR)[/INST]SELECT SUM(spectators) FROM table_name_66 WHERE time___cest__ > 20.05 AND team__number2 = "estonia"</s> |
CREATE TABLE table_name_24 (semi_final_heat_host VARCHAR, national_final_main_host VARCHAR, national_final_co_host VARCHAR) | SELECT semi_final_heat_host FROM table_name_24 WHERE national_final_main_host = "terry wogan" AND national_final_co_host = "gaby roslin" | What was the host for the semi final heat, when Terry Wogan was the National Final main host, and Gaby Roslin was the National Final co-host? | <s>[INST]What was the host for the semi final heat, when Terry Wogan was the National Final main host, and Gaby Roslin was the National Final co-host? Context: CREATE TABLE table_name_24 (semi_final_heat_host VARCHAR, national_final_main_host VARCHAR, national_final_co_host VARCHAR)[/INST]SELECT semi_final_heat_host FR... |
CREATE TABLE table_name_48 (goals VARCHAR, result VARCHAR, date VARCHAR) | SELECT COUNT(goals) FROM table_name_48 WHERE result = "0-1" AND date = "march 28, 2007" | How many goals have a result of 0-1 on march 28, 2007? | <s>[INST]How many goals have a result of 0-1 on march 28, 2007? Context: CREATE TABLE table_name_48 (goals VARCHAR, result VARCHAR, date VARCHAR)[/INST]SELECT COUNT(goals) FROM table_name_48 WHERE result = "0-1" AND date = "march 28, 2007"</s> |
CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR) | SELECT city FROM table_name_51 WHERE iata = "muc" | What is the City with an IATA of MUC? | <s>[INST]What is the City with an IATA of MUC? Context: CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR)[/INST]SELECT city FROM table_name_51 WHERE iata = "muc"</s> |
CREATE TABLE table_name_90 (try_bonus VARCHAR, points_against VARCHAR) | SELECT try_bonus FROM table_name_90 WHERE points_against = "492" | What is the try bonus when there are 492 points? | <s>[INST]What is the try bonus when there are 492 points? Context: CREATE TABLE table_name_90 (try_bonus VARCHAR, points_against VARCHAR)[/INST]SELECT try_bonus FROM table_name_90 WHERE points_against = "492"</s> |
CREATE TABLE table_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR) | SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = "Thiruvezhukkurrirukkai" | Name the starting from thiruvezhukkurrirukkai | <s>[INST]Name the starting from thiruvezhukkurrirukkai Context: CREATE TABLE table_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR)[/INST]SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = "Thiruvezhukkurrirukkai"</s> |
CREATE TABLE party_events (Id VARCHAR) | SELECT COUNT(*) FROM party_events | How many party events do we have? | <s>[INST]How many party events do we have? Context: CREATE TABLE party_events (Id VARCHAR)[/INST]SELECT COUNT(*) FROM party_events</s> |
CREATE TABLE table_name_85 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_85 WHERE stage = "22" | Who won at stage 22? | <s>[INST]Who won at stage 22? Context: CREATE TABLE table_name_85 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_85 WHERE stage = "22"</s> |
CREATE TABLE table_name_66 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_66 WHERE away_team = "slough town" | Which Tie # has an Away team of slough town? | <s>[INST]Which Tie # has an Away team of slough town? Context: CREATE TABLE table_name_66 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_66 WHERE away_team = "slough town"</s> |
CREATE TABLE table_name_31 (secr_numbers VARCHAR, year_made VARCHAR) | SELECT secr_numbers FROM table_name_31 WHERE year_made = "1861" | What was the SECR number of the item made in 1861? | <s>[INST]What was the SECR number of the item made in 1861? Context: CREATE TABLE table_name_31 (secr_numbers VARCHAR, year_made VARCHAR)[/INST]SELECT secr_numbers FROM table_name_31 WHERE year_made = "1861"</s> |
CREATE TABLE table_20996923_25 (nfl_team VARCHAR, pick__number VARCHAR) | SELECT nfl_team FROM table_20996923_25 WHERE pick__number = 28 | What NFL team was the player with pick number 28 drafted to? | <s>[INST]What NFL team was the player with pick number 28 drafted to? Context: CREATE TABLE table_20996923_25 (nfl_team VARCHAR, pick__number VARCHAR)[/INST]SELECT nfl_team FROM table_20996923_25 WHERE pick__number = 28</s> |
CREATE TABLE table_name_83 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_83 WHERE attendance = "18,545" | What was the score when the attendance was 18,545? | <s>[INST]What was the score when the attendance was 18,545? Context: CREATE TABLE table_name_83 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_83 WHERE attendance = "18,545"</s> |
CREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR) | SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id GROUP BY T1.church_id HAVING COUNT(*) >= 2 | Show all church names that have hosted least two weddings. | <s>[INST]Show all church names that have hosted least two weddings. Context: CREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR)[/INST]SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id GROUP BY T1.church_id HAVING COUNT(*) >= 2</s> |
CREATE TABLE table_name_38 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_38 WHERE score = 72 - 72 - 67 = 211 | What was the nationality of the player with a score of 72-72-67=211? | <s>[INST]What was the nationality of the player with a score of 72-72-67=211? Context: CREATE TABLE table_name_38 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_38 WHERE score = 72 - 72 - 67 = 211</s> |
CREATE TABLE table_28490105_1 (distance VARCHAR, supporting VARCHAR, tc_winning_car VARCHAR) | SELECT distance FROM table_28490105_1 WHERE supporting = "Champ Car World Series ( Grand Prix of Cleveland )" AND tc_winning_car = "Pierre Kleinubing" | What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland ) and the tc winning car was pierre kleinubing? | <s>[INST]What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland ) and the tc winning car was pierre kleinubing? Context: CREATE TABLE table_28490105_1 (distance VARCHAR, supporting VARCHAR, tc_winning_car VARCHAR)[/INST]SELECT distance FROM table_28490105_1 WHERE sup... |
CREATE TABLE table_name_52 (fc_matches VARCHAR, location VARCHAR) | SELECT fc_matches FROM table_name_52 WHERE location = "darlington" | What FC Match was played in Darlington? | <s>[INST]What FC Match was played in Darlington? Context: CREATE TABLE table_name_52 (fc_matches VARCHAR, location VARCHAR)[/INST]SELECT fc_matches FROM table_name_52 WHERE location = "darlington"</s> |
CREATE TABLE table_12226390_6 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_12226390_6 WHERE production_code = 136 | What's the title of the episode with a production code 136? | <s>[INST]What's the title of the episode with a production code 136? Context: CREATE TABLE table_12226390_6 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_12226390_6 WHERE production_code = 136</s> |
CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, area VARCHAR) | SELECT MAX(decile) FROM table_name_46 WHERE roll > 301 AND area = "hauraki" | What is the highest decile value with a roll greater than 301 in Hauraki? | <s>[INST]What is the highest decile value with a roll greater than 301 in Hauraki? Context: CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, area VARCHAR)[/INST]SELECT MAX(decile) FROM table_name_46 WHERE roll > 301 AND area = "hauraki"</s> |
CREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR) | SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points" | Name the venue that has conv of 5 players on 20 points | <s>[INST]Name the venue that has conv of 5 players on 20 points Context: CREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR)[/INST]SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points"</s> |
CREATE TABLE table_name_2 (parish__prestegjeld_ VARCHAR, year_built VARCHAR) | SELECT parish__prestegjeld_ FROM table_name_2 WHERE year_built = "1907" | Which Parish (Prestegjeld) was built in 1907? | <s>[INST]Which Parish (Prestegjeld) was built in 1907? Context: CREATE TABLE table_name_2 (parish__prestegjeld_ VARCHAR, year_built VARCHAR)[/INST]SELECT parish__prestegjeld_ FROM table_name_2 WHERE year_built = "1907"</s> |
CREATE TABLE table_1532779_1 (census_year INTEGER) | SELECT MAX(census_year) FROM table_1532779_1 | What is the most recent census year? | <s>[INST]What is the most recent census year? Context: CREATE TABLE table_1532779_1 (census_year INTEGER)[/INST]SELECT MAX(census_year) FROM table_1532779_1</s> |
CREATE TABLE table_name_32 (popular_vote INTEGER, year VARCHAR, liberal_leader VARCHAR, seats_won VARCHAR) | SELECT AVG(popular_vote) FROM table_name_32 WHERE liberal_leader = "king" AND seats_won > 116 AND year = "1921" | Which Popular vote has a Liberal leader of king, and Seats won larger than 116, and a Year of 1921? | <s>[INST]Which Popular vote has a Liberal leader of king, and Seats won larger than 116, and a Year of 1921? Context: CREATE TABLE table_name_32 (popular_vote INTEGER, year VARCHAR, liberal_leader VARCHAR, seats_won VARCHAR)[/INST]SELECT AVG(popular_vote) FROM table_name_32 WHERE liberal_leader = "king" AND seats_won >... |
CREATE TABLE table_14966667_19 (name VARCHAR, number VARCHAR) | SELECT name FROM table_14966667_19 WHERE number = "98" | who is number 98? | <s>[INST]who is number 98? Context: CREATE TABLE table_14966667_19 (name VARCHAR, number VARCHAR)[/INST]SELECT name FROM table_14966667_19 WHERE number = "98"</s> |
CREATE TABLE table_name_64 (lost INTEGER, points VARCHAR, position VARCHAR) | SELECT AVG(lost) FROM table_name_64 WHERE points = 14 AND position > 1 | what is the average number lost when points is 14 and position is more than 1? | <s>[INST]what is the average number lost when points is 14 and position is more than 1? Context: CREATE TABLE table_name_64 (lost INTEGER, points VARCHAR, position VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_64 WHERE points = 14 AND position > 1</s> |
CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (job_title_code VARCHAR, staff_id VARCHAR, date_assigned_to VARCHAR) | SELECT T1.staff_name, T2.job_title_code FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id ORDER BY T2.date_assigned_to DESC LIMIT 1 | What is the name and job title of the staff who was assigned the latest? | <s>[INST]What is the name and job title of the staff who was assigned the latest? Context: CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (job_title_code VARCHAR, staff_id VARCHAR, date_assigned_to VARCHAR)[/INST]SELECT T1.staff_name, T2.job_title_code FROM staff AS... |
CREATE TABLE table_name_18 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR) | SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position > 2 | what is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2? | <s>[INST]what is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2? Context: CREATE TABLE table_name_18 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)[/INST]SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position > 2<... |
CREATE TABLE table_name_73 (first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR) | SELECT MAX(first_elected) FROM table_name_73 WHERE party = "dem" AND district > 24 AND home_city_town = "berlin" | Which First elected is the highest one that has a Party of dem, and a District larger than 24, and a Home city/town of berlin? | <s>[INST]Which First elected is the highest one that has a Party of dem, and a District larger than 24, and a Home city/town of berlin? Context: CREATE TABLE table_name_73 (first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR)[/INST]SELECT MAX(first_elected) FROM table_name_73 WHERE party = "d... |
CREATE TABLE table_23667534_1 (album_s_ VARCHAR, episode_title VARCHAR, song_s__title VARCHAR) | SELECT album_s_ FROM table_23667534_1 WHERE episode_title = "Toy to the World" AND song_s__title = "Shimmy Jimmy" | What album was the song Shimmy Jimmy from the episode titled Toy to the world on? | <s>[INST]What album was the song Shimmy Jimmy from the episode titled Toy to the world on? Context: CREATE TABLE table_23667534_1 (album_s_ VARCHAR, episode_title VARCHAR, song_s__title VARCHAR)[/INST]SELECT album_s_ FROM table_23667534_1 WHERE episode_title = "Toy to the World" AND song_s__title = "Shimmy Jimmy"</s> |
CREATE TABLE table_name_58 (runner_s__up VARCHAR, margin_of_victory VARCHAR) | SELECT runner_s__up FROM table_name_58 WHERE margin_of_victory = "2 strokes" | For the tournament ending with a margin of victory of 2 strokes, who was the runner(s)-up? | <s>[INST]For the tournament ending with a margin of victory of 2 strokes, who was the runner(s)-up? Context: CREATE TABLE table_name_58 (runner_s__up VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT runner_s__up FROM table_name_58 WHERE margin_of_victory = "2 strokes"</s> |
CREATE TABLE table_name_29 (church_name VARCHAR, location_of_the_church VARCHAR) | SELECT church_name FROM table_name_29 WHERE location_of_the_church = "florø" | What is the name of the church that is located in florø? | <s>[INST]What is the name of the church that is located in florø? Context: CREATE TABLE table_name_29 (church_name VARCHAR, location_of_the_church VARCHAR)[/INST]SELECT church_name FROM table_name_29 WHERE location_of_the_church = "florø"</s> |
CREATE TABLE table_name_46 (sack VARCHAR, yards VARCHAR, tackles VARCHAR, assisted VARCHAR) | SELECT COUNT(sack) FROM table_name_46 WHERE tackles > 1 AND assisted < 3 AND yards > 0 | How many sacks for the player with over 1 tackle, under 3 assisted tackles, and over 0 yards? | <s>[INST]How many sacks for the player with over 1 tackle, under 3 assisted tackles, and over 0 yards? Context: CREATE TABLE table_name_46 (sack VARCHAR, yards VARCHAR, tackles VARCHAR, assisted VARCHAR)[/INST]SELECT COUNT(sack) FROM table_name_46 WHERE tackles > 1 AND assisted < 3 AND yards > 0</s> |
CREATE TABLE table_name_93 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_93 WHERE date = "august 27" | Who lost on August 27? | <s>[INST]Who lost on August 27? Context: CREATE TABLE table_name_93 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_93 WHERE date = "august 27"</s> |
CREATE TABLE table_name_17 (no_5 VARCHAR, no_6 VARCHAR, no_10 VARCHAR) | SELECT no_5 FROM table_name_17 WHERE no_6 = "mason" AND no_10 = "jackson" | Who was No. 5 when No. 6 Mason and No. 10 Jackson? | <s>[INST]Who was No. 5 when No. 6 Mason and No. 10 Jackson? Context: CREATE TABLE table_name_17 (no_5 VARCHAR, no_6 VARCHAR, no_10 VARCHAR)[/INST]SELECT no_5 FROM table_name_17 WHERE no_6 = "mason" AND no_10 = "jackson"</s> |
CREATE TABLE table_29332810_14 (sprint_classification VARCHAR, winner VARCHAR) | SELECT sprint_classification FROM table_29332810_14 WHERE winner = "Francisco Ventoso" | Who is the sprint classification where Francisco Ventoso wins? | <s>[INST]Who is the sprint classification where Francisco Ventoso wins? Context: CREATE TABLE table_29332810_14 (sprint_classification VARCHAR, winner VARCHAR)[/INST]SELECT sprint_classification FROM table_29332810_14 WHERE winner = "Francisco Ventoso"</s> |
CREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR) | SELECT COUNT(rank) FROM table_name_21 WHERE time = "3:43.491" | What is the Rank of the Athletes with a Time of 3:43.491? | <s>[INST]What is the Rank of the Athletes with a Time of 3:43.491? Context: CREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_21 WHERE time = "3:43.491"</s> |
CREATE TABLE table_name_15 (result VARCHAR, event VARCHAR, method VARCHAR) | SELECT result FROM table_name_15 WHERE event = "strikeforce" AND method = "ko (spinning back fist)" | Which Result has the Event Strikeforce and the Method, Ko (spinning back fist)? | <s>[INST]Which Result has the Event Strikeforce and the Method, Ko (spinning back fist)? Context: CREATE TABLE table_name_15 (result VARCHAR, event VARCHAR, method VARCHAR)[/INST]SELECT result FROM table_name_15 WHERE event = "strikeforce" AND method = "ko (spinning back fist)"</s> |
CREATE TABLE table_name_60 (time VARCHAR, athlete VARCHAR, year VARCHAR, place VARCHAR) | SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya" | Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya? | <s>[INST]Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya? Context: CREATE TABLE table_name_60 (time VARCHAR, athlete VARCHAR, year VARCHAR, place VARCHAR)[/INST]SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya"</s> |
CREATE TABLE table_name_56 (position VARCHAR, lost VARCHAR, points VARCHAR, drawn VARCHAR) | SELECT COUNT(position) FROM table_name_56 WHERE points > 5 AND drawn = 3 AND lost < 2 | What is the total number of positions for teams with more than 5 points, 3 draws, and under 2 losses? | <s>[INST]What is the total number of positions for teams with more than 5 points, 3 draws, and under 2 losses? Context: CREATE TABLE table_name_56 (position VARCHAR, lost VARCHAR, points VARCHAR, drawn VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_56 WHERE points > 5 AND drawn = 3 AND lost < 2</s> |
CREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna" | Which Score has a To par of –3, and a Player of santiago luna? | <s>[INST]Which Score has a To par of –3, and a Player of santiago luna? Context: CREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"</s> |
CREATE TABLE table_name_77 (tournament VARCHAR) | SELECT tournament FROM table_name_77 WHERE 2012 = "3r" AND 2011 = "qf" | what is the tournament when the performance in 2012 is 3r and 2011 is qf? | <s>[INST]what is the tournament when the performance in 2012 is 3r and 2011 is qf? Context: CREATE TABLE table_name_77 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_77 WHERE 2012 = "3r" AND 2011 = "qf"</s> |
CREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue" | Which Score has a Away team of walthamstow avenue? | <s>[INST]Which Score has a Away team of walthamstow avenue? Context: CREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue"</s> |
CREATE TABLE table_name_55 (format VARCHAR, date VARCHAR) | SELECT format FROM table_name_55 WHERE date = "april 16, 2009" | What format was released April 16, 2009? | <s>[INST]What format was released April 16, 2009? Context: CREATE TABLE table_name_55 (format VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_55 WHERE date = "april 16, 2009"</s> |
CREATE TABLE table_name_94 (laps INTEGER, grid VARCHAR) | SELECT MIN(laps) FROM table_name_94 WHERE grid = 5 | what is the least laps when the grid is 5? | <s>[INST]what is the least laps when the grid is 5? Context: CREATE TABLE table_name_94 (laps INTEGER, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_94 WHERE grid = 5</s> |
CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR) | SELECT height__in_ FROM table_23576576_2 WHERE represented = "Erongo" | What is the height in inches if the represented is Erongo? | <s>[INST]What is the height in inches if the represented is Erongo? Context: CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR)[/INST]SELECT height__in_ FROM table_23576576_2 WHERE represented = "Erongo"</s> |
CREATE TABLE table_name_99 (bronze INTEGER, nation VARCHAR) | SELECT MAX(bronze) FROM table_name_99 WHERE nation = "spain" | Which Bronze has a Nation of spain? | <s>[INST]Which Bronze has a Nation of spain? Context: CREATE TABLE table_name_99 (bronze INTEGER, nation VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_99 WHERE nation = "spain"</s> |
CREATE TABLE table_name_6 (launch_site VARCHAR, carrier_rocket VARCHAR, cospar_id VARCHAR) | SELECT launch_site FROM table_name_6 WHERE carrier_rocket = "scout" AND cospar_id = "1971-109a" | From where did the Scout carrier rocket with the satellite that has a COSPAR ID of 1971-109a launch? | <s>[INST]From where did the Scout carrier rocket with the satellite that has a COSPAR ID of 1971-109a launch? Context: CREATE TABLE table_name_6 (launch_site VARCHAR, carrier_rocket VARCHAR, cospar_id VARCHAR)[/INST]SELECT launch_site FROM table_name_6 WHERE carrier_rocket = "scout" AND cospar_id = "1971-109a"</s> |
CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR) | SELECT AVG(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = "Monaco Grand Prix" | What is the average fastest lap speed in race named 'Monaco Grand Prix' in 2008 ? | <s>[INST]What is the average fastest lap speed in race named 'Monaco Grand Prix' in 2008 ? Context: CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR)[/INST]SELECT AVG(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.r... |
CREATE TABLE table_name_50 (year_s__won VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_50 WHERE player = "arnold palmer" | What year or years did arnold palmer win? | <s>[INST]What year or years did arnold palmer win? Context: CREATE TABLE table_name_50 (year_s__won VARCHAR, player VARCHAR)[/INST]SELECT year_s__won FROM table_name_50 WHERE player = "arnold palmer"</s> |
CREATE TABLE table_name_77 (date VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_77 WHERE surface = "hard" AND tournament = "sweden f2" | What date was the game played on the hard surface at the Tournament of Sweden f2? | <s>[INST]What date was the game played on the hard surface at the Tournament of Sweden f2? Context: CREATE TABLE table_name_77 (date VARCHAR, surface VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE surface = "hard" AND tournament = "sweden f2"</s> |
CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_75 WHERE home_team = "slough town" | What was the away team for the game in Slough Town? | <s>[INST]What was the away team for the game in Slough Town? Context: CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_75 WHERE home_team = "slough town"</s> |
CREATE TABLE table_21994729_3 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin" | reginald hudlin directed how many written by. | <s>[INST]reginald hudlin directed how many written by. Context: CREATE TABLE table_21994729_3 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin"</s> |
CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR) | SELECT SUM(top_10) FROM table_name_95 WHERE cuts_made < 10 AND top_5 < 0 | What is the sum of Top-10(s), when Cuts made is less than 10, and when Top-5 is less than 0? | <s>[INST]What is the sum of Top-10(s), when Cuts made is less than 10, and when Top-5 is less than 0? Context: CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR)[/INST]SELECT SUM(top_10) FROM table_name_95 WHERE cuts_made < 10 AND top_5 < 0</s> |
CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_36 WHERE date = "12 december" | What is the record for the date of 12 december? | <s>[INST]What is the record for the date of 12 december? Context: CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_36 WHERE date = "12 december"</s> |
CREATE TABLE table_name_75 (games INTEGER, team VARCHAR, points VARCHAR) | SELECT MAX(games) FROM table_name_75 WHERE team = "ciudad de la laguna" AND points > 357 | What are the Highest Games, when Team is Ciudad De La Laguna, and when Points are greater than 357? | <s>[INST]What are the Highest Games, when Team is Ciudad De La Laguna, and when Points are greater than 357? Context: CREATE TABLE table_name_75 (games INTEGER, team VARCHAR, points VARCHAR)[/INST]SELECT MAX(games) FROM table_name_75 WHERE team = "ciudad de la laguna" AND points > 357</s> |
CREATE TABLE table_name_10 (mascot VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR) | SELECT mascot FROM table_name_10 WHERE ihsaa_class = "aa" AND enrollment > 369 | Which Mascot has IHSAA Class of aa, and a Enrollment larger than 369? | <s>[INST]Which Mascot has IHSAA Class of aa, and a Enrollment larger than 369? Context: CREATE TABLE table_name_10 (mascot VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)[/INST]SELECT mascot FROM table_name_10 WHERE ihsaa_class = "aa" AND enrollment > 369</s> |
CREATE TABLE table_name_88 (date VARCHAR, total VARCHAR) | SELECT date FROM table_name_88 WHERE total = "60–77" | On what date was the total 60–77? | <s>[INST]On what date was the total 60–77? Context: CREATE TABLE table_name_88 (date VARCHAR, total VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE total = "60–77"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.