context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_26 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_26 WHERE week = 9 | What was the attendance in week 9? | <s>[INST]What was the attendance in week 9? Context: CREATE TABLE table_name_26 (attendance INTEGER, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_26 WHERE week = 9</s> |
CREATE TABLE products (product_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR) | SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id GROUP BY t3.characteristic_name ORDER BY COUNT(*) DESC LIMIT 1 | What is the characteristic name used by most number of the products? | <s>[INST]What is the characteristic name used by most number of the products? Context: CREATE TABLE products (product_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)[/INST]SELECT t3.c... |
CREATE TABLE table_21434618_1 (team__number2 VARCHAR) | SELECT 1 AS st_leg FROM table_21434618_1 WHERE team__number2 = "Ilisiakos" | give the 1st leg score against ilisiakos | <s>[INST]give the 1st leg score against ilisiakos Context: CREATE TABLE table_21434618_1 (team__number2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_21434618_1 WHERE team__number2 = "Ilisiakos"</s> |
CREATE TABLE table_name_41 (name VARCHAR, number VARCHAR, date VARCHAR) | SELECT name FROM table_name_41 WHERE number < 6 AND date < 1993 | What is the name of the train numbered less than 6 before 1993? | <s>[INST]What is the name of the train numbered less than 6 before 1993? Context: CREATE TABLE table_name_41 (name VARCHAR, number VARCHAR, date VARCHAR)[/INST]SELECT name FROM table_name_41 WHERE number < 6 AND date < 1993</s> |
CREATE TABLE table_1671401_2 (top_5 INTEGER, avg_finish VARCHAR) | SELECT MAX(top_5) FROM table_1671401_2 WHERE avg_finish = "5.0" | Name the max top 5 for 5.0 avg finish | <s>[INST]Name the max top 5 for 5.0 avg finish Context: CREATE TABLE table_1671401_2 (top_5 INTEGER, avg_finish VARCHAR)[/INST]SELECT MAX(top_5) FROM table_1671401_2 WHERE avg_finish = "5.0"</s> |
CREATE TABLE table_27274566_2 (date VARCHAR, season VARCHAR, away_team VARCHAR) | SELECT date FROM table_27274566_2 WHERE season = "2007-08" AND away_team = "Kaizer Chiefs" | What is the date in the 2007-08 season where the away team was the kaizer chiefs? | <s>[INST]What is the date in the 2007-08 season where the away team was the kaizer chiefs? Context: CREATE TABLE table_27274566_2 (date VARCHAR, season VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_27274566_2 WHERE season = "2007-08" AND away_team = "Kaizer Chiefs"</s> |
CREATE TABLE artist (Famous_Title VARCHAR, Artist_ID VARCHAR); CREATE TABLE volume (Artist_ID VARCHAR, Weeks_on_Top INTEGER) | SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top > 2 INTERSECT SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top < 2 | Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top. | <s>[INST]Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top. Context: CREATE TABLE artist (Famous_Title VARCHAR, Artist_ID VARCHAR); CREATE TABLE volume (Artist_ID VARCHAR, Weeks_on_Top INTEGER)[/INST]SELECT T1.Famous_Title FROM ... |
CREATE TABLE table_25368177_1 (net_run_rate VARCHAR, total_points VARCHAR) | SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19 | How many different net run rates did the team with 19 total points have? | <s>[INST]How many different net run rates did the team with 19 total points have? Context: CREATE TABLE table_25368177_1 (net_run_rate VARCHAR, total_points VARCHAR)[/INST]SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19</s> |
CREATE TABLE table_10621256_1 (player VARCHAR, n_o VARCHAR) | SELECT player FROM table_10621256_1 WHERE 50 = 2 AND n_o = 0 | what's the player where 50 is 2 and n/o is 0 | <s>[INST] what's the player where 50 is 2 and n/o is 0 Context: CREATE TABLE table_10621256_1 (player VARCHAR, n_o VARCHAR)[/INST]SELECT player FROM table_10621256_1 WHERE 50 = 2 AND n_o = 0</s> |
CREATE TABLE cinema (LOCATION VARCHAR, openning_year VARCHAR) | SELECT LOCATION FROM cinema WHERE openning_year >= 2010 GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1 | What is the location with the most cinemas opened in year 2010 or later? | <s>[INST]What is the location with the most cinemas opened in year 2010 or later? Context: CREATE TABLE cinema (LOCATION VARCHAR, openning_year VARCHAR)[/INST]SELECT LOCATION FROM cinema WHERE openning_year >= 2010 GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR) | SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring" | Which rd. took place at Hockenheimring? | <s>[INST]Which rd. took place at Hockenheimring? Context: CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR)[/INST]SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring"</s> |
CREATE TABLE table_name_7 (matches INTEGER, goals VARCHAR, rank VARCHAR) | SELECT SUM(matches) FROM table_name_7 WHERE goals = 103 AND rank > 9 | Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9? | <s>[INST]Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9? Context: CREATE TABLE table_name_7 (matches INTEGER, goals VARCHAR, rank VARCHAR)[/INST]SELECT SUM(matches) FROM table_name_7 WHERE goals = 103 AND rank > 9</s> |
CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_85 WHERE home_team = "south melbourne" | What was the away team when the home team was south melbourne? | <s>[INST]What was the away team when the home team was south melbourne? Context: CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_85 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_2512935_8 (approximate_sales VARCHAR, author VARCHAR) | SELECT approximate_sales FROM table_2512935_8 WHERE author = "Laura Ingalls Wilder" | What are all approximate sales for the author Laura Ingalls Wilder? | <s>[INST]What are all approximate sales for the author Laura Ingalls Wilder? Context: CREATE TABLE table_2512935_8 (approximate_sales VARCHAR, author VARCHAR)[/INST]SELECT approximate_sales FROM table_2512935_8 WHERE author = "Laura Ingalls Wilder"</s> |
CREATE TABLE table_name_36 (material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR, count_rectified VARCHAR) | SELECT material_or_non_material FROM table_name_36 WHERE positional_or_automatic = "either" AND count_rectified = "no" AND opponents = "either" | What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent? | <s>[INST]What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent? Context: CREATE TABLE table_name_36 (material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR, count_rectified VARCHAR)[/INST]SELECT material_or_non_ma... |
CREATE TABLE table_name_84 (loss VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT loss FROM table_name_84 WHERE opponent = "angels" AND record = "50-31" | What loss was against the angels with a 50-31 record? | <s>[INST]What loss was against the angels with a 50-31 record? Context: CREATE TABLE table_name_84 (loss VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_84 WHERE opponent = "angels" AND record = "50-31"</s> |
CREATE TABLE table_name_55 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_55 WHERE home_team = "fitzroy" | Who is the away team when the home team was Fitzroy? | <s>[INST]Who is the away team when the home team was Fitzroy? Context: CREATE TABLE table_name_55 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_55 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_261895_1 (type VARCHAR, institution VARCHAR) | SELECT type FROM table_261895_1 WHERE institution = "Calvin College" | which categories fit under the institution calvin college? | <s>[INST]which categories fit under the institution calvin college? Context: CREATE TABLE table_261895_1 (type VARCHAR, institution VARCHAR)[/INST]SELECT type FROM table_261895_1 WHERE institution = "Calvin College"</s> |
CREATE TABLE table_28715942_2 (original_artist VARCHAR, track VARCHAR) | SELECT original_artist FROM table_28715942_2 WHERE track = "Harder To Breathe" | Who were the original artist(s) on harder to breathe? | <s>[INST]Who were the original artist(s) on harder to breathe? Context: CREATE TABLE table_28715942_2 (original_artist VARCHAR, track VARCHAR)[/INST]SELECT original_artist FROM table_28715942_2 WHERE track = "Harder To Breathe"</s> |
CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER) | SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12 | What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12? | <s>[INST]What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12? Context: CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER)[/INST]SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12</s> |
CREATE TABLE table_name_31 (first_day_cover_cancellation VARCHAR, design VARCHAR) | SELECT first_day_cover_cancellation FROM table_name_31 WHERE design = "karen smith design" | What is the first day cover cancellation for the Karen Smith Design stamp? | <s>[INST]What is the first day cover cancellation for the Karen Smith Design stamp? Context: CREATE TABLE table_name_31 (first_day_cover_cancellation VARCHAR, design VARCHAR)[/INST]SELECT first_day_cover_cancellation FROM table_name_31 WHERE design = "karen smith design"</s> |
CREATE TABLE table_name_77 (height VARCHAR) | SELECT 193 FROM table_name_77 WHERE height = 2.05 | What is the 1.93 that is 2.05 in height? | <s>[INST]What is the 1.93 that is 2.05 in height? Context: CREATE TABLE table_name_77 (height VARCHAR)[/INST]SELECT 193 FROM table_name_77 WHERE height = 2.05</s> |
CREATE TABLE table_name_83 (drawn INTEGER, games INTEGER) | SELECT MIN(drawn) FROM table_name_83 WHERE games < 7 | What is the lowest drawn that has games less than 7? | <s>[INST]What is the lowest drawn that has games less than 7? Context: CREATE TABLE table_name_83 (drawn INTEGER, games INTEGER)[/INST]SELECT MIN(drawn) FROM table_name_83 WHERE games < 7</s> |
CREATE TABLE table_name_61 (fielding_team VARCHAR, wicket VARCHAR) | SELECT fielding_team FROM table_name_61 WHERE wicket = "1st" | Which fielding team had 1st wicket? | <s>[INST]Which fielding team had 1st wicket? Context: CREATE TABLE table_name_61 (fielding_team VARCHAR, wicket VARCHAR)[/INST]SELECT fielding_team FROM table_name_61 WHERE wicket = "1st"</s> |
CREATE TABLE table_name_89 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_89 WHERE outcome = "winner" AND opponent = "byron black" | WHAT IS THE SCORE WITH A WINNER AND OPPONENT BYRON BLACK? | <s>[INST]WHAT IS THE SCORE WITH A WINNER AND OPPONENT BYRON BLACK? Context: CREATE TABLE table_name_89 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_89 WHERE outcome = "winner" AND opponent = "byron black"</s> |
CREATE TABLE table_27722408_11 (score VARCHAR, team VARCHAR) | SELECT score FROM table_27722408_11 WHERE team = "Washington" | What was the score when the Celtics played Washington at home? | <s>[INST]What was the score when the Celtics played Washington at home? Context: CREATE TABLE table_27722408_11 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_27722408_11 WHERE team = "Washington"</s> |
CREATE TABLE table_25369796_1 (team VARCHAR, points VARCHAR) | SELECT team FROM table_25369796_1 WHERE points = "56" | What was the team that scored 56 points?Qh | <s>[INST]What was the team that scored 56 points?Qh Context: CREATE TABLE table_25369796_1 (team VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_25369796_1 WHERE points = "56"</s> |
CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) | SELECT SUM(round) FROM table_name_36 WHERE pick__number < 26 AND position = "cornerback" AND overall > 41 | Which cornerback round has a pick number lower than 26 and an overall higher than 41? | <s>[INST]Which cornerback round has a pick number lower than 26 and an overall higher than 41? Context: CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR)[/INST]SELECT SUM(round) FROM table_name_36 WHERE pick__number < 26 AND position = "cornerback" AND overall > 41</s> |
CREATE TABLE table_15327489_1 (class VARCHAR, riders VARCHAR, races VARCHAR) | SELECT class FROM table_15327489_1 WHERE riders = "Makoto Tamada" AND races = "17" | Name the class for makoto tamada and races is 17 | <s>[INST]Name the class for makoto tamada and races is 17 Context: CREATE TABLE table_15327489_1 (class VARCHAR, riders VARCHAR, races VARCHAR)[/INST]SELECT class FROM table_15327489_1 WHERE riders = "Makoto Tamada" AND races = "17"</s> |
CREATE TABLE table_name_66 (screen_pixels VARCHAR, maker VARCHAR, weight VARCHAR) | SELECT screen_pixels FROM table_name_66 WHERE maker = "amazon.com" AND weight = "221g (7.8oz)" | For Amazon.com's device with a weight of 221g (7.8oz) how many screen pixels does the device have? | <s>[INST]For Amazon.com's device with a weight of 221g (7.8oz) how many screen pixels does the device have? Context: CREATE TABLE table_name_66 (screen_pixels VARCHAR, maker VARCHAR, weight VARCHAR)[/INST]SELECT screen_pixels FROM table_name_66 WHERE maker = "amazon.com" AND weight = "221g (7.8oz)"</s> |
CREATE TABLE table_name_88 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_88 WHERE score = "w 87-64" | What is the opponent of the game with a w 87-64 score? | <s>[INST]What is the opponent of the game with a w 87-64 score? Context: CREATE TABLE table_name_88 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_88 WHERE score = "w 87-64"</s> |
CREATE TABLE table_name_40 (league_cup VARCHAR, years VARCHAR) | SELECT league_cup FROM table_name_40 WHERE years = "1947–1958" | What is the League Cup for 1947–1958? | <s>[INST]What is the League Cup for 1947–1958? Context: CREATE TABLE table_name_40 (league_cup VARCHAR, years VARCHAR)[/INST]SELECT league_cup FROM table_name_40 WHERE years = "1947–1958"</s> |
CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_86 WHERE attendance = "76,965" | Name the opponent that has attendance of 76,965 | <s>[INST]Name the opponent that has attendance of 76,965 Context: CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_86 WHERE attendance = "76,965"</s> |
CREATE TABLE table_name_74 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_74 WHERE loss = "westbrook (2-2)" | Who was the opponent at the game that had a loss of Westbrook (2-2)? | <s>[INST]Who was the opponent at the game that had a loss of Westbrook (2-2)? Context: CREATE TABLE table_name_74 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_74 WHERE loss = "westbrook (2-2)"</s> |
CREATE TABLE table_name_72 (power__kw_ VARCHAR, frequency VARCHAR) | SELECT power__kw_ FROM table_name_72 WHERE frequency = "95.1mhz" | What is the Power (kW) for the station with a frequency of 95.1mhz? | <s>[INST]What is the Power (kW) for the station with a frequency of 95.1mhz? Context: CREATE TABLE table_name_72 (power__kw_ VARCHAR, frequency VARCHAR)[/INST]SELECT power__kw_ FROM table_name_72 WHERE frequency = "95.1mhz"</s> |
CREATE TABLE table_name_59 (year INTEGER, rank VARCHAR, accolade VARCHAR) | SELECT MAX(year) FROM table_name_59 WHERE rank < 28 AND accolade = "the 100 greatest metal albums of the decade" | What is the highest Year, when Rank is less than 28, and when Accolade is "The 100 greatest metal albums of the decade"? | <s>[INST]What is the highest Year, when Rank is less than 28, and when Accolade is "The 100 greatest metal albums of the decade"? Context: CREATE TABLE table_name_59 (year INTEGER, rank VARCHAR, accolade VARCHAR)[/INST]SELECT MAX(year) FROM table_name_59 WHERE rank < 28 AND accolade = "the 100 greatest metal albums of ... |
CREATE TABLE table_name_36 (pole_position VARCHAR, winning_driver VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_name_36 WHERE winning_driver = "michael schumacher" AND grand_prix = "san marino grand prix" | What was the pole position at the san marino grand prix with michael schumacher as winning driver? | <s>[INST]What was the pole position at the san marino grand prix with michael schumacher as winning driver? Context: CREATE TABLE table_name_36 (pole_position VARCHAR, winning_driver VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_name_36 WHERE winning_driver = "michael schumacher" AND grand_prix = "... |
CREATE TABLE table_16941304_4 (equipment VARCHAR, bike_no VARCHAR) | SELECT equipment FROM table_16941304_4 WHERE bike_no = 3 | Name the equipment for bike number being 3 | <s>[INST]Name the equipment for bike number being 3 Context: CREATE TABLE table_16941304_4 (equipment VARCHAR, bike_no VARCHAR)[/INST]SELECT equipment FROM table_16941304_4 WHERE bike_no = 3</s> |
CREATE TABLE table_name_56 (outcome VARCHAR, opponent_in_final VARCHAR) | SELECT outcome FROM table_name_56 WHERE opponent_in_final = "nina bratchikova kathrin wörle" | Name the outcome that had an opponent in final of nina bratchikova kathrin wörle | <s>[INST]Name the outcome that had an opponent in final of nina bratchikova kathrin wörle Context: CREATE TABLE table_name_56 (outcome VARCHAR, opponent_in_final VARCHAR)[/INST]SELECT outcome FROM table_name_56 WHERE opponent_in_final = "nina bratchikova kathrin wörle"</s> |
CREATE TABLE table_name_96 (gregorian_months VARCHAR, season_in_tamil VARCHAR) | SELECT gregorian_months FROM table_name_96 WHERE season_in_tamil = "குளிர்" | What are the gregorian months for the season குளிர் in Tamil? | <s>[INST]What are the gregorian months for the season குளிர் in Tamil? Context: CREATE TABLE table_name_96 (gregorian_months VARCHAR, season_in_tamil VARCHAR)[/INST]SELECT gregorian_months FROM table_name_96 WHERE season_in_tamil = "குளிர்"</s> |
CREATE TABLE table_name_16 (venue VARCHAR, season VARCHAR, date VARCHAR) | SELECT venue FROM table_name_16 WHERE season = 1963 AND date = "17 november 1963" | What venue had an event on 17 November 1963? | <s>[INST]What venue had an event on 17 November 1963? Context: CREATE TABLE table_name_16 (venue VARCHAR, season VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_16 WHERE season = 1963 AND date = "17 november 1963"</s> |
CREATE TABLE table_name_94 (points INTEGER, goal_difference VARCHAR) | SELECT SUM(points) FROM table_name_94 WHERE goal_difference = 8 | How many total points belong to the team with a goal difference of 8? | <s>[INST]How many total points belong to the team with a goal difference of 8? Context: CREATE TABLE table_name_94 (points INTEGER, goal_difference VARCHAR)[/INST]SELECT SUM(points) FROM table_name_94 WHERE goal_difference = 8</s> |
CREATE TABLE table_name_12 (set_1 VARCHAR, set_2 VARCHAR) | SELECT set_1 FROM table_name_12 WHERE set_2 = "25-19" | What is the Set 1 with a Set 2 that is 25-19? | <s>[INST]What is the Set 1 with a Set 2 that is 25-19? Context: CREATE TABLE table_name_12 (set_1 VARCHAR, set_2 VARCHAR)[/INST]SELECT set_1 FROM table_name_12 WHERE set_2 = "25-19"</s> |
CREATE TABLE table_name_18 (eliminated VARCHAR, tag_team VARCHAR) | SELECT eliminated AS by FROM table_name_18 WHERE tag_team = "jindrak and cade" | Which Eliminated has a Tag Team of jindrak and cade? | <s>[INST]Which Eliminated has a Tag Team of jindrak and cade? Context: CREATE TABLE table_name_18 (eliminated VARCHAR, tag_team VARCHAR)[/INST]SELECT eliminated AS by FROM table_name_18 WHERE tag_team = "jindrak and cade"</s> |
CREATE TABLE table_name_1 (skip VARCHAR, country VARCHAR) | SELECT skip FROM table_name_1 WHERE country = "finland" | What is the skip when the country is finland? | <s>[INST]What is the skip when the country is finland? Context: CREATE TABLE table_name_1 (skip VARCHAR, country VARCHAR)[/INST]SELECT skip FROM table_name_1 WHERE country = "finland"</s> |
CREATE TABLE table_15778392_1 (result VARCHAR, theme VARCHAR) | SELECT COUNT(result) FROM table_15778392_1 WHERE theme = "Year They Were Born" | WHERE THE THEME WAS "YEAR THEY WERE BORN," WHAT THE TOTAL NUMBER OF RESULTS? | <s>[INST]WHERE THE THEME WAS "YEAR THEY WERE BORN," WHAT THE TOTAL NUMBER OF RESULTS? Context: CREATE TABLE table_15778392_1 (result VARCHAR, theme VARCHAR)[/INST]SELECT COUNT(result) FROM table_15778392_1 WHERE theme = "Year They Were Born"</s> |
CREATE TABLE table_name_29 (track VARCHAR, distance VARCHAR, race VARCHAR) | SELECT track FROM table_name_29 WHERE distance = "6 furlongs" AND race = "spectacular bid stakes" | What is the race with the track distance of 6 furlongs and spectacular bid stakes? | <s>[INST]What is the race with the track distance of 6 furlongs and spectacular bid stakes? Context: CREATE TABLE table_name_29 (track VARCHAR, distance VARCHAR, race VARCHAR)[/INST]SELECT track FROM table_name_29 WHERE distance = "6 furlongs" AND race = "spectacular bid stakes"</s> |
CREATE TABLE table_name_52 (track_number INTEGER, time VARCHAR, title VARCHAR) | SELECT AVG(track_number) FROM table_name_52 WHERE time = "3:25" AND title = "great getting up mornin'" | What is the average track number 3:25 long and a title of Great Getting up Mornin'? | <s>[INST]What is the average track number 3:25 long and a title of Great Getting up Mornin'? Context: CREATE TABLE table_name_52 (track_number INTEGER, time VARCHAR, title VARCHAR)[/INST]SELECT AVG(track_number) FROM table_name_52 WHERE time = "3:25" AND title = "great getting up mornin'"</s> |
CREATE TABLE table_27756314_8 (date VARCHAR, team VARCHAR) | SELECT date FROM table_27756314_8 WHERE team = "Orlando" | What is the date for the game with team orlando? | <s>[INST]What is the date for the game with team orlando? Context: CREATE TABLE table_27756314_8 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_27756314_8 WHERE team = "Orlando"</s> |
CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR) | SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko" | What year did Yuri Omeltchenko win Silver? | <s>[INST]What year did Yuri Omeltchenko win Silver? Context: CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR)[/INST]SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko"</s> |
CREATE TABLE table_name_56 (production_num INTEGER, title VARCHAR) | SELECT MIN(production_num) FROM table_name_56 WHERE title = "bosko's fox hunt" | The film titled Bosko's fox hunt had what as the smallest production number? | <s>[INST]The film titled Bosko's fox hunt had what as the smallest production number? Context: CREATE TABLE table_name_56 (production_num INTEGER, title VARCHAR)[/INST]SELECT MIN(production_num) FROM table_name_56 WHERE title = "bosko's fox hunt"</s> |
CREATE TABLE table_name_58 (date VARCHAR, location VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_58 WHERE location = "florida" AND tournament = "monsanto open" | What date was the Monsanto open located in Florida? | <s>[INST]What date was the Monsanto open located in Florida? Context: CREATE TABLE table_name_58 (date VARCHAR, location VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE location = "florida" AND tournament = "monsanto open"</s> |
CREATE TABLE Financial_transactions (transaction_type VARCHAR, transaction_amount INTEGER) | SELECT transaction_type FROM Financial_transactions GROUP BY transaction_type ORDER BY SUM(transaction_amount) DESC LIMIT 1 | What is the transaction type that has processed the greatest total amount in transactions? | <s>[INST]What is the transaction type that has processed the greatest total amount in transactions? Context: CREATE TABLE Financial_transactions (transaction_type VARCHAR, transaction_amount INTEGER)[/INST]SELECT transaction_type FROM Financial_transactions GROUP BY transaction_type ORDER BY SUM(transaction_amount) DES... |
CREATE TABLE table_name_64 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_64 WHERE date = "25 january 1986" AND tie_no = "6" | What is Away Team, when Date is "25 January 1986", and when Tie No is "6"? | <s>[INST]What is Away Team, when Date is "25 January 1986", and when Tie No is "6"? Context: CREATE TABLE table_name_64 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_64 WHERE date = "25 january 1986" AND tie_no = "6"</s> |
CREATE TABLE table_name_75 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_75 WHERE place = "t8" AND player = "dale douglass" | What is the country of player dale douglass, who has a t8 place? | <s>[INST]What is the country of player dale douglass, who has a t8 place? Context: CREATE TABLE table_name_75 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_75 WHERE place = "t8" AND player = "dale douglass"</s> |
CREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR) | SELECT score FROM table_name_66 WHERE home = "toronto maple leafs" AND date = "november 12" | Which score was for Toronto Maple Leafs at home on November 12? | <s>[INST]Which score was for Toronto Maple Leafs at home on November 12? Context: CREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_66 WHERE home = "toronto maple leafs" AND date = "november 12"</s> |
CREATE TABLE table_name_32 (tail_number VARCHAR, fatalities VARCHAR) | SELECT tail_number FROM table_name_32 WHERE fatalities = "3/3" | What was the tail number with 3/3 fatalities? | <s>[INST]What was the tail number with 3/3 fatalities? Context: CREATE TABLE table_name_32 (tail_number VARCHAR, fatalities VARCHAR)[/INST]SELECT tail_number FROM table_name_32 WHERE fatalities = "3/3"</s> |
CREATE TABLE table_name_23 (intercontinental_cup_1993 VARCHAR, supercopa_sudamericana_1993 VARCHAR) | SELECT intercontinental_cup_1993 FROM table_name_23 WHERE supercopa_sudamericana_1993 = "round of 16" | What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16? | <s>[INST]What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16? Context: CREATE TABLE table_name_23 (intercontinental_cup_1993 VARCHAR, supercopa_sudamericana_1993 VARCHAR)[/INST]SELECT intercontinental_cup_1993 FROM table_name_23 WHERE supercopa_sudamericana_1993 = "round... |
CREATE TABLE table_name_25 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_25 WHERE date = "may 5, 2001" | What competition has may 5, 2001 as the date? | <s>[INST]What competition has may 5, 2001 as the date? Context: CREATE TABLE table_name_25 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_25 WHERE date = "may 5, 2001"</s> |
CREATE TABLE table_name_44 (format_name VARCHAR, video_coding VARCHAR, color_sampling VARCHAR) | SELECT format_name FROM table_name_44 WHERE video_coding = "dv" AND color_sampling = "4:1:1" | What format name has dv as video coding and 4:1:1 as the color sampling? | <s>[INST]What format name has dv as video coding and 4:1:1 as the color sampling? Context: CREATE TABLE table_name_44 (format_name VARCHAR, video_coding VARCHAR, color_sampling VARCHAR)[/INST]SELECT format_name FROM table_name_44 WHERE video_coding = "dv" AND color_sampling = "4:1:1"</s> |
CREATE TABLE table_11713303_2 (replaced_by VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR) | SELECT COUNT(replaced_by) FROM table_11713303_2 WHERE date_of_appointment = "10 December 2007" AND manner_of_departure = "Quit" | How many have been replaced where the appointment date is 10 December 2007 and the manner of departure is quit? | <s>[INST]How many have been replaced where the appointment date is 10 December 2007 and the manner of departure is quit? Context: CREATE TABLE table_11713303_2 (replaced_by VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)[/INST]SELECT COUNT(replaced_by) FROM table_11713303_2 WHERE date_of_appointment ... |
CREATE TABLE table_name_92 (stopping_pattern VARCHAR, platform VARCHAR) | SELECT stopping_pattern FROM table_name_92 WHERE platform = "4" | What is Stopping Pattern, when Platform is 4? | <s>[INST]What is Stopping Pattern, when Platform is 4? Context: CREATE TABLE table_name_92 (stopping_pattern VARCHAR, platform VARCHAR)[/INST]SELECT stopping_pattern FROM table_name_92 WHERE platform = "4"</s> |
CREATE TABLE table_name_59 (money___ INTEGER, country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT SUM(money___) AS $__ FROM table_name_59 WHERE country = "united states" AND to_par = "e" AND score = 72 - 75 - 70 - 71 = 288 | How much is the money ($) when the country is united states, to par is e and the score is 72-75-70-71=288? | <s>[INST]How much is the money ($) when the country is united states, to par is e and the score is 72-75-70-71=288? Context: CREATE TABLE table_name_59 (money___ INTEGER, country VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT SUM(money___) AS $__ FROM table_name_59 WHERE country = "united states" AND to_par = "e"... |
CREATE TABLE table_name_14 (points INTEGER, drawn INTEGER) | SELECT SUM(points) FROM table_name_14 WHERE drawn < 1 | What is the whole of Points that has a Drawn smaller than 1? | <s>[INST]What is the whole of Points that has a Drawn smaller than 1? Context: CREATE TABLE table_name_14 (points INTEGER, drawn INTEGER)[/INST]SELECT SUM(points) FROM table_name_14 WHERE drawn < 1</s> |
CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR) | SELECT club FROM table_name_76 WHERE founded < 1882 AND league = "fa premier league" | Which Club has a Founded smaller than 1882, and a League of fa premier league? | <s>[INST]Which Club has a Founded smaller than 1882, and a League of fa premier league? Context: CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR)[/INST]SELECT club FROM table_name_76 WHERE founded < 1882 AND league = "fa premier league"</s> |
CREATE TABLE table_name_63 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140 | Which golfer had a score of 69-71=140? | <s>[INST]Which golfer had a score of 69-71=140? Context: CREATE TABLE table_name_63 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140</s> |
CREATE TABLE table_name_32 (lane INTEGER, mark VARCHAR) | SELECT MIN(lane) FROM table_name_32 WHERE mark = "7.35" | When the mark is 7.35, what's the lowest Lane found? | <s>[INST]When the mark is 7.35, what's the lowest Lane found? Context: CREATE TABLE table_name_32 (lane INTEGER, mark VARCHAR)[/INST]SELECT MIN(lane) FROM table_name_32 WHERE mark = "7.35"</s> |
CREATE TABLE table_name_13 (type VARCHAR, date VARCHAR) | SELECT type FROM table_name_13 WHERE date = "22 may" | What was the course type on 22 May? | <s>[INST]What was the course type on 22 May? Context: CREATE TABLE table_name_13 (type VARCHAR, date VARCHAR)[/INST]SELECT type FROM table_name_13 WHERE date = "22 may"</s> |
CREATE TABLE table_name_74 (venue VARCHAR, partnerships VARCHAR) | SELECT venue FROM table_name_74 WHERE partnerships = "herschelle gibbs / justin kemp" | What venue did the partnership of herschelle gibbs / justin kemp happen? | <s>[INST]What venue did the partnership of herschelle gibbs / justin kemp happen? Context: CREATE TABLE table_name_74 (venue VARCHAR, partnerships VARCHAR)[/INST]SELECT venue FROM table_name_74 WHERE partnerships = "herschelle gibbs / justin kemp"</s> |
CREATE TABLE table_14903999_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) | SELECT COUNT(womens_doubles) FROM table_14903999_1 WHERE mixed_doubles = "Broddi Kristjánsson Drífa Harðardóttir" | How many womens doubles had champions the years broddi kristjánsson drífa harðardóttir won mixed doubles | <s>[INST]How many womens doubles had champions the years broddi kristjánsson drífa harðardóttir won mixed doubles Context: CREATE TABLE table_14903999_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR)[/INST]SELECT COUNT(womens_doubles) FROM table_14903999_1 WHERE mixed_doubles = "Broddi Kristjánsson Drífa Harðardóttir"... |
CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR) | SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph" | what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph? | <s>[INST]what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph? Context: CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR)[/INST]SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph"</s> |
CREATE TABLE table_name_99 (goal_difference VARCHAR, team VARCHAR) | SELECT goal_difference FROM table_name_99 WHERE team = "chorley" | What is the goal difference for the team from Chorley? | <s>[INST]What is the goal difference for the team from Chorley? Context: CREATE TABLE table_name_99 (goal_difference VARCHAR, team VARCHAR)[/INST]SELECT goal_difference FROM table_name_99 WHERE team = "chorley"</s> |
CREATE TABLE table_name_68 (ovrs INTEGER, wkts VARCHAR, econ VARCHAR) | SELECT MIN(ovrs) FROM table_name_68 WHERE wkts > 13 AND econ < 3.21 | What is the lowest Ovrs, when Wkts is greater than 13, and when Econ is less than 3.21? | <s>[INST]What is the lowest Ovrs, when Wkts is greater than 13, and when Econ is less than 3.21? Context: CREATE TABLE table_name_68 (ovrs INTEGER, wkts VARCHAR, econ VARCHAR)[/INST]SELECT MIN(ovrs) FROM table_name_68 WHERE wkts > 13 AND econ < 3.21</s> |
CREATE TABLE table_name_2 (hosts VARCHAR, year VARCHAR) | SELECT hosts FROM table_name_2 WHERE year = "2004" | Who are the hosts for the 2004 event? | <s>[INST]Who are the hosts for the 2004 event? Context: CREATE TABLE table_name_2 (hosts VARCHAR, year VARCHAR)[/INST]SELECT hosts FROM table_name_2 WHERE year = "2004"</s> |
CREATE TABLE table_name_6 (winner_and_score VARCHAR, week VARCHAR) | SELECT winner_and_score FROM table_name_6 WHERE week = "august 9" | who is the winner and score for the week of august 9? | <s>[INST]who is the winner and score for the week of august 9? Context: CREATE TABLE table_name_6 (winner_and_score VARCHAR, week VARCHAR)[/INST]SELECT winner_and_score FROM table_name_6 WHERE week = "august 9"</s> |
CREATE TABLE table_name_30 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_30 WHERE tie_no > 13 AND home_team = "team bath" | who is the away team when the tie no is more than 13 and the home team is team bath? | <s>[INST]who is the away team when the tie no is more than 13 and the home team is team bath? Context: CREATE TABLE table_name_30 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_30 WHERE tie_no > 13 AND home_team = "team bath"</s> |
CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR, set_4 VARCHAR) | SELECT score FROM table_name_1 WHERE date = "jun 16" AND set_4 = "25-20" | What is Score, when Date is Jun 16, and when Set 4 is 25-20? | <s>[INST]What is Score, when Date is Jun 16, and when Set 4 is 25-20? Context: CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR, set_4 VARCHAR)[/INST]SELECT score FROM table_name_1 WHERE date = "jun 16" AND set_4 = "25-20"</s> |
CREATE TABLE table_159614_2 (harris VARCHAR, party VARCHAR) | SELECT harris FROM table_159614_2 WHERE party = "Labour" | What is the percentage of the Labour Party on the Harris Poll | <s>[INST]What is the percentage of the Labour Party on the Harris Poll Context: CREATE TABLE table_159614_2 (harris VARCHAR, party VARCHAR)[/INST]SELECT harris FROM table_159614_2 WHERE party = "Labour"</s> |
CREATE TABLE table_name_87 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR) | SELECT MAX(profits__billion_) AS $_ FROM table_name_87 WHERE headquarters = "usa" AND market_value__billion_$_ = 194.87 AND sales__billion_$_ < 76.66 | What is the highest profits in billions of the company headquartered in the USA with a market value of 194.87 billions and less than 76.66 billions in sales? | <s>[INST]What is the highest profits in billions of the company headquartered in the USA with a market value of 194.87 billions and less than 76.66 billions in sales? Context: CREATE TABLE table_name_87 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR)[/INST]... |
CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, gender VARCHAR) | SELECT artist_name FROM artist WHERE country = "UK" AND gender = "Male" | What are the names of artists who are Male and are from UK? | <s>[INST]What are the names of artists who are Male and are from UK? Context: CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, gender VARCHAR)[/INST]SELECT artist_name FROM artist WHERE country = "UK" AND gender = "Male"</s> |
CREATE TABLE table_26218783_7 (sd INTEGER, status VARCHAR) | SELECT MAX(sd) FROM table_26218783_7 WHERE status = "Second round lost to Iveta Benešová" | What is the highest sd when the status is second round lost to iveta benešová? | <s>[INST]What is the highest sd when the status is second round lost to iveta benešová? Context: CREATE TABLE table_26218783_7 (sd INTEGER, status VARCHAR)[/INST]SELECT MAX(sd) FROM table_26218783_7 WHERE status = "Second round lost to Iveta Benešová"</s> |
CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR) | SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq | Find the id of the courses that do not have any prerequisite? | <s>[INST]Find the id of the courses that do not have any prerequisite? Context: CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR)[/INST]SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq</s> |
CREATE TABLE table_name_68 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_68 WHERE outcome = "winner" AND opponent = "an-sophie mestach" | What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach? | <s>[INST]What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach? Context: CREATE TABLE table_name_68 (date VARCHAR, outcome VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE outcome = "winner" AND opponent = "an-sophie mestach"</s> |
CREATE TABLE table_name_72 (sample_size INTEGER, date VARCHAR, margin_of_error VARCHAR) | SELECT MAX(sample_size) FROM table_name_72 WHERE date = "nov 9-11, 2007" AND margin_of_error < 4.3 | What was the sample size for the poll from Nov 9-11, 2007 with a margin of error less than 4.3? | <s>[INST]What was the sample size for the poll from Nov 9-11, 2007 with a margin of error less than 4.3? Context: CREATE TABLE table_name_72 (sample_size INTEGER, date VARCHAR, margin_of_error VARCHAR)[/INST]SELECT MAX(sample_size) FROM table_name_72 WHERE date = "nov 9-11, 2007" AND margin_of_error < 4.3</s> |
CREATE TABLE table_name_42 (date VARCHAR, high_rebounds VARCHAR) | SELECT date FROM table_name_42 WHERE high_rebounds = "pau gasol (9)" | Which Date has High rebounds of pau gasol (9)? | <s>[INST]Which Date has High rebounds of pau gasol (9)? Context: CREATE TABLE table_name_42 (date VARCHAR, high_rebounds VARCHAR)[/INST]SELECT date FROM table_name_42 WHERE high_rebounds = "pau gasol (9)"</s> |
CREATE TABLE table_name_44 (money___ INTEGER, country VARCHAR) | SELECT MAX(money___) AS £__ FROM table_name_44 WHERE country = "south africa" | What shows for money (£) when South Africa is the country? | <s>[INST]What shows for money (£) when South Africa is the country? Context: CREATE TABLE table_name_44 (money___ INTEGER, country VARCHAR)[/INST]SELECT MAX(money___) AS £__ FROM table_name_44 WHERE country = "south africa"</s> |
CREATE TABLE table_name_32 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_32 WHERE partner = "jan pisecky" | What was the outcome for Jan Pisecky and his partner? | <s>[INST]What was the outcome for Jan Pisecky and his partner? Context: CREATE TABLE table_name_32 (outcome VARCHAR, partner VARCHAR)[/INST]SELECT outcome FROM table_name_32 WHERE partner = "jan pisecky"</s> |
CREATE TABLE table_1603807_2 (operator VARCHAR, line VARCHAR) | SELECT operator FROM table_1603807_2 WHERE line = "Mamariga Shuttle" | Which operator runs the Mamariga shuttle line? | <s>[INST]Which operator runs the Mamariga shuttle line? Context: CREATE TABLE table_1603807_2 (operator VARCHAR, line VARCHAR)[/INST]SELECT operator FROM table_1603807_2 WHERE line = "Mamariga Shuttle"</s> |
CREATE TABLE table_name_54 (laps VARCHAR, rider VARCHAR) | SELECT COUNT(laps) FROM table_name_54 WHERE rider = "aleix espargaro" | What is the total number of Laps, when Ride is Aleix Espargaro? | <s>[INST]What is the total number of Laps, when Ride is Aleix Espargaro? Context: CREATE TABLE table_name_54 (laps VARCHAR, rider VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_54 WHERE rider = "aleix espargaro"</s> |
CREATE TABLE table_name_43 (time_retired VARCHAR, rider VARCHAR) | SELECT time_retired FROM table_name_43 WHERE rider = "olivier jacque" | What is Olivier Jacque's Time/Retired? | <s>[INST]What is Olivier Jacque's Time/Retired? Context: CREATE TABLE table_name_43 (time_retired VARCHAR, rider VARCHAR)[/INST]SELECT time_retired FROM table_name_43 WHERE rider = "olivier jacque"</s> |
CREATE TABLE table_name_95 (points INTEGER, wins VARCHAR) | SELECT MIN(points) FROM table_name_95 WHERE wins = 1 | What is the least amount of points when there is 1 win? | <s>[INST]What is the least amount of points when there is 1 win? Context: CREATE TABLE table_name_95 (points INTEGER, wins VARCHAR)[/INST]SELECT MIN(points) FROM table_name_95 WHERE wins = 1</s> |
CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, result VARCHAR) | SELECT MAX(attendance) FROM table_name_99 WHERE venue = "home" AND result = "w 3-1" | what was the attendance at the home venue with result w 3-1? | <s>[INST]what was the attendance at the home venue with result w 3-1? Context: CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, result VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_99 WHERE venue = "home" AND result = "w 3-1"</s> |
CREATE TABLE table_name_9 (opponent_in_the_final VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) | SELECT opponent_in_the_final FROM table_name_9 WHERE surface = "clay" AND score_in_the_final = "4–6, 3–6" | Who is the Opponent in the final of the match played on Clay Surface with a Score in the final of 4–6, 3–6? | <s>[INST]Who is the Opponent in the final of the match played on Clay Surface with a Score in the final of 4–6, 3–6? Context: CREATE TABLE table_name_9 (opponent_in_the_final VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_9 WHERE surface = "clay" AND score_in_th... |
CREATE TABLE table_name_53 (outgoing_manage VARCHAR, incoming_manager VARCHAR) | SELECT outgoing_manage FROM table_name_53 WHERE incoming_manager = "augusto inácio" | Who was the outgoing manager when the incoming manager was augusto inácio? | <s>[INST]Who was the outgoing manager when the incoming manager was augusto inácio? Context: CREATE TABLE table_name_53 (outgoing_manage VARCHAR, incoming_manager VARCHAR)[/INST]SELECT outgoing_manage FROM table_name_53 WHERE incoming_manager = "augusto inácio"</s> |
CREATE TABLE table_19897294_5 (original_air_date VARCHAR, no_overall VARCHAR) | SELECT original_air_date FROM table_19897294_5 WHERE no_overall = "UK17" | Name the air date for uk17 | <s>[INST]Name the air date for uk17 Context: CREATE TABLE table_19897294_5 (original_air_date VARCHAR, no_overall VARCHAR)[/INST]SELECT original_air_date FROM table_19897294_5 WHERE no_overall = "UK17"</s> |
CREATE TABLE table_15624586_2 (uranium_required_2006_08 VARCHAR, country VARCHAR) | SELECT uranium_required_2006_08 FROM table_15624586_2 WHERE country = "Russia" | How much uranium did Russia use in 2006 to 2008? | <s>[INST]How much uranium did Russia use in 2006 to 2008? Context: CREATE TABLE table_15624586_2 (uranium_required_2006_08 VARCHAR, country VARCHAR)[/INST]SELECT uranium_required_2006_08 FROM table_15624586_2 WHERE country = "Russia"</s> |
CREATE TABLE table_name_73 (area VARCHAR, name VARCHAR) | SELECT area FROM table_name_73 WHERE name = "william colenso college" | Which area has a Name of william colenso college? | <s>[INST]Which area has a Name of william colenso college? Context: CREATE TABLE table_name_73 (area VARCHAR, name VARCHAR)[/INST]SELECT area FROM table_name_73 WHERE name = "william colenso college"</s> |
CREATE TABLE table_name_33 (opponent VARCHAR, head_coach VARCHAR) | SELECT opponent FROM table_name_33 WHERE head_coach = "b. sathianathan" | Who was the opponent when the head coach was B. Sathianathan? | <s>[INST]Who was the opponent when the head coach was B. Sathianathan? Context: CREATE TABLE table_name_33 (opponent VARCHAR, head_coach VARCHAR)[/INST]SELECT opponent FROM table_name_33 WHERE head_coach = "b. sathianathan"</s> |
CREATE TABLE table_name_81 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_81 WHERE venue = "jalan besar, singapore" | Name the score for venue of jalan besar, singapore | <s>[INST]Name the score for venue of jalan besar, singapore Context: CREATE TABLE table_name_81 (score VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE venue = "jalan besar, singapore"</s> |
CREATE TABLE table_12842068_1 (submitting_country VARCHAR, original_title VARCHAR) | SELECT submitting_country FROM table_12842068_1 WHERE original_title = "Miehen työ" | What country submitted miehen työ? | <s>[INST]What country submitted miehen työ? Context: CREATE TABLE table_12842068_1 (submitting_country VARCHAR, original_title VARCHAR)[/INST]SELECT submitting_country FROM table_12842068_1 WHERE original_title = "Miehen työ"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.