context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_41 (avg INTEGER, player VARCHAR, fumbles VARCHAR) | SELECT MAX(avg) FROM table_name_41 WHERE player = "buck pierce" AND fumbles < 2 | What was Buck Pierce's highest average when there were less than 2 fumbles? | <s>[INST]What was Buck Pierce's highest average when there were less than 2 fumbles? Context: CREATE TABLE table_name_41 (avg INTEGER, player VARCHAR, fumbles VARCHAR)[/INST]SELECT MAX(avg) FROM table_name_41 WHERE player = "buck pierce" AND fumbles < 2</s> |
CREATE TABLE table_28768925_1 (written_by VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_28768925_1 WHERE directed_by = "Wendey Stanzler" AND no_in_series = 27 | Who wrote episode 27 in the series that was directed by Wendey Stanzler? | <s>[INST]Who wrote episode 27 in the series that was directed by Wendey Stanzler? Context: CREATE TABLE table_28768925_1 (written_by VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_28768925_1 WHERE directed_by = "Wendey Stanzler" AND no_in_series = 27</s> |
CREATE TABLE table_name_39 (nfl_club VARCHAR, pick VARCHAR, round VARCHAR) | SELECT nfl_club FROM table_name_39 WHERE pick < 74 AND round > 2 | What is the NFL club with a pick less than 74 and a round greater than 2? | <s>[INST]What is the NFL club with a pick less than 74 and a round greater than 2? Context: CREATE TABLE table_name_39 (nfl_club VARCHAR, pick VARCHAR, round VARCHAR)[/INST]SELECT nfl_club FROM table_name_39 WHERE pick < 74 AND round > 2</s> |
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR) | SELECT sat_29_aug FROM table_23465864_4 WHERE mon_24_aug = "24' 17.26 93.208mph" | What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August? | <s>[INST]What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August? Context: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR)[/INST]SELECT sat_29_aug FROM table_23465864_4 WHERE mon_24_aug = "24' 17.26 93.208mph"</s> |
CREATE TABLE departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER) | SELECT * FROM employees WHERE NOT department_id IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200) | Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200. | <s>[INST]Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200. Context: CREATE TABLE departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER)[/INST]SELECT * FROM employees WHERE NOT department_id IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)</s> |
CREATE TABLE table_26609690_1 (position VARCHAR, team_s_ VARCHAR) | SELECT COUNT(position) FROM table_26609690_1 WHERE team_s_ = "RB1 Motorsports" | How many positions are there for RB1 Motorsports? | <s>[INST]How many positions are there for RB1 Motorsports? Context: CREATE TABLE table_26609690_1 (position VARCHAR, team_s_ VARCHAR)[/INST]SELECT COUNT(position) FROM table_26609690_1 WHERE team_s_ = "RB1 Motorsports"</s> |
CREATE TABLE table_name_70 (week INTEGER, result VARCHAR) | SELECT AVG(week) FROM table_name_70 WHERE result = "l 34β24" | Tell me the average week for result of l 34β24 | <s>[INST]Tell me the average week for result of l 34β24 Context: CREATE TABLE table_name_70 (week INTEGER, result VARCHAR)[/INST]SELECT AVG(week) FROM table_name_70 WHERE result = "l 34β24"</s> |
CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_22 WHERE home_team = "south melbourne" | What team played South Melbourne at their home game? | <s>[INST]What team played South Melbourne at their home game? Context: CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_22 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_name_41 (weight__kg_ INTEGER, position VARCHAR, jersey__number VARCHAR) | SELECT MAX(weight__kg_) FROM table_name_41 WHERE position = "f" AND jersey__number = 12 | What was the highest weight in kg for F Position, Jersey #12? | <s>[INST]What was the highest weight in kg for F Position, Jersey #12? Context: CREATE TABLE table_name_41 (weight__kg_ INTEGER, position VARCHAR, jersey__number VARCHAR)[/INST]SELECT MAX(weight__kg_) FROM table_name_41 WHERE position = "f" AND jersey__number = 12</s> |
CREATE TABLE table_name_49 (province VARCHAR, period VARCHAR) | SELECT province FROM table_name_49 WHERE period = "1941-1946" | Tell me the province of 1941-1946 | <s>[INST]Tell me the province of 1941-1946 Context: CREATE TABLE table_name_49 (province VARCHAR, period VARCHAR)[/INST]SELECT province FROM table_name_49 WHERE period = "1941-1946"</s> |
CREATE TABLE table_name_63 (league VARCHAR, home VARCHAR) | SELECT league FROM table_name_63 WHERE home = "1-1" | WHAT IS THE LEAGUE WITH HOME 1-1? | <s>[INST]WHAT IS THE LEAGUE WITH HOME 1-1? Context: CREATE TABLE table_name_63 (league VARCHAR, home VARCHAR)[/INST]SELECT league FROM table_name_63 WHERE home = "1-1"</s> |
CREATE TABLE table_2026548_1 (explanation VARCHAR, vice_president VARCHAR) | SELECT explanation FROM table_2026548_1 WHERE vice_president = "Alben W. Barkley" | Name the explanation for alben w. barkley | <s>[INST]Name the explanation for alben w. barkley Context: CREATE TABLE table_2026548_1 (explanation VARCHAR, vice_president VARCHAR)[/INST]SELECT explanation FROM table_2026548_1 WHERE vice_president = "Alben W. Barkley"</s> |
CREATE TABLE table_name_86 (drawn INTEGER, points INTEGER) | SELECT SUM(drawn) FROM table_name_86 WHERE points > 9 | How many drawn having more than 9 points? | <s>[INST]How many drawn having more than 9 points? Context: CREATE TABLE table_name_86 (drawn INTEGER, points INTEGER)[/INST]SELECT SUM(drawn) FROM table_name_86 WHERE points > 9</s> |
CREATE TABLE table_22597626_6 (championship VARCHAR, opponent_in_the_final VARCHAR) | SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = "Peter McNamara" | Name the championship for peter mcnamara | <s>[INST]Name the championship for peter mcnamara Context: CREATE TABLE table_22597626_6 (championship VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = "Peter McNamara"</s> |
CREATE TABLE table_name_91 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_91 WHERE score = "105-115" | Which Record has a Score of 105-115? | <s>[INST]Which Record has a Score of 105-115? Context: CREATE TABLE table_name_91 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_91 WHERE score = "105-115"</s> |
CREATE TABLE table_name_9 (bore VARCHAR, name VARCHAR) | SELECT bore FROM table_name_9 WHERE name = "18 ab" | What bore goes with an 18 AB? | <s>[INST]What bore goes with an 18 AB? Context: CREATE TABLE table_name_9 (bore VARCHAR, name VARCHAR)[/INST]SELECT bore FROM table_name_9 WHERE name = "18 ab"</s> |
CREATE TABLE table_name_91 (completed VARCHAR, builder VARCHAR, name VARCHAR) | SELECT completed FROM table_name_91 WHERE builder = "chatham" AND name = "hmsmedusa" | When did chatham complete the Hmsmedusa? | <s>[INST]When did chatham complete the Hmsmedusa? Context: CREATE TABLE table_name_91 (completed VARCHAR, builder VARCHAR, name VARCHAR)[/INST]SELECT completed FROM table_name_91 WHERE builder = "chatham" AND name = "hmsmedusa"</s> |
CREATE TABLE table_name_66 (silver VARCHAR, total VARCHAR) | SELECT COUNT(silver) FROM table_name_66 WHERE total = 76 | Who has a total number of 76 silver medals? | <s>[INST]Who has a total number of 76 silver medals? Context: CREATE TABLE table_name_66 (silver VARCHAR, total VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_66 WHERE total = 76</s> |
CREATE TABLE Ref_Document_Status (document_status_description VARCHAR, document_status_code VARCHAR) | SELECT document_status_description FROM Ref_Document_Status WHERE document_status_code = "working" | What is the description of document status code 'working'? | <s>[INST]What is the description of document status code 'working'? Context: CREATE TABLE Ref_Document_Status (document_status_description VARCHAR, document_status_code VARCHAR)[/INST]SELECT document_status_description FROM Ref_Document_Status WHERE document_status_code = "working"</s> |
CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_Theme VARCHAR, Party_ID VARCHAR) | SELECT T3.Party_Theme, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID | Show the themes of parties and the names of the party hosts. | <s>[INST]Show the themes of parties and the names of the party hosts. Context: CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_Theme VARCHAR, Party_ID VARCHAR)[/INST]SELECT T3.Party_Theme, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID</s> |
CREATE TABLE table_name_65 (result VARCHAR, game VARCHAR) | SELECT result FROM table_name_65 WHERE game = "game 5" | What is the result for game 5? | <s>[INST]What is the result for game 5? Context: CREATE TABLE table_name_65 (result VARCHAR, game VARCHAR)[/INST]SELECT result FROM table_name_65 WHERE game = "game 5"</s> |
CREATE TABLE table_name_48 (winning_driver VARCHAR, location VARCHAR) | SELECT winning_driver FROM table_name_48 WHERE location = "imola" | Which winning driver is located in Imola? | <s>[INST]Which winning driver is located in Imola? Context: CREATE TABLE table_name_48 (winning_driver VARCHAR, location VARCHAR)[/INST]SELECT winning_driver FROM table_name_48 WHERE location = "imola"</s> |
CREATE TABLE table_name_5 (round VARCHAR, position VARCHAR) | SELECT round FROM table_name_5 WHERE position = "f" | Which Round was F picked? | <s>[INST]Which Round was F picked? Context: CREATE TABLE table_name_5 (round VARCHAR, position VARCHAR)[/INST]SELECT round FROM table_name_5 WHERE position = "f"</s> |
CREATE TABLE table_name_33 (equatorial_diameter VARCHAR, body VARCHAR) | SELECT equatorial_diameter FROM table_name_33 WHERE body = "ceres" | What is the Equatorial diameter of the Body: ceres? | <s>[INST]What is the Equatorial diameter of the Body: ceres? Context: CREATE TABLE table_name_33 (equatorial_diameter VARCHAR, body VARCHAR)[/INST]SELECT equatorial_diameter FROM table_name_33 WHERE body = "ceres"</s> |
CREATE TABLE table_name_64 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_64 WHERE away_team = "melbourne" | How much did the away team Melbourne score? | <s>[INST]How much did the away team Melbourne score? Context: CREATE TABLE table_name_64 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_64 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_49 (route_name VARCHAR, termini VARCHAR) | SELECT route_name FROM table_name_49 WHERE termini = "fm 1472 sh 255" | What route has termini of fm 1472 sh 255? | <s>[INST]What route has termini of fm 1472 sh 255? Context: CREATE TABLE table_name_49 (route_name VARCHAR, termini VARCHAR)[/INST]SELECT route_name FROM table_name_49 WHERE termini = "fm 1472 sh 255"</s> |
CREATE TABLE table_name_24 (average_ratings VARCHAR, japanese_title VARCHAR) | SELECT average_ratings FROM table_name_24 WHERE japanese_title = "γγͺγγγ " | What are the average ratings for γγͺγγγ ? | <s>[INST]What are the average ratings for γγͺγγγ ? Context: CREATE TABLE table_name_24 (average_ratings VARCHAR, japanese_title VARCHAR)[/INST]SELECT average_ratings FROM table_name_24 WHERE japanese_title = "γγͺγγγ "</s> |
CREATE TABLE table_name_45 (score VARCHAR, competition VARCHAR, result VARCHAR, year VARCHAR) | SELECT score FROM table_name_45 WHERE result = "loss" AND year = "1980" AND competition = "world group, consolation round" | what is the score when the result is loss, the year is 1980 and the competition is world group, consolation round? | <s>[INST]what is the score when the result is loss, the year is 1980 and the competition is world group, consolation round? Context: CREATE TABLE table_name_45 (score VARCHAR, competition VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_45 WHERE result = "loss" AND year = "1980" AND competition = "world group, consolation round"</s> |
CREATE TABLE table_name_46 (against INTEGER, status VARCHAR, date VARCHAR) | SELECT MIN(against) FROM table_name_46 WHERE status = "tour match" AND date = "21 july 1990" | Lowest against for tour match on 21 july 1990? | <s>[INST]Lowest against for tour match on 21 july 1990? Context: CREATE TABLE table_name_46 (against INTEGER, status VARCHAR, date VARCHAR)[/INST]SELECT MIN(against) FROM table_name_46 WHERE status = "tour match" AND date = "21 july 1990"</s> |
CREATE TABLE table_2528382_1 (lyricist VARCHAR, music_director VARCHAR) | SELECT lyricist FROM table_2528382_1 WHERE music_director = "Madan Mohan Kohli" | Who was the lyricist for the song with music directed by madan mohan kohli? | <s>[INST]Who was the lyricist for the song with music directed by madan mohan kohli? Context: CREATE TABLE table_2528382_1 (lyricist VARCHAR, music_director VARCHAR)[/INST]SELECT lyricist FROM table_2528382_1 WHERE music_director = "Madan Mohan Kohli"</s> |
CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___kmΒ²_2011_ VARCHAR) | SELECT administrative_division FROM table_24027047_1 WHERE population_density___kmΒ²_2011_ = "4,491.8" | In what division was there a population density in km2 of 4,491.8 in 2011? | <s>[INST]In what division was there a population density in km2 of 4,491.8 in 2011? Context: CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___kmΒ²_2011_ VARCHAR)[/INST]SELECT administrative_division FROM table_24027047_1 WHERE population_density___kmΒ²_2011_ = "4,491.8"</s> |
CREATE TABLE table_name_16 (points VARCHAR, attendance VARCHAR) | SELECT COUNT(points) FROM table_name_16 WHERE attendance = 6 OFFSET 126 | For the game with 6,126 in attendance, how many points did both teams have in the standings? | <s>[INST]For the game with 6,126 in attendance, how many points did both teams have in the standings? Context: CREATE TABLE table_name_16 (points VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_16 WHERE attendance = 6 OFFSET 126</s> |
CREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR) | SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = "6.4" AND archive = "16mm t/r" | Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r | <s>[INST]Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r Context: CREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR)[/INST]SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = "6.4" AND archive = "16mm t/r"</s> |
CREATE TABLE table_27721131_6 (record VARCHAR, date VARCHAR) | SELECT record FROM table_27721131_6 WHERE date = "November 25" | What is the record for the game on november 25? | <s>[INST]What is the record for the game on november 25? Context: CREATE TABLE table_27721131_6 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_27721131_6 WHERE date = "November 25"</s> |
CREATE TABLE table_24784769_1 (round1 INTEGER, total_points VARCHAR) | SELECT MAX(round1) FROM table_24784769_1 WHERE total_points = 132 | How many points did the team who had 132 total points have in round 1? | <s>[INST]How many points did the team who had 132 total points have in round 1? Context: CREATE TABLE table_24784769_1 (round1 INTEGER, total_points VARCHAR)[/INST]SELECT MAX(round1) FROM table_24784769_1 WHERE total_points = 132</s> |
CREATE TABLE table_25429986_1 (horse VARCHAR, position VARCHAR) | SELECT horse FROM table_25429986_1 WHERE position = "6th" | what horse is in the 6th position? | <s>[INST]what horse is in the 6th position? Context: CREATE TABLE table_25429986_1 (horse VARCHAR, position VARCHAR)[/INST]SELECT horse FROM table_25429986_1 WHERE position = "6th"</s> |
CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_97 WHERE venue = "edgbaston" | On what date was the venue at Edgbaston? | <s>[INST]On what date was the venue at Edgbaston? Context: CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE venue = "edgbaston"</s> |
CREATE TABLE table_name_40 (years VARCHAR, state VARCHAR, representative VARCHAR) | SELECT years FROM table_name_40 WHERE state = "new hampshire" AND representative = "james hutchins johnson" | James Hutchins Johnson, from New Hampshire, served during what years? | <s>[INST]James Hutchins Johnson, from New Hampshire, served during what years? Context: CREATE TABLE table_name_40 (years VARCHAR, state VARCHAR, representative VARCHAR)[/INST]SELECT years FROM table_name_40 WHERE state = "new hampshire" AND representative = "james hutchins johnson"</s> |
CREATE TABLE table_name_29 (commissioned VARCHAR, operator VARCHAR) | SELECT commissioned FROM table_name_29 WHERE operator = "vietnam" | What is the commissioned for Vietnam? | <s>[INST]What is the commissioned for Vietnam? Context: CREATE TABLE table_name_29 (commissioned VARCHAR, operator VARCHAR)[/INST]SELECT commissioned FROM table_name_29 WHERE operator = "vietnam"</s> |
CREATE TABLE table_2646656_3 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 10" | Who was the incumbent in the Ohio 10 district? | <s>[INST]Who was the incumbent in the Ohio 10 district? Context: CREATE TABLE table_2646656_3 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 10"</s> |
CREATE TABLE table_1342370_41 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett" | What was the result in the election where the incumbent was Finis J. Garrett? | <s>[INST]What was the result in the election where the incumbent was Finis J. Garrett? Context: CREATE TABLE table_1342370_41 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"</s> |
CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_91 WHERE score = 73 - 68 = 141 | What is the to par for the player who scored 73-68=141? | <s>[INST]What is the to par for the player who scored 73-68=141? Context: CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_91 WHERE score = 73 - 68 = 141</s> |
CREATE TABLE table_2102782_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) | SELECT broadcast_date FROM table_2102782_1 WHERE viewers__in_millions_ = "7.4" | Name the broadcast date for 7.4 viewers | <s>[INST]Name the broadcast date for 7.4 viewers Context: CREATE TABLE table_2102782_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT broadcast_date FROM table_2102782_1 WHERE viewers__in_millions_ = "7.4"</s> |
CREATE TABLE table_name_9 (attendance VARCHAR, away_team VARCHAR) | SELECT COUNT(attendance) FROM table_name_9 WHERE away_team = "tamworth" | What was the Attendance during the Tamworth Away game? | <s>[INST]What was the Attendance during the Tamworth Away game? Context: CREATE TABLE table_name_9 (attendance VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_9 WHERE away_team = "tamworth"</s> |
CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR) | SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi State" | Name the broadcast for 7:00pm and mississippi state | <s>[INST]Name the broadcast for 7:00pm and mississippi state Context: CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)[/INST]SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi State"</s> |
CREATE TABLE table_name_43 (result_f_a VARCHAR, opponents VARCHAR) | SELECT result_f_a FROM table_name_43 WHERE opponents = "beijing hyundai" | What was the result against Beijing Hyundai? | <s>[INST]What was the result against Beijing Hyundai? Context: CREATE TABLE table_name_43 (result_f_a VARCHAR, opponents VARCHAR)[/INST]SELECT result_f_a FROM table_name_43 WHERE opponents = "beijing hyundai"</s> |
CREATE TABLE table_name_27 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_27 WHERE away_team = "north melbourne" | How many people were in the crowd when the away team was north melbourne? | <s>[INST]How many people were in the crowd when the away team was north melbourne? Context: CREATE TABLE table_name_27 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_27 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_32 (total_atms VARCHAR, off_site_atms VARCHAR, number_of_branches VARCHAR) | SELECT COUNT(total_atms) FROM table_name_32 WHERE off_site_atms > 3672 AND number_of_branches < 1685 | What is the total ATMs with off-site ATMs greater than 3672, and less than 1685 as the number of branches? | <s>[INST]What is the total ATMs with off-site ATMs greater than 3672, and less than 1685 as the number of branches? Context: CREATE TABLE table_name_32 (total_atms VARCHAR, off_site_atms VARCHAR, number_of_branches VARCHAR)[/INST]SELECT COUNT(total_atms) FROM table_name_32 WHERE off_site_atms > 3672 AND number_of_branches < 1685</s> |
CREATE TABLE table_28741_1 (_usd__2012_ VARCHAR, gdp__nominal__per_capita VARCHAR, capital VARCHAR) | SELECT COUNT(gdp__nominal__per_capita), _usd__2012_ FROM table_28741_1 WHERE capital = "Phnom Penh" | What are the numbers for GDP (nominal) per capita and USD (2012) of the area with Phnom Penh as capital? | <s>[INST]What are the numbers for GDP (nominal) per capita and USD (2012) of the area with Phnom Penh as capital? Context: CREATE TABLE table_28741_1 (_usd__2012_ VARCHAR, gdp__nominal__per_capita VARCHAR, capital VARCHAR)[/INST]SELECT COUNT(gdp__nominal__per_capita), _usd__2012_ FROM table_28741_1 WHERE capital = "Phnom Penh"</s> |
CREATE TABLE table_name_18 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_18 WHERE away_team = "newcastle benfield" | What is Score, when Away Team is "Newcastle Benfield"? | <s>[INST]What is Score, when Away Team is "Newcastle Benfield"? Context: CREATE TABLE table_name_18 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE away_team = "newcastle benfield"</s> |
CREATE TABLE table_name_13 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_13 WHERE home_team = "melbourne" | Where does Melbourne play home games? | <s>[INST]Where does Melbourne play home games? Context: CREATE TABLE table_name_13 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_13 WHERE home_team = "melbourne"</s> |
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR, score VARCHAR) | SELECT away_team FROM table_name_17 WHERE home_team = "south dragons" AND score = "94-81" | Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81? | <s>[INST]Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81? Context: CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)[/INST]SELECT away_team FROM table_name_17 WHERE home_team = "south dragons" AND score = "94-81"</s> |
CREATE TABLE table_name_16 (score VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT score FROM table_name_16 WHERE visitor = "pacers" AND date = "14 april 2008" | Name the score for pacers visitor on 14 april 2008 | <s>[INST]Name the score for pacers visitor on 14 april 2008 Context: CREATE TABLE table_name_16 (score VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_16 WHERE visitor = "pacers" AND date = "14 april 2008"</s> |
CREATE TABLE table_name_15 (player VARCHAR, school VARCHAR) | SELECT player FROM table_name_15 WHERE school = "seattle prep" | What is the player that is from seattle prep? | <s>[INST]What is the player that is from seattle prep? Context: CREATE TABLE table_name_15 (player VARCHAR, school VARCHAR)[/INST]SELECT player FROM table_name_15 WHERE school = "seattle prep"</s> |
CREATE TABLE Document_locations (location_code VARCHAR) | SELECT DISTINCT location_code FROM Document_locations | What are the different location codes for documents? | <s>[INST]What are the different location codes for documents? Context: CREATE TABLE Document_locations (location_code VARCHAR)[/INST]SELECT DISTINCT location_code FROM Document_locations</s> |
CREATE TABLE table_name_83 (method VARCHAR, record VARCHAR) | SELECT method FROM table_name_83 WHERE record = "4-0" | Which method has a record of 4-0? | <s>[INST]Which method has a record of 4-0? Context: CREATE TABLE table_name_83 (method VARCHAR, record VARCHAR)[/INST]SELECT method FROM table_name_83 WHERE record = "4-0"</s> |
CREATE TABLE table_name_7 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT silver FROM table_name_7 WHERE bronze > 0 AND total < 54 AND nation = "spain" | How many silver medals did spain have when they had more than 0 bronze medals and less than 54 total medals? | <s>[INST]How many silver medals did spain have when they had more than 0 bronze medals and less than 54 total medals? Context: CREATE TABLE table_name_7 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT silver FROM table_name_7 WHERE bronze > 0 AND total < 54 AND nation = "spain"</s> |
CREATE TABLE table_name_95 (bronze INTEGER, nation VARCHAR, silver VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_95 WHERE silver < 2 AND total > 1 AND nation = "uzbekistan" | What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan? | <s>[INST]What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan? Context: CREATE TABLE table_name_95 (bronze INTEGER, nation VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_95 WHERE silver < 2 AND total > 1 AND nation = "uzbekistan"</s> |
CREATE TABLE table_name_69 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_69 WHERE score = 66 - 73 - 69 = 208 | What country has a score of 66-73-69=208? | <s>[INST]What country has a score of 66-73-69=208? Context: CREATE TABLE table_name_69 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_69 WHERE score = 66 - 73 - 69 = 208</s> |
CREATE TABLE Treatments (cost_of_treatment VARCHAR, date_of_treatment VARCHAR) | SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1 | How much does the most recent treatment cost? | <s>[INST]How much does the most recent treatment cost? Context: CREATE TABLE Treatments (cost_of_treatment VARCHAR, date_of_treatment VARCHAR)[/INST]SELECT cost_of_treatment FROM Treatments ORDER BY date_of_treatment DESC LIMIT 1</s> |
CREATE TABLE teacher (Hometown VARCHAR) | SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1 | List the most common hometown of teachers. | <s>[INST]List the most common hometown of teachers. Context: CREATE TABLE teacher (Hometown VARCHAR)[/INST]SELECT Hometown FROM teacher GROUP BY Hometown ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_27250813_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT COUNT(original_air_date) FROM table_27250813_1 WHERE production_code = 12003 | How many times did an episode with a production code of 12003 was aired? | <s>[INST]How many times did an episode with a production code of 12003 was aired? Context: CREATE TABLE table_27250813_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_27250813_1 WHERE production_code = 12003</s> |
CREATE TABLE table_name_29 (player VARCHAR, weight VARCHAR) | SELECT player FROM table_name_29 WHERE weight = 235 | What player weight 235? | <s>[INST]What player weight 235? Context: CREATE TABLE table_name_29 (player VARCHAR, weight VARCHAR)[/INST]SELECT player FROM table_name_29 WHERE weight = 235</s> |
CREATE TABLE table_14871601_1 (wins INTEGER, team VARCHAR) | SELECT MAX(wins) FROM table_14871601_1 WHERE team = "Nacional" | What is the highest win for the team Nacional? | <s>[INST]What is the highest win for the team Nacional? Context: CREATE TABLE table_14871601_1 (wins INTEGER, team VARCHAR)[/INST]SELECT MAX(wins) FROM table_14871601_1 WHERE team = "Nacional"</s> |
CREATE TABLE table_name_22 (grid INTEGER, laps VARCHAR, rider VARCHAR) | SELECT SUM(grid) FROM table_name_22 WHERE laps = 24 AND rider = "marco melandri" | Which Grid has Laps of 24, and a Rider of marco melandri? | <s>[INST]Which Grid has Laps of 24, and a Rider of marco melandri? Context: CREATE TABLE table_name_22 (grid INTEGER, laps VARCHAR, rider VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_22 WHERE laps = 24 AND rider = "marco melandri"</s> |
CREATE TABLE table_2233872_1 (l INTEGER, ga VARCHAR) | SELECT MIN(l) FROM table_2233872_1 WHERE ga = 272 | What was the minimum L if the GA is 272? | <s>[INST]What was the minimum L if the GA is 272? Context: CREATE TABLE table_2233872_1 (l INTEGER, ga VARCHAR)[/INST]SELECT MIN(l) FROM table_2233872_1 WHERE ga = 272</s> |
CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_86 WHERE date = "november 15" | What is the score when november 15 is the date? | <s>[INST]What is the score when november 15 is the date? Context: CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_86 WHERE date = "november 15"</s> |
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_33 WHERE date = "17 april 2013" | What is the score for 17 April 2013? | <s>[INST]What is the score for 17 April 2013? Context: CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_33 WHERE date = "17 april 2013"</s> |
CREATE TABLE table_name_40 (sport VARCHAR, country VARCHAR, year VARCHAR) | SELECT sport FROM table_name_40 WHERE country = "canada" AND year = 2004 | Name the sport for canada in 2004 | <s>[INST]Name the sport for canada in 2004 Context: CREATE TABLE table_name_40 (sport VARCHAR, country VARCHAR, year VARCHAR)[/INST]SELECT sport FROM table_name_40 WHERE country = "canada" AND year = 2004</s> |
CREATE TABLE table_name_61 (runner_up_skip VARCHAR, winning_skip VARCHAR) | SELECT runner_up_skip FROM table_name_61 WHERE winning_skip = "julie reddick" | What person was the runner-up skip when Julie Reddick was the winning skip? | <s>[INST]What person was the runner-up skip when Julie Reddick was the winning skip? Context: CREATE TABLE table_name_61 (runner_up_skip VARCHAR, winning_skip VARCHAR)[/INST]SELECT runner_up_skip FROM table_name_61 WHERE winning_skip = "julie reddick"</s> |
CREATE TABLE table_name_33 (silver VARCHAR, sport VARCHAR, gold VARCHAR) | SELECT COUNT(silver) FROM table_name_33 WHERE sport = "karate" AND gold > 2 | What is the total number of silver medals for karate athletes with over 2 golds? | <s>[INST]What is the total number of silver medals for karate athletes with over 2 golds? Context: CREATE TABLE table_name_33 (silver VARCHAR, sport VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_33 WHERE sport = "karate" AND gold > 2</s> |
CREATE TABLE people (Weight VARCHAR, Height VARCHAR) | SELECT Weight FROM people ORDER BY Height LIMIT 1 | What is the weight of the shortest person? | <s>[INST]What is the weight of the shortest person? Context: CREATE TABLE people (Weight VARCHAR, Height VARCHAR)[/INST]SELECT Weight FROM people ORDER BY Height LIMIT 1</s> |
CREATE TABLE table_1670921_1 (batting_team VARCHAR, wicket VARCHAR) | SELECT COUNT(batting_team) FROM table_1670921_1 WHERE wicket = "3rd" | How many teams are listed for 3rd wickets? | <s>[INST]How many teams are listed for 3rd wickets? Context: CREATE TABLE table_1670921_1 (batting_team VARCHAR, wicket VARCHAR)[/INST]SELECT COUNT(batting_team) FROM table_1670921_1 WHERE wicket = "3rd"</s> |
CREATE TABLE Courses (author_id VARCHAR); CREATE TABLE Course_Authors_and_Tutors (personal_name VARCHAR, family_name VARCHAR, author_id VARCHAR) | SELECT T1.personal_name, T1.family_name, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1 | Find the personal name, family name, and author ID of the course author that teaches the most courses. | <s>[INST]Find the personal name, family name, and author ID of the course author that teaches the most courses. Context: CREATE TABLE Courses (author_id VARCHAR); CREATE TABLE Course_Authors_and_Tutors (personal_name VARCHAR, family_name VARCHAR, author_id VARCHAR)[/INST]SELECT T1.personal_name, T1.family_name, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_20 (current_club VARCHAR, rank VARCHAR) | SELECT current_club FROM table_name_20 WHERE rank = 4 | Which Current Club has a Rank of 4? | <s>[INST]Which Current Club has a Rank of 4? Context: CREATE TABLE table_name_20 (current_club VARCHAR, rank VARCHAR)[/INST]SELECT current_club FROM table_name_20 WHERE rank = 4</s> |
CREATE TABLE table_name_76 (date INTEGER, score VARCHAR) | SELECT SUM(date) FROM table_name_76 WHERE score = "3β6, 6β4, 3β6, 6β1, 6β2" | On what Date was the Score of 3β6, 6β4, 3β6, 6β1, 6β2 | <s>[INST]On what Date was the Score of 3β6, 6β4, 3β6, 6β1, 6β2 Context: CREATE TABLE table_name_76 (date INTEGER, score VARCHAR)[/INST]SELECT SUM(date) FROM table_name_76 WHERE score = "3β6, 6β4, 3β6, 6β1, 6β2"</s> |
CREATE TABLE table_21636599_1 (insurgents VARCHAR, period VARCHAR) | SELECT COUNT(insurgents) FROM table_21636599_1 WHERE period = "2003" | How many insurgents have 2003 as a period? | <s>[INST]How many insurgents have 2003 as a period? Context: CREATE TABLE table_21636599_1 (insurgents VARCHAR, period VARCHAR)[/INST]SELECT COUNT(insurgents) FROM table_21636599_1 WHERE period = "2003"</s> |
CREATE TABLE table_name_23 (captain VARCHAR, year VARCHAR, guns VARCHAR) | SELECT captain FROM table_name_23 WHERE year = "1774" AND guns = "14" | Tell me the captain for 1774 and guns of 14 | <s>[INST]Tell me the captain for 1774 and guns of 14 Context: CREATE TABLE table_name_23 (captain VARCHAR, year VARCHAR, guns VARCHAR)[/INST]SELECT captain FROM table_name_23 WHERE year = "1774" AND guns = "14"</s> |
CREATE TABLE table_name_33 (starts INTEGER, cuts_made VARCHAR, top_10 VARCHAR) | SELECT AVG(starts) FROM table_name_33 WHERE cuts_made = 11 AND top_10 > 4 | What is the average number of starts when 11 cuts were made and the top 10 ranking is larger than 4? | <s>[INST]What is the average number of starts when 11 cuts were made and the top 10 ranking is larger than 4? Context: CREATE TABLE table_name_33 (starts INTEGER, cuts_made VARCHAR, top_10 VARCHAR)[/INST]SELECT AVG(starts) FROM table_name_33 WHERE cuts_made = 11 AND top_10 > 4</s> |
CREATE TABLE table_name_30 (place INTEGER, machine VARCHAR, speed VARCHAR) | SELECT SUM(place) FROM table_name_30 WHERE machine = "yamaha" AND speed = "89.85mph" | How many places have yamaha as the machine, and 89.85mph as the speed? | <s>[INST]How many places have yamaha as the machine, and 89.85mph as the speed? Context: CREATE TABLE table_name_30 (place INTEGER, machine VARCHAR, speed VARCHAR)[/INST]SELECT SUM(place) FROM table_name_30 WHERE machine = "yamaha" AND speed = "89.85mph"</s> |
CREATE TABLE table_19716903_1 (isolation VARCHAR, mountain_peak VARCHAR) | SELECT COUNT(isolation) FROM table_19716903_1 WHERE mountain_peak = "Jack Mountain" | How many different isolation numbers does the Jack Mountain peak have? | <s>[INST]How many different isolation numbers does the Jack Mountain peak have? Context: CREATE TABLE table_19716903_1 (isolation VARCHAR, mountain_peak VARCHAR)[/INST]SELECT COUNT(isolation) FROM table_19716903_1 WHERE mountain_peak = "Jack Mountain"</s> |
CREATE TABLE table_name_74 (remarks VARCHAR, airline VARCHAR) | SELECT remarks FROM table_name_74 WHERE airline = "dutch antilles express" | What were the remarks for Dutch Antilles Express? | <s>[INST]What were the remarks for Dutch Antilles Express? Context: CREATE TABLE table_name_74 (remarks VARCHAR, airline VARCHAR)[/INST]SELECT remarks FROM table_name_74 WHERE airline = "dutch antilles express"</s> |
CREATE TABLE table_name_22 (published_in VARCHAR, setting VARCHAR, publication_date VARCHAR) | SELECT published_in FROM table_name_22 WHERE setting = "mars" AND publication_date = "july 1934" | Name what was published in july 1934 with a setting of mars | <s>[INST]Name what was published in july 1934 with a setting of mars Context: CREATE TABLE table_name_22 (published_in VARCHAR, setting VARCHAR, publication_date VARCHAR)[/INST]SELECT published_in FROM table_name_22 WHERE setting = "mars" AND publication_date = "july 1934"</s> |
CREATE TABLE table_name_12 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT score_in_the_final FROM table_name_12 WHERE outcome = "winner" AND surface = "hard (i)" | Which Score in the final has an Outcome of winner, and a Surface of hard (i)? | <s>[INST]Which Score in the final has an Outcome of winner, and a Surface of hard (i)? Context: CREATE TABLE table_name_12 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_12 WHERE outcome = "winner" AND surface = "hard (i)"</s> |
CREATE TABLE table_22118197_1 (portuguese_title VARCHAR, english_title VARCHAR) | SELECT portuguese_title FROM table_22118197_1 WHERE english_title = "Belle Toujours" | What is the Portuguese name of the film who's English title is, Belle Toujours? | <s>[INST]What is the Portuguese name of the film who's English title is, Belle Toujours? Context: CREATE TABLE table_22118197_1 (portuguese_title VARCHAR, english_title VARCHAR)[/INST]SELECT portuguese_title FROM table_22118197_1 WHERE english_title = "Belle Toujours"</s> |
CREATE TABLE table_name_71 (year_of_release INTEGER, title VARCHAR) | SELECT MAX(year_of_release) FROM table_name_71 WHERE title = "greatest hits" | What was the latest year of release for the greatest hits title? | <s>[INST]What was the latest year of release for the greatest hits title? Context: CREATE TABLE table_name_71 (year_of_release INTEGER, title VARCHAR)[/INST]SELECT MAX(year_of_release) FROM table_name_71 WHERE title = "greatest hits"</s> |
CREATE TABLE table_name_25 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_25 WHERE venue = "mcg" | Who was the away team at mcg? | <s>[INST]Who was the away team at mcg? Context: CREATE TABLE table_name_25 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_25 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_43 (region_served VARCHAR, haat__analog__digital__1 VARCHAR) | SELECT region_served FROM table_name_43 WHERE haat__analog__digital__1 = "1176 m 1190 m" | Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1? | <s>[INST]Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1? Context: CREATE TABLE table_name_43 (region_served VARCHAR, haat__analog__digital__1 VARCHAR)[/INST]SELECT region_served FROM table_name_43 WHERE haat__analog__digital__1 = "1176 m 1190 m"</s> |
CREATE TABLE table_242785_3 (main_legion_base VARCHAR, date_disband VARCHAR) | SELECT main_legion_base FROM table_242785_3 WHERE date_disband = "70 XX" | What is the main legion base that disbanded 70 xx? | <s>[INST]What is the main legion base that disbanded 70 xx? Context: CREATE TABLE table_242785_3 (main_legion_base VARCHAR, date_disband VARCHAR)[/INST]SELECT main_legion_base FROM table_242785_3 WHERE date_disband = "70 XX"</s> |
CREATE TABLE table_10556257_1 (league_apps VARCHAR, season VARCHAR) | SELECT league_apps FROM table_10556257_1 WHERE season = "1923-24" | What is the league apps for season 1923-24? | <s>[INST]What is the league apps for season 1923-24? Context: CREATE TABLE table_10556257_1 (league_apps VARCHAR, season VARCHAR)[/INST]SELECT league_apps FROM table_10556257_1 WHERE season = "1923-24"</s> |
CREATE TABLE table_name_82 (website VARCHAR, founded VARCHAR, suburb_town VARCHAR) | SELECT website FROM table_name_82 WHERE founded < 1897 AND suburb_town = "adaminaby" | Which website was founded before 1897, and is located in Adaminaby? | <s>[INST]Which website was founded before 1897, and is located in Adaminaby? Context: CREATE TABLE table_name_82 (website VARCHAR, founded VARCHAR, suburb_town VARCHAR)[/INST]SELECT website FROM table_name_82 WHERE founded < 1897 AND suburb_town = "adaminaby"</s> |
CREATE TABLE table_name_43 (purpose VARCHAR, freq_currently VARCHAR) | SELECT purpose FROM table_name_43 WHERE freq_currently = "4rph" | What is the Purpose of the Callsign with a Freq currently of 4rph? | <s>[INST]What is the Purpose of the Callsign with a Freq currently of 4rph? Context: CREATE TABLE table_name_43 (purpose VARCHAR, freq_currently VARCHAR)[/INST]SELECT purpose FROM table_name_43 WHERE freq_currently = "4rph"</s> |
CREATE TABLE table_24222929_3 (original_airdate VARCHAR, episode_number_production_number VARCHAR) | SELECT original_airdate FROM table_24222929_3 WHERE episode_number_production_number = "4 1-04" | When did the fourth episode of the season (4 1-04) first air? | <s>[INST]When did the fourth episode of the season (4 1-04) first air? Context: CREATE TABLE table_24222929_3 (original_airdate VARCHAR, episode_number_production_number VARCHAR)[/INST]SELECT original_airdate FROM table_24222929_3 WHERE episode_number_production_number = "4 1-04"</s> |
CREATE TABLE table_2135222_2 (area VARCHAR, population VARCHAR) | SELECT COUNT(area) FROM table_2135222_2 WHERE population = 703379 | How many areas have a population of 703379? | <s>[INST]How many areas have a population of 703379? Context: CREATE TABLE table_2135222_2 (area VARCHAR, population VARCHAR)[/INST]SELECT COUNT(area) FROM table_2135222_2 WHERE population = 703379</s> |
CREATE TABLE table_26401898_2 (week INTEGER, final_score VARCHAR) | SELECT MIN(week) FROM table_26401898_2 WHERE final_score = "L 26β42" | Name the least week for l 26β42 | <s>[INST]Name the least week for l 26β42 Context: CREATE TABLE table_26401898_2 (week INTEGER, final_score VARCHAR)[/INST]SELECT MIN(week) FROM table_26401898_2 WHERE final_score = "L 26β42"</s> |
CREATE TABLE table_name_56 (winner VARCHAR, tournament VARCHAR) | SELECT winner FROM table_name_56 WHERE tournament = "graz-seiersberg" | Who was the winner in the Tournament of Graz-Seiersberg? | <s>[INST]Who was the winner in the Tournament of Graz-Seiersberg? Context: CREATE TABLE table_name_56 (winner VARCHAR, tournament VARCHAR)[/INST]SELECT winner FROM table_name_56 WHERE tournament = "graz-seiersberg"</s> |
CREATE TABLE table_10021158_3 (scoring_average VARCHAR, money_list_rank VARCHAR) | SELECT scoring_average FROM table_10021158_3 WHERE money_list_rank = "n/a" | When the money list rank was n/a, what was the scoring average? | <s>[INST]When the money list rank was n/a, what was the scoring average? Context: CREATE TABLE table_10021158_3 (scoring_average VARCHAR, money_list_rank VARCHAR)[/INST]SELECT scoring_average FROM table_10021158_3 WHERE money_list_rank = "n/a"</s> |
CREATE TABLE table_176529_2 (status VARCHAR, official_name VARCHAR) | SELECT COUNT(status) FROM table_176529_2 WHERE official_name = "Moncton" | How many status are there for Moncton? | <s>[INST]How many status are there for Moncton? Context: CREATE TABLE table_176529_2 (status VARCHAR, official_name VARCHAR)[/INST]SELECT COUNT(status) FROM table_176529_2 WHERE official_name = "Moncton"</s> |
CREATE TABLE table_name_66 (roll VARCHAR, authority VARCHAR, decile VARCHAR) | SELECT roll FROM table_name_66 WHERE authority = "state" AND decile > 1 | When a school has authority of state and a decile greater than 1, what is the roll number? | <s>[INST]When a school has authority of state and a decile greater than 1, what is the roll number? Context: CREATE TABLE table_name_66 (roll VARCHAR, authority VARCHAR, decile VARCHAR)[/INST]SELECT roll FROM table_name_66 WHERE authority = "state" AND decile > 1</s> |
CREATE TABLE table_name_84 (chinese__traditional_ VARCHAR, english_title VARCHAR) | SELECT chinese__traditional_ FROM table_name_84 WHERE english_title = "beautiful" | What is the traditional Chinese name for the record Beautiful? | <s>[INST]What is the traditional Chinese name for the record Beautiful? Context: CREATE TABLE table_name_84 (chinese__traditional_ VARCHAR, english_title VARCHAR)[/INST]SELECT chinese__traditional_ FROM table_name_84 WHERE english_title = "beautiful"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.