context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_27988281_1 (production_code INTEGER, written_by VARCHAR) | SELECT MAX(production_code) FROM table_27988281_1 WHERE written_by = "Jeff Filgo" | What is the production code of the episode written by Jeff Filgo? | <s>[INST]What is the production code of the episode written by Jeff Filgo? Context: CREATE TABLE table_27988281_1 (production_code INTEGER, written_by VARCHAR)[/INST]SELECT MAX(production_code) FROM table_27988281_1 WHERE written_by = "Jeff Filgo"</s> |
CREATE TABLE table_13564637_5 (club VARCHAR, points VARCHAR) | SELECT club FROM table_13564637_5 WHERE points = "30" | Who is the club that has 30 points? | <s>[INST]Who is the club that has 30 points? Context: CREATE TABLE table_13564637_5 (club VARCHAR, points VARCHAR)[/INST]SELECT club FROM table_13564637_5 WHERE points = "30"</s> |
CREATE TABLE table_name_58 (title VARCHAR, songwriter_s_ VARCHAR, time VARCHAR) | SELECT title FROM table_name_58 WHERE songwriter_s_ = "nigel stock" AND time = "4:12" | Which song was written by Nigel Stock and is 4:12 long? | <s>[INST]Which song was written by Nigel Stock and is 4:12 long? Context: CREATE TABLE table_name_58 (title VARCHAR, songwriter_s_ VARCHAR, time VARCHAR)[/INST]SELECT title FROM table_name_58 WHERE songwriter_s_ = "nigel stock" AND time = "4:12"</s> |
CREATE TABLE table_name_36 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_36 WHERE opponent = "at new york giants" | Opponent of at new york giants had what venue? | <s>[INST]Opponent of at new york giants had what venue? Context: CREATE TABLE table_name_36 (venue VARCHAR, opponent VARCHAR)[/INST]SELECT venue FROM table_name_36 WHERE opponent = "at new york giants"</s> |
CREATE TABLE table_name_51 (tournament VARCHAR, partner VARCHAR) | SELECT tournament FROM table_name_51 WHERE partner = "dieter kindlmann" | Which tournament was Dieter Kindlmann a partner? | <s>[INST]Which tournament was Dieter Kindlmann a partner? Context: CREATE TABLE table_name_51 (tournament VARCHAR, partner VARCHAR)[/INST]SELECT tournament FROM table_name_51 WHERE partner = "dieter kindlmann"</s> |
CREATE TABLE table_22485543_1 (studio_host VARCHAR, year VARCHAR) | SELECT studio_host FROM table_22485543_1 WHERE year = "2010" | Who is the studio host for the year 2010? | <s>[INST]Who is the studio host for the year 2010? Context: CREATE TABLE table_22485543_1 (studio_host VARCHAR, year VARCHAR)[/INST]SELECT studio_host FROM table_22485543_1 WHERE year = "2010"</s> |
CREATE TABLE table_27537870_5 (score VARCHAR, game VARCHAR) | SELECT score FROM table_27537870_5 WHERE game = 29 | Name the score for 29 game | <s>[INST]Name the score for 29 game Context: CREATE TABLE table_27537870_5 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_27537870_5 WHERE game = 29</s> |
CREATE TABLE table_name_63 (gender VARCHAR, name VARCHAR) | SELECT gender FROM table_name_63 WHERE name = "elsthorpe school" | Name the gender for elsthorpe school | <s>[INST]Name the gender for elsthorpe school Context: CREATE TABLE table_name_63 (gender VARCHAR, name VARCHAR)[/INST]SELECT gender FROM table_name_63 WHERE name = "elsthorpe school"</s> |
CREATE TABLE table_name_79 (icao VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_79 WHERE iata = "tgg" | What is the ICAO when the IATA is tgg? | <s>[INST]What is the ICAO when the IATA is tgg? Context: CREATE TABLE table_name_79 (icao VARCHAR, iata VARCHAR)[/INST]SELECT icao FROM table_name_79 WHERE iata = "tgg"</s> |
CREATE TABLE table_name_78 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_78 WHERE to_par = "+2" | What Player had a To Par of +2? | <s>[INST]What Player had a To Par of +2? Context: CREATE TABLE table_name_78 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_78 WHERE to_par = "+2"</s> |
CREATE TABLE table_name_72 (venue VARCHAR, round VARCHAR) | SELECT venue FROM table_name_72 WHERE round = "f" | In which venue was round F? | <s>[INST]In which venue was round F? Context: CREATE TABLE table_name_72 (venue VARCHAR, round VARCHAR)[/INST]SELECT venue FROM table_name_72 WHERE round = "f"</s> |
CREATE TABLE table_16388478_4 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_16388478_4 WHERE home_team = "Adelaide" | What date was Adelaide the home team? | <s>[INST]What date was Adelaide the home team? Context: CREATE TABLE table_16388478_4 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_16388478_4 WHERE home_team = "Adelaide"</s> |
CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, Lastname VARCHAR) | SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.Lastname = "Heilo" | Find all the songs performed by artist with last name "Heilo" | <s>[INST]Find all the songs performed by artist with last name "Heilo" Context: CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, Lastname VARCHAR)[/INST]SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = ... |
CREATE TABLE organisation_Types (organisation_type VARCHAR, organisation_type_description VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR) | SELECT organisation_details FROM Organisations AS T1 JOIN organisation_Types AS T2 ON T1.organisation_type = T2.organisation_type WHERE T2.organisation_type_description = 'Sponsor' ORDER BY organisation_details | What are all the details of the organisations described as 'Sponsor'? Sort the result in an ascending order. | <s>[INST]What are all the details of the organisations described as 'Sponsor'? Sort the result in an ascending order. Context: CREATE TABLE organisation_Types (organisation_type VARCHAR, organisation_type_description VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR)[/INST]SELECT organisation_details FROM... |
CREATE TABLE table_18710512_3 (format VARCHAR, other_details VARCHAR) | SELECT format FROM table_18710512_3 WHERE other_details = "2000 copies" | What format for the release that had 2000 copies? | <s>[INST]What format for the release that had 2000 copies? Context: CREATE TABLE table_18710512_3 (format VARCHAR, other_details VARCHAR)[/INST]SELECT format FROM table_18710512_3 WHERE other_details = "2000 copies"</s> |
CREATE TABLE table_21092444_1 (record VARCHAR, black_knights_points VARCHAR) | SELECT record FROM table_21092444_1 WHERE black_knights_points = 54 | Name the record for black knights points 54 | <s>[INST]Name the record for black knights points 54 Context: CREATE TABLE table_21092444_1 (record VARCHAR, black_knights_points VARCHAR)[/INST]SELECT record FROM table_21092444_1 WHERE black_knights_points = 54</s> |
CREATE TABLE table_name_94 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_94 WHERE home_team = "hawthorn" | What was Hawthorn's score as the home team? | <s>[INST]What was Hawthorn's score as the home team? Context: CREATE TABLE table_name_94 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_94 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, year VARCHAR) | SELECT player FROM table_name_9 WHERE position = "center" AND year = 2010 | What player played center in 2010? | <s>[INST]What player played center in 2010? Context: CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, year VARCHAR)[/INST]SELECT player FROM table_name_9 WHERE position = "center" AND year = 2010</s> |
CREATE TABLE table_name_39 (date VARCHAR, source VARCHAR) | SELECT date FROM table_name_39 WHERE source = "rasmussen reports" | When has a Source of rasmussen reports? | <s>[INST]When has a Source of rasmussen reports? Context: CREATE TABLE table_name_39 (date VARCHAR, source VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE source = "rasmussen reports"</s> |
CREATE TABLE table_name_40 (school VARCHAR, player VARCHAR) | SELECT school FROM table_name_40 WHERE player = "terrence jones" | What School did Terrence Jones play for? | <s>[INST]What School did Terrence Jones play for? Context: CREATE TABLE table_name_40 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_40 WHERE player = "terrence jones"</s> |
CREATE TABLE table_name_70 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR) | SELECT AVG(year_named) FROM table_name_70 WHERE latitude = "37.9n" AND diameter__km_ > 76 | What is the average Year Named, when Latitude is 37.9N, and when Diameter (km) is greater than 76? | <s>[INST]What is the average Year Named, when Latitude is 37.9N, and when Diameter (km) is greater than 76? Context: CREATE TABLE table_name_70 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR)[/INST]SELECT AVG(year_named) FROM table_name_70 WHERE latitude = "37.9n" AND diameter__km_ > 76</s> |
CREATE TABLE table_name_22 (minoru VARCHAR, hikaru_sato VARCHAR, super_crazy VARCHAR) | SELECT minoru FROM table_name_22 WHERE hikaru_sato = "x" AND super_crazy = "yang (8:36)" | Name the minoru that has a hikaru sato of x and super crazy of yang (8:36) | <s>[INST]Name the minoru that has a hikaru sato of x and super crazy of yang (8:36) Context: CREATE TABLE table_name_22 (minoru VARCHAR, hikaru_sato VARCHAR, super_crazy VARCHAR)[/INST]SELECT minoru FROM table_name_22 WHERE hikaru_sato = "x" AND super_crazy = "yang (8:36)"</s> |
CREATE TABLE table_name_14 (pick__number VARCHAR, cfl_team VARCHAR) | SELECT COUNT(pick__number) FROM table_name_14 WHERE cfl_team = "edmonton eskimos" | What is the Pick # for the Edmonton Eskimos? | <s>[INST]What is the Pick # for the Edmonton Eskimos? Context: CREATE TABLE table_name_14 (pick__number VARCHAR, cfl_team VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_14 WHERE cfl_team = "edmonton eskimos"</s> |
CREATE TABLE entrepreneur (Company VARCHAR) | SELECT COUNT(DISTINCT Company) FROM entrepreneur | How many distinct companies are there? | <s>[INST]How many distinct companies are there? Context: CREATE TABLE entrepreneur (Company VARCHAR)[/INST]SELECT COUNT(DISTINCT Company) FROM entrepreneur</s> |
CREATE TABLE table_name_73 (partner VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT partner FROM table_name_73 WHERE outcome = "winner" AND date = "12 october 2003" | What is Partner, when Outcome is Winner, and when Date is 12 October 2003? | <s>[INST]What is Partner, when Outcome is Winner, and when Date is 12 October 2003? Context: CREATE TABLE table_name_73 (partner VARCHAR, outcome VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_73 WHERE outcome = "winner" AND date = "12 october 2003"</s> |
CREATE TABLE table_name_81 (years_runner_up VARCHAR, team VARCHAR) | SELECT years_runner_up FROM table_name_81 WHERE team = "duisburg" | What year(s) was Duisburg runner-up? | <s>[INST]What year(s) was Duisburg runner-up? Context: CREATE TABLE table_name_81 (years_runner_up VARCHAR, team VARCHAR)[/INST]SELECT years_runner_up FROM table_name_81 WHERE team = "duisburg"</s> |
CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit" | How many districts does gary condit represent? | <s>[INST]How many districts does gary condit represent? Context: CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit"</s> |
CREATE TABLE ship (lost_in_battle VARCHAR, ship_type VARCHAR); CREATE TABLE battle (id VARCHAR, name VARCHAR) | SELECT DISTINCT T1.id, T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.ship_type = 'Brig' | What are the different ids and names of the battles that lost any 'Brig' type shipes? | <s>[INST]What are the different ids and names of the battles that lost any 'Brig' type shipes? Context: CREATE TABLE ship (lost_in_battle VARCHAR, ship_type VARCHAR); CREATE TABLE battle (id VARCHAR, name VARCHAR)[/INST]SELECT DISTINCT T1.id, T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE ... |
CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_58 WHERE player = "jerry butler" | In which round was Jerry Butler chosen? | <s>[INST]In which round was Jerry Butler chosen? Context: CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_58 WHERE player = "jerry butler"</s> |
CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 2012 FROM table_name_22 WHERE 2008 = "479" | What is the 2012 value with 479 in 2008? | <s>[INST]What is the 2012 value with 479 in 2008? Context: CREATE TABLE table_name_22 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_22 WHERE 2008 = "479"</s> |
CREATE TABLE table_name_60 (medal VARCHAR, games VARCHAR, sport VARCHAR) | SELECT medal FROM table_name_60 WHERE games = "1996 atlanta" AND sport = "wrestling" | What medal was won in the 1996 Atlanta games in wrestling? | <s>[INST]What medal was won in the 1996 Atlanta games in wrestling? Context: CREATE TABLE table_name_60 (medal VARCHAR, games VARCHAR, sport VARCHAR)[/INST]SELECT medal FROM table_name_60 WHERE games = "1996 atlanta" AND sport = "wrestling"</s> |
CREATE TABLE table_name_39 (stroke VARCHAR, max_power VARCHAR) | SELECT stroke FROM table_name_39 WHERE max_power = "109 ps(80kw)@4000 rpm" | What stroke has a max power of 109 ps(80kw)@4000 rpm? | <s>[INST]What stroke has a max power of 109 ps(80kw)@4000 rpm? Context: CREATE TABLE table_name_39 (stroke VARCHAR, max_power VARCHAR)[/INST]SELECT stroke FROM table_name_39 WHERE max_power = "109 ps(80kw)@4000 rpm"</s> |
CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR) | SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th" | What Year has a Result smaller than 20.31, and a World Rank of 5th? | <s>[INST]What Year has a Result smaller than 20.31, and a World Rank of 5th? Context: CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR)[/INST]SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th"</s> |
CREATE TABLE table_name_19 (opponents VARCHAR, result VARCHAR) | SELECT opponents FROM table_name_19 WHERE result = "d" | When the result is d, who are the opponents? | <s>[INST]When the result is d, who are the opponents? Context: CREATE TABLE table_name_19 (opponents VARCHAR, result VARCHAR)[/INST]SELECT opponents FROM table_name_19 WHERE result = "d"</s> |
CREATE TABLE table_name_74 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR) | SELECT MIN(top_5) FROM table_name_74 WHERE top_10 < 1 AND top_25 < 1 | What is the lowest top-5 of the tournament with less than 1 top-10 and less than 1 top-25? | <s>[INST]What is the lowest top-5 of the tournament with less than 1 top-10 and less than 1 top-25? Context: CREATE TABLE table_name_74 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR)[/INST]SELECT MIN(top_5) FROM table_name_74 WHERE top_10 < 1 AND top_25 < 1</s> |
CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR) | SELECT media_type FROM table_23829490_1 WHERE genre = "Dub" | What is every media type for the Dub genre? | <s>[INST]What is every media type for the Dub genre? Context: CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)[/INST]SELECT media_type FROM table_23829490_1 WHERE genre = "Dub"</s> |
CREATE TABLE table_name_71 (original_name VARCHAR, language VARCHAR, country VARCHAR) | SELECT original_name FROM table_name_71 WHERE language = "spanish" AND country = "spain" | What was the original name of the Spanish song in Spain? | <s>[INST]What was the original name of the Spanish song in Spain? Context: CREATE TABLE table_name_71 (original_name VARCHAR, language VARCHAR, country VARCHAR)[/INST]SELECT original_name FROM table_name_71 WHERE language = "spanish" AND country = "spain"</s> |
CREATE TABLE table_name_20 (technology VARCHAR, toxic_materials VARCHAR, moving_parts VARCHAR) | SELECT technology FROM table_name_20 WHERE toxic_materials = "yes" AND moving_parts = "no" | What's the technology when there are no moving parts but yes to toxic materials? | <s>[INST]What's the technology when there are no moving parts but yes to toxic materials? Context: CREATE TABLE table_name_20 (technology VARCHAR, toxic_materials VARCHAR, moving_parts VARCHAR)[/INST]SELECT technology FROM table_name_20 WHERE toxic_materials = "yes" AND moving_parts = "no"</s> |
CREATE TABLE table_2159506_3 (state__class_ VARCHAR, reason_for_change VARCHAR) | SELECT state__class_ FROM table_2159506_3 WHERE reason_for_change = "Resigned November 3, 1964" | Name the state class for resigned november 3, 1964 | <s>[INST]Name the state class for resigned november 3, 1964 Context: CREATE TABLE table_2159506_3 (state__class_ VARCHAR, reason_for_change VARCHAR)[/INST]SELECT state__class_ FROM table_2159506_3 WHERE reason_for_change = "Resigned November 3, 1964"</s> |
CREATE TABLE table_1140111_5 (report VARCHAR, circuit VARCHAR) | SELECT report FROM table_1140111_5 WHERE circuit = "Pau" | What kind of report is for the Pau circuit? | <s>[INST]What kind of report is for the Pau circuit? Context: CREATE TABLE table_1140111_5 (report VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_1140111_5 WHERE circuit = "Pau"</s> |
CREATE TABLE table_27764201_2 (game_site VARCHAR, opponent VARCHAR) | SELECT COUNT(game_site) FROM table_27764201_2 WHERE opponent = "Rhein Fire" | How many times did the Centurions play the Rhein Fire? | <s>[INST]How many times did the Centurions play the Rhein Fire? Context: CREATE TABLE table_27764201_2 (game_site VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(game_site) FROM table_27764201_2 WHERE opponent = "Rhein Fire"</s> |
CREATE TABLE table_name_63 (weight VARCHAR, born VARCHAR) | SELECT weight FROM table_name_63 WHERE born = "1980" | What is the weight of the person born in 1980? | <s>[INST]What is the weight of the person born in 1980? Context: CREATE TABLE table_name_63 (weight VARCHAR, born VARCHAR)[/INST]SELECT weight FROM table_name_63 WHERE born = "1980"</s> |
CREATE TABLE table_name_48 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_48 WHERE home_team = "st kilda" | Where does St Kilda play? | <s>[INST]Where does St Kilda play? Context: CREATE TABLE table_name_48 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_48 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_name_66 (runners_up INTEGER, years_won VARCHAR) | SELECT MIN(runners_up) FROM table_name_66 WHERE years_won = "1993" | How many runners up for the team that won in 1993? | <s>[INST]How many runners up for the team that won in 1993? Context: CREATE TABLE table_name_66 (runners_up INTEGER, years_won VARCHAR)[/INST]SELECT MIN(runners_up) FROM table_name_66 WHERE years_won = "1993"</s> |
CREATE TABLE table_name_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR) | SELECT week_4_sept_21 FROM table_name_30 WHERE week_10_nov_2 = "michigan state (8-2)" | What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)? | <s>[INST]What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)? Context: CREATE TABLE table_name_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR)[/INST]SELECT week_4_sept_21 FROM table_name_30 WHERE week_10_nov_2 = "michigan state (8-2)"</s> |
CREATE TABLE table_name_52 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_52 WHERE home_team = "st kilda" | What is the home team score for St Kilda? | <s>[INST]What is the home team score for St Kilda? Context: CREATE TABLE table_name_52 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_52 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_name_6 (national_team VARCHAR, year VARCHAR) | SELECT national_team FROM table_name_6 WHERE year = "total" | Which National team has a Year of total? | <s>[INST]Which National team has a Year of total? Context: CREATE TABLE table_name_6 (national_team VARCHAR, year VARCHAR)[/INST]SELECT national_team FROM table_name_6 WHERE year = "total"</s> |
CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_98 WHERE score = 70 - 71 - 68 = 209 | What is the country of the player with a 70-71-68=209 score? | <s>[INST]What is the country of the player with a 70-71-68=209 score? Context: CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_98 WHERE score = 70 - 71 - 68 = 209</s> |
CREATE TABLE table_name_77 (capacity VARCHAR, colors VARCHAR) | SELECT capacity FROM table_name_77 WHERE colors = "purple and white" | Which capacity has a purple and white colors? | <s>[INST]Which capacity has a purple and white colors? Context: CREATE TABLE table_name_77 (capacity VARCHAR, colors VARCHAR)[/INST]SELECT capacity FROM table_name_77 WHERE colors = "purple and white"</s> |
CREATE TABLE table_name_27 (viewers__in_millions_ VARCHAR, finale VARCHAR) | SELECT COUNT(viewers__in_millions_) FROM table_name_27 WHERE finale = "may 16, 2007" | How many people tuned in to the finale on May 16, 2007? | <s>[INST]How many people tuned in to the finale on May 16, 2007? Context: CREATE TABLE table_name_27 (viewers__in_millions_ VARCHAR, finale VARCHAR)[/INST]SELECT COUNT(viewers__in_millions_) FROM table_name_27 WHERE finale = "may 16, 2007"</s> |
CREATE TABLE table_name_64 (distance VARCHAR, pilot VARCHAR) | SELECT distance FROM table_name_64 WHERE pilot = "stanislaw wujczak" | What is Distance, when Pilot is "Stanislaw Wujczak"? | <s>[INST]What is Distance, when Pilot is "Stanislaw Wujczak"? Context: CREATE TABLE table_name_64 (distance VARCHAR, pilot VARCHAR)[/INST]SELECT distance FROM table_name_64 WHERE pilot = "stanislaw wujczak"</s> |
CREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, percent_of_slovenes_1951 VARCHAR) | SELECT village__slovenian_ FROM table_10797463_1 WHERE percent_of_slovenes_1951 = "65.9%" | What are the slovenian names of the villages that had 65.9% of slovenes in 1951? | <s>[INST]What are the slovenian names of the villages that had 65.9% of slovenes in 1951? Context: CREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, percent_of_slovenes_1951 VARCHAR)[/INST]SELECT village__slovenian_ FROM table_10797463_1 WHERE percent_of_slovenes_1951 = "65.9%"</s> |
CREATE TABLE table_17323529_5 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_17323529_5 WHERE date = "November 24" | Name the high points for the date of november 24 | <s>[INST]Name the high points for the date of november 24 Context: CREATE TABLE table_17323529_5 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_17323529_5 WHERE date = "November 24"</s> |
CREATE TABLE table_name_65 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_65 WHERE venue = "victoria park" | Who was the away team at the game at Victoria Park? | <s>[INST]Who was the away team at the game at Victoria Park? Context: CREATE TABLE table_name_65 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_65 WHERE venue = "victoria park"</s> |
CREATE TABLE table_name_26 (runs VARCHAR, rank VARCHAR, venue VARCHAR, season VARCHAR) | SELECT runs FROM table_name_26 WHERE venue = "bellerive oval , hobart" AND season = "2004/05" AND rank = "5" | Name the Runs has a Venue of bellerive oval , hobart, and a Season of 2004/05, and a Rank of 5? | <s>[INST]Name the Runs has a Venue of bellerive oval , hobart, and a Season of 2004/05, and a Rank of 5? Context: CREATE TABLE table_name_26 (runs VARCHAR, rank VARCHAR, venue VARCHAR, season VARCHAR)[/INST]SELECT runs FROM table_name_26 WHERE venue = "bellerive oval , hobart" AND season = "2004/05" AND rank = "5"</s> |
CREATE TABLE table_name_5 (Id VARCHAR) | SELECT 2009 FROM table_name_5 WHERE 2012 = "1r" | What shows for 2009 when the 2012 is 1R? | <s>[INST]What shows for 2009 when the 2012 is 1R? Context: CREATE TABLE table_name_5 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_5 WHERE 2012 = "1r"</s> |
CREATE TABLE table_name_52 (model VARCHAR, gcm__kg__technical_capacity VARCHAR) | SELECT model FROM table_name_52 WHERE gcm__kg__technical_capacity = "42000" | Which Model has the GCM (kg) Technical Capacity of 42000? | <s>[INST]Which Model has the GCM (kg) Technical Capacity of 42000? Context: CREATE TABLE table_name_52 (model VARCHAR, gcm__kg__technical_capacity VARCHAR)[/INST]SELECT model FROM table_name_52 WHERE gcm__kg__technical_capacity = "42000"</s> |
CREATE TABLE table_name_17 (wins INTEGER, losses VARCHAR, draws VARCHAR) | SELECT MAX(wins) FROM table_name_17 WHERE losses = 7 AND draws > 0 | What was the greatest number of wins for a team that had 7 losses and more than 0 draws? | <s>[INST]What was the greatest number of wins for a team that had 7 losses and more than 0 draws? Context: CREATE TABLE table_name_17 (wins INTEGER, losses VARCHAR, draws VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_17 WHERE losses = 7 AND draws > 0</s> |
CREATE TABLE county_public_safety (Name VARCHAR, Population VARCHAR) | SELECT Name FROM county_public_safety ORDER BY Population DESC LIMIT 1 | List the name of the county with the largest population. | <s>[INST]List the name of the county with the largest population. Context: CREATE TABLE county_public_safety (Name VARCHAR, Population VARCHAR)[/INST]SELECT Name FROM county_public_safety ORDER BY Population DESC LIMIT 1</s> |
CREATE TABLE table_name_2 (date VARCHAR, set_3 VARCHAR) | SELECT date FROM table_name_2 WHERE set_3 = "18-25" | When was set 3 of 18-25? | <s>[INST]When was set 3 of 18-25? Context: CREATE TABLE table_name_2 (date VARCHAR, set_3 VARCHAR)[/INST]SELECT date FROM table_name_2 WHERE set_3 = "18-25"</s> |
CREATE TABLE table_14345690_5 (exited VARCHAR, celebrity VARCHAR) | SELECT exited FROM table_14345690_5 WHERE celebrity = "Vic Reeves" | What is the exited day where the celebrity is vic reeves? | <s>[INST]What is the exited day where the celebrity is vic reeves? Context: CREATE TABLE table_14345690_5 (exited VARCHAR, celebrity VARCHAR)[/INST]SELECT exited FROM table_14345690_5 WHERE celebrity = "Vic Reeves"</s> |
CREATE TABLE table_name_34 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | SELECT laps FROM table_name_34 WHERE manufacturer = "honda" AND grid = "9" | What was the amount of laps for the vehicle manufactured by honda with a grid of 9? | <s>[INST]What was the amount of laps for the vehicle manufactured by honda with a grid of 9? Context: CREATE TABLE table_name_34 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT laps FROM table_name_34 WHERE manufacturer = "honda" AND grid = "9"</s> |
CREATE TABLE table_23248940_6 (record VARCHAR, game VARCHAR) | SELECT record FROM table_23248940_6 WHERE game = 11 | What is every record for game 11? | <s>[INST]What is every record for game 11? Context: CREATE TABLE table_23248940_6 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_23248940_6 WHERE game = 11</s> |
CREATE TABLE table_name_48 (model VARCHAR, a310 VARCHAR) | SELECT model FROM table_name_48 WHERE a310 = "1983" | What model is the A310 of 1983? | <s>[INST]What model is the A310 of 1983? Context: CREATE TABLE table_name_48 (model VARCHAR, a310 VARCHAR)[/INST]SELECT model FROM table_name_48 WHERE a310 = "1983"</s> |
CREATE TABLE table_name_21 (school VARCHAR, national_championships VARCHAR, nickname VARCHAR) | SELECT school FROM table_name_21 WHERE national_championships < 2 AND nickname = "lions" | Which school has National Championships smaller than 2, and a Nickname of lions? | <s>[INST]Which school has National Championships smaller than 2, and a Nickname of lions? Context: CREATE TABLE table_name_21 (school VARCHAR, national_championships VARCHAR, nickname VARCHAR)[/INST]SELECT school FROM table_name_21 WHERE national_championships < 2 AND nickname = "lions"</s> |
CREATE TABLE table_name_76 (played VARCHAR, try_bonus VARCHAR, drawn VARCHAR) | SELECT played FROM table_name_76 WHERE try_bonus = "6" AND drawn = "0" | Name the played with try bonus of 6 and drawn of 0 | <s>[INST]Name the played with try bonus of 6 and drawn of 0 Context: CREATE TABLE table_name_76 (played VARCHAR, try_bonus VARCHAR, drawn VARCHAR)[/INST]SELECT played FROM table_name_76 WHERE try_bonus = "6" AND drawn = "0"</s> |
CREATE TABLE table_name_78 (heat INTEGER, nationality VARCHAR, rank VARCHAR) | SELECT SUM(heat) FROM table_name_78 WHERE nationality = "guinea-bissau" AND rank < 33 | How many heats did Runners from Guinea-Bissau run, with rank higher than 33? | <s>[INST]How many heats did Runners from Guinea-Bissau run, with rank higher than 33? Context: CREATE TABLE table_name_78 (heat INTEGER, nationality VARCHAR, rank VARCHAR)[/INST]SELECT SUM(heat) FROM table_name_78 WHERE nationality = "guinea-bissau" AND rank < 33</s> |
CREATE TABLE roller_coaster (Speed VARCHAR, LENGTH VARCHAR) | SELECT Speed FROM roller_coaster ORDER BY LENGTH DESC LIMIT 1 | What are the speeds of the longest roller coaster? | <s>[INST]What are the speeds of the longest roller coaster? Context: CREATE TABLE roller_coaster (Speed VARCHAR, LENGTH VARCHAR)[/INST]SELECT Speed FROM roller_coaster ORDER BY LENGTH DESC LIMIT 1</s> |
CREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6 | How many gold(s) for teams with a total of 14, and over 6 bronze medals? | <s>[INST]How many gold(s) for teams with a total of 14, and over 6 bronze medals? Context: CREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6</s> |
CREATE TABLE table_name_13 (number_of_doses VARCHAR, vaccine VARCHAR) | SELECT number_of_doses FROM table_name_13 WHERE vaccine = "bacillus calmette-guérin" | How many doses for the bacillus calmette-guérin? | <s>[INST]How many doses for the bacillus calmette-guérin? Context: CREATE TABLE table_name_13 (number_of_doses VARCHAR, vaccine VARCHAR)[/INST]SELECT number_of_doses FROM table_name_13 WHERE vaccine = "bacillus calmette-guérin"</s> |
CREATE TABLE table_name_19 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR) | SELECT date_performed FROM table_name_19 WHERE scores_by_each_individual_judge = 10 + 10 + 10 = 30 AND main_contestant = "karanvir bohra" | What Date performed has a Scores by each individual judge of 10 + 10 + 10 = 30, and a Main contestant of karanvir bohra? | <s>[INST]What Date performed has a Scores by each individual judge of 10 + 10 + 10 = 30, and a Main contestant of karanvir bohra? Context: CREATE TABLE table_name_19 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)[/INST]SELECT date_performed FROM table_name_19 WHERE scores_by_... |
CREATE TABLE table_name_22 (title VARCHAR, others VARCHAR, genre VARCHAR) | SELECT title FROM table_name_22 WHERE others = "amstrad cpc" AND genre = "arcade" | Which Title has Others of amstrad cpc, and a Genre of arcade? | <s>[INST]Which Title has Others of amstrad cpc, and a Genre of arcade? Context: CREATE TABLE table_name_22 (title VARCHAR, others VARCHAR, genre VARCHAR)[/INST]SELECT title FROM table_name_22 WHERE others = "amstrad cpc" AND genre = "arcade"</s> |
CREATE TABLE table_23286112_8 (game INTEGER, date VARCHAR) | SELECT MIN(game) FROM table_23286112_8 WHERE date = "January 29" | Name the least game for january 29 | <s>[INST]Name the least game for january 29 Context: CREATE TABLE table_23286112_8 (game INTEGER, date VARCHAR)[/INST]SELECT MIN(game) FROM table_23286112_8 WHERE date = "January 29"</s> |
CREATE TABLE table_name_4 (draws INTEGER, against VARCHAR, wins VARCHAR, losses VARCHAR) | SELECT MIN(draws) FROM table_name_4 WHERE wins < 4 AND losses = 14 AND against > 1836 | What is the lowest draw that has less than 4 wins, 14 losses, and against more than 1836? | <s>[INST]What is the lowest draw that has less than 4 wins, 14 losses, and against more than 1836? Context: CREATE TABLE table_name_4 (draws INTEGER, against VARCHAR, wins VARCHAR, losses VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_4 WHERE wins < 4 AND losses = 14 AND against > 1836</s> |
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR) | SELECT park FROM table_2665085_1 WHERE name = "Boardwalk Bullet" | What park is Boardwalk Bullet located in? | <s>[INST]What park is Boardwalk Bullet located in? Context: CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR)[/INST]SELECT park FROM table_2665085_1 WHERE name = "Boardwalk Bullet"</s> |
CREATE TABLE table_name_89 (population_estimate_2005 INTEGER, area__km_2__ VARCHAR) | SELECT AVG(population_estimate_2005) FROM table_name_89 WHERE area__km_2__ = 3 OFFSET 034.08 | what is the population estimate 2005 for the with the area (km2) 3,034.08? | <s>[INST]what is the population estimate 2005 for the with the area (km2) 3,034.08? Context: CREATE TABLE table_name_89 (population_estimate_2005 INTEGER, area__km_2__ VARCHAR)[/INST]SELECT AVG(population_estimate_2005) FROM table_name_89 WHERE area__km_2__ = 3 OFFSET 034.08</s> |
CREATE TABLE table_name_30 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_30 WHERE venue = "victoria park" | What team plays their home games in Victoria Park? | <s>[INST]What team plays their home games in Victoria Park? Context: CREATE TABLE table_name_30 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_30 WHERE venue = "victoria park"</s> |
CREATE TABLE table_17628022_2 (pregame_host VARCHAR, sideline_reporters VARCHAR) | SELECT pregame_host FROM table_17628022_2 WHERE sideline_reporters = "Steve Armitage and Brenda Irving" | Who were the pregame hosts when the sideline reporters were Steve Armitage and Brenda Irving? | <s>[INST]Who were the pregame hosts when the sideline reporters were Steve Armitage and Brenda Irving? Context: CREATE TABLE table_17628022_2 (pregame_host VARCHAR, sideline_reporters VARCHAR)[/INST]SELECT pregame_host FROM table_17628022_2 WHERE sideline_reporters = "Steve Armitage and Brenda Irving"</s> |
CREATE TABLE table_name_5 (record VARCHAR, result VARCHAR) | SELECT record FROM table_name_5 WHERE result = "w 52–43" | What is the record when the result was w 52–43? | <s>[INST]What is the record when the result was w 52–43? Context: CREATE TABLE table_name_5 (record VARCHAR, result VARCHAR)[/INST]SELECT record FROM table_name_5 WHERE result = "w 52–43"</s> |
CREATE TABLE table_22810095_8 (moving_from VARCHAR, name VARCHAR) | SELECT moving_from FROM table_22810095_8 WHERE name = "Kisnorbo" | Where did Kisnorbo move from? | <s>[INST]Where did Kisnorbo move from? Context: CREATE TABLE table_22810095_8 (moving_from VARCHAR, name VARCHAR)[/INST]SELECT moving_from FROM table_22810095_8 WHERE name = "Kisnorbo"</s> |
CREATE TABLE table_name_36 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_name_36 WHERE film_title_used_in_nomination = "keep smiling" | What was the original title for the film used in nomination of keep smiling? | <s>[INST]What was the original title for the film used in nomination of keep smiling? Context: CREATE TABLE table_name_36 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_name_36 WHERE film_title_used_in_nomination = "keep smiling"</s> |
CREATE TABLE table_11677691_10 (hometown VARCHAR, school VARCHAR) | SELECT hometown FROM table_11677691_10 WHERE school = "Muscle Shoals High school" | What town is Muscle Shoals High School located in? | <s>[INST]What town is Muscle Shoals High School located in? Context: CREATE TABLE table_11677691_10 (hometown VARCHAR, school VARCHAR)[/INST]SELECT hometown FROM table_11677691_10 WHERE school = "Muscle Shoals High school"</s> |
CREATE TABLE table_name_55 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_55 WHERE opponent = "vs. hamilton tiger cats" | Can you tell me the Record that has the Opponent of vs. hamilton tiger cats? | <s>[INST]Can you tell me the Record that has the Opponent of vs. hamilton tiger cats? Context: CREATE TABLE table_name_55 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_55 WHERE opponent = "vs. hamilton tiger cats"</s> |
CREATE TABLE table_name_9 (best_score INTEGER, worst_dancer VARCHAR, worst_score VARCHAR) | SELECT MIN(best_score) FROM table_name_9 WHERE worst_dancer = "leeza gibbons" AND worst_score < 15 | What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15? | <s>[INST]What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15? Context: CREATE TABLE table_name_9 (best_score INTEGER, worst_dancer VARCHAR, worst_score VARCHAR)[/INST]SELECT MIN(best_score) FROM table_name_9 WHERE worst_dancer = "leeza gibbons" AND worst_score < 15</s> |
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR) | SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club" | How many members does the club "Tennis Club" has? | <s>[INST]How many members does the club "Tennis Club" has? Context: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)[/INST]SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN studen... |
CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR) | SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs" | What is Affiliation, when Nickname is Bulldogs? | <s>[INST]What is Affiliation, when Nickname is Bulldogs? Context: CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR)[/INST]SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs"</s> |
CREATE TABLE table_name_79 (word_form VARCHAR, ala_lc VARCHAR) | SELECT word_form FROM table_name_79 WHERE ala_lc = "muay bân" | What is the word form for the ALA-LC transliteration of muay bân? | <s>[INST]What is the word form for the ALA-LC transliteration of muay bân? Context: CREATE TABLE table_name_79 (word_form VARCHAR, ala_lc VARCHAR)[/INST]SELECT word_form FROM table_name_79 WHERE ala_lc = "muay bân"</s> |
CREATE TABLE table_15463188_7 (name VARCHAR, school_club_team VARCHAR) | SELECT name FROM table_15463188_7 WHERE school_club_team = "San Beda" | Name the name for san beda | <s>[INST]Name the name for san beda Context: CREATE TABLE table_15463188_7 (name VARCHAR, school_club_team VARCHAR)[/INST]SELECT name FROM table_15463188_7 WHERE school_club_team = "San Beda"</s> |
CREATE TABLE table_name_93 (week VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_93 WHERE opponent = "minnesota vikings" AND attendance < 68 OFFSET 431 | For the 1967 Cleveland Browns season what is the total number of times they played the Minnesota Vikings and had an atttendance smaller than 68,431? | <s>[INST]For the 1967 Cleveland Browns season what is the total number of times they played the Minnesota Vikings and had an atttendance smaller than 68,431? Context: CREATE TABLE table_name_93 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_93 WHERE opponent = "minnesota v... |
CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_11 WHERE record = "27–21–13" | What is the Date of the game with a Record of 27–21–13? | <s>[INST]What is the Date of the game with a Record of 27–21–13? Context: CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_11 WHERE record = "27–21–13"</s> |
CREATE TABLE table_name_30 (language_rebroadcast VARCHAR, branding VARCHAR) | SELECT language_rebroadcast FROM table_name_30 WHERE branding = "cbc radio one" | what is the language/rebroadcast for cbc radio one? | <s>[INST]what is the language/rebroadcast for cbc radio one? Context: CREATE TABLE table_name_30 (language_rebroadcast VARCHAR, branding VARCHAR)[/INST]SELECT language_rebroadcast FROM table_name_30 WHERE branding = "cbc radio one"</s> |
CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_1 WHERE venue = "lake oval" | How many people watched the game at Lake Oval? | <s>[INST]How many people watched the game at Lake Oval? Context: CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_1 WHERE venue = "lake oval"</s> |
CREATE TABLE table_name_43 (competition_finish VARCHAR, total VARCHAR, rank_by_average VARCHAR) | SELECT COUNT(competition_finish) FROM table_name_43 WHERE total = 90 AND rank_by_average > 5 | Name the total number of competition finish with total of 90 and rank by average more than 5 | <s>[INST]Name the total number of competition finish with total of 90 and rank by average more than 5 Context: CREATE TABLE table_name_43 (competition_finish VARCHAR, total VARCHAR, rank_by_average VARCHAR)[/INST]SELECT COUNT(competition_finish) FROM table_name_43 WHERE total = 90 AND rank_by_average > 5</s> |
CREATE TABLE table_name_16 (mountain_peak VARCHAR, rank VARCHAR, location VARCHAR) | SELECT mountain_peak FROM table_name_16 WHERE rank < 6 AND location = "81.9083°n 75.0250°w" | Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w | <s>[INST]Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w Context: CREATE TABLE table_name_16 (mountain_peak VARCHAR, rank VARCHAR, location VARCHAR)[/INST]SELECT mountain_peak FROM table_name_16 WHERE rank < 6 AND location = "81.9083°n 75.0250°w"</s> |
CREATE TABLE table_1499774_5 (english_gloss VARCHAR, northern_lakota VARCHAR) | SELECT COUNT(english_gloss) FROM table_1499774_5 WHERE northern_lakota = "wakȟáŋyeža" | Name the number of english gloss for wakȟáŋyeža | <s>[INST]Name the number of english gloss for wakȟáŋyeža Context: CREATE TABLE table_1499774_5 (english_gloss VARCHAR, northern_lakota VARCHAR)[/INST]SELECT COUNT(english_gloss) FROM table_1499774_5 WHERE northern_lakota = "wakȟáŋyeža"</s> |
CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_10 WHERE score = "7–5" | What is the record for the game with a score of 7–5? | <s>[INST]What is the record for the game with a score of 7–5? Context: CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_10 WHERE score = "7–5"</s> |
CREATE TABLE table_name_47 (year_built INTEGER, last_refurbished INTEGER) | SELECT MIN(year_built) FROM table_name_47 WHERE last_refurbished < 2013 | What is the earliest year built for the ship refurbished earlier than 2013? | <s>[INST]What is the earliest year built for the ship refurbished earlier than 2013? Context: CREATE TABLE table_name_47 (year_built INTEGER, last_refurbished INTEGER)[/INST]SELECT MIN(year_built) FROM table_name_47 WHERE last_refurbished < 2013</s> |
CREATE TABLE table_name_37 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_37 WHERE record = "16–14–6" | What was the score with a 16–14–6 record? | <s>[INST]What was the score with a 16–14–6 record? Context: CREATE TABLE table_name_37 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_37 WHERE record = "16–14–6"</s> |
CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR) | SELECT MIN(round) FROM table_name_18 WHERE opponent = "rolando delgado" | Name the lowest Round with Opponent of rolando delgado? | <s>[INST]Name the lowest Round with Opponent of rolando delgado? Context: CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)[/INST]SELECT MIN(round) FROM table_name_18 WHERE opponent = "rolando delgado"</s> |
CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR) | SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78 | I want the average for evening gown of 7.52 and swimsuit larger than 7.78 | <s>[INST]I want the average for evening gown of 7.52 and swimsuit larger than 7.78 Context: CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR)[/INST]SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.