context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_70 (career_win_loss VARCHAR) | SELECT career_win_loss FROM table_name_70 WHERE 2002 = "a" AND 2001 = "4r" | What is Career Win-Loss, when 2002 is "A", and when 2001 is "4R"? | <s>[INST]What is Career Win-Loss, when 2002 is "A", and when 2001 is "4R"? Context: CREATE TABLE table_name_70 (career_win_loss VARCHAR)[/INST]SELECT career_win_loss FROM table_name_70 WHERE 2002 = "a" AND 2001 = "4r"</s> |
CREATE TABLE table_21734764_1 (area__km²__2005 VARCHAR, administrative_division VARCHAR) | SELECT area__km²__2005 FROM table_21734764_1 WHERE administrative_division = "Cimahi City" | What is the area of cimahi city? | <s>[INST]What is the area of cimahi city? Context: CREATE TABLE table_21734764_1 (area__km²__2005 VARCHAR, administrative_division VARCHAR)[/INST]SELECT area__km²__2005 FROM table_21734764_1 WHERE administrative_division = "Cimahi City"</s> |
CREATE TABLE table_name_65 (team VARCHAR, high_points VARCHAR) | SELECT team FROM table_name_65 WHERE high_points = "west (20)" | What team had a high points of west (20)? | <s>[INST]What team had a high points of west (20)? Context: CREATE TABLE table_name_65 (team VARCHAR, high_points VARCHAR)[/INST]SELECT team FROM table_name_65 WHERE high_points = "west (20)"</s> |
CREATE TABLE table_1341568_44 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341568_44 WHERE incumbent = "Larry Combest" | What is Larry Combest's district? | <s>[INST]What is Larry Combest's district? Context: CREATE TABLE table_1341568_44 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341568_44 WHERE incumbent = "Larry Combest"</s> |
CREATE TABLE table_name_29 (tail_code VARCHAR, weapon_systems_officer VARCHAR) | SELECT tail_code FROM table_name_29 WHERE weapon_systems_officer = "capt charles b. debellevue" | Which Tail Code belongs to Weapon Systems Officer Capt Charles B. Debellevue? | <s>[INST]Which Tail Code belongs to Weapon Systems Officer Capt Charles B. Debellevue? Context: CREATE TABLE table_name_29 (tail_code VARCHAR, weapon_systems_officer VARCHAR)[/INST]SELECT tail_code FROM table_name_29 WHERE weapon_systems_officer = "capt charles b. debellevue"</s> |
CREATE TABLE table_name_64 (year INTEGER, champion VARCHAR) | SELECT AVG(year) FROM table_name_64 WHERE champion = "john mcenroe" | What year weas John McEnroe the champion? | <s>[INST]What year weas John McEnroe the champion? Context: CREATE TABLE table_name_64 (year INTEGER, champion VARCHAR)[/INST]SELECT AVG(year) FROM table_name_64 WHERE champion = "john mcenroe"</s> |
CREATE TABLE table_15162503_1 (description VARCHAR, viewers_selection VARCHAR) | SELECT description FROM table_15162503_1 WHERE viewers_selection = "Nan" | What was the description when the viewers selected Nan? | <s>[INST]What was the description when the viewers selected Nan? Context: CREATE TABLE table_15162503_1 (description VARCHAR, viewers_selection VARCHAR)[/INST]SELECT description FROM table_15162503_1 WHERE viewers_selection = "Nan"</s> |
CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_53 WHERE date = "november 14" | Who is the opponent on November 14? | <s>[INST]Who is the opponent on November 14? Context: CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_53 WHERE date = "november 14"</s> |
CREATE TABLE table_name_31 (drawn VARCHAR, try_bonus VARCHAR) | SELECT drawn FROM table_name_31 WHERE try_bonus = "16" | What is the drawn that has 16 as the trys bonus? | <s>[INST]What is the drawn that has 16 as the trys bonus? Context: CREATE TABLE table_name_31 (drawn VARCHAR, try_bonus VARCHAR)[/INST]SELECT drawn FROM table_name_31 WHERE try_bonus = "16"</s> |
CREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR) | SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine" | How many men from the Ukraine? | <s>[INST]How many men from the Ukraine? Context: CREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine"</s> |
CREATE TABLE table_28138035_32 (womens_doubles VARCHAR, womens_singles VARCHAR) | SELECT womens_doubles FROM table_28138035_32 WHERE womens_singles = "Ding Ning" | Who was the womens double winner when the womens singles winner was Ding Ning? | <s>[INST]Who was the womens double winner when the womens singles winner was Ding Ning? Context: CREATE TABLE table_28138035_32 (womens_doubles VARCHAR, womens_singles VARCHAR)[/INST]SELECT womens_doubles FROM table_28138035_32 WHERE womens_singles = "Ding Ning"</s> |
CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12" | Who were the candidates in districk Pennsylvania 12? | <s>[INST]Who were the candidates in districk Pennsylvania 12? Context: CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12"</s> |
CREATE TABLE table_name_63 (d_44 VARCHAR, d_46 VARCHAR) | SELECT d_44 FROM table_name_63 WHERE d_46 = "d 31" | Name the D 44 when it has a D 46 of d 31 | <s>[INST]Name the D 44 when it has a D 46 of d 31 Context: CREATE TABLE table_name_63 (d_44 VARCHAR, d_46 VARCHAR)[/INST]SELECT d_44 FROM table_name_63 WHERE d_46 = "d 31"</s> |
CREATE TABLE table_name_28 (game VARCHAR, result VARCHAR) | SELECT game FROM table_name_28 WHERE result = "86-87 (2-4)" | Result of 86-87 (2-4) is what game? | <s>[INST]Result of 86-87 (2-4) is what game? Context: CREATE TABLE table_name_28 (game VARCHAR, result VARCHAR)[/INST]SELECT game FROM table_name_28 WHERE result = "86-87 (2-4)"</s> |
CREATE TABLE table_name_11 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_11 WHERE score = 70 - 69 - 75 = 214 | What Player had a Score of 70-69-75=214? | <s>[INST]What Player had a Score of 70-69-75=214? Context: CREATE TABLE table_name_11 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_11 WHERE score = 70 - 69 - 75 = 214</s> |
CREATE TABLE table_name_44 (college VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_44 WHERE pick__number = "268" | What college is pick number 268 from? | <s>[INST]What college is pick number 268 from? Context: CREATE TABLE table_name_44 (college VARCHAR, pick__number VARCHAR)[/INST]SELECT college FROM table_name_44 WHERE pick__number = "268"</s> |
CREATE TABLE Genre (GenreID VARCHAR, Name VARCHAR); CREATE TABLE Track (AlbumId VARCHAR, GenreID VARCHAR); CREATE TABLE Album (Title VARCHAR, AlbumId VARCHAR) | SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock' | What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks? | <s>[INST]What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks? Context: CREATE TABLE Genre (GenreID VARCHAR, Name VARCHAR); CREATE TABLE Track (AlbumId VARCHAR, GenreID VARCHAR); CREATE TABLE Album (Title VARCHAR, AlbumId VARCHAR)[/INST]SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ... |
CREATE TABLE table_22583466_5 (race_caller VARCHAR, year VARCHAR) | SELECT race_caller FROM table_22583466_5 WHERE year = 1978 | Who called the race in 1978? | <s>[INST]Who called the race in 1978? Context: CREATE TABLE table_22583466_5 (race_caller VARCHAR, year VARCHAR)[/INST]SELECT race_caller FROM table_22583466_5 WHERE year = 1978</s> |
CREATE TABLE table_name_13 (event VARCHAR) | SELECT 2008 AS _09 FROM table_name_13 WHERE event = "autumn gold" | Which 2008–09 has an Event of autumn gold? | <s>[INST]Which 2008–09 has an Event of autumn gold? Context: CREATE TABLE table_name_13 (event VARCHAR)[/INST]SELECT 2008 AS _09 FROM table_name_13 WHERE event = "autumn gold"</s> |
CREATE TABLE election (Vote_Percent INTEGER) | SELECT MIN(Vote_Percent), MAX(Vote_Percent) FROM election | What are the minimum and maximum vote percents of elections? | <s>[INST]What are the minimum and maximum vote percents of elections? Context: CREATE TABLE election (Vote_Percent INTEGER)[/INST]SELECT MIN(Vote_Percent), MAX(Vote_Percent) FROM election</s> |
CREATE TABLE table_name_23 (score_1 VARCHAR, away_team VARCHAR) | SELECT score_1 FROM table_name_23 WHERE away_team = "portsmouth" | What was the score of the match in which Portsmouth was the Away team? | <s>[INST]What was the score of the match in which Portsmouth was the Away team? Context: CREATE TABLE table_name_23 (score_1 VARCHAR, away_team VARCHAR)[/INST]SELECT score_1 FROM table_name_23 WHERE away_team = "portsmouth"</s> |
CREATE TABLE table_name_59 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_59 WHERE place = "t2" AND player = "mark james" | Which To par has a Place of t2, and a Player of mark james? | <s>[INST]Which To par has a Place of t2, and a Player of mark james? Context: CREATE TABLE table_name_59 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_59 WHERE place = "t2" AND player = "mark james"</s> |
CREATE TABLE table_name_71 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR) | SELECT socialist_workers_ticket FROM table_name_71 WHERE republican_ticket = "malcolm wilson" | What socialist workers ticket has malcolm wilson as the Republican ticket? | <s>[INST]What socialist workers ticket has malcolm wilson as the Republican ticket? Context: CREATE TABLE table_name_71 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)[/INST]SELECT socialist_workers_ticket FROM table_name_71 WHERE republican_ticket = "malcolm wilson"</s> |
CREATE TABLE table_name_75 (model VARCHAR, sail_area VARCHAR) | SELECT model FROM table_name_75 WHERE sail_area = "24.5 m²" | Which Model has a Sail Area of 24.5 m²? | <s>[INST]Which Model has a Sail Area of 24.5 m²? Context: CREATE TABLE table_name_75 (model VARCHAR, sail_area VARCHAR)[/INST]SELECT model FROM table_name_75 WHERE sail_area = "24.5 m²"</s> |
CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR) | SELECT role FROM table_name_78 WHERE closing_broadway_cast = "adam grupper" | Which role had a closing broadway cast of Adam Grupper? | <s>[INST]Which role had a closing broadway cast of Adam Grupper? Context: CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR)[/INST]SELECT role FROM table_name_78 WHERE closing_broadway_cast = "adam grupper"</s> |
CREATE TABLE table_2482547_5 (name VARCHAR, average VARCHAR) | SELECT name FROM table_2482547_5 WHERE average = "15.89" | What are the names of all the players with an average of 15.89? | <s>[INST]What are the names of all the players with an average of 15.89? Context: CREATE TABLE table_2482547_5 (name VARCHAR, average VARCHAR)[/INST]SELECT name FROM table_2482547_5 WHERE average = "15.89"</s> |
CREATE TABLE table_1342233_5 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1342233_5 WHERE district = "Arkansas 4" | How many were first elected in the Arkansas 4 district? | <s>[INST]How many were first elected in the Arkansas 4 district? Context: CREATE TABLE table_1342233_5 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1342233_5 WHERE district = "Arkansas 4"</s> |
CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR) | SELECT COUNT(current_status) FROM table_1353096_2 WHERE station = "WJW-TV ++" | How many entries are listed under "current status" for the WJW-TV ++ Station? | <s>[INST]How many entries are listed under "current status" for the WJW-TV ++ Station? Context: CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)[/INST]SELECT COUNT(current_status) FROM table_1353096_2 WHERE station = "WJW-TV ++"</s> |
CREATE TABLE table_1342149_43 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342149_43 WHERE district = "Texas 3" | What was the result of the election in the Texas 3 district? | <s>[INST]What was the result of the election in the Texas 3 district? Context: CREATE TABLE table_1342149_43 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1342149_43 WHERE district = "Texas 3"</s> |
CREATE TABLE table_name_41 (ties VARCHAR, season VARCHAR, losses VARCHAR, wins VARCHAR, games VARCHAR) | SELECT COUNT(ties) FROM table_name_41 WHERE wins < 1 AND games = 6 AND losses = 6 AND season > 1941 | How many Ties have Wins smaller than 1, and Games of 6, and Losses of 6, and a Season larger than 1941? | <s>[INST]How many Ties have Wins smaller than 1, and Games of 6, and Losses of 6, and a Season larger than 1941? Context: CREATE TABLE table_name_41 (ties VARCHAR, season VARCHAR, losses VARCHAR, wins VARCHAR, games VARCHAR)[/INST]SELECT COUNT(ties) FROM table_name_41 WHERE wins < 1 AND games = 6 AND losses = 6 AND sea... |
CREATE TABLE table_28979895_4 (partner VARCHAR, score VARCHAR) | SELECT partner FROM table_28979895_4 WHERE score = "w/o" | Name the parter for w/o | <s>[INST]Name the parter for w/o Context: CREATE TABLE table_28979895_4 (partner VARCHAR, score VARCHAR)[/INST]SELECT partner FROM table_28979895_4 WHERE score = "w/o"</s> |
CREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341884_23 WHERE district = "Massachusetts 8" | Name the candidates for massachusetts 8 | <s>[INST]Name the candidates for massachusetts 8 Context: CREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1341884_23 WHERE district = "Massachusetts 8"</s> |
CREATE TABLE table_name_93 (points INTEGER, team VARCHAR, rank VARCHAR) | SELECT SUM(points) FROM table_name_93 WHERE team = "repsol honda" AND rank = "8th" | What is the sum of the points when Carlos drove for repsol honda in 8th place? | <s>[INST]What is the sum of the points when Carlos drove for repsol honda in 8th place? Context: CREATE TABLE table_name_93 (points INTEGER, team VARCHAR, rank VARCHAR)[/INST]SELECT SUM(points) FROM table_name_93 WHERE team = "repsol honda" AND rank = "8th"</s> |
CREATE TABLE table_name_80 (points VARCHAR, score VARCHAR) | SELECT COUNT(points) FROM table_name_80 WHERE score = "3–0" | How many Points have a Score of 3–0? | <s>[INST]How many Points have a Score of 3–0? Context: CREATE TABLE table_name_80 (points VARCHAR, score VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_80 WHERE score = "3–0"</s> |
CREATE TABLE table_23705843_1 (original_air_date VARCHAR, ratings__millions_ VARCHAR) | SELECT original_air_date FROM table_23705843_1 WHERE ratings__millions_ = "1.92" | What is the original air date if the ratings is 1.92 million? | <s>[INST]What is the original air date if the ratings is 1.92 million? Context: CREATE TABLE table_23705843_1 (original_air_date VARCHAR, ratings__millions_ VARCHAR)[/INST]SELECT original_air_date FROM table_23705843_1 WHERE ratings__millions_ = "1.92"</s> |
CREATE TABLE table_11677691_9 (school VARCHAR, hometown VARCHAR) | SELECT school FROM table_11677691_9 WHERE hometown = "Centerville, Ohio" | Which school is located in the hometown of Centerville, Ohio? | <s>[INST]Which school is located in the hometown of Centerville, Ohio? Context: CREATE TABLE table_11677691_9 (school VARCHAR, hometown VARCHAR)[/INST]SELECT school FROM table_11677691_9 WHERE hometown = "Centerville, Ohio"</s> |
CREATE TABLE table_name_5 (round INTEGER, school VARCHAR) | SELECT AVG(round) FROM table_name_5 WHERE school = "xavier" | What wss the average round drafted for xavier players? | <s>[INST]What wss the average round drafted for xavier players? Context: CREATE TABLE table_name_5 (round INTEGER, school VARCHAR)[/INST]SELECT AVG(round) FROM table_name_5 WHERE school = "xavier"</s> |
CREATE TABLE basketball_match (All_Games VARCHAR, school_id VARCHAR); CREATE TABLE university (location VARCHAR, school_id VARCHAR) | SELECT t2.All_Games, t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE team_name = 'Clemson' | Find the location and all games score of the school that has Clemson as its team name. | <s>[INST]Find the location and all games score of the school that has Clemson as its team name. Context: CREATE TABLE basketball_match (All_Games VARCHAR, school_id VARCHAR); CREATE TABLE university (location VARCHAR, school_id VARCHAR)[/INST]SELECT t2.All_Games, t1.location FROM university AS t1 JOIN basketball_match ... |
CREATE TABLE table_name_60 (round INTEGER, college_junior_club_team__league_ VARCHAR) | SELECT MAX(round) FROM table_name_60 WHERE college_junior_club_team__league_ = "minnesota junior stars (mjhl)" | What is the highest round for the Minnesota Junior Stars (Mjhl)? | <s>[INST]What is the highest round for the Minnesota Junior Stars (Mjhl)? Context: CREATE TABLE table_name_60 (round INTEGER, college_junior_club_team__league_ VARCHAR)[/INST]SELECT MAX(round) FROM table_name_60 WHERE college_junior_club_team__league_ = "minnesota junior stars (mjhl)"</s> |
CREATE TABLE table_18102421_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_18102421_2 WHERE us_viewers__millions_ = "13.82" | What was the title of the episode that had 13.82 million U.S. viewers? | <s>[INST]What was the title of the episode that had 13.82 million U.S. viewers? Context: CREATE TABLE table_18102421_2 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_18102421_2 WHERE us_viewers__millions_ = "13.82"</s> |
CREATE TABLE table_name_71 (rank INTEGER, player VARCHAR, wickets VARCHAR) | SELECT SUM(rank) FROM table_name_71 WHERE player = "delyone borden" AND wickets > 15 | What is the total rank for player Delyone Borden with more than 15 wickets? | <s>[INST]What is the total rank for player Delyone Borden with more than 15 wickets? Context: CREATE TABLE table_name_71 (rank INTEGER, player VARCHAR, wickets VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_71 WHERE player = "delyone borden" AND wickets > 15</s> |
CREATE TABLE table_name_78 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_78 WHERE result = "l 17–24" | Who was the Opponent with a Result of l 17–24? | <s>[INST]Who was the Opponent with a Result of l 17–24? Context: CREATE TABLE table_name_78 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_78 WHERE result = "l 17–24"</s> |
CREATE TABLE table_19651669_1 (finalist VARCHAR, season VARCHAR) | SELECT finalist FROM table_19651669_1 WHERE season = "2007-08" | Who was the finalist in the season 2007-08? | <s>[INST]Who was the finalist in the season 2007-08? Context: CREATE TABLE table_19651669_1 (finalist VARCHAR, season VARCHAR)[/INST]SELECT finalist FROM table_19651669_1 WHERE season = "2007-08"</s> |
CREATE TABLE table_name_19 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_19 WHERE total = 8 AND bronze > 4 | What is the gold number when the total is 8 and bronze is more than 4? | <s>[INST]What is the gold number when the total is 8 and bronze is more than 4? Context: CREATE TABLE table_name_19 (gold INTEGER, total VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_19 WHERE total = 8 AND bronze > 4</s> |
CREATE TABLE table_name_70 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_70 WHERE record = "92–70" | Record of 92–70 had what date? | <s>[INST]Record of 92–70 had what date? Context: CREATE TABLE table_name_70 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE record = "92–70"</s> |
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR) | SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp" | Name the number for fifth district for richard houskamp | <s>[INST]Name the number for fifth district for richard houskamp Context: CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)[/INST]SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp"</s> |
CREATE TABLE table_1672976_2 (wins INTEGER, institution VARCHAR) | SELECT MAX(wins) FROM table_1672976_2 WHERE institution = "Northwestern Wildcats" | How many wins did the Northwestern Wildcats? | <s>[INST]How many wins did the Northwestern Wildcats? Context: CREATE TABLE table_1672976_2 (wins INTEGER, institution VARCHAR)[/INST]SELECT MAX(wins) FROM table_1672976_2 WHERE institution = "Northwestern Wildcats"</s> |
CREATE TABLE table_name_57 (density VARCHAR, population INTEGER) | SELECT COUNT(density) FROM table_name_57 WHERE population > 393 OFFSET 390 | What's the total number of density for the place with a population over 393,390? | <s>[INST]What's the total number of density for the place with a population over 393,390? Context: CREATE TABLE table_name_57 (density VARCHAR, population INTEGER)[/INST]SELECT COUNT(density) FROM table_name_57 WHERE population > 393 OFFSET 390</s> |
CREATE TABLE table_name_67 (source VARCHAR, cartridge VARCHAR) | SELECT source FROM table_name_67 WHERE cartridge = ".375 remington ultra magnum" | What is Source, when Cartridge is .375 remington ultra magnum? | <s>[INST]What is Source, when Cartridge is .375 remington ultra magnum? Context: CREATE TABLE table_name_67 (source VARCHAR, cartridge VARCHAR)[/INST]SELECT source FROM table_name_67 WHERE cartridge = ".375 remington ultra magnum"</s> |
CREATE TABLE stay (patient VARCHAR, room VARCHAR, staystart VARCHAR) | SELECT patient FROM stay WHERE room = 111 ORDER BY staystart DESC LIMIT 1 | Find the patient who most recently stayed in room 111. | <s>[INST]Find the patient who most recently stayed in room 111. Context: CREATE TABLE stay (patient VARCHAR, room VARCHAR, staystart VARCHAR)[/INST]SELECT patient FROM stay WHERE room = 111 ORDER BY staystart DESC LIMIT 1</s> |
CREATE TABLE table_10874596_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director FROM table_10874596_1 WHERE film_title_used_in_nomination = "Young Törless" | Who were the directors of the film submitted with the title Young Törless? | <s>[INST]Who were the directors of the film submitted with the title Young Törless? Context: CREATE TABLE table_10874596_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT director FROM table_10874596_1 WHERE film_title_used_in_nomination = "Young Törless"</s> |
CREATE TABLE table_name_99 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_99 WHERE attendance = "31,178" | Which score has an Attendance of 31,178? | <s>[INST]Which score has an Attendance of 31,178? Context: CREATE TABLE table_name_99 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_99 WHERE attendance = "31,178"</s> |
CREATE TABLE table_name_28 (country VARCHAR, territory VARCHAR) | SELECT country FROM table_name_28 WHERE territory = "french guiana" | What country has a territory of French Guiana? | <s>[INST]What country has a territory of French Guiana? Context: CREATE TABLE table_name_28 (country VARCHAR, territory VARCHAR)[/INST]SELECT country FROM table_name_28 WHERE territory = "french guiana"</s> |
CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR) | SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4–3" | Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3? | <s>[INST]Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3? Context: CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)[/INST]SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4–3"</s> |
CREATE TABLE table_name_37 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_37 WHERE venue = "princes park" | What was the away teams score at Princes Park? | <s>[INST]What was the away teams score at Princes Park? Context: CREATE TABLE table_name_37 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_37 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_12 (money___ INTEGER, score VARCHAR) | SELECT SUM(money___) AS $__ FROM table_name_12 WHERE score = 75 - 71 - 75 - 72 = 293 | What is the monetary sum with a score of 75-71-75-72=293? | <s>[INST]What is the monetary sum with a score of 75-71-75-72=293? Context: CREATE TABLE table_name_12 (money___ INTEGER, score VARCHAR)[/INST]SELECT SUM(money___) AS $__ FROM table_name_12 WHERE score = 75 - 71 - 75 - 72 = 293</s> |
CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_1 WHERE date = "july 24" | What was the Result on July 24? | <s>[INST]What was the Result on July 24? Context: CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_1 WHERE date = "july 24"</s> |
CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_9 WHERE year_s__won = "1983" | From which country was the player whose year(s) won was 1983? | <s>[INST]From which country was the player whose year(s) won was 1983? Context: CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR)[/INST]SELECT country FROM table_name_9 WHERE year_s__won = "1983"</s> |
CREATE TABLE table_name_25 (year INTEGER, winner VARCHAR, score VARCHAR) | SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270 | What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270? | <s>[INST]What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270? Context: CREATE TABLE table_name_25 (year INTEGER, winner VARCHAR, score VARCHAR)[/INST]SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270</s> |
CREATE TABLE table_name_51 (winner VARCHAR, circuit VARCHAR) | SELECT winner FROM table_name_51 WHERE circuit = "winton motor raceway" | Who was the winner for the Winton Motor Raceway circuit? | <s>[INST]Who was the winner for the Winton Motor Raceway circuit? Context: CREATE TABLE table_name_51 (winner VARCHAR, circuit VARCHAR)[/INST]SELECT winner FROM table_name_51 WHERE circuit = "winton motor raceway"</s> |
CREATE TABLE table_16527640_3 (location VARCHAR, vfl_games VARCHAR) | SELECT location FROM table_16527640_3 WHERE vfl_games = 9 | What location had a VFL Game number of 9? | <s>[INST]What location had a VFL Game number of 9? Context: CREATE TABLE table_16527640_3 (location VARCHAR, vfl_games VARCHAR)[/INST]SELECT location FROM table_16527640_3 WHERE vfl_games = 9</s> |
CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR) | SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West" | What is the highest episode# with the writer Paul West? | <s>[INST]What is the highest episode# with the writer Paul West? Context: CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR)[/INST]SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West"</s> |
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_59 WHERE venue = "moorabbin oval" | When was the game played at Moorabbin Oval? | <s>[INST]When was the game played at Moorabbin Oval? Context: CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_59 WHERE venue = "moorabbin oval"</s> |
CREATE TABLE table_name_39 (surface VARCHAR, opponents VARCHAR) | SELECT surface FROM table_name_39 WHERE opponents = "daniel nestor sandon stolle" | What is Surface, when Opponents is "Daniel Nestor Sandon Stolle"? | <s>[INST]What is Surface, when Opponents is "Daniel Nestor Sandon Stolle"? Context: CREATE TABLE table_name_39 (surface VARCHAR, opponents VARCHAR)[/INST]SELECT surface FROM table_name_39 WHERE opponents = "daniel nestor sandon stolle"</s> |
CREATE TABLE table_11642945_1 (total_no VARCHAR, original_air_date VARCHAR) | SELECT total_no FROM table_11642945_1 WHERE original_air_date = "29November2007" | The original air date of 29November2007 has what total no.? | <s>[INST]The original air date of 29November2007 has what total no.? Context: CREATE TABLE table_11642945_1 (total_no VARCHAR, original_air_date VARCHAR)[/INST]SELECT total_no FROM table_11642945_1 WHERE original_air_date = "29November2007"</s> |
CREATE TABLE table_name_68 (opponent VARCHAR, round VARCHAR, method VARCHAR) | SELECT opponent FROM table_name_68 WHERE round = "3" AND method = "decision" | Who has a round of 3 with a method of decision? | <s>[INST]Who has a round of 3 with a method of decision? Context: CREATE TABLE table_name_68 (opponent VARCHAR, round VARCHAR, method VARCHAR)[/INST]SELECT opponent FROM table_name_68 WHERE round = "3" AND method = "decision"</s> |
CREATE TABLE Student (advisor VARCHAR) | SELECT advisor FROM Student GROUP BY advisor ORDER BY COUNT(*) DESC LIMIT 1 | Which advisor has most number of students? | <s>[INST]Which advisor has most number of students? Context: CREATE TABLE Student (advisor VARCHAR)[/INST]SELECT advisor FROM Student GROUP BY advisor ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_64 (week VARCHAR, date VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_64 WHERE date = "november 30, 1958" AND attendance > 33 OFFSET 240 | What is the Week number on November 30, 1958 with more than 33,240 in Attendance? | <s>[INST]What is the Week number on November 30, 1958 with more than 33,240 in Attendance? Context: CREATE TABLE table_name_64 (week VARCHAR, date VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_64 WHERE date = "november 30, 1958" AND attendance > 33 OFFSET 240</s> |
CREATE TABLE table_name_11 (record VARCHAR, year INTEGER) | SELECT record FROM table_name_11 WHERE year > 2012 | What Record has a Year that's larger than 2012? | <s>[INST]What Record has a Year that's larger than 2012? Context: CREATE TABLE table_name_11 (record VARCHAR, year INTEGER)[/INST]SELECT record FROM table_name_11 WHERE year > 2012</s> |
CREATE TABLE table_24062944_2 (world_record VARCHAR, kenenisa_bekele___eth__ VARCHAR) | SELECT COUNT(world_record) FROM table_24062944_2 WHERE kenenisa_bekele___eth__ = "Marílson Gomes dos Santos ( BRA )" | How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )? | <s>[INST]How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )? Context: CREATE TABLE table_24062944_2 (world_record VARCHAR, kenenisa_bekele___eth__ VARCHAR)[/INST]SELECT COUNT(world_record) FROM table_24062944_2 WHERE kenenisa_bekele___eth__ = "Marílson Gomes dos Santos ( BRA )"</s> |
CREATE TABLE table_name_71 (launch_site VARCHAR, cospar_id_satcat_№ VARCHAR) | SELECT launch_site FROM table_name_71 WHERE cospar_id_satcat_№ = "2003-041a" | What is the launch site of the satellite with a 2003-041a COSPAR ID? | <s>[INST]What is the launch site of the satellite with a 2003-041a COSPAR ID? Context: CREATE TABLE table_name_71 (launch_site VARCHAR, cospar_id_satcat_№ VARCHAR)[/INST]SELECT launch_site FROM table_name_71 WHERE cospar_id_satcat_№ = "2003-041a"</s> |
CREATE TABLE table_name_22 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_22 WHERE event = "tfc 21" | Name the time for event of tfc 21 | <s>[INST]Name the time for event of tfc 21 Context: CREATE TABLE table_name_22 (time VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_22 WHERE event = "tfc 21"</s> |
CREATE TABLE table_name_16 (pommel_horse VARCHAR, rings VARCHAR, total VARCHAR) | SELECT COUNT(pommel_horse) FROM table_name_16 WHERE rings = 37.461 AND total < 229.507 | How many pommel Horses have Rings of 37.461, and a Total smaller than 229.507? | <s>[INST]How many pommel Horses have Rings of 37.461, and a Total smaller than 229.507? Context: CREATE TABLE table_name_16 (pommel_horse VARCHAR, rings VARCHAR, total VARCHAR)[/INST]SELECT COUNT(pommel_horse) FROM table_name_16 WHERE rings = 37.461 AND total < 229.507</s> |
CREATE TABLE table_name_61 (Birth VARCHAR, start_of_reign VARCHAR) | SELECT Birth AS name FROM table_name_61 WHERE start_of_reign = 1986 | What is the date of birth of the person who started their reign in 1986? | <s>[INST]What is the date of birth of the person who started their reign in 1986? Context: CREATE TABLE table_name_61 (Birth VARCHAR, start_of_reign VARCHAR)[/INST]SELECT Birth AS name FROM table_name_61 WHERE start_of_reign = 1986</s> |
CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR) | SELECT MIN(rank) FROM table_name_59 WHERE country = "united states" AND wins < 3 | Who is the lowest ranked player from the United States that has less than 3 Wins? | <s>[INST]Who is the lowest ranked player from the United States that has less than 3 Wins? Context: CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_59 WHERE country = "united states" AND wins < 3</s> |
CREATE TABLE table_name_59 (locomotive VARCHAR, operator VARCHAR, entered_service VARCHAR) | SELECT locomotive FROM table_name_59 WHERE operator = "southern shorthaul railroad" AND entered_service = "november 1984" | Which Locomotive Entered Service in November 1984 and has an Operator of Southern Shorthaul Railroad? | <s>[INST]Which Locomotive Entered Service in November 1984 and has an Operator of Southern Shorthaul Railroad? Context: CREATE TABLE table_name_59 (locomotive VARCHAR, operator VARCHAR, entered_service VARCHAR)[/INST]SELECT locomotive FROM table_name_59 WHERE operator = "southern shorthaul railroad" AND entered_service... |
CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR) | SELECT location_attendance FROM table_17288825_7 WHERE high_assists = "Rafer Alston (10)" | At what location and what was the attendance when Rafer Alston (10) achieved high assists? | <s>[INST]At what location and what was the attendance when Rafer Alston (10) achieved high assists? Context: CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR)[/INST]SELECT location_attendance FROM table_17288825_7 WHERE high_assists = "Rafer Alston (10)"</s> |
CREATE TABLE table_name_96 (city VARCHAR, country VARCHAR) | SELECT city FROM table_name_96 WHERE country = "netherlands" | what is the city for the country of netherlands? | <s>[INST]what is the city for the country of netherlands? Context: CREATE TABLE table_name_96 (city VARCHAR, country VARCHAR)[/INST]SELECT city FROM table_name_96 WHERE country = "netherlands"</s> |
CREATE TABLE table_name_77 (events INTEGER, top_10 VARCHAR, wins VARCHAR) | SELECT MIN(events) FROM table_name_77 WHERE top_10 > 1 AND wins > 0 | What is the lowest number of events a tournament with more than 1 top-10 and more than 0 wins has? | <s>[INST]What is the lowest number of events a tournament with more than 1 top-10 and more than 0 wins has? Context: CREATE TABLE table_name_77 (events INTEGER, top_10 VARCHAR, wins VARCHAR)[/INST]SELECT MIN(events) FROM table_name_77 WHERE top_10 > 1 AND wins > 0</s> |
CREATE TABLE table_name_54 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_54 WHERE tries_against = "correct as of 2007-10-15" | tries against correct as of 2007-10-15 has what tries for? | <s>[INST]tries against correct as of 2007-10-15 has what tries for? Context: CREATE TABLE table_name_54 (tries_for VARCHAR, tries_against VARCHAR)[/INST]SELECT tries_for FROM table_name_54 WHERE tries_against = "correct as of 2007-10-15"</s> |
CREATE TABLE table_name_15 (draws INTEGER, against VARCHAR, wins VARCHAR) | SELECT AVG(draws) FROM table_name_15 WHERE against = 989 AND wins < 12 | What is th average dras when wins are less than 12 and the against is 989? | <s>[INST]What is th average dras when wins are less than 12 and the against is 989? Context: CREATE TABLE table_name_15 (draws INTEGER, against VARCHAR, wins VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_15 WHERE against = 989 AND wins < 12</s> |
CREATE TABLE table_name_62 (attendance INTEGER, week VARCHAR, opponent VARCHAR) | SELECT MAX(attendance) FROM table_name_62 WHERE week > 11 AND opponent = "washington redskins" | What was the attendance during the match that took place after week 11 against the washington redskins? | <s>[INST]What was the attendance during the match that took place after week 11 against the washington redskins? Context: CREATE TABLE table_name_62 (attendance INTEGER, week VARCHAR, opponent VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_62 WHERE week > 11 AND opponent = "washington redskins"</s> |
CREATE TABLE table_name_38 (date_of_appointment VARCHAR, team VARCHAR, replaced_by VARCHAR) | SELECT date_of_appointment FROM table_name_38 WHERE team = "aek" AND replaced_by = "christos kassianos" | What was the date of appointment for Christos Kassianos who belonged to AEK? | <s>[INST]What was the date of appointment for Christos Kassianos who belonged to AEK? Context: CREATE TABLE table_name_38 (date_of_appointment VARCHAR, team VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_appointment FROM table_name_38 WHERE team = "aek" AND replaced_by = "christos kassianos"</s> |
CREATE TABLE table_2622469_1 (starts VARCHAR, avg_finish VARCHAR) | SELECT COUNT(starts) FROM table_2622469_1 WHERE avg_finish = "17.9" | How many different starts had an average finish of 17.9? | <s>[INST]How many different starts had an average finish of 17.9? Context: CREATE TABLE table_2622469_1 (starts VARCHAR, avg_finish VARCHAR)[/INST]SELECT COUNT(starts) FROM table_2622469_1 WHERE avg_finish = "17.9"</s> |
CREATE TABLE table_name_68 (total_produced INTEGER, model VARCHAR) | SELECT MIN(total_produced) FROM table_name_68 WHERE model = "fm h-15-44" | Which is the smallest Total produced with a model of FM H-15-44? | <s>[INST]Which is the smallest Total produced with a model of FM H-15-44? Context: CREATE TABLE table_name_68 (total_produced INTEGER, model VARCHAR)[/INST]SELECT MIN(total_produced) FROM table_name_68 WHERE model = "fm h-15-44"</s> |
CREATE TABLE table_name_19 (english_title VARCHAR, director VARCHAR) | SELECT english_title FROM table_name_19 WHERE director = "george miller" | What is the English title for the film directed by George Miller? | <s>[INST]What is the English title for the film directed by George Miller? Context: CREATE TABLE table_name_19 (english_title VARCHAR, director VARCHAR)[/INST]SELECT english_title FROM table_name_19 WHERE director = "george miller"</s> |
CREATE TABLE table_name_60 (tournament VARCHAR) | SELECT 2012 FROM table_name_60 WHERE 2007 = "a" AND 2010 = "a" AND tournament = "canada masters" | What is the 2012 value with an A value in 2007 and A value in 2010 in the Canada Masters? | <s>[INST]What is the 2012 value with an A value in 2007 and A value in 2010 in the Canada Masters? Context: CREATE TABLE table_name_60 (tournament VARCHAR)[/INST]SELECT 2012 FROM table_name_60 WHERE 2007 = "a" AND 2010 = "a" AND tournament = "canada masters"</s> |
CREATE TABLE table_name_59 (year INTEGER, start INTEGER) | SELECT MAX(year) FROM table_name_59 WHERE start > 2 | Name the most year with start more than 2 | <s>[INST]Name the most year with start more than 2 Context: CREATE TABLE table_name_59 (year INTEGER, start INTEGER)[/INST]SELECT MAX(year) FROM table_name_59 WHERE start > 2</s> |
CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_38 WHERE tie_no = "7" | What away team has 7 as the tie no.? | <s>[INST]What away team has 7 as the tie no.? Context: CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_38 WHERE tie_no = "7"</s> |
CREATE TABLE table_name_18 (country VARCHAR, location VARCHAR) | SELECT country FROM table_name_18 WHERE location = "trestles" | What country was the game played in when the location was trestles? | <s>[INST]What country was the game played in when the location was trestles? Context: CREATE TABLE table_name_18 (country VARCHAR, location VARCHAR)[/INST]SELECT country FROM table_name_18 WHERE location = "trestles"</s> |
CREATE TABLE table_name_40 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_40 WHERE date = "october 2, 1966" | The game played on October 2, 1966 had what result? | <s>[INST]The game played on October 2, 1966 had what result? Context: CREATE TABLE table_name_40 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_40 WHERE date = "october 2, 1966"</s> |
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (storm_id VARCHAR, Number_Deaths VARCHAR) | SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id ORDER BY T3.Number_Deaths DESC LIMIT 1 | Find the names of the regions which were affected by the storm that killed the greatest number of people. | <s>[INST]Find the names of the regions which were affected by the storm that killed the greatest number of people. Context: CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (storm_id VARCHAR, Number_Deaths VARCHAR)[/INST... |
CREATE TABLE table_name_82 (finish VARCHAR, manager VARCHAR, record VARCHAR) | SELECT finish FROM table_name_82 WHERE manager = "tom kotchman" AND record = "43-33" | what is the finish when the manager is tom kotchman and record is 43-33? | <s>[INST]what is the finish when the manager is tom kotchman and record is 43-33? Context: CREATE TABLE table_name_82 (finish VARCHAR, manager VARCHAR, record VARCHAR)[/INST]SELECT finish FROM table_name_82 WHERE manager = "tom kotchman" AND record = "43-33"</s> |
CREATE TABLE table_name_18 (goals INTEGER, name VARCHAR, caps VARCHAR) | SELECT MAX(goals) FROM table_name_18 WHERE name = "gilmar" AND caps < 94 | Name of gilmar, and a Caps smaller than 94 had how many highest goals? | <s>[INST]Name of gilmar, and a Caps smaller than 94 had how many highest goals? Context: CREATE TABLE table_name_18 (goals INTEGER, name VARCHAR, caps VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_18 WHERE name = "gilmar" AND caps < 94</s> |
CREATE TABLE table_25594888_1 (race_number VARCHAR, yacht VARCHAR) | SELECT COUNT(race_number) FROM table_25594888_1 WHERE yacht = "Loki" | How many races was Loki in? | <s>[INST]How many races was Loki in? Context: CREATE TABLE table_25594888_1 (race_number VARCHAR, yacht VARCHAR)[/INST]SELECT COUNT(race_number) FROM table_25594888_1 WHERE yacht = "Loki"</s> |
CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_1013129_8 WHERE player = "Mike Loach" | Which NHL team has player Mike Loach? | <s>[INST]Which NHL team has player Mike Loach? Context: CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_1013129_8 WHERE player = "Mike Loach"</s> |
CREATE TABLE table_name_75 (to_par VARCHAR, finish VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_75 WHERE finish = "t3" AND player = "julius boros" | Which To par has a Finish of t3, and a Player of julius boros? | <s>[INST]Which To par has a Finish of t3, and a Player of julius boros? Context: CREATE TABLE table_name_75 (to_par VARCHAR, finish VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_75 WHERE finish = "t3" AND player = "julius boros"</s> |
CREATE TABLE table_26853172_1 (hand_number VARCHAR, player_1 VARCHAR, prevailing_wind VARCHAR) | SELECT COUNT(hand_number) FROM table_26853172_1 WHERE player_1 = "South" AND prevailing_wind = "East" | What is the hand number of the hand where player 1 is south and the east wind is prevailing? | <s>[INST]What is the hand number of the hand where player 1 is south and the east wind is prevailing? Context: CREATE TABLE table_26853172_1 (hand_number VARCHAR, player_1 VARCHAR, prevailing_wind VARCHAR)[/INST]SELECT COUNT(hand_number) FROM table_26853172_1 WHERE player_1 = "South" AND prevailing_wind = "East"</s> |
CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, genre VARCHAR, age_s_ VARCHAR) | SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE genre = "Dancing" AND age_s_ = "32" | What is the earliest quarterfinal week when the genre is dancing and the act is 32? | <s>[INST]What is the earliest quarterfinal week when the genre is dancing and the act is 32? Context: CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, genre VARCHAR, age_s_ VARCHAR)[/INST]SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE genre = "Dancing" AND age_s_ = "32"</s> |
CREATE TABLE table_123462_2 (_number_of_total_votes INTEGER) | SELECT MIN(_number_of_total_votes) FROM table_123462_2 | What was the lowest # of total votes? | <s>[INST]What was the lowest # of total votes? Context: CREATE TABLE table_123462_2 (_number_of_total_votes INTEGER)[/INST]SELECT MIN(_number_of_total_votes) FROM table_123462_2</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.