context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_35 (jockey VARCHAR, odds VARCHAR) | SELECT jockey FROM table_name_35 WHERE odds = "9/1" | what player scored 9/1 | <s>[INST]what player scored 9/1 Context: CREATE TABLE table_name_35 (jockey VARCHAR, odds VARCHAR)[/INST]SELECT jockey FROM table_name_35 WHERE odds = "9/1"</s> |
CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_49 WHERE competition = "world cup qualifying" AND date = "october 15, 2008" | Name the sscore for world cup qualifying october 15, 2008 | <s>[INST]Name the sscore for world cup qualifying october 15, 2008 Context: CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_49 WHERE competition = "world cup qualifying" AND date = "october 15, 2008"</s> |
CREATE TABLE table_name_23 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_23 WHERE rank = 5 | Which Country has a Rank of 5? | <s>[INST]Which Country has a Rank of 5? Context: CREATE TABLE table_name_23 (country VARCHAR, rank VARCHAR)[/INST]SELECT country FROM table_name_23 WHERE rank = 5</s> |
CREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR) | SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = "exxon mobil 341,140.3" | When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter? | <s>[INST]When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter? Context: CREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)[/INST]SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = "exxon mobil 341,140... |
CREATE TABLE table_name_52 (year INTEGER, opponent VARCHAR) | SELECT MAX(year) FROM table_name_52 WHERE opponent = "#2 syracuse" | What is the highest Year, when Opponent is #2 Syracuse? | <s>[INST]What is the highest Year, when Opponent is #2 Syracuse? Context: CREATE TABLE table_name_52 (year INTEGER, opponent VARCHAR)[/INST]SELECT MAX(year) FROM table_name_52 WHERE opponent = "#2 syracuse"</s> |
CREATE TABLE table_name_23 (place VARCHAR, score VARCHAR, player VARCHAR) | SELECT place FROM table_name_23 WHERE score < 71 AND player = "des smyth" | In what place did Des Smyth, who scored less than 71, finish? | <s>[INST]In what place did Des Smyth, who scored less than 71, finish? Context: CREATE TABLE table_name_23 (place VARCHAR, score VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_23 WHERE score < 71 AND player = "des smyth"</s> |
CREATE TABLE table_name_44 (time VARCHAR, team VARCHAR, rank VARCHAR) | SELECT time FROM table_name_44 WHERE team = "triumph" AND rank < 4 | What is the time/s of team Triumph in those races in which Triumph ranked higher than 4? | <s>[INST]What is the time/s of team Triumph in those races in which Triumph ranked higher than 4? Context: CREATE TABLE table_name_44 (time VARCHAR, team VARCHAR, rank VARCHAR)[/INST]SELECT time FROM table_name_44 WHERE team = "triumph" AND rank < 4</s> |
CREATE TABLE table_178242_1 (seasons VARCHAR, country___region VARCHAR) | SELECT seasons FROM table_178242_1 WHERE country___region = "Poland" | How many seasons did the show run in Poland? | <s>[INST]How many seasons did the show run in Poland? Context: CREATE TABLE table_178242_1 (seasons VARCHAR, country___region VARCHAR)[/INST]SELECT seasons FROM table_178242_1 WHERE country___region = "Poland"</s> |
CREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR) | SELECT third FROM table_name_74 WHERE venue = "oslo" | Who finished 3rd in Oslo? | <s>[INST]Who finished 3rd in Oslo? Context: CREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR)[/INST]SELECT third FROM table_name_74 WHERE venue = "oslo"</s> |
CREATE TABLE table_name_4 (driver VARCHAR, constructor VARCHAR, q1_pos VARCHAR) | SELECT driver FROM table_name_4 WHERE constructor = "renault" AND q1_pos > 2 | Who is the driver whose car was constructed by Renault and whose Q1 pos is greater than 2? | <s>[INST]Who is the driver whose car was constructed by Renault and whose Q1 pos is greater than 2? Context: CREATE TABLE table_name_4 (driver VARCHAR, constructor VARCHAR, q1_pos VARCHAR)[/INST]SELECT driver FROM table_name_4 WHERE constructor = "renault" AND q1_pos > 2</s> |
CREATE TABLE table_name_72 (overall INTEGER, round VARCHAR) | SELECT MIN(overall) FROM table_name_72 WHERE round = 7 | What was round 7's lowest overall? | <s>[INST]What was round 7's lowest overall? Context: CREATE TABLE table_name_72 (overall INTEGER, round VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_72 WHERE round = 7</s> |
CREATE TABLE table_name_35 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_35 WHERE driver = "gerhard berger" AND grid > 6 | what is the least laps for driver gerhard berger with a grid more than 6? | <s>[INST]what is the least laps for driver gerhard berger with a grid more than 6? Context: CREATE TABLE table_name_35 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_35 WHERE driver = "gerhard berger" AND grid > 6</s> |
CREATE TABLE table_name_97 (year_born INTEGER, player VARCHAR, height VARCHAR) | SELECT AVG(year_born) FROM table_name_97 WHERE player = "radek necas" AND height < 2.04 | When was radek necas with less than 2.04 height born? | <s>[INST]When was radek necas with less than 2.04 height born? Context: CREATE TABLE table_name_97 (year_born INTEGER, player VARCHAR, height VARCHAR)[/INST]SELECT AVG(year_born) FROM table_name_97 WHERE player = "radek necas" AND height < 2.04</s> |
CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_22917458_15 WHERE stage = 7 | Who won Stage 7? | <s>[INST]Who won Stage 7? Context: CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_22917458_15 WHERE stage = 7</s> |
CREATE TABLE table_name_4 (callsign VARCHAR, iata VARCHAR) | SELECT callsign FROM table_name_4 WHERE iata = "tr" | Which Callsign has an IATA of tr? | <s>[INST]Which Callsign has an IATA of tr? Context: CREATE TABLE table_name_4 (callsign VARCHAR, iata VARCHAR)[/INST]SELECT callsign FROM table_name_4 WHERE iata = "tr"</s> |
CREATE TABLE table_name_33 (report VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_33 WHERE circuit = "cagliari" | Which report had a circuit of Cagliari? | <s>[INST]Which report had a circuit of Cagliari? Context: CREATE TABLE table_name_33 (report VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_name_33 WHERE circuit = "cagliari"</s> |
CREATE TABLE table_name_32 (to_par VARCHAR, finish VARCHAR) | SELECT to_par FROM table_name_32 WHERE finish = "t8" | What is the To Par of the player with a t8 Finish? | <s>[INST]What is the To Par of the player with a t8 Finish? Context: CREATE TABLE table_name_32 (to_par VARCHAR, finish VARCHAR)[/INST]SELECT to_par FROM table_name_32 WHERE finish = "t8"</s> |
CREATE TABLE table_name_3 (year INTEGER, director VARCHAR) | SELECT MAX(year) FROM table_name_3 WHERE director = "christophe barratier" | Director of christophe barratier had what highest year? | <s>[INST]Director of christophe barratier had what highest year? Context: CREATE TABLE table_name_3 (year INTEGER, director VARCHAR)[/INST]SELECT MAX(year) FROM table_name_3 WHERE director = "christophe barratier"</s> |
CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR) | SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson" | What countries are visited in the episode presented by Brian B. Thompson? | <s>[INST]What countries are visited in the episode presented by Brian B. Thompson? Context: CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR)[/INST]SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson"</s> |
CREATE TABLE table_name_45 (Id VARCHAR) | SELECT 2011 FROM table_name_45 WHERE 2009 = "82,003" | What was the value in 2011 when value in 2009 was 82,003? | <s>[INST]What was the value in 2011 when value in 2009 was 82,003? Context: CREATE TABLE table_name_45 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_45 WHERE 2009 = "82,003"</s> |
CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_72 WHERE record = "43-13" | What was the score when the Spurs' record was 43-13? | <s>[INST]What was the score when the Spurs' record was 43-13? Context: CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE record = "43-13"</s> |
CREATE TABLE table_22993636_2 (percentage VARCHAR, team VARCHAR) | SELECT percentage FROM table_22993636_2 WHERE team = "Auburn" | What's Auburn's percentage? | <s>[INST]What's Auburn's percentage? Context: CREATE TABLE table_22993636_2 (percentage VARCHAR, team VARCHAR)[/INST]SELECT percentage FROM table_22993636_2 WHERE team = "Auburn"</s> |
CREATE TABLE table_name_69 (finalist VARCHAR, semi_finalists VARCHAR) | SELECT finalist FROM table_name_69 WHERE semi_finalists = "monica seles conchita martínez" | Which Finalist has a Semi finalists of monica seles conchita martínez? | <s>[INST]Which Finalist has a Semi finalists of monica seles conchita martínez? Context: CREATE TABLE table_name_69 (finalist VARCHAR, semi_finalists VARCHAR)[/INST]SELECT finalist FROM table_name_69 WHERE semi_finalists = "monica seles conchita martínez"</s> |
CREATE TABLE table_23449363_1 (round VARCHAR, clubs_involved VARCHAR) | SELECT round FROM table_23449363_1 WHERE clubs_involved = 32 | Which rounds had 32 clubs involved? | <s>[INST]Which rounds had 32 clubs involved? Context: CREATE TABLE table_23449363_1 (round VARCHAR, clubs_involved VARCHAR)[/INST]SELECT round FROM table_23449363_1 WHERE clubs_involved = 32</s> |
CREATE TABLE table_name_37 (date VARCHAR, city VARCHAR) | SELECT date FROM table_name_37 WHERE city = "panama city" | What is the Date of the Event in Panama City? | <s>[INST]What is the Date of the Event in Panama City? Context: CREATE TABLE table_name_37 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE city = "panama city"</s> |
CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342256_32 WHERE district = "New York 29" | Who are the contenders In the New York 29 polling area race? | <s>[INST]Who are the contenders In the New York 29 polling area race? Context: CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342256_32 WHERE district = "New York 29"</s> |
CREATE TABLE table_12887260_1 (main_developer VARCHAR, first_release VARCHAR, console VARCHAR) | SELECT main_developer FROM table_12887260_1 WHERE first_release = 1991 AND console = "Mega Drive/Genesis" | Which main developer made their first release in 1991 and created the Mega Drive/Genesis console? | <s>[INST]Which main developer made their first release in 1991 and created the Mega Drive/Genesis console? Context: CREATE TABLE table_12887260_1 (main_developer VARCHAR, first_release VARCHAR, console VARCHAR)[/INST]SELECT main_developer FROM table_12887260_1 WHERE first_release = 1991 AND console = "Mega Drive/Genesi... |
CREATE TABLE table_name_20 (Id VARCHAR) | SELECT 2007 FROM table_name_20 WHERE 2008 = "kiara spivey" | Who attended the school in 2007, that Kiara Spivey attended in 2008? | <s>[INST]Who attended the school in 2007, that Kiara Spivey attended in 2008? Context: CREATE TABLE table_name_20 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_20 WHERE 2008 = "kiara spivey"</s> |
CREATE TABLE table_28715942_2 (original_artist VARCHAR, track_no VARCHAR) | SELECT original_artist FROM table_28715942_2 WHERE track_no = 6 | Who were the original artist(s) for track number 6? | <s>[INST]Who were the original artist(s) for track number 6? Context: CREATE TABLE table_28715942_2 (original_artist VARCHAR, track_no VARCHAR)[/INST]SELECT original_artist FROM table_28715942_2 WHERE track_no = 6</s> |
CREATE TABLE table_name_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR) | SELECT rider FROM table_name_12 WHERE rank > 3 AND speed = "119.838mph" | Who has a Rank larger than 3 with a speed of 119.838mph? | <s>[INST]Who has a Rank larger than 3 with a speed of 119.838mph? Context: CREATE TABLE table_name_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR)[/INST]SELECT rider FROM table_name_12 WHERE rank > 3 AND speed = "119.838mph"</s> |
CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR) | SELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973 | What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water? | <s>[INST]What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water? Context: CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)[/INST]SELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973</s> |
CREATE TABLE table_name_68 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid" | The 2nd leg is what for the Atlético Madrid as Team 1? | <s>[INST]The 2nd leg is what for the Atlético Madrid as Team 1? Context: CREATE TABLE table_name_68 (team_1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid"</s> |
CREATE TABLE table_name_22 (date VARCHAR, type VARCHAR, number VARCHAR) | SELECT date FROM table_name_22 WHERE type = "4-6-0" AND number > 11 | Which Date has a Type of 4-6-0, and a Number larger than 11? | <s>[INST]Which Date has a Type of 4-6-0, and a Number larger than 11? Context: CREATE TABLE table_name_22 (date VARCHAR, type VARCHAR, number VARCHAR)[/INST]SELECT date FROM table_name_22 WHERE type = "4-6-0" AND number > 11</s> |
CREATE TABLE table_name_57 (poles INTEGER, percentage VARCHAR) | SELECT SUM(poles) FROM table_name_57 WHERE percentage = "22.08%" | How many poles has a percentage of 22.08%? | <s>[INST]How many poles has a percentage of 22.08%? Context: CREATE TABLE table_name_57 (poles INTEGER, percentage VARCHAR)[/INST]SELECT SUM(poles) FROM table_name_57 WHERE percentage = "22.08%"</s> |
CREATE TABLE table_1007688_1 (typhus VARCHAR, smallpox VARCHAR) | SELECT typhus FROM table_1007688_1 WHERE smallpox = 4 | What are all the typhus number when smallpox is 4 | <s>[INST]What are all the typhus number when smallpox is 4 Context: CREATE TABLE table_1007688_1 (typhus VARCHAR, smallpox VARCHAR)[/INST]SELECT typhus FROM table_1007688_1 WHERE smallpox = 4</s> |
CREATE TABLE table_name_90 (opponent VARCHAR, results¹ VARCHAR) | SELECT opponent FROM table_name_90 WHERE results¹ = "2:3" | Who did Yugoslavia play against that led to a result of 2:3? | <s>[INST]Who did Yugoslavia play against that led to a result of 2:3? Context: CREATE TABLE table_name_90 (opponent VARCHAR, results¹ VARCHAR)[/INST]SELECT opponent FROM table_name_90 WHERE results¹ = "2:3"</s> |
CREATE TABLE table_name_76 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_76 WHERE visitor = "chicago" | Name the home with chicago visiting | <s>[INST]Name the home with chicago visiting Context: CREATE TABLE table_name_76 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_76 WHERE visitor = "chicago"</s> |
CREATE TABLE table_name_55 (appointed_by VARCHAR, title VARCHAR, representative VARCHAR) | SELECT appointed_by FROM table_name_55 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "spruille braden" | What is the Appointed by that has the Title of Ambassador Extraordinary and Plenipotentiary and has a Representative of Spruille Braden? | <s>[INST]What is the Appointed by that has the Title of Ambassador Extraordinary and Plenipotentiary and has a Representative of Spruille Braden? Context: CREATE TABLE table_name_55 (appointed_by VARCHAR, title VARCHAR, representative VARCHAR)[/INST]SELECT appointed_by FROM table_name_55 WHERE title = "ambassador extra... |
CREATE TABLE table_name_90 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_name_90 WHERE tries_for = "48" | How many tries against did the club with 48 tries for have? | <s>[INST]How many tries against did the club with 48 tries for have? Context: CREATE TABLE table_name_90 (tries_against VARCHAR, tries_for VARCHAR)[/INST]SELECT tries_against FROM table_name_90 WHERE tries_for = "48"</s> |
CREATE TABLE table_name_12 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_12 WHERE tournament = "key biscane" | who was the semifinalist for the Key Biscane tournament? | <s>[INST]who was the semifinalist for the Key Biscane tournament? Context: CREATE TABLE table_name_12 (semifinalists VARCHAR, tournament VARCHAR)[/INST]SELECT semifinalists FROM table_name_12 WHERE tournament = "key biscane"</s> |
CREATE TABLE table_name_60 (fatalities VARCHAR, location VARCHAR, aircraft VARCHAR) | SELECT fatalities FROM table_name_60 WHERE location = "ankara" AND aircraft = "douglas c-47" | Which fatality was at ankara for the aircraft douglas c-47? | <s>[INST]Which fatality was at ankara for the aircraft douglas c-47? Context: CREATE TABLE table_name_60 (fatalities VARCHAR, location VARCHAR, aircraft VARCHAR)[/INST]SELECT fatalities FROM table_name_60 WHERE location = "ankara" AND aircraft = "douglas c-47"</s> |
CREATE TABLE table_21330550_2 (winner VARCHAR, location VARCHAR) | SELECT winner FROM table_21330550_2 WHERE location = "LJVM Coliseum • Winston-Salem, NC" | Who is the winner in the location of ljvm coliseum • winston-salem, nc? | <s>[INST]Who is the winner in the location of ljvm coliseum • winston-salem, nc? Context: CREATE TABLE table_21330550_2 (winner VARCHAR, location VARCHAR)[/INST]SELECT winner FROM table_21330550_2 WHERE location = "LJVM Coliseum • Winston-Salem, NC"</s> |
CREATE TABLE table_1212189_1 (capacity VARCHAR, model_engine VARCHAR) | SELECT COUNT(capacity) FROM table_1212189_1 WHERE model_engine = "1.6 Duratec" | How many capacities are possible for the 1.6 Duratec model/engine? | <s>[INST]How many capacities are possible for the 1.6 Duratec model/engine? Context: CREATE TABLE table_1212189_1 (capacity VARCHAR, model_engine VARCHAR)[/INST]SELECT COUNT(capacity) FROM table_1212189_1 WHERE model_engine = "1.6 Duratec"</s> |
CREATE TABLE table_name_90 (television_service VARCHAR, content VARCHAR) | SELECT television_service FROM table_name_90 WHERE content = "presentazione" | What is Television Service, when Content is Presentazione? | <s>[INST]What is Television Service, when Content is Presentazione? Context: CREATE TABLE table_name_90 (television_service VARCHAR, content VARCHAR)[/INST]SELECT television_service FROM table_name_90 WHERE content = "presentazione"</s> |
CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE round (Member_ID VARCHAR) | SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID = T2.Member_ID ORDER BY Rank_in_Round | Show the names of members in ascending order of their rank in rounds. | <s>[INST]Show the names of members in ascending order of their rank in rounds. Context: CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE round (Member_ID VARCHAR)[/INST]SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID = T2.Member_ID ORDER BY Rank_in_Round</s> |
CREATE TABLE table_name_88 (score VARCHAR, surface VARCHAR, partnering VARCHAR) | SELECT score FROM table_name_88 WHERE surface = "carpet" AND partnering = "tim henman" | What is the score of the tournament with a carpet surface and tim henman as the partnering? | <s>[INST]What is the score of the tournament with a carpet surface and tim henman as the partnering? Context: CREATE TABLE table_name_88 (score VARCHAR, surface VARCHAR, partnering VARCHAR)[/INST]SELECT score FROM table_name_88 WHERE surface = "carpet" AND partnering = "tim henman"</s> |
CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_58 WHERE date = "2 december 1974" | Tell me the surface of 2 december 1974 | <s>[INST]Tell me the surface of 2 december 1974 Context: CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_58 WHERE date = "2 december 1974"</s> |
CREATE TABLE table_1242447_2 (strongs__number VARCHAR, english_spelling VARCHAR) | SELECT strongs__number FROM table_1242447_2 WHERE english_spelling = "Jirmejah" | What is the strongs # for the english spelling of the word jirmejah? | <s>[INST]What is the strongs # for the english spelling of the word jirmejah? Context: CREATE TABLE table_1242447_2 (strongs__number VARCHAR, english_spelling VARCHAR)[/INST]SELECT strongs__number FROM table_1242447_2 WHERE english_spelling = "Jirmejah"</s> |
CREATE TABLE table_name_95 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_95 WHERE player = "steve kerr" | What nationality has steve kerr as the player? | <s>[INST]What nationality has steve kerr as the player? Context: CREATE TABLE table_name_95 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_95 WHERE player = "steve kerr"</s> |
CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR) | SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = "chernomorets novorossiysk" AND drawn < 65 | What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8? | <s>[INST]What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8? Context: CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)[/INST]SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND s... |
CREATE TABLE table_name_84 (height VARCHAR, name VARCHAR, built VARCHAR, rank VARCHAR, floors VARCHAR) | SELECT height FROM table_name_84 WHERE rank < 20 AND floors > 9 AND built = 2005 AND name = "the edge (c)" | What is Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)? | <s>[INST]What is Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)? Context: CREATE TABLE table_name_84 (height VARCHAR, name VARCHAR, built VARCHAR, rank VARCHAR, floors VARCHAR)[/INST]SELECT height FROM table_name_84 WHERE rank < 20 AND floors > 9 AND ... |
CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, result VARCHAR) | SELECT AVG(attendance) FROM table_name_5 WHERE week < 4 AND result = "w 31-20" | What is the attendance in a week earlier than 4, and result is w 31-20? | <s>[INST]What is the attendance in a week earlier than 4, and result is w 31-20? Context: CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, result VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_5 WHERE week < 4 AND result = "w 31-20"</s> |
CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_23 WHERE date = "june 24" | What is the Record of the game on June 24? | <s>[INST]What is the Record of the game on June 24? Context: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_23 WHERE date = "june 24"</s> |
CREATE TABLE table_1213511_7 (college_junior_club_team VARCHAR, nationality VARCHAR, nhl_team VARCHAR) | SELECT college_junior_club_team FROM table_1213511_7 WHERE nationality = "Canada" AND nhl_team = "Minnesota North Stars" | Which college/junior/club teams nationality is canada and nhl team is minnesota north stars | <s>[INST]Which college/junior/club teams nationality is canada and nhl team is minnesota north stars Context: CREATE TABLE table_1213511_7 (college_junior_club_team VARCHAR, nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1213511_7 WHERE nationality = "Canada" AND nhl_team = "Min... |
CREATE TABLE table_name_55 (nationality VARCHAR, previous_team VARCHAR) | SELECT nationality FROM table_name_55 WHERE previous_team = "detroit pistons" | What is the nationality of the player who was previously with the Detroit Pistons? | <s>[INST]What is the nationality of the player who was previously with the Detroit Pistons? Context: CREATE TABLE table_name_55 (nationality VARCHAR, previous_team VARCHAR)[/INST]SELECT nationality FROM table_name_55 WHERE previous_team = "detroit pistons"</s> |
CREATE TABLE table_name_79 (wins INTEGER, team VARCHAR, played VARCHAR) | SELECT SUM(wins) FROM table_name_79 WHERE team = "sweden" AND played < 5 | What is the sum of Wins, when Team is Sweden, and when Played is less than 5? | <s>[INST]What is the sum of Wins, when Team is Sweden, and when Played is less than 5? Context: CREATE TABLE table_name_79 (wins INTEGER, team VARCHAR, played VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_79 WHERE team = "sweden" AND played < 5</s> |
CREATE TABLE table_14332822_1 (variant_id VARCHAR) | SELECT 3 AS ’utr_sequence FROM table_14332822_1 WHERE variant_id = "ACD'6A 3" | What is the 3'utr sequence with a variant id of acd'6a 3? | <s>[INST]What is the 3'utr sequence with a variant id of acd'6a 3? Context: CREATE TABLE table_14332822_1 (variant_id VARCHAR)[/INST]SELECT 3 AS ’utr_sequence FROM table_14332822_1 WHERE variant_id = "ACD'6A 3"</s> |
CREATE TABLE table_26866519_1 (director VARCHAR, series__number VARCHAR) | SELECT director FROM table_26866519_1 WHERE series__number = 201 | Who directed series episode number 201? | <s>[INST]Who directed series episode number 201? Context: CREATE TABLE table_26866519_1 (director VARCHAR, series__number VARCHAR)[/INST]SELECT director FROM table_26866519_1 WHERE series__number = 201</s> |
CREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR) | SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa" | What season has the champion of Nicolas Kiesa? | <s>[INST]What season has the champion of Nicolas Kiesa? Context: CREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR)[/INST]SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa"</s> |
CREATE TABLE table_name_73 (points INTEGER, losses VARCHAR, position VARCHAR) | SELECT MIN(points) FROM table_name_73 WHERE losses = 2 AND position > 1 | What is the lowest number of points of the team with 2 losses and a lower than 1 position? | <s>[INST]What is the lowest number of points of the team with 2 losses and a lower than 1 position? Context: CREATE TABLE table_name_73 (points INTEGER, losses VARCHAR, position VARCHAR)[/INST]SELECT MIN(points) FROM table_name_73 WHERE losses = 2 AND position > 1</s> |
CREATE TABLE table_name_7 (new_entries VARCHAR, fixtures VARCHAR, clubs VARCHAR) | SELECT new_entries FROM table_name_7 WHERE fixtures < 16 AND clubs = "4 → 2" | What is the value for New entries, when the value for Fixtures is less than 16, and when the value for Clubs is 4 → 2? | <s>[INST]What is the value for New entries, when the value for Fixtures is less than 16, and when the value for Clubs is 4 → 2? Context: CREATE TABLE table_name_7 (new_entries VARCHAR, fixtures VARCHAR, clubs VARCHAR)[/INST]SELECT new_entries FROM table_name_7 WHERE fixtures < 16 AND clubs = "4 → 2"</s> |
CREATE TABLE table_name_40 (season VARCHAR, pos VARCHAR, pts VARCHAR) | SELECT season FROM table_name_40 WHERE pos = "6th" AND pts = "36" | What season had 6th position and 36 points? | <s>[INST]What season had 6th position and 36 points? Context: CREATE TABLE table_name_40 (season VARCHAR, pos VARCHAR, pts VARCHAR)[/INST]SELECT season FROM table_name_40 WHERE pos = "6th" AND pts = "36"</s> |
CREATE TABLE table_18047346_5 (rank VARCHAR, iata_code VARCHAR) | SELECT rank FROM table_18047346_5 WHERE iata_code = "JFK" | What rank is the airport whose IATA Code is JFK? | <s>[INST]What rank is the airport whose IATA Code is JFK? Context: CREATE TABLE table_18047346_5 (rank VARCHAR, iata_code VARCHAR)[/INST]SELECT rank FROM table_18047346_5 WHERE iata_code = "JFK"</s> |
CREATE TABLE table_name_17 (haat VARCHAR, channels_tv___rf VARCHAR) | SELECT haat FROM table_name_17 WHERE channels_tv___rf = "31 (psip) 44 (uhf)" | Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf) | <s>[INST]Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf) Context: CREATE TABLE table_name_17 (haat VARCHAR, channels_tv___rf VARCHAR)[/INST]SELECT haat FROM table_name_17 WHERE channels_tv___rf = "31 (psip) 44 (uhf)"</s> |
CREATE TABLE table_name_93 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_93 WHERE loss = "dotson (8-6)" | Which team opponent had a loss with their pitcher Dotson (8-6)? | <s>[INST]Which team opponent had a loss with their pitcher Dotson (8-6)? Context: CREATE TABLE table_name_93 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_93 WHERE loss = "dotson (8-6)"</s> |
CREATE TABLE table_12043148_2 (somerset VARCHAR, year VARCHAR) | SELECT somerset FROM table_12043148_2 WHERE year = 2009 | what is the somerset for the year 2009? | <s>[INST]what is the somerset for the year 2009? Context: CREATE TABLE table_12043148_2 (somerset VARCHAR, year VARCHAR)[/INST]SELECT somerset FROM table_12043148_2 WHERE year = 2009</s> |
CREATE TABLE table_name_6 (event VARCHAR, year VARCHAR, competition VARCHAR) | SELECT event FROM table_name_6 WHERE year = 2002 AND competition = "european indoor championships" | What is the Event, when Year is 2002, and when Competition is European Indoor Championships? | <s>[INST]What is the Event, when Year is 2002, and when Competition is European Indoor Championships? Context: CREATE TABLE table_name_6 (event VARCHAR, year VARCHAR, competition VARCHAR)[/INST]SELECT event FROM table_name_6 WHERE year = 2002 AND competition = "european indoor championships"</s> |
CREATE TABLE pilot (Pilot_name VARCHAR, pilot_ID VARCHAR); CREATE TABLE pilot_record (pilot_ID VARCHAR) | SELECT T2.Pilot_name, COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID = T2.pilot_ID GROUP BY T2.Pilot_name HAVING COUNT(*) > 1 | Show names of pilots that have more than one record. | <s>[INST]Show names of pilots that have more than one record. Context: CREATE TABLE pilot (Pilot_name VARCHAR, pilot_ID VARCHAR); CREATE TABLE pilot_record (pilot_ID VARCHAR)[/INST]SELECT T2.Pilot_name, COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID = T2.pilot_ID GROUP BY T2.Pilot_name HAVING COUNT(*)... |
CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR) | SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Latin" OR T1.Name = "Pop" | What is the average duration in milliseconds of tracks that belong to Latin or Pop genre? | <s>[INST]What is the average duration in milliseconds of tracks that belong to Latin or Pop genre? Context: CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR)[/INST]SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Latin" OR T1.N... |
CREATE TABLE table_28220778_21 (score VARCHAR, date VARCHAR) | SELECT score FROM table_28220778_21 WHERE date = "January 2" | What is every score when the date is January 2? | <s>[INST]What is every score when the date is January 2? Context: CREATE TABLE table_28220778_21 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_28220778_21 WHERE date = "January 2"</s> |
CREATE TABLE table_name_54 (points INTEGER, played VARCHAR, position VARCHAR, lost VARCHAR) | SELECT SUM(points) FROM table_name_54 WHERE position > 1 AND lost > 6 AND played < 14 | What's the points that has a lost more 6, played less than 14 and a position more than 1? | <s>[INST]What's the points that has a lost more 6, played less than 14 and a position more than 1? Context: CREATE TABLE table_name_54 (points INTEGER, played VARCHAR, position VARCHAR, lost VARCHAR)[/INST]SELECT SUM(points) FROM table_name_54 WHERE position > 1 AND lost > 6 AND played < 14</s> |
CREATE TABLE table_1130632_1 (title VARCHAR, us_viewers__million_ VARCHAR) | SELECT title FROM table_1130632_1 WHERE us_viewers__million_ = "19.48" | What are the title that have 19.48 million u.s. viewers? | <s>[INST]What are the title that have 19.48 million u.s. viewers? Context: CREATE TABLE table_1130632_1 (title VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT title FROM table_1130632_1 WHERE us_viewers__million_ = "19.48"</s> |
CREATE TABLE table_name_26 (partner VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT partner FROM table_name_26 WHERE outcome = "runner-up" AND date = "april 6, 1992" | Who is the partner with a runner-up outcome on April 6, 1992? | <s>[INST]Who is the partner with a runner-up outcome on April 6, 1992? Context: CREATE TABLE table_name_26 (partner VARCHAR, outcome VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_26 WHERE outcome = "runner-up" AND date = "april 6, 1992"</s> |
CREATE TABLE table_11960610_10 (game INTEGER, team VARCHAR) | SELECT MAX(game) FROM table_11960610_10 WHERE team = "San Antonio" | What is San Antonio game number? | <s>[INST]What is San Antonio game number? Context: CREATE TABLE table_11960610_10 (game INTEGER, team VARCHAR)[/INST]SELECT MAX(game) FROM table_11960610_10 WHERE team = "San Antonio"</s> |
CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR) | SELECT MAX(games_played) FROM table_23346303_4 WHERE player = "Janae Stokes" | How many games did janae stokes play? | <s>[INST]How many games did janae stokes play? Context: CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR)[/INST]SELECT MAX(games_played) FROM table_23346303_4 WHERE player = "Janae Stokes"</s> |
CREATE TABLE table_name_17 (quantity_preserved VARCHAR, quantity_made VARCHAR) | SELECT quantity_preserved FROM table_name_17 WHERE quantity_made = "15" | What was the quantity preserved for quantity made of 15? | <s>[INST]What was the quantity preserved for quantity made of 15? Context: CREATE TABLE table_name_17 (quantity_preserved VARCHAR, quantity_made VARCHAR)[/INST]SELECT quantity_preserved FROM table_name_17 WHERE quantity_made = "15"</s> |
CREATE TABLE table_name_86 (final_score VARCHAR, visiting_team VARCHAR) | SELECT final_score FROM table_name_86 WHERE visiting_team = "new york jets" | What was the final score when the New York Jets were the Visiting Team? | <s>[INST]What was the final score when the New York Jets were the Visiting Team? Context: CREATE TABLE table_name_86 (final_score VARCHAR, visiting_team VARCHAR)[/INST]SELECT final_score FROM table_name_86 WHERE visiting_team = "new york jets"</s> |
CREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR) | SELECT silver FROM table_name_17 WHERE location = "guangzhou" | What Silver has the Location of Guangzhou? | <s>[INST]What Silver has the Location of Guangzhou? Context: CREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR)[/INST]SELECT silver FROM table_name_17 WHERE location = "guangzhou"</s> |
CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, venue VARCHAR) | SELECT AVG(year) FROM table_name_93 WHERE competition = "olympic games" AND venue = "atlanta, united states" | Which Year has a Competition of olympic games, and a Venue of atlanta, united states? | <s>[INST]Which Year has a Competition of olympic games, and a Venue of atlanta, united states? Context: CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, venue VARCHAR)[/INST]SELECT AVG(year) FROM table_name_93 WHERE competition = "olympic games" AND venue = "atlanta, united states"</s> |
CREATE TABLE table_22858557_1 (year INTEGER, outcome VARCHAR) | SELECT MIN(year) FROM table_22858557_1 WHERE outcome = "Runner-up" | What is the year where the runner-up outcome was at its basic minimum? | <s>[INST]What is the year where the runner-up outcome was at its basic minimum? Context: CREATE TABLE table_22858557_1 (year INTEGER, outcome VARCHAR)[/INST]SELECT MIN(year) FROM table_22858557_1 WHERE outcome = "Runner-up"</s> |
CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_6 WHERE opponent = "new orleans saints" | On what date did the team play againt the New Orleans Saints? | <s>[INST]On what date did the team play againt the New Orleans Saints? Context: CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE opponent = "new orleans saints"</s> |
CREATE TABLE table_name_88 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR, location VARCHAR, rna_segment__gene_ VARCHAR) | SELECT copies_per_particle FROM table_name_88 WHERE location = "nonstructural" AND rna_segment__gene_ > 5 AND size___s_base_pair__ < 751 | What is the number of copies per particle having a nonstructural location, an RNA segment over 5 and a base pair size under 751? | <s>[INST]What is the number of copies per particle having a nonstructural location, an RNA segment over 5 and a base pair size under 751? Context: CREATE TABLE table_name_88 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR, location VARCHAR, rna_segment__gene_ VARCHAR)[/INST]SELECT copies_per_particle FROM ta... |
CREATE TABLE table_name_78 (withdrawn INTEGER, builder VARCHAR, introduced VARCHAR) | SELECT SUM(withdrawn) FROM table_name_78 WHERE builder = "ac cars" AND introduced < 1958 | when was the building withdrawn when the builder was ac cars and was introduced before 1958? | <s>[INST]when was the building withdrawn when the builder was ac cars and was introduced before 1958? Context: CREATE TABLE table_name_78 (withdrawn INTEGER, builder VARCHAR, introduced VARCHAR)[/INST]SELECT SUM(withdrawn) FROM table_name_78 WHERE builder = "ac cars" AND introduced < 1958</s> |
CREATE TABLE table_name_84 (recorded VARCHAR, translation VARCHAR) | SELECT recorded FROM table_name_84 WHERE translation = "brussels" | What is the record for Brussels translations? | <s>[INST]What is the record for Brussels translations? Context: CREATE TABLE table_name_84 (recorded VARCHAR, translation VARCHAR)[/INST]SELECT recorded FROM table_name_84 WHERE translation = "brussels"</s> |
CREATE TABLE table_name_55 (county VARCHAR, location VARCHAR) | SELECT county FROM table_name_55 WHERE location = "east providence" | In which county is East Providence? | <s>[INST]In which county is East Providence? Context: CREATE TABLE table_name_55 (county VARCHAR, location VARCHAR)[/INST]SELECT county FROM table_name_55 WHERE location = "east providence"</s> |
CREATE TABLE table_2351952_1 (country VARCHAR, numbers VARCHAR) | SELECT country FROM table_2351952_1 WHERE numbers = "801-812" | The numbers 801-812 are in which country? | <s>[INST]The numbers 801-812 are in which country? Context: CREATE TABLE table_2351952_1 (country VARCHAR, numbers VARCHAR)[/INST]SELECT country FROM table_2351952_1 WHERE numbers = "801-812"</s> |
CREATE TABLE exhibition (theme VARCHAR, YEAR VARCHAR, ticket_price VARCHAR) | SELECT theme, YEAR FROM exhibition ORDER BY ticket_price DESC | Show theme and year for all exhibitions in an descending order of ticket price. | <s>[INST]Show theme and year for all exhibitions in an descending order of ticket price. Context: CREATE TABLE exhibition (theme VARCHAR, YEAR VARCHAR, ticket_price VARCHAR)[/INST]SELECT theme, YEAR FROM exhibition ORDER BY ticket_price DESC</s> |
CREATE TABLE table_name_76 (name VARCHAR, club VARCHAR, pos VARCHAR) | SELECT name FROM table_name_76 WHERE club = "dinamo moscow" AND pos = "d" | What is the Name of the D Player from the Dinamo Moscow Club? | <s>[INST]What is the Name of the D Player from the Dinamo Moscow Club? Context: CREATE TABLE table_name_76 (name VARCHAR, club VARCHAR, pos VARCHAR)[/INST]SELECT name FROM table_name_76 WHERE club = "dinamo moscow" AND pos = "d"</s> |
CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, a_winning_car VARCHAR) | SELECT b_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion" | Name the b winning car for #88 team mitsubishi 88 mitsubishi starion | <s>[INST]Name the b winning car for #88 team mitsubishi 88 mitsubishi starion Context: CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, a_winning_car VARCHAR)[/INST]SELECT b_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion"</s> |
CREATE TABLE table_name_95 (name VARCHAR, medal VARCHAR, games VARCHAR) | SELECT name FROM table_name_95 WHERE medal = "bronze" AND games = "2000 sydney" | Who received the bronze medal in the 2000 Sydney games? | <s>[INST]Who received the bronze medal in the 2000 Sydney games? Context: CREATE TABLE table_name_95 (name VARCHAR, medal VARCHAR, games VARCHAR)[/INST]SELECT name FROM table_name_95 WHERE medal = "bronze" AND games = "2000 sydney"</s> |
CREATE TABLE table_name_10 (state VARCHAR, title VARCHAR, name VARCHAR) | SELECT state FROM table_name_10 WHERE title = "king" AND name = "xiang" | Which state has a king named xiang? | <s>[INST]Which state has a king named xiang? Context: CREATE TABLE table_name_10 (state VARCHAR, title VARCHAR, name VARCHAR)[/INST]SELECT state FROM table_name_10 WHERE title = "king" AND name = "xiang"</s> |
CREATE TABLE table_15463188_1 (position VARCHAR, name VARCHAR) | SELECT position FROM table_15463188_1 WHERE name = "judy-ann ramirez" | Name the position for judy-ann ramirez | <s>[INST]Name the position for judy-ann ramirez Context: CREATE TABLE table_15463188_1 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_15463188_1 WHERE name = "judy-ann ramirez"</s> |
CREATE TABLE Employee (eid VARCHAR, salary INTEGER) | SELECT eid FROM Employee WHERE salary > 100000 | Show ids for all employees with at least 100000 salary. | <s>[INST]Show ids for all employees with at least 100000 salary. Context: CREATE TABLE Employee (eid VARCHAR, salary INTEGER)[/INST]SELECT eid FROM Employee WHERE salary > 100000</s> |
CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR) | SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t" | Which manufacturer made a locomotive with a type of 4-6-4t? | <s>[INST]Which manufacturer made a locomotive with a type of 4-6-4t? Context: CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR)[/INST]SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t"</s> |
CREATE TABLE table_name_96 (crowd INTEGER, home_team VARCHAR) | SELECT MAX(crowd) FROM table_name_96 WHERE home_team = "carlton" | What is the largest crowd for a Home team of carlton? | <s>[INST]What is the largest crowd for a Home team of carlton? Context: CREATE TABLE table_name_96 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_96 WHERE home_team = "carlton"</s> |
CREATE TABLE table_27547668_3 (directed_by VARCHAR, viewers VARCHAR) | SELECT directed_by FROM table_27547668_3 WHERE viewers = 899000 | Who directed the episode with 899000 viewers? | <s>[INST]Who directed the episode with 899000 viewers? Context: CREATE TABLE table_27547668_3 (directed_by VARCHAR, viewers VARCHAR)[/INST]SELECT directed_by FROM table_27547668_3 WHERE viewers = 899000</s> |
CREATE TABLE table_name_2 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_2 WHERE away_team = "richmond" | When Richmond is the Away team, what did they score? | <s>[INST]When Richmond is the Away team, what did they score? Context: CREATE TABLE table_name_2 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_2 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_58 (year VARCHAR, score VARCHAR) | SELECT year FROM table_name_58 WHERE score = "6–2, 2–6, 5–7, 7–6, 8–6" | What year had a score of 6–2, 2–6, 5–7, 7–6, 8–6? | <s>[INST]What year had a score of 6–2, 2–6, 5–7, 7–6, 8–6? Context: CREATE TABLE table_name_58 (year VARCHAR, score VARCHAR)[/INST]SELECT year FROM table_name_58 WHERE score = "6–2, 2–6, 5–7, 7–6, 8–6"</s> |
CREATE TABLE table_name_81 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_81 WHERE school_club_team = "unlv" | What year did the Grizzlies play for the UNLV team? | <s>[INST]What year did the Grizzlies play for the UNLV team? Context: CREATE TABLE table_name_81 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_for_grizzlies FROM table_name_81 WHERE school_club_team = "unlv"</s> |
CREATE TABLE table_name_98 (team VARCHAR, score VARCHAR) | SELECT team FROM table_name_98 WHERE score = "l 88–94 (ot)" | What team has a Score of l 88–94 (ot)? | <s>[INST]What team has a Score of l 88–94 (ot)? Context: CREATE TABLE table_name_98 (team VARCHAR, score VARCHAR)[/INST]SELECT team FROM table_name_98 WHERE score = "l 88–94 (ot)"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.