context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_12165135_1 (college VARCHAR, afl_team VARCHAR) | SELECT college FROM table_12165135_1 WHERE afl_team = "Buffalo Bills" | What is the college of the afl team of buffalo bills? | <s>[INST]What is the college of the afl team of buffalo bills? Context: CREATE TABLE table_12165135_1 (college VARCHAR, afl_team VARCHAR)[/INST]SELECT college FROM table_12165135_1 WHERE afl_team = "Buffalo Bills"</s> |
CREATE TABLE table_name_38 (first_performance VARCHAR, status VARCHAR, name VARCHAR) | SELECT first_performance FROM table_name_38 WHERE status = "original cast" AND name = "rhys kosakowski" | What is the date of the First Performance of Rhys Kosakowski as Billy Elliot in the Original Cast? | <s>[INST]What is the date of the First Performance of Rhys Kosakowski as Billy Elliot in the Original Cast? Context: CREATE TABLE table_name_38 (first_performance VARCHAR, status VARCHAR, name VARCHAR)[/INST]SELECT first_performance FROM table_name_38 WHERE status = "original cast" AND name = "rhys kosakowski"</s> |
CREATE TABLE table_name_36 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_36 WHERE date = "february 24" | Who had the high rebounds on February 24? | <s>[INST]Who had the high rebounds on February 24? Context: CREATE TABLE table_name_36 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_name_36 WHERE date = "february 24"</s> |
CREATE TABLE table_name_7 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_7 WHERE date = "19 june 2007" | From which region is the album with release date of 19 June 2007? | <s>[INST]From which region is the album with release date of 19 June 2007? Context: CREATE TABLE table_name_7 (region VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_7 WHERE date = "19 june 2007"</s> |
CREATE TABLE table_name_16 (silver VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT COUNT(silver) FROM table_name_16 WHERE rank > 4 AND bronze < 1 | What is the number of silver where the rank is higher than 4 and bronze is smaller than 1? | <s>[INST]What is the number of silver where the rank is higher than 4 and bronze is smaller than 1? Context: CREATE TABLE table_name_16 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_16 WHERE rank > 4 AND bronze < 1</s> |
CREATE TABLE table_name_76 (not_outs INTEGER, innings INTEGER) | SELECT MIN(not_outs) FROM table_name_76 WHERE innings > 25 | What is the lowest number of Not Outs when there were more than 25 innings? | <s>[INST]What is the lowest number of Not Outs when there were more than 25 innings? Context: CREATE TABLE table_name_76 (not_outs INTEGER, innings INTEGER)[/INST]SELECT MIN(not_outs) FROM table_name_76 WHERE innings > 25</s> |
CREATE TABLE table_name_16 (third_vice_president VARCHAR, second_vice_president VARCHAR) | SELECT third_vice_president FROM table_name_16 WHERE second_vice_president = "baudelio palma" | What is Third Vice President, when Second Vice President is "Baudelio Palma"? | <s>[INST]What is Third Vice President, when Second Vice President is "Baudelio Palma"? Context: CREATE TABLE table_name_16 (third_vice_president VARCHAR, second_vice_president VARCHAR)[/INST]SELECT third_vice_president FROM table_name_16 WHERE second_vice_president = "baudelio palma"</s> |
CREATE TABLE table_15187735_16 (segment_d VARCHAR, segment_a VARCHAR) | SELECT segment_d FROM table_15187735_16 WHERE segment_a = "Tequila" | Whats the name of segment D in the episode where segment A is tequila | <s>[INST]Whats the name of segment D in the episode where segment A is tequila Context: CREATE TABLE table_15187735_16 (segment_d VARCHAR, segment_a VARCHAR)[/INST]SELECT segment_d FROM table_15187735_16 WHERE segment_a = "Tequila"</s> |
CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER) | SELECT MIN(total_kurdistan_list) FROM table_24440361_1 | Name the least total kurdistan list | <s>[INST]Name the least total kurdistan list Context: CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER)[/INST]SELECT MIN(total_kurdistan_list) FROM table_24440361_1</s> |
CREATE TABLE table_25235489_2 (june_10_11 VARCHAR, november_3 VARCHAR) | SELECT COUNT(june_10_11) FROM table_25235489_2 WHERE november_3 = "november_3, 1975" | How many times does an occurance happen in June when it happens on NOvember 3, 1975? | <s>[INST]How many times does an occurance happen in June when it happens on NOvember 3, 1975? Context: CREATE TABLE table_25235489_2 (june_10_11 VARCHAR, november_3 VARCHAR)[/INST]SELECT COUNT(june_10_11) FROM table_25235489_2 WHERE november_3 = "november_3, 1975"</s> |
CREATE TABLE table_name_15 (total VARCHAR, a_score VARCHAR, b_score VARCHAR) | SELECT total FROM table_name_15 WHERE a_score < 6.6 AND b_score = 8.925 | What is the total when the A score was less than 6.6, and the B score was 8.925? | <s>[INST]What is the total when the A score was less than 6.6, and the B score was 8.925? Context: CREATE TABLE table_name_15 (total VARCHAR, a_score VARCHAR, b_score VARCHAR)[/INST]SELECT total FROM table_name_15 WHERE a_score < 6.6 AND b_score = 8.925</s> |
CREATE TABLE table_name_41 (total VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_41 WHERE player = "gene littler" | How many totals does gene littler have? | <s>[INST]How many totals does gene littler have? Context: CREATE TABLE table_name_41 (total VARCHAR, player VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_41 WHERE player = "gene littler"</s> |
CREATE TABLE table_name_86 (game VARCHAR, team VARCHAR, record VARCHAR) | SELECT game FROM table_name_86 WHERE team = "at san antonio" AND record = "3-3" | Which Game has a Team of at san antonio, and a Record of 3-3? | <s>[INST]Which Game has a Team of at san antonio, and a Record of 3-3? Context: CREATE TABLE table_name_86 (game VARCHAR, team VARCHAR, record VARCHAR)[/INST]SELECT game FROM table_name_86 WHERE team = "at san antonio" AND record = "3-3"</s> |
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_1980__times_ VARCHAR) | SELECT MAX(2010) FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "2.43" | What is the max 2010 value for a 1980 gap value is 2.43? | <s>[INST]What is the max 2010 value for a 1980 gap value is 2.43? Context: CREATE TABLE table_30133_3 (gap_from_thailand_as_of_1980__times_ VARCHAR)[/INST]SELECT MAX(2010) FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "2.43"</s> |
CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR) | SELECT SUM(grid) FROM table_name_60 WHERE laps = 17 | What is the grid total for cars that went 17 laps? | <s>[INST]What is the grid total for cars that went 17 laps? Context: CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_60 WHERE laps = 17</s> |
CREATE TABLE table_15299235_1 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_15299235_1 WHERE circuit = "Indianapolis" | What is the date for the Indianapolis circuit? | <s>[INST]What is the date for the Indianapolis circuit? Context: CREATE TABLE table_15299235_1 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_15299235_1 WHERE circuit = "Indianapolis"</s> |
CREATE TABLE teacher (Name VARCHAR, Age VARCHAR) | SELECT Name FROM teacher WHERE Age = 32 OR Age = 33 | Show the name of teachers aged either 32 or 33? | <s>[INST]Show the name of teachers aged either 32 or 33? Context: CREATE TABLE teacher (Name VARCHAR, Age VARCHAR)[/INST]SELECT Name FROM teacher WHERE Age = 32 OR Age = 33</s> |
CREATE TABLE table_19329117_1 (version VARCHAR, official_name VARCHAR) | SELECT version FROM table_19329117_1 WHERE official_name = "AutoCAD Architectural Desktop 3" | What's the version of AutoCAD Architectural Desktop 3? | <s>[INST]What's the version of AutoCAD Architectural Desktop 3? Context: CREATE TABLE table_19329117_1 (version VARCHAR, official_name VARCHAR)[/INST]SELECT version FROM table_19329117_1 WHERE official_name = "AutoCAD Architectural Desktop 3"</s> |
CREATE TABLE table_name_92 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_92 WHERE opponent = "meike babel" | Which Tournament has an Opponent of meike babel? | <s>[INST]Which Tournament has an Opponent of meike babel? Context: CREATE TABLE table_name_92 (tournament VARCHAR, opponent VARCHAR)[/INST]SELECT tournament FROM table_name_92 WHERE opponent = "meike babel"</s> |
CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR) | SELECT method_of_elimination FROM table_24628683_2 WHERE time = "24:02" | What was the method of elimination in the chamber with a time of 24:02? | <s>[INST]What was the method of elimination in the chamber with a time of 24:02? Context: CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR)[/INST]SELECT method_of_elimination FROM table_24628683_2 WHERE time = "24:02"</s> |
CREATE TABLE table_23286158_10 (location_attendance VARCHAR, high_assists VARCHAR, game VARCHAR) | SELECT COUNT(location_attendance) FROM table_23286158_10 WHERE high_assists = "Brandon Roy (6)" AND game = 78 | When 78 is the game and brandon roy (6) has the highest amount of assists how many locations/attendances are there? | <s>[INST]When 78 is the game and brandon roy (6) has the highest amount of assists how many locations/attendances are there? Context: CREATE TABLE table_23286158_10 (location_attendance VARCHAR, high_assists VARCHAR, game VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_23286158_10 WHERE high_assists = "Bran... |
CREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR) | SELECT runner_s__up FROM table_name_81 WHERE winning_score = –28(66 - 67 - 68 - 64 - 67 = 332) | Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)? | <s>[INST]Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)? Context: CREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR)[/INST]SELECT runner_s__up FROM table_name_81 WHERE winning_score = –28(66 - 67 - 68 - 64 - 67 = 332)</s> |
CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_35 WHERE home_team = "south melbourne" | What day is south melbourne at home? | <s>[INST]What day is south melbourne at home? Context: CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_35 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_28540609_2 (earnings__ VARCHAR, best_finish VARCHAR) | SELECT COUNT(earnings__) AS €_ FROM table_28540609_2 WHERE best_finish = "T38" | How many earnings values are associated with players who had a best finish of T38? | <s>[INST]How many earnings values are associated with players who had a best finish of T38? Context: CREATE TABLE table_28540609_2 (earnings__ VARCHAR, best_finish VARCHAR)[/INST]SELECT COUNT(earnings__) AS €_ FROM table_28540609_2 WHERE best_finish = "T38"</s> |
CREATE TABLE car_makers (country VARCHAR); CREATE TABLE countries (countryid VARCHAR) | SELECT COUNT(*) FROM countries AS t1 JOIN car_makers AS t2 ON t1.countryid = t2.country GROUP BY t1.countryid HAVING COUNT(*) > 2 | How many countries has more than 2 car makers ? | <s>[INST]How many countries has more than 2 car makers ? Context: CREATE TABLE car_makers (country VARCHAR); CREATE TABLE countries (countryid VARCHAR)[/INST]SELECT COUNT(*) FROM countries AS t1 JOIN car_makers AS t2 ON t1.countryid = t2.country GROUP BY t1.countryid HAVING COUNT(*) > 2</s> |
CREATE TABLE dorm (Id VARCHAR) | SELECT COUNT(*) FROM dorm | How many dorms are there? | <s>[INST]How many dorms are there? Context: CREATE TABLE dorm (Id VARCHAR)[/INST]SELECT COUNT(*) FROM dorm</s> |
CREATE TABLE table_1104312_5 (english_name VARCHAR, area_in_km² VARCHAR) | SELECT COUNT(english_name) FROM table_1104312_5 WHERE area_in_km² = "17.72" | How many districts have an area of 17.72 KM2? | <s>[INST]How many districts have an area of 17.72 KM2? Context: CREATE TABLE table_1104312_5 (english_name VARCHAR, area_in_km² VARCHAR)[/INST]SELECT COUNT(english_name) FROM table_1104312_5 WHERE area_in_km² = "17.72"</s> |
CREATE TABLE table_name_77 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_77 WHERE venue = "windy hill" | What was the lowest attendance at Windy Hill? | <s>[INST]What was the lowest attendance at Windy Hill? Context: CREATE TABLE table_name_77 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_77 WHERE venue = "windy hill"</s> |
CREATE TABLE table_name_18 (Id VARCHAR) | SELECT MIN(2009) FROM table_name_18 WHERE 2010 = 141 AND 1985 > 165 | What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165? | <s>[INST]What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165? Context: CREATE TABLE table_name_18 (Id VARCHAR)[/INST]SELECT MIN(2009) FROM table_name_18 WHERE 2010 = 141 AND 1985 > 165</s> |
CREATE TABLE table_name_63 (losses INTEGER, runs_allowed VARCHAR, wins VARCHAR) | SELECT AVG(losses) FROM table_name_63 WHERE runs_allowed < 25 AND wins = 5 | What is the average number of losses the team with less than 25 runs allowed and 5 wins have? | <s>[INST]What is the average number of losses the team with less than 25 runs allowed and 5 wins have? Context: CREATE TABLE table_name_63 (losses INTEGER, runs_allowed VARCHAR, wins VARCHAR)[/INST]SELECT AVG(losses) FROM table_name_63 WHERE runs_allowed < 25 AND wins = 5</s> |
CREATE TABLE table_name_67 (date VARCHAR, score VARCHAR, result VARCHAR) | SELECT date FROM table_name_67 WHERE score = "1–0" AND result = "4–0" | When was the score 1–0, and the result 4–0? | <s>[INST]When was the score 1–0, and the result 4–0? Context: CREATE TABLE table_name_67 (date VARCHAR, score VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE score = "1–0" AND result = "4–0"</s> |
CREATE TABLE table_name_1 (attendance VARCHAR, game VARCHAR) | SELECT attendance FROM table_name_1 WHERE game = 2 | Game 2 has how much attendance? | <s>[INST]Game 2 has how much attendance? Context: CREATE TABLE table_name_1 (attendance VARCHAR, game VARCHAR)[/INST]SELECT attendance FROM table_name_1 WHERE game = 2</s> |
CREATE TABLE table_name_6 (category VARCHAR, nominee VARCHAR, result VARCHAR) | SELECT category FROM table_name_6 WHERE nominee = "brian d'arcy james" AND result = "nominated" | What category was Brian D'arcy James nominated for? | <s>[INST]What category was Brian D'arcy James nominated for? Context: CREATE TABLE table_name_6 (category VARCHAR, nominee VARCHAR, result VARCHAR)[/INST]SELECT category FROM table_name_6 WHERE nominee = "brian d'arcy james" AND result = "nominated"</s> |
CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11 | What was the total number who attended during week 11? | <s>[INST]What was the total number who attended during week 11? Context: CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11</s> |
CREATE TABLE table_name_26 (first_issued INTEGER, color VARCHAR) | SELECT MAX(first_issued) FROM table_name_26 WHERE color = "green" | When was Color of green last issued? | <s>[INST]When was Color of green last issued? Context: CREATE TABLE table_name_26 (first_issued INTEGER, color VARCHAR)[/INST]SELECT MAX(first_issued) FROM table_name_26 WHERE color = "green"</s> |
CREATE TABLE table_name_34 (h___a VARCHAR, round VARCHAR) | SELECT h___a FROM table_name_34 WHERE round = "round 2" | what is the h/a round of round 2 | <s>[INST]what is the h/a round of round 2 Context: CREATE TABLE table_name_34 (h___a VARCHAR, round VARCHAR)[/INST]SELECT h___a FROM table_name_34 WHERE round = "round 2"</s> |
CREATE TABLE table_name_44 (last_cf INTEGER, team VARCHAR, cf_appearances VARCHAR, cf_wins VARCHAR) | SELECT AVG(last_cf) FROM table_name_44 WHERE cf_appearances < 4 AND cf_wins < 1 AND team = "st. louis blues" | What is the average last cf of the st. louis blues, who has less than 4 cf appearances and less than 1 cf wins? | <s>[INST]What is the average last cf of the st. louis blues, who has less than 4 cf appearances and less than 1 cf wins? Context: CREATE TABLE table_name_44 (last_cf INTEGER, team VARCHAR, cf_appearances VARCHAR, cf_wins VARCHAR)[/INST]SELECT AVG(last_cf) FROM table_name_44 WHERE cf_appearances < 4 AND cf_wins < 1 AND ... |
CREATE TABLE table_name_87 (lat___lon VARCHAR, us_mission VARCHAR) | SELECT lat___lon FROM table_name_87 WHERE us_mission = "surveyor 3" | What is the latitude and longitude for Surveyor 3? | <s>[INST]What is the latitude and longitude for Surveyor 3? Context: CREATE TABLE table_name_87 (lat___lon VARCHAR, us_mission VARCHAR)[/INST]SELECT lat___lon FROM table_name_87 WHERE us_mission = "surveyor 3"</s> |
CREATE TABLE table_17118657_8 (high_assists VARCHAR, score VARCHAR) | SELECT COUNT(high_assists) FROM table_17118657_8 WHERE score = "68-60" | How many high assists are listed for the game with a score of 68-60? | <s>[INST]How many high assists are listed for the game with a score of 68-60? Context: CREATE TABLE table_17118657_8 (high_assists VARCHAR, score VARCHAR)[/INST]SELECT COUNT(high_assists) FROM table_17118657_8 WHERE score = "68-60"</s> |
CREATE TABLE table_30098144_2 (jockey VARCHAR, race VARCHAR) | SELECT jockey FROM table_30098144_2 WHERE race = "Doncaster Handicap" | List the rider for the doncaster handicap compeition. | <s>[INST]List the rider for the doncaster handicap compeition. Context: CREATE TABLE table_30098144_2 (jockey VARCHAR, race VARCHAR)[/INST]SELECT jockey FROM table_30098144_2 WHERE race = "Doncaster Handicap"</s> |
CREATE TABLE table_22265225_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_22265225_1 WHERE production_code = "218" | What day did the episode with a production code of 218 originally air? | <s>[INST]What day did the episode with a production code of 218 originally air? Context: CREATE TABLE table_22265225_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_22265225_1 WHERE production_code = "218"</s> |
CREATE TABLE table_name_85 (set_2 VARCHAR, total VARCHAR) | SELECT set_2 FROM table_name_85 WHERE total = "97–74" | What set 2 has a total of 97–74? | <s>[INST]What set 2 has a total of 97–74? Context: CREATE TABLE table_name_85 (set_2 VARCHAR, total VARCHAR)[/INST]SELECT set_2 FROM table_name_85 WHERE total = "97–74"</s> |
CREATE TABLE table_name_29 (associate_professors INTEGER, assistant_professors VARCHAR, professors VARCHAR) | SELECT MAX(associate_professors) FROM table_name_29 WHERE assistant_professors > 5 AND professors < 14 | What is the maximum number of associate professors when there are more than 5 assistant professors and fewer than 14 professors? | <s>[INST]What is the maximum number of associate professors when there are more than 5 assistant professors and fewer than 14 professors? Context: CREATE TABLE table_name_29 (associate_professors INTEGER, assistant_professors VARCHAR, professors VARCHAR)[/INST]SELECT MAX(associate_professors) FROM table_name_29 WHERE a... |
CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR) | SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = "1.2" | How many tv series had an adult rating of 1.2? | <s>[INST]How many tv series had an adult rating of 1.2? Context: CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR)[/INST]SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = "1.2"</s> |
CREATE TABLE table_name_40 (quantity INTEGER, number_s_ VARCHAR) | SELECT AVG(quantity) FROM table_name_40 WHERE number_s_ = "1104" | What is the average quantity that has 1104 as the number(s)? | <s>[INST]What is the average quantity that has 1104 as the number(s)? Context: CREATE TABLE table_name_40 (quantity INTEGER, number_s_ VARCHAR)[/INST]SELECT AVG(quantity) FROM table_name_40 WHERE number_s_ = "1104"</s> |
CREATE TABLE table_name_72 (years VARCHAR, type_code VARCHAR) | SELECT years FROM table_name_72 WHERE type_code = "cubic centimetres (cuin) v8 ( m273 )" | Which Years has a Type/code of cubic centimetres (cuin) v8 ( m273 )? | <s>[INST]Which Years has a Type/code of cubic centimetres (cuin) v8 ( m273 )? Context: CREATE TABLE table_name_72 (years VARCHAR, type_code VARCHAR)[/INST]SELECT years FROM table_name_72 WHERE type_code = "cubic centimetres (cuin) v8 ( m273 )"</s> |
CREATE TABLE table_name_64 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_64 WHERE attendance = "39,889" | Where was the game that had an attendance of 39,889? | <s>[INST]Where was the game that had an attendance of 39,889? Context: CREATE TABLE table_name_64 (game_site VARCHAR, attendance VARCHAR)[/INST]SELECT game_site FROM table_name_64 WHERE attendance = "39,889"</s> |
CREATE TABLE table_name_43 (score VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT score FROM table_name_43 WHERE surface = "carpet (i)" AND outcome = "winner" AND championship = "rotterdam, netherlands" | what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands? | <s>[INST]what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands? Context: CREATE TABLE table_name_43 (score VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE surface = "carpet (i)" AND outcome = "winner... |
CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Visit_Details VARCHAR, Tourist_ID VARCHAR) | SELECT T2.Visit_Date, T2.Visit_Details FROM VISITORS AS T1 JOIN VISITS AS T2 ON T1.Tourist_ID = T2.Tourist_ID WHERE T1.Tourist_Details = "Vincent" | What are the visit date and details of the visitor whose detail is 'Vincent'? | <s>[INST]What are the visit date and details of the visitor whose detail is 'Vincent'? Context: CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Visit_Details VARCHAR, Tourist_ID VARCHAR)[/INST]SELECT T2.Visit_Date, T2.Visit_Details FROM VISITORS AS T1 JOIN V... |
CREATE TABLE table_224839_3 (successor VARCHAR, vacator VARCHAR) | SELECT COUNT(successor) FROM table_224839_3 WHERE vacator = "William North ( F )" | What is the total number of successors when the vacator was William North ( F ) | <s>[INST]What is the total number of successors when the vacator was William North ( F ) Context: CREATE TABLE table_224839_3 (successor VARCHAR, vacator VARCHAR)[/INST]SELECT COUNT(successor) FROM table_224839_3 WHERE vacator = "William North ( F )"</s> |
CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_77 WHERE record = "11-16" | What was the score that led to an 11-16 record? | <s>[INST]What was the score that led to an 11-16 record? Context: CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_77 WHERE record = "11-16"</s> |
CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT AVG(week) FROM table_name_12 WHERE opponent = "baltimore colts" AND attendance < 41 OFFSET 062 | What is the average week for the game against baltimore colts with less than 41,062 in attendance? | <s>[INST]What is the average week for the game against baltimore colts with less than 41,062 in attendance? Context: CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_12 WHERE opponent = "baltimore colts" AND attendance < 41 OFFSET 062</s> |
CREATE TABLE table_25017530_5 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_25017530_5 WHERE player = "Steven Turner" | Name the least pick number for steven turner | <s>[INST]Name the least pick number for steven turner Context: CREATE TABLE table_25017530_5 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_25017530_5 WHERE player = "Steven Turner"</s> |
CREATE TABLE table_name_9 (apogee VARCHAR, designation VARCHAR) | SELECT apogee FROM table_name_9 WHERE designation = "prognoz 6" | What is Apogee, when Designation is Prognoz 6? | <s>[INST]What is Apogee, when Designation is Prognoz 6? Context: CREATE TABLE table_name_9 (apogee VARCHAR, designation VARCHAR)[/INST]SELECT apogee FROM table_name_9 WHERE designation = "prognoz 6"</s> |
CREATE TABLE table_name_54 (code VARCHAR, place VARCHAR) | SELECT COUNT(code) FROM table_name_54 WHERE place = "amadiba" | What is the total code number for Amadiba? | <s>[INST]What is the total code number for Amadiba? Context: CREATE TABLE table_name_54 (code VARCHAR, place VARCHAR)[/INST]SELECT COUNT(code) FROM table_name_54 WHERE place = "amadiba"</s> |
CREATE TABLE trip (start_station_name VARCHAR, end_station_name VARCHAR, id VARCHAR) | SELECT start_station_name, end_station_name FROM trip ORDER BY id LIMIT 3 | Give me the start station and end station for the trips with the three oldest id. | <s>[INST]Give me the start station and end station for the trips with the three oldest id. Context: CREATE TABLE trip (start_station_name VARCHAR, end_station_name VARCHAR, id VARCHAR)[/INST]SELECT start_station_name, end_station_name FROM trip ORDER BY id LIMIT 3</s> |
CREATE TABLE table_1341930_5 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = "James William Trimble" | Name the number of party with the incubent james william trimble | <s>[INST]Name the number of party with the incubent james william trimble Context: CREATE TABLE table_1341930_5 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = "James William Trimble"</s> |
CREATE TABLE table_name_90 (location__numbersites__global_local_ VARCHAR, software VARCHAR, ipv6_address VARCHAR) | SELECT location__numbersites__global_local_ FROM table_name_90 WHERE software = "bind" AND ipv6_address = "2001:503:c27::2:30" | What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30? | <s>[INST]What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30? Context: CREATE TABLE table_name_90 (location__numbersites__global_local_ VARCHAR, software VARCHAR, ipv6_address VARCHAR)[/INST]SELECT location__numbersites__global_local_ FROM table_name_90 WHERE software = "bind" AND ip... |
CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_44 WHERE score = "6-5" AND loss = "white (2-1)" | Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)? | <s>[INST]Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)? Context: CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_44 WHERE score = "6-5" AND loss = "white (2-1)"</s> |
CREATE TABLE table_name_50 (style VARCHAR, first_performance VARCHAR) | SELECT style FROM table_name_50 WHERE first_performance = "15 november 2007" | What is the Style of the First Performance of Billy Elliot on 15 November 2007? | <s>[INST]What is the Style of the First Performance of Billy Elliot on 15 November 2007? Context: CREATE TABLE table_name_50 (style VARCHAR, first_performance VARCHAR)[/INST]SELECT style FROM table_name_50 WHERE first_performance = "15 november 2007"</s> |
CREATE TABLE table_name_27 (events INTEGER, player VARCHAR) | SELECT AVG(events) FROM table_name_27 WHERE player = "miller barber" | Name the average events for miller barber | <s>[INST]Name the average events for miller barber Context: CREATE TABLE table_name_27 (events INTEGER, player VARCHAR)[/INST]SELECT AVG(events) FROM table_name_27 WHERE player = "miller barber"</s> |
CREATE TABLE table_name_86 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_name_86 WHERE incumbent = "dave reichert" | When was the earliest incumbent dave reichert was first elected? | <s>[INST]When was the earliest incumbent dave reichert was first elected? Context: CREATE TABLE table_name_86 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_name_86 WHERE incumbent = "dave reichert"</s> |
CREATE TABLE table_name_61 (area_km_2 VARCHAR, population VARCHAR) | SELECT COUNT(area_km_2) FROM table_name_61 WHERE population = 1 OFFSET 215 | How much Area km 2 have a Population of 1,215? | <s>[INST]How much Area km 2 have a Population of 1,215? Context: CREATE TABLE table_name_61 (area_km_2 VARCHAR, population VARCHAR)[/INST]SELECT COUNT(area_km_2) FROM table_name_61 WHERE population = 1 OFFSET 215</s> |
CREATE TABLE table_name_27 (fleet_number_s_ VARCHAR, serial_numbers VARCHAR) | SELECT fleet_number_s_ FROM table_name_27 WHERE serial_numbers = "68056" | What is the fleet number for the model with Serial number 68056? | <s>[INST]What is the fleet number for the model with Serial number 68056? Context: CREATE TABLE table_name_27 (fleet_number_s_ VARCHAR, serial_numbers VARCHAR)[/INST]SELECT fleet_number_s_ FROM table_name_27 WHERE serial_numbers = "68056"</s> |
CREATE TABLE table_24990183_5 (ws_points VARCHAR) | SELECT COUNT(09 AS _10_oi_best) FROM table_24990183_5 WHERE ws_points = 949 | What was the 09-10 oi best of the player with 949 points? | <s>[INST]What was the 09-10 oi best of the player with 949 points? Context: CREATE TABLE table_24990183_5 (ws_points VARCHAR)[/INST]SELECT COUNT(09 AS _10_oi_best) FROM table_24990183_5 WHERE ws_points = 949</s> |
CREATE TABLE Assets (asset_acquired_date VARCHAR) | SELECT asset_acquired_date FROM Assets ORDER BY asset_acquired_date LIMIT 1 | When was the first asset acquired? | <s>[INST]When was the first asset acquired? Context: CREATE TABLE Assets (asset_acquired_date VARCHAR)[/INST]SELECT asset_acquired_date FROM Assets ORDER BY asset_acquired_date LIMIT 1</s> |
CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR, total_passengers VARCHAR) | SELECT DISTINCT LOCATION FROM station WHERE number_of_platforms >= 15 AND total_passengers > 25 | Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers. | <s>[INST]Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers. Context: CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR, total_passengers VARCHAR)[/INST]SELECT DISTINCT LOCATION FROM station WHERE number_of_platforms >= 15 AND t... |
CREATE TABLE table_16796625_1 (code VARCHAR, municipality VARCHAR, population VARCHAR) | SELECT COUNT(code) FROM table_16796625_1 WHERE municipality = "Vellinge municipality" AND population = 598 | How many codes have a population of 598 in Vellinge Municipality? | <s>[INST]How many codes have a population of 598 in Vellinge Municipality? Context: CREATE TABLE table_16796625_1 (code VARCHAR, municipality VARCHAR, population VARCHAR)[/INST]SELECT COUNT(code) FROM table_16796625_1 WHERE municipality = "Vellinge municipality" AND population = 598</s> |
CREATE TABLE table_name_32 (laps INTEGER, start VARCHAR, finish VARCHAR) | SELECT SUM(laps) FROM table_name_32 WHERE start = "10" AND finish = "20" | What is the sum of all laps starting at 10 and finishing at 20? | <s>[INST]What is the sum of all laps starting at 10 and finishing at 20? Context: CREATE TABLE table_name_32 (laps INTEGER, start VARCHAR, finish VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_32 WHERE start = "10" AND finish = "20"</s> |
CREATE TABLE table_name_29 (year_built VARCHAR, location_of_the_church VARCHAR) | SELECT year_built FROM table_name_29 WHERE location_of_the_church = "florø" | In what year was the church located in florø built? | <s>[INST]In what year was the church located in florø built? Context: CREATE TABLE table_name_29 (year_built VARCHAR, location_of_the_church VARCHAR)[/INST]SELECT year_built FROM table_name_29 WHERE location_of_the_church = "florø"</s> |
CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR) | SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372 | How many countries had a per capita withdrawal (m 3 /p/yr) of 372? | <s>[INST]How many countries had a per capita withdrawal (m 3 /p/yr) of 372? Context: CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)[/INST]SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372</s> |
CREATE TABLE table_name_40 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser" | Who had the fastest lap when Al Unser won? | <s>[INST]Who had the fastest lap when Al Unser won? Context: CREATE TABLE table_name_40 (fastest_lap VARCHAR, winning_driver VARCHAR)[/INST]SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser"</s> |
CREATE TABLE table_name_5 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_5 WHERE record = "37–26–9" | What was the score of the game with a record of 37–26–9? | <s>[INST]What was the score of the game with a record of 37–26–9? Context: CREATE TABLE table_name_5 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE record = "37–26–9"</s> |
CREATE TABLE table_12834315_8 (hand_guards VARCHAR, rear_sight VARCHAR, stock VARCHAR) | SELECT hand_guards FROM table_12834315_8 WHERE rear_sight = "A1" AND stock = "A2" | What kind of hand guards are associated with a rear sight of A1 and stock of A2? | <s>[INST]What kind of hand guards are associated with a rear sight of A1 and stock of A2? Context: CREATE TABLE table_12834315_8 (hand_guards VARCHAR, rear_sight VARCHAR, stock VARCHAR)[/INST]SELECT hand_guards FROM table_12834315_8 WHERE rear_sight = "A1" AND stock = "A2"</s> |
CREATE TABLE table_1147701_4 (comment VARCHAR, model_name VARCHAR) | SELECT comment FROM table_1147701_4 WHERE model_name = "2.4 (2001-2007)" | what's the comment with model name being 2.4 (2001-2007) | <s>[INST]what's the comment with model name being 2.4 (2001-2007) Context: CREATE TABLE table_1147701_4 (comment VARCHAR, model_name VARCHAR)[/INST]SELECT comment FROM table_1147701_4 WHERE model_name = "2.4 (2001-2007)"</s> |
CREATE TABLE table_name_15 (song VARCHAR, artist VARCHAR) | SELECT song FROM table_name_15 WHERE artist = "gino vannelli" | Which song was by artist Gino Vannelli? | <s>[INST]Which song was by artist Gino Vannelli? Context: CREATE TABLE table_name_15 (song VARCHAR, artist VARCHAR)[/INST]SELECT song FROM table_name_15 WHERE artist = "gino vannelli"</s> |
CREATE TABLE table_name_5 (name VARCHAR, finals VARCHAR) | SELECT name FROM table_name_5 WHERE finals = "0 (10)" | What player had a finals score of 0 (10)? | <s>[INST]What player had a finals score of 0 (10)? Context: CREATE TABLE table_name_5 (name VARCHAR, finals VARCHAR)[/INST]SELECT name FROM table_name_5 WHERE finals = "0 (10)"</s> |
CREATE TABLE table_name_43 (level VARCHAR, points VARCHAR, goals VARCHAR) | SELECT level FROM table_name_43 WHERE points > 25 AND goals = "64–31" | What is the level when points are larger than 25, and goals are 64–31? | <s>[INST]What is the level when points are larger than 25, and goals are 64–31? Context: CREATE TABLE table_name_43 (level VARCHAR, points VARCHAR, goals VARCHAR)[/INST]SELECT level FROM table_name_43 WHERE points > 25 AND goals = "64–31"</s> |
CREATE TABLE table_1733457_1 (kerry_number VARCHAR, others_number VARCHAR) | SELECT kerry_number FROM table_1733457_1 WHERE others_number = 44 | Name the kerry # for others# is 44 | <s>[INST]Name the kerry # for others# is 44 Context: CREATE TABLE table_1733457_1 (kerry_number VARCHAR, others_number VARCHAR)[/INST]SELECT kerry_number FROM table_1733457_1 WHERE others_number = 44</s> |
CREATE TABLE table_206217_2 (period__h_ VARCHAR, eccentricity VARCHAR) | SELECT period__h_ FROM table_206217_2 WHERE eccentricity = "0.583085" | What is every value of period when eccentricity is 0.583085? | <s>[INST]What is every value of period when eccentricity is 0.583085? Context: CREATE TABLE table_206217_2 (period__h_ VARCHAR, eccentricity VARCHAR)[/INST]SELECT period__h_ FROM table_206217_2 WHERE eccentricity = "0.583085"</s> |
CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, score VARCHAR) | SELECT player FROM table_name_1 WHERE country = "united states" AND score = 70 - 72 - 70 = 212 | What is Player, when Country is United States, and when Score is 70-72-70=212? | <s>[INST]What is Player, when Country is United States, and when Score is 70-72-70=212? Context: CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_1 WHERE country = "united states" AND score = 70 - 72 - 70 = 212</s> |
CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_8 WHERE date = "august 4" | What was the team's record on August 4? | <s>[INST]What was the team's record on August 4? Context: CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_8 WHERE date = "august 4"</s> |
CREATE TABLE table_name_81 (almalı__qax_ VARCHAR, malax VARCHAR) | SELECT almalı__qax_ FROM table_name_81 WHERE malax = "qaxingiloy" | What is the Almali village with the Malax village qaxingiloy? | <s>[INST]What is the Almali village with the Malax village qaxingiloy? Context: CREATE TABLE table_name_81 (almalı__qax_ VARCHAR, malax VARCHAR)[/INST]SELECT almalı__qax_ FROM table_name_81 WHERE malax = "qaxingiloy"</s> |
CREATE TABLE table_name_49 (save VARCHAR, attendance VARCHAR) | SELECT save FROM table_name_49 WHERE attendance = "23,394" | What is the save of the game that 23,394 people attended? | <s>[INST]What is the save of the game that 23,394 people attended? Context: CREATE TABLE table_name_49 (save VARCHAR, attendance VARCHAR)[/INST]SELECT save FROM table_name_49 WHERE attendance = "23,394"</s> |
CREATE TABLE table_name_18 (location VARCHAR, tournament VARCHAR) | SELECT MIN(1 AS st_prize___) AS $__ FROM table_name_18 WHERE location = "california" AND tournament = "mercedes championships" | What is the lowest first prize of the Mercedes Championships tournament in California? | <s>[INST]What is the lowest first prize of the Mercedes Championships tournament in California? Context: CREATE TABLE table_name_18 (location VARCHAR, tournament VARCHAR)[/INST]SELECT MIN(1 AS st_prize___) AS $__ FROM table_name_18 WHERE location = "california" AND tournament = "mercedes championships"</s> |
CREATE TABLE table_1342233_43 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_1342233_43 WHERE candidates = "R. Ewing Thomason (D) Unopposed" | What was the result of the election featuring r. ewing thomason (d) unopposed? | <s>[INST]What was the result of the election featuring r. ewing thomason (d) unopposed? Context: CREATE TABLE table_1342233_43 (result VARCHAR, candidates VARCHAR)[/INST]SELECT result FROM table_1342233_43 WHERE candidates = "R. Ewing Thomason (D) Unopposed"</s> |
CREATE TABLE table_name_2 (right_ascension___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR, apparent_magnitude VARCHAR) | SELECT right_ascension___j2000__ FROM table_name_2 WHERE object_type = "globular cluster" AND apparent_magnitude = 8.5 AND ngc_number = 6273 | Tell me the right ascensuon for object type of globular cluster and apparent magnitude of 8.5 and NGC number of 6273 | <s>[INST]Tell me the right ascensuon for object type of globular cluster and apparent magnitude of 8.5 and NGC number of 6273 Context: CREATE TABLE table_name_2 (right_ascension___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR, apparent_magnitude VARCHAR)[/INST]SELECT right_ascension___j2000__ FROM table_name... |
CREATE TABLE table_name_25 (score VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT score FROM table_name_25 WHERE to_par = 12 AND country = "jersey" | What score has a to par of 12 and is from Jersey? | <s>[INST]What score has a to par of 12 and is from Jersey? Context: CREATE TABLE table_name_25 (score VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_25 WHERE to_par = 12 AND country = "jersey"</s> |
CREATE TABLE table_name_34 (outcome VARCHAR, opponents VARCHAR) | SELECT outcome FROM table_name_34 WHERE opponents = "darija jurak anaïs laurendon" | What was the outcome when darija jurak anaïs laurendon was the opponent? | <s>[INST]What was the outcome when darija jurak anaïs laurendon was the opponent? Context: CREATE TABLE table_name_34 (outcome VARCHAR, opponents VARCHAR)[/INST]SELECT outcome FROM table_name_34 WHERE opponents = "darija jurak anaïs laurendon"</s> |
CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR) | SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th" | What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th? | <s>[INST]What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th? Context: CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR)[/INST]SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th"</s> |
CREATE TABLE table_name_79 (foundation INTEGER, japanese_orthography VARCHAR) | SELECT SUM(foundation) FROM table_name_79 WHERE japanese_orthography = "国立看護大学校" | What is the number of the Foundation with Japanese orthography of 国立看護大学校? | <s>[INST]What is the number of the Foundation with Japanese orthography of 国立看護大学校? Context: CREATE TABLE table_name_79 (foundation INTEGER, japanese_orthography VARCHAR)[/INST]SELECT SUM(foundation) FROM table_name_79 WHERE japanese_orthography = "国立看護大学校"</s> |
CREATE TABLE table_2709_4 (format VARCHAR, owner VARCHAR) | SELECT format FROM table_2709_4 WHERE owner = "Dakota Broadcasting" | What is the format for the station owned by Dakota Broadcasting? | <s>[INST]What is the format for the station owned by Dakota Broadcasting? Context: CREATE TABLE table_2709_4 (format VARCHAR, owner VARCHAR)[/INST]SELECT format FROM table_2709_4 WHERE owner = "Dakota Broadcasting"</s> |
CREATE TABLE table_2266230_1 (manufacturer VARCHAR, driver VARCHAR, year VARCHAR) | SELECT manufacturer FROM table_2266230_1 WHERE driver = "Cale Yarborough" AND year = "1984" | Name the manufacturer for cale yarborough for 1984 | <s>[INST]Name the manufacturer for cale yarborough for 1984 Context: CREATE TABLE table_2266230_1 (manufacturer VARCHAR, driver VARCHAR, year VARCHAR)[/INST]SELECT manufacturer FROM table_2266230_1 WHERE driver = "Cale Yarborough" AND year = "1984"</s> |
CREATE TABLE table_name_75 (score VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_75 WHERE surface = "hard" AND tournament = "ramat hasharon" | What is the score of the hard court Ramat Hasharon tournament? | <s>[INST]What is the score of the hard court Ramat Hasharon tournament? Context: CREATE TABLE table_name_75 (score VARCHAR, surface VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_75 WHERE surface = "hard" AND tournament = "ramat hasharon"</s> |
CREATE TABLE table_name_96 (nationality VARCHAR, player VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth" | What was the nationality of five-eighth player Darren Lockyer? | <s>[INST]What was the nationality of five-eighth player Darren Lockyer? Context: CREATE TABLE table_name_96 (nationality VARCHAR, player VARCHAR, position VARCHAR)[/INST]SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth"</s> |
CREATE TABLE table_name_26 (winner VARCHAR, fourth VARCHAR) | SELECT winner FROM table_name_26 WHERE fourth = "selby riddle" | Who was the Winner when Selby Riddle came in Fourth? | <s>[INST]Who was the Winner when Selby Riddle came in Fourth? Context: CREATE TABLE table_name_26 (winner VARCHAR, fourth VARCHAR)[/INST]SELECT winner FROM table_name_26 WHERE fourth = "selby riddle"</s> |
CREATE TABLE table_name_76 (location VARCHAR, club VARCHAR) | SELECT location FROM table_name_76 WHERE club = "nac breda" | Where is nac breda club located? | <s>[INST]Where is nac breda club located? Context: CREATE TABLE table_name_76 (location VARCHAR, club VARCHAR)[/INST]SELECT location FROM table_name_76 WHERE club = "nac breda"</s> |
CREATE TABLE table (release_date VARCHAR, code_name VARCHAR) | SELECT release_date FROM table WHERE code_name = "Aoba" | What is the release date if the code name is Aoba? | <s>[INST]What is the release date if the code name is Aoba? Context: CREATE TABLE table (release_date VARCHAR, code_name VARCHAR)[/INST]SELECT release_date FROM table WHERE code_name = "Aoba"</s> |
CREATE TABLE table_name_51 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_51 WHERE date = "may 2" | What is the game number held on May 2? | <s>[INST]What is the game number held on May 2? Context: CREATE TABLE table_name_51 (game INTEGER, date VARCHAR)[/INST]SELECT AVG(game) FROM table_name_51 WHERE date = "may 2"</s> |
CREATE TABLE table_name_28 (japanese_voice_actor VARCHAR, mecha VARCHAR) | SELECT japanese_voice_actor FROM table_name_28 WHERE mecha = "airplane" | Which Japanese voice actor had the Mecha of airplane? | <s>[INST]Which Japanese voice actor had the Mecha of airplane? Context: CREATE TABLE table_name_28 (japanese_voice_actor VARCHAR, mecha VARCHAR)[/INST]SELECT japanese_voice_actor FROM table_name_28 WHERE mecha = "airplane"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.