context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_26173058_2 (amman VARCHAR, qadisiya VARCHAR) | SELECT amman FROM table_26173058_2 WHERE qadisiya = "2-1" | what is the place where the location is 2-1 | <s>[INST]what is the place where the location is 2-1 Context: CREATE TABLE table_26173058_2 (amman VARCHAR, qadisiya VARCHAR)[/INST]SELECT amman FROM table_26173058_2 WHERE qadisiya = "2-1"</s> |
CREATE TABLE table_name_40 (long INTEGER, name VARCHAR, gain VARCHAR) | SELECT MAX(long) FROM table_name_40 WHERE name = "thomas clayton" AND gain < 71 | When Thomas Clayton had a gain less than 71, what was the highest long value? | <s>[INST]When Thomas Clayton had a gain less than 71, what was the highest long value? Context: CREATE TABLE table_name_40 (long INTEGER, name VARCHAR, gain VARCHAR)[/INST]SELECT MAX(long) FROM table_name_40 WHERE name = "thomas clayton" AND gain < 71</s> |
CREATE TABLE table_name_65 (match INTEGER, home_away VARCHAR, opponent_team VARCHAR) | SELECT AVG(match) FROM table_name_65 WHERE home_away = "away" AND opponent_team = "perak fa (malaysia)" | What is the average match when the singapore armed forces played away against perak fa (malaysia)? | <s>[INST]What is the average match when the singapore armed forces played away against perak fa (malaysia)? Context: CREATE TABLE table_name_65 (match INTEGER, home_away VARCHAR, opponent_team VARCHAR)[/INST]SELECT AVG(match) FROM table_name_65 WHERE home_away = "away" AND opponent_team = "perak fa (malaysia)"</s> |
CREATE TABLE table_2150068_1 (nssdc_id VARCHAR, satellite VARCHAR) | SELECT nssdc_id FROM table_2150068_1 WHERE satellite = "Echo 1" | What is the nssdc id for Echo 1? | <s>[INST]What is the nssdc id for Echo 1? Context: CREATE TABLE table_2150068_1 (nssdc_id VARCHAR, satellite VARCHAR)[/INST]SELECT nssdc_id FROM table_2150068_1 WHERE satellite = "Echo 1"</s> |
CREATE TABLE table_name_55 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_55 WHERE team_1 = "union douala" | What was the aggregate score that had Union Douala as Team 1? | <s>[INST]What was the aggregate score that had Union Douala as Team 1? Context: CREATE TABLE table_name_55 (agg VARCHAR, team_1 VARCHAR)[/INST]SELECT agg FROM table_name_55 WHERE team_1 = "union douala"</s> |
CREATE TABLE table_name_79 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_79 WHERE result = "eng by 1 wkt" | On what date was the result Eng by 1 wkt? | <s>[INST]On what date was the result Eng by 1 wkt? Context: CREATE TABLE table_name_79 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE result = "eng by 1 wkt"</s> |
CREATE TABLE table_name_37 (result_f_a VARCHAR, date VARCHAR) | SELECT result_f_a FROM table_name_37 WHERE date = "24 september 2002" | Date of 24 september 2002 had what F-A result? | <s>[INST]Date of 24 september 2002 had what F-A result? Context: CREATE TABLE table_name_37 (result_f_a VARCHAR, date VARCHAR)[/INST]SELECT result_f_a FROM table_name_37 WHERE date = "24 september 2002"</s> |
CREATE TABLE table_name_88 (power_output VARCHAR, wheel_arrangement VARCHAR, build_date VARCHAR) | SELECT power_output FROM table_name_88 WHERE wheel_arrangement = "b-b" AND build_date = "1952" | What is the power of b-b wheel arrangement, built in 1952? | <s>[INST]What is the power of b-b wheel arrangement, built in 1952? Context: CREATE TABLE table_name_88 (power_output VARCHAR, wheel_arrangement VARCHAR, build_date VARCHAR)[/INST]SELECT power_output FROM table_name_88 WHERE wheel_arrangement = "b-b" AND build_date = "1952"</s> |
CREATE TABLE table_name_22 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_22 WHERE score = 67 - 72 - 71 - 75 = 285 | Which Player has a Score of 67-72-71-75=285? | <s>[INST]Which Player has a Score of 67-72-71-75=285? Context: CREATE TABLE table_name_22 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_22 WHERE score = 67 - 72 - 71 - 75 = 285</s> |
CREATE TABLE table_19744915_22 (couple VARCHAR, public INTEGER) | SELECT couple FROM table_19744915_22 WHERE public < 2.0 | What couple had less than 2.0 points from the public? | <s>[INST]What couple had less than 2.0 points from the public? Context: CREATE TABLE table_19744915_22 (couple VARCHAR, public INTEGER)[/INST]SELECT couple FROM table_19744915_22 WHERE public < 2.0</s> |
CREATE TABLE table_name_88 (against INTEGER, played VARCHAR, drawn VARCHAR, difference VARCHAR) | SELECT AVG(against) FROM table_name_88 WHERE drawn > 2 AND difference = "- 17" AND played < 20 | What is the average Against when the drawn is more than 2 and the Difference of- 17, and a Played smaller than 20? | <s>[INST]What is the average Against when the drawn is more than 2 and the Difference of- 17, and a Played smaller than 20? Context: CREATE TABLE table_name_88 (against INTEGER, played VARCHAR, drawn VARCHAR, difference VARCHAR)[/INST]SELECT AVG(against) FROM table_name_88 WHERE drawn > 2 AND difference = "- 17" AND pl... |
CREATE TABLE table_name_13 (street_address VARCHAR, architect VARCHAR) | SELECT street_address FROM table_name_13 WHERE architect = "edmund woolley and andrew hamilton" | What was the address of the building with architects Edmund Woolley and Andrew Hamilton? | <s>[INST]What was the address of the building with architects Edmund Woolley and Andrew Hamilton? Context: CREATE TABLE table_name_13 (street_address VARCHAR, architect VARCHAR)[/INST]SELECT street_address FROM table_name_13 WHERE architect = "edmund woolley and andrew hamilton"</s> |
CREATE TABLE table_15621965_18 (no INTEGER, position VARCHAR) | SELECT MIN(no) FROM table_15621965_18 WHERE position = "Forward-Center" | WHAT WAS THE NUMBER OF THE ONLY FORWARD-CENTER TO MAKE THE ROSTER? | <s>[INST]WHAT WAS THE NUMBER OF THE ONLY FORWARD-CENTER TO MAKE THE ROSTER? Context: CREATE TABLE table_15621965_18 (no INTEGER, position VARCHAR)[/INST]SELECT MIN(no) FROM table_15621965_18 WHERE position = "Forward-Center"</s> |
CREATE TABLE table_15621965_8 (no INTEGER, player VARCHAR) | SELECT MAX(no) FROM table_15621965_8 WHERE player = "Al Harrington" | What jersey number did Al Harrington wear | <s>[INST]What jersey number did Al Harrington wear Context: CREATE TABLE table_15621965_8 (no INTEGER, player VARCHAR)[/INST]SELECT MAX(no) FROM table_15621965_8 WHERE player = "Al Harrington"</s> |
CREATE TABLE table_27654988_1 (season VARCHAR, opponent VARCHAR) | SELECT COUNT(season) FROM table_27654988_1 WHERE opponent = "Vamos Idaliou Krka Novo Mesto SV Neulengbach" | How many seasons was the opponent Vamos Idaliou Krka Novo Mesto SV Neulengbach? | <s>[INST]How many seasons was the opponent Vamos Idaliou Krka Novo Mesto SV Neulengbach? Context: CREATE TABLE table_27654988_1 (season VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(season) FROM table_27654988_1 WHERE opponent = "Vamos Idaliou Krka Novo Mesto SV Neulengbach"</s> |
CREATE TABLE table_name_61 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_61 WHERE week = 2 | What was the average attendance in week 2? | <s>[INST]What was the average attendance in week 2? Context: CREATE TABLE table_name_61 (attendance INTEGER, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_61 WHERE week = 2</s> |
CREATE TABLE table_name_92 (poles VARCHAR, bike VARCHAR, podiums VARCHAR) | SELECT COUNT(poles) FROM table_name_92 WHERE bike = "honda rc212v" AND podiums < 0 | How many Poles have a Bike of honda rc212v, and Podiums smaller than 0? | <s>[INST]How many Poles have a Bike of honda rc212v, and Podiums smaller than 0? Context: CREATE TABLE table_name_92 (poles VARCHAR, bike VARCHAR, podiums VARCHAR)[/INST]SELECT COUNT(poles) FROM table_name_92 WHERE bike = "honda rc212v" AND podiums < 0</s> |
CREATE TABLE table_27614571_1 (song_choice VARCHAR, theme VARCHAR) | SELECT song_choice FROM table_27614571_1 WHERE theme = "Samba" | What was Barreto's song choice when the theme was samba? | <s>[INST]What was Barreto's song choice when the theme was samba? Context: CREATE TABLE table_27614571_1 (song_choice VARCHAR, theme VARCHAR)[/INST]SELECT song_choice FROM table_27614571_1 WHERE theme = "Samba"</s> |
CREATE TABLE table_22669044_10 (score VARCHAR, record VARCHAR) | SELECT score FROM table_22669044_10 WHERE record = "31-29" | What's the score of the game with 31-29 record? | <s>[INST]What's the score of the game with 31-29 record? Context: CREATE TABLE table_22669044_10 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_22669044_10 WHERE record = "31-29"</s> |
CREATE TABLE table_name_73 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT country FROM table_name_73 WHERE money___$__ = "playoff" AND score = 66 - 67 - 70 - 67 = 270 | What is the country of the player with playoff money and a score of 66-67-70-67=270? | <s>[INST]What is the country of the player with playoff money and a score of 66-67-70-67=270? Context: CREATE TABLE table_name_73 (country VARCHAR, money___$__ VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_73 WHERE money___$__ = "playoff" AND score = 66 - 67 - 70 - 67 = 270</s> |
CREATE TABLE table_name_4 (silver VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_4 WHERE rank = 7 | How much Silver has a Rank of 7? | <s>[INST]How much Silver has a Rank of 7? Context: CREATE TABLE table_name_4 (silver VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_4 WHERE rank = 7</s> |
CREATE TABLE table_name_60 (team VARCHAR, game VARCHAR) | SELECT team FROM table_name_60 WHERE game = 82 | Which team had a game of 82? | <s>[INST]Which team had a game of 82? Context: CREATE TABLE table_name_60 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_name_60 WHERE game = 82</s> |
CREATE TABLE table_name_51 (date_departed VARCHAR, navy VARCHAR, name VARCHAR) | SELECT date_departed FROM table_name_51 WHERE navy = "royal navy" AND name = "hms leith" | What's the departed date that the HMS Leith of the Royal Navy? | <s>[INST]What's the departed date that the HMS Leith of the Royal Navy? Context: CREATE TABLE table_name_51 (date_departed VARCHAR, navy VARCHAR, name VARCHAR)[/INST]SELECT date_departed FROM table_name_51 WHERE navy = "royal navy" AND name = "hms leith"</s> |
CREATE TABLE table_21831229_3 (original_us_air_date VARCHAR, prod_code VARCHAR) | SELECT original_us_air_date FROM table_21831229_3 WHERE prod_code = 213 | What was the date that the episode with a production code of 213 was originally aired? | <s>[INST]What was the date that the episode with a production code of 213 was originally aired? Context: CREATE TABLE table_21831229_3 (original_us_air_date VARCHAR, prod_code VARCHAR)[/INST]SELECT original_us_air_date FROM table_21831229_3 WHERE prod_code = 213</s> |
CREATE TABLE table_name_33 (apps INTEGER, rank VARCHAR, win__percentage VARCHAR) | SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__percentage < 0 | What is the lowest apps for rank 3 and 0% wins? | <s>[INST]What is the lowest apps for rank 3 and 0% wins? Context: CREATE TABLE table_name_33 (apps INTEGER, rank VARCHAR, win__percentage VARCHAR)[/INST]SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__percentage < 0</s> |
CREATE TABLE table_name_68 (year INTEGER, entrant VARCHAR, points VARCHAR) | SELECT MAX(year) FROM table_name_68 WHERE entrant = "equipe talbot gitanes" AND points < 1 | What is the latest year for Entrant of equipe talbot gitanes with less than 1 point? | <s>[INST]What is the latest year for Entrant of equipe talbot gitanes with less than 1 point? Context: CREATE TABLE table_name_68 (year INTEGER, entrant VARCHAR, points VARCHAR)[/INST]SELECT MAX(year) FROM table_name_68 WHERE entrant = "equipe talbot gitanes" AND points < 1</s> |
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) | SELECT T2.balance, T3.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid | Find the name, checking balance and saving balance of all accounts in the bank. | <s>[INST]Find the name, checking balance and saving balance of all accounts in the bank. Context: CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)[/INST]SELECT T2.balance, T3.balance, T1.name FROM accoun... |
CREATE TABLE table_name_51 (format VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT format FROM table_name_51 WHERE catalog = 61298 AND date = "september 1984" | Which Format has a Catalog of 61298, and a Date of september 1984? | <s>[INST]Which Format has a Catalog of 61298, and a Date of september 1984? Context: CREATE TABLE table_name_51 (format VARCHAR, catalog VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_51 WHERE catalog = 61298 AND date = "september 1984"</s> |
CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR) | SELECT technology FROM table_name_88 WHERE gel_pouring = "no" AND analysis_time = "8 days" | what is the technology when the gel pouring is no and the analysis time is 8 days? | <s>[INST]what is the technology when the gel pouring is no and the analysis time is 8 days? Context: CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR)[/INST]SELECT technology FROM table_name_88 WHERE gel_pouring = "no" AND analysis_time = "8 days"</s> |
CREATE TABLE table_20688030_1 (county VARCHAR, obama_percentage VARCHAR) | SELECT COUNT(county) FROM table_20688030_1 WHERE obama_percentage = "35.44%" | What is the total of countys where Obama is popular by 35.44%? | <s>[INST]What is the total of countys where Obama is popular by 35.44%? Context: CREATE TABLE table_20688030_1 (county VARCHAR, obama_percentage VARCHAR)[/INST]SELECT COUNT(county) FROM table_20688030_1 WHERE obama_percentage = "35.44%"</s> |
CREATE TABLE table_name_4 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT manner_of_departure FROM table_name_4 WHERE date_of_appointment = "26 january" | Name the manner of departyre for 26 january date of appointment | <s>[INST]Name the manner of departyre for 26 january date of appointment Context: CREATE TABLE table_name_4 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT manner_of_departure FROM table_name_4 WHERE date_of_appointment = "26 january"</s> |
CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR) | SELECT MAX(year) FROM table_name_19 WHERE venue = "doha, qatar" | What's the latest year that Doha, Qatar hosted a tournament? | <s>[INST]What's the latest year that Doha, Qatar hosted a tournament? Context: CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)[/INST]SELECT MAX(year) FROM table_name_19 WHERE venue = "doha, qatar"</s> |
CREATE TABLE table_name_86 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_86 WHERE record = "28–14–6–2" | Who was the visiting team when the record was 28–14–6–2? | <s>[INST]Who was the visiting team when the record was 28–14–6–2? Context: CREATE TABLE table_name_86 (visitor VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_name_86 WHERE record = "28–14–6–2"</s> |
CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_35 WHERE player = "tomasz kiełbowicz" | What position did tomasz kiełbowicz play? | <s>[INST]What position did tomasz kiełbowicz play? Context: CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_35 WHERE player = "tomasz kiełbowicz"</s> |
CREATE TABLE table_name_16 (wins INTEGER, player VARCHAR, events VARCHAR) | SELECT AVG(wins) FROM table_name_16 WHERE player = "bruce fleisher" AND events > 31 | How many wins for bruce fleisher with over 31 events? | <s>[INST]How many wins for bruce fleisher with over 31 events? Context: CREATE TABLE table_name_16 (wins INTEGER, player VARCHAR, events VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_16 WHERE player = "bruce fleisher" AND events > 31</s> |
CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER) | SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754 | What is the smallest rank for passengers more than 73,754? | <s>[INST]What is the smallest rank for passengers more than 73,754? Context: CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER)[/INST]SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754</s> |
CREATE TABLE table_1574968_1 (creator VARCHAR, viewer VARCHAR) | SELECT creator FROM table_1574968_1 WHERE viewer = "GDDM, AFP viewer" | Who is the creator when the view happens to gddm, afp viewer? | <s>[INST]Who is the creator when the view happens to gddm, afp viewer? Context: CREATE TABLE table_1574968_1 (creator VARCHAR, viewer VARCHAR)[/INST]SELECT creator FROM table_1574968_1 WHERE viewer = "GDDM, AFP viewer"</s> |
CREATE TABLE table_name_72 (team VARCHAR, qual_1 VARCHAR) | SELECT team FROM table_name_72 WHERE qual_1 = "59.895" | What team had a qual 1 of 59.895? | <s>[INST]What team had a qual 1 of 59.895? Context: CREATE TABLE table_name_72 (team VARCHAR, qual_1 VARCHAR)[/INST]SELECT team FROM table_name_72 WHERE qual_1 = "59.895"</s> |
CREATE TABLE table_name_53 (state VARCHAR, region VARCHAR, city VARCHAR) | SELECT state FROM table_name_53 WHERE region = "mideast" AND city = "seattle" | Which mideast regional state contains the city of Seattle? | <s>[INST]Which mideast regional state contains the city of Seattle? Context: CREATE TABLE table_name_53 (state VARCHAR, region VARCHAR, city VARCHAR)[/INST]SELECT state FROM table_name_53 WHERE region = "mideast" AND city = "seattle"</s> |
CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_17 WHERE week = 12 | What is the week 12 result? | <s>[INST]What is the week 12 result? Context: CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_17 WHERE week = 12</s> |
CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_36 WHERE place = "t2" AND player = "jeff maggert" | What's the score of Jeff Maggert in T2 place? | <s>[INST]What's the score of Jeff Maggert in T2 place? Context: CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_36 WHERE place = "t2" AND player = "jeff maggert"</s> |
CREATE TABLE table_name_2 (third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR) | SELECT third_member FROM table_name_2 WHERE second_party = "liberal" AND third_party = "conservative" AND second_member = "humphrey mildmay" | Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay? | <s>[INST]Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay? Context: CREATE TABLE table_name_2 (third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR)[/INST]SELECT third_member FROM table_name_2 WHERE second_party = "liberal" AN... |
CREATE TABLE table_10015132_2 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_10015132_2 WHERE player = "Muggsy Bogues" | What nationality is the player Muggsy Bogues? | <s>[INST]What nationality is the player Muggsy Bogues? Context: CREATE TABLE table_10015132_2 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_10015132_2 WHERE player = "Muggsy Bogues"</s> |
CREATE TABLE table_name_39 (original_channel VARCHAR, b_mountain_channel VARCHAR) | SELECT original_channel FROM table_name_39 WHERE b_mountain_channel = "9" | What original channel is associated with B Mountain Channel 9? | <s>[INST]What original channel is associated with B Mountain Channel 9? Context: CREATE TABLE table_name_39 (original_channel VARCHAR, b_mountain_channel VARCHAR)[/INST]SELECT original_channel FROM table_name_39 WHERE b_mountain_channel = "9"</s> |
CREATE TABLE table_name_85 (icelandic VARCHAR, german VARCHAR) | SELECT icelandic FROM table_name_85 WHERE german = "hand" | What's the Icelandic word for the German word for hand? | <s>[INST]What's the Icelandic word for the German word for hand? Context: CREATE TABLE table_name_85 (icelandic VARCHAR, german VARCHAR)[/INST]SELECT icelandic FROM table_name_85 WHERE german = "hand"</s> |
CREATE TABLE table_12027364_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) | SELECT mixed_doubles FROM table_12027364_1 WHERE mens_singles = "Ji Xinpeng" | Who won the mixed doubles when ji xinpeng won the mens singles? | <s>[INST]Who won the mixed doubles when ji xinpeng won the mens singles? Context: CREATE TABLE table_12027364_1 (mixed_doubles VARCHAR, mens_singles VARCHAR)[/INST]SELECT mixed_doubles FROM table_12027364_1 WHERE mens_singles = "Ji Xinpeng"</s> |
CREATE TABLE table_name_27 (grid VARCHAR, driver VARCHAR) | SELECT COUNT(grid) FROM table_name_27 WHERE driver = "pedro de la rosa" | What is Pedro De La Rosa's total number of Grid? | <s>[INST]What is Pedro De La Rosa's total number of Grid? Context: CREATE TABLE table_name_27 (grid VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_27 WHERE driver = "pedro de la rosa"</s> |
CREATE TABLE table_name_80 (evening_gown VARCHAR, state VARCHAR, interview VARCHAR) | SELECT COUNT(evening_gown) FROM table_name_80 WHERE state = "new jersey" AND interview < 9.344 | What is the sum number of evening gown stats for New Jersey when the interview was less than 9.344? | <s>[INST]What is the sum number of evening gown stats for New Jersey when the interview was less than 9.344? Context: CREATE TABLE table_name_80 (evening_gown VARCHAR, state VARCHAR, interview VARCHAR)[/INST]SELECT COUNT(evening_gown) FROM table_name_80 WHERE state = "new jersey" AND interview < 9.344</s> |
CREATE TABLE table_1046454_1 (division INTEGER) | SELECT MAX(division) FROM table_1046454_1 | what is the maximum division | <s>[INST]what is the maximum division Context: CREATE TABLE table_1046454_1 (division INTEGER)[/INST]SELECT MAX(division) FROM table_1046454_1</s> |
CREATE TABLE table_name_70 (Id VARCHAR) | SELECT 2008 FROM table_name_70 WHERE 2006 = "1r" | What is 2008, when 2006 is "1R"? | <s>[INST]What is 2008, when 2006 is "1R"? Context: CREATE TABLE table_name_70 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_70 WHERE 2006 = "1r"</s> |
CREATE TABLE table_name_64 (comments VARCHAR, year_made VARCHAR) | SELECT comments FROM table_name_64 WHERE year_made = "1875" | What comments are made in 1875? | <s>[INST]What comments are made in 1875? Context: CREATE TABLE table_name_64 (comments VARCHAR, year_made VARCHAR)[/INST]SELECT comments FROM table_name_64 WHERE year_made = "1875"</s> |
CREATE TABLE table_name_35 (bonus_points VARCHAR, club VARCHAR) | SELECT bonus_points FROM table_name_35 WHERE club = "colomiers" | How many bonus points did the Colomiers earn? | <s>[INST]How many bonus points did the Colomiers earn? Context: CREATE TABLE table_name_35 (bonus_points VARCHAR, club VARCHAR)[/INST]SELECT bonus_points FROM table_name_35 WHERE club = "colomiers"</s> |
CREATE TABLE table_name_21 (timeslot VARCHAR, calls VARCHAR) | SELECT timeslot FROM table_name_21 WHERE calls = "wrko" | Tell me the timeslot of calls of wrko | <s>[INST]Tell me the timeslot of calls of wrko Context: CREATE TABLE table_name_21 (timeslot VARCHAR, calls VARCHAR)[/INST]SELECT timeslot FROM table_name_21 WHERE calls = "wrko"</s> |
CREATE TABLE table_name_97 (wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR) | SELECT wins FROM table_name_97 WHERE top_25 < 4 AND top_5 > 0 | What is Wins, when Top-25 is less than 4, and when Top-5 is greater than 0? | <s>[INST]What is Wins, when Top-25 is less than 4, and when Top-5 is greater than 0? Context: CREATE TABLE table_name_97 (wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR)[/INST]SELECT wins FROM table_name_97 WHERE top_25 < 4 AND top_5 > 0</s> |
CREATE TABLE table_name_60 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_60 WHERE grid = 16 | What is the time/retired of the one with grid of 16? | <s>[INST]What is the time/retired of the one with grid of 16? Context: CREATE TABLE table_name_60 (time_retired VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_60 WHERE grid = 16</s> |
CREATE TABLE table_name_17 (cuts_made VARCHAR, events VARCHAR, top_10 VARCHAR) | SELECT COUNT(cuts_made) FROM table_name_17 WHERE events > 4 AND top_10 < 4 | What were the total number of cuts made in an event larger than 4 and a top-10 smaller than 4? | <s>[INST]What were the total number of cuts made in an event larger than 4 and a top-10 smaller than 4? Context: CREATE TABLE table_name_17 (cuts_made VARCHAR, events VARCHAR, top_10 VARCHAR)[/INST]SELECT COUNT(cuts_made) FROM table_name_17 WHERE events > 4 AND top_10 < 4</s> |
CREATE TABLE table_name_99 (wins INTEGER, class VARCHAR, points VARCHAR) | SELECT MAX(wins) FROM table_name_99 WHERE class = "500cc" AND points < 6 | Which Wins is the highest one that has a Class of 500cc, and Points smaller than 6? | <s>[INST]Which Wins is the highest one that has a Class of 500cc, and Points smaller than 6? Context: CREATE TABLE table_name_99 (wins INTEGER, class VARCHAR, points VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_99 WHERE class = "500cc" AND points < 6</s> |
CREATE TABLE table_name_83 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_83 WHERE score = "136-134" | What date has 136-134 as the score? | <s>[INST]What date has 136-134 as the score? Context: CREATE TABLE table_name_83 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE score = "136-134"</s> |
CREATE TABLE table_22654073_13 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_22654073_13 WHERE date = "May 11" | List all high rebound entries from May 11. | <s>[INST]List all high rebound entries from May 11. Context: CREATE TABLE table_22654073_13 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_22654073_13 WHERE date = "May 11"</s> |
CREATE TABLE table_name_38 (overall INTEGER, round VARCHAR, pick__number VARCHAR) | SELECT MAX(overall) FROM table_name_38 WHERE round = 3 AND pick__number > 10 | With Round 3 and Pick # over 10, what is the higher Overall number? | <s>[INST]With Round 3 and Pick # over 10, what is the higher Overall number? Context: CREATE TABLE table_name_38 (overall INTEGER, round VARCHAR, pick__number VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_38 WHERE round = 3 AND pick__number > 10</s> |
CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR) | SELECT vs_all FROM table_name_72 WHERE vs_terran = "159" | What is the score vs. all when the score vs. Terran is 159? | <s>[INST]What is the score vs. all when the score vs. Terran is 159? Context: CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR)[/INST]SELECT vs_all FROM table_name_72 WHERE vs_terran = "159"</s> |
CREATE TABLE table_256286_63 (passed VARCHAR, _percentage_yes VARCHAR) | SELECT passed FROM table_256286_63 WHERE _percentage_yes = "42.87%" | Did the legislation pass that had 42.87% yes votes? | <s>[INST]Did the legislation pass that had 42.87% yes votes? Context: CREATE TABLE table_256286_63 (passed VARCHAR, _percentage_yes VARCHAR)[/INST]SELECT passed FROM table_256286_63 WHERE _percentage_yes = "42.87%"</s> |
CREATE TABLE table_name_38 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR) | SELECT SUM(domestic_passengers) FROM table_name_38 WHERE _percentage_change_2005_2006 = "10.9%" AND freight__metric_tonnes_ < 4 OFFSET 022 | What is the sum of all domestic passengers with 10.9% change and less than 4,022 tonnes in freight? | <s>[INST]What is the sum of all domestic passengers with 10.9% change and less than 4,022 tonnes in freight? Context: CREATE TABLE table_name_38 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR)[/INST]SELECT SUM(domestic_passengers) FROM table_name_38 WHERE _percentage... |
CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR) | SELECT room_temperature FROM table_name_67 WHERE in_production = "no" AND toxic_materials = "no" | What's the room temperature with no toxic materials and no ln production? | <s>[INST]What's the room temperature with no toxic materials and no ln production? Context: CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)[/INST]SELECT room_temperature FROM table_name_67 WHERE in_production = "no" AND toxic_materials = "no"</s> |
CREATE TABLE table_name_82 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_82 WHERE laps < 14 AND grid < 16 AND time_retired = "not classified" | Who is the driver when the laps are smaller than 14, the grid is smaller than 16, and the Time/retired is not classified? | <s>[INST]Who is the driver when the laps are smaller than 14, the grid is smaller than 16, and the Time/retired is not classified? Context: CREATE TABLE table_name_82 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_82 WHERE laps < 14 AND grid < 16 AND time_retired ... |
CREATE TABLE table_name_46 (money___£__ VARCHAR, player VARCHAR) | SELECT money___£__ FROM table_name_46 WHERE player = "stephen ames" | How much money has been won by Stephen Ames? | <s>[INST]How much money has been won by Stephen Ames? Context: CREATE TABLE table_name_46 (money___£__ VARCHAR, player VARCHAR)[/INST]SELECT money___£__ FROM table_name_46 WHERE player = "stephen ames"</s> |
CREATE TABLE HOTELS (other_hotel_details VARCHAR, star_rating_code VARCHAR, price_range VARCHAR) | SELECT other_hotel_details, star_rating_code FROM HOTELS ORDER BY price_range LIMIT 3 | Show the details and star ratings of the 3 least expensive hotels. | <s>[INST]Show the details and star ratings of the 3 least expensive hotels. Context: CREATE TABLE HOTELS (other_hotel_details VARCHAR, star_rating_code VARCHAR, price_range VARCHAR)[/INST]SELECT other_hotel_details, star_rating_code FROM HOTELS ORDER BY price_range LIMIT 3</s> |
CREATE TABLE table_name_55 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_55 WHERE home = "st. louis" | What was the date of the game when St. Louis was the home team? | <s>[INST]What was the date of the game when St. Louis was the home team? Context: CREATE TABLE table_name_55 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_55 WHERE home = "st. louis"</s> |
CREATE TABLE table_name_72 (against VARCHAR, losses VARCHAR, byes VARCHAR) | SELECT COUNT(against) FROM table_name_72 WHERE losses < 13 AND byes < 2 | What is the number listed under against when there were less than 13 losses and less than 2 byes? | <s>[INST]What is the number listed under against when there were less than 13 losses and less than 2 byes? Context: CREATE TABLE table_name_72 (against VARCHAR, losses VARCHAR, byes VARCHAR)[/INST]SELECT COUNT(against) FROM table_name_72 WHERE losses < 13 AND byes < 2</s> |
CREATE TABLE table_name_62 (tournament VARCHAR) | SELECT 2012 FROM table_name_62 WHERE tournament = "us open" | What was the 2012 finish in the US Open? | <s>[INST]What was the 2012 finish in the US Open? Context: CREATE TABLE table_name_62 (tournament VARCHAR)[/INST]SELECT 2012 FROM table_name_62 WHERE tournament = "us open"</s> |
CREATE TABLE table_name_69 (year VARCHAR, catalog_number VARCHAR) | SELECT COUNT(year) FROM table_name_69 WHERE catalog_number = "80429 / bta80429" | How many years have a Catalog Number of 80429 / bta80429? | <s>[INST]How many years have a Catalog Number of 80429 / bta80429? Context: CREATE TABLE table_name_69 (year VARCHAR, catalog_number VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_69 WHERE catalog_number = "80429 / bta80429"</s> |
CREATE TABLE table_name_32 (city VARCHAR, first_season VARCHAR) | SELECT city FROM table_name_32 WHERE first_season = 1996 | What's the name of the city whose first season was in 1996? | <s>[INST]What's the name of the city whose first season was in 1996? Context: CREATE TABLE table_name_32 (city VARCHAR, first_season VARCHAR)[/INST]SELECT city FROM table_name_32 WHERE first_season = 1996</s> |
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, company_name VARCHAR) | SELECT state_rank_by_revenue FROM table_21926985_2 WHERE company_name = "Murphy Oil" | What is the rank for Murphy Oil? | <s>[INST]What is the rank for Murphy Oil? Context: CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, company_name VARCHAR)[/INST]SELECT state_rank_by_revenue FROM table_21926985_2 WHERE company_name = "Murphy Oil"</s> |
CREATE TABLE table_name_33 (us_customary VARCHAR, unit VARCHAR) | SELECT us_customary FROM table_name_33 WHERE unit = "butylka (vodochnaya)" | How large in US customary terms is the unit called butylka (vodochnaya)? | <s>[INST]How large in US customary terms is the unit called butylka (vodochnaya)? Context: CREATE TABLE table_name_33 (us_customary VARCHAR, unit VARCHAR)[/INST]SELECT us_customary FROM table_name_33 WHERE unit = "butylka (vodochnaya)"</s> |
CREATE TABLE table_25346763_1 (facility VARCHAR, year_opened VARCHAR) | SELECT facility FROM table_25346763_1 WHERE year_opened = "1954" | What facility opening in 1954? | <s>[INST]What facility opening in 1954? Context: CREATE TABLE table_25346763_1 (facility VARCHAR, year_opened VARCHAR)[/INST]SELECT facility FROM table_25346763_1 WHERE year_opened = "1954"</s> |
CREATE TABLE Rooms (RoomId VARCHAR, maxOccupancy VARCHAR); CREATE TABLE Reservations (Room VARCHAR, Adults VARCHAR, Kids VARCHAR) | SELECT COUNT(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE T2.maxOccupancy = T1.Adults + T1.Kids | List how many times the number of people in the room reached the maximum occupancy of the room. The number of people include adults and kids. | <s>[INST]List how many times the number of people in the room reached the maximum occupancy of the room. The number of people include adults and kids. Context: CREATE TABLE Rooms (RoomId VARCHAR, maxOccupancy VARCHAR); CREATE TABLE Reservations (Room VARCHAR, Adults VARCHAR, Kids VARCHAR)[/INST]SELECT COUNT(*) FROM Res... |
CREATE TABLE table_name_62 (purpose VARCHAR, area_served VARCHAR) | SELECT purpose FROM table_name_62 WHERE area_served = "braidwood" | What is the Purpose of the Area Braidwood? | <s>[INST]What is the Purpose of the Area Braidwood? Context: CREATE TABLE table_name_62 (purpose VARCHAR, area_served VARCHAR)[/INST]SELECT purpose FROM table_name_62 WHERE area_served = "braidwood"</s> |
CREATE TABLE table_2417741_1 (tournament VARCHAR, year VARCHAR) | SELECT COUNT(tournament) FROM table_2417741_1 WHERE year = 1999 | When 1999 is the year how many tournaments are there? | <s>[INST]When 1999 is the year how many tournaments are there? Context: CREATE TABLE table_2417741_1 (tournament VARCHAR, year VARCHAR)[/INST]SELECT COUNT(tournament) FROM table_2417741_1 WHERE year = 1999</s> |
CREATE TABLE table_name_69 (standard_order VARCHAR, traditional_chinese VARCHAR) | SELECT standard_order FROM table_name_69 WHERE traditional_chinese = "國殤" | Which number is 國殤? | <s>[INST]Which number is 國殤? Context: CREATE TABLE table_name_69 (standard_order VARCHAR, traditional_chinese VARCHAR)[/INST]SELECT standard_order FROM table_name_69 WHERE traditional_chinese = "國殤"</s> |
CREATE TABLE table_14855908_3 (episodes VARCHAR, region_1__us_ VARCHAR) | SELECT episodes FROM table_14855908_3 WHERE region_1__us_ = "October 13, 2009" | How many episodes were released on DVD in the US on October 13, 2009? | <s>[INST]How many episodes were released on DVD in the US on October 13, 2009? Context: CREATE TABLE table_14855908_3 (episodes VARCHAR, region_1__us_ VARCHAR)[/INST]SELECT episodes FROM table_14855908_3 WHERE region_1__us_ = "October 13, 2009"</s> |
CREATE TABLE table_name_24 (year INTEGER, bsu_head_coach VARCHAR) | SELECT SUM(year) FROM table_name_24 WHERE bsu_head_coach = "bus conner" | What is the sum of the years with bus conner as the BSU head coach? | <s>[INST]What is the sum of the years with bus conner as the BSU head coach? Context: CREATE TABLE table_name_24 (year INTEGER, bsu_head_coach VARCHAR)[/INST]SELECT SUM(year) FROM table_name_24 WHERE bsu_head_coach = "bus conner"</s> |
CREATE TABLE table_28759261_5 (athens_xi VARCHAR, dadar_xi_‘b’ VARCHAR) | SELECT athens_xi FROM table_28759261_5 WHERE dadar_xi_‘b’ = "Strikers FC" | what is the athens xi where dada xi b is strikers fc? | <s>[INST]what is the athens xi where dada xi b is strikers fc? Context: CREATE TABLE table_28759261_5 (athens_xi VARCHAR, dadar_xi_‘b’ VARCHAR)[/INST]SELECT athens_xi FROM table_28759261_5 WHERE dadar_xi_‘b’ = "Strikers FC"</s> |
CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_79 WHERE record = "21-26" | On what date was the record 21-26? | <s>[INST]On what date was the record 21-26? Context: CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE record = "21-26"</s> |
CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, western_rockingham_middle_school VARCHAR) | SELECT james_e_holmes FROM table_25330991_3 WHERE western_rockingham_middle_school = "Duane Hensley" | Name the james e. holmes for duane hensley | <s>[INST]Name the james e. holmes for duane hensley Context: CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, western_rockingham_middle_school VARCHAR)[/INST]SELECT james_e_holmes FROM table_25330991_3 WHERE western_rockingham_middle_school = "Duane Hensley"</s> |
CREATE TABLE table_name_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_60 WHERE venue = "firhill" AND opponent = "ayr united" | What day was the game held at Firhill against AYR United? | <s>[INST]What day was the game held at Firhill against AYR United? Context: CREATE TABLE table_name_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE venue = "firhill" AND opponent = "ayr united"</s> |
CREATE TABLE table_name_8 (points INTEGER, season VARCHAR, games VARCHAR) | SELECT SUM(points) FROM table_name_8 WHERE season = "1963" AND games > 30 | What's the sum of points for the 1963 season when there are more than 30 games? | <s>[INST]What's the sum of points for the 1963 season when there are more than 30 games? Context: CREATE TABLE table_name_8 (points INTEGER, season VARCHAR, games VARCHAR)[/INST]SELECT SUM(points) FROM table_name_8 WHERE season = "1963" AND games > 30</s> |
CREATE TABLE table_19179465_1 (lost INTEGER, points VARCHAR) | SELECT MIN(lost) FROM table_19179465_1 WHERE points = 34 | How many games were lost when the club got 34 points | <s>[INST]How many games were lost when the club got 34 points Context: CREATE TABLE table_19179465_1 (lost INTEGER, points VARCHAR)[/INST]SELECT MIN(lost) FROM table_19179465_1 WHERE points = 34</s> |
CREATE TABLE table_23018775_3 (lap_two VARCHAR, name VARCHAR) | SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = "Marco Andretti" | How many lap two's did marco andretti do? | <s>[INST]How many lap two's did marco andretti do? Context: CREATE TABLE table_23018775_3 (lap_two VARCHAR, name VARCHAR)[/INST]SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = "Marco Andretti"</s> |
CREATE TABLE table_name_79 (place INTEGER, song VARCHAR) | SELECT SUM(place) FROM table_name_79 WHERE song = "never change" | What is the place of the song 'Never Change'? | <s>[INST]What is the place of the song 'Never Change'? Context: CREATE TABLE table_name_79 (place INTEGER, song VARCHAR)[/INST]SELECT SUM(place) FROM table_name_79 WHERE song = "never change"</s> |
CREATE TABLE table_name_55 (wicket VARCHAR, runs__balls_ VARCHAR) | SELECT wicket FROM table_name_55 WHERE runs__balls_ = "104 (69)" | Which Wicket was it that had a 104 (69) Runs (balls) amount? | <s>[INST]Which Wicket was it that had a 104 (69) Runs (balls) amount? Context: CREATE TABLE table_name_55 (wicket VARCHAR, runs__balls_ VARCHAR)[/INST]SELECT wicket FROM table_name_55 WHERE runs__balls_ = "104 (69)"</s> |
CREATE TABLE table_name_83 (transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR) | SELECT transfer_fee FROM table_name_83 WHERE transfer_window = "summer" AND country = "sco" AND name = "crainey" | What was the transfer fee for the summer transfer involving the SCO named Crainey? | <s>[INST]What was the transfer fee for the summer transfer involving the SCO named Crainey? Context: CREATE TABLE table_name_83 (transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR)[/INST]SELECT transfer_fee FROM table_name_83 WHERE transfer_window = "summer" AND country = "sco" AND name = "cra... |
CREATE TABLE table_24101118_1 (socket VARCHAR, brand_name VARCHAR) | SELECT socket FROM table_24101118_1 WHERE brand_name = "Core 2 Extreme" | what is the socket that has a brand name of core 2 extreme? | <s>[INST]what is the socket that has a brand name of core 2 extreme? Context: CREATE TABLE table_24101118_1 (socket VARCHAR, brand_name VARCHAR)[/INST]SELECT socket FROM table_24101118_1 WHERE brand_name = "Core 2 Extreme"</s> |
CREATE TABLE table_name_91 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_91 WHERE home_team = "collingwood" | What is the smallest crowd when collingwood is home team? | <s>[INST]What is the smallest crowd when collingwood is home team? Context: CREATE TABLE table_name_91 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_91 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_228973_11 (no_in_season VARCHAR, original_air_date VARCHAR) | SELECT no_in_season FROM table_228973_11 WHERE original_air_date = "February 11, 2005" | The episode which originally aired on February 11, 2005 had which episode # of the season? | <s>[INST]The episode which originally aired on February 11, 2005 had which episode # of the season? Context: CREATE TABLE table_228973_11 (no_in_season VARCHAR, original_air_date VARCHAR)[/INST]SELECT no_in_season FROM table_228973_11 WHERE original_air_date = "February 11, 2005"</s> |
CREATE TABLE table_30083499_1 (team VARCHAR, tournament VARCHAR) | SELECT team FROM table_30083499_1 WHERE tournament = "2012 Clausura" | Which team was in the 2012 clausura tournament? | <s>[INST]Which team was in the 2012 clausura tournament? Context: CREATE TABLE table_30083499_1 (team VARCHAR, tournament VARCHAR)[/INST]SELECT team FROM table_30083499_1 WHERE tournament = "2012 Clausura"</s> |
CREATE TABLE table_name_53 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR) | SELECT laps FROM table_name_53 WHERE time_retired = "electrical" AND driver = "rubens barrichello" | When the time/retired is electrical how many laps did Rubens Barrichello have? | <s>[INST]When the time/retired is electrical how many laps did Rubens Barrichello have? Context: CREATE TABLE table_name_53 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_name_53 WHERE time_retired = "electrical" AND driver = "rubens barrichello"</s> |
CREATE TABLE table_20046379_3 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT COUNT(original_air_date) FROM table_20046379_3 WHERE no_in_series = "35" | On how many different dates did the episode with series number 35 air for the first time? | <s>[INST]On how many different dates did the episode with series number 35 air for the first time? Context: CREATE TABLE table_20046379_3 (original_air_date VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_20046379_3 WHERE no_in_series = "35"</s> |
CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_72 WHERE date = "30 april 1977" | I want the score for 30 april 1977 | <s>[INST]I want the score for 30 april 1977 Context: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE date = "30 april 1977"</s> |
CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR) | SELECT southbridge FROM table_name_7 WHERE model = "amd-640 chipset" | What shows for Southbridge when the Model number is amd-640 chipset? | <s>[INST]What shows for Southbridge when the Model number is amd-640 chipset? Context: CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR)[/INST]SELECT southbridge FROM table_name_7 WHERE model = "amd-640 chipset"</s> |
CREATE TABLE table_name_33 (cores VARCHAR, clock_speed VARCHAR) | SELECT COUNT(cores) FROM table_name_33 WHERE clock_speed = "1.3ghz" | What is the total Cores with a Clock Speed of 1.3ghz? | <s>[INST]What is the total Cores with a Clock Speed of 1.3ghz? Context: CREATE TABLE table_name_33 (cores VARCHAR, clock_speed VARCHAR)[/INST]SELECT COUNT(cores) FROM table_name_33 WHERE clock_speed = "1.3ghz"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.