context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_47 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_47 WHERE home_team = "enfield" | what is enfield's tie number? | <s>[INST]what is enfield's tie number? Context: CREATE TABLE table_name_47 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_47 WHERE home_team = "enfield"</s> |
CREATE TABLE table_name_5 (season VARCHAR, coach VARCHAR) | SELECT COUNT(season) FROM table_name_5 WHERE coach = "steve fisher" | How many seasons did coach steve fisher have? | <s>[INST]How many seasons did coach steve fisher have? Context: CREATE TABLE table_name_5 (season VARCHAR, coach VARCHAR)[/INST]SELECT COUNT(season) FROM table_name_5 WHERE coach = "steve fisher"</s> |
CREATE TABLE table_name_62 (losses VARCHAR, points VARCHAR) | SELECT COUNT(losses) FROM table_name_62 WHERE points = 11 | How many losses have 11 points? | <s>[INST]How many losses have 11 points? Context: CREATE TABLE table_name_62 (losses VARCHAR, points VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_62 WHERE points = 11</s> |
CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 9, 1865" | What change caused a change of staff in March 9, 1865? | <s>[INST]What change caused a change of staff in March 9, 1865? Context: CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 9, 1865"</s> |
CREATE TABLE table_name_33 (aggregate VARCHAR) | SELECT 1 AS st_leg FROM table_name_33 WHERE aggregate = "4-2" | What was the 1st leg that had a 4-2 aggregate? | <s>[INST]What was the 1st leg that had a 4-2 aggregate? Context: CREATE TABLE table_name_33 (aggregate VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_33 WHERE aggregate = "4-2"</s> |
CREATE TABLE table_18600760_8 (township VARCHAR, county VARCHAR) | SELECT township FROM table_18600760_8 WHERE county = "Kidder" | Name the township for kidder | <s>[INST]Name the township for kidder Context: CREATE TABLE table_18600760_8 (township VARCHAR, county VARCHAR)[/INST]SELECT township FROM table_18600760_8 WHERE county = "Kidder"</s> |
CREATE TABLE table_15315276_1 (dates VARCHAR, champion VARCHAR) | SELECT dates FROM table_15315276_1 WHERE champion = "Jenny Gleason" | When was Jenny Gleason the champion of the Northeast Delta Dental International? | <s>[INST]When was Jenny Gleason the champion of the Northeast Delta Dental International? Context: CREATE TABLE table_15315276_1 (dates VARCHAR, champion VARCHAR)[/INST]SELECT dates FROM table_15315276_1 WHERE champion = "Jenny Gleason"</s> |
CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_10 WHERE date = "29 january 1983" AND away_team = "chelsea" | What was the score of the game with away team chelsea on 29 january 1983? | <s>[INST]What was the score of the game with away team chelsea on 29 january 1983? Context: CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_10 WHERE date = "29 january 1983" AND away_team = "chelsea"</s> |
CREATE TABLE table_name_43 (points INTEGER, team VARCHAR, chassis VARCHAR) | SELECT MAX(points) FROM table_name_43 WHERE team = "marlboro brm" AND chassis = "brm p180" | What are the highest points for the team of marlboro brm with brm p180 as the chassis? | <s>[INST]What are the highest points for the team of marlboro brm with brm p180 as the chassis? Context: CREATE TABLE table_name_43 (points INTEGER, team VARCHAR, chassis VARCHAR)[/INST]SELECT MAX(points) FROM table_name_43 WHERE team = "marlboro brm" AND chassis = "brm p180"</s> |
CREATE TABLE table_name_72 (rank VARCHAR, place VARCHAR) | SELECT rank FROM table_name_72 WHERE place = "burghley" | What is the rank for Burghley? | <s>[INST]What is the rank for Burghley? Context: CREATE TABLE table_name_72 (rank VARCHAR, place VARCHAR)[/INST]SELECT rank FROM table_name_72 WHERE place = "burghley"</s> |
CREATE TABLE table_21995420_6 (deductions VARCHAR, pyramids VARCHAR) | SELECT deductions FROM table_21995420_6 WHERE pyramids = "49" | What is every deduction for pyramids of 49? | <s>[INST]What is every deduction for pyramids of 49? Context: CREATE TABLE table_21995420_6 (deductions VARCHAR, pyramids VARCHAR)[/INST]SELECT deductions FROM table_21995420_6 WHERE pyramids = "49"</s> |
CREATE TABLE table_14319023_2 (boys_doubles VARCHAR, girls_doubles VARCHAR) | SELECT boys_doubles FROM table_14319023_2 WHERE girls_doubles = "Ayu Pratiwi Anggi Widia" | When the girls doubles is ayu pratiwi anggi widia what is the boys doubles? | <s>[INST]When the girls doubles is ayu pratiwi anggi widia what is the boys doubles? Context: CREATE TABLE table_14319023_2 (boys_doubles VARCHAR, girls_doubles VARCHAR)[/INST]SELECT boys_doubles FROM table_14319023_2 WHERE girls_doubles = "Ayu Pratiwi Anggi Widia"</s> |
CREATE TABLE table_name_3 (number__map_ VARCHAR, area_in_km² VARCHAR, population_canada_2011_census VARCHAR) | SELECT COUNT(number__map_) FROM table_name_3 WHERE area_in_km² > 13.5 AND population_canada_2011_census = 134 OFFSET 038 | How much #s have an Area in km² larger than 13.5, and a Population Canada 2011 Census of 134,038? | <s>[INST]How much #s have an Area in km² larger than 13.5, and a Population Canada 2011 Census of 134,038? Context: CREATE TABLE table_name_3 (number__map_ VARCHAR, area_in_km² VARCHAR, population_canada_2011_census VARCHAR)[/INST]SELECT COUNT(number__map_) FROM table_name_3 WHERE area_in_km² > 13.5 AND population_canada_2011_census = 134 OFFSET 038</s> |
CREATE TABLE table_name_63 (score INTEGER, event VARCHAR) | SELECT SUM(score) FROM table_name_63 WHERE event = "27 arrow match" | For the 27 arrow match event, what's the sum of all scores for that event? | <s>[INST]For the 27 arrow match event, what's the sum of all scores for that event? Context: CREATE TABLE table_name_63 (score INTEGER, event VARCHAR)[/INST]SELECT SUM(score) FROM table_name_63 WHERE event = "27 arrow match"</s> |
CREATE TABLE table_name_15 (losses INTEGER, benalla_dfl VARCHAR, wins VARCHAR) | SELECT MIN(losses) FROM table_name_15 WHERE benalla_dfl = "goorambat" AND wins < 13 | When Benall DFL is Goorambat with less than 13 wins, what is the least amount of losses? | <s>[INST]When Benall DFL is Goorambat with less than 13 wins, what is the least amount of losses? Context: CREATE TABLE table_name_15 (losses INTEGER, benalla_dfl VARCHAR, wins VARCHAR)[/INST]SELECT MIN(losses) FROM table_name_15 WHERE benalla_dfl = "goorambat" AND wins < 13</s> |
CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR) | SELECT COUNT(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "University of Pennsylvania" | Find the number of papers published by the institution "University of Pennsylvania". | <s>[INST]Find the number of papers published by the institution "University of Pennsylvania". Context: CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)[/INST]SELECT COUNT(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "University of Pennsylvania"</s> |
CREATE TABLE table_name_5 (rank INTEGER, population INTEGER) | SELECT MAX(rank) FROM table_name_5 WHERE population > 93 OFFSET 378 | Name the most rank for population more than 93,378 | <s>[INST]Name the most rank for population more than 93,378 Context: CREATE TABLE table_name_5 (rank INTEGER, population INTEGER)[/INST]SELECT MAX(rank) FROM table_name_5 WHERE population > 93 OFFSET 378</s> |
CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_22 WHERE player = "craig wood" | What was Craig Wood's score? | <s>[INST]What was Craig Wood's score? Context: CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_22 WHERE player = "craig wood"</s> |
CREATE TABLE table_name_27 (second VARCHAR, skip VARCHAR) | SELECT second FROM table_name_27 WHERE skip = "barbora vojtusova" | Which Second has a Skip of barbora vojtusova? | <s>[INST]Which Second has a Skip of barbora vojtusova? Context: CREATE TABLE table_name_27 (second VARCHAR, skip VARCHAR)[/INST]SELECT second FROM table_name_27 WHERE skip = "barbora vojtusova"</s> |
CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR) | SELECT game FROM table_name_41 WHERE opponents = "14" | In which game did the opponents score 14 points? | <s>[INST]In which game did the opponents score 14 points? Context: CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR)[/INST]SELECT game FROM table_name_41 WHERE opponents = "14"</s> |
CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_48 WHERE score = 70 - 72 = 142 | what is the place when the score is 70-72=142? | <s>[INST]what is the place when the score is 70-72=142? Context: CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_48 WHERE score = 70 - 72 = 142</s> |
CREATE TABLE table_name_25 (density__2005_ INTEGER, area__km²_ VARCHAR, population__2005_ VARCHAR) | SELECT SUM(density__2005_) FROM table_name_25 WHERE area__km²_ = 340086.7 AND population__2005_ < 5926300 | Which Density (2005) has an Area (km²) of 340086.7, and a Population (2005) smaller than 5926300? | <s>[INST]Which Density (2005) has an Area (km²) of 340086.7, and a Population (2005) smaller than 5926300? Context: CREATE TABLE table_name_25 (density__2005_ INTEGER, area__km²_ VARCHAR, population__2005_ VARCHAR)[/INST]SELECT SUM(density__2005_) FROM table_name_25 WHERE area__km²_ = 340086.7 AND population__2005_ < 5926300</s> |
CREATE TABLE table_name_50 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_50 WHERE attendance = "43,746" | What was the score when 43,746 attended? | <s>[INST]What was the score when 43,746 attended? Context: CREATE TABLE table_name_50 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_50 WHERE attendance = "43,746"</s> |
CREATE TABLE table_name_63 (builder VARCHAR, pennant_number VARCHAR) | SELECT builder FROM table_name_63 WHERE pennant_number = "q149" | Which Builder has a Pennant number of Q149? | <s>[INST]Which Builder has a Pennant number of Q149? Context: CREATE TABLE table_name_63 (builder VARCHAR, pennant_number VARCHAR)[/INST]SELECT builder FROM table_name_63 WHERE pennant_number = "q149"</s> |
CREATE TABLE table_name_86 (total_assets___percentage_change_ VARCHAR, performance_return_on_capital___percentage_ VARCHAR, performance_return_on_capital__score_ VARCHAR) | SELECT total_assets___percentage_change_ FROM table_name_86 WHERE performance_return_on_capital___percentage_ > 25.63 AND performance_return_on_capital__score_ > 7 | What Total Assets (% Change) that has Performance/Return on Capital (%) greater than 25.63, and a Performance/Return on Capital (Score) greater than 7? | <s>[INST]What Total Assets (% Change) that has Performance/Return on Capital (%) greater than 25.63, and a Performance/Return on Capital (Score) greater than 7? Context: CREATE TABLE table_name_86 (total_assets___percentage_change_ VARCHAR, performance_return_on_capital___percentage_ VARCHAR, performance_return_on_capital__score_ VARCHAR)[/INST]SELECT total_assets___percentage_change_ FROM table_name_86 WHERE performance_return_on_capital___percentage_ > 25.63 AND performance_return_on_capital__score_ > 7</s> |
CREATE TABLE table_name_40 (share_of_votes VARCHAR, number_of_ndc_votes VARCHAR) | SELECT share_of_votes FROM table_name_40 WHERE number_of_ndc_votes = "3,567,021" | What is the share of votes with 3,567,021 NDC votes? | <s>[INST]What is the share of votes with 3,567,021 NDC votes? Context: CREATE TABLE table_name_40 (share_of_votes VARCHAR, number_of_ndc_votes VARCHAR)[/INST]SELECT share_of_votes FROM table_name_40 WHERE number_of_ndc_votes = "3,567,021"</s> |
CREATE TABLE table_name_65 (year VARCHAR, finish VARCHAR) | SELECT year FROM table_name_65 WHERE finish = "12" | What year had the Finish of 12? | <s>[INST]What year had the Finish of 12? Context: CREATE TABLE table_name_65 (year VARCHAR, finish VARCHAR)[/INST]SELECT year FROM table_name_65 WHERE finish = "12"</s> |
CREATE TABLE table_name_77 (points INTEGER, record VARCHAR, game VARCHAR) | SELECT AVG(points) FROM table_name_77 WHERE record = "45–21–4" AND game > 70 | Which Points have a Record of 45–21–4, and a Game larger than 70? | <s>[INST]Which Points have a Record of 45–21–4, and a Game larger than 70? Context: CREATE TABLE table_name_77 (points INTEGER, record VARCHAR, game VARCHAR)[/INST]SELECT AVG(points) FROM table_name_77 WHERE record = "45–21–4" AND game > 70</s> |
CREATE TABLE table_name_70 (location VARCHAR, name VARCHAR) | SELECT location FROM table_name_70 WHERE name = "route 66 raceway" | What is the Location for the route 66 raceway? | <s>[INST]What is the Location for the route 66 raceway? Context: CREATE TABLE table_name_70 (location VARCHAR, name VARCHAR)[/INST]SELECT location FROM table_name_70 WHERE name = "route 66 raceway"</s> |
CREATE TABLE table_27537518_6 (record VARCHAR, first_star VARCHAR) | SELECT record FROM table_27537518_6 WHERE first_star = "J. Oduya" | What was the record in the game whose first star was J. Oduya? | <s>[INST]What was the record in the game whose first star was J. Oduya? Context: CREATE TABLE table_27537518_6 (record VARCHAR, first_star VARCHAR)[/INST]SELECT record FROM table_27537518_6 WHERE first_star = "J. Oduya"</s> |
CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_92 WHERE date = "8 sep 1990" | What is the score of the game on 8 Sep 1990? | <s>[INST]What is the score of the game on 8 Sep 1990? Context: CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_92 WHERE date = "8 sep 1990"</s> |
CREATE TABLE table_name_10 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_10 WHERE opponent = "north carolina" | What was the date of the game against North Carolina? | <s>[INST]What was the date of the game against North Carolina? Context: CREATE TABLE table_name_10 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_10 WHERE opponent = "north carolina"</s> |
CREATE TABLE table_name_85 (total VARCHAR, bronze VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT COUNT(total) FROM table_name_85 WHERE gold = 1 AND nation = "portugal" AND bronze > 0 | Portugal has how many total number of medals when there is 1 gold medal, and bronze medals are greater than 0? | <s>[INST]Portugal has how many total number of medals when there is 1 gold medal, and bronze medals are greater than 0? Context: CREATE TABLE table_name_85 (total VARCHAR, bronze VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_85 WHERE gold = 1 AND nation = "portugal" AND bronze > 0</s> |
CREATE TABLE table_name_26 (character VARCHAR, category VARCHAR) | SELECT character FROM table_name_26 WHERE category = "best dramatic performance" | What character won the best dramatic performance award? | <s>[INST]What character won the best dramatic performance award? Context: CREATE TABLE table_name_26 (character VARCHAR, category VARCHAR)[/INST]SELECT character FROM table_name_26 WHERE category = "best dramatic performance"</s> |
CREATE TABLE table_1805191_36 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1805191_36 WHERE incumbent = "Ted Strickland" | What are the results of the elections in which Ted Strickland is seeking re-election? | <s>[INST]What are the results of the elections in which Ted Strickland is seeking re-election? Context: CREATE TABLE table_1805191_36 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_1805191_36 WHERE incumbent = "Ted Strickland"</s> |
CREATE TABLE table_name_48 (instant_messaging VARCHAR, electronic_meeting_system VARCHAR, name VARCHAR) | SELECT instant_messaging FROM table_name_48 WHERE electronic_meeting_system = "yes" AND name = "microsoft sharepoint" | What is Instant Messaging, when Electronic Meeting System is "Yes", and when Name is "Microsoft Sharepoint"? | <s>[INST]What is Instant Messaging, when Electronic Meeting System is "Yes", and when Name is "Microsoft Sharepoint"? Context: CREATE TABLE table_name_48 (instant_messaging VARCHAR, electronic_meeting_system VARCHAR, name VARCHAR)[/INST]SELECT instant_messaging FROM table_name_48 WHERE electronic_meeting_system = "yes" AND name = "microsoft sharepoint"</s> |
CREATE TABLE table_name_58 (attendance INTEGER, home_team VARCHAR) | SELECT SUM(attendance) FROM table_name_58 WHERE home_team = "oxford united" | What was the Attendance when Oxford United was the Home team? | <s>[INST]What was the Attendance when Oxford United was the Home team? Context: CREATE TABLE table_name_58 (attendance INTEGER, home_team VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_58 WHERE home_team = "oxford united"</s> |
CREATE TABLE table_name_63 (date VARCHAR, city VARCHAR) | SELECT date FROM table_name_63 WHERE city = "san jacinto, california" | When has a City of san jacinto, california? | <s>[INST]When has a City of san jacinto, california? Context: CREATE TABLE table_name_63 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE city = "san jacinto, california"</s> |
CREATE TABLE table_14853156_2 (year VARCHAR, money_list_rank VARCHAR) | SELECT COUNT(year) FROM table_14853156_2 WHERE money_list_rank = "56" | How many years has she ranked 56 on the money list? | <s>[INST]How many years has she ranked 56 on the money list? Context: CREATE TABLE table_14853156_2 (year VARCHAR, money_list_rank VARCHAR)[/INST]SELECT COUNT(year) FROM table_14853156_2 WHERE money_list_rank = "56"</s> |
CREATE TABLE table_name_59 (pick__number INTEGER, player VARCHAR) | SELECT SUM(pick__number) FROM table_name_59 WHERE player = "joe germanese" | How many picks involved the player Joe Germanese? | <s>[INST]How many picks involved the player Joe Germanese? Context: CREATE TABLE table_name_59 (pick__number INTEGER, player VARCHAR)[/INST]SELECT SUM(pick__number) FROM table_name_59 WHERE player = "joe germanese"</s> |
CREATE TABLE table_name_88 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_88 WHERE date = "23 january 2009" | Name the venue for 23 january 2009 | <s>[INST]Name the venue for 23 january 2009 Context: CREATE TABLE table_name_88 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_88 WHERE date = "23 january 2009"</s> |
CREATE TABLE table_name_79 (lost INTEGER, points VARCHAR) | SELECT MAX(lost) FROM table_name_79 WHERE points = 25 | What is the highest number of losses with 25 points? | <s>[INST]What is the highest number of losses with 25 points? Context: CREATE TABLE table_name_79 (lost INTEGER, points VARCHAR)[/INST]SELECT MAX(lost) FROM table_name_79 WHERE points = 25</s> |
CREATE TABLE table_name_29 (election INTEGER, president VARCHAR, inhabitants VARCHAR) | SELECT MIN(election) FROM table_name_29 WHERE president = "leonardo marras" AND inhabitants < 227 OFFSET 063 | What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people? | <s>[INST]What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people? Context: CREATE TABLE table_name_29 (election INTEGER, president VARCHAR, inhabitants VARCHAR)[/INST]SELECT MIN(election) FROM table_name_29 WHERE president = "leonardo marras" AND inhabitants < 227 OFFSET 063</s> |
CREATE TABLE table_name_57 (name VARCHAR, medal VARCHAR, event VARCHAR) | SELECT name FROM table_name_57 WHERE medal = "silver" AND event = "men's doubles" | Which participants won the silver medal for the Men's Doubles? | <s>[INST]Which participants won the silver medal for the Men's Doubles? Context: CREATE TABLE table_name_57 (name VARCHAR, medal VARCHAR, event VARCHAR)[/INST]SELECT name FROM table_name_57 WHERE medal = "silver" AND event = "men's doubles"</s> |
CREATE TABLE table_name_50 (director VARCHAR, year VARCHAR) | SELECT director FROM table_name_50 WHERE year = 1957 | Name the director for 1957 | <s>[INST]Name the director for 1957 Context: CREATE TABLE table_name_50 (director VARCHAR, year VARCHAR)[/INST]SELECT director FROM table_name_50 WHERE year = 1957</s> |
CREATE TABLE table_name_20 (year_s__won VARCHAR, total VARCHAR, country VARCHAR) | SELECT year_s__won FROM table_name_20 WHERE total < 294 AND country = "spain" | The golfer from Spain with a total less than 294 won in what year (s)? | <s>[INST]The golfer from Spain with a total less than 294 won in what year (s)? Context: CREATE TABLE table_name_20 (year_s__won VARCHAR, total VARCHAR, country VARCHAR)[/INST]SELECT year_s__won FROM table_name_20 WHERE total < 294 AND country = "spain"</s> |
CREATE TABLE table_name_60 (cover_model VARCHAR) | SELECT 20 AS _questions FROM table_name_60 WHERE cover_model = "rena mero , torrie wilson (two alternative covers)" | Which 20 Questions has a Cover model of rena mero , torrie wilson (two alternative covers)? | <s>[INST]Which 20 Questions has a Cover model of rena mero , torrie wilson (two alternative covers)? Context: CREATE TABLE table_name_60 (cover_model VARCHAR)[/INST]SELECT 20 AS _questions FROM table_name_60 WHERE cover_model = "rena mero , torrie wilson (two alternative covers)"</s> |
CREATE TABLE table_name_18 (latitude INTEGER, diameter__km_ VARCHAR, longitude VARCHAR) | SELECT AVG(latitude) FROM table_name_18 WHERE diameter__km_ < 12.8 AND longitude < 208 | What is the latitude for a crater with a diameter of 12.8 km and a longitude of 208? | <s>[INST]What is the latitude for a crater with a diameter of 12.8 km and a longitude of 208? Context: CREATE TABLE table_name_18 (latitude INTEGER, diameter__km_ VARCHAR, longitude VARCHAR)[/INST]SELECT AVG(latitude) FROM table_name_18 WHERE diameter__km_ < 12.8 AND longitude < 208</s> |
CREATE TABLE table_245801_1 (duration__days_ VARCHAR, crew VARCHAR) | SELECT duration__days_ FROM table_245801_1 WHERE crew = "Georgi Grechko" | Name the duration for georgi grechko | <s>[INST]Name the duration for georgi grechko Context: CREATE TABLE table_245801_1 (duration__days_ VARCHAR, crew VARCHAR)[/INST]SELECT duration__days_ FROM table_245801_1 WHERE crew = "Georgi Grechko"</s> |
CREATE TABLE table_name_35 (elimination VARCHAR, eliminated_by VARCHAR, wrestler VARCHAR) | SELECT elimination AS Move FROM table_name_35 WHERE eliminated_by = "batista" AND wrestler = "henry" | What Elimination Move is listed against Wrestler Henry, Eliminated by Batista? | <s>[INST]What Elimination Move is listed against Wrestler Henry, Eliminated by Batista? Context: CREATE TABLE table_name_35 (elimination VARCHAR, eliminated_by VARCHAR, wrestler VARCHAR)[/INST]SELECT elimination AS Move FROM table_name_35 WHERE eliminated_by = "batista" AND wrestler = "henry"</s> |
CREATE TABLE table_name_78 (date VARCHAR, opponent_number VARCHAR) | SELECT date FROM table_name_78 WHERE opponent_number = "indiana" | When was the game against Indiana? | <s>[INST]When was the game against Indiana? Context: CREATE TABLE table_name_78 (date VARCHAR, opponent_number VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE opponent_number = "indiana"</s> |
CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_69 WHERE position = "shooting guard" | Which Player is the shooting guard? | <s>[INST]Which Player is the shooting guard? Context: CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_69 WHERE position = "shooting guard"</s> |
CREATE TABLE table_180802_2 (zodiac_sign VARCHAR, abbr VARCHAR) | SELECT zodiac_sign FROM table_180802_2 WHERE abbr = "มี.ค." | What's the zodiac sing for the month abbreviated as มี.ค.? | <s>[INST]What's the zodiac sing for the month abbreviated as มี.ค.? Context: CREATE TABLE table_180802_2 (zodiac_sign VARCHAR, abbr VARCHAR)[/INST]SELECT zodiac_sign FROM table_180802_2 WHERE abbr = "มี.ค."</s> |
CREATE TABLE table_name_75 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_75 WHERE date = "august 5" | What is the opponent for the date of august 5? | <s>[INST]What is the opponent for the date of august 5? Context: CREATE TABLE table_name_75 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_75 WHERE date = "august 5"</s> |
CREATE TABLE table_name_24 (position VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_24 WHERE drawn < 2 AND lost < 9 AND points > 24 | What is the total number for the position that has less than 2 draws, less than 9 losses and more than 24? | <s>[INST]What is the total number for the position that has less than 2 draws, less than 9 losses and more than 24? Context: CREATE TABLE table_name_24 (position VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_24 WHERE drawn < 2 AND lost < 9 AND points > 24</s> |
CREATE TABLE table_name_74 (victory_margin__in_lengths_ VARCHAR, time VARCHAR, finish VARCHAR, jockey VARCHAR) | SELECT victory_margin__in_lengths_ FROM table_name_74 WHERE finish = "1st" AND jockey = "kent desormeaux" AND time = "1:35.66" | What was the victory margin for a finish of 1st with a rider of Kent Desormeaux, with a time of 1:35.66? | <s>[INST]What was the victory margin for a finish of 1st with a rider of Kent Desormeaux, with a time of 1:35.66? Context: CREATE TABLE table_name_74 (victory_margin__in_lengths_ VARCHAR, time VARCHAR, finish VARCHAR, jockey VARCHAR)[/INST]SELECT victory_margin__in_lengths_ FROM table_name_74 WHERE finish = "1st" AND jockey = "kent desormeaux" AND time = "1:35.66"</s> |
CREATE TABLE table_name_42 (league INTEGER, scottish_cup INTEGER) | SELECT SUM(league) AS Cup FROM table_name_42 WHERE scottish_cup > 69 | Which League Cup has a Scottish Cup larger than 69? | <s>[INST]Which League Cup has a Scottish Cup larger than 69? Context: CREATE TABLE table_name_42 (league INTEGER, scottish_cup INTEGER)[/INST]SELECT SUM(league) AS Cup FROM table_name_42 WHERE scottish_cup > 69</s> |
CREATE TABLE table_name_48 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_48 WHERE record = "33.952" | What is the Date that has a Record of 33.952? | <s>[INST]What is the Date that has a Record of 33.952? Context: CREATE TABLE table_name_48 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE record = "33.952"</s> |
CREATE TABLE table_name_27 (sydney VARCHAR, gold_coast VARCHAR, perth VARCHAR, melbourne VARCHAR) | SELECT sydney FROM table_name_27 WHERE perth = "no" AND melbourne = "yes" AND gold_coast = "no" | Which Sydney has a Perth of no, a Melbourne of yes, and a Gold Coast of no? | <s>[INST]Which Sydney has a Perth of no, a Melbourne of yes, and a Gold Coast of no? Context: CREATE TABLE table_name_27 (sydney VARCHAR, gold_coast VARCHAR, perth VARCHAR, melbourne VARCHAR)[/INST]SELECT sydney FROM table_name_27 WHERE perth = "no" AND melbourne = "yes" AND gold_coast = "no"</s> |
CREATE TABLE table_name_72 (driver VARCHAR, chassis VARCHAR) | SELECT driver FROM table_name_72 WHERE chassis = "625 553 500" | Who was the driver with chassis 625 553 500? | <s>[INST]Who was the driver with chassis 625 553 500? Context: CREATE TABLE table_name_72 (driver VARCHAR, chassis VARCHAR)[/INST]SELECT driver FROM table_name_72 WHERE chassis = "625 553 500"</s> |
CREATE TABLE table_name_80 (overall INTEGER, round VARCHAR, position VARCHAR) | SELECT AVG(overall) FROM table_name_80 WHERE round = 1 AND position = "center" | Which average overall has a Round of 1, and a Position of center? | <s>[INST]Which average overall has a Round of 1, and a Position of center? Context: CREATE TABLE table_name_80 (overall INTEGER, round VARCHAR, position VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_80 WHERE round = 1 AND position = "center"</s> |
CREATE TABLE table_name_58 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_58 WHERE opponent = "iowa state" | Where did the Bruins play Iowa State? | <s>[INST]Where did the Bruins play Iowa State? Context: CREATE TABLE table_name_58 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_58 WHERE opponent = "iowa state"</s> |
CREATE TABLE table_2886617_6 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_2886617_6 WHERE player = "Peter Slamiar" | What nationality was peter slamiar? | <s>[INST]What nationality was peter slamiar? Context: CREATE TABLE table_2886617_6 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_2886617_6 WHERE player = "Peter Slamiar"</s> |
CREATE TABLE table_1802522_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT state__class_ FROM table_1802522_3 WHERE date_of_successors_formal_installation = "November 30, 1962" | What state had November 30, 1962 as the date of the successors formal installation? | <s>[INST]What state had November 30, 1962 as the date of the successors formal installation? Context: CREATE TABLE table_1802522_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT state__class_ FROM table_1802522_3 WHERE date_of_successors_formal_installation = "November 30, 1962"</s> |
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_57 WHERE away_team = "collingwood" | Where did Collingwood play ae the away team? | <s>[INST]Where did Collingwood play ae the away team? Context: CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_57 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR) | SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xx" | What is the i/o bus for the brand name Core i3-21xx? | <s>[INST]What is the i/o bus for the brand name Core i3-21xx? Context: CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR)[/INST]SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xx"</s> |
CREATE TABLE cinema (capacity INTEGER, openning_year VARCHAR) | SELECT AVG(capacity), MIN(capacity), MAX(capacity) FROM cinema WHERE openning_year >= 2011 | Show the average, minimum, and maximum capacity for all the cinemas opened in year 2011 or later. | <s>[INST]Show the average, minimum, and maximum capacity for all the cinemas opened in year 2011 or later. Context: CREATE TABLE cinema (capacity INTEGER, openning_year VARCHAR)[/INST]SELECT AVG(capacity), MIN(capacity), MAX(capacity) FROM cinema WHERE openning_year >= 2011</s> |
CREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER) | SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983 | Which Thickness has a Year of Issue smaller than 1983? | <s>[INST]Which Thickness has a Year of Issue smaller than 1983? Context: CREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER)[/INST]SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983</s> |
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, film VARCHAR) | SELECT supporting_actress FROM table_24225238_1 WHERE film = "For Whom the Bell Tolls" | Who was the supporting actress in "For Whom the Bell Tolls"? | <s>[INST]Who was the supporting actress in "For Whom the Bell Tolls"? Context: CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, film VARCHAR)[/INST]SELECT supporting_actress FROM table_24225238_1 WHERE film = "For Whom the Bell Tolls"</s> |
CREATE TABLE table_name_45 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_45 WHERE date = "october 1, 1994" | What is the competition that took place on October 1, 1994? | <s>[INST]What is the competition that took place on October 1, 1994? Context: CREATE TABLE table_name_45 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_45 WHERE date = "october 1, 1994"</s> |
CREATE TABLE table_name_77 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_77 WHERE away_team = "melbourne" | How large was the crowd when the away team was melbourne? | <s>[INST]How large was the crowd when the away team was melbourne? Context: CREATE TABLE table_name_77 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_77 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_2226817_8 (no_in_series VARCHAR, no_in_season VARCHAR) | SELECT no_in_series FROM table_2226817_8 WHERE no_in_season = 12 | How many episodes in the series are from season 12? | <s>[INST]How many episodes in the series are from season 12? Context: CREATE TABLE table_2226817_8 (no_in_series VARCHAR, no_in_season VARCHAR)[/INST]SELECT no_in_series FROM table_2226817_8 WHERE no_in_season = 12</s> |
CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR) | SELECT team FROM table_name_78 WHERE day_2 = "3:47.761" | Which team was 3:47.761 on day 2? | <s>[INST]Which team was 3:47.761 on day 2? Context: CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR)[/INST]SELECT team FROM table_name_78 WHERE day_2 = "3:47.761"</s> |
CREATE TABLE table_13681_2 (currency_name VARCHAR, highest_monthly_inflation_rate VARCHAR) | SELECT currency_name FROM table_13681_2 WHERE highest_monthly_inflation_rate = "29,500%" | what's the currency name with highest monthly inflation rate being 29,500% | <s>[INST]what's the currency name with highest monthly inflation rate being 29,500% Context: CREATE TABLE table_13681_2 (currency_name VARCHAR, highest_monthly_inflation_rate VARCHAR)[/INST]SELECT currency_name FROM table_13681_2 WHERE highest_monthly_inflation_rate = "29,500%"</s> |
CREATE TABLE table_name_77 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_77 WHERE home_team = "south melbourne" | What was the away team when the home team was South Melbourne? | <s>[INST]What was the away team when the home team was South Melbourne? Context: CREATE TABLE table_name_77 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_77 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_name_88 (points INTEGER, match INTEGER) | SELECT MIN(points) FROM table_name_88 WHERE match > 14 | What is the lowest points for a match before 14? | <s>[INST]What is the lowest points for a match before 14? Context: CREATE TABLE table_name_88 (points INTEGER, match INTEGER)[/INST]SELECT MIN(points) FROM table_name_88 WHERE match > 14</s> |
CREATE TABLE table_name_40 (february VARCHAR, points VARCHAR, score VARCHAR) | SELECT COUNT(february) FROM table_name_40 WHERE points = 63 AND score = "1–2" | How many February days have Points of 63 and a Score of 1–2? | <s>[INST]How many February days have Points of 63 and a Score of 1–2? Context: CREATE TABLE table_name_40 (february VARCHAR, points VARCHAR, score VARCHAR)[/INST]SELECT COUNT(february) FROM table_name_40 WHERE points = 63 AND score = "1–2"</s> |
CREATE TABLE table_name_32 (born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR) | SELECT born_in_a_non_eu_state__millions_ FROM table_name_32 WHERE total_population__millions_ = 62.008 | How many people were born in a non EU state (in millions), when the Total population (in millions) was 62.008? | <s>[INST]How many people were born in a non EU state (in millions), when the Total population (in millions) was 62.008? Context: CREATE TABLE table_name_32 (born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR)[/INST]SELECT born_in_a_non_eu_state__millions_ FROM table_name_32 WHERE total_population__millions_ = 62.008</s> |
CREATE TABLE table_25252080_3 (january_15_16 VARCHAR, november_3 VARCHAR) | SELECT january_15_16 FROM table_25252080_3 WHERE november_3 = "133" | What number is shown for january 15-16 when november 3 is 133? | <s>[INST]What number is shown for january 15-16 when november 3 is 133? Context: CREATE TABLE table_25252080_3 (january_15_16 VARCHAR, november_3 VARCHAR)[/INST]SELECT january_15_16 FROM table_25252080_3 WHERE november_3 = "133"</s> |
CREATE TABLE table_name_85 (player VARCHAR, round VARCHAR, overall VARCHAR, club_team VARCHAR) | SELECT player FROM table_name_85 WHERE overall < 209 AND club_team = "victoriaville tigres (qmjhl)" AND round = 1 | What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1? | <s>[INST]What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1? Context: CREATE TABLE table_name_85 (player VARCHAR, round VARCHAR, overall VARCHAR, club_team VARCHAR)[/INST]SELECT player FROM table_name_85 WHERE overall < 209 AND club_team = "victoriaville tigres (qmjhl)" AND round = 1</s> |
CREATE TABLE table_1015521_2 (rank_in_spanish VARCHAR, rank_in_english VARCHAR) | SELECT rank_in_spanish FROM table_1015521_2 WHERE rank_in_english = "Major" | If you get a ranking as major in the english military then what would the spanish military address you as? | <s>[INST]If you get a ranking as major in the english military then what would the spanish military address you as? Context: CREATE TABLE table_1015521_2 (rank_in_spanish VARCHAR, rank_in_english VARCHAR)[/INST]SELECT rank_in_spanish FROM table_1015521_2 WHERE rank_in_english = "Major"</s> |
CREATE TABLE table_20174050_1 (format VARCHAR, title VARCHAR) | SELECT format FROM table_20174050_1 WHERE title = "The Mind Robber" | What's the format of the audio book titled The Mind Robber? | <s>[INST]What's the format of the audio book titled The Mind Robber? Context: CREATE TABLE table_20174050_1 (format VARCHAR, title VARCHAR)[/INST]SELECT format FROM table_20174050_1 WHERE title = "The Mind Robber"</s> |
CREATE TABLE table_name_77 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_77 WHERE date = "november 9, 1958" | What was the Result on November 9, 1958? | <s>[INST]What was the Result on November 9, 1958? Context: CREATE TABLE table_name_77 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_77 WHERE date = "november 9, 1958"</s> |
CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR) | SELECT T1.student_id, T1.first_name, T1.middle_name, T1.last_name, COUNT(*), T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1 | Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id. | <s>[INST]Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id. Context: CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR)[/INST]SELECT T1.student_id, T1.first_name, T1.middle_name, T1.last_name, COUNT(*), T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER) | SELECT MAX(weeks_in_top_10) FROM table_27813010_2 | How long has the longest song spent in the top 10? | <s>[INST]How long has the longest song spent in the top 10? Context: CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER)[/INST]SELECT MAX(weeks_in_top_10) FROM table_27813010_2</s> |
CREATE TABLE table_14601528_2 (class_aA VARCHAR, class_aAA VARCHAR, Bridgeport VARCHAR, school_year VARCHAR) | SELECT COUNT(class_aA) FROM table_14601528_2 WHERE class_aAA = Bridgeport AND school_year = "1999-2000" | Name the number of class aa for bridgeport and 1999-2000 | <s>[INST]Name the number of class aa for bridgeport and 1999-2000 Context: CREATE TABLE table_14601528_2 (class_aA VARCHAR, class_aAA VARCHAR, Bridgeport VARCHAR, school_year VARCHAR)[/INST]SELECT COUNT(class_aA) FROM table_14601528_2 WHERE class_aAA = Bridgeport AND school_year = "1999-2000"</s> |
CREATE TABLE table_name_28 (lost VARCHAR, points_against VARCHAR) | SELECT lost FROM table_name_28 WHERE points_against = "231" | what is lost when the points against is 231? | <s>[INST]what is lost when the points against is 231? Context: CREATE TABLE table_name_28 (lost VARCHAR, points_against VARCHAR)[/INST]SELECT lost FROM table_name_28 WHERE points_against = "231"</s> |
CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR) | SELECT course FROM table_name_58 WHERE type = "team time trial" | Name the course for team time trial | <s>[INST]Name the course for team time trial Context: CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR)[/INST]SELECT course FROM table_name_58 WHERE type = "team time trial"</s> |
CREATE TABLE table_name_48 (host_team VARCHAR, date VARCHAR) | SELECT host_team FROM table_name_48 WHERE date = "november 17" | Who was the host team on November 17? | <s>[INST]Who was the host team on November 17? Context: CREATE TABLE table_name_48 (host_team VARCHAR, date VARCHAR)[/INST]SELECT host_team FROM table_name_48 WHERE date = "november 17"</s> |
CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR) | SELECT visitor FROM table_name_42 WHERE time = "5:00 pm" | Who was the visitor at 5:00 pm? | <s>[INST]Who was the visitor at 5:00 pm? Context: CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR)[/INST]SELECT visitor FROM table_name_42 WHERE time = "5:00 pm"</s> |
CREATE TABLE table_name_12 (drawn INTEGER, against VARCHAR, lost VARCHAR, points VARCHAR) | SELECT MAX(drawn) FROM table_name_12 WHERE lost = 7 AND points > 4 AND against < 22 | What is the highest Drawn when the lost is 7 and the points are more than 4, and the against is less than 22? | <s>[INST]What is the highest Drawn when the lost is 7 and the points are more than 4, and the against is less than 22? Context: CREATE TABLE table_name_12 (drawn INTEGER, against VARCHAR, lost VARCHAR, points VARCHAR)[/INST]SELECT MAX(drawn) FROM table_name_12 WHERE lost = 7 AND points > 4 AND against < 22</s> |
CREATE TABLE table_name_18 (results VARCHAR, first_elected VARCHAR, district VARCHAR) | SELECT results FROM table_name_18 WHERE first_elected = 1996 AND district = "oregon 5" | What was the result of the Oregon 5 District incumbent who was first elected in 1996? | <s>[INST]What was the result of the Oregon 5 District incumbent who was first elected in 1996? Context: CREATE TABLE table_name_18 (results VARCHAR, first_elected VARCHAR, district VARCHAR)[/INST]SELECT results FROM table_name_18 WHERE first_elected = 1996 AND district = "oregon 5"</s> |
CREATE TABLE table_name_44 (built INTEGER, entered_service VARCHAR, knots VARCHAR) | SELECT MAX(built) FROM table_name_44 WHERE entered_service > 2003 AND knots < 27 | What is the most recent built year when the year of entering service was more recent than 2003, and the knots is less than 27? | <s>[INST]What is the most recent built year when the year of entering service was more recent than 2003, and the knots is less than 27? Context: CREATE TABLE table_name_44 (built INTEGER, entered_service VARCHAR, knots VARCHAR)[/INST]SELECT MAX(built) FROM table_name_44 WHERE entered_service > 2003 AND knots < 27</s> |
CREATE TABLE matches (winner_rank INTEGER) | SELECT AVG(winner_rank) FROM matches | Find the average rank of winners in all matches. | <s>[INST]Find the average rank of winners in all matches. Context: CREATE TABLE matches (winner_rank INTEGER)[/INST]SELECT AVG(winner_rank) FROM matches</s> |
CREATE TABLE table_101336_1 (no_of_cu_o_planes_in_unit_cell VARCHAR, formula VARCHAR) | SELECT no_of_cu_o_planes_in_unit_cell FROM table_101336_1 WHERE formula = "Tl 2 Ba 2 CuO 6" | How many times is the formula tl 2 ba 2 cuo 6? | <s>[INST]How many times is the formula tl 2 ba 2 cuo 6? Context: CREATE TABLE table_101336_1 (no_of_cu_o_planes_in_unit_cell VARCHAR, formula VARCHAR)[/INST]SELECT no_of_cu_o_planes_in_unit_cell FROM table_101336_1 WHERE formula = "Tl 2 Ba 2 CuO 6"</s> |
CREATE TABLE table_15331868_1 (position INTEGER, against VARCHAR) | SELECT MAX(position) FROM table_15331868_1 WHERE against = 28 | What the highest position when there is 28 against? | <s>[INST]What the highest position when there is 28 against? Context: CREATE TABLE table_15331868_1 (position INTEGER, against VARCHAR)[/INST]SELECT MAX(position) FROM table_15331868_1 WHERE against = 28</s> |
CREATE TABLE table_name_7 (round INTEGER, pick INTEGER) | SELECT MAX(round) FROM table_name_7 WHERE pick < 2 | What top round has a pick smaller than 2? | <s>[INST]What top round has a pick smaller than 2? Context: CREATE TABLE table_name_7 (round INTEGER, pick INTEGER)[/INST]SELECT MAX(round) FROM table_name_7 WHERE pick < 2</s> |
CREATE TABLE table_name_52 (result VARCHAR, year VARCHAR, category VARCHAR) | SELECT result FROM table_name_52 WHERE year < 2013 AND category = "presenter talent show" | What was the result in a year before 2013 that the nomination category was Presenter Talent Show? | <s>[INST]What was the result in a year before 2013 that the nomination category was Presenter Talent Show? Context: CREATE TABLE table_name_52 (result VARCHAR, year VARCHAR, category VARCHAR)[/INST]SELECT result FROM table_name_52 WHERE year < 2013 AND category = "presenter talent show"</s> |
CREATE TABLE table_name_97 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_97 WHERE home_team = "richmond" | When Richmond was the Home team, who was the away team? | <s>[INST]When Richmond was the Home team, who was the away team? Context: CREATE TABLE table_name_97 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_97 WHERE home_team = "richmond"</s> |
CREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR) | SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis" | What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007? | <s>[INST]What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007? Context: CREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR)[/INST]SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.