context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_1341973_3 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341973_3 WHERE incumbent = "George M. Grant" | Who were the candidates in the election where the incumbent is George M. Grant? | <s>[INST]Who were the candidates in the election where the incumbent is George M. Grant? Context: CREATE TABLE table_1341973_3 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341973_3 WHERE incumbent = "George M. Grant"</s> |
CREATE TABLE table_2126093_3 (to_par VARCHAR, tournament VARCHAR) | SELECT to_par FROM table_2126093_3 WHERE tournament = "Miyagi TV Cup Dunlop Ladies Open" | How many points under par was the winner of the Miyagi TV Cup Dunlop Ladies Open? | <s>[INST]How many points under par was the winner of the Miyagi TV Cup Dunlop Ladies Open? Context: CREATE TABLE table_2126093_3 (to_par VARCHAR, tournament VARCHAR)[/INST]SELECT to_par FROM table_2126093_3 WHERE tournament = "Miyagi TV Cup Dunlop Ladies Open"</s> |
CREATE TABLE table_name_2 (money_list_rank INTEGER, earnings__$_ VARCHAR, lpga_wins VARCHAR, year VARCHAR) | SELECT MIN(money_list_rank) FROM table_name_2 WHERE lpga_wins < 2 AND year = 2005 AND earnings__$_ < 615 OFFSET 499 | In 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank? | <s>[INST]In 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank? Context: CREATE TABLE table_name_2 (money_list_rank INTEGER, earnings__$_ VARCHAR, lpga_wins VARCHAR, year VARCHAR)[/INST]SELECT MIN(money_list_rank) FROM table_name_2 WHERE lpga_wins < 2 AND year = 2005 AND... |
CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR) | SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg" | which production codes were written by andrew goldberg | <s>[INST]which production codes were written by andrew goldberg Context: CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR)[/INST]SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg"</s> |
CREATE TABLE table_name_38 (rank INTEGER, time VARCHAR) | SELECT AVG(rank) FROM table_name_38 WHERE time = "1:42.054" | What was the rank for the finish time of 1:42.054? | <s>[INST]What was the rank for the finish time of 1:42.054? Context: CREATE TABLE table_name_38 (rank INTEGER, time VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_38 WHERE time = "1:42.054"</s> |
CREATE TABLE table_name_26 (external_weapon VARCHAR, knight VARCHAR) | SELECT external_weapon FROM table_name_26 WHERE knight = "zeke" | What is the external weapon of knight zeke? | <s>[INST]What is the external weapon of knight zeke? Context: CREATE TABLE table_name_26 (external_weapon VARCHAR, knight VARCHAR)[/INST]SELECT external_weapon FROM table_name_26 WHERE knight = "zeke"</s> |
CREATE TABLE table_name_93 (position VARCHAR, class VARCHAR, player VARCHAR) | SELECT position FROM table_name_93 WHERE class = "sophomore" AND player = "shaquille o'neal category:articles with hcards" | What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articles With hCards? | <s>[INST]What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articles With hCards? Context: CREATE TABLE table_name_93 (position VARCHAR, class VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_93 WHERE class = "sophomore" AND player = "shaquille o'neal category:articles... |
CREATE TABLE table_name_56 (gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_56 WHERE bronze > 12 AND total < 124 | How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 Total medals? | <s>[INST]How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 Total medals? Context: CREATE TABLE table_name_56 (gold VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_56 WHERE bronze > 12 AND total < 124</s> |
CREATE TABLE table_16494599_4 (player VARCHAR, position VARCHAR) | SELECT player FROM table_16494599_4 WHERE position = "Guard" | What players play guard? | <s>[INST]What players play guard? Context: CREATE TABLE table_16494599_4 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_16494599_4 WHERE position = "Guard"</s> |
CREATE TABLE table_28138035_20 (mens_doubles VARCHAR, year_location VARCHAR) | SELECT mens_doubles FROM table_28138035_20 WHERE year_location = "1999 Kobe" | Who played mens doubles for the 1999 kobe tour? | <s>[INST]Who played mens doubles for the 1999 kobe tour? Context: CREATE TABLE table_28138035_20 (mens_doubles VARCHAR, year_location VARCHAR)[/INST]SELECT mens_doubles FROM table_28138035_20 WHERE year_location = "1999 Kobe"</s> |
CREATE TABLE table_name_59 (Id VARCHAR) | SELECT 1992 FROM table_name_59 WHERE 1996 = "sf" AND 1993 = "a" | Which 1992 has a 1996 of sf and a 1993 of a? | <s>[INST]Which 1992 has a 1996 of sf and a 1993 of a? Context: CREATE TABLE table_name_59 (Id VARCHAR)[/INST]SELECT 1992 FROM table_name_59 WHERE 1996 = "sf" AND 1993 = "a"</s> |
CREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR) | SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159 | Who is the co-driver for the 6th position and more than 159 laps? | <s>[INST]Who is the co-driver for the 6th position and more than 159 laps? Context: CREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR)[/INST]SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159</s> |
CREATE TABLE table_name_6 (season VARCHAR, win_percentage VARCHAR) | SELECT season FROM table_name_6 WHERE win_percentage = ".354" | Which season has a .354 Win%? | <s>[INST]Which season has a .354 Win%? Context: CREATE TABLE table_name_6 (season VARCHAR, win_percentage VARCHAR)[/INST]SELECT season FROM table_name_6 WHERE win_percentage = ".354"</s> |
CREATE TABLE table_name_44 (shropshire_senior_cup VARCHAR, points VARCHAR, fa_cup VARCHAR) | SELECT shropshire_senior_cup FROM table_name_44 WHERE points > 78 AND fa_cup = "pre" | What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre? | <s>[INST]What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre? Context: CREATE TABLE table_name_44 (shropshire_senior_cup VARCHAR, points VARCHAR, fa_cup VARCHAR)[/INST]SELECT shropshire_senior_cup FROM table_name_44 WHERE points > 78 AND fa_cup = "pre"</s> |
CREATE TABLE table_name_60 (director VARCHAR, language VARCHAR) | SELECT director FROM table_name_60 WHERE language = "romanian" | Who directed the Romanian film? | <s>[INST]Who directed the Romanian film? Context: CREATE TABLE table_name_60 (director VARCHAR, language VARCHAR)[/INST]SELECT director FROM table_name_60 WHERE language = "romanian"</s> |
CREATE TABLE table_name_92 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_92 WHERE tie_no = "4" | What date has a Tie Number of 4? | <s>[INST]What date has a Tie Number of 4? Context: CREATE TABLE table_name_92 (date VARCHAR, tie_no VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE tie_no = "4"</s> |
CREATE TABLE table_name_9 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_9 WHERE opponent = "houston oilers" | What was the attendance for the game against the Houston Oilers? | <s>[INST]What was the attendance for the game against the Houston Oilers? Context: CREATE TABLE table_name_9 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_9 WHERE opponent = "houston oilers"</s> |
CREATE TABLE table_name_22 (english_meaning VARCHAR, full_word VARCHAR) | SELECT english_meaning FROM table_name_22 WHERE full_word = "shens gamo" | What is English Meaning, when Full Word is "Shens Gamo"? | <s>[INST]What is English Meaning, when Full Word is "Shens Gamo"? Context: CREATE TABLE table_name_22 (english_meaning VARCHAR, full_word VARCHAR)[/INST]SELECT english_meaning FROM table_name_22 WHERE full_word = "shens gamo"</s> |
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR) | SELECT date_of_enrolment, date_of_completion FROM Student_Course_Enrolment | List all the dates of enrollment and completion of students. | <s>[INST]List all the dates of enrollment and completion of students. Context: CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR)[/INST]SELECT date_of_enrolment, date_of_completion FROM Student_Course_Enrolment</s> |
CREATE TABLE table_name_93 (height VARCHAR, hometown VARCHAR) | SELECT height FROM table_name_93 WHERE hometown = "huntington, wv" | What is the height of the player who is from Huntington, WV? | <s>[INST]What is the height of the player who is from Huntington, WV? Context: CREATE TABLE table_name_93 (height VARCHAR, hometown VARCHAR)[/INST]SELECT height FROM table_name_93 WHERE hometown = "huntington, wv"</s> |
CREATE TABLE table_name_50 (con__gress VARCHAR, date VARCHAR) | SELECT con__gress FROM table_name_50 WHERE date = "2010" | Which congress was held in 2010? | <s>[INST]Which congress was held in 2010? Context: CREATE TABLE table_name_50 (con__gress VARCHAR, date VARCHAR)[/INST]SELECT con__gress FROM table_name_50 WHERE date = "2010"</s> |
CREATE TABLE table_142573_1 (clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR) | SELECT COUNT(clock_rate__mhz_) FROM table_142573_1 WHERE bandwidth__mb_s_ = 2400 | Name the number of clock rate mhz when bandwidth mb/s is 2400 | <s>[INST]Name the number of clock rate mhz when bandwidth mb/s is 2400 Context: CREATE TABLE table_142573_1 (clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR)[/INST]SELECT COUNT(clock_rate__mhz_) FROM table_142573_1 WHERE bandwidth__mb_s_ = 2400</s> |
CREATE TABLE table_name_69 (to_par VARCHAR, score VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_69 WHERE score < 71 AND place = "t6" | With a score smaller than 71 along with a place of t6, what is the To par score? | <s>[INST]With a score smaller than 71 along with a place of t6, what is the To par score? Context: CREATE TABLE table_name_69 (to_par VARCHAR, score VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_69 WHERE score < 71 AND place = "t6"</s> |
CREATE TABLE available_policies (policy_type_code VARCHAR) | SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1 | Which policy type has the most records in the database? | <s>[INST]Which policy type has the most records in the database? Context: CREATE TABLE available_policies (policy_type_code VARCHAR)[/INST]SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_11 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_11 WHERE year > 1963 AND chassis = "eagle mk1" | What ist he entrant later than 1963 with an eagle MK1 chassis? | <s>[INST]What ist he entrant later than 1963 with an eagle MK1 chassis? Context: CREATE TABLE table_name_11 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_11 WHERE year > 1963 AND chassis = "eagle mk1"</s> |
CREATE TABLE table_1342149_38 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342149_38 WHERE incumbent = "Paul B. Dague" | Which district had Paul B. Dague as the incumbent? | <s>[INST]Which district had Paul B. Dague as the incumbent? Context: CREATE TABLE table_1342149_38 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342149_38 WHERE incumbent = "Paul B. Dague"</s> |
CREATE TABLE table_24587026_1 (wins INTEGER) | SELECT MIN(wins) FROM table_24587026_1 | Name the most wins | <s>[INST]Name the most wins Context: CREATE TABLE table_24587026_1 (wins INTEGER)[/INST]SELECT MIN(wins) FROM table_24587026_1</s> |
CREATE TABLE table_27455867_1 (audition_city VARCHAR, audition_venue VARCHAR) | SELECT COUNT(audition_city) FROM table_27455867_1 WHERE audition_venue = "Bridgestone Arena" | In how many different audition cities were the Bridgestone arena auditions held? | <s>[INST]In how many different audition cities were the Bridgestone arena auditions held? Context: CREATE TABLE table_27455867_1 (audition_city VARCHAR, audition_venue VARCHAR)[/INST]SELECT COUNT(audition_city) FROM table_27455867_1 WHERE audition_venue = "Bridgestone Arena"</s> |
CREATE TABLE table_name_56 (ri_song_hui___prk__ VARCHAR) | SELECT 102 AS kg FROM table_name_56 WHERE ri_song_hui___prk__ = "226kg" | What's the 102kg when the Ri Song-Hui was 226kg? | <s>[INST]What's the 102kg when the Ri Song-Hui was 226kg? Context: CREATE TABLE table_name_56 (ri_song_hui___prk__ VARCHAR)[/INST]SELECT 102 AS kg FROM table_name_56 WHERE ri_song_hui___prk__ = "226kg"</s> |
CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_55 WHERE record = "4-2" | Which opponent has a record of 4-2? | <s>[INST]Which opponent has a record of 4-2? Context: CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_55 WHERE record = "4-2"</s> |
CREATE TABLE table_name_87 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_87 WHERE place = "t4" AND player = "wayne grady" | Which To par has a Place of t4, and wayne grady is in? | <s>[INST]Which To par has a Place of t4, and wayne grady is in? Context: CREATE TABLE table_name_87 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_87 WHERE place = "t4" AND player = "wayne grady"</s> |
CREATE TABLE table_name_10 (exaltation VARCHAR, domicile VARCHAR, sign VARCHAR) | SELECT exaltation FROM table_name_10 WHERE domicile = "saturn" AND sign = "capricorn" | Which exaltation has a domicile of Saturn and Capricorn as a sign? | <s>[INST]Which exaltation has a domicile of Saturn and Capricorn as a sign? Context: CREATE TABLE table_name_10 (exaltation VARCHAR, domicile VARCHAR, sign VARCHAR)[/INST]SELECT exaltation FROM table_name_10 WHERE domicile = "saturn" AND sign = "capricorn"</s> |
CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR) | SELECT location FROM table_name_88 WHERE score = "38-29" | What is the Location, when the Score is 38-29? | <s>[INST]What is the Location, when the Score is 38-29? Context: CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR)[/INST]SELECT location FROM table_name_88 WHERE score = "38-29"</s> |
CREATE TABLE table_name_19 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_19 WHERE position = "forward" AND school_club_team = "depaul" | What is the nationality of the player that plays forward and is from depaul? | <s>[INST]What is the nationality of the player that plays forward and is from depaul? Context: CREATE TABLE table_name_19 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT nationality FROM table_name_19 WHERE position = "forward" AND school_club_team = "depaul"</s> |
CREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR) | SELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18 | What were the highest losses when the goal was smaller than 45 and the points was smaller than 18? | <s>[INST]What were the highest losses when the goal was smaller than 45 and the points was smaller than 18? Context: CREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18</s> |
CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR) | SELECT MIN(rank) FROM table_name_2 WHERE country = "denmark" AND total < 1 | What is the lowest Rank of Denmark County with a Total smaller than 1? | <s>[INST]What is the lowest Rank of Denmark County with a Total smaller than 1? Context: CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_2 WHERE country = "denmark" AND total < 1</s> |
CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_62 WHERE date = "8 october 2008" | When the date is 8 october 2008 what is the sum of attendance? | <s>[INST]When the date is 8 october 2008 what is the sum of attendance? Context: CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_62 WHERE date = "8 october 2008"</s> |
CREATE TABLE table_name_92 (entered VARCHAR, celebrity VARCHAR) | SELECT entered FROM table_name_92 WHERE celebrity = "kim woodburn" | When did kim woodburn enter? | <s>[INST]When did kim woodburn enter? Context: CREATE TABLE table_name_92 (entered VARCHAR, celebrity VARCHAR)[/INST]SELECT entered FROM table_name_92 WHERE celebrity = "kim woodburn"</s> |
CREATE TABLE table_22402438_7 (pick__number INTEGER, position VARCHAR) | SELECT MIN(pick__number) FROM table_22402438_7 WHERE position = "Goaltender" | How many pick # are there for the goaltender position? | <s>[INST]How many pick # are there for the goaltender position? Context: CREATE TABLE table_22402438_7 (pick__number INTEGER, position VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_22402438_7 WHERE position = "Goaltender"</s> |
CREATE TABLE table_name_7 (season INTEGER, percentage VARCHAR, driver VARCHAR) | SELECT MAX(season) FROM table_name_7 WHERE percentage = "67%" AND driver = "alberto ascari" | Which is the highest Season with a Percentage of 67% and Alberto Ascari as a Driver? | <s>[INST]Which is the highest Season with a Percentage of 67% and Alberto Ascari as a Driver? Context: CREATE TABLE table_name_7 (season INTEGER, percentage VARCHAR, driver VARCHAR)[/INST]SELECT MAX(season) FROM table_name_7 WHERE percentage = "67%" AND driver = "alberto ascari"</s> |
CREATE TABLE table_name_65 (tournament VARCHAR) | SELECT 2012 FROM table_name_65 WHERE 2013 = "2r" AND tournament = "wimbledon" | What results in 2012 also has 2013 results of 2r and the tournament was Wimbledon? | <s>[INST]What results in 2012 also has 2013 results of 2r and the tournament was Wimbledon? Context: CREATE TABLE table_name_65 (tournament VARCHAR)[/INST]SELECT 2012 FROM table_name_65 WHERE 2013 = "2r" AND tournament = "wimbledon"</s> |
CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_4 WHERE venue = "lake oval" | On what date was a match played at Lake Oval? | <s>[INST]On what date was a match played at Lake Oval? Context: CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE venue = "lake oval"</s> |
CREATE TABLE table_name_88 (name VARCHAR, champion VARCHAR) | SELECT name FROM table_name_88 WHERE champion = "henrik sundström" | What's the name when Henrik Sundström was champion? | <s>[INST]What's the name when Henrik Sundström was champion? Context: CREATE TABLE table_name_88 (name VARCHAR, champion VARCHAR)[/INST]SELECT name FROM table_name_88 WHERE champion = "henrik sundström"</s> |
CREATE TABLE table_18268930_1 (partner VARCHAR, location VARCHAR) | SELECT partner FROM table_18268930_1 WHERE location = "Tamara, HON" | Who's the partner at Tamara, Hon? | <s>[INST]Who's the partner at Tamara, Hon? Context: CREATE TABLE table_18268930_1 (partner VARCHAR, location VARCHAR)[/INST]SELECT partner FROM table_18268930_1 WHERE location = "Tamara, HON"</s> |
CREATE TABLE table_25182437_1 (start_date_of__first__term VARCHAR, date_of_birth VARCHAR) | SELECT start_date_of__first__term FROM table_25182437_1 WHERE date_of_birth = "1961-08-09 9 August 1961" | If the date of birth is 1961-08-09 9 august 1961, what is the start date of (first) term? | <s>[INST]If the date of birth is 1961-08-09 9 august 1961, what is the start date of (first) term? Context: CREATE TABLE table_25182437_1 (start_date_of__first__term VARCHAR, date_of_birth VARCHAR)[/INST]SELECT start_date_of__first__term FROM table_25182437_1 WHERE date_of_birth = "1961-08-09 9 August 1961"</s> |
CREATE TABLE table_28540609_2 (cuts_made VARCHAR, earnings__€_ VARCHAR) | SELECT cuts_made FROM table_28540609_2 WHERE earnings__€_ = 210408 | How many cuts did the player who earned 210408 Euro make? | <s>[INST]How many cuts did the player who earned 210408 Euro make? Context: CREATE TABLE table_28540609_2 (cuts_made VARCHAR, earnings__€_ VARCHAR)[/INST]SELECT cuts_made FROM table_28540609_2 WHERE earnings__€_ = 210408</s> |
CREATE TABLE table_name_21 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_21 WHERE date = "12 september 2004" | What is the Outcome of the match on 12 september 2004? | <s>[INST]What is the Outcome of the match on 12 september 2004? Context: CREATE TABLE table_name_21 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_21 WHERE date = "12 september 2004"</s> |
CREATE TABLE Students (last_name VARCHAR, student_id VARCHAR); CREATE TABLE Behavior_Incident (student_id VARCHAR) | SELECT T1.student_id, T2.last_name FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1 | Find the id and last name of the student that has the most behavior incidents? | <s>[INST]Find the id and last name of the student that has the most behavior incidents? Context: CREATE TABLE Students (last_name VARCHAR, student_id VARCHAR); CREATE TABLE Behavior_Incident (student_id VARCHAR)[/INST]SELECT T1.student_id, T2.last_name FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id =... |
CREATE TABLE table_189893_1 (population__2011_ INTEGER) | SELECT MIN(population__2011_) FROM table_189893_1 | What is the lowest population(2011)? | <s>[INST]What is the lowest population(2011)? Context: CREATE TABLE table_189893_1 (population__2011_ INTEGER)[/INST]SELECT MIN(population__2011_) FROM table_189893_1</s> |
CREATE TABLE table_name_3 (date VARCHAR, distance VARCHAR) | SELECT date FROM table_name_3 WHERE distance = "500 m" | Which Date has a Distance of 500 m? | <s>[INST]Which Date has a Distance of 500 m? Context: CREATE TABLE table_name_3 (date VARCHAR, distance VARCHAR)[/INST]SELECT date FROM table_name_3 WHERE distance = "500 m"</s> |
CREATE TABLE table_27893892_2 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_27893892_2 WHERE date = "Saturday, May 12" | what was the participation for saturday, may 12 | <s>[INST]what was the participation for saturday, may 12 Context: CREATE TABLE table_27893892_2 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_27893892_2 WHERE date = "Saturday, May 12"</s> |
CREATE TABLE table_27374004_4 (position_in_table VARCHAR, outgoing_manager VARCHAR) | SELECT position_in_table FROM table_27374004_4 WHERE outgoing_manager = "Danny Ost" | What was the team's position in table when Danny OST was the outgoing manager? | <s>[INST]What was the team's position in table when Danny OST was the outgoing manager? Context: CREATE TABLE table_27374004_4 (position_in_table VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT position_in_table FROM table_27374004_4 WHERE outgoing_manager = "Danny Ost"</s> |
CREATE TABLE table_20592988_1 (bleeding_time VARCHAR, condition VARCHAR) | SELECT bleeding_time FROM table_20592988_1 WHERE condition = "Thrombocytopenia" | What is the status of bleeding time for thrombocytopenia? | <s>[INST]What is the status of bleeding time for thrombocytopenia? Context: CREATE TABLE table_20592988_1 (bleeding_time VARCHAR, condition VARCHAR)[/INST]SELECT bleeding_time FROM table_20592988_1 WHERE condition = "Thrombocytopenia"</s> |
CREATE TABLE table_26368963_2 (under_13 VARCHAR, under_15 VARCHAR) | SELECT under_13 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina" | What is every value for Under-13 when value for Under-15 is Maria Elena Ubina? | <s>[INST]What is every value for Under-13 when value for Under-15 is Maria Elena Ubina? Context: CREATE TABLE table_26368963_2 (under_13 VARCHAR, under_15 VARCHAR)[/INST]SELECT under_13 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina"</s> |
CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR); CREATE TABLE Asset_Parts (asset_id VARCHAR); CREATE TABLE Fault_Log (asset_id VARCHAR) | SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Asset_Parts AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) = 2 INTERSECT SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Fault_Log AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) < 2 | Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail. | <s>[INST]Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail. Context: CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR); CREATE TABLE Asset_Parts (asset_id VARCHAR); CREATE TABLE Fault_Log (asset_id VARCHAR)[/INST]SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JO... |
CREATE TABLE table_name_24 (date VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_24 WHERE method = "technical knockout" AND opponent = "fatu tuimanono" | When did the technical knockout against Fatu Tuimanono happen? | <s>[INST]When did the technical knockout against Fatu Tuimanono happen? Context: CREATE TABLE table_name_24 (date VARCHAR, method VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_24 WHERE method = "technical knockout" AND opponent = "fatu tuimanono"</s> |
CREATE TABLE table_name_81 (bronze VARCHAR, location VARCHAR) | SELECT bronze FROM table_name_81 WHERE location = "busan" | Who was the bronze medal when the Asian Games were held in Busan? | <s>[INST]Who was the bronze medal when the Asian Games were held in Busan? Context: CREATE TABLE table_name_81 (bronze VARCHAR, location VARCHAR)[/INST]SELECT bronze FROM table_name_81 WHERE location = "busan"</s> |
CREATE TABLE table_26423157_2 (seed VARCHAR, school VARCHAR) | SELECT seed FROM table_26423157_2 WHERE school = "California" | What seed was California? | <s>[INST]What seed was California? Context: CREATE TABLE table_26423157_2 (seed VARCHAR, school VARCHAR)[/INST]SELECT seed FROM table_26423157_2 WHERE school = "California"</s> |
CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR) | SELECT director FROM table_name_12 WHERE series = "mm" AND production_num < 6494 AND release_date = "1934-09-15" | Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494? | <s>[INST]Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494? Context: CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR)[/INST]SELECT director FROM table_name_12 WHERE series = "mm" AND produ... |
CREATE TABLE table_21536557_2 (time__cet_ VARCHAR, time VARCHAR) | SELECT time__cet_ FROM table_21536557_2 WHERE time = "5:04.8" | What is every time(cet) for a time of 5:04.8? | <s>[INST]What is every time(cet) for a time of 5:04.8? Context: CREATE TABLE table_21536557_2 (time__cet_ VARCHAR, time VARCHAR)[/INST]SELECT time__cet_ FROM table_21536557_2 WHERE time = "5:04.8"</s> |
CREATE TABLE table_name_93 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_93 WHERE home_team = "essendon" | Where did Essendon play as the home team? | <s>[INST]Where did Essendon play as the home team? Context: CREATE TABLE table_name_93 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_93 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_29 (event VARCHAR, circuit VARCHAR, winning_driver VARCHAR, round VARCHAR) | SELECT event FROM table_name_29 WHERE winning_driver = "laurent aiello laurent aiello" AND round > 1 AND circuit = "wunstorf" | What is Event, when Winning Driver is "Laurent Aiello Laurent Aiello", when Round is greater than 1, and when Circuit is "Wunstorf"? | <s>[INST]What is Event, when Winning Driver is "Laurent Aiello Laurent Aiello", when Round is greater than 1, and when Circuit is "Wunstorf"? Context: CREATE TABLE table_name_29 (event VARCHAR, circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)[/INST]SELECT event FROM table_name_29 WHERE winning_driver = "laurent ... |
CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR) | SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Dameon" AND T2.staff_last_name = "Frami" UNION SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Jolie" AND T2.staff_las... | What are the id of problems reported by the staff named Dameon Frami or Jolie Weber? | <s>[INST]What are the id of problems reported by the staff named Dameon Frami or Jolie Weber? Context: CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR)[/INST]SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reporte... |
CREATE TABLE table_name_29 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_29 WHERE away_team = "footscray" | How many people attended the game where Footscray was away? | <s>[INST]How many people attended the game where Footscray was away? Context: CREATE TABLE table_name_29 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_29 WHERE away_team = "footscray"</s> |
CREATE TABLE table_name_79 (segment_c VARCHAR, episode VARCHAR, segment_a VARCHAR) | SELECT segment_c FROM table_name_79 WHERE episode < 230 AND segment_a = "wax figures" | Which Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures? | <s>[INST]Which Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures? Context: CREATE TABLE table_name_79 (segment_c VARCHAR, episode VARCHAR, segment_a VARCHAR)[/INST]SELECT segment_c FROM table_name_79 WHERE episode < 230 AND segment_a = "wax figures"</s> |
CREATE TABLE table_name_46 (money___ VARCHAR, player VARCHAR) | SELECT COUNT(money___) AS £__ FROM table_name_46 WHERE player = "frank nobilo" | What is the money won by Frank Nobilo? | <s>[INST]What is the money won by Frank Nobilo? Context: CREATE TABLE table_name_46 (money___ VARCHAR, player VARCHAR)[/INST]SELECT COUNT(money___) AS £__ FROM table_name_46 WHERE player = "frank nobilo"</s> |
CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, score VARCHAR) | SELECT date FROM table_name_82 WHERE home = "winnipeg jets" AND score = "4–6" | When has winnipeg jets with a Score of 4–6? | <s>[INST]When has winnipeg jets with a Score of 4–6? Context: CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_82 WHERE home = "winnipeg jets" AND score = "4–6"</s> |
CREATE TABLE table_name_22 (sport VARCHAR, club VARCHAR) | SELECT sport FROM table_name_22 WHERE club = "montgomery biscuits" | Which sport had the club of the Montgomery Biscuits? | <s>[INST]Which sport had the club of the Montgomery Biscuits? Context: CREATE TABLE table_name_22 (sport VARCHAR, club VARCHAR)[/INST]SELECT sport FROM table_name_22 WHERE club = "montgomery biscuits"</s> |
CREATE TABLE table_name_28 (pick INTEGER, player VARCHAR) | SELECT SUM(pick) FROM table_name_28 WHERE player = "june longalong" | What's the total number of picks of a team that had june longalong? | <s>[INST]What's the total number of picks of a team that had june longalong? Context: CREATE TABLE table_name_28 (pick INTEGER, player VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_28 WHERE player = "june longalong"</s> |
CREATE TABLE table_name_7 (sales VARCHAR, peak_position VARCHAR) | SELECT sales FROM table_name_7 WHERE peak_position = "#24" | Name the sales with peak position of #24 | <s>[INST]Name the sales with peak position of #24 Context: CREATE TABLE table_name_7 (sales VARCHAR, peak_position VARCHAR)[/INST]SELECT sales FROM table_name_7 WHERE peak_position = "#24"</s> |
CREATE TABLE table_name_7 (january VARCHAR, points VARCHAR) | SELECT january FROM table_name_7 WHERE points = 51 | what is the average for January with points of 51 | <s>[INST]what is the average for January with points of 51 Context: CREATE TABLE table_name_7 (january VARCHAR, points VARCHAR)[/INST]SELECT january FROM table_name_7 WHERE points = 51</s> |
CREATE TABLE table_name_12 (commissioned VARCHAR, launched VARCHAR) | SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965" | Tell me what was commissioned december 30, 1965 | <s>[INST]Tell me what was commissioned december 30, 1965 Context: CREATE TABLE table_name_12 (commissioned VARCHAR, launched VARCHAR)[/INST]SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965"</s> |
CREATE TABLE table_name_3 (points VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT points FROM table_name_3 WHERE year < 1979 AND chassis = "ferrari 312b2" | How many points were there before 1979 with a ferrari 312b2 chassis? | <s>[INST]How many points were there before 1979 with a ferrari 312b2 chassis? Context: CREATE TABLE table_name_3 (points VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT points FROM table_name_3 WHERE year < 1979 AND chassis = "ferrari 312b2"</s> |
CREATE TABLE table_15346009_1 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_15346009_1 WHERE winner = "Bernhard Langer (2)" | What day did Bernhard Langer (2) win? | <s>[INST]What day did Bernhard Langer (2) win? Context: CREATE TABLE table_15346009_1 (date VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_15346009_1 WHERE winner = "Bernhard Langer (2)"</s> |
CREATE TABLE table_name_19 (laps INTEGER, driver VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT MAX(laps) FROM table_name_19 WHERE grid > 13 AND time_retired = "engine" AND driver = "luigi piotti" | What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine? | <s>[INST]What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine? Context: CREATE TABLE table_name_19 (laps INTEGER, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_19 WHERE grid > 13 AND time_retired = "engine" AND driver = "luigi piotti"</s... |
CREATE TABLE table_name_60 (captain VARCHAR, team VARCHAR) | SELECT captain FROM table_name_60 WHERE team = "bolton wanderers" | Who was the team captain of the Bolton Wanderers? | <s>[INST]Who was the team captain of the Bolton Wanderers? Context: CREATE TABLE table_name_60 (captain VARCHAR, team VARCHAR)[/INST]SELECT captain FROM table_name_60 WHERE team = "bolton wanderers"</s> |
CREATE TABLE operate_company (TYPE VARCHAR) | SELECT TYPE, COUNT(*) FROM operate_company GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | What is the most common company type, and how many are there? | <s>[INST]What is the most common company type, and how many are there? Context: CREATE TABLE operate_company (TYPE VARCHAR)[/INST]SELECT TYPE, COUNT(*) FROM operate_company GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_83 (home VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) | SELECT home FROM table_name_83 WHERE visitor = "grizzlies" AND leading_scorer = "rudy gay (21)" | What is the home team of the game where the Grizzlies were the visitor team and Rudy Gay (21) was the leading scorer? | <s>[INST]What is the home team of the game where the Grizzlies were the visitor team and Rudy Gay (21) was the leading scorer? Context: CREATE TABLE table_name_83 (home VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)[/INST]SELECT home FROM table_name_83 WHERE visitor = "grizzlies" AND leading_scorer = "rudy gay (21)"... |
CREATE TABLE table_2897457_2 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2897457_2 WHERE player = "Richard Borgo" | What NHL team picked richard borgo? | <s>[INST]What NHL team picked richard borgo? Context: CREATE TABLE table_2897457_2 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_2897457_2 WHERE player = "Richard Borgo"</s> |
CREATE TABLE table_name_6 (best VARCHAR, qual_1 VARCHAR) | SELECT best FROM table_name_6 WHERE qual_1 = "59.448" | What is the best time for a team with a first-qualifying time of 59.448? | <s>[INST]What is the best time for a team with a first-qualifying time of 59.448? Context: CREATE TABLE table_name_6 (best VARCHAR, qual_1 VARCHAR)[/INST]SELECT best FROM table_name_6 WHERE qual_1 = "59.448"</s> |
CREATE TABLE table_name_68 (apparatus VARCHAR, score_final VARCHAR, score_qualifying VARCHAR) | SELECT apparatus FROM table_name_68 WHERE score_final < 75.5 AND score_qualifying < 18.7 | On which apparatus did Kanayeva have a final score smaller than 75.5 and a qualifying score smaller than 18.7? | <s>[INST]On which apparatus did Kanayeva have a final score smaller than 75.5 and a qualifying score smaller than 18.7? Context: CREATE TABLE table_name_68 (apparatus VARCHAR, score_final VARCHAR, score_qualifying VARCHAR)[/INST]SELECT apparatus FROM table_name_68 WHERE score_final < 75.5 AND score_qualifying < 18.7</s... |
CREATE TABLE table_name_19 (party VARCHAR, net_gain_loss VARCHAR) | SELECT party FROM table_name_19 WHERE net_gain_loss = "-2" | Which party has a net gain/loss of -2? | <s>[INST]Which party has a net gain/loss of -2? Context: CREATE TABLE table_name_19 (party VARCHAR, net_gain_loss VARCHAR)[/INST]SELECT party FROM table_name_19 WHERE net_gain_loss = "-2"</s> |
CREATE TABLE table_name_77 (wins INTEGER, rank VARCHAR) | SELECT AVG(wins) FROM table_name_77 WHERE rank = 3 | Which Wins have a Rank of 3? | <s>[INST]Which Wins have a Rank of 3? Context: CREATE TABLE table_name_77 (wins INTEGER, rank VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_77 WHERE rank = 3</s> |
CREATE TABLE table_name_18 (rnd VARCHAR, college VARCHAR) | SELECT rnd FROM table_name_18 WHERE college = "northern colorado" | What is Northern Colorado's Rnd.? | <s>[INST]What is Northern Colorado's Rnd.? Context: CREATE TABLE table_name_18 (rnd VARCHAR, college VARCHAR)[/INST]SELECT rnd FROM table_name_18 WHERE college = "northern colorado"</s> |
CREATE TABLE table_1420954_1 (issues VARCHAR, writer VARCHAR) | SELECT COUNT(issues) FROM table_1420954_1 WHERE writer = "Elaine Lee" | elaine lee worked on how many issues | <s>[INST]elaine lee worked on how many issues Context: CREATE TABLE table_1420954_1 (issues VARCHAR, writer VARCHAR)[/INST]SELECT COUNT(issues) FROM table_1420954_1 WHERE writer = "Elaine Lee"</s> |
CREATE TABLE table_12562214_1 (date__from_ VARCHAR, notes VARCHAR) | SELECT date__from_ FROM table_12562214_1 WHERE notes = "Apeldoornsche Tramweg-Maatschappij" | what is the date (from) where the notes are apeldoornsche tramweg-maatschappij? | <s>[INST]what is the date (from) where the notes are apeldoornsche tramweg-maatschappij? Context: CREATE TABLE table_12562214_1 (date__from_ VARCHAR, notes VARCHAR)[/INST]SELECT date__from_ FROM table_12562214_1 WHERE notes = "Apeldoornsche Tramweg-Maatschappij"</s> |
CREATE TABLE table_name_96 (Id VARCHAR) | SELECT 2009 FROM table_name_96 WHERE 2003 = "career statistics" | What is the value in 2009 corresponding to Career Statistics in 2003? | <s>[INST]What is the value in 2009 corresponding to Career Statistics in 2003? Context: CREATE TABLE table_name_96 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_96 WHERE 2003 = "career statistics"</s> |
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_20 WHERE date = "23 february 1986" | Which Record has a Date of 23 february 1986? | <s>[INST]Which Record has a Date of 23 february 1986? Context: CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_20 WHERE date = "23 february 1986"</s> |
CREATE TABLE table_24138601_2 (date VARCHAR, final_score VARCHAR) | SELECT date FROM table_24138601_2 WHERE final_score = "L 28–15" | Name the date for l 28–15 | <s>[INST]Name the date for l 28–15 Context: CREATE TABLE table_24138601_2 (date VARCHAR, final_score VARCHAR)[/INST]SELECT date FROM table_24138601_2 WHERE final_score = "L 28–15"</s> |
CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT MAX(gold) FROM table_name_28 WHERE total > 3 AND bronze < 3 AND nation = "belarus" AND silver > 2 | what is the highest gold count when total is more than 3, bronze less than 3, and nation of belarus with silver count more than 2? | <s>[INST]what is the highest gold count when total is more than 3, bronze less than 3, and nation of belarus with silver count more than 2? Context: CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_28 WHERE total > 3 AND bron... |
CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR) | SELECT sixth FROM table_name_66 WHERE second = "white lies" | WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES? | <s>[INST]WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES? Context: CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR)[/INST]SELECT sixth FROM table_name_66 WHERE second = "white lies"</s> |
CREATE TABLE table_name_27 (name VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705 | Which school has a decile of 8 and a roll of 705? | <s>[INST]Which school has a decile of 8 and a roll of 705? Context: CREATE TABLE table_name_27 (name VARCHAR, decile VARCHAR, roll VARCHAR)[/INST]SELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705</s> |
CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR) | SELECT date FROM table_name_46 WHERE serial = "10b" | What is the date for the 10b serial? | <s>[INST]What is the date for the 10b serial? Context: CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE serial = "10b"</s> |
CREATE TABLE table_2933761_1 (status VARCHAR, played_by VARCHAR) | SELECT COUNT(status) FROM table_2933761_1 WHERE played_by = "Maurice Dean Wint" | How many characters does Maurice Dean Wint play in the movie Cube? | <s>[INST]How many characters does Maurice Dean Wint play in the movie Cube? Context: CREATE TABLE table_2933761_1 (status VARCHAR, played_by VARCHAR)[/INST]SELECT COUNT(status) FROM table_2933761_1 WHERE played_by = "Maurice Dean Wint"</s> |
CREATE TABLE table_17505751_5 (total VARCHAR, p INTEGER) | SELECT COUNT(total) FROM table_17505751_5 WHERE p > 4.0 | if p is bigger than 4.0 what is total number | <s>[INST]if p is bigger than 4.0 what is total number Context: CREATE TABLE table_17505751_5 (total VARCHAR, p INTEGER)[/INST]SELECT COUNT(total) FROM table_17505751_5 WHERE p > 4.0</s> |
CREATE TABLE table_name_64 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_64 WHERE player = "bryan berard" | What round does Bryan Berard do? | <s>[INST]What round does Bryan Berard do? Context: CREATE TABLE table_name_64 (round VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_64 WHERE player = "bryan berard"</s> |
CREATE TABLE table_name_33 (total_deaths VARCHAR, total_casualties VARCHAR) | SELECT total_deaths FROM table_name_33 WHERE total_casualties = "6" | How many deaths were there when the total casualties were 6? | <s>[INST]How many deaths were there when the total casualties were 6? Context: CREATE TABLE table_name_33 (total_deaths VARCHAR, total_casualties VARCHAR)[/INST]SELECT total_deaths FROM table_name_33 WHERE total_casualties = "6"</s> |
CREATE TABLE table_name_76 (team__number2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_76 WHERE team__number2 = "emelec" | What is 1st Leg, when Team #2 is "Emelec"? | <s>[INST]What is 1st Leg, when Team #2 is "Emelec"? Context: CREATE TABLE table_name_76 (team__number2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_76 WHERE team__number2 = "emelec"</s> |
CREATE TABLE table_name_56 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_56 WHERE date = "december 3" | On December 3, where was the game held and how many were in attendance? | <s>[INST]On December 3, where was the game held and how many were in attendance? Context: CREATE TABLE table_name_56 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_56 WHERE date = "december 3"</s> |
CREATE TABLE table_13741576_6 (club VARCHAR, points_against VARCHAR) | SELECT club FROM table_13741576_6 WHERE points_against = "523" | What club had 523 points against? | <s>[INST]What club had 523 points against? Context: CREATE TABLE table_13741576_6 (club VARCHAR, points_against VARCHAR)[/INST]SELECT club FROM table_13741576_6 WHERE points_against = "523"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.