context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE weather (date VARCHAR, mean_sea_level_pressure_inches INTEGER) | SELECT date FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 | What are the dates in which the mean sea level pressure was between 30.3 and 31? | <s>[INST]What are the dates in which the mean sea level pressure was between 30.3 and 31? Context: CREATE TABLE weather (date VARCHAR, mean_sea_level_pressure_inches INTEGER)[/INST]SELECT date FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31</s> |
CREATE TABLE table_name_5 (game INTEGER, opponent VARCHAR) | SELECT MAX(game) FROM table_name_5 WHERE opponent = "miami heat" | What was the highest game number when the opponent was the Miami Heat? | <s>[INST]What was the highest game number when the opponent was the Miami Heat? Context: CREATE TABLE table_name_5 (game INTEGER, opponent VARCHAR)[/INST]SELECT MAX(game) FROM table_name_5 WHERE opponent = "miami heat"</s> |
CREATE TABLE table_name_60 (points_against VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT points_against FROM table_name_60 WHERE drawn = "3" AND points = "50" | How many points were scored against the club that drew 3 and scored 50 points? | <s>[INST]How many points were scored against the club that drew 3 and scored 50 points? Context: CREATE TABLE table_name_60 (points_against VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT points_against FROM table_name_60 WHERE drawn = "3" AND points = "50"</s> |
CREATE TABLE table_name_96 (productions VARCHAR, herbie VARCHAR) | SELECT productions FROM table_name_96 WHERE herbie = "rex robbins" | Which production had Rex Robbins as Herbie? | <s>[INST]Which production had Rex Robbins as Herbie? Context: CREATE TABLE table_name_96 (productions VARCHAR, herbie VARCHAR)[/INST]SELECT productions FROM table_name_96 WHERE herbie = "rex robbins"</s> |
CREATE TABLE table_name_65 (tie_no VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_65 WHERE date = "24 november 1971" AND away_team = "king's lynn" | what is the tie no, on 24 november 1971 and the away team is king's lynn? | <s>[INST]what is the tie no, on 24 november 1971 and the away team is king's lynn? Context: CREATE TABLE table_name_65 (tie_no VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_65 WHERE date = "24 november 1971" AND away_team = "king's lynn"</s> |
CREATE TABLE table_name_80 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_name_80 WHERE counties_represented = "baltimore county" AND district = "06.0 6" AND committee = "economic matters" | What is the total number of First elected that has a country represented in Baltimore county, a district of 06.0 6, and a committee of economic matters? | <s>[INST]What is the total number of First elected that has a country represented in Baltimore county, a district of 06.0 6, and a committee of economic matters? Context: CREATE TABLE table_name_80 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR)[/INST]SELECT COUNT(first_electe... |
CREATE TABLE table_25131572_2 (fox_int_channels_air_date VARCHAR, series__number VARCHAR) | SELECT COUNT(fox_int_channels_air_date) FROM table_25131572_2 WHERE series__number = 5 | How many times was episode 5 in the series aired on Fox int.? | <s>[INST]How many times was episode 5 in the series aired on Fox int.? Context: CREATE TABLE table_25131572_2 (fox_int_channels_air_date VARCHAR, series__number VARCHAR)[/INST]SELECT COUNT(fox_int_channels_air_date) FROM table_25131572_2 WHERE series__number = 5</s> |
CREATE TABLE table_1876825_7 (written_by VARCHAR, original_air_date VARCHAR) | SELECT COUNT(written_by) FROM table_1876825_7 WHERE original_air_date = "May 8, 2005" | Name the total number of written by for original air date for may 8, 2005 | <s>[INST]Name the total number of written by for original air date for may 8, 2005 Context: CREATE TABLE table_1876825_7 (written_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_1876825_7 WHERE original_air_date = "May 8, 2005"</s> |
CREATE TABLE table_16684420_2 (stolen_ends_against INTEGER, country VARCHAR, Japan VARCHAR) | SELECT MAX(stolen_ends_against) FROM table_16684420_2 WHERE country = Japan | What is the maximum number of stolen ends against for Japan? | <s>[INST]What is the maximum number of stolen ends against for Japan? Context: CREATE TABLE table_16684420_2 (stolen_ends_against INTEGER, country VARCHAR, Japan VARCHAR)[/INST]SELECT MAX(stolen_ends_against) FROM table_16684420_2 WHERE country = Japan</s> |
CREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_2668401_17 WHERE district = "Virginia 10" | When was the incumbent from the Virginia 10 district first elected? | <s>[INST]When was the incumbent from the Virginia 10 district first elected? Context: CREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT first_elected FROM table_2668401_17 WHERE district = "Virginia 10"</s> |
CREATE TABLE table_name_77 (capacity INTEGER, margin VARCHAR) | SELECT MIN(capacity) FROM table_name_77 WHERE margin = "03:30" | What's the lowest capacity when the margin is 03:30? | <s>[INST]What's the lowest capacity when the margin is 03:30? Context: CREATE TABLE table_name_77 (capacity INTEGER, margin VARCHAR)[/INST]SELECT MIN(capacity) FROM table_name_77 WHERE margin = "03:30"</s> |
CREATE TABLE table_1342256_10 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342256_10 WHERE incumbent = "Robert L. F. Sikes" | What was the result of Robert L. F. Sikes' election bid? | <s>[INST]What was the result of Robert L. F. Sikes' election bid? Context: CREATE TABLE table_1342256_10 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342256_10 WHERE incumbent = "Robert L. F. Sikes"</s> |
CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR) | SELECT category FROM table_name_62 WHERE recipient = "the suite life on deck" AND year > 2010 | What category was The Suite Life on Deck nominated for later than 2010? | <s>[INST]What category was The Suite Life on Deck nominated for later than 2010? Context: CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)[/INST]SELECT category FROM table_name_62 WHERE recipient = "the suite life on deck" AND year > 2010</s> |
CREATE TABLE table_27816698_2 (pac_12_sports VARCHAR, institution VARCHAR) | SELECT COUNT(pac_12_sports) FROM table_27816698_2 WHERE institution = "California Polytechnic State University" | How many pac-12 sports are shown for california polytechnic state university? | <s>[INST]How many pac-12 sports are shown for california polytechnic state university? Context: CREATE TABLE table_27816698_2 (pac_12_sports VARCHAR, institution VARCHAR)[/INST]SELECT COUNT(pac_12_sports) FROM table_27816698_2 WHERE institution = "California Polytechnic State University"</s> |
CREATE TABLE city (name VARCHAR, county_ID VARCHAR, Police_officers VARCHAR); CREATE TABLE county_public_safety (name VARCHAR, county_ID VARCHAR, Police_officers VARCHAR) | SELECT name FROM city WHERE county_ID = (SELECT county_ID FROM county_public_safety ORDER BY Police_officers DESC LIMIT 1) | Show the name of cities in the county that has the largest number of police officers. | <s>[INST]Show the name of cities in the county that has the largest number of police officers. Context: CREATE TABLE city (name VARCHAR, county_ID VARCHAR, Police_officers VARCHAR); CREATE TABLE county_public_safety (name VARCHAR, county_ID VARCHAR, Police_officers VARCHAR)[/INST]SELECT name FROM city WHERE county_ID =... |
CREATE TABLE table_name_5 (political_party VARCHAR, monarchs_served VARCHAR, birth_place VARCHAR) | SELECT political_party FROM table_name_5 WHERE monarchs_served = "george v" AND birth_place = "manchester" | To which political party did the prime minister who served under George V and was born in Manchester belong? | <s>[INST]To which political party did the prime minister who served under George V and was born in Manchester belong? Context: CREATE TABLE table_name_5 (political_party VARCHAR, monarchs_served VARCHAR, birth_place VARCHAR)[/INST]SELECT political_party FROM table_name_5 WHERE monarchs_served = "george v" AND birth_pla... |
CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR) | SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport" | Which driver had less than 65 laps for Sigma Autosport? | <s>[INST]Which driver had less than 65 laps for Sigma Autosport? Context: CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)[/INST]SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport"</s> |
CREATE TABLE table_name_2 (edition VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT edition FROM table_name_2 WHERE surface = "clay" AND opponent = "miho saeki" | What clay surface edition had an opponent of miho saeki? | <s>[INST]What clay surface edition had an opponent of miho saeki? Context: CREATE TABLE table_name_2 (edition VARCHAR, surface VARCHAR, opponent VARCHAR)[/INST]SELECT edition FROM table_name_2 WHERE surface = "clay" AND opponent = "miho saeki"</s> |
CREATE TABLE table_name_98 (race VARCHAR, position VARCHAR) | SELECT race FROM table_name_98 WHERE position = "dnf" | Whice race ended with a DNF? | <s>[INST]Whice race ended with a DNF? Context: CREATE TABLE table_name_98 (race VARCHAR, position VARCHAR)[/INST]SELECT race FROM table_name_98 WHERE position = "dnf"</s> |
CREATE TABLE table_1341586_14 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_1341586_14 WHERE first_elected = 1980 | What happened to the incombent who was elected in 1980? | <s>[INST]What happened to the incombent who was elected in 1980? Context: CREATE TABLE table_1341586_14 (result VARCHAR, first_elected VARCHAR)[/INST]SELECT result FROM table_1341586_14 WHERE first_elected = 1980</s> |
CREATE TABLE table_name_4 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281 | what player has $187,500 and score 66-75-71-69=281 | <s>[INST]what player has $187,500 and score 66-75-71-69=281 Context: CREATE TABLE table_name_4 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281</s> |
CREATE TABLE table_name_86 (winners VARCHAR, runners_up VARCHAR) | SELECT winners FROM table_name_86 WHERE runners_up = "chemnitzer fc ii" | Who was the winner when the runner-up was Chemnitzer FC II? | <s>[INST]Who was the winner when the runner-up was Chemnitzer FC II? Context: CREATE TABLE table_name_86 (winners VARCHAR, runners_up VARCHAR)[/INST]SELECT winners FROM table_name_86 WHERE runners_up = "chemnitzer fc ii"</s> |
CREATE TABLE table_name_83 (reg_gp INTEGER, rd__number INTEGER) | SELECT SUM(reg_gp) FROM table_name_83 WHERE rd__number < 2 | What is the reg gp of the player with a round number less than 2? | <s>[INST]What is the reg gp of the player with a round number less than 2? Context: CREATE TABLE table_name_83 (reg_gp INTEGER, rd__number INTEGER)[/INST]SELECT SUM(reg_gp) FROM table_name_83 WHERE rd__number < 2</s> |
CREATE TABLE table_name_40 (champions_league INTEGER, coppa_italia VARCHAR, serie_a VARCHAR, total VARCHAR) | SELECT SUM(champions_league) FROM table_name_40 WHERE serie_a = 1 AND total > 1 AND coppa_italia > 2 | What is the championsleague when the total was greater than 1, the coppa italia was more than 2, and the Serie A was 1? | <s>[INST]What is the championsleague when the total was greater than 1, the coppa italia was more than 2, and the Serie A was 1? Context: CREATE TABLE table_name_40 (champions_league INTEGER, coppa_italia VARCHAR, serie_a VARCHAR, total VARCHAR)[/INST]SELECT SUM(champions_league) FROM table_name_40 WHERE serie_a = 1 AN... |
CREATE TABLE table_2402864_1 (open_cup VARCHAR, year VARCHAR) | SELECT open_cup FROM table_2402864_1 WHERE year = 2003 | What was the Open Cup results for the year 2003? | <s>[INST]What was the Open Cup results for the year 2003? Context: CREATE TABLE table_2402864_1 (open_cup VARCHAR, year VARCHAR)[/INST]SELECT open_cup FROM table_2402864_1 WHERE year = 2003</s> |
CREATE TABLE table_name_17 (pick__number INTEGER, player VARCHAR) | SELECT SUM(pick__number) FROM table_name_17 WHERE player = "mike zaher" | How many picks did Mike Zaher have? | <s>[INST]How many picks did Mike Zaher have? Context: CREATE TABLE table_name_17 (pick__number INTEGER, player VARCHAR)[/INST]SELECT SUM(pick__number) FROM table_name_17 WHERE player = "mike zaher"</s> |
CREATE TABLE table_name_63 (silver VARCHAR, nation VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_63 WHERE nation = "france" AND rank > 14 | What is the total number of Silvers held by France when their rank was over 14? | <s>[INST]What is the total number of Silvers held by France when their rank was over 14? Context: CREATE TABLE table_name_63 (silver VARCHAR, nation VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_63 WHERE nation = "france" AND rank > 14</s> |
CREATE TABLE table_name_67 (year VARCHAR) | SELECT year FROM table_name_67 WHERE 2004 = "shake don't stir" | What year is the 2004 shake don't stir? | <s>[INST]What year is the 2004 shake don't stir? Context: CREATE TABLE table_name_67 (year VARCHAR)[/INST]SELECT year FROM table_name_67 WHERE 2004 = "shake don't stir"</s> |
CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR) | SELECT first_match FROM table_name_35 WHERE final_position = "winners" AND final_round = "finals" | On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals? | <s>[INST]On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals? Context: CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR)[/INST]SELECT first_match FROM table_name_35 WHERE final_position = "wi... |
CREATE TABLE university (founded VARCHAR, affiliation VARCHAR) | SELECT founded FROM university WHERE affiliation <> 'Public' ORDER BY founded DESC LIMIT 1 | Find the founded year of the newest non public school. | <s>[INST]Find the founded year of the newest non public school. Context: CREATE TABLE university (founded VARCHAR, affiliation VARCHAR)[/INST]SELECT founded FROM university WHERE affiliation <> 'Public' ORDER BY founded DESC LIMIT 1</s> |
CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, attendance VARCHAR) | SELECT MAX(week) FROM table_name_8 WHERE result = "l 20–13" AND attendance > 49 OFFSET 598 | Which Week has a Result of l 20–13, and an Attendance larger than 49,598? | <s>[INST]Which Week has a Result of l 20–13, and an Attendance larger than 49,598? Context: CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, attendance VARCHAR)[/INST]SELECT MAX(week) FROM table_name_8 WHERE result = "l 20–13" AND attendance > 49 OFFSET 598</s> |
CREATE TABLE table_name_7 (record VARCHAR, home VARCHAR, date VARCHAR) | SELECT record FROM table_name_7 WHERE home = "hartford whalers" AND date = "april 13" | What is the record of the Hartford Whalers home team with the April 13 game date? | <s>[INST]What is the record of the Hartford Whalers home team with the April 13 game date? Context: CREATE TABLE table_name_7 (record VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_7 WHERE home = "hartford whalers" AND date = "april 13"</s> |
CREATE TABLE table_name_18 (venue VARCHAR, winner VARCHAR, year VARCHAR) | SELECT venue FROM table_name_18 WHERE winner = "gary cowan" AND year = "1966" | Where was the 1966 competition with a winner of Gary Cowan held? | <s>[INST]Where was the 1966 competition with a winner of Gary Cowan held? Context: CREATE TABLE table_name_18 (venue VARCHAR, winner VARCHAR, year VARCHAR)[/INST]SELECT venue FROM table_name_18 WHERE winner = "gary cowan" AND year = "1966"</s> |
CREATE TABLE table_name_7 (year INTEGER, winning_constructor VARCHAR) | SELECT MAX(year) FROM table_name_7 WHERE winning_constructor = "ferrari 166 fl" | What is the latest year that has ferrari 166 fl as the winning constructor? | <s>[INST]What is the latest year that has ferrari 166 fl as the winning constructor? Context: CREATE TABLE table_name_7 (year INTEGER, winning_constructor VARCHAR)[/INST]SELECT MAX(year) FROM table_name_7 WHERE winning_constructor = "ferrari 166 fl"</s> |
CREATE TABLE table_name_64 (date VARCHAR, final_score VARCHAR) | SELECT date FROM table_name_64 WHERE final_score = "31-7" | When did Final Score of 31-7 happen? | <s>[INST]When did Final Score of 31-7 happen? Context: CREATE TABLE table_name_64 (date VARCHAR, final_score VARCHAR)[/INST]SELECT date FROM table_name_64 WHERE final_score = "31-7"</s> |
CREATE TABLE table_name_79 (kk___1 VARCHAR, kk___3 VARCHAR) | SELECT kk___1 FROM table_name_79 WHERE kk___3 = "1,100" | What is KK -1 if KK -3 is 1,100? | <s>[INST]What is KK -1 if KK -3 is 1,100? Context: CREATE TABLE table_name_79 (kk___1 VARCHAR, kk___3 VARCHAR)[/INST]SELECT kk___1 FROM table_name_79 WHERE kk___3 = "1,100"</s> |
CREATE TABLE table_name_36 (grades VARCHAR, enrollment VARCHAR, student_body VARCHAR) | SELECT grades FROM table_name_36 WHERE enrollment > 443 AND student_body = "co-ed" | Which Grades has an Enrollment larger htan 443 with a Student body of Co-ed? | <s>[INST]Which Grades has an Enrollment larger htan 443 with a Student body of Co-ed? Context: CREATE TABLE table_name_36 (grades VARCHAR, enrollment VARCHAR, student_body VARCHAR)[/INST]SELECT grades FROM table_name_36 WHERE enrollment > 443 AND student_body = "co-ed"</s> |
CREATE TABLE table_19722664_5 (blocks INTEGER, rebounds VARCHAR) | SELECT MAX(blocks) FROM table_19722664_5 WHERE rebounds = 35 | What is the maximum number of blocks where rebounds equal 35? | <s>[INST]What is the maximum number of blocks where rebounds equal 35? Context: CREATE TABLE table_19722664_5 (blocks INTEGER, rebounds VARCHAR)[/INST]SELECT MAX(blocks) FROM table_19722664_5 WHERE rebounds = 35</s> |
CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR) | SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6 | How many first downs did the bills have when their opponent had 6 | <s>[INST]How many first downs did the bills have when their opponent had 6 Context: CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)[/INST]SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6</s> |
CREATE TABLE table_name_84 (site VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT site FROM table_name_84 WHERE opponent = "chicago cubs" AND date = "thursday, april 29" | Where was the game on Thursday, April 29, and they played the Chicago Cubs? | <s>[INST]Where was the game on Thursday, April 29, and they played the Chicago Cubs? Context: CREATE TABLE table_name_84 (site VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT site FROM table_name_84 WHERE opponent = "chicago cubs" AND date = "thursday, april 29"</s> |
CREATE TABLE table_30054758_5 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_30054758_5 WHERE date = "February 5" | how many high assits have a date of february 5? | <s>[INST]how many high assits have a date of february 5? Context: CREATE TABLE table_30054758_5 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_30054758_5 WHERE date = "February 5"</s> |
CREATE TABLE table_14342480_6 (touchdowns INTEGER, field_goals VARCHAR) | SELECT MAX(touchdowns) FROM table_14342480_6 WHERE field_goals = 1 | Name the most touchdowns for field goals being 1 | <s>[INST]Name the most touchdowns for field goals being 1 Context: CREATE TABLE table_14342480_6 (touchdowns INTEGER, field_goals VARCHAR)[/INST]SELECT MAX(touchdowns) FROM table_14342480_6 WHERE field_goals = 1</s> |
CREATE TABLE table_name_39 (score VARCHAR, week VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_39 WHERE week > 13 AND visitor = "montreal alouettes" | WHAT IS THE SCORE WITH A WEEK LARGER THAN 13, AND VISITOR TEAM MONTREAL ALOUETTES? | <s>[INST]WHAT IS THE SCORE WITH A WEEK LARGER THAN 13, AND VISITOR TEAM MONTREAL ALOUETTES? Context: CREATE TABLE table_name_39 (score VARCHAR, week VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_39 WHERE week > 13 AND visitor = "montreal alouettes"</s> |
CREATE TABLE table_name_58 (winner VARCHAR, edition VARCHAR) | SELECT winner FROM table_name_58 WHERE edition = "23rd" | Who was the winner of the 23rd Edition? | <s>[INST]Who was the winner of the 23rd Edition? Context: CREATE TABLE table_name_58 (winner VARCHAR, edition VARCHAR)[/INST]SELECT winner FROM table_name_58 WHERE edition = "23rd"</s> |
CREATE TABLE Financial_transactions (card_id VARCHAR); CREATE TABLE Customers_cards (card_type_code VARCHAR, card_id VARCHAR) | SELECT T2.card_type_code, COUNT(*) FROM Financial_transactions AS T1 JOIN Customers_cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code | Show the card type codes and the number of transactions. | <s>[INST]Show the card type codes and the number of transactions. Context: CREATE TABLE Financial_transactions (card_id VARCHAR); CREATE TABLE Customers_cards (card_type_code VARCHAR, card_id VARCHAR)[/INST]SELECT T2.card_type_code, COUNT(*) FROM Financial_transactions AS T1 JOIN Customers_cards AS T2 ON T1.card_id = T... |
CREATE TABLE table_name_88 (authority VARCHAR, name VARCHAR) | SELECT authority FROM table_name_88 WHERE name = "morrinsville college" | Name the authority for morrinsville college | <s>[INST]Name the authority for morrinsville college Context: CREATE TABLE table_name_88 (authority VARCHAR, name VARCHAR)[/INST]SELECT authority FROM table_name_88 WHERE name = "morrinsville college"</s> |
CREATE TABLE table_name_43 (week INTEGER, opponent VARCHAR) | SELECT AVG(week) FROM table_name_43 WHERE opponent = "new orleans saints" | In what Week is the Opponent the New Orleans Saints? | <s>[INST]In what Week is the Opponent the New Orleans Saints? Context: CREATE TABLE table_name_43 (week INTEGER, opponent VARCHAR)[/INST]SELECT AVG(week) FROM table_name_43 WHERE opponent = "new orleans saints"</s> |
CREATE TABLE table_name_4 (city_of_license VARCHAR, channels_tv___rf VARCHAR) | SELECT city_of_license FROM table_name_4 WHERE channels_tv___rf = "67 ( psip ) 29 ( uhf )" | Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf ) | <s>[INST]Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf ) Context: CREATE TABLE table_name_4 (city_of_license VARCHAR, channels_tv___rf VARCHAR)[/INST]SELECT city_of_license FROM table_name_4 WHERE channels_tv___rf = "67 ( psip ) 29 ( uhf )"</s> |
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) | SELECT T2.customer_first_name, T2.customer_last_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) LIMIT 1 | What is the customer first, last name and id with least number of accounts. | <s>[INST]What is the customer first, last name and id with least number of accounts. Context: CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)[/INST]SELECT T2.customer_first_name, T2.customer_last_name, T1.customer_id FROM... |
CREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_1342379_23 WHERE candidates = "Percy E. Quin (D) Unopposed" | who is the the incumbent with candidates being percy e. quin (d) unopposed | <s>[INST]who is the the incumbent with candidates being percy e. quin (d) unopposed Context: CREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_1342379_23 WHERE candidates = "Percy E. Quin (D) Unopposed"</s> |
CREATE TABLE table_name_73 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_73 WHERE attendance = "9,535" | Which Date has an Attendance of 9,535? | <s>[INST]Which Date has an Attendance of 9,535? Context: CREATE TABLE table_name_73 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_73 WHERE attendance = "9,535"</s> |
CREATE TABLE table_name_98 (races INTEGER, final_placing VARCHAR, season VARCHAR) | SELECT AVG(races) FROM table_name_98 WHERE final_placing = "15th" AND season = "2005" | In the 2005 season, how many races did the 15th place team complete? | <s>[INST]In the 2005 season, how many races did the 15th place team complete? Context: CREATE TABLE table_name_98 (races INTEGER, final_placing VARCHAR, season VARCHAR)[/INST]SELECT AVG(races) FROM table_name_98 WHERE final_placing = "15th" AND season = "2005"</s> |
CREATE TABLE table_name_84 (year INTEGER, date VARCHAR) | SELECT AVG(year) FROM table_name_84 WHERE date = "december 26" | What is the average year of the games with the date December 26? | <s>[INST]What is the average year of the games with the date December 26? Context: CREATE TABLE table_name_84 (year INTEGER, date VARCHAR)[/INST]SELECT AVG(year) FROM table_name_84 WHERE date = "december 26"</s> |
CREATE TABLE table_name_81 (game INTEGER, score VARCHAR, record VARCHAR) | SELECT MAX(game) FROM table_name_81 WHERE score = "4 - 2" AND record = "25-39-9" | What is the game associated with a score of 4 - 2, and a record of 25-39-9? | <s>[INST]What is the game associated with a score of 4 - 2, and a record of 25-39-9? Context: CREATE TABLE table_name_81 (game INTEGER, score VARCHAR, record VARCHAR)[/INST]SELECT MAX(game) FROM table_name_81 WHERE score = "4 - 2" AND record = "25-39-9"</s> |
CREATE TABLE table_name_1 (population INTEGER, density VARCHAR, area__km²_ VARCHAR) | SELECT MAX(population) FROM table_name_1 WHERE density = 20.3 AND area__km²_ > 50 OFFSET 350 | Which population is the greatest, has a density of 20.3, and an area (km²) larger than 50,350? | <s>[INST]Which population is the greatest, has a density of 20.3, and an area (km²) larger than 50,350? Context: CREATE TABLE table_name_1 (population INTEGER, density VARCHAR, area__km²_ VARCHAR)[/INST]SELECT MAX(population) FROM table_name_1 WHERE density = 20.3 AND area__km²_ > 50 OFFSET 350</s> |
CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492 | What is the week with a date of October 9, 1983, and attendance smaller than 40,492? | <s>[INST]What is the week with a date of October 9, 1983, and attendance smaller than 40,492? Context: CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492</s> |
CREATE TABLE table_name_2 (name VARCHAR, country VARCHAR) | SELECT name FROM table_name_2 WHERE country = "cod" | What is the name of the player from Cod? | <s>[INST]What is the name of the player from Cod? Context: CREATE TABLE table_name_2 (name VARCHAR, country VARCHAR)[/INST]SELECT name FROM table_name_2 WHERE country = "cod"</s> |
CREATE TABLE table_name_8 (mission VARCHAR, name VARCHAR) | SELECT mission FROM table_name_8 WHERE name = "david scott" | David Scott went on which mission? | <s>[INST]David Scott went on which mission? Context: CREATE TABLE table_name_8 (mission VARCHAR, name VARCHAR)[/INST]SELECT mission FROM table_name_8 WHERE name = "david scott"</s> |
CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR) | SELECT score FROM table_name_83 WHERE surface = "clay" AND partner = "patricia tarabini" AND date = "25 july 1994" | What is the score of the tournament on 25 July 1994 with a clay surface and Patricia Tarabini as the partner? | <s>[INST]What is the score of the tournament on 25 July 1994 with a clay surface and Patricia Tarabini as the partner? Context: CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_83 WHERE surface = "clay" AND partner = "patricia tarabini" AND da... |
CREATE TABLE table_name_48 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT SUM(gold) FROM table_name_48 WHERE bronze < 7 AND total = 1 AND nation = "cape verde" AND silver < 0 | What is the total Gold with a Bronze smaller than 7, a Total of 1, a Nation of cape verde, and a Silver smaller than 0? | <s>[INST]What is the total Gold with a Bronze smaller than 7, a Total of 1, a Nation of cape verde, and a Silver smaller than 0? Context: CREATE TABLE table_name_48 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_48 WHERE bronze < 7 AND total = 1 AND ... |
CREATE TABLE table_name_17 (reg_gp INTEGER, player VARCHAR, rd__number VARCHAR) | SELECT SUM(reg_gp) FROM table_name_17 WHERE player = "morgan clark" AND rd__number < 7 | What is the sum of the number of regular games played by Morgan Clark with the number of road games less than 7? | <s>[INST]What is the sum of the number of regular games played by Morgan Clark with the number of road games less than 7? Context: CREATE TABLE table_name_17 (reg_gp INTEGER, player VARCHAR, rd__number VARCHAR)[/INST]SELECT SUM(reg_gp) FROM table_name_17 WHERE player = "morgan clark" AND rd__number < 7</s> |
CREATE TABLE area_code_state (area_code VARCHAR, state VARCHAR); CREATE TABLE votes (state VARCHAR) | SELECT T1.area_code FROM area_code_state AS T1 JOIN votes AS T2 ON T1.state = T2.state GROUP BY T1.area_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the area code in which the most voters voted? | <s>[INST]What is the area code in which the most voters voted? Context: CREATE TABLE area_code_state (area_code VARCHAR, state VARCHAR); CREATE TABLE votes (state VARCHAR)[/INST]SELECT T1.area_code FROM area_code_state AS T1 JOIN votes AS T2 ON T1.state = T2.state GROUP BY T1.area_code ORDER BY COUNT(*) DESC LIMIT 1</s... |
CREATE TABLE table_name_8 (callsign VARCHAR, area_served VARCHAR, frequency VARCHAR) | SELECT callsign FROM table_name_8 WHERE area_served = "tamworth" AND frequency = "0 88.9" | What is the Callsign with an Area of tamworth and frequency of 0 88.9? | <s>[INST]What is the Callsign with an Area of tamworth and frequency of 0 88.9? Context: CREATE TABLE table_name_8 (callsign VARCHAR, area_served VARCHAR, frequency VARCHAR)[/INST]SELECT callsign FROM table_name_8 WHERE area_served = "tamworth" AND frequency = "0 88.9"</s> |
CREATE TABLE table_name_42 (label VARCHAR, region VARCHAR, format VARCHAR) | SELECT label FROM table_name_42 WHERE region = "united states" AND format = "download" | What label is in download format in the United States? | <s>[INST]What label is in download format in the United States? Context: CREATE TABLE table_name_42 (label VARCHAR, region VARCHAR, format VARCHAR)[/INST]SELECT label FROM table_name_42 WHERE region = "united states" AND format = "download"</s> |
CREATE TABLE table_name_76 (gold INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_76 WHERE rank < 5 AND bronze > 1 | How many Golds did the country with a Rank better than 5 and more Bronze than 1 receive? | <s>[INST]How many Golds did the country with a Rank better than 5 and more Bronze than 1 receive? Context: CREATE TABLE table_name_76 (gold INTEGER, rank VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_76 WHERE rank < 5 AND bronze > 1</s> |
CREATE TABLE table_name_92 (award VARCHAR, role VARCHAR, year VARCHAR) | SELECT award FROM table_name_92 WHERE role = "elphaba" AND year = "2009" | Which award was given for the role of Elphaba in 2009? | <s>[INST]Which award was given for the role of Elphaba in 2009? Context: CREATE TABLE table_name_92 (award VARCHAR, role VARCHAR, year VARCHAR)[/INST]SELECT award FROM table_name_92 WHERE role = "elphaba" AND year = "2009"</s> |
CREATE TABLE table_name_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR) | SELECT SUM(rank) FROM table_name_52 WHERE nationality = "japan" AND lane < 7 AND heat < 3 | What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? | <s>[INST]What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? Context: CREATE TABLE table_name_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_52 WHERE nationality = "japan" AND lane < 7 AND heat < 3</s> |
CREATE TABLE table_name_58 (percent_of_mass VARCHAR, molecules VARCHAR) | SELECT percent_of_mass FROM table_name_58 WHERE molecules = "1.74e14*" | what is the perfect of mass when the molecules is 1.74e14*? | <s>[INST]what is the perfect of mass when the molecules is 1.74e14*? Context: CREATE TABLE table_name_58 (percent_of_mass VARCHAR, molecules VARCHAR)[/INST]SELECT percent_of_mass FROM table_name_58 WHERE molecules = "1.74e14*"</s> |
CREATE TABLE table_2196127_1 (race_time VARCHAR, driver VARCHAR) | SELECT race_time FROM table_2196127_1 WHERE driver = "Jeff Gordon" | What was the race time for Jeff Gordon? | <s>[INST]What was the race time for Jeff Gordon? Context: CREATE TABLE table_2196127_1 (race_time VARCHAR, driver VARCHAR)[/INST]SELECT race_time FROM table_2196127_1 WHERE driver = "Jeff Gordon"</s> |
CREATE TABLE table_name_8 (ties VARCHAR, division VARCHAR) | SELECT ties FROM table_name_8 WHERE division = "bafl division two south" | What are the ties for division of bafl division two south? | <s>[INST]What are the ties for division of bafl division two south? Context: CREATE TABLE table_name_8 (ties VARCHAR, division VARCHAR)[/INST]SELECT ties FROM table_name_8 WHERE division = "bafl division two south"</s> |
CREATE TABLE HOST (Nationality VARCHAR) | SELECT Nationality, COUNT(*) FROM HOST GROUP BY Nationality | Show different nationalities along with the number of hosts of each nationality. | <s>[INST]Show different nationalities along with the number of hosts of each nationality. Context: CREATE TABLE HOST (Nationality VARCHAR)[/INST]SELECT Nationality, COUNT(*) FROM HOST GROUP BY Nationality</s> |
CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR) | SELECT engine FROM table_name_9 WHERE years = "1975-84" AND displacement = "1585cc" | What engine with years of 1975-84 has a displacement of 1585cc? | <s>[INST]What engine with years of 1975-84 has a displacement of 1585cc? Context: CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR)[/INST]SELECT engine FROM table_name_9 WHERE years = "1975-84" AND displacement = "1585cc"</s> |
CREATE TABLE death (note VARCHAR) | SELECT note FROM death WHERE note LIKE '%East%' | What are the notes of the death events which has substring 'East'? | <s>[INST]What are the notes of the death events which has substring 'East'? Context: CREATE TABLE death (note VARCHAR)[/INST]SELECT note FROM death WHERE note LIKE '%East%'</s> |
CREATE TABLE table_1099080_1 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) | SELECT condition FROM table_1099080_1 WHERE partial_thromboplastin_time = "Prolonged" AND bleeding_time = "Prolonged" | What conditions had both prolonged bleeding times and prolonged partial thromboplastin times | <s>[INST]What conditions had both prolonged bleeding times and prolonged partial thromboplastin times Context: CREATE TABLE table_1099080_1 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)[/INST]SELECT condition FROM table_1099080_1 WHERE partial_thromboplastin_time = "Prolonged" AND blee... |
CREATE TABLE table_name_47 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_47 WHERE venue = "mcg" | When the Venue is mcg what is the Home team? | <s>[INST]When the Venue is mcg what is the Home team? Context: CREATE TABLE table_name_47 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_47 WHERE venue = "mcg"</s> |
CREATE TABLE table_17039232_3 (replaced_by VARCHAR, position_in_table VARCHAR) | SELECT replaced_by FROM table_17039232_3 WHERE position_in_table = "1st" | Name the replaced by for position in table is 1st | <s>[INST]Name the replaced by for position in table is 1st Context: CREATE TABLE table_17039232_3 (replaced_by VARCHAR, position_in_table VARCHAR)[/INST]SELECT replaced_by FROM table_17039232_3 WHERE position_in_table = "1st"</s> |
CREATE TABLE Students (personal_name VARCHAR) | SELECT COUNT(*) FROM Students WHERE personal_name LIKE "%son%" | How many students have personal names that contain the word "son"? | <s>[INST]How many students have personal names that contain the word "son"? Context: CREATE TABLE Students (personal_name VARCHAR)[/INST]SELECT COUNT(*) FROM Students WHERE personal_name LIKE "%son%"</s> |
CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR) | SELECT eliminated_from_competition FROM table_28068063_3 WHERE proceed_to_quarter_final = "Pau" | Who was eliminated from the competition when pau proceed to the quarter final? | <s>[INST]Who was eliminated from the competition when pau proceed to the quarter final? Context: CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)[/INST]SELECT eliminated_from_competition FROM table_28068063_3 WHERE proceed_to_quarter_final = "Pau"</s> |
CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR) | SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 AND home_town = "mount pleasant" | What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant? | <s>[INST]What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant? Context: CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR)[/INST]SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 ... |
CREATE TABLE table_21076286_2 (broadcast_day_and_timings__in_jst__ VARCHAR, broadcast_network VARCHAR) | SELECT broadcast_day_and_timings__in_jst__ FROM table_21076286_2 WHERE broadcast_network = "TV Saitama" | Name the broadcast day and timings for tv saitama | <s>[INST]Name the broadcast day and timings for tv saitama Context: CREATE TABLE table_21076286_2 (broadcast_day_and_timings__in_jst__ VARCHAR, broadcast_network VARCHAR)[/INST]SELECT broadcast_day_and_timings__in_jst__ FROM table_21076286_2 WHERE broadcast_network = "TV Saitama"</s> |
CREATE TABLE table_14903999_1 (year INTEGER, mixed_doubles VARCHAR) | SELECT MAX(year) FROM table_14903999_1 WHERE mixed_doubles = "Árni Þór Hallgrímsson Drífa Harðardóttir" | What was the last year árni þór hallgrímsson drífa harðardóttir won mixed doubles | <s>[INST]What was the last year árni þór hallgrímsson drífa harðardóttir won mixed doubles Context: CREATE TABLE table_14903999_1 (year INTEGER, mixed_doubles VARCHAR)[/INST]SELECT MAX(year) FROM table_14903999_1 WHERE mixed_doubles = "Árni Þór Hallgrímsson Drífa Harðardóttir"</s> |
CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_93 WHERE record = "47–39" | What date was the game with a record of 47–39? | <s>[INST]What date was the game with a record of 47–39? Context: CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_93 WHERE record = "47–39"</s> |
CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_92 WHERE to_par = "+1" AND player = "davis love iii" | What is the Place of Davis Love III with a To Par of +1? | <s>[INST]What is the Place of Davis Love III with a To Par of +1? Context: CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_92 WHERE to_par = "+1" AND player = "davis love iii"</s> |
CREATE TABLE table_name_98 (tries VARCHAR, points VARCHAR, games VARCHAR) | SELECT tries FROM table_name_98 WHERE points = "008 8" AND games = "27 27" | Name the tries that has a points of 008 8 and games of 27 27 | <s>[INST]Name the tries that has a points of 008 8 and games of 27 27 Context: CREATE TABLE table_name_98 (tries VARCHAR, points VARCHAR, games VARCHAR)[/INST]SELECT tries FROM table_name_98 WHERE points = "008 8" AND games = "27 27"</s> |
CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, customer_address_id VARCHAR); CREATE TABLE Addresses (address_id VARCHAR, city VARCHAR) | SELECT T1.first_name, T1.last_name FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T2.city = "Lockmanfurt" | List first name and last name of customers lived in city Lockmanfurt. | <s>[INST]List first name and last name of customers lived in city Lockmanfurt. Context: CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, customer_address_id VARCHAR); CREATE TABLE Addresses (address_id VARCHAR, city VARCHAR)[/INST]SELECT T1.first_name, T1.last_name FROM Customers AS T1 JOIN Addresses AS T... |
CREATE TABLE table_name_53 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) | SELECT pick__number FROM table_name_53 WHERE overall > 23 AND position = "guard" AND round = 13 | In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23? | <s>[INST]In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23? Context: CREATE TABLE table_name_53 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR)[/INST]SELECT pick__number FROM table_name_53 WHERE overall > 23 AND position = "guard" AND round = 13</s> |
CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_42 WHERE game = 67 | What's the record of game 67? | <s>[INST]What's the record of game 67? Context: CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_42 WHERE game = 67</s> |
CREATE TABLE table_name_24 (goals INTEGER, name VARCHAR, average VARCHAR) | SELECT MIN(goals) FROM table_name_24 WHERE name = "kenny miller" AND average < 0.261 | What is the low goal for kenny miller with an average smaller than 0.261? | <s>[INST]What is the low goal for kenny miller with an average smaller than 0.261? Context: CREATE TABLE table_name_24 (goals INTEGER, name VARCHAR, average VARCHAR)[/INST]SELECT MIN(goals) FROM table_name_24 WHERE name = "kenny miller" AND average < 0.261</s> |
CREATE TABLE table_name_96 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_96 WHERE winning_score = 67 - 61 - 68 - 67 = 263 | Which tournament had a winning score of 67-61-68-67=263? | <s>[INST]Which tournament had a winning score of 67-61-68-67=263? Context: CREATE TABLE table_name_96 (tournament VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_name_96 WHERE winning_score = 67 - 61 - 68 - 67 = 263</s> |
CREATE TABLE table_name_75 (tournament VARCHAR) | SELECT 1997 FROM table_name_75 WHERE tournament = "tennis masters cup" | In the Tennis Masters Cup, how did Jiří Novák do in 1997? | <s>[INST]In the Tennis Masters Cup, how did Jiří Novák do in 1997? Context: CREATE TABLE table_name_75 (tournament VARCHAR)[/INST]SELECT 1997 FROM table_name_75 WHERE tournament = "tennis masters cup"</s> |
CREATE TABLE table_name_49 (crew VARCHAR, comments VARCHAR) | SELECT crew FROM table_name_49 WHERE comments = "daggerboards. design: roy seaman" | Which Crew has Comments of daggerboards. design: roy seaman? | <s>[INST]Which Crew has Comments of daggerboards. design: roy seaman? Context: CREATE TABLE table_name_49 (crew VARCHAR, comments VARCHAR)[/INST]SELECT crew FROM table_name_49 WHERE comments = "daggerboards. design: roy seaman"</s> |
CREATE TABLE table_name_32 (class VARCHAR, year_s__of_manufacture VARCHAR) | SELECT class FROM table_name_32 WHERE year_s__of_manufacture = "1899" | Which Class has a Year(s) of Manufacture of 1899? | <s>[INST]Which Class has a Year(s) of Manufacture of 1899? Context: CREATE TABLE table_name_32 (class VARCHAR, year_s__of_manufacture VARCHAR)[/INST]SELECT class FROM table_name_32 WHERE year_s__of_manufacture = "1899"</s> |
CREATE TABLE table_name_94 (graduated INTEGER, player VARCHAR) | SELECT SUM(graduated) FROM table_name_94 WHERE player = "omar gonzalez" | What year did Omar Gonzalez graduate? | <s>[INST]What year did Omar Gonzalez graduate? Context: CREATE TABLE table_name_94 (graduated INTEGER, player VARCHAR)[/INST]SELECT SUM(graduated) FROM table_name_94 WHERE player = "omar gonzalez"</s> |
CREATE TABLE table_name_35 (school VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_35 WHERE mascot = "squires" | Which School has a Mascot of squires? | <s>[INST]Which School has a Mascot of squires? Context: CREATE TABLE table_name_35 (school VARCHAR, mascot VARCHAR)[/INST]SELECT school FROM table_name_35 WHERE mascot = "squires"</s> |
CREATE TABLE table_name_51 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_51 WHERE venue = "stade fernand fournier, arles" | Which competition took place at Stade Fernand Fournier, Arles? | <s>[INST]Which competition took place at Stade Fernand Fournier, Arles? Context: CREATE TABLE table_name_51 (competition VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_51 WHERE venue = "stade fernand fournier, arles"</s> |
CREATE TABLE table_2226817_4 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04" | Name the original air date for 3.04 production code | <s>[INST]Name the original air date for 3.04 production code Context: CREATE TABLE table_2226817_4 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04"</s> |
CREATE TABLE table_name_97 (attendance INTEGER, loss VARCHAR) | SELECT AVG(attendance) FROM table_name_97 WHERE loss = "de la rosa (8–8)" | Loss of de la rosa (8–8) has what average attendance? | <s>[INST]Loss of de la rosa (8–8) has what average attendance? Context: CREATE TABLE table_name_97 (attendance INTEGER, loss VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_97 WHERE loss = "de la rosa (8–8)"</s> |
CREATE TABLE table_name_26 (country VARCHAR, indigenous_mining_production_2006 VARCHAR) | SELECT country FROM table_name_26 WHERE indigenous_mining_production_2006 = "0" | Which country has an Indigenous mining production 2006 of 0? | <s>[INST]Which country has an Indigenous mining production 2006 of 0? Context: CREATE TABLE table_name_26 (country VARCHAR, indigenous_mining_production_2006 VARCHAR)[/INST]SELECT country FROM table_name_26 WHERE indigenous_mining_production_2006 = "0"</s> |
CREATE TABLE table_name_16 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_16 WHERE place = "t4" AND score = 67 - 71 - 73 = 211 | What country has t4 place and a 67-71-73=211 score? | <s>[INST]What country has t4 place and a 67-71-73=211 score? Context: CREATE TABLE table_name_16 (country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_16 WHERE place = "t4" AND score = 67 - 71 - 73 = 211</s> |
CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_28 WHERE date = "august 2" | What was the attendance on August 2? | <s>[INST]What was the attendance on August 2? Context: CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_28 WHERE date = "august 2"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.