context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_39 (pos VARCHAR, race VARCHAR, co_driver VARCHAR) | SELECT pos FROM table_name_39 WHERE race = "24 hours of le mans" AND co_driver = "jackie oliver" | What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans? | <s>[INST]What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans? Context: CREATE TABLE table_name_39 (pos VARCHAR, race VARCHAR, co_driver VARCHAR)[/INST]SELECT pos FROM table_name_39 WHERE race = "24 hours of le mans" AND co_driver = "jackie oliver"</s> |
CREATE TABLE table_name_74 (against INTEGER, status VARCHAR, opposing_teams VARCHAR) | SELECT AVG(against) FROM table_name_74 WHERE status = "2007 rugby world cup" AND opposing_teams = "u.s.a." | What is the average Against, when Status is "2007 Rugby World Cup", and when Opposing Teams is "U.S.A."? | <s>[INST]What is the average Against, when Status is "2007 Rugby World Cup", and when Opposing Teams is "U.S.A."? Context: CREATE TABLE table_name_74 (against INTEGER, status VARCHAR, opposing_teams VARCHAR)[/INST]SELECT AVG(against) FROM table_name_74 WHERE status = "2007 rugby world cup" AND opposing_teams = "u.s.a."... |
CREATE TABLE table_name_30 (time VARCHAR, set_1 VARCHAR) | SELECT time FROM table_name_30 WHERE set_1 = "18–25" | What time has a Set 1 of 18–25? | <s>[INST]What time has a Set 1 of 18–25? Context: CREATE TABLE table_name_30 (time VARCHAR, set_1 VARCHAR)[/INST]SELECT time FROM table_name_30 WHERE set_1 = "18–25"</s> |
CREATE TABLE table_name_27 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_27 WHERE loss = "key (7-11)" | What was the record during the loss by key (7-11)? | <s>[INST]What was the record during the loss by key (7-11)? Context: CREATE TABLE table_name_27 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_27 WHERE loss = "key (7-11)"</s> |
CREATE TABLE table_name_43 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_43 WHERE player = "jojo manalo" | What college has Jojo Manalo? | <s>[INST]What college has Jojo Manalo? Context: CREATE TABLE table_name_43 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_43 WHERE player = "jojo manalo"</s> |
CREATE TABLE table_29633639_1 (peak VARCHAR, chinese_title VARCHAR) | SELECT COUNT(peak) FROM table_29633639_1 WHERE chinese_title = "萬凰之王" | how many peaks where for the chinese episode named 萬凰之王 | <s>[INST]how many peaks where for the chinese episode named 萬凰之王 Context: CREATE TABLE table_29633639_1 (peak VARCHAR, chinese_title VARCHAR)[/INST]SELECT COUNT(peak) FROM table_29633639_1 WHERE chinese_title = "萬凰之王"</s> |
CREATE TABLE table_22941863_19 (winner VARCHAR, sprints_classification VARCHAR) | SELECT winner FROM table_22941863_19 WHERE sprints_classification = "no award" | What is the name of the winner when the sprints classification is no award? | <s>[INST]What is the name of the winner when the sprints classification is no award? Context: CREATE TABLE table_22941863_19 (winner VARCHAR, sprints_classification VARCHAR)[/INST]SELECT winner FROM table_22941863_19 WHERE sprints_classification = "no award"</s> |
CREATE TABLE table_name_99 (to_par VARCHAR, player VARCHAR) | SELECT COUNT(to_par) FROM table_name_99 WHERE player = "laurie ayton" | What is the to total number of par with laurie ayton? | <s>[INST]What is the to total number of par with laurie ayton? Context: CREATE TABLE table_name_99 (to_par VARCHAR, player VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_99 WHERE player = "laurie ayton"</s> |
CREATE TABLE singer (country VARCHAR, age INTEGER) | SELECT DISTINCT country FROM singer WHERE age > 20 | What are all distinct countries where singers above age 20 are from? | <s>[INST]What are all distinct countries where singers above age 20 are from? Context: CREATE TABLE singer (country VARCHAR, age INTEGER)[/INST]SELECT DISTINCT country FROM singer WHERE age > 20</s> |
CREATE TABLE table_name_60 (drawn VARCHAR, tries_against VARCHAR, points VARCHAR) | SELECT drawn FROM table_name_60 WHERE tries_against = "36" AND points = "66" | Name the Drawn for tries against of 36 and points of 66 | <s>[INST]Name the Drawn for tries against of 36 and points of 66 Context: CREATE TABLE table_name_60 (drawn VARCHAR, tries_against VARCHAR, points VARCHAR)[/INST]SELECT drawn FROM table_name_60 WHERE tries_against = "36" AND points = "66"</s> |
CREATE TABLE table_name_70 (gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_70 WHERE bronze > 1 AND total > 4 | What is the total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals? | <s>[INST]What is the total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals? Context: CREATE TABLE table_name_70 (gold VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_70 WHERE bronze > 1 AND total > 4</s> |
CREATE TABLE table_17246160_1 (poles INTEGER, series VARCHAR) | SELECT MAX(poles) FROM table_17246160_1 WHERE series = "Formula BMW Pacific" | How many poles did the player have during the Formula BMW Pacific race? | <s>[INST]How many poles did the player have during the Formula BMW Pacific race? Context: CREATE TABLE table_17246160_1 (poles INTEGER, series VARCHAR)[/INST]SELECT MAX(poles) FROM table_17246160_1 WHERE series = "Formula BMW Pacific"</s> |
CREATE TABLE table_name_29 (county VARCHAR, rank VARCHAR, player VARCHAR) | SELECT county FROM table_name_29 WHERE rank > 8 AND player = "joe mckenna" | Which County has a Rank larger than 8, and a Player of joe mckenna? | <s>[INST]Which County has a Rank larger than 8, and a Player of joe mckenna? Context: CREATE TABLE table_name_29 (county VARCHAR, rank VARCHAR, player VARCHAR)[/INST]SELECT county FROM table_name_29 WHERE rank > 8 AND player = "joe mckenna"</s> |
CREATE TABLE table_name_75 (builder VARCHAR, launched VARCHAR) | SELECT builder FROM table_name_75 WHERE launched = "20 jun 1953" | what builder launched 20 jun 1953? | <s>[INST]what builder launched 20 jun 1953? Context: CREATE TABLE table_name_75 (builder VARCHAR, launched VARCHAR)[/INST]SELECT builder FROM table_name_75 WHERE launched = "20 jun 1953"</s> |
CREATE TABLE table_name_7 (county VARCHAR, name VARCHAR) | SELECT county FROM table_name_7 WHERE name = "broderick wood products" | Which county is named broderick wood products? | <s>[INST]Which county is named broderick wood products? Context: CREATE TABLE table_name_7 (county VARCHAR, name VARCHAR)[/INST]SELECT county FROM table_name_7 WHERE name = "broderick wood products"</s> |
CREATE TABLE table_name_21 (rank INTEGER, assists VARCHAR) | SELECT SUM(rank) FROM table_name_21 WHERE assists = 82 | What is the sum of Rank, when Assists is "82"? | <s>[INST]What is the sum of Rank, when Assists is "82"? Context: CREATE TABLE table_name_21 (rank INTEGER, assists VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_21 WHERE assists = 82</s> |
CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR) | SELECT AVG(matches) FROM table_name_67 WHERE rank < 5 AND years = "1995–2003" AND goals < 104 | Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104? | <s>[INST]Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104? Context: CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR)[/INST]SELECT AVG(matches) FROM table_name_67 WHERE rank < 5 AND years = "1995–2003" AND goals < 104</s> |
CREATE TABLE table_name_15 (play_offs INTEGER, total VARCHAR, league VARCHAR, player VARCHAR) | SELECT AVG(play_offs) FROM table_name_15 WHERE league > 18 AND player = "john grant" AND total > 25 | What is the mean number of play-offs when the league number was bigger than 18, where the player was John Grant and the total number was bigger than 25? | <s>[INST]What is the mean number of play-offs when the league number was bigger than 18, where the player was John Grant and the total number was bigger than 25? Context: CREATE TABLE table_name_15 (play_offs INTEGER, total VARCHAR, league VARCHAR, player VARCHAR)[/INST]SELECT AVG(play_offs) FROM table_name_15 WHERE le... |
CREATE TABLE table_name_3 (regional_finals INTEGER, record VARCHAR, _number_of_bids VARCHAR) | SELECT AVG(regional_finals) FROM table_name_3 WHERE record = "3-2" AND _number_of_bids > 3 | What is the average Regional Finals score when the record is 3-2 and there are more than 3 bids? | <s>[INST]What is the average Regional Finals score when the record is 3-2 and there are more than 3 bids? Context: CREATE TABLE table_name_3 (regional_finals INTEGER, record VARCHAR, _number_of_bids VARCHAR)[/INST]SELECT AVG(regional_finals) FROM table_name_3 WHERE record = "3-2" AND _number_of_bids > 3</s> |
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR) | SELECT MAX(january) FROM table_27539272_7 WHERE record = "15-29-3" | On what day in January was the record 15-29-3? | <s>[INST]On what day in January was the record 15-29-3? Context: CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)[/INST]SELECT MAX(january) FROM table_27539272_7 WHERE record = "15-29-3"</s> |
CREATE TABLE table_name_92 (rank INTEGER, matches VARCHAR) | SELECT MAX(rank) FROM table_name_92 WHERE matches = 362 | What is the Rank of the player with 362 Matches? | <s>[INST]What is the Rank of the player with 362 Matches? Context: CREATE TABLE table_name_92 (rank INTEGER, matches VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_92 WHERE matches = 362</s> |
CREATE TABLE chip_model (wifi VARCHAR) | SELECT COUNT(*) FROM chip_model WHERE wifi = 'No' | How many models do not have the wifi function? | <s>[INST]How many models do not have the wifi function? Context: CREATE TABLE chip_model (wifi VARCHAR)[/INST]SELECT COUNT(*) FROM chip_model WHERE wifi = 'No'</s> |
CREATE TABLE table_name_78 (estimate VARCHAR, date VARCHAR) | SELECT estimate FROM table_name_78 WHERE date = "april 27, 1865" | What was the estimated number of victims for the April 27, 1865 sinking? | <s>[INST]What was the estimated number of victims for the April 27, 1865 sinking? Context: CREATE TABLE table_name_78 (estimate VARCHAR, date VARCHAR)[/INST]SELECT estimate FROM table_name_78 WHERE date = "april 27, 1865"</s> |
CREATE TABLE table_27631002_1 (points VARCHAR, position VARCHAR) | SELECT COUNT(points) FROM table_27631002_1 WHERE position = "6th" | How many entries are there for points for the 6th position? | <s>[INST]How many entries are there for points for the 6th position? Context: CREATE TABLE table_27631002_1 (points VARCHAR, position VARCHAR)[/INST]SELECT COUNT(points) FROM table_27631002_1 WHERE position = "6th"</s> |
CREATE TABLE table_name_25 (winners VARCHAR, venue VARCHAR) | SELECT winners FROM table_name_25 WHERE venue = "krško" | Who won at Krško? | <s>[INST]Who won at Krško? Context: CREATE TABLE table_name_25 (winners VARCHAR, venue VARCHAR)[/INST]SELECT winners FROM table_name_25 WHERE venue = "krško"</s> |
CREATE TABLE table_name_31 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = "goverdhan" | What Reserved for (SC / ST /None) with a Name of goverdhan? | <s>[INST]What Reserved for (SC / ST /None) with a Name of goverdhan? Context: CREATE TABLE table_name_31 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)[/INST]SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = "goverdhan"</s> |
CREATE TABLE table_24565004_20 (goals¹ INTEGER, nationality² VARCHAR) | SELECT MIN(goals¹) FROM table_24565004_20 WHERE nationality² = "Algeria" | Name the most goals for algeria | <s>[INST]Name the most goals for algeria Context: CREATE TABLE table_24565004_20 (goals¹ INTEGER, nationality² VARCHAR)[/INST]SELECT MIN(goals¹) FROM table_24565004_20 WHERE nationality² = "Algeria"</s> |
CREATE TABLE table_name_69 (class VARCHAR) | SELECT 1958 AS _cié FROM table_name_69 WHERE class = "s" | What 1958 CIE is class s? | <s>[INST]What 1958 CIE is class s? Context: CREATE TABLE table_name_69 (class VARCHAR)[/INST]SELECT 1958 AS _cié FROM table_name_69 WHERE class = "s"</s> |
CREATE TABLE table_name_21 (audio VARCHAR, title VARCHAR) | SELECT audio FROM table_name_21 WHERE title = "a storm of swords" | Which audio has a Title of a storm of swords? | <s>[INST]Which audio has a Title of a storm of swords? Context: CREATE TABLE table_name_21 (audio VARCHAR, title VARCHAR)[/INST]SELECT audio FROM table_name_21 WHERE title = "a storm of swords"</s> |
CREATE TABLE table_name_16 (year VARCHAR, circuit VARCHAR, winning_constructor VARCHAR) | SELECT year FROM table_name_16 WHERE circuit = "kyalami" AND winning_constructor = "ferrari" | What year did Ferrari win the Kyalami circuit? | <s>[INST]What year did Ferrari win the Kyalami circuit? Context: CREATE TABLE table_name_16 (year VARCHAR, circuit VARCHAR, winning_constructor VARCHAR)[/INST]SELECT year FROM table_name_16 WHERE circuit = "kyalami" AND winning_constructor = "ferrari"</s> |
CREATE TABLE elimination (TIME VARCHAR, Eliminated_By VARCHAR) | SELECT TIME FROM elimination WHERE Eliminated_By = "Punk" OR Eliminated_By = "Orton" | Show the times of elimination by "Punk" or "Orton". | <s>[INST]Show the times of elimination by "Punk" or "Orton". Context: CREATE TABLE elimination (TIME VARCHAR, Eliminated_By VARCHAR)[/INST]SELECT TIME FROM elimination WHERE Eliminated_By = "Punk" OR Eliminated_By = "Orton"</s> |
CREATE TABLE table_name_24 (player VARCHAR, cfl_team VARCHAR) | SELECT player FROM table_name_24 WHERE cfl_team = "toronto" | Name the Player who has a CFL Team of toronto? | <s>[INST]Name the Player who has a CFL Team of toronto? Context: CREATE TABLE table_name_24 (player VARCHAR, cfl_team VARCHAR)[/INST]SELECT player FROM table_name_24 WHERE cfl_team = "toronto"</s> |
CREATE TABLE table_name_79 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_79 WHERE time_retired = "+17.276" AND laps > 22 | What is the average grid for competitors who had more than 22 laps and time/retired of +17.276? | <s>[INST]What is the average grid for competitors who had more than 22 laps and time/retired of +17.276? Context: CREATE TABLE table_name_79 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_79 WHERE time_retired = "+17.276" AND laps > 22</s> |
CREATE TABLE Has_allergy (Allergy VARCHAR) | SELECT Allergy, COUNT(*) FROM Has_allergy GROUP BY Allergy | Show all allergies with number of students affected. | <s>[INST]Show all allergies with number of students affected. Context: CREATE TABLE Has_allergy (Allergy VARCHAR)[/INST]SELECT Allergy, COUNT(*) FROM Has_allergy GROUP BY Allergy</s> |
CREATE TABLE table_name_50 (rank INTEGER, goals VARCHAR, name VARCHAR) | SELECT MIN(rank) FROM table_name_50 WHERE goals > 124 AND name = "jeff cunningham" | What is the lowest Rank when the goals are less than 124 for Jeff Cunningham? | <s>[INST]What is the lowest Rank when the goals are less than 124 for Jeff Cunningham? Context: CREATE TABLE table_name_50 (rank INTEGER, goals VARCHAR, name VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_50 WHERE goals > 124 AND name = "jeff cunningham"</s> |
CREATE TABLE table_17335602_1 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_17335602_1 WHERE tournament = "McDonald's LPGA Championship" | When was the mcdonald's lpga championship? | <s>[INST]When was the mcdonald's lpga championship? Context: CREATE TABLE table_17335602_1 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_17335602_1 WHERE tournament = "McDonald's LPGA Championship"</s> |
CREATE TABLE table_name_28 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) | SELECT city_of_license FROM table_name_28 WHERE frequency_mhz > 102.3 AND call_sign = "k292eu" | In which city is the station licensed whose frequency MHz is higher than 102.3 and whose call sign is K292EU? | <s>[INST]In which city is the station licensed whose frequency MHz is higher than 102.3 and whose call sign is K292EU? Context: CREATE TABLE table_name_28 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)[/INST]SELECT city_of_license FROM table_name_28 WHERE frequency_mhz > 102.3 AND call_sign = "k292... |
CREATE TABLE table_2385460_1 (lines VARCHAR, route VARCHAR) | SELECT COUNT(lines) FROM table_2385460_1 WHERE route = "Porta Nolana - Ottaviano- Sarno" | Name the number of lines for porta nolana - ottaviano- sarno | <s>[INST]Name the number of lines for porta nolana - ottaviano- sarno Context: CREATE TABLE table_2385460_1 (lines VARCHAR, route VARCHAR)[/INST]SELECT COUNT(lines) FROM table_2385460_1 WHERE route = "Porta Nolana - Ottaviano- Sarno"</s> |
CREATE TABLE table_name_85 (position VARCHAR, caps VARCHAR) | SELECT position FROM table_name_85 WHERE caps = 13 | What position does the player with 13 caps play? | <s>[INST]What position does the player with 13 caps play? Context: CREATE TABLE table_name_85 (position VARCHAR, caps VARCHAR)[/INST]SELECT position FROM table_name_85 WHERE caps = 13</s> |
CREATE TABLE table_name_82 (game INTEGER, team VARCHAR) | SELECT SUM(game) FROM table_name_82 WHERE team = "@ miami" | What number game was it that the Spurs were @ Miami? | <s>[INST]What number game was it that the Spurs were @ Miami? Context: CREATE TABLE table_name_82 (game INTEGER, team VARCHAR)[/INST]SELECT SUM(game) FROM table_name_82 WHERE team = "@ miami"</s> |
CREATE TABLE table_name_20 (group_a VARCHAR, region VARCHAR) | SELECT group_a FROM table_name_20 WHERE region = 2 | What is the group A region with a region number of 2? | <s>[INST]What is the group A region with a region number of 2? Context: CREATE TABLE table_name_20 (group_a VARCHAR, region VARCHAR)[/INST]SELECT group_a FROM table_name_20 WHERE region = 2</s> |
CREATE TABLE table_name_26 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR) | SELECT MIN(extra_points) FROM table_name_26 WHERE player = "rheinschild" AND touchdowns > 1 | Which Extra points is the lowest one that has a Player of rheinschild, and Touchdowns larger than 1? | <s>[INST]Which Extra points is the lowest one that has a Player of rheinschild, and Touchdowns larger than 1? Context: CREATE TABLE table_name_26 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)[/INST]SELECT MIN(extra_points) FROM table_name_26 WHERE player = "rheinschild" AND touchdowns > 1</s> |
CREATE TABLE table_name_46 (gershausen VARCHAR, willingshain VARCHAR, reckerode_ VARCHAR) | SELECT gershausen FROM table_name_46 WHERE willingshain = "243" AND reckerode_ * * * * = "224" | What Gershausen has a Willingshain of 243 and Reckerode of 224? | <s>[INST]What Gershausen has a Willingshain of 243 and Reckerode of 224? Context: CREATE TABLE table_name_46 (gershausen VARCHAR, willingshain VARCHAR, reckerode_ VARCHAR)[/INST]SELECT gershausen FROM table_name_46 WHERE willingshain = "243" AND reckerode_ * * * * = "224"</s> |
CREATE TABLE table_22736523_1 (result VARCHAR, order__number VARCHAR, song_choice VARCHAR) | SELECT result FROM table_22736523_1 WHERE order__number = "10" AND song_choice = "Coba" | If the song choice is Coba and the order number is 10, what is the result? | <s>[INST]If the song choice is Coba and the order number is 10, what is the result? Context: CREATE TABLE table_22736523_1 (result VARCHAR, order__number VARCHAR, song_choice VARCHAR)[/INST]SELECT result FROM table_22736523_1 WHERE order__number = "10" AND song_choice = "Coba"</s> |
CREATE TABLE table_name_18 (year VARCHAR, genre VARCHAR) | SELECT year FROM table_name_18 WHERE genre = "platform game" | What year has a genre the platform game? | <s>[INST]What year has a genre the platform game? Context: CREATE TABLE table_name_18 (year VARCHAR, genre VARCHAR)[/INST]SELECT year FROM table_name_18 WHERE genre = "platform game"</s> |
CREATE TABLE table_name_16 (winner VARCHAR, city VARCHAR) | SELECT winner FROM table_name_16 WHERE city = "lima" | Who is the winner in the city of lima? | <s>[INST]Who is the winner in the city of lima? Context: CREATE TABLE table_name_16 (winner VARCHAR, city VARCHAR)[/INST]SELECT winner FROM table_name_16 WHERE city = "lima"</s> |
CREATE TABLE table_name_72 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_72 WHERE home_team = "scarborough" | What is the Score of the Scarborough Home game? | <s>[INST]What is the Score of the Scarborough Home game? Context: CREATE TABLE table_name_72 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE home_team = "scarborough"</s> |
CREATE TABLE table_name_18 (points VARCHAR, chassis VARCHAR) | SELECT COUNT(points) FROM table_name_18 WHERE chassis = "ligier js11/15" | What is the total points of teams using a ligier js11/15 chassis? | <s>[INST]What is the total points of teams using a ligier js11/15 chassis? Context: CREATE TABLE table_name_18 (points VARCHAR, chassis VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_18 WHERE chassis = "ligier js11/15"</s> |
CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_80 WHERE venue = "serravalle, san marino" | What is the competition that was at serravalle, san marino? | <s>[INST]What is the competition that was at serravalle, san marino? Context: CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_80 WHERE venue = "serravalle, san marino"</s> |
CREATE TABLE TV_Channel (series_name VARCHAR, content VARCHAR) | SELECT COUNT(DISTINCT series_name), COUNT(DISTINCT content) FROM TV_Channel | List the number of different series names and contents in the TV Channel table. | <s>[INST]List the number of different series names and contents in the TV Channel table. Context: CREATE TABLE TV_Channel (series_name VARCHAR, content VARCHAR)[/INST]SELECT COUNT(DISTINCT series_name), COUNT(DISTINCT content) FROM TV_Channel</s> |
CREATE TABLE table_13719788_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director FROM table_13719788_1 WHERE film_title_used_in_nomination = "Gie" | Who is the director of the film Gie? | <s>[INST]Who is the director of the film Gie? Context: CREATE TABLE table_13719788_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT director FROM table_13719788_1 WHERE film_title_used_in_nomination = "Gie"</s> |
CREATE TABLE table_name_86 (mls_team VARCHAR, pick__number VARCHAR) | SELECT mls_team FROM table_name_86 WHERE pick__number = 41 | Which MLS team has the #41 pick? | <s>[INST]Which MLS team has the #41 pick? Context: CREATE TABLE table_name_86 (mls_team VARCHAR, pick__number VARCHAR)[/INST]SELECT mls_team FROM table_name_86 WHERE pick__number = 41</s> |
CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR) | SELECT MAX(planetary_mass___m) AS ⊕__ FROM table_name_5 WHERE rv__cm_s_ = 65 AND period__days_ < 21 | What is the highest planetary mass having an RV (cm/s) of 65 and a Period (days) less than 21? | <s>[INST]What is the highest planetary mass having an RV (cm/s) of 65 and a Period (days) less than 21? Context: CREATE TABLE table_name_5 (planetary_mass___m INTEGER, rv__cm_s_ VARCHAR, period__days_ VARCHAR)[/INST]SELECT MAX(planetary_mass___m) AS ⊕__ FROM table_name_5 WHERE rv__cm_s_ = 65 AND period__days_ < 21</s> |
CREATE TABLE table_name_87 (airport VARCHAR, city VARCHAR) | SELECT airport FROM table_name_87 WHERE city = "toronto" | What airport is in Toronto? | <s>[INST]What airport is in Toronto? Context: CREATE TABLE table_name_87 (airport VARCHAR, city VARCHAR)[/INST]SELECT airport FROM table_name_87 WHERE city = "toronto"</s> |
CREATE TABLE table_name_2 (leading_scorer_1 VARCHAR, leaguecontested VARCHAR, fa_cup VARCHAR) | SELECT leading_scorer_1 FROM table_name_2 WHERE leaguecontested = "northern premier league premier division" AND fa_cup = "2q" | Which Leading scorer 1 has a League Contested of northern premier league premier division, and an FA Cup of 2q? | <s>[INST]Which Leading scorer 1 has a League Contested of northern premier league premier division, and an FA Cup of 2q? Context: CREATE TABLE table_name_2 (leading_scorer_1 VARCHAR, leaguecontested VARCHAR, fa_cup VARCHAR)[/INST]SELECT leading_scorer_1 FROM table_name_2 WHERE leaguecontested = "northern premier league... |
CREATE TABLE table_name_98 (year__ceremony_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_name_98 WHERE original_title = "ničiji sin" | What is the year of the ceremony with the original title ničiji sin? | <s>[INST]What is the year of the ceremony with the original title ničiji sin? Context: CREATE TABLE table_name_98 (year__ceremony_ VARCHAR, original_title VARCHAR)[/INST]SELECT year__ceremony_ FROM table_name_98 WHERE original_title = "ničiji sin"</s> |
CREATE TABLE table_name_14 (time VARCHAR, team_s_ VARCHAR, artist_s_ VARCHAR) | SELECT time FROM table_name_14 WHERE team_s_ = "minnesota vikings" AND artist_s_ = "xxx" | How long is the XXX track used by the Minnesota Vikings? | <s>[INST]How long is the XXX track used by the Minnesota Vikings? Context: CREATE TABLE table_name_14 (time VARCHAR, team_s_ VARCHAR, artist_s_ VARCHAR)[/INST]SELECT time FROM table_name_14 WHERE team_s_ = "minnesota vikings" AND artist_s_ = "xxx"</s> |
CREATE TABLE table_29535057_4 (location VARCHAR, acc_team VARCHAR) | SELECT location FROM table_29535057_4 WHERE acc_team = "Wake Forest" | Where did the games that had Wake Forest as Acc Team take place? | <s>[INST]Where did the games that had Wake Forest as Acc Team take place? Context: CREATE TABLE table_29535057_4 (location VARCHAR, acc_team VARCHAR)[/INST]SELECT location FROM table_29535057_4 WHERE acc_team = "Wake Forest"</s> |
CREATE TABLE table_name_99 (rowers VARCHAR, notes VARCHAR, time VARCHAR) | SELECT rowers FROM table_name_99 WHERE notes = "fc" AND time = "7:41.97" | What is the Rowers of the race with a Time of 7:41.97 and Notes of FC? | <s>[INST]What is the Rowers of the race with a Time of 7:41.97 and Notes of FC? Context: CREATE TABLE table_name_99 (rowers VARCHAR, notes VARCHAR, time VARCHAR)[/INST]SELECT rowers FROM table_name_99 WHERE notes = "fc" AND time = "7:41.97"</s> |
CREATE TABLE table_name_81 (week VARCHAR, date VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_81 WHERE date = "november 5, 1973" AND attendance > 49 OFFSET 220 | What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220? | <s>[INST]What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220? Context: CREATE TABLE table_name_81 (week VARCHAR, date VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_81 WHERE date = "november 5, 1973" AND attendance > 49 OFFSET 220</s> |
CREATE TABLE table_27274222_2 (valid_votes VARCHAR, province VARCHAR) | SELECT COUNT(valid_votes) FROM table_27274222_2 WHERE province = "Denizli" | When Denizli was the province, what was the total number of valid votes? | <s>[INST]When Denizli was the province, what was the total number of valid votes? Context: CREATE TABLE table_27274222_2 (valid_votes VARCHAR, province VARCHAR)[/INST]SELECT COUNT(valid_votes) FROM table_27274222_2 WHERE province = "Denizli"</s> |
CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, divisions VARCHAR) | SELECT prize__eur_ FROM table_20195922_3 WHERE divisions = "6th" | What is the prize (eur) for the 6th division? | <s>[INST]What is the prize (eur) for the 6th division? Context: CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, divisions VARCHAR)[/INST]SELECT prize__eur_ FROM table_20195922_3 WHERE divisions = "6th"</s> |
CREATE TABLE table_name_68 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_68 WHERE player = "zack walz" | Name the Round which has a Player of zack walz? | <s>[INST]Name the Round which has a Player of zack walz? Context: CREATE TABLE table_name_68 (round VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_68 WHERE player = "zack walz"</s> |
CREATE TABLE table_name_5 (polling_organisation_client VARCHAR, others VARCHAR) | SELECT polling_organisation_client FROM table_name_5 WHERE others = "7%" | When the others had a value of 7%, what was the Polling organisation/client? | <s>[INST]When the others had a value of 7%, what was the Polling organisation/client? Context: CREATE TABLE table_name_5 (polling_organisation_client VARCHAR, others VARCHAR)[/INST]SELECT polling_organisation_client FROM table_name_5 WHERE others = "7%"</s> |
CREATE TABLE table_name_48 (rounds VARCHAR, entrant VARCHAR) | SELECT rounds FROM table_name_48 WHERE entrant = "scuderia milano" | In what rounds did Scuderia Milano participate? | <s>[INST]In what rounds did Scuderia Milano participate? Context: CREATE TABLE table_name_48 (rounds VARCHAR, entrant VARCHAR)[/INST]SELECT rounds FROM table_name_48 WHERE entrant = "scuderia milano"</s> |
CREATE TABLE table_name_93 (catalog VARCHAR, format VARCHAR) | SELECT catalog FROM table_name_93 WHERE format = "cd" | Name the catalog with cd format | <s>[INST]Name the catalog with cd format Context: CREATE TABLE table_name_93 (catalog VARCHAR, format VARCHAR)[/INST]SELECT catalog FROM table_name_93 WHERE format = "cd"</s> |
CREATE TABLE table_28243691_2 (team_nickname VARCHAR, enrollment VARCHAR) | SELECT team_nickname FROM table_28243691_2 WHERE enrollment = 40747 | What's the nickname of the team with enrollment of 40747? | <s>[INST]What's the nickname of the team with enrollment of 40747? Context: CREATE TABLE table_28243691_2 (team_nickname VARCHAR, enrollment VARCHAR)[/INST]SELECT team_nickname FROM table_28243691_2 WHERE enrollment = 40747</s> |
CREATE TABLE table_29942205_1 (country_territory VARCHAR) | SELECT 1 AS st_runner_up FROM table_29942205_1 WHERE country_territory = "Philippines" | How many women has got the first runner-up position in representation of Philippines? | <s>[INST]How many women has got the first runner-up position in representation of Philippines? Context: CREATE TABLE table_29942205_1 (country_territory VARCHAR)[/INST]SELECT 1 AS st_runner_up FROM table_29942205_1 WHERE country_territory = "Philippines"</s> |
CREATE TABLE table_name_7 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_7 WHERE college = "tennessee-chattanooga" | Which player went to college at Tennessee-Chattanooga? | <s>[INST]Which player went to college at Tennessee-Chattanooga? Context: CREATE TABLE table_name_7 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_7 WHERE college = "tennessee-chattanooga"</s> |
CREATE TABLE table_1213511_3 (nhl_team VARCHAR, player VARCHAR) | SELECT COUNT(nhl_team) FROM table_1213511_3 WHERE player = "Bob Peppler" | How many teams did Bob Peppler play for? | <s>[INST]How many teams did Bob Peppler play for? Context: CREATE TABLE table_1213511_3 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT COUNT(nhl_team) FROM table_1213511_3 WHERE player = "Bob Peppler"</s> |
CREATE TABLE table_name_60 (ground VARCHAR, date VARCHAR) | SELECT ground FROM table_name_60 WHERE date = "31 jul 2007" | On what ground was the game on 31 Jul 2007? | <s>[INST]On what ground was the game on 31 Jul 2007? Context: CREATE TABLE table_name_60 (ground VARCHAR, date VARCHAR)[/INST]SELECT ground FROM table_name_60 WHERE date = "31 jul 2007"</s> |
CREATE TABLE table_13050003_2 (blocks VARCHAR, points VARCHAR) | SELECT blocks FROM table_13050003_2 WHERE points = "Zach Randolph (24)" | Who are the blockers where points are scored by Zach Randolph (24)? | <s>[INST]Who are the blockers where points are scored by Zach Randolph (24)? Context: CREATE TABLE table_13050003_2 (blocks VARCHAR, points VARCHAR)[/INST]SELECT blocks FROM table_13050003_2 WHERE points = "Zach Randolph (24)"</s> |
CREATE TABLE table_name_5 (time__eest_ VARCHAR, stage VARCHAR) | SELECT time__eest_ FROM table_name_5 WHERE stage = "ss8" | What is the Time (EEST), when the Stage is ss8? | <s>[INST]What is the Time (EEST), when the Stage is ss8? Context: CREATE TABLE table_name_5 (time__eest_ VARCHAR, stage VARCHAR)[/INST]SELECT time__eest_ FROM table_name_5 WHERE stage = "ss8"</s> |
CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_29 WHERE home = "buffalo" | Who is the visitor team of the game where Buffalo was the home team? | <s>[INST]Who is the visitor team of the game where Buffalo was the home team? Context: CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_29 WHERE home = "buffalo"</s> |
CREATE TABLE table_name_38 (name VARCHAR, decile INTEGER) | SELECT name FROM table_name_38 WHERE decile > 7 | Which Names have Deciles larger than 7? | <s>[INST]Which Names have Deciles larger than 7? Context: CREATE TABLE table_name_38 (name VARCHAR, decile INTEGER)[/INST]SELECT name FROM table_name_38 WHERE decile > 7</s> |
CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_71 WHERE place = "t3" AND country = "united states" AND player = "steve flesch" | what was steve flesch's to par when he was placed at t3 in the united states? | <s>[INST]what was steve flesch's to par when he was placed at t3 in the united states? Context: CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_71 WHERE place = "t3" AND country = "united states" AND player = "steve flesch"</s> |
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_14 WHERE record = "8–6–3" | On what date was the record 8–6–3? | <s>[INST]On what date was the record 8–6–3? Context: CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE record = "8–6–3"</s> |
CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR, total VARCHAR) | SELECT COUNT(bronze) FROM table_name_67 WHERE silver > 8 AND total = 50 | What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals? | <s>[INST]What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals? Context: CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_67 WHERE silver > 8 AND total = 50</s> |
CREATE TABLE table_1682026_3 (assets__billion_$_ VARCHAR, headquarters VARCHAR, profits__billion_$_ VARCHAR) | SELECT assets__billion_$_ FROM table_1682026_3 WHERE headquarters = "China" AND profits__billion_$_ = "21.2" | What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion? | <s>[INST]What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion? Context: CREATE TABLE table_1682026_3 (assets__billion_$_ VARCHAR, headquarters VARCHAR, profits__billion_$_ VARCHAR)[/INST]SELECT assets__billion_$_ FROM table_1682026_3 WHERE headquarters = "China" AND... |
CREATE TABLE table_name_18 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_18 WHERE home_team = "millwall" | What is the score if Millwall is the Home Team? | <s>[INST]What is the score if Millwall is the Home Team? Context: CREATE TABLE table_name_18 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE home_team = "millwall"</s> |
CREATE TABLE table_name_97 (school_club_team VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_97 WHERE round < 5 AND pick > 1 AND player = "reggie mckenzie" | Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mckenzie? | <s>[INST]Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mckenzie? Context: CREATE TABLE table_name_97 (school_club_team VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT school_club_team FROM table_name_97 WHERE round < 5 AND pick > 1 AND player = "reggi... |
CREATE TABLE table_name_36 (year INTEGER, venue VARCHAR) | SELECT MAX(year) FROM table_name_36 WHERE venue = "gothenburg, sweden" | When is the latest year the venue is in gothenburg, sweden? | <s>[INST]When is the latest year the venue is in gothenburg, sweden? Context: CREATE TABLE table_name_36 (year INTEGER, venue VARCHAR)[/INST]SELECT MAX(year) FROM table_name_36 WHERE venue = "gothenburg, sweden"</s> |
CREATE TABLE table_name_26 (length VARCHAR, bullet VARCHAR) | SELECT length FROM table_name_26 WHERE bullet = "6.5 (.257)" | Which length has a Bullet of 6.5 (.257)? | <s>[INST]Which length has a Bullet of 6.5 (.257)? Context: CREATE TABLE table_name_26 (length VARCHAR, bullet VARCHAR)[/INST]SELECT length FROM table_name_26 WHERE bullet = "6.5 (.257)"</s> |
CREATE TABLE table_name_7 (Music VARCHAR, year VARCHAR, movie__in_kannada__ VARCHAR) | SELECT Music AS director FROM table_name_7 WHERE year = 1971 AND movie__in_kannada__ = "kalyani" | Who was the music director in 1971 for the movie Kalyani? | <s>[INST]Who was the music director in 1971 for the movie Kalyani? Context: CREATE TABLE table_name_7 (Music VARCHAR, year VARCHAR, movie__in_kannada__ VARCHAR)[/INST]SELECT Music AS director FROM table_name_7 WHERE year = 1971 AND movie__in_kannada__ = "kalyani"</s> |
CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR) | SELECT points FROM table_24998088_1 WHERE position = "34th" | How many points did he have when he has in the 34th position? | <s>[INST]How many points did he have when he has in the 34th position? Context: CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR)[/INST]SELECT points FROM table_24998088_1 WHERE position = "34th"</s> |
CREATE TABLE table_name_45 (team VARCHAR, outgoing_manager VARCHAR) | SELECT team FROM table_name_45 WHERE outgoing_manager = "christoph john" | Which team had Christoph John as an outgoing manager? | <s>[INST]Which team had Christoph John as an outgoing manager? Context: CREATE TABLE table_name_45 (team VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT team FROM table_name_45 WHERE outgoing_manager = "christoph john"</s> |
CREATE TABLE table_name_42 (diameter__km_ INTEGER, longitude VARCHAR, year_named VARCHAR) | SELECT SUM(diameter__km_) FROM table_name_42 WHERE longitude = "105.0e" AND year_named < 2003 | What's the diameter when longitude is 105.0e before 2003? | <s>[INST]What's the diameter when longitude is 105.0e before 2003? Context: CREATE TABLE table_name_42 (diameter__km_ INTEGER, longitude VARCHAR, year_named VARCHAR)[/INST]SELECT SUM(diameter__km_) FROM table_name_42 WHERE longitude = "105.0e" AND year_named < 2003</s> |
CREATE TABLE city (name VARCHAR, population INTEGER) | SELECT name FROM city WHERE population BETWEEN 160000 AND 900000 | Return the names of cities that have a population between 160000 and 900000 . | <s>[INST]Return the names of cities that have a population between 160000 and 900000 . Context: CREATE TABLE city (name VARCHAR, population INTEGER)[/INST]SELECT name FROM city WHERE population BETWEEN 160000 AND 900000</s> |
CREATE TABLE table_name_8 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_8 WHERE rank = "5" AND silver > 0 | Rank of 5, and a Silver larger than 0 had what sum of total? | <s>[INST]Rank of 5, and a Silver larger than 0 had what sum of total? Context: CREATE TABLE table_name_8 (total INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT SUM(total) FROM table_name_8 WHERE rank = "5" AND silver > 0</s> |
CREATE TABLE table_name_59 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_59 WHERE original_title = "the crying game" | Who is the Director of the Original title of The Crying Game? | <s>[INST]Who is the Director of the Original title of The Crying Game? Context: CREATE TABLE table_name_59 (director VARCHAR, original_title VARCHAR)[/INST]SELECT director FROM table_name_59 WHERE original_title = "the crying game"</s> |
CREATE TABLE table_name_86 (cfl_team VARCHAR, pick__number VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_name_86 WHERE pick__number > 34 AND college = "boise state" | What is CFL Team, when Pick # is greater than 34, and when College is Boise State? | <s>[INST]What is CFL Team, when Pick # is greater than 34, and when College is Boise State? Context: CREATE TABLE table_name_86 (cfl_team VARCHAR, pick__number VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_name_86 WHERE pick__number > 34 AND college = "boise state"</s> |
CREATE TABLE table_name_20 (taper__in_ft_ INTEGER, size VARCHAR) | SELECT MAX(taper__in_ft_) FROM table_name_20 WHERE size = 8 | What is the highest Taper (in/ft), when Size is 8? | <s>[INST]What is the highest Taper (in/ft), when Size is 8? Context: CREATE TABLE table_name_20 (taper__in_ft_ INTEGER, size VARCHAR)[/INST]SELECT MAX(taper__in_ft_) FROM table_name_20 WHERE size = 8</s> |
CREATE TABLE table_name_28 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_28 WHERE date = "august 29" | What was the opposing team for the game on August 29? | <s>[INST]What was the opposing team for the game on August 29? Context: CREATE TABLE table_name_28 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_28 WHERE date = "august 29"</s> |
CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_22570439_1 WHERE directed_by = "Mark Worthington" | Who is the written by when mark worthington is the director? | <s>[INST]Who is the written by when mark worthington is the director? Context: CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_22570439_1 WHERE directed_by = "Mark Worthington"</s> |
CREATE TABLE table_26967904_1 (chambering VARCHAR, f_bolt VARCHAR, p_max___bar__ VARCHAR) | SELECT chambering FROM table_26967904_1 WHERE f_bolt = "N (lbf)" AND p_max___bar__ = 3900 | With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900? | <s>[INST]With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900? Context: CREATE TABLE table_26967904_1 (chambering VARCHAR, f_bolt VARCHAR, p_max___bar__ VARCHAR)[/INST]SELECT chambering FROM table_26967904_1 WHERE f_bolt = "N (lbf)" AND p_max___bar__ = 3900</s> |
CREATE TABLE table_name_12 (roll VARCHAR, name VARCHAR) | SELECT COUNT(roll) FROM table_name_12 WHERE name = "te hapua school" | What is the total number of roll for Te Hapua school? | <s>[INST]What is the total number of roll for Te Hapua school? Context: CREATE TABLE table_name_12 (roll VARCHAR, name VARCHAR)[/INST]SELECT COUNT(roll) FROM table_name_12 WHERE name = "te hapua school"</s> |
CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city" | What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? | <s>[INST]What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? Context: CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)[/INST]SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwic... |
CREATE TABLE table_name_17 (try_bonus VARCHAR, tries_against VARCHAR) | SELECT try_bonus FROM table_name_17 WHERE tries_against = "19" | What try bonus has 19 as the tries against? | <s>[INST]What try bonus has 19 as the tries against? Context: CREATE TABLE table_name_17 (try_bonus VARCHAR, tries_against VARCHAR)[/INST]SELECT try_bonus FROM table_name_17 WHERE tries_against = "19"</s> |
CREATE TABLE table_1342233_24 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342233_24 WHERE incumbent = "Jamie L. Whitten" | Which district is jamie l. whitten from? | <s>[INST]Which district is jamie l. whitten from? Context: CREATE TABLE table_1342233_24 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342233_24 WHERE incumbent = "Jamie L. Whitten"</s> |
CREATE TABLE table_name_67 (league INTEGER, total INTEGER) | SELECT MIN(league) FROM table_name_67 WHERE total > 8 | What is the lowest number of goals scored by a player in the normal league games where more than 8 total goals were scored? | <s>[INST]What is the lowest number of goals scored by a player in the normal league games where more than 8 total goals were scored? Context: CREATE TABLE table_name_67 (league INTEGER, total INTEGER)[/INST]SELECT MIN(league) FROM table_name_67 WHERE total > 8</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.