context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE csu_fees (campusfee INTEGER) | SELECT COUNT(*) FROM csu_fees WHERE campusfee > (SELECT AVG(campusfee) FROM csu_fees) | Find the count of universities whose campus fee is greater than the average campus fee. | <s>[INST]Find the count of universities whose campus fee is greater than the average campus fee. Context: CREATE TABLE csu_fees (campusfee INTEGER)[/INST]SELECT COUNT(*) FROM csu_fees WHERE campusfee > (SELECT AVG(campusfee) FROM csu_fees)</s> |
CREATE TABLE bank (city VARCHAR, state VARCHAR, bname VARCHAR) | SELECT city, state FROM bank WHERE bname = 'morningside' | Find the city and state of the bank branch named morningside. | <s>[INST]Find the city and state of the bank branch named morningside. Context: CREATE TABLE bank (city VARCHAR, state VARCHAR, bname VARCHAR)[/INST]SELECT city, state FROM bank WHERE bname = 'morningside'</s> |
CREATE TABLE table_name_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR) | SELECT score FROM table_name_83 WHERE visitor = "toronto st. pats" AND home = "montreal canadiens" AND record = "3–2–0" | Which Score has a Visitor of toronto st. pats, and a Home of montreal canadiens, and a Record of 3–2–0? | <s>[INST]Which Score has a Visitor of toronto st. pats, and a Home of montreal canadiens, and a Record of 3–2–0? Context: CREATE TABLE table_name_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_83 WHERE visitor = "toronto st. pats" AND home = "montreal canadiens" AND record = "3–2–0"</s> |
CREATE TABLE table_name_23 (time_of_broadcast VARCHAR, days_of_the_week VARCHAR, picture_format VARCHAR, hours VARCHAR) | SELECT time_of_broadcast FROM table_name_23 WHERE picture_format = "4:3" AND hours = "20:30" AND days_of_the_week = "monday, wednesday, friday" | Name the Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday? | <s>[INST]Name the Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday? Context: CREATE TABLE table_name_23 (time_of_broadcast VARCHAR, days_of_the_week VARCHAR, picture_format VARCHAR, hours VARCHAR)[/INST]SELECT time_of_broadcast FROM table_name_23 WHERE picture_format = "4:3" AND hours = "20:30" AND days_of_the_week = "monday, wednesday, friday"</s> |
CREATE TABLE table_27756572_10 (score VARCHAR, date VARCHAR) | SELECT score FROM table_27756572_10 WHERE date = "March 26" | What was the score in the game on March 26? | <s>[INST]What was the score in the game on March 26? Context: CREATE TABLE table_27756572_10 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_27756572_10 WHERE date = "March 26"</s> |
CREATE TABLE table_name_28 (platform VARCHAR, latest_stable_release VARCHAR) | SELECT platform FROM table_name_28 WHERE latest_stable_release = "8.4" | What is the platform for the latest release 8.4? | <s>[INST]What is the platform for the latest release 8.4? Context: CREATE TABLE table_name_28 (platform VARCHAR, latest_stable_release VARCHAR)[/INST]SELECT platform FROM table_name_28 WHERE latest_stable_release = "8.4"</s> |
CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_60 WHERE date = "april 28" | Who was the opponent on April 28? | <s>[INST]Who was the opponent on April 28? Context: CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_60 WHERE date = "april 28"</s> |
CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR) | SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne" | The original artist Joan Osborne has what result? | <s>[INST]The original artist Joan Osborne has what result? Context: CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR)[/INST]SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne"</s> |
CREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR) | SELECT city FROM table_name_61 WHERE icao = "zsxz" | Which city has an ICAO of ZSXZ? | <s>[INST]Which city has an ICAO of ZSXZ? Context: CREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR)[/INST]SELECT city FROM table_name_61 WHERE icao = "zsxz"</s> |
CREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = "collision" AND constructor = "ferrari" | What is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari? | <s>[INST]What is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari? Context: CREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = "collision" AND constructor = "ferrari"</s> |
CREATE TABLE table_name_51 (_percentage_internet_users INTEGER, _percentage_growth__2000_2008_ VARCHAR) | SELECT MAX(_percentage_internet_users) FROM table_name_51 WHERE _percentage_growth__2000_2008_ = 1622 | What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had? | <s>[INST]What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had? Context: CREATE TABLE table_name_51 (_percentage_internet_users INTEGER, _percentage_growth__2000_2008_ VARCHAR)[/INST]SELECT MAX(_percentage_internet_users) FROM table_name_51 WHERE _percentage_growth__2000_2008_ = 1622</s> |
CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR) | SELECT capacity FROM table_name_84 WHERE model_engine = "2.0 duratorq" | Name the capacity for the engine of 2.0 duratorq | <s>[INST]Name the capacity for the engine of 2.0 duratorq Context: CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR)[/INST]SELECT capacity FROM table_name_84 WHERE model_engine = "2.0 duratorq"</s> |
CREATE TABLE table_name_55 (date VARCHAR, name VARCHAR) | SELECT date FROM table_name_55 WHERE name = "circe shell" | What is the date of attack of the Circe Shell Ship? | <s>[INST]What is the date of attack of the Circe Shell Ship? Context: CREATE TABLE table_name_55 (date VARCHAR, name VARCHAR)[/INST]SELECT date FROM table_name_55 WHERE name = "circe shell"</s> |
CREATE TABLE table_27712702_11 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_27712702_11 WHERE record = "46–24" | what was the game number where the record was 46–24? | <s>[INST]what was the game number where the record was 46–24? Context: CREATE TABLE table_27712702_11 (game INTEGER, record VARCHAR)[/INST]SELECT MIN(game) FROM table_27712702_11 WHERE record = "46–24"</s> |
CREATE TABLE table_name_39 (investment_income VARCHAR, other_social_security_benefits VARCHAR, occupational_pensions VARCHAR, working_tax_credit VARCHAR) | SELECT investment_income FROM table_name_39 WHERE occupational_pensions = "7%" AND working_tax_credit = "2%" AND other_social_security_benefits = "6%" | Occupational pensions of 7%, and a Working tax credit of 2%, and a Other social security benefits of 6% has what investment income? | <s>[INST]Occupational pensions of 7%, and a Working tax credit of 2%, and a Other social security benefits of 6% has what investment income? Context: CREATE TABLE table_name_39 (investment_income VARCHAR, other_social_security_benefits VARCHAR, occupational_pensions VARCHAR, working_tax_credit VARCHAR)[/INST]SELECT investment_income FROM table_name_39 WHERE occupational_pensions = "7%" AND working_tax_credit = "2%" AND other_social_security_benefits = "6%"</s> |
CREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR) | SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = "Doncaster Rovers" | How many caps figures for the Doncaster Rovers? | <s>[INST]How many caps figures for the Doncaster Rovers? Context: CREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)[/INST]SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = "Doncaster Rovers"</s> |
CREATE TABLE table_10701133_1 (no_in_season INTEGER) | SELECT MAX(no_in_season) FROM table_10701133_1 | What is the highest no. in season? | <s>[INST]What is the highest no. in season? Context: CREATE TABLE table_10701133_1 (no_in_season INTEGER)[/INST]SELECT MAX(no_in_season) FROM table_10701133_1</s> |
CREATE TABLE table_name_89 (place VARCHAR, score VARCHAR, country VARCHAR) | SELECT place FROM table_name_89 WHERE score = 71 AND country = "united states" | When the score is 71 and the player is from United States what is the place? | <s>[INST]When the score is 71 and the player is from United States what is the place? Context: CREATE TABLE table_name_89 (place VARCHAR, score VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_89 WHERE score = 71 AND country = "united states"</s> |
CREATE TABLE table_name_78 (year VARCHAR, group VARCHAR) | SELECT COUNT(year) FROM table_name_78 WHERE group = "sitges film festival" | What is the number of years that Kim was nominated at the Sitges Film Festival? | <s>[INST]What is the number of years that Kim was nominated at the Sitges Film Festival? Context: CREATE TABLE table_name_78 (year VARCHAR, group VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_78 WHERE group = "sitges film festival"</s> |
CREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR) | SELECT AVG(laps) FROM table_name_69 WHERE grid = 8 | What is the average number of laps for grid 8? | <s>[INST]What is the average number of laps for grid 8? Context: CREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_69 WHERE grid = 8</s> |
CREATE TABLE table_name_98 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | SELECT result FROM table_name_98 WHERE first_elected > 1876 AND incumbent = "john s. richardson" | Which Result has a First elected larger than 1876, and an Incumbent of john s. richardson? | <s>[INST]Which Result has a First elected larger than 1876, and an Incumbent of john s. richardson? Context: CREATE TABLE table_name_98 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_name_98 WHERE first_elected > 1876 AND incumbent = "john s. richardson"</s> |
CREATE TABLE table_name_92 (round VARCHAR, date VARCHAR) | SELECT round FROM table_name_92 WHERE date = "march 22" | What was the round number for March 22? | <s>[INST]What was the round number for March 22? Context: CREATE TABLE table_name_92 (round VARCHAR, date VARCHAR)[/INST]SELECT round FROM table_name_92 WHERE date = "march 22"</s> |
CREATE TABLE table_name_41 (visiting_team VARCHAR, date VARCHAR) | SELECT visiting_team FROM table_name_41 WHERE date = "september 15" | Who was the visiting team that played on September 15? | <s>[INST]Who was the visiting team that played on September 15? Context: CREATE TABLE table_name_41 (visiting_team VARCHAR, date VARCHAR)[/INST]SELECT visiting_team FROM table_name_41 WHERE date = "september 15"</s> |
CREATE TABLE table_29487895_2 (title_in_country VARCHAR, country___region VARCHAR) | SELECT title_in_country FROM table_29487895_2 WHERE country___region = "France" | What country is in the region of France? | <s>[INST]What country is in the region of France? Context: CREATE TABLE table_29487895_2 (title_in_country VARCHAR, country___region VARCHAR)[/INST]SELECT title_in_country FROM table_29487895_2 WHERE country___region = "France"</s> |
CREATE TABLE table_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR) | SELECT race FROM table_name_36 WHERE circuit = "las vegas motor speedway" AND length = "2 hours" | Which race was on the Las Vegas Motor Speedway for 2 hours? | <s>[INST]Which race was on the Las Vegas Motor Speedway for 2 hours? Context: CREATE TABLE table_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR)[/INST]SELECT race FROM table_name_36 WHERE circuit = "las vegas motor speedway" AND length = "2 hours"</s> |
CREATE TABLE table_name_46 (platform_ VARCHAR, _frequency_ VARCHAR, mhz VARCHAR, model VARCHAR) | SELECT platform_ & _frequency_[mhz] FROM table_name_46 WHERE model = "whr-g54s" | What is the platform & frequency [MHz] of the whr-g54s model? | <s>[INST]What is the platform & frequency [MHz] of the whr-g54s model? Context: CREATE TABLE table_name_46 (platform_ VARCHAR, _frequency_ VARCHAR, mhz VARCHAR, model VARCHAR)[/INST]SELECT platform_ & _frequency_[mhz] FROM table_name_46 WHERE model = "whr-g54s"</s> |
CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR) | SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21" | Name the country where % change on year is 21 and value is less than 86 | <s>[INST]Name the country where % change on year is 21 and value is less than 86 Context: CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR)[/INST]SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21"</s> |
CREATE TABLE table_name_69 (horse VARCHAR, result VARCHAR) | SELECT horse FROM table_name_69 WHERE result = "66.452" | What horse has a 66.452 result? | <s>[INST]What horse has a 66.452 result? Context: CREATE TABLE table_name_69 (horse VARCHAR, result VARCHAR)[/INST]SELECT horse FROM table_name_69 WHERE result = "66.452"</s> |
CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR) | SELECT gold FROM table_name_15 WHERE year = 1998 | Who won the gold medal in 1998? | <s>[INST]Who won the gold medal in 1998? Context: CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR)[/INST]SELECT gold FROM table_name_15 WHERE year = 1998</s> |
CREATE TABLE table_name_68 (score VARCHAR, result VARCHAR) | SELECT score FROM table_name_68 WHERE result = "5-2" | What was the score for the game that had an end result of 5-2? | <s>[INST]What was the score for the game that had an end result of 5-2? Context: CREATE TABLE table_name_68 (score VARCHAR, result VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE result = "5-2"</s> |
CREATE TABLE table_name_53 (basikal VARCHAR, ikut VARCHAR, mana VARCHAR, pergi VARCHAR) | SELECT basikal FROM table_name_53 WHERE mana = "mano" AND pergi = "gi" AND ikut = "turuk" | what is basikal when mana is mano, pergi is gi and Ikut is turuk? | <s>[INST]what is basikal when mana is mano, pergi is gi and Ikut is turuk? Context: CREATE TABLE table_name_53 (basikal VARCHAR, ikut VARCHAR, mana VARCHAR, pergi VARCHAR)[/INST]SELECT basikal FROM table_name_53 WHERE mana = "mano" AND pergi = "gi" AND ikut = "turuk"</s> |
CREATE TABLE table_name_53 (run_2 VARCHAR, run_4 VARCHAR, run_3 VARCHAR) | SELECT COUNT(run_2) FROM table_name_53 WHERE run_4 = 57.68 AND run_3 < 57.9 | How much Run 2 has a Run 4 of 57.68, and a Run 3 smaller than 57.9? | <s>[INST]How much Run 2 has a Run 4 of 57.68, and a Run 3 smaller than 57.9? Context: CREATE TABLE table_name_53 (run_2 VARCHAR, run_4 VARCHAR, run_3 VARCHAR)[/INST]SELECT COUNT(run_2) FROM table_name_53 WHERE run_4 = 57.68 AND run_3 < 57.9</s> |
CREATE TABLE table_name_12 (name VARCHAR, directed___undirected VARCHAR, basis VARCHAR) | SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric" | What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis? | <s>[INST]What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis? Context: CREATE TABLE table_name_12 (name VARCHAR, directed___undirected VARCHAR, basis VARCHAR)[/INST]SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric"</s> |
CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ VARCHAR) | SELECT gdp_at_constant_prices__thb_trillions_ FROM table_30133_1 WHERE current_account_balance__percent_of_gdp_ = "12.8" | What is the GDP at constant prices for a current account balance of 12.8? | <s>[INST]What is the GDP at constant prices for a current account balance of 12.8? Context: CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ VARCHAR)[/INST]SELECT gdp_at_constant_prices__thb_trillions_ FROM table_30133_1 WHERE current_account_balance__percent_of_gdp_ = "12.8"</s> |
CREATE TABLE table_name_41 (draws INTEGER, wins VARCHAR, byes VARCHAR) | SELECT MIN(draws) FROM table_name_41 WHERE wins = 9 AND byes < 0 | What is the lowest number of draws of the team with 9 wins and less than 0 byes? | <s>[INST]What is the lowest number of draws of the team with 9 wins and less than 0 byes? Context: CREATE TABLE table_name_41 (draws INTEGER, wins VARCHAR, byes VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_41 WHERE wins = 9 AND byes < 0</s> |
CREATE TABLE table_name_71 (tournament VARCHAR) | SELECT 2013 FROM table_name_71 WHERE tournament = "grand slam tournaments" | What is the 2013 of the grand slam tournaments? | <s>[INST]What is the 2013 of the grand slam tournaments? Context: CREATE TABLE table_name_71 (tournament VARCHAR)[/INST]SELECT 2013 FROM table_name_71 WHERE tournament = "grand slam tournaments"</s> |
CREATE TABLE table_25721_3 (total_viewers VARCHAR, airdate VARCHAR) | SELECT COUNT(total_viewers) FROM table_25721_3 WHERE airdate = "25 October 2012" | How many episodes aired on 25 october 2012? | <s>[INST]How many episodes aired on 25 october 2012? Context: CREATE TABLE table_25721_3 (total_viewers VARCHAR, airdate VARCHAR)[/INST]SELECT COUNT(total_viewers) FROM table_25721_3 WHERE airdate = "25 October 2012"</s> |
CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "collingwood" | How many people were in the crowd at collingwood's home game? | <s>[INST]How many people were in the crowd at collingwood's home game? Context: CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_name_73 (opponent_number VARCHAR, attendance VARCHAR) | SELECT opponent_number FROM table_name_73 WHERE attendance = "45,000" | Who was the opponent at the game attended by 45,000? | <s>[INST]Who was the opponent at the game attended by 45,000? Context: CREATE TABLE table_name_73 (opponent_number VARCHAR, attendance VARCHAR)[/INST]SELECT opponent_number FROM table_name_73 WHERE attendance = "45,000"</s> |
CREATE TABLE table_name_99 (attendance INTEGER, loss VARCHAR) | SELECT MAX(attendance) FROM table_name_99 WHERE loss = "paniagua (3–3)" | WHICH Attendance that has a Loss of paniagua (3–3)? | <s>[INST]WHICH Attendance that has a Loss of paniagua (3–3)? Context: CREATE TABLE table_name_99 (attendance INTEGER, loss VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_99 WHERE loss = "paniagua (3–3)"</s> |
CREATE TABLE table_1463383_1 (date_released VARCHAR, green_communist VARCHAR) | SELECT date_released FROM table_1463383_1 WHERE green_communist = "8.9%" | When was there 8.9% Green-Communist? | <s>[INST]When was there 8.9% Green-Communist? Context: CREATE TABLE table_1463383_1 (date_released VARCHAR, green_communist VARCHAR)[/INST]SELECT date_released FROM table_1463383_1 WHERE green_communist = "8.9%"</s> |
CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_32 WHERE venue = "mcg" | Which Home team has a Venue of mcg? | <s>[INST]Which Home team has a Venue of mcg? Context: CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_32 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_3 (partner VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR) | SELECT partner FROM table_name_3 WHERE outcome = "winner" AND opponents_in_the_final = "rick leach jim pugh" | WHich Partner has a Outcome of winner, and a Opponents in the final of rick leach jim pugh? | <s>[INST]WHich Partner has a Outcome of winner, and a Opponents in the final of rick leach jim pugh? Context: CREATE TABLE table_name_3 (partner VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_3 WHERE outcome = "winner" AND opponents_in_the_final = "rick leach jim pugh"</s> |
CREATE TABLE table_name_98 (date VARCHAR, crowd INTEGER) | SELECT date FROM table_name_98 WHERE crowd > 36 OFFSET 766 | What is the date of the game with 36,766 fans? | <s>[INST]What is the date of the game with 36,766 fans? Context: CREATE TABLE table_name_98 (date VARCHAR, crowd INTEGER)[/INST]SELECT date FROM table_name_98 WHERE crowd > 36 OFFSET 766</s> |
CREATE TABLE table_1139835_3 (grand_finalist VARCHAR, scores VARCHAR) | SELECT grand_finalist FROM table_1139835_3 WHERE scores = "11.11 (77) – 10.8 (68)" | who is the grand finalist where scores is 11.11 (77) – 10.8 (68) | <s>[INST] who is the grand finalist where scores is 11.11 (77) – 10.8 (68) Context: CREATE TABLE table_1139835_3 (grand_finalist VARCHAR, scores VARCHAR)[/INST]SELECT grand_finalist FROM table_1139835_3 WHERE scores = "11.11 (77) – 10.8 (68)"</s> |
CREATE TABLE table_name_29 (minor_seventh VARCHAR, major_third VARCHAR) | SELECT minor_seventh FROM table_name_29 WHERE major_third = "c" | A major third of C has what listed for the Minor seventh? | <s>[INST]A major third of C has what listed for the Minor seventh? Context: CREATE TABLE table_name_29 (minor_seventh VARCHAR, major_third VARCHAR)[/INST]SELECT minor_seventh FROM table_name_29 WHERE major_third = "c"</s> |
CREATE TABLE table_name_93 (date VARCHAR, actual_title VARCHAR) | SELECT date FROM table_name_93 WHERE actual_title = "ed" | What date has ed as an actual title? | <s>[INST]What date has ed as an actual title? Context: CREATE TABLE table_name_93 (date VARCHAR, actual_title VARCHAR)[/INST]SELECT date FROM table_name_93 WHERE actual_title = "ed"</s> |
CREATE TABLE table_name_16 (points VARCHAR, lost VARCHAR, match VARCHAR) | SELECT COUNT(points) FROM table_name_16 WHERE lost > 6 AND match < 14 | How many points were there when there more than 6 losses and less than 14 matches? | <s>[INST]How many points were there when there more than 6 losses and less than 14 matches? Context: CREATE TABLE table_name_16 (points VARCHAR, lost VARCHAR, match VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_16 WHERE lost > 6 AND match < 14</s> |
CREATE TABLE table_name_58 (catalog VARCHAR, country VARCHAR) | SELECT catalog FROM table_name_58 WHERE country = "australia" | What catalog has Australia as the country? | <s>[INST]What catalog has Australia as the country? Context: CREATE TABLE table_name_58 (catalog VARCHAR, country VARCHAR)[/INST]SELECT catalog FROM table_name_58 WHERE country = "australia"</s> |
CREATE TABLE table_name_21 (lost VARCHAR, team VARCHAR, points VARCHAR) | SELECT COUNT(lost) FROM table_name_21 WHERE team = "corinthians" AND points > 22 | How many losses does corinthians have when they scored over 22 points? | <s>[INST]How many losses does corinthians have when they scored over 22 points? Context: CREATE TABLE table_name_21 (lost VARCHAR, team VARCHAR, points VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_21 WHERE team = "corinthians" AND points > 22</s> |
CREATE TABLE table_17941032_1 (try_bonus VARCHAR, tries_for VARCHAR) | SELECT try_bonus FROM table_17941032_1 WHERE tries_for = "80" | When 80 is the tries for what is the try bonus? | <s>[INST]When 80 is the tries for what is the try bonus? Context: CREATE TABLE table_17941032_1 (try_bonus VARCHAR, tries_for VARCHAR)[/INST]SELECT try_bonus FROM table_17941032_1 WHERE tries_for = "80"</s> |
CREATE TABLE table_name_20 (Id VARCHAR) | SELECT 2010 FROM table_name_20 WHERE 2006 = "a" | What's the 2010 result when 2006 is a? | <s>[INST]What's the 2010 result when 2006 is a? Context: CREATE TABLE table_name_20 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_20 WHERE 2006 = "a"</s> |
CREATE TABLE table_name_71 (games VARCHAR, event VARCHAR, medal VARCHAR, sport VARCHAR) | SELECT games FROM table_name_71 WHERE medal = "bronze" AND sport = "weightlifting" AND event = "94kg men's weightlifting" | At which games was a bronze medal won in the 94kg men's weightlifting event? | <s>[INST]At which games was a bronze medal won in the 94kg men's weightlifting event? Context: CREATE TABLE table_name_71 (games VARCHAR, event VARCHAR, medal VARCHAR, sport VARCHAR)[/INST]SELECT games FROM table_name_71 WHERE medal = "bronze" AND sport = "weightlifting" AND event = "94kg men's weightlifting"</s> |
CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR) | SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 6 | What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins? | <s>[INST]What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins? Context: CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR)[/INST]SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 6</s> |
CREATE TABLE table_name_65 (winner VARCHAR, third_place VARCHAR) | SELECT winner FROM table_name_65 WHERE third_place = "goran ivanišević" | What is the name of the winner when Goran Ivanišević was in third place? | <s>[INST]What is the name of the winner when Goran Ivanišević was in third place? Context: CREATE TABLE table_name_65 (winner VARCHAR, third_place VARCHAR)[/INST]SELECT winner FROM table_name_65 WHERE third_place = "goran ivanišević"</s> |
CREATE TABLE table_name_74 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_74 WHERE record = "12-4" | What was the location of the game when the record was 12-4? | <s>[INST]What was the location of the game when the record was 12-4? Context: CREATE TABLE table_name_74 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_74 WHERE record = "12-4"</s> |
CREATE TABLE airlines (country VARCHAR, name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR) | SELECT T1.country, T1.name, COUNT(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T1.country, T1.name | For each country and airline name, how many routes are there? | <s>[INST]For each country and airline name, how many routes are there? Context: CREATE TABLE airlines (country VARCHAR, name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR)[/INST]SELECT T1.country, T1.name, COUNT(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T1.country, T1.name</s> |
CREATE TABLE table_name_85 (no_7 VARCHAR, region__year_ VARCHAR) | SELECT no_7 FROM table_name_85 WHERE region__year_ = "arizona (2010)" | What is No. 7, when Region (Year) is Arizona (2010)? | <s>[INST]What is No. 7, when Region (Year) is Arizona (2010)? Context: CREATE TABLE table_name_85 (no_7 VARCHAR, region__year_ VARCHAR)[/INST]SELECT no_7 FROM table_name_85 WHERE region__year_ = "arizona (2010)"</s> |
CREATE TABLE table_name_52 (player VARCHAR, pick VARCHAR) | SELECT player FROM table_name_52 WHERE pick = 252 | What player was drafted 252? | <s>[INST]What player was drafted 252? Context: CREATE TABLE table_name_52 (player VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_52 WHERE pick = 252</s> |
CREATE TABLE table_name_86 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood" | When the away team was collingwood, what was the away team score? | <s>[INST]When the away team was collingwood, what was the away team score? Context: CREATE TABLE table_name_86 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_8 WHERE date = "may 12, 2008" | What was the score on May 12, 2008? | <s>[INST]What was the score on May 12, 2008? Context: CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE date = "may 12, 2008"</s> |
CREATE TABLE table_name_70 (opponent VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_70 WHERE event = "pride 31" | Who was the match against at the PRIDE 31 event? | <s>[INST]Who was the match against at the PRIDE 31 event? Context: CREATE TABLE table_name_70 (opponent VARCHAR, event VARCHAR)[/INST]SELECT opponent FROM table_name_70 WHERE event = "pride 31"</s> |
CREATE TABLE table_name_47 (year_opened VARCHAR, ride VARCHAR, rating VARCHAR) | SELECT COUNT(year_opened) FROM table_name_47 WHERE ride = "flight deck" AND rating < 5 | What year has the ride flight deck and a rating of less than 5? | <s>[INST]What year has the ride flight deck and a rating of less than 5? Context: CREATE TABLE table_name_47 (year_opened VARCHAR, ride VARCHAR, rating VARCHAR)[/INST]SELECT COUNT(year_opened) FROM table_name_47 WHERE ride = "flight deck" AND rating < 5</s> |
CREATE TABLE table_name_58 (goals_against INTEGER, points_1 VARCHAR, drawn VARCHAR) | SELECT MIN(goals_against) FROM table_name_58 WHERE points_1 = "18" AND drawn > 8 | What is the smallest number of goals against when there are 1 of 18 points, and more than 8 are drawn? | <s>[INST]What is the smallest number of goals against when there are 1 of 18 points, and more than 8 are drawn? Context: CREATE TABLE table_name_58 (goals_against INTEGER, points_1 VARCHAR, drawn VARCHAR)[/INST]SELECT MIN(goals_against) FROM table_name_58 WHERE points_1 = "18" AND drawn > 8</s> |
CREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_name_91 WHERE winner = "ram vaswani" | Ram Vaswani was a winner on what date? | <s>[INST]Ram Vaswani was a winner on what date? Context: CREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_name_91 WHERE winner = "ram vaswani"</s> |
CREATE TABLE table_name_23 (lost VARCHAR, points VARCHAR, name VARCHAR) | SELECT COUNT(lost) FROM table_name_23 WHERE points > 15 AND name = "ev pegnitz" | How much Lost has Points larger than 15, and a Name of ev pegnitz? | <s>[INST]How much Lost has Points larger than 15, and a Name of ev pegnitz? Context: CREATE TABLE table_name_23 (lost VARCHAR, points VARCHAR, name VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_23 WHERE points > 15 AND name = "ev pegnitz"</s> |
CREATE TABLE table_name_21 (date VARCHAR, format VARCHAR) | SELECT date FROM table_name_21 WHERE format = "lp" | What date was the release when the format was lp? | <s>[INST]What date was the release when the format was lp? Context: CREATE TABLE table_name_21 (date VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE format = "lp"</s> |
CREATE TABLE table_name_23 (title VARCHAR, podcast_date VARCHAR) | SELECT title FROM table_name_23 WHERE podcast_date = "september 25, 2005" | What is the title of the episode that aired on September 25, 2005? | <s>[INST]What is the title of the episode that aired on September 25, 2005? Context: CREATE TABLE table_name_23 (title VARCHAR, podcast_date VARCHAR)[/INST]SELECT title FROM table_name_23 WHERE podcast_date = "september 25, 2005"</s> |
CREATE TABLE table_name_86 (jury INTEGER, place VARCHAR, total VARCHAR) | SELECT SUM(jury) FROM table_name_86 WHERE place = "2nd" AND total > 190 | What is the total of the jury that is 2nd place and the total is larger than 190? | <s>[INST]What is the total of the jury that is 2nd place and the total is larger than 190? Context: CREATE TABLE table_name_86 (jury INTEGER, place VARCHAR, total VARCHAR)[/INST]SELECT SUM(jury) FROM table_name_86 WHERE place = "2nd" AND total > 190</s> |
CREATE TABLE table_name_29 (Id VARCHAR) | SELECT 1992 FROM table_name_29 WHERE 1990 = "grand slams" | What is 1992, when 1990 is "Grand Slams"? | <s>[INST]What is 1992, when 1990 is "Grand Slams"? Context: CREATE TABLE table_name_29 (Id VARCHAR)[/INST]SELECT 1992 FROM table_name_29 WHERE 1990 = "grand slams"</s> |
CREATE TABLE table_name_10 (year INTEGER, competition VARCHAR) | SELECT MAX(year) FROM table_name_10 WHERE competition = "new york city marathon" | What is the highest Year with a Competition that is new york city marathon? | <s>[INST]What is the highest Year with a Competition that is new york city marathon? Context: CREATE TABLE table_name_10 (year INTEGER, competition VARCHAR)[/INST]SELECT MAX(year) FROM table_name_10 WHERE competition = "new york city marathon"</s> |
CREATE TABLE table_name_62 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR) | SELECT MIN(gold) FROM table_name_62 WHERE total < 2 AND rank = 17 AND silver > 0 | What is the lowest amount of gold a team with less than 2 total medals, ranked 17, and more than 0 silver medals, has? | <s>[INST]What is the lowest amount of gold a team with less than 2 total medals, ranked 17, and more than 0 silver medals, has? Context: CREATE TABLE table_name_62 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_62 WHERE total < 2 AND rank = 17 AND silver > 0</s> |
CREATE TABLE table_name_1 (iata VARCHAR, state_territory VARCHAR, begin VARCHAR) | SELECT iata FROM table_name_1 WHERE state_territory = "new south wales" AND begin = "july 2009" | What is the IATA that has new south wales as the state/territory beginning on july 2009? | <s>[INST]What is the IATA that has new south wales as the state/territory beginning on july 2009? Context: CREATE TABLE table_name_1 (iata VARCHAR, state_territory VARCHAR, begin VARCHAR)[/INST]SELECT iata FROM table_name_1 WHERE state_territory = "new south wales" AND begin = "july 2009"</s> |
CREATE TABLE table_name_62 (frequency VARCHAR, magazine_run VARCHAR) | SELECT frequency FROM table_name_62 WHERE magazine_run = "september 2, 2010" | What is the frequency for the magazine that runs September 2, 2010? | <s>[INST]What is the frequency for the magazine that runs September 2, 2010? Context: CREATE TABLE table_name_62 (frequency VARCHAR, magazine_run VARCHAR)[/INST]SELECT frequency FROM table_name_62 WHERE magazine_run = "september 2, 2010"</s> |
CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, result VARCHAR, round VARCHAR) | SELECT date FROM table_name_60 WHERE result = "win" AND round < 2 AND opponent = "myron greenberg" | Which Date has a Result of win, and a Round smaller than 2, and an Opponent of myron greenberg? | <s>[INST]Which Date has a Result of win, and a Round smaller than 2, and an Opponent of myron greenberg? Context: CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, result VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE result = "win" AND round < 2 AND opponent = "myron greenberg"</s> |
CREATE TABLE table_15869204_8 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_15869204_8 WHERE game = 68 | Who was the high point scorer in game number 68? | <s>[INST]Who was the high point scorer in game number 68? Context: CREATE TABLE table_15869204_8 (high_points VARCHAR, game VARCHAR)[/INST]SELECT high_points FROM table_15869204_8 WHERE game = 68</s> |
CREATE TABLE table_1965650_4 (position VARCHAR, nhl_team VARCHAR) | SELECT COUNT(position) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars" | What's the number of positions of the player playing in Minnesota North Stars? | <s>[INST]What's the number of positions of the player playing in Minnesota North Stars? Context: CREATE TABLE table_1965650_4 (position VARCHAR, nhl_team VARCHAR)[/INST]SELECT COUNT(position) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars"</s> |
CREATE TABLE table_name_61 (points_against VARCHAR, lost VARCHAR) | SELECT points_against FROM table_name_61 WHERE lost = "17" | Which points against has 17 as the lost? | <s>[INST]Which points against has 17 as the lost? Context: CREATE TABLE table_name_61 (points_against VARCHAR, lost VARCHAR)[/INST]SELECT points_against FROM table_name_61 WHERE lost = "17"</s> |
CREATE TABLE table_name_5 (title VARCHAR, pages VARCHAR, vol__number VARCHAR) | SELECT title FROM table_name_5 WHERE pages > 128 AND vol__number = 5 | What is the title of the edition with more than 128 pages and a volume # of 5? | <s>[INST]What is the title of the edition with more than 128 pages and a volume # of 5? Context: CREATE TABLE table_name_5 (title VARCHAR, pages VARCHAR, vol__number VARCHAR)[/INST]SELECT title FROM table_name_5 WHERE pages > 128 AND vol__number = 5</s> |
CREATE TABLE table_11964047_10 (attendance VARCHAR, home VARCHAR) | SELECT attendance FROM table_11964047_10 WHERE home = "Los Angeles Lakers" | What is the attendance for the home game at Los Angeles Lakers? | <s>[INST]What is the attendance for the home game at Los Angeles Lakers? Context: CREATE TABLE table_11964047_10 (attendance VARCHAR, home VARCHAR)[/INST]SELECT attendance FROM table_11964047_10 WHERE home = "Los Angeles Lakers"</s> |
CREATE TABLE table_name_33 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_33 WHERE player = "scott hoch" | What is Scott Hoch's to par? | <s>[INST]What is Scott Hoch's to par? Context: CREATE TABLE table_name_33 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_33 WHERE player = "scott hoch"</s> |
CREATE TABLE table_name_16 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_16 WHERE away_team = "geelong" | What is the away team's score when the away team is geelong? | <s>[INST]What is the away team's score when the away team is geelong? Context: CREATE TABLE table_name_16 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_16 WHERE away_team = "geelong"</s> |
CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR) | SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984 | What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984? | <s>[INST]What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984? Context: CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)[/INST]SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984</s> |
CREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR) | SELECT player FROM table_name_8 WHERE nationality = "united states" AND years_in_toronto = "2003-06" | Who is the player from United States who play in year 2003-06 in Toronto? | <s>[INST]Who is the player from United States who play in year 2003-06 in Toronto? Context: CREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR)[/INST]SELECT player FROM table_name_8 WHERE nationality = "united states" AND years_in_toronto = "2003-06"</s> |
CREATE TABLE table_name_77 (original_teams VARCHAR, name VARCHAR) | SELECT original_teams FROM table_name_77 WHERE name = "the biggest loser (season 1)" | What were the original teams for The Biggest Loser (Season 1)? | <s>[INST]What were the original teams for The Biggest Loser (Season 1)? Context: CREATE TABLE table_name_77 (original_teams VARCHAR, name VARCHAR)[/INST]SELECT original_teams FROM table_name_77 WHERE name = "the biggest loser (season 1)"</s> |
CREATE TABLE table_name_47 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_47 WHERE college = "grambling" | What position is drafted from Grambling? | <s>[INST]What position is drafted from Grambling? Context: CREATE TABLE table_name_47 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_name_47 WHERE college = "grambling"</s> |
CREATE TABLE table_name_99 (nba_draft VARCHAR, hometown VARCHAR) | SELECT nba_draft FROM table_name_99 WHERE hometown = "brampton, on" | For the Player from Brampton, ON what is their NBA Draft status? | <s>[INST]For the Player from Brampton, ON what is their NBA Draft status? Context: CREATE TABLE table_name_99 (nba_draft VARCHAR, hometown VARCHAR)[/INST]SELECT nba_draft FROM table_name_99 WHERE hometown = "brampton, on"</s> |
CREATE TABLE table_name_2 (partner VARCHAR, construction_start VARCHAR) | SELECT partner FROM table_name_2 WHERE construction_start = "2008 january" | What Partner has a Construction Start of 2008 january? | <s>[INST]What Partner has a Construction Start of 2008 january? Context: CREATE TABLE table_name_2 (partner VARCHAR, construction_start VARCHAR)[/INST]SELECT partner FROM table_name_2 WHERE construction_start = "2008 january"</s> |
CREATE TABLE table_name_51 (nfl_club VARCHAR, player VARCHAR) | SELECT nfl_club FROM table_name_51 WHERE player = "robert gallery" | What club is robert gallery a part of | <s>[INST]What club is robert gallery a part of Context: CREATE TABLE table_name_51 (nfl_club VARCHAR, player VARCHAR)[/INST]SELECT nfl_club FROM table_name_51 WHERE player = "robert gallery"</s> |
CREATE TABLE table_256286_19 (yes_votes INTEGER, no_votes VARCHAR) | SELECT MAX(yes_votes) FROM table_256286_19 WHERE no_votes = 61307 | What is the largest number of yest votes for the measure with 61307 no votes? | <s>[INST]What is the largest number of yest votes for the measure with 61307 no votes? Context: CREATE TABLE table_256286_19 (yes_votes INTEGER, no_votes VARCHAR)[/INST]SELECT MAX(yes_votes) FROM table_256286_19 WHERE no_votes = 61307</s> |
CREATE TABLE table_name_79 (europe VARCHAR, title VARCHAR) | SELECT europe FROM table_name_79 WHERE title = "z.h.p. unlosing ranger vs darkdeath evilman" | Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman | <s>[INST]Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman Context: CREATE TABLE table_name_79 (europe VARCHAR, title VARCHAR)[/INST]SELECT europe FROM table_name_79 WHERE title = "z.h.p. unlosing ranger vs darkdeath evilman"</s> |
CREATE TABLE table_11734041_10 (years_for_rockets VARCHAR, height_in_ft VARCHAR) | SELECT years_for_rockets FROM table_11734041_10 WHERE height_in_ft = "6-6" | Rockets height was 6-6 in feet, list the time frame where this was true? | <s>[INST]Rockets height was 6-6 in feet, list the time frame where this was true? Context: CREATE TABLE table_11734041_10 (years_for_rockets VARCHAR, height_in_ft VARCHAR)[/INST]SELECT years_for_rockets FROM table_11734041_10 WHERE height_in_ft = "6-6"</s> |
CREATE TABLE table_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR) | SELECT comparable_country FROM table_171666_1 WHERE national_share___percentage_ = "1.08" | What comparable country has a national share of 1.08? | <s>[INST]What comparable country has a national share of 1.08? Context: CREATE TABLE table_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR)[/INST]SELECT comparable_country FROM table_171666_1 WHERE national_share___percentage_ = "1.08"</s> |
CREATE TABLE table_name_65 (year INTEGER, sideline_reporters VARCHAR) | SELECT AVG(year) FROM table_name_65 WHERE sideline_reporters = "sara orlesky and farhan lalji" | What's the average year that sara orlesky and farhan lalji are the sideline reporters? | <s>[INST]What's the average year that sara orlesky and farhan lalji are the sideline reporters? Context: CREATE TABLE table_name_65 (year INTEGER, sideline_reporters VARCHAR)[/INST]SELECT AVG(year) FROM table_name_65 WHERE sideline_reporters = "sara orlesky and farhan lalji"</s> |
CREATE TABLE table_name_52 (round INTEGER, record VARCHAR) | SELECT AVG(round) FROM table_name_52 WHERE record = "1-1" | What is the average number of rounds that Lance Gibson fought when his record was 1-1? | <s>[INST]What is the average number of rounds that Lance Gibson fought when his record was 1-1? Context: CREATE TABLE table_name_52 (round INTEGER, record VARCHAR)[/INST]SELECT AVG(round) FROM table_name_52 WHERE record = "1-1"</s> |
CREATE TABLE table_name_59 (mark VARCHAR, react INTEGER) | SELECT mark FROM table_name_59 WHERE react < 0.148 | What is Mark, when React is less than 0.148? | <s>[INST]What is Mark, when React is less than 0.148? Context: CREATE TABLE table_name_59 (mark VARCHAR, react INTEGER)[/INST]SELECT mark FROM table_name_59 WHERE react < 0.148</s> |
CREATE TABLE table_20704243_6 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_20704243_6 WHERE directed_by = "John Rogers" | What episode did John Rogers direct? | <s>[INST]What episode did John Rogers direct? Context: CREATE TABLE table_20704243_6 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_20704243_6 WHERE directed_by = "John Rogers"</s> |
CREATE TABLE evaluation (Employee_ID VARCHAR, bonus VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR) | SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1 | Find the name of the employee who got the highest one time bonus. | <s>[INST]Find the name of the employee who got the highest one time bonus. Context: CREATE TABLE evaluation (Employee_ID VARCHAR, bonus VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR)[/INST]SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1</s> |
CREATE TABLE table_1182314_5 (percent__2000_ VARCHAR, percent__1980_ VARCHAR) | SELECT COUNT(percent__2000_) FROM table_1182314_5 WHERE percent__1980_ = "3.4%" | what is the total number of percent (2000) where percent (1980) is 3.4% | <s>[INST]what is the total number of percent (2000) where percent (1980) is 3.4% Context: CREATE TABLE table_1182314_5 (percent__2000_ VARCHAR, percent__1980_ VARCHAR)[/INST]SELECT COUNT(percent__2000_) FROM table_1182314_5 WHERE percent__1980_ = "3.4%"</s> |
CREATE TABLE table_name_24 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_24 WHERE record = "22-22" | Which date has a Record of 22-22? | <s>[INST]Which date has a Record of 22-22? Context: CREATE TABLE table_name_24 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_24 WHERE record = "22-22"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.