context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_8 (not_outs INTEGER, runs VARCHAR, average VARCHAR, matches VARCHAR) | SELECT MIN(not_outs) FROM table_name_8 WHERE average < 31.25 AND matches < 13 AND runs < 327 | What is the lowest Not Outs with an average lower than 31.25, fewer than 13 matches, and fewer than 327 runs? | <s>[INST]What is the lowest Not Outs with an average lower than 31.25, fewer than 13 matches, and fewer than 327 runs? Context: CREATE TABLE table_name_8 (not_outs INTEGER, runs VARCHAR, average VARCHAR, matches VARCHAR)[/INST]SELECT MIN(not_outs) FROM table_name_8 WHERE average < 31.25 AND matches < 13 AND runs < 327<... |
CREATE TABLE table_22170495_7 (top_50_ranking INTEGER, title VARCHAR) | SELECT MIN(top_50_ranking) FROM table_22170495_7 WHERE title = "The God-Why-Don't-You-Love-Me Blues" | What is the lowest top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" received? | <s>[INST]What is the lowest top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" received? Context: CREATE TABLE table_22170495_7 (top_50_ranking INTEGER, title VARCHAR)[/INST]SELECT MIN(top_50_ranking) FROM table_22170495_7 WHERE title = "The God-Why-Don't-You-Love-Me Blues"</s> |
CREATE TABLE table_name_84 (year_named INTEGER, name VARCHAR, diameter__km_ VARCHAR) | SELECT MIN(year_named) FROM table_name_84 WHERE name = "nuptadi planitia" AND diameter__km_ > 1 OFFSET 200.0 | Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0? | <s>[INST]Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0? Context: CREATE TABLE table_name_84 (year_named INTEGER, name VARCHAR, diameter__km_ VARCHAR)[/INST]SELECT MIN(year_named) FROM table_name_84 WHERE name = "nuptadi planitia" AND diameter__km_ > 1 OFFSET 200.0</s> |
CREATE TABLE table_name_51 (avg_game INTEGER, goals VARCHAR, rank VARCHAR) | SELECT AVG(avg_game) FROM table_name_51 WHERE goals = 97 AND rank < 7 | What is the average avg/game of the player with 97 goals and a rank above 7? | <s>[INST]What is the average avg/game of the player with 97 goals and a rank above 7? Context: CREATE TABLE table_name_51 (avg_game INTEGER, goals VARCHAR, rank VARCHAR)[/INST]SELECT AVG(avg_game) FROM table_name_51 WHERE goals = 97 AND rank < 7</s> |
CREATE TABLE table_name_57 (name VARCHAR, completed VARCHAR) | SELECT name FROM table_name_57 WHERE completed = "1928" | Which bridge was completed in 1928? | <s>[INST]Which bridge was completed in 1928? Context: CREATE TABLE table_name_57 (name VARCHAR, completed VARCHAR)[/INST]SELECT name FROM table_name_57 WHERE completed = "1928"</s> |
CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_76 WHERE record = "9-3-0" | What is the Score when the record was 9-3-0? | <s>[INST]What is the Score when the record was 9-3-0? Context: CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE record = "9-3-0"</s> |
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342233_3 WHERE incumbent = "Frank W. Boykin" | what the was the final in which frank w. boykin was running | <s>[INST]what the was the final in which frank w. boykin was running Context: CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342233_3 WHERE incumbent = "Frank W. Boykin"</s> |
CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR) | SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010" | Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010? | <s>[INST]Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010? Context: CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface... |
CREATE TABLE table_name_87 (language VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR) | SELECT language FROM table_name_87 WHERE genre = "movies" AND service = "sky" AND network = "ump movies" | What language is the moviein that is on UMP movies network through Sky service? | <s>[INST]What language is the moviein that is on UMP movies network through Sky service? Context: CREATE TABLE table_name_87 (language VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR)[/INST]SELECT language FROM table_name_87 WHERE genre = "movies" AND service = "sky" AND network = "ump movies"</s> |
CREATE TABLE table_name_2 (diagram INTEGER, builder VARCHAR) | SELECT SUM(diagram) FROM table_name_2 WHERE builder = "york" | What is the total diagram for builder york? | <s>[INST]What is the total diagram for builder york? Context: CREATE TABLE table_name_2 (diagram INTEGER, builder VARCHAR)[/INST]SELECT SUM(diagram) FROM table_name_2 WHERE builder = "york"</s> |
CREATE TABLE table_name_38 (distance VARCHAR, stages VARCHAR, year VARCHAR) | SELECT distance FROM table_name_38 WHERE stages = "16" AND year = "1997" | How long was the 16 staged event in 1997? | <s>[INST]How long was the 16 staged event in 1997? Context: CREATE TABLE table_name_38 (distance VARCHAR, stages VARCHAR, year VARCHAR)[/INST]SELECT distance FROM table_name_38 WHERE stages = "16" AND year = "1997"</s> |
CREATE TABLE Treatments (treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR) | SELECT T1.treatment_type_description FROM Treatment_types AS T1 JOIN Treatments AS T2 ON T1.treatment_type_code = T2.treatment_type_code GROUP BY T1.treatment_type_code ORDER BY SUM(cost_of_treatment) LIMIT 1 | What is the description of the treatment type that costs the least money in total? | <s>[INST]What is the description of the treatment type that costs the least money in total? Context: CREATE TABLE Treatments (treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR)[/INST]SELECT T1.treatment_type_description FROM Treatment_types AS T1... |
CREATE TABLE table_name_31 (venue VARCHAR, opposing_team VARCHAR, status VARCHAR, against VARCHAR) | SELECT venue FROM table_name_31 WHERE status = "tour match" AND against > 0 AND opposing_team = "eastern province" | What venue was the tour match against eastern province played at with more than 0 against? | <s>[INST]What venue was the tour match against eastern province played at with more than 0 against? Context: CREATE TABLE table_name_31 (venue VARCHAR, opposing_team VARCHAR, status VARCHAR, against VARCHAR)[/INST]SELECT venue FROM table_name_31 WHERE status = "tour match" AND against > 0 AND opposing_team = "eastern p... |
CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR) | SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region" | Name the callsign for davao mindanao region | <s>[INST]Name the callsign for davao mindanao region Context: CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR)[/INST]SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region"</s> |
CREATE TABLE table_name_32 (total VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND rank < 2 | How many totals have 1 gold and a rank smaller than 2? | <s>[INST]How many totals have 1 gold and a rank smaller than 2? Context: CREATE TABLE table_name_32 (total VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND rank < 2</s> |
CREATE TABLE student_course_registrations (student_id VARCHAR) | SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY COUNT(*) LIMIT 1 | what is id of students who registered some courses but the least number of courses in these students? | <s>[INST]what is id of students who registered some courses but the least number of courses in these students? Context: CREATE TABLE student_course_registrations (student_id VARCHAR)[/INST]SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY COUNT(*) LIMIT 1</s> |
CREATE TABLE table_name_57 (genitive_1 VARCHAR, genitive_3 VARCHAR) | SELECT genitive_1 FROM table_name_57 WHERE genitive_3 = "*n(i)-ia" | Which Genitive 1 has a Genitive 3 of *n(i)-ia? | <s>[INST]Which Genitive 1 has a Genitive 3 of *n(i)-ia? Context: CREATE TABLE table_name_57 (genitive_1 VARCHAR, genitive_3 VARCHAR)[/INST]SELECT genitive_1 FROM table_name_57 WHERE genitive_3 = "*n(i)-ia"</s> |
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_11 WHERE date = "april 9" | Date of april 9 had what score? | <s>[INST]Date of april 9 had what score? Context: CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_11 WHERE date = "april 9"</s> |
CREATE TABLE table_name_71 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_71 WHERE venue = "vfl park" | How many people attended the game at VFL Park? | <s>[INST]How many people attended the game at VFL Park? Context: CREATE TABLE table_name_71 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_71 WHERE venue = "vfl park"</s> |
CREATE TABLE table_name_56 (format VARCHAR, calls VARCHAR) | SELECT format FROM table_name_56 WHERE calls = "wrko" | Tell me the format for calls of wrko | <s>[INST]Tell me the format for calls of wrko Context: CREATE TABLE table_name_56 (format VARCHAR, calls VARCHAR)[/INST]SELECT format FROM table_name_56 WHERE calls = "wrko"</s> |
CREATE TABLE table_1341423_20 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341423_20 WHERE incumbent = "Albert Wynn" | What party did incumbent Albert Wynn belong to? | <s>[INST]What party did incumbent Albert Wynn belong to? Context: CREATE TABLE table_1341423_20 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341423_20 WHERE incumbent = "Albert Wynn"</s> |
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR) | SELECT COUNT(torque__nm__rpm) FROM table_1212189_1 WHERE model_engine = "1.6 Duratec" | The 1.6 Duratec model/engine has how many torque formulas? | <s>[INST]The 1.6 Duratec model/engine has how many torque formulas? Context: CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)[/INST]SELECT COUNT(torque__nm__rpm) FROM table_1212189_1 WHERE model_engine = "1.6 Duratec"</s> |
CREATE TABLE table_10432351_1 (radius__r___ INTEGER) | SELECT MIN(radius__r___) FROM table_10432351_1 | What is the smallest possible radius? | <s>[INST]What is the smallest possible radius? Context: CREATE TABLE table_10432351_1 (radius__r___ INTEGER)[/INST]SELECT MIN(radius__r___) FROM table_10432351_1</s> |
CREATE TABLE table_17766232_7 (year_s_ VARCHAR, final_television_commentator VARCHAR) | SELECT COUNT(year_s_) FROM table_17766232_7 WHERE final_television_commentator = "Tom Fleming" | In how many years was Tom Fleming the final television commentator? | <s>[INST]In how many years was Tom Fleming the final television commentator? Context: CREATE TABLE table_17766232_7 (year_s_ VARCHAR, final_television_commentator VARCHAR)[/INST]SELECT COUNT(year_s_) FROM table_17766232_7 WHERE final_television_commentator = "Tom Fleming"</s> |
CREATE TABLE table_name_20 (wins INTEGER, year VARCHAR) | SELECT SUM(wins) FROM table_name_20 WHERE year = 1994 | How many wins were there in 1994? | <s>[INST]How many wins were there in 1994? Context: CREATE TABLE table_name_20 (wins INTEGER, year VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_20 WHERE year = 1994</s> |
CREATE TABLE table_name_23 (chord VARCHAR, minor_seventh VARCHAR) | SELECT chord FROM table_name_23 WHERE minor_seventh = "f" | What is the listed chord for a Minor seventh of F? | <s>[INST]What is the listed chord for a Minor seventh of F? Context: CREATE TABLE table_name_23 (chord VARCHAR, minor_seventh VARCHAR)[/INST]SELECT chord FROM table_name_23 WHERE minor_seventh = "f"</s> |
CREATE TABLE table_name_79 (frequency INTEGER, website VARCHAR) | SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.com" | What is the highest frequency from uncionfeypoder.com? | <s>[INST]What is the highest frequency from uncionfeypoder.com? Context: CREATE TABLE table_name_79 (frequency INTEGER, website VARCHAR)[/INST]SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.com"</s> |
CREATE TABLE table_name_37 (try_bonus VARCHAR, points_against VARCHAR) | SELECT try_bonus FROM table_name_37 WHERE points_against = "451" | What shows for Try bonus when the points against are 451? | <s>[INST]What shows for Try bonus when the points against are 451? Context: CREATE TABLE table_name_37 (try_bonus VARCHAR, points_against VARCHAR)[/INST]SELECT try_bonus FROM table_name_37 WHERE points_against = "451"</s> |
CREATE TABLE table_name_56 (surface VARCHAR, tournament VARCHAR, round VARCHAR) | SELECT surface FROM table_name_56 WHERE tournament = "united airlines tournament of champions" AND round = "final" | Name the surface for united airlines tournament of champions final round | <s>[INST]Name the surface for united airlines tournament of champions final round Context: CREATE TABLE table_name_56 (surface VARCHAR, tournament VARCHAR, round VARCHAR)[/INST]SELECT surface FROM table_name_56 WHERE tournament = "united airlines tournament of champions" AND round = "final"</s> |
CREATE TABLE table_name_81 (res VARCHAR, location VARCHAR, opponent VARCHAR) | SELECT res FROM table_name_81 WHERE location = "butte, montana , united states" AND opponent = "jerome smith" | What is Res., when Location is "Butte, Montana , United States", and when Opponent is "Jerome Smith"? | <s>[INST]What is Res., when Location is "Butte, Montana , United States", and when Opponent is "Jerome Smith"? Context: CREATE TABLE table_name_81 (res VARCHAR, location VARCHAR, opponent VARCHAR)[/INST]SELECT res FROM table_name_81 WHERE location = "butte, montana , united states" AND opponent = "jerome smith"</s> |
CREATE TABLE table_20246201_9 (popular_vote VARCHAR, candidate VARCHAR) | SELECT COUNT(popular_vote) FROM table_20246201_9 WHERE candidate = "Rick Perry" | How many different popular vote counts were there for the candidate Rick Perry? | <s>[INST]How many different popular vote counts were there for the candidate Rick Perry? Context: CREATE TABLE table_20246201_9 (popular_vote VARCHAR, candidate VARCHAR)[/INST]SELECT COUNT(popular_vote) FROM table_20246201_9 WHERE candidate = "Rick Perry"</s> |
CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR) | SELECT _percentage FROM table_1108394_47 WHERE queens = "87,676" | The man who received 87,676 votes in Queens won what percentage of the total for the election? | <s>[INST]The man who received 87,676 votes in Queens won what percentage of the total for the election? Context: CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)[/INST]SELECT _percentage FROM table_1108394_47 WHERE queens = "87,676"</s> |
CREATE TABLE table_19651669_1 (champion VARCHAR, season VARCHAR) | SELECT champion FROM table_19651669_1 WHERE season = "1998-99" | Who was the champion for the 1998-99 season? | <s>[INST]Who was the champion for the 1998-99 season? Context: CREATE TABLE table_19651669_1 (champion VARCHAR, season VARCHAR)[/INST]SELECT champion FROM table_19651669_1 WHERE season = "1998-99"</s> |
CREATE TABLE table_name_83 (series_ep VARCHAR, netflix VARCHAR) | SELECT series_ep FROM table_name_83 WHERE netflix = "s08e18" | Which Series Ep has a Netflix of s08e18? | <s>[INST]Which Series Ep has a Netflix of s08e18? Context: CREATE TABLE table_name_83 (series_ep VARCHAR, netflix VARCHAR)[/INST]SELECT series_ep FROM table_name_83 WHERE netflix = "s08e18"</s> |
CREATE TABLE table_12526990_1 (biggenden INTEGER, year VARCHAR) | SELECT MAX(biggenden) FROM table_12526990_1 WHERE year = 1947 | What is the biggended for 1947? | <s>[INST]What is the biggended for 1947? Context: CREATE TABLE table_12526990_1 (biggenden INTEGER, year VARCHAR)[/INST]SELECT MAX(biggenden) FROM table_12526990_1 WHERE year = 1947</s> |
CREATE TABLE table_name_65 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_65 WHERE home_team = "carlton" | What was Carlton's score as the home team? | <s>[INST]What was Carlton's score as the home team? Context: CREATE TABLE table_name_65 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_65 WHERE home_team = "carlton"</s> |
CREATE TABLE table_name_83 (wins INTEGER, golden_rivers VARCHAR, against VARCHAR) | SELECT MAX(wins) FROM table_name_83 WHERE golden_rivers = "quambatook" AND against < 1129 | What is the highest number of wins for Quambatook when Against is less than 1129? | <s>[INST]What is the highest number of wins for Quambatook when Against is less than 1129? Context: CREATE TABLE table_name_83 (wins INTEGER, golden_rivers VARCHAR, against VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_83 WHERE golden_rivers = "quambatook" AND against < 1129</s> |
CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR) | SELECT reporters FROM table_22583466_5 WHERE year = 1976 | In 1976, who was the reporter for the Belmont Stakes? | <s>[INST]In 1976, who was the reporter for the Belmont Stakes? Context: CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR)[/INST]SELECT reporters FROM table_22583466_5 WHERE year = 1976</s> |
CREATE TABLE table_name_15 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_15 WHERE opponent = "bye" | Name the date when bye was opponent | <s>[INST]Name the date when bye was opponent Context: CREATE TABLE table_name_15 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_15 WHERE opponent = "bye"</s> |
CREATE TABLE table_name_47 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_47 WHERE score = 71 - 65 - 69 = 205 | what is the country when the score is 71-65-69=205? | <s>[INST]what is the country when the score is 71-65-69=205? Context: CREATE TABLE table_name_47 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_47 WHERE score = 71 - 65 - 69 = 205</s> |
CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position = "rw" AND player = "don murdoch" | What is the College/Junior/Club Team (League) when the position is rw, and the player is Don Murdoch? | <s>[INST]What is the College/Junior/Club Team (League) when the position is rw, and the player is Don Murdoch? Context: CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position = "rw" AND pla... |
CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_23486853_8 WHERE date = "March 16" | Who is every opponent on the date of March 16? | <s>[INST]Who is every opponent on the date of March 16? Context: CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_23486853_8 WHERE date = "March 16"</s> |
CREATE TABLE table_13018116_1 (played VARCHAR, pts_agst VARCHAR) | SELECT COUNT(played) FROM table_13018116_1 WHERE pts_agst = 645 | What is the number of played when points against 645? | <s>[INST]What is the number of played when points against 645? Context: CREATE TABLE table_13018116_1 (played VARCHAR, pts_agst VARCHAR)[/INST]SELECT COUNT(played) FROM table_13018116_1 WHERE pts_agst = 645</s> |
CREATE TABLE table_name_95 (attendance VARCHAR, runner_up VARCHAR) | SELECT attendance FROM table_name_95 WHERE runner_up = "livingston" | How many people were watching when Livingston was the runner-up? | <s>[INST]How many people were watching when Livingston was the runner-up? Context: CREATE TABLE table_name_95 (attendance VARCHAR, runner_up VARCHAR)[/INST]SELECT attendance FROM table_name_95 WHERE runner_up = "livingston"</s> |
CREATE TABLE table_name_63 (round INTEGER, pick VARCHAR, player VARCHAR) | SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = "jerry corcoran" | What round was jerry corcoran drafted in as pick number 114? | <s>[INST]What round was jerry corcoran drafted in as pick number 114? Context: CREATE TABLE table_name_63 (round INTEGER, pick VARCHAR, player VARCHAR)[/INST]SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = "jerry corcoran"</s> |
CREATE TABLE table_name_6 (competition VARCHAR) | SELECT competition FROM table_name_6 WHERE 2010 = "dnp" | Name the competition of 2010 of dnp | <s>[INST]Name the competition of 2010 of dnp Context: CREATE TABLE table_name_6 (competition VARCHAR)[/INST]SELECT competition FROM table_name_6 WHERE 2010 = "dnp"</s> |
CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_3 WHERE home_team = "swindon town" | What is Away Team, when Home Team is "Swindon Town"? | <s>[INST]What is Away Team, when Home Team is "Swindon Town"? Context: CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_3 WHERE home_team = "swindon town"</s> |
CREATE TABLE table_name_36 (points INTEGER, december VARCHAR) | SELECT AVG(points) FROM table_name_36 WHERE december = 27 | What are the average points that have december 27? | <s>[INST]What are the average points that have december 27? Context: CREATE TABLE table_name_36 (points INTEGER, december VARCHAR)[/INST]SELECT AVG(points) FROM table_name_36 WHERE december = 27</s> |
CREATE TABLE table_name_4 (res VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT res FROM table_name_4 WHERE round = 1 AND opponent = "jeremy beck" | What was the result when he went 1 round against jeremy beck? | <s>[INST]What was the result when he went 1 round against jeremy beck? Context: CREATE TABLE table_name_4 (res VARCHAR, round VARCHAR, opponent VARCHAR)[/INST]SELECT res FROM table_name_4 WHERE round = 1 AND opponent = "jeremy beck"</s> |
CREATE TABLE table_15739098_1 (episode VARCHAR, story VARCHAR) | SELECT COUNT(episode) FROM table_15739098_1 WHERE story = "Alan Nourse" | Name the number of episodes for alan nourse | <s>[INST]Name the number of episodes for alan nourse Context: CREATE TABLE table_15739098_1 (episode VARCHAR, story VARCHAR)[/INST]SELECT COUNT(episode) FROM table_15739098_1 WHERE story = "Alan Nourse"</s> |
CREATE TABLE table_1672976_6 (television VARCHAR, time VARCHAR) | SELECT television FROM table_1672976_6 WHERE time = "9:00PM" | What station aired a game at 9:00pm? | <s>[INST]What station aired a game at 9:00pm? Context: CREATE TABLE table_1672976_6 (television VARCHAR, time VARCHAR)[/INST]SELECT television FROM table_1672976_6 WHERE time = "9:00PM"</s> |
CREATE TABLE table_name_36 (points INTEGER, games_played VARCHAR, goals_scored VARCHAR, draws VARCHAR) | SELECT MAX(points) FROM table_name_36 WHERE goals_scored < 25 AND draws = 3 AND games_played > 21 | What is the most points scored for teams with under 25 goals scored, 3 draws, and more than 21 games played? | <s>[INST]What is the most points scored for teams with under 25 goals scored, 3 draws, and more than 21 games played? Context: CREATE TABLE table_name_36 (points INTEGER, games_played VARCHAR, goals_scored VARCHAR, draws VARCHAR)[/INST]SELECT MAX(points) FROM table_name_36 WHERE goals_scored < 25 AND draws = 3 AND game... |
CREATE TABLE table_25594271_2 (loa__metres_ VARCHAR, yacht VARCHAR) | SELECT loa__metres_ FROM table_25594271_2 WHERE yacht = "Ichi Ban" | What were the LOA metres for the yacht ichi ban? | <s>[INST]What were the LOA metres for the yacht ichi ban? Context: CREATE TABLE table_25594271_2 (loa__metres_ VARCHAR, yacht VARCHAR)[/INST]SELECT loa__metres_ FROM table_25594271_2 WHERE yacht = "Ichi Ban"</s> |
CREATE TABLE table_name_26 (republican VARCHAR, district VARCHAR) | SELECT republican FROM table_name_26 WHERE district = 10 | Which Republican has a District of 10? | <s>[INST]Which Republican has a District of 10? Context: CREATE TABLE table_name_26 (republican VARCHAR, district VARCHAR)[/INST]SELECT republican FROM table_name_26 WHERE district = 10</s> |
CREATE TABLE table_name_1 (location VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR) | SELECT location FROM table_name_1 WHERE ihsaa_class = "aaa" AND enrollment > 590 | Where is the IHSAA Class of aaa school with more than 590 enrolled? | <s>[INST]Where is the IHSAA Class of aaa school with more than 590 enrolled? Context: CREATE TABLE table_name_1 (location VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)[/INST]SELECT location FROM table_name_1 WHERE ihsaa_class = "aaa" AND enrollment > 590</s> |
CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, language VARCHAR) | SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE language = "Only native" | If the language is only native, what is the percentage of the San Antonio de Lomerio municipality? | <s>[INST]If the language is only native, what is the percentage of the San Antonio de Lomerio municipality? Context: CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, language VARCHAR)[/INST]SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE lang... |
CREATE TABLE table_14688744_2 (arrival VARCHAR, no VARCHAR) | SELECT arrival FROM table_14688744_2 WHERE no = 14 | what is the arrival time for no. 14? | <s>[INST]what is the arrival time for no. 14? Context: CREATE TABLE table_14688744_2 (arrival VARCHAR, no VARCHAR)[/INST]SELECT arrival FROM table_14688744_2 WHERE no = 14</s> |
CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR) | SELECT COUNT(rank) FROM table_name_52 WHERE name = "qi hui" | What is the Rank of Qi Hui? | <s>[INST]What is the Rank of Qi Hui? Context: CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_52 WHERE name = "qi hui"</s> |
CREATE TABLE table_name_50 (pick__number INTEGER, college VARCHAR) | SELECT AVG(pick__number) FROM table_name_50 WHERE college = "simon fraser" | What is the Pick # of the player from Simon Fraser College? | <s>[INST]What is the Pick # of the player from Simon Fraser College? Context: CREATE TABLE table_name_50 (pick__number INTEGER, college VARCHAR)[/INST]SELECT AVG(pick__number) FROM table_name_50 WHERE college = "simon fraser"</s> |
CREATE TABLE table_name_60 (round VARCHAR, name VARCHAR, overall VARCHAR) | SELECT COUNT(round) FROM table_name_60 WHERE name = "ron hansen" AND overall > 332 | What is the number of the round in which Ron Hansen was drafted and the overall is greater than 332? | <s>[INST]What is the number of the round in which Ron Hansen was drafted and the overall is greater than 332? Context: CREATE TABLE table_name_60 (round VARCHAR, name VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_60 WHERE name = "ron hansen" AND overall > 332</s> |
CREATE TABLE table_name_1 (attendance VARCHAR, away_team VARCHAR) | SELECT attendance FROM table_name_1 WHERE away_team = "stockport county" | What was the attendance for the game where the away team was Stockport County? | <s>[INST]What was the attendance for the game where the away team was Stockport County? Context: CREATE TABLE table_name_1 (attendance VARCHAR, away_team VARCHAR)[/INST]SELECT attendance FROM table_name_1 WHERE away_team = "stockport county"</s> |
CREATE TABLE table_name_3 (competition VARCHAR, goals VARCHAR, score VARCHAR) | SELECT competition FROM table_name_3 WHERE goals = "deacon 8/8" AND score = "32-14" | Which competition has a Goal of deacon 8/8 and a Score of 32-14? | <s>[INST]Which competition has a Goal of deacon 8/8 and a Score of 32-14? Context: CREATE TABLE table_name_3 (competition VARCHAR, goals VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_3 WHERE goals = "deacon 8/8" AND score = "32-14"</s> |
CREATE TABLE table_name_40 (date VARCHAR, player VARCHAR) | SELECT date FROM table_name_40 WHERE player = "af giles" | What date did af giles play? | <s>[INST]What date did af giles play? Context: CREATE TABLE table_name_40 (date VARCHAR, player VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE player = "af giles"</s> |
CREATE TABLE table_name_83 (score VARCHAR, opponent_team VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_83 WHERE opponent_team = "belgium" AND opponent = "kirsten flipkens" | What is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens? | <s>[INST]What is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens? Context: CREATE TABLE table_name_83 (score VARCHAR, opponent_team VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_83 WHERE opponent_team = "belgium" AND opponent = "kirsten flipkens"</s> |
CREATE TABLE table_name_73 (district VARCHAR, population VARCHAR, name VARCHAR) | SELECT district FROM table_name_73 WHERE population < 75 AND name = "st martin's without" | What district is St Martin's Without parish in with a population less than 75? | <s>[INST]What district is St Martin's Without parish in with a population less than 75? Context: CREATE TABLE table_name_73 (district VARCHAR, population VARCHAR, name VARCHAR)[/INST]SELECT district FROM table_name_73 WHERE population < 75 AND name = "st martin's without"</s> |
CREATE TABLE table_22298383_1 (day VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT day FROM table_22298383_1 WHERE laps = "364" AND driver = "Cale Yarborough" | On what day was the race that Cale Yarborough won in 364 laps? | <s>[INST]On what day was the race that Cale Yarborough won in 364 laps? Context: CREATE TABLE table_22298383_1 (day VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT day FROM table_22298383_1 WHERE laps = "364" AND driver = "Cale Yarborough"</s> |
CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_82 WHERE home = "detroit" AND visitor = "chicago" | What is the date for the home detroit and visitor was chicago? | <s>[INST]What is the date for the home detroit and visitor was chicago? Context: CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_82 WHERE home = "detroit" AND visitor = "chicago"</s> |
CREATE TABLE table_name_63 (weight VARCHAR, shirt_no VARCHAR, height VARCHAR) | SELECT COUNT(weight) FROM table_name_63 WHERE shirt_no = 18 AND height > 195 | Shirt number of 18, and a Height larger than 195 has how much weight? | <s>[INST]Shirt number of 18, and a Height larger than 195 has how much weight? Context: CREATE TABLE table_name_63 (weight VARCHAR, shirt_no VARCHAR, height VARCHAR)[/INST]SELECT COUNT(weight) FROM table_name_63 WHERE shirt_no = 18 AND height > 195</s> |
CREATE TABLE table_name_61 (conmebol_1995 VARCHAR, team VARCHAR) | SELECT conmebol_1995 FROM table_name_61 WHERE team = "river plate" | Which CONMEBOL 1995 has river plate team? | <s>[INST]Which CONMEBOL 1995 has river plate team? Context: CREATE TABLE table_name_61 (conmebol_1995 VARCHAR, team VARCHAR)[/INST]SELECT conmebol_1995 FROM table_name_61 WHERE team = "river plate"</s> |
CREATE TABLE table_1341453_34 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1341453_34 WHERE first_elected = "1990" | What's the party elected in the district that first elected in 1990? | <s>[INST]What's the party elected in the district that first elected in 1990? Context: CREATE TABLE table_1341453_34 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_1341453_34 WHERE first_elected = "1990"</s> |
CREATE TABLE table_name_60 (director VARCHAR, role VARCHAR, year VARCHAR, leading_lady VARCHAR) | SELECT director FROM table_name_60 WHERE year < 1949 AND leading_lady = "linda darnell" AND role = "jonathan kent" | Who directs before 1949 with linda darnell leading and jonathan kent? | <s>[INST]Who directs before 1949 with linda darnell leading and jonathan kent? Context: CREATE TABLE table_name_60 (director VARCHAR, role VARCHAR, year VARCHAR, leading_lady VARCHAR)[/INST]SELECT director FROM table_name_60 WHERE year < 1949 AND leading_lady = "linda darnell" AND role = "jonathan kent"</s> |
CREATE TABLE table_name_10 (type VARCHAR, platform VARCHAR) | SELECT type FROM table_name_10 WHERE platform = "gamecube" | What is the type of electronic with the Gamecube Platform? | <s>[INST]What is the type of electronic with the Gamecube Platform? Context: CREATE TABLE table_name_10 (type VARCHAR, platform VARCHAR)[/INST]SELECT type FROM table_name_10 WHERE platform = "gamecube"</s> |
CREATE TABLE table_name_55 (build_date VARCHAR, model VARCHAR) | SELECT build_date FROM table_name_55 WHERE model = "fa-2" | What is the build date of the locomotive with a fa-2 model? | <s>[INST]What is the build date of the locomotive with a fa-2 model? Context: CREATE TABLE table_name_55 (build_date VARCHAR, model VARCHAR)[/INST]SELECT build_date FROM table_name_55 WHERE model = "fa-2"</s> |
CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_4 WHERE date = "21 january 2008" | Name the record for 21 january 2008 | <s>[INST]Name the record for 21 january 2008 Context: CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_4 WHERE date = "21 january 2008"</s> |
CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR) | SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo" | Which track has the original album turbulent indigo? | <s>[INST]Which track has the original album turbulent indigo? Context: CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR)[/INST]SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo"</s> |
CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (start_date INTEGER); CREATE TABLE policies (customer_id VARCHAR, start_date INTEGER) | SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.start_date = (SELECT MAX(start_date) FROM policies) | Which customer is associated with the latest policy? | <s>[INST]Which customer is associated with the latest policy? Context: CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (start_date INTEGER); CREATE TABLE policies (customer_id VARCHAR, start_date INTEGER)[/INST]SELECT t2.customer_details FROM policies AS t1 JOIN customers A... |
CREATE TABLE table_name_60 (points INTEGER, year VARCHAR, rank VARCHAR) | SELECT AVG(points) FROM table_name_60 WHERE year > 1989 AND rank = "7th" | What is the average points with a year higher than 1989, and a rank of 7th? | <s>[INST]What is the average points with a year higher than 1989, and a rank of 7th? Context: CREATE TABLE table_name_60 (points INTEGER, year VARCHAR, rank VARCHAR)[/INST]SELECT AVG(points) FROM table_name_60 WHERE year > 1989 AND rank = "7th"</s> |
CREATE TABLE table_17503169_1 (district VARCHAR, republican VARCHAR) | SELECT COUNT(district) FROM table_17503169_1 WHERE republican = "Bob Goodlatte" | How many districts had republican Bob Goodlatte as a candidate? | <s>[INST]How many districts had republican Bob Goodlatte as a candidate? Context: CREATE TABLE table_17503169_1 (district VARCHAR, republican VARCHAR)[/INST]SELECT COUNT(district) FROM table_17503169_1 WHERE republican = "Bob Goodlatte"</s> |
CREATE TABLE table_1601935_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) | SELECT viewers__in_millions_ FROM table_1601935_1 WHERE run_time = "18:00" | How many millions of viewers were there for the episode with a run time of 18:00? | <s>[INST]How many millions of viewers were there for the episode with a run time of 18:00? Context: CREATE TABLE table_1601935_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)[/INST]SELECT viewers__in_millions_ FROM table_1601935_1 WHERE run_time = "18:00"</s> |
CREATE TABLE table_name_58 (total INTEGER, finish VARCHAR, year_s__won VARCHAR) | SELECT MIN(total) FROM table_name_58 WHERE finish = "t46" AND year_s__won = "1981, 1987" | When the year won is 1981, 1987, and the finish is t46, what is the lowest total? | <s>[INST]When the year won is 1981, 1987, and the finish is t46, what is the lowest total? Context: CREATE TABLE table_name_58 (total INTEGER, finish VARCHAR, year_s__won VARCHAR)[/INST]SELECT MIN(total) FROM table_name_58 WHERE finish = "t46" AND year_s__won = "1981, 1987"</s> |
CREATE TABLE table_name_81 (borough_or_a VARCHAR, ›_ VARCHAR, name_a VARCHAR) | SELECT borough_or_a[›_] AS _census_area FROM table_name_81 WHERE name_a[›_] = "jerome lake dam" | what is the borough or A[›] Census area when the Name A[›] is jerome lake dam? | <s>[INST]what is the borough or A[›] Census area when the Name A[›] is jerome lake dam? Context: CREATE TABLE table_name_81 (borough_or_a VARCHAR, ›_ VARCHAR, name_a VARCHAR)[/INST]SELECT borough_or_a[›_] AS _census_area FROM table_name_81 WHERE name_a[›_] = "jerome lake dam"</s> |
CREATE TABLE table_name_80 (series VARCHAR, title VARCHAR) | SELECT series FROM table_name_80 WHERE title = "kiss me cat" | What's the series of Kiss Me Cat? | <s>[INST]What's the series of Kiss Me Cat? Context: CREATE TABLE table_name_80 (series VARCHAR, title VARCHAR)[/INST]SELECT series FROM table_name_80 WHERE title = "kiss me cat"</s> |
CREATE TABLE table_name_31 (lost INTEGER, goals_for VARCHAR, position VARCHAR) | SELECT AVG(lost) FROM table_name_31 WHERE goals_for = 43 AND position > 15 | How many lost when goals for is 43 and the position number is higher than 15? | <s>[INST]How many lost when goals for is 43 and the position number is higher than 15? Context: CREATE TABLE table_name_31 (lost INTEGER, goals_for VARCHAR, position VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_31 WHERE goals_for = 43 AND position > 15</s> |
CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = "Curt Geda" AND written_by = "Mitch Watson" | What date did the episode written by Mitch Watson and directed by Curt Geda originally air in the U.S.? | <s>[INST]What date did the episode written by Mitch Watson and directed by Curt Geda originally air in the U.S.? Context: CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = "Curt Geda" AND ... |
CREATE TABLE table_name_30 (location VARCHAR, project VARCHAR) | SELECT location FROM table_name_30 WHERE project = "eren talu bidding project" | Where is the Eren Talu bidding project located? | <s>[INST]Where is the Eren Talu bidding project located? Context: CREATE TABLE table_name_30 (location VARCHAR, project VARCHAR)[/INST]SELECT location FROM table_name_30 WHERE project = "eren talu bidding project"</s> |
CREATE TABLE table_name_85 (length_duration VARCHAR, date VARCHAR) | SELECT length_duration FROM table_name_85 WHERE date = "april 19" | What is the length and duration of the race on April 19? | <s>[INST]What is the length and duration of the race on April 19? Context: CREATE TABLE table_name_85 (length_duration VARCHAR, date VARCHAR)[/INST]SELECT length_duration FROM table_name_85 WHERE date = "april 19"</s> |
CREATE TABLE table_name_36 (week_5 VARCHAR, week_1 VARCHAR) | SELECT week_5 FROM table_name_36 WHERE week_1 = "dani dior" | What is the week 5 after Dani Dior as week 1? | <s>[INST]What is the week 5 after Dani Dior as week 1? Context: CREATE TABLE table_name_36 (week_5 VARCHAR, week_1 VARCHAR)[/INST]SELECT week_5 FROM table_name_36 WHERE week_1 = "dani dior"</s> |
CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, youth_classification VARCHAR, most_courageous VARCHAR) | SELECT sprint_classification FROM table_25055040_22 WHERE youth_classification = "Peter Sagan" AND most_courageous = "Thomas Rabou" | When Peter Sagan won the youth classification and Thomas Rabou won the most corageous, who won the sprint classification? | <s>[INST]When Peter Sagan won the youth classification and Thomas Rabou won the most corageous, who won the sprint classification? Context: CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, youth_classification VARCHAR, most_courageous VARCHAR)[/INST]SELECT sprint_classification FROM table_25055040_22 WHER... |
CREATE TABLE table_22824324_2 (three_pointers VARCHAR, points VARCHAR) | SELECT COUNT(three_pointers) FROM table_22824324_2 WHERE points = 581 | How many games had three pointers where the number of points was 581? | <s>[INST]How many games had three pointers where the number of points was 581? Context: CREATE TABLE table_22824324_2 (three_pointers VARCHAR, points VARCHAR)[/INST]SELECT COUNT(three_pointers) FROM table_22824324_2 WHERE points = 581</s> |
CREATE TABLE table_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR) | SELECT winter_olympics FROM table_174491_1 WHERE fis_nordic_world_ski_championships = "1982" | In what year did the winner of the FIS championship in 1982 win the Winter Olympics? | <s>[INST]In what year did the winner of the FIS championship in 1982 win the Winter Olympics? Context: CREATE TABLE table_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)[/INST]SELECT winter_olympics FROM table_174491_1 WHERE fis_nordic_world_ski_championships = "1982"</s> |
CREATE TABLE table_name_8 (opponent VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_8 WHERE event = "king of the cage: shock and awe" | Which Opponent has an Event of king of the cage: shock and awe? | <s>[INST]Which Opponent has an Event of king of the cage: shock and awe? Context: CREATE TABLE table_name_8 (opponent VARCHAR, event VARCHAR)[/INST]SELECT opponent FROM table_name_8 WHERE event = "king of the cage: shock and awe"</s> |
CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_59 WHERE date = "march 27" | Who was the visitor on March 27? | <s>[INST]Who was the visitor on March 27? Context: CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_59 WHERE date = "march 27"</s> |
CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, status VARCHAR, county VARCHAR) | SELECT unemployment_rate FROM table_22815568_7 WHERE status = "Transitional" AND county = "Alexander" | What is the unemployment rate in those places in Alexander county whose status is transitional? | <s>[INST]What is the unemployment rate in those places in Alexander county whose status is transitional? Context: CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, status VARCHAR, county VARCHAR)[/INST]SELECT unemployment_rate FROM table_22815568_7 WHERE status = "Transitional" AND county = "Alexander"</s> |
CREATE TABLE table_name_53 (land_area__km_2__ INTEGER, capital VARCHAR, villages VARCHAR) | SELECT AVG(land_area__km_2__) FROM table_name_53 WHERE capital = "ulim" AND villages < 30 | What is the area of Ulim with less than 30 villages? | <s>[INST]What is the area of Ulim with less than 30 villages? Context: CREATE TABLE table_name_53 (land_area__km_2__ INTEGER, capital VARCHAR, villages VARCHAR)[/INST]SELECT AVG(land_area__km_2__) FROM table_name_53 WHERE capital = "ulim" AND villages < 30</s> |
CREATE TABLE table_19730892_1 (fa_cup_apps VARCHAR, name VARCHAR) | SELECT fa_cup_apps FROM table_19730892_1 WHERE name = "George Green" | Name the fa cup apps for george green | <s>[INST]Name the fa cup apps for george green Context: CREATE TABLE table_19730892_1 (fa_cup_apps VARCHAR, name VARCHAR)[/INST]SELECT fa_cup_apps FROM table_19730892_1 WHERE name = "George Green"</s> |
CREATE TABLE table_name_95 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_95 WHERE loss = "rosales (1-1)" | What was the record after the game in which Rosales (1-1) took the loss? | <s>[INST]What was the record after the game in which Rosales (1-1) took the loss? Context: CREATE TABLE table_name_95 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_95 WHERE loss = "rosales (1-1)"</s> |
CREATE TABLE problem_log (assigned_to_staff_id VARCHAR, problem_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR) | SELECT DISTINCT staff_first_name, staff_last_name FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T2.problem_id = 1 | List the first and last names of all distinct staff members who are assigned to the problem whose id is 1. | <s>[INST]List the first and last names of all distinct staff members who are assigned to the problem whose id is 1. Context: CREATE TABLE problem_log (assigned_to_staff_id VARCHAR, problem_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)[/INST]SELECT DISTINCT staff_first_name, staff_last_name FROM staff AS T1 JOIN pr... |
CREATE TABLE table_name_60 (vmax VARCHAR, type VARCHAR, cylinder VARCHAR, capacity VARCHAR) | SELECT vmax FROM table_name_60 WHERE cylinder = "straight-4" AND capacity = "1.466 cc" AND type = "r 150" | What was the maximum speed for straight-4, 1.466 cc Type r 150? | <s>[INST]What was the maximum speed for straight-4, 1.466 cc Type r 150? Context: CREATE TABLE table_name_60 (vmax VARCHAR, type VARCHAR, cylinder VARCHAR, capacity VARCHAR)[/INST]SELECT vmax FROM table_name_60 WHERE cylinder = "straight-4" AND capacity = "1.466 cc" AND type = "r 150"</s> |
CREATE TABLE table_name_42 (phonemic VARCHAR, phonetic VARCHAR) | SELECT phonemic FROM table_name_42 WHERE phonetic = "[pʰaː˥˥]" | What is the phonemic when the phonetic is [pʰaː˥˥]? | <s>[INST]What is the phonemic when the phonetic is [pʰaː˥˥]? Context: CREATE TABLE table_name_42 (phonemic VARCHAR, phonetic VARCHAR)[/INST]SELECT phonemic FROM table_name_42 WHERE phonetic = "[pʰaː˥˥]"</s> |
CREATE TABLE table_27987623_4 (rank_timeslot_ VARCHAR, airdate VARCHAR) | SELECT COUNT(rank_timeslot_) FROM table_27987623_4 WHERE airdate = "March 30, 2011" | what is the total rank on airdate march 30, 2011? | <s>[INST]what is the total rank on airdate march 30, 2011? Context: CREATE TABLE table_27987623_4 (rank_timeslot_ VARCHAR, airdate VARCHAR)[/INST]SELECT COUNT(rank_timeslot_) FROM table_27987623_4 WHERE airdate = "March 30, 2011"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.