context
stringlengths 27
489
| answer
stringlengths 18
557
| question
stringlengths 12
243
| text
stringlengths 103
1.05k
|
---|---|---|---|
CREATE TABLE table_name_54 (m939_series VARCHAR, m809_series VARCHAR, m39_series VARCHAR) | SELECT m939_series FROM table_name_54 WHERE m809_series = "m817" AND m39_series = "m51" | Name the M939 series with M809 series of m817 and M39 series of m51 | <s>[INST]Name the M939 series with M809 series of m817 and M39 series of m51 Context: CREATE TABLE table_name_54 (m939_series VARCHAR, m809_series VARCHAR, m39_series VARCHAR)[/INST]SELECT m939_series FROM table_name_54 WHERE m809_series = "m817" AND m39_series = "m51"</s> |
CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR) | SELECT player FROM table_name_89 WHERE team = "oakland raiders" | What is the player when the team is oakland raiders? | <s>[INST]What is the player when the team is oakland raiders? Context: CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_name_89 WHERE team = "oakland raiders"</s> |
CREATE TABLE table_name_49 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_49 WHERE team_2 = "barcelona" | What is the 2nd leg for Barcelona Team 2? | <s>[INST]What is the 2nd leg for Barcelona Team 2? Context: CREATE TABLE table_name_49 (team_2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_49 WHERE team_2 = "barcelona"</s> |
CREATE TABLE table_name_39 (result VARCHAR, team VARCHAR) | SELECT result FROM table_name_39 WHERE team = "giants" | I want the result for team of giants | <s>[INST]I want the result for team of giants Context: CREATE TABLE table_name_39 (result VARCHAR, team VARCHAR)[/INST]SELECT result FROM table_name_39 WHERE team = "giants"</s> |
CREATE TABLE table_name_90 (round INTEGER, position VARCHAR) | SELECT AVG(round) FROM table_name_90 WHERE position = "rb" | What's the average round the position of RB was drafted? | <s>[INST]What's the average round the position of RB was drafted? Context: CREATE TABLE table_name_90 (round INTEGER, position VARCHAR)[/INST]SELECT AVG(round) FROM table_name_90 WHERE position = "rb"</s> |
CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR) | SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train) | List the object number of railways that do not have any trains. | <s>[INST]List the object number of railways that do not have any trains. Context: CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)[/INST]SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train)</s> |
CREATE TABLE table_name_73 (position VARCHAR, points VARCHAR, goals_for VARCHAR) | SELECT COUNT(position) FROM table_name_73 WHERE points = "30-8" AND goals_for > 25 | How many positions have Points of 30-8 and more than 25 goals? | <s>[INST]How many positions have Points of 30-8 and more than 25 goals? Context: CREATE TABLE table_name_73 (position VARCHAR, points VARCHAR, goals_for VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_73 WHERE points = "30-8" AND goals_for > 25</s> |
CREATE TABLE weather (zip_code VARCHAR, mean_visibility_miles INTEGER) | SELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 10 | Find the zip code in which the average mean visibility is lower than 10. | <s>[INST]Find the zip code in which the average mean visibility is lower than 10. Context: CREATE TABLE weather (zip_code VARCHAR, mean_visibility_miles INTEGER)[/INST]SELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 10</s> |
CREATE TABLE table_name_7 (singles_w_l VARCHAR, years_played VARCHAR, highest_singles_ranking VARCHAR) | SELECT singles_w_l FROM table_name_7 WHERE years_played > 1 AND highest_singles_ranking = "1346" | Tell me singles W-L that has years larger than 1 and highest singles ranking of 1346 | <s>[INST]Tell me singles W-L that has years larger than 1 and highest singles ranking of 1346 Context: CREATE TABLE table_name_7 (singles_w_l VARCHAR, years_played VARCHAR, highest_singles_ranking VARCHAR)[/INST]SELECT singles_w_l FROM table_name_7 WHERE years_played > 1 AND highest_singles_ranking = "1346"</s> |
CREATE TABLE table_name_81 (score VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) | SELECT score FROM table_name_81 WHERE visitor = "bucks" AND leading_scorer = "maurice williams (25)" | What is the Score with a Visitor of bucks, and a Leading scorer with maurice williams (25)? | <s>[INST]What is the Score with a Visitor of bucks, and a Leading scorer with maurice williams (25)? Context: CREATE TABLE table_name_81 (score VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE visitor = "bucks" AND leading_scorer = "maurice williams (25)"</s> |
CREATE TABLE table_name_27 (club VARCHAR, nation VARCHAR) | SELECT club FROM table_name_27 WHERE nation = "great britain" | Which club was from Great Britain? | <s>[INST]Which club was from Great Britain? Context: CREATE TABLE table_name_27 (club VARCHAR, nation VARCHAR)[/INST]SELECT club FROM table_name_27 WHERE nation = "great britain"</s> |
CREATE TABLE table_2668336_19 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_2668336_19 WHERE result = "Retired Democratic-Republican hold" AND first_elected = "1816" | Who were the incumbent(s) when the result was a retired democratic-republican hold and the first elected representative was in 1816> | <s>[INST]Who were the incumbent(s) when the result was a retired democratic-republican hold and the first elected representative was in 1816> Context: CREATE TABLE table_2668336_19 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_2668336_19 WHERE result = "Retired Democratic-Republican hold" AND first_elected = "1816"</s> |
CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR) | SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26 | What was the final result when the Mountaineers scored less than 13 and their opponents scored 26? | <s>[INST]What was the final result when the Mountaineers scored less than 13 and their opponents scored 26? Context: CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR)[/INST]SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26</s> |
CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR) | SELECT nickname FROM table_262508_1 WHERE institution = "Concordia University, Nebraska" | What is the nickname of the institution from Concordia University, Nebraska? | <s>[INST]What is the nickname of the institution from Concordia University, Nebraska? Context: CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR)[/INST]SELECT nickname FROM table_262508_1 WHERE institution = "Concordia University, Nebraska"</s> |
CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR) | SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)" | Which name is 51.89 (2.043) long? | <s>[INST]Which name is 51.89 (2.043) long? Context: CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR)[/INST]SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)"</s> |
CREATE TABLE table_17058226_5 (team VARCHAR, high_assists VARCHAR) | SELECT team FROM table_17058226_5 WHERE high_assists = "Sebastian Telfair (7)" | What opposing team was playing when sebastian telfair (7) had the highest assists? | <s>[INST]What opposing team was playing when sebastian telfair (7) had the highest assists? Context: CREATE TABLE table_17058226_5 (team VARCHAR, high_assists VARCHAR)[/INST]SELECT team FROM table_17058226_5 WHERE high_assists = "Sebastian Telfair (7)"</s> |
CREATE TABLE table_12043148_2 (premier_two VARCHAR, gloucestershire VARCHAR) | SELECT COUNT(premier_two) FROM table_12043148_2 WHERE gloucestershire = "Painswick" | who many times is gloucestershire is painswick? | <s>[INST]who many times is gloucestershire is painswick? Context: CREATE TABLE table_12043148_2 (premier_two VARCHAR, gloucestershire VARCHAR)[/INST]SELECT COUNT(premier_two) FROM table_12043148_2 WHERE gloucestershire = "Painswick"</s> |
CREATE TABLE table_2387790_2 (avg_start VARCHAR, avg_finish VARCHAR) | SELECT COUNT(avg_start) FROM table_2387790_2 WHERE avg_finish = "11.7" | How many years did he have an average finish of 11.7? | <s>[INST]How many years did he have an average finish of 11.7? Context: CREATE TABLE table_2387790_2 (avg_start VARCHAR, avg_finish VARCHAR)[/INST]SELECT COUNT(avg_start) FROM table_2387790_2 WHERE avg_finish = "11.7"</s> |
CREATE TABLE table_name_96 (career_sr VARCHAR) | SELECT 2011 FROM table_name_96 WHERE 1999 = "a" AND 2004 = "2r" AND career_sr = "0 / 10" | Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10? | <s>[INST]Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10? Context: CREATE TABLE table_name_96 (career_sr VARCHAR)[/INST]SELECT 2011 FROM table_name_96 WHERE 1999 = "a" AND 2004 = "2r" AND career_sr = "0 / 10"</s> |
CREATE TABLE table_name_72 (league VARCHAR, avg_attendance_† VARCHAR) | SELECT league FROM table_name_72 WHERE avg_attendance_† = "244" | What league has an average attendance of 244? | <s>[INST]What league has an average attendance of 244? Context: CREATE TABLE table_name_72 (league VARCHAR, avg_attendance_† VARCHAR)[/INST]SELECT league FROM table_name_72 WHERE avg_attendance_† = "244"</s> |
CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR) | SELECT champion FROM table_name_52 WHERE year = "2000" | Name the champion for 2000 | <s>[INST]Name the champion for 2000 Context: CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR)[/INST]SELECT champion FROM table_name_52 WHERE year = "2000"</s> |
CREATE TABLE table_name_79 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR) | SELECT MAX(goals_against) FROM table_name_79 WHERE wins = 19 AND goals_for > 53 | Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53? | <s>[INST]Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53? Context: CREATE TABLE table_name_79 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR)[/INST]SELECT MAX(goals_against) FROM table_name_79 WHERE wins = 19 AND goals_for > 53</s> |
CREATE TABLE table_name_96 (reported_offenses INTEGER, killeen_rate VARCHAR, texas_rate VARCHAR) | SELECT MIN(reported_offenses) FROM table_name_96 WHERE killeen_rate = 511.6 AND texas_rate < 314.4 | Killeen Rate of 511.6, and a Texas Rate smaller than 314.4 is the lowest reported offenses? | <s>[INST]Killeen Rate of 511.6, and a Texas Rate smaller than 314.4 is the lowest reported offenses? Context: CREATE TABLE table_name_96 (reported_offenses INTEGER, killeen_rate VARCHAR, texas_rate VARCHAR)[/INST]SELECT MIN(reported_offenses) FROM table_name_96 WHERE killeen_rate = 511.6 AND texas_rate < 314.4</s> |
CREATE TABLE table_name_92 (election VARCHAR) | SELECT 1 AS st_party FROM table_name_92 WHERE election = "1865" | Which 1st Party has an election in 1865? | <s>[INST]Which 1st Party has an election in 1865? Context: CREATE TABLE table_name_92 (election VARCHAR)[/INST]SELECT 1 AS st_party FROM table_name_92 WHERE election = "1865"</s> |
CREATE TABLE table_name_6 (first_elected VARCHAR, member VARCHAR) | SELECT first_elected FROM table_name_6 WHERE member = "john armitage" | What is the year First elected when the Member is John Armitage? | <s>[INST]What is the year First elected when the Member is John Armitage? Context: CREATE TABLE table_name_6 (first_elected VARCHAR, member VARCHAR)[/INST]SELECT first_elected FROM table_name_6 WHERE member = "john armitage"</s> |
CREATE TABLE table_15187735_5 (segment_a VARCHAR, segment_c VARCHAR) | SELECT segment_a FROM table_15187735_5 WHERE segment_c = "Cardboard Boxes" | When cardboard boxes is segment c what is segment a? | <s>[INST]When cardboard boxes is segment c what is segment a? Context: CREATE TABLE table_15187735_5 (segment_a VARCHAR, segment_c VARCHAR)[/INST]SELECT segment_a FROM table_15187735_5 WHERE segment_c = "Cardboard Boxes"</s> |
CREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR) | SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–6" | What Date has a Score in the final of 3–6, 2–6, 4–6? | <s>[INST]What Date has a Score in the final of 3–6, 2–6, 4–6? Context: CREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–6"</s> |
CREATE TABLE table_name_64 (la_crescenta__montrose VARCHAR, glendale VARCHAR) | SELECT la_crescenta__montrose FROM table_name_64 WHERE glendale = "$57,112" | What is the figure for La Crescenta-Montrose when Gelndale is $57,112? | <s>[INST]What is the figure for La Crescenta-Montrose when Gelndale is $57,112? Context: CREATE TABLE table_name_64 (la_crescenta__montrose VARCHAR, glendale VARCHAR)[/INST]SELECT la_crescenta__montrose FROM table_name_64 WHERE glendale = "$57,112"</s> |
CREATE TABLE performance (Location VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR) | SELECT T2.Name, T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID ORDER BY T2.Name | Show the names of members and the location of performances they attended in ascending alphabetical order of their names. | <s>[INST]Show the names of members and the location of performances they attended in ascending alphabetical order of their names. Context: CREATE TABLE performance (Location VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR)[/INST]SELECT T2.Name, T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID ORDER BY T2.Name</s> |
CREATE TABLE table_name_62 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_62 WHERE venue = "vasil levski national stadium, sofia" | What score does Vasil Levski National Stadium, Sofia earn? | <s>[INST]What score does Vasil Levski National Stadium, Sofia earn? Context: CREATE TABLE table_name_62 (score VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_62 WHERE venue = "vasil levski national stadium, sofia"</s> |
CREATE TABLE table_name_90 (rank__number VARCHAR, attendance VARCHAR) | SELECT rank__number FROM table_name_90 WHERE attendance = "68,586" | What rank were the Buckeyes when there were 68,586 in attendance? | <s>[INST]What rank were the Buckeyes when there were 68,586 in attendance? Context: CREATE TABLE table_name_90 (rank__number VARCHAR, attendance VARCHAR)[/INST]SELECT rank__number FROM table_name_90 WHERE attendance = "68,586"</s> |
CREATE TABLE table_name_13 (total VARCHAR, player VARCHAR, to_par VARCHAR, finish VARCHAR) | SELECT total FROM table_name_13 WHERE to_par < 14 AND finish = "t12" AND player = "julius boros" | What is the Total, when To Par is less than 14, when Finish is T12, and when Player is "Julius Boros"? | <s>[INST]What is the Total, when To Par is less than 14, when Finish is T12, and when Player is "Julius Boros"? Context: CREATE TABLE table_name_13 (total VARCHAR, player VARCHAR, to_par VARCHAR, finish VARCHAR)[/INST]SELECT total FROM table_name_13 WHERE to_par < 14 AND finish = "t12" AND player = "julius boros"</s> |
CREATE TABLE table_19730892_1 (position VARCHAR, name VARCHAR) | SELECT position FROM table_19730892_1 WHERE name = "Billy Price" | Name the position for billy price | <s>[INST]Name the position for billy price Context: CREATE TABLE table_19730892_1 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_19730892_1 WHERE name = "Billy Price"</s> |
CREATE TABLE table_1289860_2 (hometown VARCHAR, candidate VARCHAR) | SELECT hometown FROM table_1289860_2 WHERE candidate = "Kristen Kirchner" | Where was Kristen Kirchner from? | <s>[INST]Where was Kristen Kirchner from? Context: CREATE TABLE table_1289860_2 (hometown VARCHAR, candidate VARCHAR)[/INST]SELECT hometown FROM table_1289860_2 WHERE candidate = "Kristen Kirchner"</s> |
CREATE TABLE table_15081939_4 (swimsuit VARCHAR, evening_gown VARCHAR) | SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61" | What is the swimsuit score for the item that has 7.61 as evening gown | <s>[INST]What is the swimsuit score for the item that has 7.61 as evening gown Context: CREATE TABLE table_15081939_4 (swimsuit VARCHAR, evening_gown VARCHAR)[/INST]SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61"</s> |
CREATE TABLE table_26131768_4 (term_limited VARCHAR, representative VARCHAR) | SELECT term_limited FROM table_26131768_4 WHERE representative = "Dave Hall" | If the representative is Dave Hall, when was the term limited? | <s>[INST]If the representative is Dave Hall, when was the term limited? Context: CREATE TABLE table_26131768_4 (term_limited VARCHAR, representative VARCHAR)[/INST]SELECT term_limited FROM table_26131768_4 WHERE representative = "Dave Hall"</s> |
CREATE TABLE table_29087004_2 (series__number INTEGER, united_states_original_airdate VARCHAR) | SELECT MAX(series__number) FROM table_29087004_2 WHERE united_states_original_airdate = "December 24, 2010" | What number episode in the series had and original United States air date of December 24, 2010? | <s>[INST]What number episode in the series had and original United States air date of December 24, 2010? Context: CREATE TABLE table_29087004_2 (series__number INTEGER, united_states_original_airdate VARCHAR)[/INST]SELECT MAX(series__number) FROM table_29087004_2 WHERE united_states_original_airdate = "December 24, 2010"</s> |
CREATE TABLE table_name_91 (match VARCHAR, opponent VARCHAR) | SELECT match FROM table_name_91 WHERE opponent = "bishop's stortford" | What was the match that happened in Bishop's Stortford? | <s>[INST]What was the match that happened in Bishop's Stortford? Context: CREATE TABLE table_name_91 (match VARCHAR, opponent VARCHAR)[/INST]SELECT match FROM table_name_91 WHERE opponent = "bishop's stortford"</s> |
CREATE TABLE table_21091157_1 (game INTEGER) | SELECT MAX(game) FROM table_21091157_1 | Name the most game | <s>[INST]Name the most game Context: CREATE TABLE table_21091157_1 (game INTEGER)[/INST]SELECT MAX(game) FROM table_21091157_1</s> |
CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR) | SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia" | Who was the home team in the game with more than 1675, and Olimpia was the away side? | <s>[INST]Who was the home team in the game with more than 1675, and Olimpia was the away side? Context: CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR)[/INST]SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia"</s> |
CREATE TABLE table_name_31 (year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR) | SELECT MAX(year_of_disaffiliation) FROM table_name_31 WHERE station = "chch-tv" AND year_of_affiliation > 2001 | What is the most recent year of disaffiliation of a CHCH-TV station that affiliated after 2001? | <s>[INST]What is the most recent year of disaffiliation of a CHCH-TV station that affiliated after 2001? Context: CREATE TABLE table_name_31 (year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR)[/INST]SELECT MAX(year_of_disaffiliation) FROM table_name_31 WHERE station = "chch-tv" AND year_of_affiliation > 2001</s> |
CREATE TABLE table_name_67 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_67 WHERE away_team = "collingwood" | What was the largest crowd when Collingwood was the away team? | <s>[INST]What was the largest crowd when Collingwood was the away team? Context: CREATE TABLE table_name_67 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_67 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_17060277_10 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_17060277_10 WHERE date = "April 12" | Who did the high points in the game played on April 12? | <s>[INST]Who did the high points in the game played on April 12? Context: CREATE TABLE table_17060277_10 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_17060277_10 WHERE date = "April 12"</s> |
CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR) | SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "$126,796" | The person who had $126,796 WSOP earnings had how many WSOP cashes? | <s>[INST]The person who had $126,796 WSOP earnings had how many WSOP cashes? Context: CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)[/INST]SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "$126,796"</s> |
CREATE TABLE table_name_25 (team_1 VARCHAR) | SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = "fc nantes (d1)" | What is the 1st round with fc nantes (d1) as team 1? | <s>[INST]What is the 1st round with fc nantes (d1) as team 1? Context: CREATE TABLE table_name_25 (team_1 VARCHAR)[/INST]SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = "fc nantes (d1)"</s> |
CREATE TABLE table_1342218_11 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342218_11 WHERE incumbent = "James C. Davis" | What district does incumbent james c. davis represent? | <s>[INST]What district does incumbent james c. davis represent? Context: CREATE TABLE table_1342218_11 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342218_11 WHERE incumbent = "James C. Davis"</s> |
CREATE TABLE table_name_91 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_name_91 WHERE game = "14" | What Location Attendance has a Game of 14? | <s>[INST]What Location Attendance has a Game of 14? Context: CREATE TABLE table_name_91 (location_attendance VARCHAR, game VARCHAR)[/INST]SELECT location_attendance FROM table_name_91 WHERE game = "14"</s> |
CREATE TABLE table_name_31 (score VARCHAR, year VARCHAR, champion VARCHAR) | SELECT score FROM table_name_31 WHERE year > 1974 AND champion = "hawthorn" | What score has a year later than 1974, with hawthorn as the champion? | <s>[INST]What score has a year later than 1974, with hawthorn as the champion? Context: CREATE TABLE table_name_31 (score VARCHAR, year VARCHAR, champion VARCHAR)[/INST]SELECT score FROM table_name_31 WHERE year > 1974 AND champion = "hawthorn"</s> |
CREATE TABLE table_name_52 (famous_for VARCHAR, finished VARCHAR) | SELECT famous_for FROM table_name_52 WHERE finished = "9th" | Which celebrity was famous for finishing 9th? | <s>[INST]Which celebrity was famous for finishing 9th? Context: CREATE TABLE table_name_52 (famous_for VARCHAR, finished VARCHAR)[/INST]SELECT famous_for FROM table_name_52 WHERE finished = "9th"</s> |
CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_1 WHERE home = "lakers" | What is the date when the Lakers were the home team? | <s>[INST]What is the date when the Lakers were the home team? Context: CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_1 WHERE home = "lakers"</s> |
CREATE TABLE table_1637041_2 (avg_start VARCHAR, position VARCHAR) | SELECT COUNT(avg_start) FROM table_1637041_2 WHERE position = "59th" | How many years did he finish in 59th? | <s>[INST]How many years did he finish in 59th? Context: CREATE TABLE table_1637041_2 (avg_start VARCHAR, position VARCHAR)[/INST]SELECT COUNT(avg_start) FROM table_1637041_2 WHERE position = "59th"</s> |
CREATE TABLE table_14009909_1 (first_elected VARCHAR, committee VARCHAR) | SELECT COUNT(first_elected) FROM table_14009909_1 WHERE committee = "Economic Matters" | How many of the elected officials are on the Economic Matters committee? | <s>[INST]How many of the elected officials are on the Economic Matters committee? Context: CREATE TABLE table_14009909_1 (first_elected VARCHAR, committee VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_14009909_1 WHERE committee = "Economic Matters"</s> |
CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (color_code VARCHAR) | SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code GROUP BY t2.color_description ORDER BY COUNT(*) LIMIT 1 | What is the description of the color used by least products? | <s>[INST]What is the description of the color used by least products? Context: CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (color_code VARCHAR)[/INST]SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code GROUP BY t2.color_description ORDER BY COUNT(*) LIMIT 1</s> |
CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_86 WHERE score = "7–5, 7–6 (8–6)" | who is the opponent when the score is 7–5, 7–6 (8–6)? | <s>[INST]who is the opponent when the score is 7–5, 7–6 (8–6)? Context: CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_86 WHERE score = "7–5, 7–6 (8–6)"</s> |
CREATE TABLE table_name_60 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR) | SELECT status FROM table_name_60 WHERE area_km_2 > 5.2 AND census_ranking = "2,531 of 5,008" | What is the status of the community that has an area larger than 5.2 sq km, and a Census Ranking of 2,531 of 5,008? | <s>[INST]What is the status of the community that has an area larger than 5.2 sq km, and a Census Ranking of 2,531 of 5,008? Context: CREATE TABLE table_name_60 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR)[/INST]SELECT status FROM table_name_60 WHERE area_km_2 > 5.2 AND census_ranking = "2,531 of 5,008"</s> |
CREATE TABLE table_name_60 (bronze VARCHAR, notes VARCHAR) | SELECT bronze FROM table_name_60 WHERE notes = "2.5km, 14controls" | Who won Bronze with notes of 2.5km, 14controls? | <s>[INST]Who won Bronze with notes of 2.5km, 14controls? Context: CREATE TABLE table_name_60 (bronze VARCHAR, notes VARCHAR)[/INST]SELECT bronze FROM table_name_60 WHERE notes = "2.5km, 14controls"</s> |
CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_date VARCHAR, artist VARCHAR) | SELECT catalogue_number FROM table_27932399_1 WHERE release_date = 2005 AND artist = "The Clear Spots" | What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots? | <s>[INST]What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots? Context: CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_date VARCHAR, artist VARCHAR)[/INST]SELECT catalogue_number FROM table_27932399_1 WHERE release_date = 2005 AND artist = "The Clear Spots"</s> |
CREATE TABLE table_name_94 (time VARCHAR, epicenter VARCHAR) | SELECT time FROM table_name_94 WHERE epicenter = "bam" | What is the Time when the Epicenter was Bam? | <s>[INST]What is the Time when the Epicenter was Bam? Context: CREATE TABLE table_name_94 (time VARCHAR, epicenter VARCHAR)[/INST]SELECT time FROM table_name_94 WHERE epicenter = "bam"</s> |
CREATE TABLE table_name_61 (total VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT COUNT(total) FROM table_name_61 WHERE bronze < 1 AND silver < 1 AND gold < 1 | What is the total number of medals when the Bronze, Silver, and Gold medals are smaller than 1? | <s>[INST]What is the total number of medals when the Bronze, Silver, and Gold medals are smaller than 1? Context: CREATE TABLE table_name_61 (total VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_61 WHERE bronze < 1 AND silver < 1 AND gold < 1</s> |
CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR) | SELECT MAX(league_apps__sub_) FROM table_1112176_1 WHERE total_goals = 11 | When total goals is 11 what was the league apps (sub)? | <s>[INST]When total goals is 11 what was the league apps (sub)? Context: CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR)[/INST]SELECT MAX(league_apps__sub_) FROM table_1112176_1 WHERE total_goals = 11</s> |
CREATE TABLE table_name_29 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_29 WHERE away_team = "carlton" | What did the away team Carlton score? | <s>[INST]What did the away team Carlton score? Context: CREATE TABLE table_name_29 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_29 WHERE away_team = "carlton"</s> |
CREATE TABLE table_17156199_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | SELECT film_title_used_in_nomination FROM table_17156199_1 WHERE original_title = "শ্যামল ছায়া (Shyamol Chhaya)" | What was the nominated film title of শ্যামল ছায়া (shyamol chhaya)? | <s>[INST]What was the nominated film title of শ্যামল ছায়া (shyamol chhaya)? Context: CREATE TABLE table_17156199_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_17156199_1 WHERE original_title = "শ্যামল ছায়া (Shyamol Chhaya)"</s> |
CREATE TABLE table_24132054_1 (directed_by VARCHAR, no_in_series VARCHAR) | SELECT directed_by FROM table_24132054_1 WHERE no_in_series = 28 | Who directed episode 28 in the series? | <s>[INST]Who directed episode 28 in the series? Context: CREATE TABLE table_24132054_1 (directed_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT directed_by FROM table_24132054_1 WHERE no_in_series = 28</s> |
CREATE TABLE table_name_75 (high_rebounds VARCHAR, location VARCHAR, record VARCHAR) | SELECT high_rebounds FROM table_name_75 WHERE location = "mohegan sun arena" AND record = "24-7" | Who had the most rebounds in the game at the Mohegan Sun Arena that led to a 24-7 record? | <s>[INST]Who had the most rebounds in the game at the Mohegan Sun Arena that led to a 24-7 record? Context: CREATE TABLE table_name_75 (high_rebounds VARCHAR, location VARCHAR, record VARCHAR)[/INST]SELECT high_rebounds FROM table_name_75 WHERE location = "mohegan sun arena" AND record = "24-7"</s> |
CREATE TABLE table_name_57 (grid INTEGER, driver VARCHAR) | SELECT AVG(grid) FROM table_name_57 WHERE driver = "jo siffert" | What is the average grid for jo siffert? | <s>[INST]What is the average grid for jo siffert? Context: CREATE TABLE table_name_57 (grid INTEGER, driver VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_57 WHERE driver = "jo siffert"</s> |
CREATE TABLE table_name_88 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_88 WHERE home_team = "altrincham" | What is the number of ties when Altrincham is the home team? | <s>[INST]What is the number of ties when Altrincham is the home team? Context: CREATE TABLE table_name_88 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_88 WHERE home_team = "altrincham"</s> |
CREATE TABLE table_11960944_4 (date VARCHAR, team VARCHAR) | SELECT date FROM table_11960944_4 WHERE team = "@ Memphis" | Which date was the team playing @ Memphis? | <s>[INST]Which date was the team playing @ Memphis? Context: CREATE TABLE table_11960944_4 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_11960944_4 WHERE team = "@ Memphis"</s> |
CREATE TABLE table_name_20 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_20 WHERE date = "may 29" | Name the loss on may 29 | <s>[INST]Name the loss on may 29 Context: CREATE TABLE table_name_20 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_20 WHERE date = "may 29"</s> |
CREATE TABLE table_name_53 (tournament VARCHAR) | SELECT 2009 FROM table_name_53 WHERE tournament = "cincinnati" | What tournament what held in Cincinnati in 2009? | <s>[INST]What tournament what held in Cincinnati in 2009? Context: CREATE TABLE table_name_53 (tournament VARCHAR)[/INST]SELECT 2009 FROM table_name_53 WHERE tournament = "cincinnati"</s> |
CREATE TABLE table_name_1 (catalog VARCHAR, date VARCHAR, format VARCHAR, label VARCHAR) | SELECT catalog FROM table_name_1 WHERE format = "ed remaster cd" AND label = "village records" AND date = "march 13, 2002" | What is the Catalog when the format is ed remaster cd, and a Label of village records, and a Date of march 13, 2002? | <s>[INST]What is the Catalog when the format is ed remaster cd, and a Label of village records, and a Date of march 13, 2002? Context: CREATE TABLE table_name_1 (catalog VARCHAR, date VARCHAR, format VARCHAR, label VARCHAR)[/INST]SELECT catalog FROM table_name_1 WHERE format = "ed remaster cd" AND label = "village records" AND date = "march 13, 2002"</s> |
CREATE TABLE table_name_78 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_78 WHERE home_team = "southern" | What is the score for the southern home team? | <s>[INST]What is the score for the southern home team? Context: CREATE TABLE table_name_78 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_78 WHERE home_team = "southern"</s> |
CREATE TABLE table_name_73 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_73 WHERE total = "154" | What is Player, when Total is "154"? | <s>[INST]What is Player, when Total is "154"? Context: CREATE TABLE table_name_73 (player VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_73 WHERE total = "154"</s> |
CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR) | SELECT SUM(gold) FROM table_name_37 WHERE nation = "mongolia" AND total > 18 | How much Gold has a Nation of mongolia, and a Total larger than 18? | <s>[INST]How much Gold has a Nation of mongolia, and a Total larger than 18? Context: CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_37 WHERE nation = "mongolia" AND total > 18</s> |
CREATE TABLE table_2610582_3 (branding VARCHAR, callsign VARCHAR) | SELECT branding FROM table_2610582_3 WHERE callsign = "DWBA-TV" | What is the branding of the callsign DWBA-TV? | <s>[INST]What is the branding of the callsign DWBA-TV? Context: CREATE TABLE table_2610582_3 (branding VARCHAR, callsign VARCHAR)[/INST]SELECT branding FROM table_2610582_3 WHERE callsign = "DWBA-TV"</s> |
CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR) | SELECT SUM(laps) FROM table_name_20 WHERE driver = "derek warwick" | What is the sum of laps for Derek Warwick? | <s>[INST]What is the sum of laps for Derek Warwick? Context: CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_20 WHERE driver = "derek warwick"</s> |
CREATE TABLE table_23018775_3 (avg_speed VARCHAR, total_time VARCHAR) | SELECT avg_speed FROM table_23018775_3 WHERE total_time = "1:30.4842" | What was the average speed where the total time was 1:30.4842? | <s>[INST]What was the average speed where the total time was 1:30.4842? Context: CREATE TABLE table_23018775_3 (avg_speed VARCHAR, total_time VARCHAR)[/INST]SELECT avg_speed FROM table_23018775_3 WHERE total_time = "1:30.4842"</s> |
CREATE TABLE table_name_71 (host_team VARCHAR, visiting_team VARCHAR) | SELECT host_team FROM table_name_71 WHERE visiting_team = "indianapolis colts" | What is the Host team that has indianapolis colts as a Visiting team? | <s>[INST]What is the Host team that has indianapolis colts as a Visiting team? Context: CREATE TABLE table_name_71 (host_team VARCHAR, visiting_team VARCHAR)[/INST]SELECT host_team FROM table_name_71 WHERE visiting_team = "indianapolis colts"</s> |
CREATE TABLE table_name_52 (class VARCHAR, rank VARCHAR) | SELECT class FROM table_name_52 WHERE rank = "2nd" | Which class had a rank of 2nd? | <s>[INST]Which class had a rank of 2nd? Context: CREATE TABLE table_name_52 (class VARCHAR, rank VARCHAR)[/INST]SELECT class FROM table_name_52 WHERE rank = "2nd"</s> |
CREATE TABLE table_12828723_5 (played VARCHAR, club VARCHAR) | SELECT played FROM table_12828723_5 WHERE club = "Tumble RFC" | What was the played with club tumble rfc? | <s>[INST]What was the played with club tumble rfc? Context: CREATE TABLE table_12828723_5 (played VARCHAR, club VARCHAR)[/INST]SELECT played FROM table_12828723_5 WHERE club = "Tumble RFC"</s> |
CREATE TABLE table_name_53 (year VARCHAR, category VARCHAR) | SELECT COUNT(year) FROM table_name_53 WHERE category = "best international newcomer" | What year had the category of best international newcomer? | <s>[INST]What year had the category of best international newcomer? Context: CREATE TABLE table_name_53 (year VARCHAR, category VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_53 WHERE category = "best international newcomer"</s> |
CREATE TABLE table_15187735_12 (segment_a VARCHAR, segment_b VARCHAR) | SELECT segment_a FROM table_15187735_12 WHERE segment_b = "Kevlar s Canoe" | What is Segment A where Segment B is Kevlar S Canoe? | <s>[INST]What is Segment A where Segment B is Kevlar S Canoe? Context: CREATE TABLE table_15187735_12 (segment_a VARCHAR, segment_b VARCHAR)[/INST]SELECT segment_a FROM table_15187735_12 WHERE segment_b = "Kevlar s Canoe"</s> |
CREATE TABLE table_1046170_5 (division VARCHAR, us_open_cup VARCHAR, year VARCHAR) | SELECT division FROM table_1046170_5 WHERE us_open_cup = "Did Not Qualify" AND year = 2003 | how many division did not qualify for u.s. open cup in 2003 | <s>[INST]how many division did not qualify for u.s. open cup in 2003 Context: CREATE TABLE table_1046170_5 (division VARCHAR, us_open_cup VARCHAR, year VARCHAR)[/INST]SELECT division FROM table_1046170_5 WHERE us_open_cup = "Did Not Qualify" AND year = 2003</s> |
CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR) | SELECT LOCATION FROM station EXCEPT SELECT LOCATION FROM station WHERE number_of_platforms >= 15 | Show all locations which don't have a train station with at least 15 platforms. | <s>[INST]Show all locations which don't have a train station with at least 15 platforms. Context: CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR)[/INST]SELECT LOCATION FROM station EXCEPT SELECT LOCATION FROM station WHERE number_of_platforms >= 15</s> |
CREATE TABLE table_2467150_2 (tdp VARCHAR, model__list_ VARCHAR) | SELECT tdp FROM table_2467150_2 WHERE model__list_ = "X53xx" | What is every value for TDP if model is x53xx? | <s>[INST]What is every value for TDP if model is x53xx? Context: CREATE TABLE table_2467150_2 (tdp VARCHAR, model__list_ VARCHAR)[/INST]SELECT tdp FROM table_2467150_2 WHERE model__list_ = "X53xx"</s> |
CREATE TABLE table_name_45 (draws VARCHAR, goal_difference VARCHAR, goals_for VARCHAR, losses VARCHAR) | SELECT COUNT(draws) FROM table_name_45 WHERE goals_for = 58 AND losses = 12 AND goal_difference < 21 | Name the total number of Draws when goals for is 58 and losses is 12 when goal differences is less than 21 | <s>[INST]Name the total number of Draws when goals for is 58 and losses is 12 when goal differences is less than 21 Context: CREATE TABLE table_name_45 (draws VARCHAR, goal_difference VARCHAR, goals_for VARCHAR, losses VARCHAR)[/INST]SELECT COUNT(draws) FROM table_name_45 WHERE goals_for = 58 AND losses = 12 AND goal_difference < 21</s> |
CREATE TABLE table_name_96 (score_in_the_final VARCHAR, championship VARCHAR, outcome VARCHAR) | SELECT score_in_the_final FROM table_name_96 WHERE championship = "athens , greece" AND outcome = "winner" | What is Score In The Final, when Championship is "Athens , Greece", and when Outcome is "Winner"? | <s>[INST]What is Score In The Final, when Championship is "Athens , Greece", and when Outcome is "Winner"? Context: CREATE TABLE table_name_96 (score_in_the_final VARCHAR, championship VARCHAR, outcome VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_96 WHERE championship = "athens , greece" AND outcome = "winner"</s> |
CREATE TABLE table_name_93 (stage VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR) | SELECT stage FROM table_name_93 WHERE mountains_classification = "mariano piccoli" AND points_classification = "mario cipollini" AND winner = "laudelino cubino" | Which stage has a mountains classification of Mariano Piccoli, a points classification of Mario Cipollini and was won by Laudelino Cubino? | <s>[INST]Which stage has a mountains classification of Mariano Piccoli, a points classification of Mario Cipollini and was won by Laudelino Cubino? Context: CREATE TABLE table_name_93 (stage VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)[/INST]SELECT stage FROM table_name_93 WHERE mountains_classification = "mariano piccoli" AND points_classification = "mario cipollini" AND winner = "laudelino cubino"</s> |
CREATE TABLE table_1137704_2 (round INTEGER, grand_prix VARCHAR) | SELECT MIN(round) FROM table_1137704_2 WHERE grand_prix = "German grand_prix" | whatthe minimum round where grand prix is german grand prix | <s>[INST]whatthe minimum round where grand prix is german grand prix Context: CREATE TABLE table_1137704_2 (round INTEGER, grand_prix VARCHAR)[/INST]SELECT MIN(round) FROM table_1137704_2 WHERE grand_prix = "German grand_prix"</s> |
CREATE TABLE table_19630743_2 (to_par VARCHAR, winning_score VARCHAR) | SELECT to_par FROM table_19630743_2 WHERE winning_score = 69 - 66 - 68 = 203 | How many to par has the winning score of 69-66-68=203. | <s>[INST]How many to par has the winning score of 69-66-68=203. Context: CREATE TABLE table_19630743_2 (to_par VARCHAR, winning_score VARCHAR)[/INST]SELECT to_par FROM table_19630743_2 WHERE winning_score = 69 - 66 - 68 = 203</s> |
CREATE TABLE table_name_85 (datacenter VARCHAR, features VARCHAR) | SELECT datacenter FROM table_name_85 WHERE features = "network access connections: rras" | What Datacenter is listed against the network access connections: rras Feature? | <s>[INST]What Datacenter is listed against the network access connections: rras Feature? Context: CREATE TABLE table_name_85 (datacenter VARCHAR, features VARCHAR)[/INST]SELECT datacenter FROM table_name_85 WHERE features = "network access connections: rras"</s> |
CREATE TABLE table_name_53 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_53 WHERE home_team = "richmond" | What is richmond's scores when they are the home team? | <s>[INST]What is richmond's scores when they are the home team? Context: CREATE TABLE table_name_53 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_53 WHERE home_team = "richmond"</s> |
CREATE TABLE table_name_33 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_33 WHERE date = "may 25" | What is the attendance for the game on May 25? | <s>[INST]What is the attendance for the game on May 25? Context: CREATE TABLE table_name_33 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_33 WHERE date = "may 25"</s> |
CREATE TABLE table_name_76 (tries_for VARCHAR, losing_bonus VARCHAR) | SELECT tries_for FROM table_name_76 WHERE losing_bonus = "6" | If the losing bonus was 6, what is the tries for? | <s>[INST]If the losing bonus was 6, what is the tries for? Context: CREATE TABLE table_name_76 (tries_for VARCHAR, losing_bonus VARCHAR)[/INST]SELECT tries_for FROM table_name_76 WHERE losing_bonus = "6"</s> |
CREATE TABLE table_name_39 (league_goals VARCHAR, fa_cup_apps VARCHAR) | SELECT league_goals FROM table_name_39 WHERE fa_cup_apps = 2 | Which league goals has FA cup apps of 2? | <s>[INST]Which league goals has FA cup apps of 2? Context: CREATE TABLE table_name_39 (league_goals VARCHAR, fa_cup_apps VARCHAR)[/INST]SELECT league_goals FROM table_name_39 WHERE fa_cup_apps = 2</s> |
CREATE TABLE table_11677100_11 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_11677100_11 WHERE player = "Jay Bruce" | What is Jay Bruce's hometown? | <s>[INST]What is Jay Bruce's hometown? Context: CREATE TABLE table_11677100_11 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_11677100_11 WHERE player = "Jay Bruce"</s> |
CREATE TABLE table_name_67 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR) | SELECT MIN(attendance) FROM table_name_67 WHERE h___a = "h" AND opponents = "roma" | What is the smallest number of people to attend a game with an H/A of h and the opponent was Roma? | <s>[INST]What is the smallest number of people to attend a game with an H/A of h and the opponent was Roma? Context: CREATE TABLE table_name_67 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_67 WHERE h___a = "h" AND opponents = "roma"</s> |
CREATE TABLE table_name_90 (total INTEGER, year_s__won VARCHAR) | SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979" | What is the sum of the total of the player who won in 1979? | <s>[INST]What is the sum of the total of the player who won in 1979? Context: CREATE TABLE table_name_90 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979"</s> |
CREATE TABLE table_206217_2 (epoch__utc_ VARCHAR, periselene__km_ VARCHAR) | SELECT epoch__utc_ FROM table_206217_2 WHERE periselene__km_ = "5,454.925" | What is every entry for epoch if periselene is 5,454.925? | <s>[INST]What is every entry for epoch if periselene is 5,454.925? Context: CREATE TABLE table_206217_2 (epoch__utc_ VARCHAR, periselene__km_ VARCHAR)[/INST]SELECT epoch__utc_ FROM table_206217_2 WHERE periselene__km_ = "5,454.925"</s> |
CREATE TABLE table_name_15 (moving_to VARCHAR, nat VARCHAR) | SELECT moving_to FROM table_name_15 WHERE nat = "arg esp" | Where is the nationality of Arg Esp moving to? | <s>[INST]Where is the nationality of Arg Esp moving to? Context: CREATE TABLE table_name_15 (moving_to VARCHAR, nat VARCHAR)[/INST]SELECT moving_to FROM table_name_15 WHERE nat = "arg esp"</s> |
CREATE TABLE table_name_75 (money___$__ VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_75 WHERE to_par < 4 AND score = 74 - 72 - 68 - 73 = 287 | How much money does the player with a to par less than 4 and a score of 74-72-68-73=287 have? | <s>[INST]How much money does the player with a to par less than 4 and a score of 74-72-68-73=287 have? Context: CREATE TABLE table_name_75 (money___$__ VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT money___$__ FROM table_name_75 WHERE to_par < 4 AND score = 74 - 72 - 68 - 73 = 287</s> |