context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR) | SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival" | What nominated work has seattle international film festival as the award? | <s>[INST]What nominated work has seattle international film festival as the award? Context: CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR)[/INST]SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival"</s> |
CREATE TABLE table_name_66 (date VARCHAR, team VARCHAR) | SELECT date FROM table_name_66 WHERE team = "rockies" | I want the date for rockies | <s>[INST]I want the date for rockies Context: CREATE TABLE table_name_66 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE team = "rockies"</s> |
CREATE TABLE table_name_9 (kickoff_ VARCHAR, a_ VARCHAR, attendance VARCHAR) | SELECT kickoff_[a_] FROM table_name_9 WHERE attendance = "58,120" | Which kickoff had an attendance of 58,120? | <s>[INST]Which kickoff had an attendance of 58,120? Context: CREATE TABLE table_name_9 (kickoff_ VARCHAR, a_ VARCHAR, attendance VARCHAR)[/INST]SELECT kickoff_[a_] FROM table_name_9 WHERE attendance = "58,120"</s> |
CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, player VARCHAR) | SELECT position FROM table_name_22 WHERE round < 6 AND player = "bill campbell" | What is the position Bill Campbell played before round 6? | <s>[INST]What is the position Bill Campbell played before round 6? Context: CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_22 WHERE round < 6 AND player = "bill campbell"</s> |
CREATE TABLE table_name_30 (lost VARCHAR, against VARCHAR, points VARCHAR) | SELECT lost FROM table_name_30 WHERE against > 22 AND points = 9 | Which amount of lost had an against of more than 22 and 9 points? | <s>[INST]Which amount of lost had an against of more than 22 and 9 points? Context: CREATE TABLE table_name_30 (lost VARCHAR, against VARCHAR, points VARCHAR)[/INST]SELECT lost FROM table_name_30 WHERE against > 22 AND points = 9</s> |
CREATE TABLE table_name_92 (method VARCHAR, record VARCHAR) | SELECT method FROM table_name_92 WHERE record = "4-0" | What was the method of resolution when Mikhail Ilyukhin's record was 4-0? | <s>[INST]What was the method of resolution when Mikhail Ilyukhin's record was 4-0? Context: CREATE TABLE table_name_92 (method VARCHAR, record VARCHAR)[/INST]SELECT method FROM table_name_92 WHERE record = "4-0"</s> |
CREATE TABLE table_name_31 (name VARCHAR, number VARCHAR, type VARCHAR) | SELECT name FROM table_name_31 WHERE number < 5 AND type = "bo-bodh" | What is the name of the bo-bodh train with a number less than 5? | <s>[INST]What is the name of the bo-bodh train with a number less than 5? Context: CREATE TABLE table_name_31 (name VARCHAR, number VARCHAR, type VARCHAR)[/INST]SELECT name FROM table_name_31 WHERE number < 5 AND type = "bo-bodh"</s> |
CREATE TABLE table_name_3 (year INTEGER, result VARCHAR, venue VARCHAR) | SELECT MIN(year) FROM table_name_3 WHERE result = "2nd" AND venue = "izmir, turkey" | When was the first year he placed 2nd in Izmir, Turkey? | <s>[INST]When was the first year he placed 2nd in Izmir, Turkey? Context: CREATE TABLE table_name_3 (year INTEGER, result VARCHAR, venue VARCHAR)[/INST]SELECT MIN(year) FROM table_name_3 WHERE result = "2nd" AND venue = "izmir, turkey"</s> |
CREATE TABLE table_name_45 (home VARCHAR, visitor VARCHAR, record VARCHAR) | SELECT home FROM table_name_45 WHERE visitor = "colorado" AND record = "26–15–9" | Which team was the home team when Colorado was the visitor and the record became 26–15–9? | <s>[INST]Which team was the home team when Colorado was the visitor and the record became 26–15–9? Context: CREATE TABLE table_name_45 (home VARCHAR, visitor VARCHAR, record VARCHAR)[/INST]SELECT home FROM table_name_45 WHERE visitor = "colorado" AND record = "26–15–9"</s> |
CREATE TABLE table_name_31 (games_played INTEGER, goals_for VARCHAR, losses VARCHAR, wins VARCHAR) | SELECT SUM(games_played) FROM table_name_31 WHERE losses < 7 AND wins = 6 AND goals_for > 76 | what is the sum of games played when the losses is less than 7, the wins is 6 and the goals for is more than 76? | <s>[INST]what is the sum of games played when the losses is less than 7, the wins is 6 and the goals for is more than 76? Context: CREATE TABLE table_name_31 (games_played INTEGER, goals_for VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT SUM(games_played) FROM table_name_31 WHERE losses < 7 AND wins = 6 AND goals_for > 76</s> |
CREATE TABLE table_name_17 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_17 WHERE away_team = "north melbourne" | What was the Average crowd when the away team was north melbourne? | <s>[INST]What was the Average crowd when the away team was north melbourne? Context: CREATE TABLE table_name_17 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_17 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_2 (entered_office VARCHAR, first_minister VARCHAR) | SELECT entered_office FROM table_name_2 WHERE first_minister = "henry mcleish" | When did first minister Henry Mcleish enter office? | <s>[INST]When did first minister Henry Mcleish enter office? Context: CREATE TABLE table_name_2 (entered_office VARCHAR, first_minister VARCHAR)[/INST]SELECT entered_office FROM table_name_2 WHERE first_minister = "henry mcleish"</s> |
CREATE TABLE table_name_7 (result VARCHAR, venue VARCHAR, game VARCHAR) | SELECT result FROM table_name_7 WHERE venue = "away" AND game > 6 | What is the result of the game with a game number greater than 6 and an away venue? | <s>[INST]What is the result of the game with a game number greater than 6 and an away venue? Context: CREATE TABLE table_name_7 (result VARCHAR, venue VARCHAR, game VARCHAR)[/INST]SELECT result FROM table_name_7 WHERE venue = "away" AND game > 6</s> |
CREATE TABLE table_23799417_2 (total_viewers__in_millions_ VARCHAR, rating VARCHAR) | SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = "9.1" | If the rating is 9.1, what was the total viewers? | <s>[INST]If the rating is 9.1, what was the total viewers? Context: CREATE TABLE table_23799417_2 (total_viewers__in_millions_ VARCHAR, rating VARCHAR)[/INST]SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = "9.1"</s> |
CREATE TABLE table_name_27 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_27 WHERE record = "1–2–4" | What is the Date of the game with a Record of 1–2–4? | <s>[INST]What is the Date of the game with a Record of 1–2–4? Context: CREATE TABLE table_name_27 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_27 WHERE record = "1–2–4"</s> |
CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_86 WHERE score = "7–1" | What team was the opponent when the score was 7–1? | <s>[INST]What team was the opponent when the score was 7–1? Context: CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_86 WHERE score = "7–1"</s> |
CREATE TABLE table_name_83 (takuu VARCHAR, north_marquesan VARCHAR) | SELECT takuu FROM table_name_83 WHERE north_marquesan = "/vehine/" | What kind of Takuu has a North Marquesan of /vehine/? | <s>[INST]What kind of Takuu has a North Marquesan of /vehine/? Context: CREATE TABLE table_name_83 (takuu VARCHAR, north_marquesan VARCHAR)[/INST]SELECT takuu FROM table_name_83 WHERE north_marquesan = "/vehine/"</s> |
CREATE TABLE table_name_40 (type VARCHAR, formed_from VARCHAR) | SELECT type FROM table_name_40 WHERE formed_from = "6-pul trailer third in res unit" | Name the typed for formed from 6-pul trailer third in res unit | <s>[INST]Name the typed for formed from 6-pul trailer third in res unit Context: CREATE TABLE table_name_40 (type VARCHAR, formed_from VARCHAR)[/INST]SELECT type FROM table_name_40 WHERE formed_from = "6-pul trailer third in res unit"</s> |
CREATE TABLE table_name_35 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT call_sign FROM table_name_35 WHERE frequency_mhz < 94.9 AND erp_w = 170 | What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170? | <s>[INST]What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170? Context: CREATE TABLE table_name_35 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)[/INST]SELECT call_sign FROM table_name_35 WHERE frequency_mhz < 94.9 AND erp_w = 170</s> |
CREATE TABLE table_name_46 (loser VARCHAR, result VARCHAR, winner VARCHAR, location VARCHAR) | SELECT loser FROM table_name_46 WHERE winner = "new england patriots" AND location = "giants stadium" AND result = "30–28" | What is the name of the Loser when the winner was new england patriots, and a Location of giants stadium, and a Result of 30–28? | <s>[INST]What is the name of the Loser when the winner was new england patriots, and a Location of giants stadium, and a Result of 30–28? Context: CREATE TABLE table_name_46 (loser VARCHAR, result VARCHAR, winner VARCHAR, location VARCHAR)[/INST]SELECT loser FROM table_name_46 WHERE winner = "new england patriots" AND location = "giants stadium" AND result = "30–28"</s> |
CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_6 WHERE score = "2-1" | Which date has a score of 2-1? | <s>[INST]Which date has a score of 2-1? Context: CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE score = "2-1"</s> |
CREATE TABLE table_14649522_1 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_14649522_1 WHERE player = "Robert Brooks" | What position does Robert Brooks play? | <s>[INST]What position does Robert Brooks play? Context: CREATE TABLE table_14649522_1 (position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(position) FROM table_14649522_1 WHERE player = "Robert Brooks"</s> |
CREATE TABLE table_name_97 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_97 WHERE event = "the national" | What's the location of the National event? | <s>[INST]What's the location of the National event? Context: CREATE TABLE table_name_97 (location VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_97 WHERE event = "the national"</s> |
CREATE TABLE table_name_37 (winner VARCHAR, country VARCHAR) | SELECT winner FROM table_name_37 WHERE country = "scotland" | What is Scotland's winner? | <s>[INST]What is Scotland's winner? Context: CREATE TABLE table_name_37 (winner VARCHAR, country VARCHAR)[/INST]SELECT winner FROM table_name_37 WHERE country = "scotland"</s> |
CREATE TABLE table_name_47 (location_attendance VARCHAR, opponent VARCHAR) | SELECT location_attendance FROM table_name_47 WHERE opponent = "at chicago bulls" | When they played at Chicago Bulls, what was the Location/Attendance? | <s>[INST]When they played at Chicago Bulls, what was the Location/Attendance? Context: CREATE TABLE table_name_47 (location_attendance VARCHAR, opponent VARCHAR)[/INST]SELECT location_attendance FROM table_name_47 WHERE opponent = "at chicago bulls"</s> |
CREATE TABLE table_name_92 (opponents VARCHAR, suits VARCHAR, positional_or_automatic VARCHAR, material_or_non_material VARCHAR) | SELECT opponents FROM table_name_92 WHERE positional_or_automatic = "positional" AND material_or_non_material = "no" AND suits = "3" | What is the value for positional opponents with no material or non-material, and 3 suits? | <s>[INST]What is the value for positional opponents with no material or non-material, and 3 suits? Context: CREATE TABLE table_name_92 (opponents VARCHAR, suits VARCHAR, positional_or_automatic VARCHAR, material_or_non_material VARCHAR)[/INST]SELECT opponents FROM table_name_92 WHERE positional_or_automatic = "positional" AND material_or_non_material = "no" AND suits = "3"</s> |
CREATE TABLE table_name_82 (channel VARCHAR, studio_analysts VARCHAR, play_by_play VARCHAR, studio_host VARCHAR) | SELECT channel FROM table_name_82 WHERE play_by_play = "paul sunderland" AND studio_host = "bill macdonald" AND studio_analysts = "jack haley" | which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley? | <s>[INST]which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley? Context: CREATE TABLE table_name_82 (channel VARCHAR, studio_analysts VARCHAR, play_by_play VARCHAR, studio_host VARCHAR)[/INST]SELECT channel FROM table_name_82 WHERE play_by_play = "paul sunderland" AND studio_host = "bill macdonald" AND studio_analysts = "jack haley"</s> |
CREATE TABLE table_name_17 (year_s__won VARCHAR, to_par VARCHAR) | SELECT year_s__won FROM table_name_17 WHERE to_par = "+14" | The To par of +14 was won in what year(s)? | <s>[INST]The To par of +14 was won in what year(s)? Context: CREATE TABLE table_name_17 (year_s__won VARCHAR, to_par VARCHAR)[/INST]SELECT year_s__won FROM table_name_17 WHERE to_par = "+14"</s> |
CREATE TABLE table_1341604_26 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341604_26 WHERE incumbent = "Ike Skelton" | What was the result of the election featuring ike skelton? | <s>[INST]What was the result of the election featuring ike skelton? Context: CREATE TABLE table_1341604_26 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1341604_26 WHERE incumbent = "Ike Skelton"</s> |
CREATE TABLE table_name_39 (series VARCHAR, conference VARCHAR, season VARCHAR, format VARCHAR) | SELECT series FROM table_name_39 WHERE season > 2008 AND format = "super leg final" AND conference = "conference v" | What series has a season after 2008, super leg final as the format, and conference v as the conference? | <s>[INST]What series has a season after 2008, super leg final as the format, and conference v as the conference? Context: CREATE TABLE table_name_39 (series VARCHAR, conference VARCHAR, season VARCHAR, format VARCHAR)[/INST]SELECT series FROM table_name_39 WHERE season > 2008 AND format = "super leg final" AND conference = "conference v"</s> |
CREATE TABLE table_name_13 (rank VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT rank FROM table_name_13 WHERE silver = 1 AND gold = 0 AND nation = "austria" | Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria? | <s>[INST]Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria? Context: CREATE TABLE table_name_13 (rank VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT rank FROM table_name_13 WHERE silver = 1 AND gold = 0 AND nation = "austria"</s> |
CREATE TABLE table_name_65 (school VARCHAR, nationality VARCHAR, pick VARCHAR) | SELECT school FROM table_name_65 WHERE nationality = "united states" AND pick = "595" | Which school's nationality was United States when its pick was 595? | <s>[INST]Which school's nationality was United States when its pick was 595? Context: CREATE TABLE table_name_65 (school VARCHAR, nationality VARCHAR, pick VARCHAR)[/INST]SELECT school FROM table_name_65 WHERE nationality = "united states" AND pick = "595"</s> |
CREATE TABLE table_1990460_1 (year VARCHAR, regular_season VARCHAR) | SELECT year FROM table_1990460_1 WHERE regular_season = "4th, Midwest" | When did the 4th, Midwest season happen? | <s>[INST]When did the 4th, Midwest season happen? Context: CREATE TABLE table_1990460_1 (year VARCHAR, regular_season VARCHAR)[/INST]SELECT year FROM table_1990460_1 WHERE regular_season = "4th, Midwest"</s> |
CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_43 WHERE date = "october 25" | Which Attendance has a Date of october 25? | <s>[INST]Which Attendance has a Date of october 25? Context: CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_43 WHERE date = "october 25"</s> |
CREATE TABLE table_name_44 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_44 WHERE tie_no = "1" | When the tie no was 1, what was the score? | <s>[INST]When the tie no was 1, what was the score? Context: CREATE TABLE table_name_44 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_44 WHERE tie_no = "1"</s> |
CREATE TABLE table_name_9 (played INTEGER, place INTEGER) | SELECT MAX(played) FROM table_name_9 WHERE place > 10 | What is listed as the Highest Played and that has a Place that is larger than 10? | <s>[INST]What is listed as the Highest Played and that has a Place that is larger than 10? Context: CREATE TABLE table_name_9 (played INTEGER, place INTEGER)[/INST]SELECT MAX(played) FROM table_name_9 WHERE place > 10</s> |
CREATE TABLE table_name_61 (round INTEGER, player VARCHAR, draft VARCHAR) | SELECT AVG(round) FROM table_name_61 WHERE player = "dave pulkkinen" AND draft > 1969 | What is the average round of player dave pulkkinen, who had a draft after 1969? | <s>[INST]What is the average round of player dave pulkkinen, who had a draft after 1969? Context: CREATE TABLE table_name_61 (round INTEGER, player VARCHAR, draft VARCHAR)[/INST]SELECT AVG(round) FROM table_name_61 WHERE player = "dave pulkkinen" AND draft > 1969</s> |
CREATE TABLE table_17340355_7 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_17340355_7 WHERE date = "January 2" | Who had the high assist total on january 2? | <s>[INST]Who had the high assist total on january 2? Context: CREATE TABLE table_17340355_7 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_17340355_7 WHERE date = "January 2"</s> |
CREATE TABLE table_name_88 (player VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_88 WHERE round = "2" AND position = "center" | Which player is in position center for round 2? | <s>[INST]Which player is in position center for round 2? Context: CREATE TABLE table_name_88 (player VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_88 WHERE round = "2" AND position = "center"</s> |
CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_9 WHERE record = "55-24" | Name the date with record of 55-24 | <s>[INST]Name the date with record of 55-24 Context: CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_9 WHERE record = "55-24"</s> |
CREATE TABLE table_21154679_1 (torque VARCHAR, model VARCHAR) | SELECT torque FROM table_21154679_1 WHERE model = "S7 4.0 TFSI quattro" | What is the s7 4.0 tfsi quattro engine torque? | <s>[INST]What is the s7 4.0 tfsi quattro engine torque? Context: CREATE TABLE table_21154679_1 (torque VARCHAR, model VARCHAR)[/INST]SELECT torque FROM table_21154679_1 WHERE model = "S7 4.0 TFSI quattro"</s> |
CREATE TABLE table_name_21 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_21 WHERE winning_score = −5(69 - 69 - 73 = 211) | What was the margin of victory when the winning score was −5 (69-69-73=211)? | <s>[INST]What was the margin of victory when the winning score was −5 (69-69-73=211)? Context: CREATE TABLE table_name_21 (margin_of_victory VARCHAR, winning_score VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_21 WHERE winning_score = −5(69 - 69 - 73 = 211)</s> |
CREATE TABLE table_name_13 (february VARCHAR, september VARCHAR) | SELECT february FROM table_name_13 WHERE september = "kristine hanson" | Who is in February where has September is kristine hanson? | <s>[INST]Who is in February where has September is kristine hanson? Context: CREATE TABLE table_name_13 (february VARCHAR, september VARCHAR)[/INST]SELECT february FROM table_name_13 WHERE september = "kristine hanson"</s> |
CREATE TABLE table_name_27 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR) | SELECT flattening_ratio FROM table_name_27 WHERE equatorial_diameter = "12,756.28km" | What is the Flattening ratio associated with the Equatorial diameter of 12,756.28km? | <s>[INST]What is the Flattening ratio associated with the Equatorial diameter of 12,756.28km? Context: CREATE TABLE table_name_27 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR)[/INST]SELECT flattening_ratio FROM table_name_27 WHERE equatorial_diameter = "12,756.28km"</s> |
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_71 WHERE date = "august 23, 2004" | What is the Score of the match on August 23, 2004? | <s>[INST]What is the Score of the match on August 23, 2004? Context: CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_71 WHERE date = "august 23, 2004"</s> |
CREATE TABLE table_1341604_10 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341604_10 WHERE incumbent = "Don Fuqua" | who is the the candidates with incumbent being don fuqua | <s>[INST]who is the the candidates with incumbent being don fuqua Context: CREATE TABLE table_1341604_10 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341604_10 WHERE incumbent = "Don Fuqua"</s> |
CREATE TABLE table_name_86 (total INTEGER, country VARCHAR) | SELECT MAX(total) FROM table_name_86 WHERE country = "australia" | What is Australia's highest total? | <s>[INST]What is Australia's highest total? Context: CREATE TABLE table_name_86 (total INTEGER, country VARCHAR)[/INST]SELECT MAX(total) FROM table_name_86 WHERE country = "australia"</s> |
CREATE TABLE table_name_28 (no_1 VARCHAR, no_2 VARCHAR, no_7 VARCHAR) | SELECT no_1 FROM table_name_28 WHERE no_2 = "emma" AND no_7 = "olivia" | What is No.1, when No. 2 is Emma, and when No. 7 is Olivia? | <s>[INST]What is No.1, when No. 2 is Emma, and when No. 7 is Olivia? Context: CREATE TABLE table_name_28 (no_1 VARCHAR, no_2 VARCHAR, no_7 VARCHAR)[/INST]SELECT no_1 FROM table_name_28 WHERE no_2 = "emma" AND no_7 = "olivia"</s> |
CREATE TABLE table_name_68 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_name_68 WHERE player = "william loftus" | what is the pick # for william loftus? | <s>[INST]what is the pick # for william loftus? Context: CREATE TABLE table_name_68 (pick__number VARCHAR, player VARCHAR)[/INST]SELECT pick__number FROM table_name_68 WHERE player = "william loftus"</s> |
CREATE TABLE table_name_92 (scoring_average VARCHAR, year VARCHAR, wins VARCHAR) | SELECT scoring_average FROM table_name_92 WHERE year < 1998 AND wins > 3 | Tell me the scoring average for year less than 1998 and wins more than 3 | <s>[INST]Tell me the scoring average for year less than 1998 and wins more than 3 Context: CREATE TABLE table_name_92 (scoring_average VARCHAR, year VARCHAR, wins VARCHAR)[/INST]SELECT scoring_average FROM table_name_92 WHERE year < 1998 AND wins > 3</s> |
CREATE TABLE table_name_6 (number_of_electorates__2009_ INTEGER, name VARCHAR) | SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi nagar" | What is the electorates in 2009 for Modi Nagar? | <s>[INST]What is the electorates in 2009 for Modi Nagar? Context: CREATE TABLE table_name_6 (number_of_electorates__2009_ INTEGER, name VARCHAR)[/INST]SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi nagar"</s> |
CREATE TABLE table_name_93 (ship_type VARCHAR, tonnage VARCHAR) | SELECT ship_type FROM table_name_93 WHERE tonnage = "225" | With a tonnage of 225 what is the ship type? | <s>[INST]With a tonnage of 225 what is the ship type? Context: CREATE TABLE table_name_93 (ship_type VARCHAR, tonnage VARCHAR)[/INST]SELECT ship_type FROM table_name_93 WHERE tonnage = "225"</s> |
CREATE TABLE table_name_59 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_59 WHERE date = "10/20/1979*" | On 10/20/1979*, who was the Opponent? | <s>[INST]On 10/20/1979*, who was the Opponent? Context: CREATE TABLE table_name_59 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_59 WHERE date = "10/20/1979*"</s> |
CREATE TABLE table_name_63 (turbo VARCHAR, frequency VARCHAR) | SELECT turbo FROM table_name_63 WHERE frequency = "2.2 ghz" | what is the turbo when the frequency is 2.2 ghz? | <s>[INST]what is the turbo when the frequency is 2.2 ghz? Context: CREATE TABLE table_name_63 (turbo VARCHAR, frequency VARCHAR)[/INST]SELECT turbo FROM table_name_63 WHERE frequency = "2.2 ghz"</s> |
CREATE TABLE table_name_49 (round VARCHAR, pick__number VARCHAR) | SELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129 | What is the total round of the 129 pick? | <s>[INST]What is the total round of the 129 pick? Context: CREATE TABLE table_name_49 (round VARCHAR, pick__number VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129</s> |
CREATE TABLE table_name_39 (Id VARCHAR) | SELECT 2005 FROM table_name_39 WHERE 2006 = "126,511" | Which 2005 has a 2006 of 126,511? | <s>[INST]Which 2005 has a 2006 of 126,511? Context: CREATE TABLE table_name_39 (Id VARCHAR)[/INST]SELECT 2005 FROM table_name_39 WHERE 2006 = "126,511"</s> |
CREATE TABLE table_name_76 (course VARCHAR, type VARCHAR, date VARCHAR) | SELECT course FROM table_name_76 WHERE type = "mountain stage" AND date = "3 june" | Which course had a mountain stage type on 3 June? | <s>[INST]Which course had a mountain stage type on 3 June? Context: CREATE TABLE table_name_76 (course VARCHAR, type VARCHAR, date VARCHAR)[/INST]SELECT course FROM table_name_76 WHERE type = "mountain stage" AND date = "3 june"</s> |
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.50" | Who directed the episode that was viewed by 2.50 million people in the U.S.? | <s>[INST]Who directed the episode that was viewed by 2.50 million people in the U.S.? Context: CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.50"</s> |
CREATE TABLE table_name_92 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_92 WHERE date = "may 26" | On May 26, what was the team's record? | <s>[INST]On May 26, what was the team's record? Context: CREATE TABLE table_name_92 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_92 WHERE date = "may 26"</s> |
CREATE TABLE table_name_35 (gross_tonnage INTEGER, delivery_date VARCHAR) | SELECT AVG(gross_tonnage) FROM table_name_35 WHERE delivery_date = "2001 2001" | with delivery date of 2001 2001 what is gross tonnage? | <s>[INST]with delivery date of 2001 2001 what is gross tonnage? Context: CREATE TABLE table_name_35 (gross_tonnage INTEGER, delivery_date VARCHAR)[/INST]SELECT AVG(gross_tonnage) FROM table_name_35 WHERE delivery_date = "2001 2001"</s> |
CREATE TABLE table_name_29 (overall VARCHAR, pick VARCHAR, position VARCHAR, name VARCHAR) | SELECT COUNT(overall) FROM table_name_29 WHERE position = "e" AND name = "buddy payne" AND pick < 5 | How many overalls have E as the position, buddy payne as the name, and a pick less than 5? | <s>[INST]How many overalls have E as the position, buddy payne as the name, and a pick less than 5? Context: CREATE TABLE table_name_29 (overall VARCHAR, pick VARCHAR, position VARCHAR, name VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_29 WHERE position = "e" AND name = "buddy payne" AND pick < 5</s> |
CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_87 WHERE player = "damon jones" | What is the positions of Damon Jones? | <s>[INST]What is the positions of Damon Jones? Context: CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_87 WHERE player = "damon jones"</s> |
CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR) | SELECT flag FROM table_name_52 WHERE name = "terkoeli" | What is the flag for Terkoeli? | <s>[INST]What is the flag for Terkoeli? Context: CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR)[/INST]SELECT flag FROM table_name_52 WHERE name = "terkoeli"</s> |
CREATE TABLE table_name_60 (earnings___ INTEGER, player VARCHAR) | SELECT MAX(earnings___) AS $__ FROM table_name_60 WHERE player = "curtis strange" | What is the highest earnings for curtis strange? | <s>[INST]What is the highest earnings for curtis strange? Context: CREATE TABLE table_name_60 (earnings___ INTEGER, player VARCHAR)[/INST]SELECT MAX(earnings___) AS $__ FROM table_name_60 WHERE player = "curtis strange"</s> |
CREATE TABLE table_25355392_2 (november_3 VARCHAR, june_10_11 VARCHAR) | SELECT november_3 FROM table_25355392_2 WHERE june_10_11 = "June 10, 1964" | what is november 3 when june 10-11 is june 10, 1964? | <s>[INST]what is november 3 when june 10-11 is june 10, 1964? Context: CREATE TABLE table_25355392_2 (november_3 VARCHAR, june_10_11 VARCHAR)[/INST]SELECT november_3 FROM table_25355392_2 WHERE june_10_11 = "June 10, 1964"</s> |
CREATE TABLE table_name_33 (local_authority VARCHAR, services VARCHAR) | SELECT local_authority FROM table_name_33 WHERE services = "greater anglia" | Which Local authority has Services of greater anglia? | <s>[INST]Which Local authority has Services of greater anglia? Context: CREATE TABLE table_name_33 (local_authority VARCHAR, services VARCHAR)[/INST]SELECT local_authority FROM table_name_33 WHERE services = "greater anglia"</s> |
CREATE TABLE table_name_21 (cover_model VARCHAR) | SELECT 20 AS _questions FROM table_name_21 WHERE cover_model = "kimberley conrad hefner" | Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner? | <s>[INST]Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner? Context: CREATE TABLE table_name_21 (cover_model VARCHAR)[/INST]SELECT 20 AS _questions FROM table_name_21 WHERE cover_model = "kimberley conrad hefner"</s> |
CREATE TABLE table_name_8 (_number___county VARCHAR, location VARCHAR) | SELECT _number___county FROM table_name_8 WHERE location = "fountain city" | What county is Fountain City? | <s>[INST]What county is Fountain City? Context: CREATE TABLE table_name_8 (_number___county VARCHAR, location VARCHAR)[/INST]SELECT _number___county FROM table_name_8 WHERE location = "fountain city"</s> |
CREATE TABLE table_name_58 (silver INTEGER, total VARCHAR, rank VARCHAR) | SELECT MIN(silver) FROM table_name_58 WHERE total < 2 AND rank > 8 | Which Silver has a Total smaller than 2 and a Rank larger than 8 | <s>[INST]Which Silver has a Total smaller than 2 and a Rank larger than 8 Context: CREATE TABLE table_name_58 (silver INTEGER, total VARCHAR, rank VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_58 WHERE total < 2 AND rank > 8</s> |
CREATE TABLE table_name_98 (site VARCHAR, score VARCHAR) | SELECT site FROM table_name_98 WHERE score = "0-1" | Which site has a Score of 0-1? | <s>[INST]Which site has a Score of 0-1? Context: CREATE TABLE table_name_98 (site VARCHAR, score VARCHAR)[/INST]SELECT site FROM table_name_98 WHERE score = "0-1"</s> |
CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_11 WHERE date = "july 22" | What is the record as of July 22? | <s>[INST]What is the record as of July 22? Context: CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_11 WHERE date = "july 22"</s> |
CREATE TABLE table_name_95 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_95 WHERE date = "14 february 2009" | In what venue was the event held on 14 February 2009? | <s>[INST]In what venue was the event held on 14 February 2009? Context: CREATE TABLE table_name_95 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_95 WHERE date = "14 february 2009"</s> |
CREATE TABLE table_1341577_10 (party VARCHAR, result VARCHAR) | SELECT party FROM table_1341577_10 WHERE result = "Retired to run for U. S. Senate Republican hold" | what's party with result being retired to run for u. s. senate republican hold | <s>[INST]what's party with result being retired to run for u. s. senate republican hold Context: CREATE TABLE table_1341577_10 (party VARCHAR, result VARCHAR)[/INST]SELECT party FROM table_1341577_10 WHERE result = "Retired to run for U. S. Senate Republican hold"</s> |
CREATE TABLE table_28146944_2 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_28146944_2 WHERE no_in_series = 36 | What's the title of the episode with series number 36? | <s>[INST]What's the title of the episode with series number 36? Context: CREATE TABLE table_28146944_2 (title VARCHAR, no_in_series VARCHAR)[/INST]SELECT title FROM table_28146944_2 WHERE no_in_series = 36</s> |
CREATE TABLE table_name_35 (finish VARCHAR, qual VARCHAR) | SELECT finish FROM table_name_35 WHERE qual = "130.928" | What was Dick Rathmann's Finish the year he Qualed at 130.928? | <s>[INST]What was Dick Rathmann's Finish the year he Qualed at 130.928? Context: CREATE TABLE table_name_35 (finish VARCHAR, qual VARCHAR)[/INST]SELECT finish FROM table_name_35 WHERE qual = "130.928"</s> |
CREATE TABLE table_name_37 (points_against INTEGER, team VARCHAR, tries_against VARCHAR) | SELECT SUM(points_against) FROM table_name_37 WHERE team = "harlequins" AND tries_against < 8 | How many Points against that have a Team of harlequins and Tries against smaller than 8? | <s>[INST]How many Points against that have a Team of harlequins and Tries against smaller than 8? Context: CREATE TABLE table_name_37 (points_against INTEGER, team VARCHAR, tries_against VARCHAR)[/INST]SELECT SUM(points_against) FROM table_name_37 WHERE team = "harlequins" AND tries_against < 8</s> |
CREATE TABLE table_name_79 (year_completion_expected VARCHAR, country VARCHAR) | SELECT year_completion_expected FROM table_name_79 WHERE country = "china" | What was the year that China will have a building completed? | <s>[INST]What was the year that China will have a building completed? Context: CREATE TABLE table_name_79 (year_completion_expected VARCHAR, country VARCHAR)[/INST]SELECT year_completion_expected FROM table_name_79 WHERE country = "china"</s> |
CREATE TABLE table_name_5 (pick__number VARCHAR, round VARCHAR) | SELECT COUNT(pick__number) FROM table_name_5 WHERE round = 12 | How many picks for round 12? | <s>[INST]How many picks for round 12? Context: CREATE TABLE table_name_5 (pick__number VARCHAR, round VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_5 WHERE round = 12</s> |
CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR) | SELECT AVG(floors) FROM table_name_10 WHERE name = "citic square" | What is the number of floors for the Citic Square? | <s>[INST]What is the number of floors for the Citic Square? Context: CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR)[/INST]SELECT AVG(floors) FROM table_name_10 WHERE name = "citic square"</s> |
CREATE TABLE table_10646790_2 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_10646790_2 WHERE date = "December 7, 1969" | What was the minimum attendance on December 7, 1969? | <s>[INST]What was the minimum attendance on December 7, 1969? Context: CREATE TABLE table_10646790_2 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_10646790_2 WHERE date = "December 7, 1969"</s> |
CREATE TABLE table_11677100_3 (position VARCHAR, hometown VARCHAR) | SELECT position FROM table_11677100_3 WHERE hometown = "Germantown, TN" | What's the position of the player from Germantown, TN? | <s>[INST]What's the position of the player from Germantown, TN? Context: CREATE TABLE table_11677100_3 (position VARCHAR, hometown VARCHAR)[/INST]SELECT position FROM table_11677100_3 WHERE hometown = "Germantown, TN"</s> |
CREATE TABLE table_17971449_2 (military_expenditures__2011 VARCHAR, _us$_millions_ VARCHAR, country VARCHAR) | SELECT military_expenditures__2011, _us$_millions_ FROM table_17971449_2 WHERE country = "Romania" | Name the military expenditures for 2011 for romania | <s>[INST]Name the military expenditures for 2011 for romania Context: CREATE TABLE table_17971449_2 (military_expenditures__2011 VARCHAR, _us$_millions_ VARCHAR, country VARCHAR)[/INST]SELECT military_expenditures__2011, _us$_millions_ FROM table_17971449_2 WHERE country = "Romania"</s> |
CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR, date VARCHAR) | SELECT home_team FROM table_name_39 WHERE away_team = "sheffield united" AND date = "sheffield united" | Who was the home team when Sheffield United was the away team and the date was also Sheffield United? | <s>[INST]Who was the home team when Sheffield United was the away team and the date was also Sheffield United? Context: CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR, date VARCHAR)[/INST]SELECT home_team FROM table_name_39 WHERE away_team = "sheffield united" AND date = "sheffield united"</s> |
CREATE TABLE table_name_31 (top_25 INTEGER, cuts_made INTEGER) | SELECT MIN(top_25) FROM table_name_31 WHERE cuts_made > 13 | What is the fewest number of top-25s for events with more than 13 cuts made? | <s>[INST]What is the fewest number of top-25s for events with more than 13 cuts made? Context: CREATE TABLE table_name_31 (top_25 INTEGER, cuts_made INTEGER)[/INST]SELECT MIN(top_25) FROM table_name_31 WHERE cuts_made > 13</s> |
CREATE TABLE table_name_83 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_83 WHERE opponent = "vs. #23 south carolina" | What is the Location when the Opponent shows vs. #23 south carolina? | <s>[INST]What is the Location when the Opponent shows vs. #23 south carolina? Context: CREATE TABLE table_name_83 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_83 WHERE opponent = "vs. #23 south carolina"</s> |
CREATE TABLE table_name_61 (seats INTEGER, share_of_votes VARCHAR, total_seats VARCHAR) | SELECT MAX(seats) FROM table_name_61 WHERE share_of_votes = "45.3%" AND total_seats < 166 | with shares of 45.3% and total seats less than 166. what is the greatest number of seat? | <s>[INST]with shares of 45.3% and total seats less than 166. what is the greatest number of seat? Context: CREATE TABLE table_name_61 (seats INTEGER, share_of_votes VARCHAR, total_seats VARCHAR)[/INST]SELECT MAX(seats) FROM table_name_61 WHERE share_of_votes = "45.3%" AND total_seats < 166</s> |
CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR) | SELECT MIN(year) FROM table_name_95 WHERE competition = "all-ireland hurling final" AND waterford_score = "6-08 (24)" | What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score? | <s>[INST]What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score? Context: CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)[/INST]SELECT MIN(year) FROM table_name_95 WHERE competition = "all-ireland hurling final" AND waterford_score = "6-08 (24)"</s> |
CREATE TABLE table_name_96 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_96 WHERE loss = "bell (6–9)" | Who was the opponent at the game that had a loss of Bell (6–9)? | <s>[INST]Who was the opponent at the game that had a loss of Bell (6–9)? Context: CREATE TABLE table_name_96 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_96 WHERE loss = "bell (6–9)"</s> |
CREATE TABLE table_name_72 (year_named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR) | SELECT COUNT(year_named) FROM table_name_72 WHERE longitude = "36.8e" AND diameter__km_ > 697 | How many years correspond to longitude of 36.8e and diameter greater than 697? | <s>[INST]How many years correspond to longitude of 36.8e and diameter greater than 697? Context: CREATE TABLE table_name_72 (year_named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR)[/INST]SELECT COUNT(year_named) FROM table_name_72 WHERE longitude = "36.8e" AND diameter__km_ > 697</s> |
CREATE TABLE table_name_85 (nationality VARCHAR, position_s_ VARCHAR, season_s_ VARCHAR) | SELECT nationality FROM table_name_85 WHERE position_s_ = "guard" AND season_s_ = "2006" | What is the nationality of the player who played guard in 2006? | <s>[INST]What is the nationality of the player who played guard in 2006? Context: CREATE TABLE table_name_85 (nationality VARCHAR, position_s_ VARCHAR, season_s_ VARCHAR)[/INST]SELECT nationality FROM table_name_85 WHERE position_s_ = "guard" AND season_s_ = "2006"</s> |
CREATE TABLE table_name_32 (iata VARCHAR, icao VARCHAR) | SELECT iata FROM table_name_32 WHERE icao = "zgkl" | I want the IATA for ICAO of zgkl | <s>[INST]I want the IATA for ICAO of zgkl Context: CREATE TABLE table_name_32 (iata VARCHAR, icao VARCHAR)[/INST]SELECT iata FROM table_name_32 WHERE icao = "zgkl"</s> |
CREATE TABLE table_name_76 (position VARCHAR, overall VARCHAR) | SELECT position FROM table_name_76 WHERE overall = 304 | What position does the player play with an overall of 304? | <s>[INST]What position does the player play with an overall of 304? Context: CREATE TABLE table_name_76 (position VARCHAR, overall VARCHAR)[/INST]SELECT position FROM table_name_76 WHERE overall = 304</s> |
CREATE TABLE table_name_90 (games VARCHAR, event VARCHAR) | SELECT games FROM table_name_90 WHERE event = "women's half middleweight" | What games had the women's half middleweight event? | <s>[INST]What games had the women's half middleweight event? Context: CREATE TABLE table_name_90 (games VARCHAR, event VARCHAR)[/INST]SELECT games FROM table_name_90 WHERE event = "women's half middleweight"</s> |
CREATE TABLE table_17356205_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_17356205_1 WHERE directed_by = "Terrence Nightingall" | What is the original air date of the episode directed by Terrence Nightingall? | <s>[INST]What is the original air date of the episode directed by Terrence Nightingall? Context: CREATE TABLE table_17356205_1 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_17356205_1 WHERE directed_by = "Terrence Nightingall"</s> |
CREATE TABLE table_name_31 (series VARCHAR, final_placing VARCHAR, podiums VARCHAR) | SELECT series FROM table_name_31 WHERE final_placing = "9th" AND podiums = "2" | Which Series has a Final Placing of 9th, and Podiums of 2? | <s>[INST]Which Series has a Final Placing of 9th, and Podiums of 2? Context: CREATE TABLE table_name_31 (series VARCHAR, final_placing VARCHAR, podiums VARCHAR)[/INST]SELECT series FROM table_name_31 WHERE final_placing = "9th" AND podiums = "2"</s> |
CREATE TABLE table_name_96 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_96 WHERE to_par = "e" | Which Country has a To par of e? | <s>[INST]Which Country has a To par of e? Context: CREATE TABLE table_name_96 (country VARCHAR, to_par VARCHAR)[/INST]SELECT country FROM table_name_96 WHERE to_par = "e"</s> |
CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR) | SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)" | When 60,254 (58.0) is the toll poll percentage what is the for percentage? | <s>[INST]When 60,254 (58.0) is the toll poll percentage what is the for percentage? Context: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR)[/INST]SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)"</s> |
CREATE TABLE table_name_2 (pos VARCHAR, team VARCHAR) | SELECT pos FROM table_name_2 WHERE team = "new york knicks" | What is the pos for the New York Knicks? | <s>[INST]What is the pos for the New York Knicks? Context: CREATE TABLE table_name_2 (pos VARCHAR, team VARCHAR)[/INST]SELECT pos FROM table_name_2 WHERE team = "new york knicks"</s> |
CREATE TABLE people (country VARCHAR) | SELECT country, COUNT(*) FROM people GROUP BY country | Show all countries and the number of people from each country. | <s>[INST]Show all countries and the number of people from each country. Context: CREATE TABLE people (country VARCHAR)[/INST]SELECT country, COUNT(*) FROM people GROUP BY country</s> |
CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR) | SELECT rating FROM table_23730973_5 WHERE viewers__millions_ = "5.90" | What was the rating for the episode that had 5.90 million viewers? | <s>[INST]What was the rating for the episode that had 5.90 million viewers? Context: CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT rating FROM table_23730973_5 WHERE viewers__millions_ = "5.90"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.