context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_19001175_1 (country VARCHAR, name VARCHAR) | SELECT country FROM table_19001175_1 WHERE name = "Hideki Noda Category:Articles with hCards" | Name the country for hideki noda category:articles with hcards | <s>[INST]Name the country for hideki noda category:articles with hcards Context: CREATE TABLE table_19001175_1 (country VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_19001175_1 WHERE name = "Hideki Noda Category:Articles with hCards"</s> |
CREATE TABLE table_name_22 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_22 WHERE date = "december 7, 2003" | Who is the Opponent on December 7, 2003? | <s>[INST]Who is the Opponent on December 7, 2003? Context: CREATE TABLE table_name_22 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_22 WHERE date = "december 7, 2003"</s> |
CREATE TABLE table_name_73 (power VARCHAR, years VARCHAR) | SELECT power FROM table_name_73 WHERE years = "1972" | What is the power of an engine of 1972? | <s>[INST]What is the power of an engine of 1972? Context: CREATE TABLE table_name_73 (power VARCHAR, years VARCHAR)[/INST]SELECT power FROM table_name_73 WHERE years = "1972"</s> |
CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_16 WHERE attendance = "76" | Who was the away team when the attendance was 76? | <s>[INST]Who was the away team when the attendance was 76? Context: CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR)[/INST]SELECT away_team FROM table_name_16 WHERE attendance = "76"</s> |
CREATE TABLE table_1597866_3 (regular_judge VARCHAR, host VARCHAR) | SELECT regular_judge FROM table_1597866_3 WHERE host = "Anja Rubik" | Name the regular judge when host is anja rubik | <s>[INST]Name the regular judge when host is anja rubik Context: CREATE TABLE table_1597866_3 (regular_judge VARCHAR, host VARCHAR)[/INST]SELECT regular_judge FROM table_1597866_3 WHERE host = "Anja Rubik"</s> |
CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR) | SELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = "michael klim" AND rank < 1 | Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank? | <s>[INST]Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank? Context: CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = "michael klim" AND rank < 1</s> |
CREATE TABLE table_name_5 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_5 WHERE date = "april 22" | Which game of the season was played on April 22? | <s>[INST]Which game of the season was played on April 22? Context: CREATE TABLE table_name_5 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_5 WHERE date = "april 22"</s> |
CREATE TABLE table_name_35 (year VARCHAR, playoffs VARCHAR) | SELECT COUNT(year) FROM table_name_35 WHERE playoffs = "quarterfinals" | Name the total number of years for quarterfinals | <s>[INST]Name the total number of years for quarterfinals Context: CREATE TABLE table_name_35 (year VARCHAR, playoffs VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_35 WHERE playoffs = "quarterfinals"</s> |
CREATE TABLE table_1888165_1 (Otl INTEGER) | SELECT MIN(Otl) FROM table_1888165_1 | What was the minimum OTL amount? | <s>[INST]What was the minimum OTL amount? Context: CREATE TABLE table_1888165_1 (Otl INTEGER)[/INST]SELECT MIN(Otl) FROM table_1888165_1</s> |
CREATE TABLE table_name_99 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_name_99 WHERE cfl_team = "toronto argonauts" | What position does the player from the Toronto Argonauts play? | <s>[INST]What position does the player from the Toronto Argonauts play? Context: CREATE TABLE table_name_99 (position VARCHAR, cfl_team VARCHAR)[/INST]SELECT position FROM table_name_99 WHERE cfl_team = "toronto argonauts"</s> |
CREATE TABLE table_name_31 (number VARCHAR, name VARCHAR) | SELECT COUNT(number) FROM table_name_31 WHERE name = "justin jeffries" | What is the number of Justin Jeffries? | <s>[INST]What is the number of Justin Jeffries? Context: CREATE TABLE table_name_31 (number VARCHAR, name VARCHAR)[/INST]SELECT COUNT(number) FROM table_name_31 WHERE name = "justin jeffries"</s> |
CREATE TABLE table_name_90 (extra VARCHAR, tournament VARCHAR) | SELECT extra FROM table_name_90 WHERE tournament = "commonwealth games" | What was the extra info for the Commonwealth Games? | <s>[INST]What was the extra info for the Commonwealth Games? Context: CREATE TABLE table_name_90 (extra VARCHAR, tournament VARCHAR)[/INST]SELECT extra FROM table_name_90 WHERE tournament = "commonwealth games"</s> |
CREATE TABLE table_name_83 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_83 WHERE home_team = "st kilda" | What is the name of the venue where home team st kilda played? | <s>[INST]What is the name of the venue where home team st kilda played? Context: CREATE TABLE table_name_83 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_83 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_237036_2 (_extended_and_main_profiles VARCHAR, baseline INTEGER, level VARCHAR) | SELECT MIN(baseline), _extended_and_main_profiles FROM table_237036_2 WHERE level = "1.3" | What is the baseline extended and main profiles when level is 1.3? | <s>[INST]What is the baseline extended and main profiles when level is 1.3? Context: CREATE TABLE table_237036_2 (_extended_and_main_profiles VARCHAR, baseline INTEGER, level VARCHAR)[/INST]SELECT MIN(baseline), _extended_and_main_profiles FROM table_237036_2 WHERE level = "1.3"</s> |
CREATE TABLE table_1341423_43 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341423_43 WHERE district = "Texas 22" | Name the incumbent for texas 22 district | <s>[INST]Name the incumbent for texas 22 district Context: CREATE TABLE table_1341423_43 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341423_43 WHERE district = "Texas 22"</s> |
CREATE TABLE table_18703133_6 (wins INTEGER) | SELECT MAX(wins) FROM table_18703133_6 | How many wins? | <s>[INST]How many wins? Context: CREATE TABLE table_18703133_6 (wins INTEGER)[/INST]SELECT MAX(wins) FROM table_18703133_6</s> |
CREATE TABLE table_name_94 (tournament VARCHAR) | SELECT tournament FROM table_name_94 WHERE 2011 = "2r" | Name the tournament when it has 2011 of 2r | <s>[INST]Name the tournament when it has 2011 of 2r Context: CREATE TABLE table_name_94 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_94 WHERE 2011 = "2r"</s> |
CREATE TABLE table_1342233_42 (first_elected INTEGER, district VARCHAR) | SELECT MAX(first_elected) FROM table_1342233_42 WHERE district = "Tennessee 3" | When was the Tennessee 3 district incumbent first elected? | <s>[INST]When was the Tennessee 3 district incumbent first elected? Context: CREATE TABLE table_1342233_42 (first_elected INTEGER, district VARCHAR)[/INST]SELECT MAX(first_elected) FROM table_1342233_42 WHERE district = "Tennessee 3"</s> |
CREATE TABLE table_name_70 (date VARCHAR, visiting_team VARCHAR, final_score VARCHAR) | SELECT date FROM table_name_70 WHERE visiting_team = "new york giants" AND final_score = "37-34" | What is the date the new york giants were the visiting team and the Final Score was 37-34? | <s>[INST]What is the date the new york giants were the visiting team and the Final Score was 37-34? Context: CREATE TABLE table_name_70 (date VARCHAR, visiting_team VARCHAR, final_score VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE visiting_team = "new york giants" AND final_score = "37-34"</s> |
CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_66 WHERE date = "july 13" | How many people were at the match on July 13/ | <s>[INST]How many people were at the match on July 13/ Context: CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_66 WHERE date = "july 13"</s> |
CREATE TABLE table_name_57 (home VARCHAR, points VARCHAR, date VARCHAR) | SELECT home FROM table_name_57 WHERE points = 23 AND date = "january 2" | Who was the home team on January 2 with 23 points? | <s>[INST]Who was the home team on January 2 with 23 points? Context: CREATE TABLE table_name_57 (home VARCHAR, points VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_57 WHERE points = 23 AND date = "january 2"</s> |
CREATE TABLE table_name_22 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_22 WHERE date = "27-02-2003" | What is the Venue with a Date with 27-02-2003? | <s>[INST]What is the Venue with a Date with 27-02-2003? Context: CREATE TABLE table_name_22 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_22 WHERE date = "27-02-2003"</s> |
CREATE TABLE table_2509202_2 (guanay_municipality VARCHAR, combaya_municipality VARCHAR) | SELECT guanay_municipality FROM table_2509202_2 WHERE combaya_municipality = "0" | What is the number for the guanay municipality when combaya municipality is 0? | <s>[INST]What is the number for the guanay municipality when combaya municipality is 0? Context: CREATE TABLE table_2509202_2 (guanay_municipality VARCHAR, combaya_municipality VARCHAR)[/INST]SELECT guanay_municipality FROM table_2509202_2 WHERE combaya_municipality = "0"</s> |
CREATE TABLE table_name_56 (stadium VARCHAR, city VARCHAR) | SELECT stadium FROM table_name_56 WHERE city = "seoul" | What stadium is in Seoul? | <s>[INST]What stadium is in Seoul? Context: CREATE TABLE table_name_56 (stadium VARCHAR, city VARCHAR)[/INST]SELECT stadium FROM table_name_56 WHERE city = "seoul"</s> |
CREATE TABLE table_25474825_1 (license VARCHAR, description VARCHAR) | SELECT license FROM table_25474825_1 WHERE description = "Tool for designing and executing workflows" | What is the license that is described as a tool for designing and executing workflows? | <s>[INST]What is the license that is described as a tool for designing and executing workflows? Context: CREATE TABLE table_25474825_1 (license VARCHAR, description VARCHAR)[/INST]SELECT license FROM table_25474825_1 WHERE description = "Tool for designing and executing workflows"</s> |
CREATE TABLE table_name_19 (opponent VARCHAR, result VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_19 WHERE result = "bye" AND week < 14 | What opponent did they have a bye result against before week 14? | <s>[INST]What opponent did they have a bye result against before week 14? Context: CREATE TABLE table_name_19 (opponent VARCHAR, result VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_19 WHERE result = "bye" AND week < 14</s> |
CREATE TABLE table_name_26 (club VARCHAR, position VARCHAR, wins VARCHAR, goals_against VARCHAR) | SELECT club FROM table_name_26 WHERE wins = 13 AND goals_against < 48 AND position = 4 | What Club has 13 wins, goals against less than 48, and a position of 4? | <s>[INST]What Club has 13 wins, goals against less than 48, and a position of 4? Context: CREATE TABLE table_name_26 (club VARCHAR, position VARCHAR, wins VARCHAR, goals_against VARCHAR)[/INST]SELECT club FROM table_name_26 WHERE wins = 13 AND goals_against < 48 AND position = 4</s> |
CREATE TABLE table_name_99 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_99 WHERE location = "richfield coliseum" | What date did the Boston Celtics play at Richfield Coliseum? | <s>[INST]What date did the Boston Celtics play at Richfield Coliseum? Context: CREATE TABLE table_name_99 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_99 WHERE location = "richfield coliseum"</s> |
CREATE TABLE table_16864968_9 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_16864968_9 WHERE opponent = "Philadelphia Flyers" | Name the score for philadelphia flyers | <s>[INST]Name the score for philadelphia flyers Context: CREATE TABLE table_16864968_9 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_16864968_9 WHERE opponent = "Philadelphia Flyers"</s> |
CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united" | What was the Tie no when the away team was east thurrock united? | <s>[INST]What was the Tie no when the away team was east thurrock united? Context: CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united"</s> |
CREATE TABLE table_name_51 (package_option VARCHAR, television_service VARCHAR) | SELECT package_option FROM table_name_51 WHERE television_service = "sky arte hd" | What package/option has sky arte hd as the television service? | <s>[INST]What package/option has sky arte hd as the television service? Context: CREATE TABLE table_name_51 (package_option VARCHAR, television_service VARCHAR)[/INST]SELECT package_option FROM table_name_51 WHERE television_service = "sky arte hd"</s> |
CREATE TABLE table_23248869_8 (game INTEGER, high_points VARCHAR) | SELECT MIN(game) FROM table_23248869_8 WHERE high_points = "David Lee (30)" | What was the game when high points was david lee (30) | <s>[INST]What was the game when high points was david lee (30) Context: CREATE TABLE table_23248869_8 (game INTEGER, high_points VARCHAR)[/INST]SELECT MIN(game) FROM table_23248869_8 WHERE high_points = "David Lee (30)"</s> |
CREATE TABLE table_23143607_1 (autonomous_community VARCHAR, television_channels VARCHAR) | SELECT autonomous_community FROM table_23143607_1 WHERE television_channels = "TPA TPA2 RTPA Internacional" | What is the autonomous community with television channels tpa tpa2 rtpa internacional? | <s>[INST]What is the autonomous community with television channels tpa tpa2 rtpa internacional? Context: CREATE TABLE table_23143607_1 (autonomous_community VARCHAR, television_channels VARCHAR)[/INST]SELECT autonomous_community FROM table_23143607_1 WHERE television_channels = "TPA TPA2 RTPA Internacional"</s> |
CREATE TABLE table_name_46 (defenses INTEGER, days_held VARCHAR) | SELECT MIN(defenses) FROM table_name_46 WHERE days_held = "345" | What is the lowest defense a champion with 345 days held has? | <s>[INST]What is the lowest defense a champion with 345 days held has? Context: CREATE TABLE table_name_46 (defenses INTEGER, days_held VARCHAR)[/INST]SELECT MIN(defenses) FROM table_name_46 WHERE days_held = "345"</s> |
CREATE TABLE table_name_20 (fate VARCHAR, date VARCHAR) | SELECT fate FROM table_name_20 WHERE date = "26 april 1942" | What is the fate of the ship on 26 April 1942? | <s>[INST]What is the fate of the ship on 26 April 1942? Context: CREATE TABLE table_name_20 (fate VARCHAR, date VARCHAR)[/INST]SELECT fate FROM table_name_20 WHERE date = "26 april 1942"</s> |
CREATE TABLE table_name_40 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_40 WHERE date = "10 october 1994" | what is the outcome when the date is 10 october 1994? | <s>[INST]what is the outcome when the date is 10 october 1994? Context: CREATE TABLE table_name_40 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_40 WHERE date = "10 october 1994"</s> |
CREATE TABLE table_25429986_1 (position VARCHAR, handicap VARCHAR) | SELECT position FROM table_25429986_1 WHERE handicap = "10-2" | what position has a handicap of 10-2? | <s>[INST]what position has a handicap of 10-2? Context: CREATE TABLE table_25429986_1 (position VARCHAR, handicap VARCHAR)[/INST]SELECT position FROM table_25429986_1 WHERE handicap = "10-2"</s> |
CREATE TABLE table_name_39 (album VARCHAR, year INTEGER) | SELECT album FROM table_name_39 WHERE year > 2001 | What Album has a Year that's larger than 2001? | <s>[INST]What Album has a Year that's larger than 2001? Context: CREATE TABLE table_name_39 (album VARCHAR, year INTEGER)[/INST]SELECT album FROM table_name_39 WHERE year > 2001</s> |
CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__2nd_ VARCHAR) | SELECT season FROM table_20217456_7 WHERE rl_süd__2nd_ = "Freiburger FC" | What season was Freiburger FC the RL Süd (2nd) team? | <s>[INST]What season was Freiburger FC the RL Süd (2nd) team? Context: CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__2nd_ VARCHAR)[/INST]SELECT season FROM table_20217456_7 WHERE rl_süd__2nd_ = "Freiburger FC"</s> |
CREATE TABLE actor (Duration VARCHAR, Age VARCHAR) | SELECT Duration FROM actor ORDER BY Age DESC LIMIT 1 | What is the duration of the oldest actor? | <s>[INST]What is the duration of the oldest actor? Context: CREATE TABLE actor (Duration VARCHAR, Age VARCHAR)[/INST]SELECT Duration FROM actor ORDER BY Age DESC LIMIT 1</s> |
CREATE TABLE table_name_65 (position VARCHAR, jersey_number_s_ VARCHAR) | SELECT position FROM table_name_65 WHERE jersey_number_s_ = "22" | What position does the player with jersey number 22 play? | <s>[INST]What position does the player with jersey number 22 play? Context: CREATE TABLE table_name_65 (position VARCHAR, jersey_number_s_ VARCHAR)[/INST]SELECT position FROM table_name_65 WHERE jersey_number_s_ = "22"</s> |
CREATE TABLE table_23285849_7 (record VARCHAR, team VARCHAR) | SELECT record FROM table_23285849_7 WHERE team = "Timberwolves" | What was the record when the timberwolves were played? | <s>[INST]What was the record when the timberwolves were played? Context: CREATE TABLE table_23285849_7 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_23285849_7 WHERE team = "Timberwolves"</s> |
CREATE TABLE table_name_26 (last_performance VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_26 WHERE name = "j.p. viernes" | When was J.P. Viernes' last performance? | <s>[INST]When was J.P. Viernes' last performance? Context: CREATE TABLE table_name_26 (last_performance VARCHAR, name VARCHAR)[/INST]SELECT last_performance FROM table_name_26 WHERE name = "j.p. viernes"</s> |
CREATE TABLE table_name_87 (league VARCHAR, school VARCHAR) | SELECT league FROM table_name_87 WHERE school = "reed" | In what League is the Reed School? | <s>[INST]In what League is the Reed School? Context: CREATE TABLE table_name_87 (league VARCHAR, school VARCHAR)[/INST]SELECT league FROM table_name_87 WHERE school = "reed"</s> |
CREATE TABLE table_name_77 (result VARCHAR, year__ceremony_ VARCHAR) | SELECT result FROM table_name_77 WHERE year__ceremony_ = "2013 (86th)" | What is the Result of the 2013 (86th) Ceremony? | <s>[INST]What is the Result of the 2013 (86th) Ceremony? Context: CREATE TABLE table_name_77 (result VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT result FROM table_name_77 WHERE year__ceremony_ = "2013 (86th)"</s> |
CREATE TABLE dorm (student_capacity INTEGER); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, student_capacity INTEGER) | SELECT AVG(T1.age) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.student_capacity = (SELECT MAX(student_capacity) FROM dorm) | Find the average age of students who are living in the dorm with the largest capacity. | <s>[INST]Find the average age of students who are living in the dorm with the largest capacity. Context: CREATE TABLE dorm (student_capacity INTEGER); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, student_capacity INTEGER)[/I... |
CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_23274514_8 WHERE location_attendance = "TD Garden 18,624" | On what date was the attendance at TD Garden 18,624? | <s>[INST]On what date was the attendance at TD Garden 18,624? Context: CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR)[/INST]SELECT date FROM table_23274514_8 WHERE location_attendance = "TD Garden 18,624"</s> |
CREATE TABLE member (name VARCHAR, hometown VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (member_id VARCHAR, register_year VARCHAR) | SELECT T2.name, T2.hometown FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id WHERE T1.register_year = 2016 | Show the member name and hometown who registered a branch in 2016. | <s>[INST]Show the member name and hometown who registered a branch in 2016. Context: CREATE TABLE member (name VARCHAR, hometown VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (member_id VARCHAR, register_year VARCHAR)[/INST]SELECT T2.name, T2.hometown FROM membership_register_branch AS T1 JOIN me... |
CREATE TABLE table_name_62 (years VARCHAR, goals VARCHAR) | SELECT years FROM table_name_62 WHERE goals = 27 | For the player that scored 27 goals, what years did he score them? | <s>[INST]For the player that scored 27 goals, what years did he score them? Context: CREATE TABLE table_name_62 (years VARCHAR, goals VARCHAR)[/INST]SELECT years FROM table_name_62 WHERE goals = 27</s> |
CREATE TABLE table_name_82 (role VARCHAR, tournament VARCHAR) | SELECT role FROM table_name_82 WHERE tournament = "1st division honduras" | What is the Role in the 1st Division Honduras Tournament? | <s>[INST]What is the Role in the 1st Division Honduras Tournament? Context: CREATE TABLE table_name_82 (role VARCHAR, tournament VARCHAR)[/INST]SELECT role FROM table_name_82 WHERE tournament = "1st division honduras"</s> |
CREATE TABLE table_name_41 (engine_s_ VARCHAR, points VARCHAR) | SELECT engine_s_ FROM table_name_41 WHERE points = "2" | What engine has 2 points? | <s>[INST]What engine has 2 points? Context: CREATE TABLE table_name_41 (engine_s_ VARCHAR, points VARCHAR)[/INST]SELECT engine_s_ FROM table_name_41 WHERE points = "2"</s> |
CREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_47 WHERE home_team = "essendon" | What was the opponent of the home team of essendon? | <s>[INST]What was the opponent of the home team of essendon? Context: CREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_47 WHERE home_team = "essendon"</s> |
CREATE TABLE table_1973729_2 (joined INTEGER, current_conference VARCHAR) | SELECT MAX(joined) FROM table_1973729_2 WHERE current_conference = "Dropped athletics" | What joined year does Dropped Athletics have? | <s>[INST]What joined year does Dropped Athletics have? Context: CREATE TABLE table_1973729_2 (joined INTEGER, current_conference VARCHAR)[/INST]SELECT MAX(joined) FROM table_1973729_2 WHERE current_conference = "Dropped athletics"</s> |
CREATE TABLE table_name_24 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_24 WHERE opponent = "arras paul arras" | Where was the location for Arras Paul Arras? | <s>[INST]Where was the location for Arras Paul Arras? Context: CREATE TABLE table_name_24 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_24 WHERE opponent = "arras paul arras"</s> |
CREATE TABLE table_name_51 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_51 WHERE bronze = 0 AND silver > 0 AND rank = 5 | Which Total is the lowest one that has a Bronze of 0, and a Silver larger than 0, and a Rank of 5? | <s>[INST]Which Total is the lowest one that has a Bronze of 0, and a Silver larger than 0, and a Rank of 5? Context: CREATE TABLE table_name_51 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_51 WHERE bronze = 0 AND silver > 0 AND rank = 5</s> |
CREATE TABLE table_11959669_4 (location_attendance VARCHAR, high_points VARCHAR) | SELECT location_attendance FROM table_11959669_4 WHERE high_points = "Pierce (22)" | What was the location attendance when High points was by Pierce (22)? | <s>[INST]What was the location attendance when High points was by Pierce (22)? Context: CREATE TABLE table_11959669_4 (location_attendance VARCHAR, high_points VARCHAR)[/INST]SELECT location_attendance FROM table_11959669_4 WHERE high_points = "Pierce (22)"</s> |
CREATE TABLE table_name_3 (win__percentage VARCHAR) | SELECT win__percentage FROM table_name_3 WHERE 2010 = "qf" | What is the winning % for the 2010 QF? | <s>[INST]What is the winning % for the 2010 QF? Context: CREATE TABLE table_name_3 (win__percentage VARCHAR)[/INST]SELECT win__percentage FROM table_name_3 WHERE 2010 = "qf"</s> |
CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_50 WHERE date = "13 april 1997" | Which Score has a Date of 13 april 1997? | <s>[INST]Which Score has a Date of 13 april 1997? Context: CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_50 WHERE date = "13 april 1997"</s> |
CREATE TABLE table_name_45 (goals INTEGER, date VARCHAR) | SELECT MAX(goals) FROM table_name_45 WHERE date = "7 february 2010" | Which Goals have a Date of 7 february 2010? | <s>[INST]Which Goals have a Date of 7 february 2010? Context: CREATE TABLE table_name_45 (goals INTEGER, date VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_45 WHERE date = "7 february 2010"</s> |
CREATE TABLE table_17288869_7 (high_assists VARCHAR, high_rebounds VARCHAR) | SELECT high_assists FROM table_17288869_7 WHERE high_rebounds = "Erick Dampier (8)" | Who had the high assists while Erick Dampier (8) had the high rebounds? | <s>[INST]Who had the high assists while Erick Dampier (8) had the high rebounds? Context: CREATE TABLE table_17288869_7 (high_assists VARCHAR, high_rebounds VARCHAR)[/INST]SELECT high_assists FROM table_17288869_7 WHERE high_rebounds = "Erick Dampier (8)"</s> |
CREATE TABLE table_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR) | SELECT COUNT(miles__km_) FROM table_2241841_1 WHERE manufacturer = "Dodge" | How many wins are with Dodge vehicles? | <s>[INST]How many wins are with Dodge vehicles? Context: CREATE TABLE table_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR)[/INST]SELECT COUNT(miles__km_) FROM table_2241841_1 WHERE manufacturer = "Dodge"</s> |
CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_2668401_12 WHERE candidates = "Joseph Hiester (DR) 83.2% Roswell Wells (F) 16.8%" | Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%. | <s>[INST]Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%. Context: CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_2668401_12 WHERE candidates = "Joseph Hiester (DR) 83.2% Roswell Wells (F) 16.8%"</s> |
CREATE TABLE table_name_25 (total INTEGER, name VARCHAR, league VARCHAR) | SELECT AVG(total) FROM table_name_25 WHERE name = "alex mcleish category:articles with hcards" AND league < 494 | Which Total has a Name of alex mcleish category:articles with hcards, and a League smaller than 494? | <s>[INST]Which Total has a Name of alex mcleish category:articles with hcards, and a League smaller than 494? Context: CREATE TABLE table_name_25 (total INTEGER, name VARCHAR, league VARCHAR)[/INST]SELECT AVG(total) FROM table_name_25 WHERE name = "alex mcleish category:articles with hcards" AND league < 494</s> |
CREATE TABLE table_name_68 (longitude VARCHAR, township VARCHAR, geo_id VARCHAR) | SELECT COUNT(longitude) FROM table_name_68 WHERE township = "nogosek" AND geo_id > 3809357060 | What is the total longitude of Nogosek and a GEO ID larger than 3809357060? | <s>[INST]What is the total longitude of Nogosek and a GEO ID larger than 3809357060? Context: CREATE TABLE table_name_68 (longitude VARCHAR, township VARCHAR, geo_id VARCHAR)[/INST]SELECT COUNT(longitude) FROM table_name_68 WHERE township = "nogosek" AND geo_id > 3809357060</s> |
CREATE TABLE table_name_44 (set_5 VARCHAR, set_1 VARCHAR) | SELECT set_5 FROM table_name_44 WHERE set_1 = "19-25" | What is the set 5 with a 19-25 set 1? | <s>[INST]What is the set 5 with a 19-25 set 1? Context: CREATE TABLE table_name_44 (set_5 VARCHAR, set_1 VARCHAR)[/INST]SELECT set_5 FROM table_name_44 WHERE set_1 = "19-25"</s> |
CREATE TABLE player (POSITION VARCHAR, Points INTEGER) | SELECT POSITION, AVG(Points) FROM player GROUP BY POSITION | List the position of players and the average number of points of players of each position. | <s>[INST]List the position of players and the average number of points of players of each position. Context: CREATE TABLE player (POSITION VARCHAR, Points INTEGER)[/INST]SELECT POSITION, AVG(Points) FROM player GROUP BY POSITION</s> |
CREATE TABLE table_name_88 (t_score INTEGER, nation VARCHAR, e_score VARCHAR) | SELECT AVG(t_score) FROM table_name_88 WHERE nation = "spain" AND e_score > 9.6 | What was the average T score when the E score was larger than 9.6 and the team was from Spain? | <s>[INST]What was the average T score when the E score was larger than 9.6 and the team was from Spain? Context: CREATE TABLE table_name_88 (t_score INTEGER, nation VARCHAR, e_score VARCHAR)[/INST]SELECT AVG(t_score) FROM table_name_88 WHERE nation = "spain" AND e_score > 9.6</s> |
CREATE TABLE table_name_26 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_26 WHERE date = "december 19, 2004" | I want to know the lowest week with a date of december 19, 2004 | <s>[INST]I want to know the lowest week with a date of december 19, 2004 Context: CREATE TABLE table_name_26 (week INTEGER, date VARCHAR)[/INST]SELECT MIN(week) FROM table_name_26 WHERE date = "december 19, 2004"</s> |
CREATE TABLE table_name_1 (type VARCHAR, issued VARCHAR) | SELECT type FROM table_name_1 WHERE issued = 1964 | What type was issued in 1964? | <s>[INST]What type was issued in 1964? Context: CREATE TABLE table_name_1 (type VARCHAR, issued VARCHAR)[/INST]SELECT type FROM table_name_1 WHERE issued = 1964</s> |
CREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR) | SELECT AVG(top_5) FROM table_name_29 WHERE position = "52nd" AND year < 2000 | Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000? | <s>[INST]Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000? Context: CREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)[/INST]SELECT AVG(top_5) FROM table_name_29 WHERE position = "52nd" AND year < 2000</s> |
CREATE TABLE table_name_63 (product_name VARCHAR, company_name VARCHAR) | SELECT product_name FROM table_name_63 WHERE company_name = "htc corporation" | What is the Product Name, when the Company Name is HTC Corporation? | <s>[INST]What is the Product Name, when the Company Name is HTC Corporation? Context: CREATE TABLE table_name_63 (product_name VARCHAR, company_name VARCHAR)[/INST]SELECT product_name FROM table_name_63 WHERE company_name = "htc corporation"</s> |
CREATE TABLE table_name_31 (mrc_championships INTEGER, solo VARCHAR, pct VARCHAR, co_champions VARCHAR) | SELECT AVG(mrc_championships) FROM table_name_31 WHERE pct > 0.685 AND co_champions > 1 AND solo < 5 | What is the average value of MRC Championships with more than 0.685 PCT., more than 1 for co-champions, and less than 5 solo? | <s>[INST]What is the average value of MRC Championships with more than 0.685 PCT., more than 1 for co-champions, and less than 5 solo? Context: CREATE TABLE table_name_31 (mrc_championships INTEGER, solo VARCHAR, pct VARCHAR, co_champions VARCHAR)[/INST]SELECT AVG(mrc_championships) FROM table_name_31 WHERE pct > 0.685... |
CREATE TABLE table_name_29 (total_votes VARCHAR, election VARCHAR, share_of_votes VARCHAR) | SELECT total_votes FROM table_name_29 WHERE election > 2001 AND share_of_votes = "44.5%" | What is the vote total for elections after 2001 with 44.5% participation? | <s>[INST]What is the vote total for elections after 2001 with 44.5% participation? Context: CREATE TABLE table_name_29 (total_votes VARCHAR, election VARCHAR, share_of_votes VARCHAR)[/INST]SELECT total_votes FROM table_name_29 WHERE election > 2001 AND share_of_votes = "44.5%"</s> |
CREATE TABLE table_name_67 (qual VARCHAR, laps VARCHAR) | SELECT qual FROM table_name_67 WHERE laps = 182 | When completing 182 laps, what was the qual.? | <s>[INST]When completing 182 laps, what was the qual.? Context: CREATE TABLE table_name_67 (qual VARCHAR, laps VARCHAR)[/INST]SELECT qual FROM table_name_67 WHERE laps = 182</s> |
CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Sales INTEGER, Singer_ID VARCHAR) | SELECT T1.Name, SUM(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name | Show the names of singers and the total sales of their songs. | <s>[INST]Show the names of singers and the total sales of their songs. Context: CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Sales INTEGER, Singer_ID VARCHAR)[/INST]SELECT T1.Name, SUM(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name</s> |
CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR) | SELECT year FROM table_name_3 WHERE nominee = "martin sheen" | In what year was Martin Sheen nominated? | <s>[INST]In what year was Martin Sheen nominated? Context: CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR)[/INST]SELECT year FROM table_name_3 WHERE nominee = "martin sheen"</s> |
CREATE TABLE table_name_95 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR) | SELECT MAX(year) FROM table_name_95 WHERE playoffs = "did not qualify" AND open_cup = "2nd round" | When is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it to Open Cup 2nd Round? | <s>[INST]When is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it to Open Cup 2nd Round? Context: CREATE TABLE table_name_95 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR)[/INST]SELECT MAX(year) FROM table_name_95 WHERE playoffs = "did not qualify" AND open_cup = "2nd round"</s> |
CREATE TABLE table_name_2 (nation VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_2 WHERE silver = 5 AND gold > 4 | Which Nation won 5 Silver, and more than 4 Gold? | <s>[INST]Which Nation won 5 Silver, and more than 4 Gold? Context: CREATE TABLE table_name_2 (nation VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT nation FROM table_name_2 WHERE silver = 5 AND gold > 4</s> |
CREATE TABLE table_name_53 (nat VARCHAR, name VARCHAR) | SELECT nat FROM table_name_53 WHERE name = "diogo" | What nationality is Diogo? | <s>[INST]What nationality is Diogo? Context: CREATE TABLE table_name_53 (nat VARCHAR, name VARCHAR)[/INST]SELECT nat FROM table_name_53 WHERE name = "diogo"</s> |
CREATE TABLE table_name_44 (floors VARCHAR, street_address_in_detroit VARCHAR) | SELECT floors FROM table_name_44 WHERE street_address_in_detroit = "1828 jay street" | How many floors does the address 1828 jay street have? | <s>[INST]How many floors does the address 1828 jay street have? Context: CREATE TABLE table_name_44 (floors VARCHAR, street_address_in_detroit VARCHAR)[/INST]SELECT floors FROM table_name_44 WHERE street_address_in_detroit = "1828 jay street"</s> |
CREATE TABLE table_name_58 (placement VARCHAR, votes VARCHAR, candidate VARCHAR) | SELECT placement FROM table_name_58 WHERE votes < 208 AND candidate = "jordan turner" | What is the Placement when the Votes are fewer than 208, and when the Candidate is Jordan Turner? | <s>[INST]What is the Placement when the Votes are fewer than 208, and when the Candidate is Jordan Turner? Context: CREATE TABLE table_name_58 (placement VARCHAR, votes VARCHAR, candidate VARCHAR)[/INST]SELECT placement FROM table_name_58 WHERE votes < 208 AND candidate = "jordan turner"</s> |
CREATE TABLE table_22058547_1 (wiaa_classification VARCHAR, high_school VARCHAR) | SELECT COUNT(wiaa_classification) FROM table_22058547_1 WHERE high_school = "Fort Vancouver" | how many wiaa classifications does fort vancouver high school have? | <s>[INST]how many wiaa classifications does fort vancouver high school have? Context: CREATE TABLE table_22058547_1 (wiaa_classification VARCHAR, high_school VARCHAR)[/INST]SELECT COUNT(wiaa_classification) FROM table_22058547_1 WHERE high_school = "Fort Vancouver"</s> |
CREATE TABLE table_name_16 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_16 WHERE team_1 = "lokomotiva" | What team 2 has lokomotiva as team 1? | <s>[INST]What team 2 has lokomotiva as team 1? Context: CREATE TABLE table_name_16 (team_2 VARCHAR, team_1 VARCHAR)[/INST]SELECT team_2 FROM table_name_16 WHERE team_1 = "lokomotiva"</s> |
CREATE TABLE VOTING_RECORD (Secretary_Vote VARCHAR, Election_Cycle VARCHAR); CREATE TABLE STUDENT (Age VARCHAR, StuID VARCHAR) | SELECT DISTINCT T1.Age FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Secretary_Vote WHERE T2.Election_Cycle = "Fall" | Find the distinct ages of students who have secretary votes in the fall election cycle. | <s>[INST]Find the distinct ages of students who have secretary votes in the fall election cycle. Context: CREATE TABLE VOTING_RECORD (Secretary_Vote VARCHAR, Election_Cycle VARCHAR); CREATE TABLE STUDENT (Age VARCHAR, StuID VARCHAR)[/INST]SELECT DISTINCT T1.Age FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = ... |
CREATE TABLE table_name_20 (goals_against INTEGER, drawn INTEGER) | SELECT MAX(goals_against) FROM table_name_20 WHERE drawn < 3 | How many goals against when the draws are fewer than 3? | <s>[INST]How many goals against when the draws are fewer than 3? Context: CREATE TABLE table_name_20 (goals_against INTEGER, drawn INTEGER)[/INST]SELECT MAX(goals_against) FROM table_name_20 WHERE drawn < 3</s> |
CREATE TABLE table_23871828_1 (song_choice VARCHAR, result VARCHAR, order__number VARCHAR) | SELECT song_choice FROM table_23871828_1 WHERE result = "Safe" AND order__number = 8 | Name the song for safe result #8. | <s>[INST]Name the song for safe result #8. Context: CREATE TABLE table_23871828_1 (song_choice VARCHAR, result VARCHAR, order__number VARCHAR)[/INST]SELECT song_choice FROM table_23871828_1 WHERE result = "Safe" AND order__number = 8</s> |
CREATE TABLE table_name_25 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR) | SELECT score_in_the_final FROM table_name_25 WHERE opponent_in_the_final = "alberto berasategui" | What is the score of the match that was against alberto berasategui? | <s>[INST]What is the score of the match that was against alberto berasategui? Context: CREATE TABLE table_name_25 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_25 WHERE opponent_in_the_final = "alberto berasategui"</s> |
CREATE TABLE table_name_92 (date VARCHAR, time VARCHAR, set_1 VARCHAR) | SELECT date FROM table_name_92 WHERE time = "18:00" AND set_1 = "22–25" | When was there a Time of 18:00, and a Set 1 of 22–25? | <s>[INST]When was there a Time of 18:00, and a Set 1 of 22–25? Context: CREATE TABLE table_name_92 (date VARCHAR, time VARCHAR, set_1 VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE time = "18:00" AND set_1 = "22–25"</s> |
CREATE TABLE table_22481967_1 (builder VARCHAR, withdrawn VARCHAR, number VARCHAR) | SELECT COUNT(builder) FROM table_22481967_1 WHERE withdrawn = "1951" AND number = "42" | List the number of builders where the withdrawn is 1951 and number is 42. | <s>[INST]List the number of builders where the withdrawn is 1951 and number is 42. Context: CREATE TABLE table_22481967_1 (builder VARCHAR, withdrawn VARCHAR, number VARCHAR)[/INST]SELECT COUNT(builder) FROM table_22481967_1 WHERE withdrawn = "1951" AND number = "42"</s> |
CREATE TABLE table_name_24 (leading_scorer VARCHAR, year VARCHAR, goals VARCHAR, league VARCHAR) | SELECT leading_scorer FROM table_name_24 WHERE goals < 23 AND league = "football league division 3" AND year = "1997–98" | Leading Scorer that has a Goal smaller than 23, and a League of football league division 3, and a Year of 1997–98 is who? | <s>[INST]Leading Scorer that has a Goal smaller than 23, and a League of football league division 3, and a Year of 1997–98 is who? Context: CREATE TABLE table_name_24 (leading_scorer VARCHAR, year VARCHAR, goals VARCHAR, league VARCHAR)[/INST]SELECT leading_scorer FROM table_name_24 WHERE goals < 23 AND league = "footb... |
CREATE TABLE table_name_24 (season VARCHAR, premier_division VARCHAR, division_three VARCHAR) | SELECT season FROM table_name_24 WHERE premier_division = "ewyas harold" AND division_three = "stoke prior" | Which year were both the Premier Division Ewyas Harold and Division Three Stoke Prior champions? | <s>[INST]Which year were both the Premier Division Ewyas Harold and Division Three Stoke Prior champions? Context: CREATE TABLE table_name_24 (season VARCHAR, premier_division VARCHAR, division_three VARCHAR)[/INST]SELECT season FROM table_name_24 WHERE premier_division = "ewyas harold" AND division_three = "stoke prio... |
CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_11 WHERE record = "9-10-2" | Can you tell me the Date thay has the Reocrd of 9-10-2? | <s>[INST]Can you tell me the Date thay has the Reocrd of 9-10-2? Context: CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_11 WHERE record = "9-10-2"</s> |
CREATE TABLE race (CLASS VARCHAR) | SELECT CLASS FROM race GROUP BY CLASS HAVING COUNT(*) >= 2 | List the race class with at least two races. | <s>[INST]List the race class with at least two races. Context: CREATE TABLE race (CLASS VARCHAR)[/INST]SELECT CLASS FROM race GROUP BY CLASS HAVING COUNT(*) >= 2</s> |
CREATE TABLE table_name_94 (lost INTEGER, drawn VARCHAR, goals_against VARCHAR) | SELECT MAX(lost) FROM table_name_94 WHERE drawn > 12 AND goals_against = 54 | Which Lost has Drawn larger than 12, and Goals Against of 54? | <s>[INST]Which Lost has Drawn larger than 12, and Goals Against of 54? Context: CREATE TABLE table_name_94 (lost INTEGER, drawn VARCHAR, goals_against VARCHAR)[/INST]SELECT MAX(lost) FROM table_name_94 WHERE drawn > 12 AND goals_against = 54</s> |
CREATE TABLE customer (cust_name VARCHAR, credit_score VARCHAR) | SELECT cust_name FROM customer ORDER BY credit_score LIMIT 1 | Find the name of customer who has the lowest credit score. | <s>[INST]Find the name of customer who has the lowest credit score. Context: CREATE TABLE customer (cust_name VARCHAR, credit_score VARCHAR)[/INST]SELECT cust_name FROM customer ORDER BY credit_score LIMIT 1</s> |
CREATE TABLE table_name_23 (location VARCHAR, founded VARCHAR, institution VARCHAR) | SELECT location FROM table_name_23 WHERE founded > 1890 AND institution = "university of montana" | What is the location of the University of Montana, which was founded after 1890? | <s>[INST]What is the location of the University of Montana, which was founded after 1890? Context: CREATE TABLE table_name_23 (location VARCHAR, founded VARCHAR, institution VARCHAR)[/INST]SELECT location FROM table_name_23 WHERE founded > 1890 AND institution = "university of montana"</s> |
CREATE TABLE table_name_51 (metres VARCHAR, feet INTEGER) | SELECT COUNT(metres) FROM table_name_51 WHERE feet < 196 | What is the sum of Metres wiht a Feet that's smaller than 196? | <s>[INST]What is the sum of Metres wiht a Feet that's smaller than 196? Context: CREATE TABLE table_name_51 (metres VARCHAR, feet INTEGER)[/INST]SELECT COUNT(metres) FROM table_name_51 WHERE feet < 196</s> |
CREATE TABLE table_name_37 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_37 WHERE place = "t3" AND player = "billy mayfair" | Which country is t3 finisher billy mayfair from? | <s>[INST]Which country is t3 finisher billy mayfair from? Context: CREATE TABLE table_name_37 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_37 WHERE place = "t3" AND player = "billy mayfair"</s> |
CREATE TABLE table_name_10 (source_version VARCHAR, target_version VARCHAR) | SELECT source_version FROM table_name_10 WHERE target_version = "java 7, 6, 5" | What is Source Version, when Target Version is Java 7, 6, 5? | <s>[INST]What is Source Version, when Target Version is Java 7, 6, 5? Context: CREATE TABLE table_name_10 (source_version VARCHAR, target_version VARCHAR)[/INST]SELECT source_version FROM table_name_10 WHERE target_version = "java 7, 6, 5"</s> |
CREATE TABLE table_23730973_5 (no INTEGER, rating VARCHAR) | SELECT MIN(no) FROM table_23730973_5 WHERE rating = "4.2" | What number episode had a 4.2 rating? | <s>[INST]What number episode had a 4.2 rating? Context: CREATE TABLE table_23730973_5 (no INTEGER, rating VARCHAR)[/INST]SELECT MIN(no) FROM table_23730973_5 WHERE rating = "4.2"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.