context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_29612224_1 (colors VARCHAR, location VARCHAR) | SELECT colors FROM table_29612224_1 WHERE location = "Tolono, Illinois" | What are the team colors from Tolono, Illinois? | <s>[INST]What are the team colors from Tolono, Illinois? Context: CREATE TABLE table_29612224_1 (colors VARCHAR, location VARCHAR)[/INST]SELECT colors FROM table_29612224_1 WHERE location = "Tolono, Illinois"</s> |
CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR) | SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = "1:18.574" | What is the q1+q2 time in which q1 is 1:18.574? | <s>[INST]What is the q1+q2 time in which q1 is 1:18.574? Context: CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)[/INST]SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = "1:18.574"</s> |
CREATE TABLE table_2534578_1 (science VARCHAR, mathematics VARCHAR) | SELECT COUNT(science) FROM table_2534578_1 WHERE mathematics = "98.02" | How many years did the school have a mathetmatics score of 98.02? | <s>[INST]How many years did the school have a mathetmatics score of 98.02? Context: CREATE TABLE table_2534578_1 (science VARCHAR, mathematics VARCHAR)[/INST]SELECT COUNT(science) FROM table_2534578_1 WHERE mathematics = "98.02"</s> |
CREATE TABLE table_27755784_8 (record VARCHAR, high_points VARCHAR) | SELECT record FROM table_27755784_8 WHERE high_points = "Stephen Curry (32)" | What is the record when the high points is listed as Stephen Curry (32)? | <s>[INST]What is the record when the high points is listed as Stephen Curry (32)? Context: CREATE TABLE table_27755784_8 (record VARCHAR, high_points VARCHAR)[/INST]SELECT record FROM table_27755784_8 WHERE high_points = "Stephen Curry (32)"</s> |
CREATE TABLE table_17080868_6 (location_attendance VARCHAR, date VARCHAR) | SELECT COUNT(location_attendance) FROM table_17080868_6 WHERE date = "December 29" | what is the total number of attendance where the date is december 29? | <s>[INST]what is the total number of attendance where the date is december 29? Context: CREATE TABLE table_17080868_6 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_17080868_6 WHERE date = "December 29"</s> |
CREATE TABLE table_name_11 (vessels VARCHAR, ship_name VARCHAR) | SELECT COUNT(vessels) FROM table_name_11 WHERE ship_name = "aqua jewel" | How many vessels are named aqua jewel? | <s>[INST]How many vessels are named aqua jewel? Context: CREATE TABLE table_name_11 (vessels VARCHAR, ship_name VARCHAR)[/INST]SELECT COUNT(vessels) FROM table_name_11 WHERE ship_name = "aqua jewel"</s> |
CREATE TABLE table_name_49 (nationality VARCHAR, pick VARCHAR) | SELECT nationality FROM table_name_49 WHERE pick = "1" | What nationality has a pick of 1? | <s>[INST]What nationality has a pick of 1? Context: CREATE TABLE table_name_49 (nationality VARCHAR, pick VARCHAR)[/INST]SELECT nationality FROM table_name_49 WHERE pick = "1"</s> |
CREATE TABLE table_name_5 (game INTEGER, record VARCHAR) | SELECT AVG(game) FROM table_name_5 WHERE record = "20-12" | What is the average number of games with a record of 20-12? | <s>[INST]What is the average number of games with a record of 20-12? Context: CREATE TABLE table_name_5 (game INTEGER, record VARCHAR)[/INST]SELECT AVG(game) FROM table_name_5 WHERE record = "20-12"</s> |
CREATE TABLE table_name_73 (w_l__doubles_ VARCHAR, debut VARCHAR) | SELECT w_l__doubles_ FROM table_name_73 WHERE debut = 1999 | Tell me the WL doubles with a debut of 1999 | <s>[INST]Tell me the WL doubles with a debut of 1999 Context: CREATE TABLE table_name_73 (w_l__doubles_ VARCHAR, debut VARCHAR)[/INST]SELECT w_l__doubles_ FROM table_name_73 WHERE debut = 1999</s> |
CREATE TABLE table_27734577_2 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_27734577_2 WHERE high_points = "Josh Powell (13)" | what was the final score of the game where josh powell (13) scored the most points? | <s>[INST]what was the final score of the game where josh powell (13) scored the most points? Context: CREATE TABLE table_27734577_2 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_27734577_2 WHERE high_points = "Josh Powell (13)"</s> |
CREATE TABLE table_name_78 (unanimous VARCHAR, school VARCHAR) | SELECT unanimous FROM table_name_78 WHERE school = "michigan dartmouth" | What is the unanimous result of the player from Michigan Dartmouth? | <s>[INST]What is the unanimous result of the player from Michigan Dartmouth? Context: CREATE TABLE table_name_78 (unanimous VARCHAR, school VARCHAR)[/INST]SELECT unanimous FROM table_name_78 WHERE school = "michigan dartmouth"</s> |
CREATE TABLE table_name_48 (voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR) | SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_48 WHERE japanese_voice_actor = "yoku shioya" | Who is the voice actor of the character with the Japanese voice actor Yoku Shioya? | <s>[INST]Who is the voice actor of the character with the Japanese voice actor Yoku Shioya? Context: CREATE TABLE table_name_48 (voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR)[/INST]SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_48 WHERE japanese_voice_actor = "yoku shioya"</s> |
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR) | SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "red" AND t3.characteristic_name = "fast" | Find the name of the products that have the color description "red" and have the characteristic name "fast". | <s>[INST]Find the name of the products that have the color description "red" and have the characteristic name "fast". Context: CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)[/INST]SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "red" AND t3.characteristic_name = "fast"</s> |
CREATE TABLE table_name_38 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_38 WHERE away_team = "southampton" | What tie happened with Southampton? | <s>[INST]What tie happened with Southampton? Context: CREATE TABLE table_name_38 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_38 WHERE away_team = "southampton"</s> |
CREATE TABLE table_26202847_6 (no VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT no FROM table_26202847_6 WHERE outcome = "Winner" AND surface = "Hard (i)" | Where the outcome is Winner and surface is Hard (i), what is the No.? | <s>[INST]Where the outcome is Winner and surface is Hard (i), what is the No.? Context: CREATE TABLE table_26202847_6 (no VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT no FROM table_26202847_6 WHERE outcome = "Winner" AND surface = "Hard (i)"</s> |
CREATE TABLE table_26986076_5 (sat_29_aug VARCHAR, tues_24_aug VARCHAR) | SELECT sat_29_aug FROM table_26986076_5 WHERE tues_24_aug = "21' 10.25 106.930mph" | When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th? | <s>[INST]When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th? Context: CREATE TABLE table_26986076_5 (sat_29_aug VARCHAR, tues_24_aug VARCHAR)[/INST]SELECT sat_29_aug FROM table_26986076_5 WHERE tues_24_aug = "21' 10.25 106.930mph"</s> |
CREATE TABLE table_1560673_1 (position_in_2013 VARCHAR, first_season VARCHAR) | SELECT position_in_2013 FROM table_1560673_1 WHERE first_season = 2014 | What position is the player whose first year is 2014 | <s>[INST]What position is the player whose first year is 2014 Context: CREATE TABLE table_1560673_1 (position_in_2013 VARCHAR, first_season VARCHAR)[/INST]SELECT position_in_2013 FROM table_1560673_1 WHERE first_season = 2014</s> |
CREATE TABLE table_name_28 (club_province VARCHAR, caps VARCHAR, position VARCHAR) | SELECT club_province FROM table_name_28 WHERE caps > 18 AND position = "fly-half" | What club/province for the player with over 18 caps and plays the fly-half? | <s>[INST]What club/province for the player with over 18 caps and plays the fly-half? Context: CREATE TABLE table_name_28 (club_province VARCHAR, caps VARCHAR, position VARCHAR)[/INST]SELECT club_province FROM table_name_28 WHERE caps > 18 AND position = "fly-half"</s> |
CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER) | SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0 | What's the Lost average that has a Drawn less than 0? | <s>[INST]What's the Lost average that has a Drawn less than 0? Context: CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER)[/INST]SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0</s> |
CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_96 WHERE score = "1-8" | What date was the score 1-8? | <s>[INST]What date was the score 1-8? Context: CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_96 WHERE score = "1-8"</s> |
CREATE TABLE table_name_28 (format VARCHAR, note VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_28 WHERE note = "12cm" AND catalog = "alca-9198" | Name the format for 12cm note and catalog of alca-9198 | <s>[INST]Name the format for 12cm note and catalog of alca-9198 Context: CREATE TABLE table_name_28 (format VARCHAR, note VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_28 WHERE note = "12cm" AND catalog = "alca-9198"</s> |
CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR); CREATE TABLE Movie (title VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) | SELECT DISTINCT title FROM Movie EXCEPT SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Chris Jackson' | Find the titles of all movies not reviewed by Chris Jackson. | <s>[INST]Find the titles of all movies not reviewed by Chris Jackson. Context: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR); CREATE TABLE Movie (title VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)[/INST]SELECT DISTINCT title FROM Movie EXCEPT SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Chris Jackson'</s> |
CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_52 WHERE date = "1999-05-31" | WHAT SCORE WAS ON 1999-05-31? | <s>[INST]WHAT SCORE WAS ON 1999-05-31? Context: CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_52 WHERE date = "1999-05-31"</s> |
CREATE TABLE table_name_92 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT SUM(silver) FROM table_name_92 WHERE gold = 4 AND nation = "belarus (blr)" AND bronze > 4 | How many silver medals does Belarus (blr) along with 4 gold and 4 bronze? | <s>[INST]How many silver medals does Belarus (blr) along with 4 gold and 4 bronze? Context: CREATE TABLE table_name_92 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_92 WHERE gold = 4 AND nation = "belarus (blr)" AND bronze > 4</s> |
CREATE TABLE table_name_52 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR) | SELECT MAX(frequency_mhz) FROM table_name_52 WHERE erp_w > 205 AND call_sign = "k230ap" | Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap? | <s>[INST]Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap? Context: CREATE TABLE table_name_52 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR)[/INST]SELECT MAX(frequency_mhz) FROM table_name_52 WHERE erp_w > 205 AND call_sign = "k230ap"</s> |
CREATE TABLE gymnast (Total_Points VARCHAR) | SELECT Total_Points FROM gymnast ORDER BY Total_Points DESC | List the total points of gymnasts in descending order. | <s>[INST]List the total points of gymnasts in descending order. Context: CREATE TABLE gymnast (Total_Points VARCHAR)[/INST]SELECT Total_Points FROM gymnast ORDER BY Total_Points DESC</s> |
CREATE TABLE table_name_50 (date_of_birth VARCHAR, club VARCHAR) | SELECT date_of_birth FROM table_name_50 WHERE club = "csk vmf moscow" | What is the Date of Birth of the Player from the CSK VMF Moscow Club? | <s>[INST]What is the Date of Birth of the Player from the CSK VMF Moscow Club? Context: CREATE TABLE table_name_50 (date_of_birth VARCHAR, club VARCHAR)[/INST]SELECT date_of_birth FROM table_name_50 WHERE club = "csk vmf moscow"</s> |
CREATE TABLE table_name_69 (player VARCHAR, finish VARCHAR) | SELECT player FROM table_name_69 WHERE finish = "1" | What player has 1 as the place? | <s>[INST]What player has 1 as the place? Context: CREATE TABLE table_name_69 (player VARCHAR, finish VARCHAR)[/INST]SELECT player FROM table_name_69 WHERE finish = "1"</s> |
CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_56 WHERE game = 31 | Which Opponent has a Game of 31? | <s>[INST]Which Opponent has a Game of 31? Context: CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_56 WHERE game = 31</s> |
CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_88 WHERE home_team = "fitzroy" | What is the score of the away team with the home team Fitzroy? | <s>[INST]What is the score of the away team with the home team Fitzroy? Context: CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_88 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_24949975_1 (away_team VARCHAR, result VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_24949975_1 WHERE result = "2–1" AND home_team = "Bohemians" | What was the away team when the result was 2–1 and home team was the bohemians? | <s>[INST]What was the away team when the result was 2–1 and home team was the bohemians? Context: CREATE TABLE table_24949975_1 (away_team VARCHAR, result VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_24949975_1 WHERE result = "2–1" AND home_team = "Bohemians"</s> |
CREATE TABLE table_name_20 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_20 WHERE team__number2 = "dinamo minsk" | What is the 2nd leg of dinamo minsk team #2? | <s>[INST]What is the 2nd leg of dinamo minsk team #2? Context: CREATE TABLE table_name_20 (team__number2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_20 WHERE team__number2 = "dinamo minsk"</s> |
CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_31 WHERE record = "17-17" | When was the record 17-17? | <s>[INST]When was the record 17-17? Context: CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE record = "17-17"</s> |
CREATE TABLE table_name_48 (soap_opera VARCHAR, actor VARCHAR) | SELECT soap_opera FROM table_name_48 WHERE actor = "elin sogn" | what is the soap opera for elin sogn? | <s>[INST]what is the soap opera for elin sogn? Context: CREATE TABLE table_name_48 (soap_opera VARCHAR, actor VARCHAR)[/INST]SELECT soap_opera FROM table_name_48 WHERE actor = "elin sogn"</s> |
CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR) | SELECT main_wins FROM table_name_63 WHERE team = "france" | How many main wins for France? | <s>[INST]How many main wins for France? Context: CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR)[/INST]SELECT main_wins FROM table_name_63 WHERE team = "france"</s> |
CREATE TABLE table_19396259_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT COUNT(original_air_date) FROM table_19396259_1 WHERE production_code = "3T7501" | Name the original air date for production code of 3t7501 | <s>[INST]Name the original air date for production code of 3t7501 Context: CREATE TABLE table_19396259_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_19396259_1 WHERE production_code = "3T7501"</s> |
CREATE TABLE table_1697190_1 (earnings___ INTEGER, money_list_rank VARCHAR) | SELECT MAX(earnings___) AS $__ FROM table_1697190_1 WHERE money_list_rank = 143 | Name the most earnings for money list rank being 143 | <s>[INST]Name the most earnings for money list rank being 143 Context: CREATE TABLE table_1697190_1 (earnings___ INTEGER, money_list_rank VARCHAR)[/INST]SELECT MAX(earnings___) AS $__ FROM table_1697190_1 WHERE money_list_rank = 143</s> |
CREATE TABLE table_name_32 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_32 WHERE date = "april 29" | What city played on april 29? | <s>[INST]What city played on april 29? Context: CREATE TABLE table_name_32 (city VARCHAR, date VARCHAR)[/INST]SELECT city FROM table_name_32 WHERE date = "april 29"</s> |
CREATE TABLE table_27441210_5 (number_one_single_s_ VARCHAR, artist VARCHAR) | SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob" | Name the number one singles for desvarieux, jacob | <s>[INST]Name the number one singles for desvarieux, jacob Context: CREATE TABLE table_27441210_5 (number_one_single_s_ VARCHAR, artist VARCHAR)[/INST]SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob"</s> |
CREATE TABLE table_name_73 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_name_73 WHERE team = "milwaukee" | Who had the most high assists from Milwaukee? | <s>[INST]Who had the most high assists from Milwaukee? Context: CREATE TABLE table_name_73 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_name_73 WHERE team = "milwaukee"</s> |
CREATE TABLE table_11960407_4 (score VARCHAR, location_attendance VARCHAR) | SELECT score FROM table_11960407_4 WHERE location_attendance = "Air Canada Centre 18,067" | What was the score when the location attendance was Air Canada Centre 18,067? | <s>[INST]What was the score when the location attendance was Air Canada Centre 18,067? Context: CREATE TABLE table_11960407_4 (score VARCHAR, location_attendance VARCHAR)[/INST]SELECT score FROM table_11960407_4 WHERE location_attendance = "Air Canada Centre 18,067"</s> |
CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR) | SELECT site FROM table_name_83 WHERE attendance = "53,000" AND date = "october 21, 1967" | What Site has Attendance of 53,000, and a Date of october 21, 1967? | <s>[INST]What Site has Attendance of 53,000, and a Date of october 21, 1967? Context: CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR)[/INST]SELECT site FROM table_name_83 WHERE attendance = "53,000" AND date = "october 21, 1967"</s> |
CREATE TABLE table_name_19 (year INTEGER, actor VARCHAR) | SELECT AVG(year) FROM table_name_19 WHERE actor = "idris elba" | What is the average year that Idris Elba was nominated for or won an award? | <s>[INST]What is the average year that Idris Elba was nominated for or won an award? Context: CREATE TABLE table_name_19 (year INTEGER, actor VARCHAR)[/INST]SELECT AVG(year) FROM table_name_19 WHERE actor = "idris elba"</s> |
CREATE TABLE table_name_56 (bronze INTEGER, nation VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_56 WHERE nation = "egypt (egy)" AND gold < 2 | What is the lowest Bronze with a Nation of egypt (egy) and with a Gold that is smaller than 2? | <s>[INST]What is the lowest Bronze with a Nation of egypt (egy) and with a Gold that is smaller than 2? Context: CREATE TABLE table_name_56 (bronze INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_56 WHERE nation = "egypt (egy)" AND gold < 2</s> |
CREATE TABLE table_22464685_1 (author VARCHAR, transliteration VARCHAR) | SELECT author FROM table_22464685_1 WHERE transliteration = "lasha-giorgis droindeli matiane" | who is the auther when the transliteration is lasha-giorgis droindeli matiane? | <s>[INST]who is the auther when the transliteration is lasha-giorgis droindeli matiane? Context: CREATE TABLE table_22464685_1 (author VARCHAR, transliteration VARCHAR)[/INST]SELECT author FROM table_22464685_1 WHERE transliteration = "lasha-giorgis droindeli matiane"</s> |
CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR) | SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina" | What was the label in the region of Argentina and had a format of CD? | <s>[INST]What was the label in the region of Argentina and had a format of CD? Context: CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina"</s> |
CREATE TABLE table_1341568_14 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341568_14 WHERE incumbent = "Lane Evans" | What party was Lane Evans? | <s>[INST]What party was Lane Evans? Context: CREATE TABLE table_1341568_14 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341568_14 WHERE incumbent = "Lane Evans"</s> |
CREATE TABLE table_name_55 (save VARCHAR, date VARCHAR) | SELECT save FROM table_name_55 WHERE date = "june 15" | Which Save is on June 15? | <s>[INST]Which Save is on June 15? Context: CREATE TABLE table_name_55 (save VARCHAR, date VARCHAR)[/INST]SELECT save FROM table_name_55 WHERE date = "june 15"</s> |
CREATE TABLE table_name_48 (overall VARCHAR, college VARCHAR, pick VARCHAR) | SELECT COUNT(overall) FROM table_name_48 WHERE college = "auburn" AND pick > 9 | What is the total number of overall picks that were after pick 9 and went to Auburn College? | <s>[INST]What is the total number of overall picks that were after pick 9 and went to Auburn College? Context: CREATE TABLE table_name_48 (overall VARCHAR, college VARCHAR, pick VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_48 WHERE college = "auburn" AND pick > 9</s> |
CREATE TABLE Templates (template_id VARCHAR, template_type_code VARCHAR); CREATE TABLE Ref_template_types (template_type_code VARCHAR, template_type_description VARCHAR) | SELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = "Presentation" | What are the template ids with template type description "Presentation". | <s>[INST]What are the template ids with template type description "Presentation". Context: CREATE TABLE Templates (template_id VARCHAR, template_type_code VARCHAR); CREATE TABLE Ref_template_types (template_type_code VARCHAR, template_type_description VARCHAR)[/INST]SELECT T2.template_id FROM Ref_template_types AS T1 JOIN Templates AS T2 ON T1.template_type_code = T2.template_type_code WHERE T1.template_type_description = "Presentation"</s> |
CREATE TABLE table_245694_4 (concacaf VARCHAR, season VARCHAR) | SELECT concacaf FROM table_245694_4 WHERE season = 2010 | Name the concacaf for 2010 season | <s>[INST]Name the concacaf for 2010 season Context: CREATE TABLE table_245694_4 (concacaf VARCHAR, season VARCHAR)[/INST]SELECT concacaf FROM table_245694_4 WHERE season = 2010</s> |
CREATE TABLE table_name_6 (high_assists VARCHAR, record VARCHAR) | SELECT high_assists FROM table_name_6 WHERE record = "33–15" | Who had the high assists when the record was 33–15? | <s>[INST]Who had the high assists when the record was 33–15? Context: CREATE TABLE table_name_6 (high_assists VARCHAR, record VARCHAR)[/INST]SELECT high_assists FROM table_name_6 WHERE record = "33–15"</s> |
CREATE TABLE table_29799700_2 (series_finale VARCHAR, country VARCHAR) | SELECT series_finale FROM table_29799700_2 WHERE country = "Peru" | What was the date of the series finale for Peru? | <s>[INST]What was the date of the series finale for Peru? Context: CREATE TABLE table_29799700_2 (series_finale VARCHAR, country VARCHAR)[/INST]SELECT series_finale FROM table_29799700_2 WHERE country = "Peru"</s> |
CREATE TABLE table_142950_1 (total_number_of_students VARCHAR, vice_chancellor VARCHAR) | SELECT COUNT(total_number_of_students) FROM table_142950_1 WHERE vice_chancellor = "Professor Edward Acton" | How many members have professor edward acton as vice-chancellor? | <s>[INST]How many members have professor edward acton as vice-chancellor? Context: CREATE TABLE table_142950_1 (total_number_of_students VARCHAR, vice_chancellor VARCHAR)[/INST]SELECT COUNT(total_number_of_students) FROM table_142950_1 WHERE vice_chancellor = "Professor Edward Acton"</s> |
CREATE TABLE table_name_79 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "apoel" | What was the 1st leg when team 1 was apoel? | <s>[INST]What was the 1st leg when team 1 was apoel? Context: CREATE TABLE table_name_79 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "apoel"</s> |
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR) | SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' INTERSECT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'Study Room' | Find the name of dorms which have both TV Lounge and Study Room as amenities. | <s>[INST]Find the name of dorms which have both TV Lounge and Study Room as amenities. Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)[/INST]SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' INTERSECT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'Study Room'</s> |
CREATE TABLE table_name_57 (name VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_57 WHERE constituency_number = "16" | Where is constituency number 16? | <s>[INST]Where is constituency number 16? Context: CREATE TABLE table_name_57 (name VARCHAR, constituency_number VARCHAR)[/INST]SELECT name FROM table_name_57 WHERE constituency_number = "16"</s> |
CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_11 WHERE date = "april 12" | What is the team's record on april 12? | <s>[INST]What is the team's record on april 12? Context: CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_11 WHERE date = "april 12"</s> |
CREATE TABLE table_25572068_1 (circuit VARCHAR, series VARCHAR) | SELECT circuit FROM table_25572068_1 WHERE series = "FR3.5 11" | What circuit was the FR3.5 11 series on? | <s>[INST]What circuit was the FR3.5 11 series on? Context: CREATE TABLE table_25572068_1 (circuit VARCHAR, series VARCHAR)[/INST]SELECT circuit FROM table_25572068_1 WHERE series = "FR3.5 11"</s> |
CREATE TABLE table_name_11 (lead VARCHAR, skip VARCHAR) | SELECT lead FROM table_name_11 WHERE skip = "jamie meikle" | Who was the lead when Jamie Meikle was the skip? | <s>[INST]Who was the lead when Jamie Meikle was the skip? Context: CREATE TABLE table_name_11 (lead VARCHAR, skip VARCHAR)[/INST]SELECT lead FROM table_name_11 WHERE skip = "jamie meikle"</s> |
CREATE TABLE table_name_6 (match_points VARCHAR, lost VARCHAR, bonus_points VARCHAR) | SELECT match_points FROM table_name_6 WHERE lost = "18" AND bonus_points = "11" | What is the amount of match points for a club that lost 18 and has 11 bonus points? | <s>[INST]What is the amount of match points for a club that lost 18 and has 11 bonus points? Context: CREATE TABLE table_name_6 (match_points VARCHAR, lost VARCHAR, bonus_points VARCHAR)[/INST]SELECT match_points FROM table_name_6 WHERE lost = "18" AND bonus_points = "11"</s> |
CREATE TABLE table_16388545_1 (ground VARCHAR, crowd VARCHAR) | SELECT ground FROM table_16388545_1 WHERE crowd = 22537 | Which location had an attendance of 22537? | <s>[INST]Which location had an attendance of 22537? Context: CREATE TABLE table_16388545_1 (ground VARCHAR, crowd VARCHAR)[/INST]SELECT ground FROM table_16388545_1 WHERE crowd = 22537</s> |
CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR) | SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była" | Name the greek modern for słyszałeś był / słyszałaś była | <s>[INST]Name the greek modern for słyszałeś był / słyszałaś była Context: CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR)[/INST]SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była"</s> |
CREATE TABLE table_name_56 (college VARCHAR, school VARCHAR) | SELECT college FROM table_name_56 WHERE school = "ames high school" | What college did the player from Ames High School attend? | <s>[INST]What college did the player from Ames High School attend? Context: CREATE TABLE table_name_56 (college VARCHAR, school VARCHAR)[/INST]SELECT college FROM table_name_56 WHERE school = "ames high school"</s> |
CREATE TABLE table_name_43 (total INTEGER, name VARCHAR, premier_league VARCHAR) | SELECT AVG(total) FROM table_name_43 WHERE name = "kenwyne jones" AND premier_league > 10 | What is the average total of kenwyne jones, who has more than 10 premier leagues? | <s>[INST]What is the average total of kenwyne jones, who has more than 10 premier leagues? Context: CREATE TABLE table_name_43 (total INTEGER, name VARCHAR, premier_league VARCHAR)[/INST]SELECT AVG(total) FROM table_name_43 WHERE name = "kenwyne jones" AND premier_league > 10</s> |
CREATE TABLE table_name_39 (overall INTEGER, name VARCHAR) | SELECT SUM(overall) FROM table_name_39 WHERE name = "markus koch" | Which Overall has a Name of markus koch? | <s>[INST]Which Overall has a Name of markus koch? Context: CREATE TABLE table_name_39 (overall INTEGER, name VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_39 WHERE name = "markus koch"</s> |
CREATE TABLE table_name_10 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_10 WHERE result = "2-0 l" | Which opponent has a result of 2-0 l? | <s>[INST]Which opponent has a result of 2-0 l? Context: CREATE TABLE table_name_10 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_10 WHERE result = "2-0 l"</s> |
CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_81 WHERE player = "vijay singh" | What is Score, when Player is "Vijay Singh"? | <s>[INST]What is Score, when Player is "Vijay Singh"? Context: CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE player = "vijay singh"</s> |
CREATE TABLE table_23575917_6 (episode VARCHAR, davids_team VARCHAR) | SELECT episode FROM table_23575917_6 WHERE davids_team = "Bill Oddie and Frank Skinner" | When bill oddie and frank skinner are both on the davids team what is the episode? | <s>[INST]When bill oddie and frank skinner are both on the davids team what is the episode? Context: CREATE TABLE table_23575917_6 (episode VARCHAR, davids_team VARCHAR)[/INST]SELECT episode FROM table_23575917_6 WHERE davids_team = "Bill Oddie and Frank Skinner"</s> |
CREATE TABLE table_name_28 (marriage VARCHAR, spouse VARCHAR) | SELECT marriage FROM table_name_28 WHERE spouse = "antoinette jeanne yvonne boegner" | On waht date did Antoinette Jeanne Yvonne Boegner get married? | <s>[INST]On waht date did Antoinette Jeanne Yvonne Boegner get married? Context: CREATE TABLE table_name_28 (marriage VARCHAR, spouse VARCHAR)[/INST]SELECT marriage FROM table_name_28 WHERE spouse = "antoinette jeanne yvonne boegner"</s> |
CREATE TABLE table_name_33 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_33 WHERE opponents = "georgie stoop emily webley-smith" | What date was georgie stoop emily webley-smith the opponent? | <s>[INST]What date was georgie stoop emily webley-smith the opponent? Context: CREATE TABLE table_name_33 (date VARCHAR, opponents VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE opponents = "georgie stoop emily webley-smith"</s> |
CREATE TABLE table_name_74 (weeks_on_top INTEGER, artist VARCHAR) | SELECT MAX(weeks_on_top) FROM table_name_74 WHERE artist = "bruce hornsby and the range" | What is the longest weeks on top when the Artist was Bruce Hornsby and the Range? | <s>[INST]What is the longest weeks on top when the Artist was Bruce Hornsby and the Range? Context: CREATE TABLE table_name_74 (weeks_on_top INTEGER, artist VARCHAR)[/INST]SELECT MAX(weeks_on_top) FROM table_name_74 WHERE artist = "bruce hornsby and the range"</s> |
CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR) | SELECT MAX(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.55" | What is the s B share for the shareholder that has 2.55 percent of votes? | <s>[INST]What is the s B share for the shareholder that has 2.55 percent of votes? Context: CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)[/INST]SELECT MAX(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.55"</s> |
CREATE TABLE table_name_33 (call_sign VARCHAR, frequency_mhz VARCHAR) | SELECT call_sign FROM table_name_33 WHERE frequency_mhz = "91.1 fm" | What is the name of call sign that uses a Frequency MHz of 91.1 fm? | <s>[INST]What is the name of call sign that uses a Frequency MHz of 91.1 fm? Context: CREATE TABLE table_name_33 (call_sign VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT call_sign FROM table_name_33 WHERE frequency_mhz = "91.1 fm"</s> |
CREATE TABLE table_name_21 (album VARCHAR, label VARCHAR, year VARCHAR) | SELECT album FROM table_name_21 WHERE label = "reunion" AND year = 2006 | What album had the reunion label in 2006? | <s>[INST]What album had the reunion label in 2006? Context: CREATE TABLE table_name_21 (album VARCHAR, label VARCHAR, year VARCHAR)[/INST]SELECT album FROM table_name_21 WHERE label = "reunion" AND year = 2006</s> |
CREATE TABLE documents (document_name VARCHAR, access_count VARCHAR) | SELECT document_name, access_count FROM documents ORDER BY document_name | Find the name and access counts of all documents, in alphabetic order of the document name. | <s>[INST]Find the name and access counts of all documents, in alphabetic order of the document name. Context: CREATE TABLE documents (document_name VARCHAR, access_count VARCHAR)[/INST]SELECT document_name, access_count FROM documents ORDER BY document_name</s> |
CREATE TABLE table_name_92 (Id VARCHAR) | SELECT 2007 FROM table_name_92 WHERE 2003 = "ch callaway's copyright" | What is the 2007 with ch callaway's copyright in 2003? | <s>[INST]What is the 2007 with ch callaway's copyright in 2003? Context: CREATE TABLE table_name_92 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_92 WHERE 2003 = "ch callaway's copyright"</s> |
CREATE TABLE table_name_99 (ihsaa_football_class VARCHAR, school VARCHAR) | SELECT ihsaa_football_class FROM table_name_99 WHERE school = "whitko" | Which IHSAA Football Class has a School of whitko? | <s>[INST]Which IHSAA Football Class has a School of whitko? Context: CREATE TABLE table_name_99 (ihsaa_football_class VARCHAR, school VARCHAR)[/INST]SELECT ihsaa_football_class FROM table_name_99 WHERE school = "whitko"</s> |
CREATE TABLE table_name_7 (name VARCHAR, construction VARCHAR, ref_number VARCHAR, built VARCHAR) | SELECT name FROM table_name_7 WHERE ref_number < 55 AND built = 1910 AND construction = "red brick" | What is the name of the mill constructed of red brick in 1910 with a reference number lower than 55? | <s>[INST]What is the name of the mill constructed of red brick in 1910 with a reference number lower than 55? Context: CREATE TABLE table_name_7 (name VARCHAR, construction VARCHAR, ref_number VARCHAR, built VARCHAR)[/INST]SELECT name FROM table_name_7 WHERE ref_number < 55 AND built = 1910 AND construction = "red brick"</s> |
CREATE TABLE table_name_22 (pick__number INTEGER, overall VARCHAR) | SELECT MAX(pick__number) FROM table_name_22 WHERE overall = 19 | What is the Pick # with an Overall of 19? | <s>[INST]What is the Pick # with an Overall of 19? Context: CREATE TABLE table_name_22 (pick__number INTEGER, overall VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_22 WHERE overall = 19</s> |
CREATE TABLE table_name_48 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_48 WHERE team = "san antonio spurs" | What is the highest number of rebounds of the san antonio spurs? | <s>[INST]What is the highest number of rebounds of the san antonio spurs? Context: CREATE TABLE table_name_48 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_name_48 WHERE team = "san antonio spurs"</s> |
CREATE TABLE table_name_74 (time_of_airing_on_channel_4 VARCHAR, episode_number VARCHAR, title VARCHAR) | SELECT time_of_airing_on_channel_4 FROM table_name_74 WHERE episode_number > 106 AND title = "marry me a little" | What time did Channel 4 air an episode number larger than 106 with the title of Marry Me A Little? | <s>[INST]What time did Channel 4 air an episode number larger than 106 with the title of Marry Me A Little? Context: CREATE TABLE table_name_74 (time_of_airing_on_channel_4 VARCHAR, episode_number VARCHAR, title VARCHAR)[/INST]SELECT time_of_airing_on_channel_4 FROM table_name_74 WHERE episode_number > 106 AND title = "marry me a little"</s> |
CREATE TABLE table_22883210_11 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_22883210_11 WHERE game = 5 | When 5 is the game who has the highest amount of points? | <s>[INST]When 5 is the game who has the highest amount of points? Context: CREATE TABLE table_22883210_11 (high_points VARCHAR, game VARCHAR)[/INST]SELECT high_points FROM table_22883210_11 WHERE game = 5</s> |
CREATE TABLE table_name_99 (shoots VARCHAR, acquired VARCHAR, player VARCHAR) | SELECT shoots FROM table_name_99 WHERE acquired = 2010 AND player = "matthew myers" | What is the shooting preference of Matthew Myers, acquired in 2010? | <s>[INST]What is the shooting preference of Matthew Myers, acquired in 2010? Context: CREATE TABLE table_name_99 (shoots VARCHAR, acquired VARCHAR, player VARCHAR)[/INST]SELECT shoots FROM table_name_99 WHERE acquired = 2010 AND player = "matthew myers"</s> |
CREATE TABLE table_name_32 (grid INTEGER, laps INTEGER) | SELECT AVG(grid) FROM table_name_32 WHERE laps > 53 | When the laps are over 53, what's the average grid? | <s>[INST]When the laps are over 53, what's the average grid? Context: CREATE TABLE table_name_32 (grid INTEGER, laps INTEGER)[/INST]SELECT AVG(grid) FROM table_name_32 WHERE laps > 53</s> |
CREATE TABLE table_name_93 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR) | SELECT COUNT(lost) FROM table_name_93 WHERE against < 37 AND drawn > 2 AND played > 20 | What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20? | <s>[INST]What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20? Context: CREATE TABLE table_name_93 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_93 WHERE against < 37 AND drawn > 2 AND played > 20</s> |
CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR) | SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra" | Name the transfer fee for transfer status for fra | <s>[INST]Name the transfer fee for transfer status for fra Context: CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR)[/INST]SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra"</s> |
CREATE TABLE table_2263152_1 (release_date VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR) | SELECT COUNT(release_date) FROM table_2263152_1 WHERE security_issues = "99-025" AND distribution_mechanism = "Microsoft website" | If the security issues is 99-025 and the distribution mechanism is the Microsoft website, what is the release date total number? | <s>[INST]If the security issues is 99-025 and the distribution mechanism is the Microsoft website, what is the release date total number? Context: CREATE TABLE table_2263152_1 (release_date VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)[/INST]SELECT COUNT(release_date) FROM table_2263152_1 WHERE security_issues = "99-025" AND distribution_mechanism = "Microsoft website"</s> |
CREATE TABLE table_18950885_3 (char_cells VARCHAR, graphics_mode INTEGER) | SELECT char_cells FROM table_18950885_3 WHERE graphics_mode < 1.0 | If graphics mode is less than 1.0, what are the char cells? | <s>[INST]If graphics mode is less than 1.0, what are the char cells? Context: CREATE TABLE table_18950885_3 (char_cells VARCHAR, graphics_mode INTEGER)[/INST]SELECT char_cells FROM table_18950885_3 WHERE graphics_mode < 1.0</s> |
CREATE TABLE table_name_2 (round INTEGER, position VARCHAR, school_club_team VARCHAR) | SELECT SUM(round) FROM table_name_2 WHERE position = "forward" AND school_club_team = "western kentucky" | What is the sum of Round, when Position is Forward, and when School/Club Team is Western Kentucky? | <s>[INST]What is the sum of Round, when Position is Forward, and when School/Club Team is Western Kentucky? Context: CREATE TABLE table_name_2 (round INTEGER, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT SUM(round) FROM table_name_2 WHERE position = "forward" AND school_club_team = "western kentucky"</s> |
CREATE TABLE table_name_32 (third VARCHAR, discipline VARCHAR) | SELECT third FROM table_name_32 WHERE discipline = "0.8km f sprint" | Who was third at the 0.8km f sprint discipline? | <s>[INST]Who was third at the 0.8km f sprint discipline? Context: CREATE TABLE table_name_32 (third VARCHAR, discipline VARCHAR)[/INST]SELECT third FROM table_name_32 WHERE discipline = "0.8km f sprint"</s> |
CREATE TABLE table_name_63 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR) | SELECT AVG(top_25) FROM table_name_63 WHERE top_10 = 8 AND events = 45 | What is the Top-25 with a Top-10 of 8, and an Events of 45? | <s>[INST]What is the Top-25 with a Top-10 of 8, and an Events of 45? Context: CREATE TABLE table_name_63 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR)[/INST]SELECT AVG(top_25) FROM table_name_63 WHERE top_10 = 8 AND events = 45</s> |
CREATE TABLE table_name_12 (round VARCHAR, res VARCHAR, method VARCHAR) | SELECT COUNT(round) FROM table_name_12 WHERE res = "win" AND method = "n/a" | How many total rounds have the results of win, and n/a as the method? | <s>[INST]How many total rounds have the results of win, and n/a as the method? Context: CREATE TABLE table_name_12 (round VARCHAR, res VARCHAR, method VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_12 WHERE res = "win" AND method = "n/a"</s> |
CREATE TABLE table_name_52 (winner VARCHAR, trofeo_fast_team VARCHAR, mountains_classification VARCHAR) | SELECT winner FROM table_name_52 WHERE trofeo_fast_team = "asics-c.g.a." AND mountains_classification = "mariano piccoli" | Who was the winner from team Asics-c.g.a. and has a mountains classification of Mariano Piccoli? | <s>[INST]Who was the winner from team Asics-c.g.a. and has a mountains classification of Mariano Piccoli? Context: CREATE TABLE table_name_52 (winner VARCHAR, trofeo_fast_team VARCHAR, mountains_classification VARCHAR)[/INST]SELECT winner FROM table_name_52 WHERE trofeo_fast_team = "asics-c.g.a." AND mountains_classification = "mariano piccoli"</s> |
CREATE TABLE table_name_53 (weight__kg_ INTEGER, height__cm_ VARCHAR, position VARCHAR) | SELECT AVG(weight__kg_) FROM table_name_53 WHERE height__cm_ = 180 AND position = "d" | What is the average weight of the player with a height of 180 cm and plays the d position? | <s>[INST]What is the average weight of the player with a height of 180 cm and plays the d position? Context: CREATE TABLE table_name_53 (weight__kg_ INTEGER, height__cm_ VARCHAR, position VARCHAR)[/INST]SELECT AVG(weight__kg_) FROM table_name_53 WHERE height__cm_ = 180 AND position = "d"</s> |
CREATE TABLE table_name_58 (total INTEGER, year_s__won VARCHAR) | SELECT MIN(total) FROM table_name_58 WHERE year_s__won = "1948 , 1950 , 1951 , 1953" | What is the lowest Total, when Year(s) Won is "1948 , 1950 , 1951 , 1953"? | <s>[INST]What is the lowest Total, when Year(s) Won is "1948 , 1950 , 1951 , 1953"? Context: CREATE TABLE table_name_58 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT MIN(total) FROM table_name_58 WHERE year_s__won = "1948 , 1950 , 1951 , 1953"</s> |
CREATE TABLE table_name_27 (player VARCHAR, nba_team VARCHAR) | SELECT player FROM table_name_27 WHERE nba_team = "detroit pistons" | What player was drafted for the Detroit Pistons? | <s>[INST]What player was drafted for the Detroit Pistons? Context: CREATE TABLE table_name_27 (player VARCHAR, nba_team VARCHAR)[/INST]SELECT player FROM table_name_27 WHERE nba_team = "detroit pistons"</s> |
CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_58 WHERE opponent = "danilo pereira" | What is the record when Danilo Pereira was the opponent? | <s>[INST]What is the record when Danilo Pereira was the opponent? Context: CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_58 WHERE opponent = "danilo pereira"</s> |
CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_48 WHERE label = "jugoton" | What is Date, when Label is Jugoton? | <s>[INST]What is Date, when Label is Jugoton? Context: CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE label = "jugoton"</s> |
CREATE TABLE table_name_11 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_11 WHERE date = "october 9, 1983" | What is the average attendance on October 9, 1983? | <s>[INST]What is the average attendance on October 9, 1983? Context: CREATE TABLE table_name_11 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_11 WHERE date = "october 9, 1983"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.