context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_25369796_1 (f_laps VARCHAR, team VARCHAR) | SELECT f_laps FROM table_25369796_1 WHERE team = "HBR Motorsport" | What was the recorded flaps of HBR Motorsport team? | <s>[INST]What was the recorded flaps of HBR Motorsport team? Context: CREATE TABLE table_25369796_1 (f_laps VARCHAR, team VARCHAR)[/INST]SELECT f_laps FROM table_25369796_1 WHERE team = "HBR Motorsport"</s> |
CREATE TABLE table_name_36 (_number_of_candidates INTEGER, _percentage_of_popular_vote VARCHAR) | SELECT AVG(_number_of_candidates) FROM table_name_36 WHERE _percentage_of_popular_vote = "41.37%" | What is the # of candidates that have a popular vote of 41.37%? | <s>[INST]What is the # of candidates that have a popular vote of 41.37%? Context: CREATE TABLE table_name_36 (_number_of_candidates INTEGER, _percentage_of_popular_vote VARCHAR)[/INST]SELECT AVG(_number_of_candidates) FROM table_name_36 WHERE _percentage_of_popular_vote = "41.37%"</s> |
CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR) | SELECT elevated FROM table_name_13 WHERE nationality = "pisa" | When was the elector from pisa elevated? | <s>[INST]When was the elector from pisa elevated? Context: CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR)[/INST]SELECT elevated FROM table_name_13 WHERE nationality = "pisa"</s> |
CREATE TABLE Maintenance_Contracts (maintenance_contract_company_id VARCHAR); CREATE TABLE Maintenance_Engineers (company_id VARCHAR); CREATE TABLE Third_Party_Companies (company_id VARCHAR, company_name VARCHAR) | SELECT T1.company_id, T1.company_name FROM Third_Party_Companies AS T1 JOIN Maintenance_Engineers AS T2 ON T1.company_id = T2.company_id GROUP BY T1.company_id HAVING COUNT(*) >= 2 UNION SELECT T3.company_id, T3.company_name FROM Third_Party_Companies AS T3 JOIN Maintenance_Contracts AS T4 ON T3.company_id = T4.mainten... | Which third party companies have at least 2 maintenance engineers or have at least 2 maintenance contracts? List the company id and name. | <s>[INST]Which third party companies have at least 2 maintenance engineers or have at least 2 maintenance contracts? List the company id and name. Context: CREATE TABLE Maintenance_Contracts (maintenance_contract_company_id VARCHAR); CREATE TABLE Maintenance_Engineers (company_id VARCHAR); CREATE TABLE Third_Party_Comp... |
CREATE TABLE table_name_98 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) | SELECT COUNT(grid) FROM table_name_98 WHERE time_retired = "gearbox" AND laps < 3 | How many grids have a Time/Retired of gearbox, and Laps smaller than 3? | <s>[INST]How many grids have a Time/Retired of gearbox, and Laps smaller than 3? Context: CREATE TABLE table_name_98 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_98 WHERE time_retired = "gearbox" AND laps < 3</s> |
CREATE TABLE table_name_11 (particle VARCHAR, rest_mass_mev___c_2 VARCHAR) | SELECT particle FROM table_name_11 WHERE rest_mass_mev___c_2 = "1383.7±1.0" | Which Particle has a Rest mass MeV/c 2 of 1383.7±1.0? | <s>[INST]Which Particle has a Rest mass MeV/c 2 of 1383.7±1.0? Context: CREATE TABLE table_name_11 (particle VARCHAR, rest_mass_mev___c_2 VARCHAR)[/INST]SELECT particle FROM table_name_11 WHERE rest_mass_mev___c_2 = "1383.7±1.0"</s> |
CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR) | SELECT COUNT(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = "Kyle" | How many likes does Kyle have? | <s>[INST]How many likes does Kyle have? Context: CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR)[/INST]SELECT COUNT(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = "Kyle"</s> |
CREATE TABLE table_name_43 (score VARCHAR, time VARCHAR) | SELECT score FROM table_name_43 WHERE time = "14:10" | What Score has a time of 14:10? | <s>[INST]What Score has a time of 14:10? Context: CREATE TABLE table_name_43 (score VARCHAR, time VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE time = "14:10"</s> |
CREATE TABLE table_name_91 (date VARCHAR, event VARCHAR) | SELECT date FROM table_name_91 WHERE event = "1500m freestyle" | What is the date of the 1500m freestyle event? | <s>[INST]What is the date of the 1500m freestyle event? Context: CREATE TABLE table_name_91 (date VARCHAR, event VARCHAR)[/INST]SELECT date FROM table_name_91 WHERE event = "1500m freestyle"</s> |
CREATE TABLE table_name_56 (year INTEGER, role VARCHAR, director VARCHAR) | SELECT SUM(year) FROM table_name_56 WHERE role = "nan taylor, alias of nan ellis, aka mrs. andrews" AND director = "william keighley" | What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley? | <s>[INST]What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley? Context: CREATE TABLE table_name_56 (year INTEGER, role VARCHAR, director VARCHAR)[/INST]SELECT SUM(year) FROM table_name_56 WHERE role = "nan taylor, alias of nan ellis, aka mrs. andrews" AND director = "... |
CREATE TABLE table_name_58 (events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR) | SELECT COUNT(events) FROM table_name_58 WHERE cuts_made < 34 AND top_10 > 3 | What is the total number of events that had 34 cuts and 3 in the top 10? | <s>[INST]What is the total number of events that had 34 cuts and 3 in the top 10? Context: CREATE TABLE table_name_58 (events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR)[/INST]SELECT COUNT(events) FROM table_name_58 WHERE cuts_made < 34 AND top_10 > 3</s> |
CREATE TABLE table_1193568_1 (election_date VARCHAR, electorate VARCHAR) | SELECT election_date FROM table_1193568_1 WHERE electorate = "Omata" | what's the election date where electorate is omata | <s>[INST] what's the election date where electorate is omata Context: CREATE TABLE table_1193568_1 (election_date VARCHAR, electorate VARCHAR)[/INST]SELECT election_date FROM table_1193568_1 WHERE electorate = "Omata"</s> |
CREATE TABLE table_name_86 (date VARCHAR, psoe VARCHAR) | SELECT date FROM table_name_86 WHERE psoe = "36.1%" | Which date has a PSOE of 36.1%? | <s>[INST]Which date has a PSOE of 36.1%? Context: CREATE TABLE table_name_86 (date VARCHAR, psoe VARCHAR)[/INST]SELECT date FROM table_name_86 WHERE psoe = "36.1%"</s> |
CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR) | SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = "Movies" | List the name of all tracks in the playlists of Movies. | <s>[INST]List the name of all tracks in the playlists of Movies. Context: CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR)[/INST]SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T... |
CREATE TABLE table_name_36 (bronze INTEGER, total VARCHAR, silver VARCHAR) | SELECT AVG(bronze) FROM table_name_36 WHERE total = 4 AND silver < 2 | What is the average Bronze, when Total is 4, and when Silver is less than 2? | <s>[INST]What is the average Bronze, when Total is 4, and when Silver is less than 2? Context: CREATE TABLE table_name_36 (bronze INTEGER, total VARCHAR, silver VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_36 WHERE total = 4 AND silver < 2</s> |
CREATE TABLE table_name_17 (week_14_dec_3 VARCHAR, week_11_nov_12 VARCHAR) | SELECT week_14_dec_3 FROM table_name_17 WHERE week_11_nov_12 = "michigan (7-2)" | What happened in week 14 when week 11's result was Michigan (7-2)? | <s>[INST]What happened in week 14 when week 11's result was Michigan (7-2)? Context: CREATE TABLE table_name_17 (week_14_dec_3 VARCHAR, week_11_nov_12 VARCHAR)[/INST]SELECT week_14_dec_3 FROM table_name_17 WHERE week_11_nov_12 = "michigan (7-2)"</s> |
CREATE TABLE table_name_80 (height VARCHAR, home_town VARCHAR) | SELECT height FROM table_name_80 WHERE home_town = "las vegas, nv" | What is the height of the player from Las Vegas, NV? | <s>[INST]What is the height of the player from Las Vegas, NV? Context: CREATE TABLE table_name_80 (height VARCHAR, home_town VARCHAR)[/INST]SELECT height FROM table_name_80 WHERE home_town = "las vegas, nv"</s> |
CREATE TABLE table_name_86 (swimsuit VARCHAR, semifinal_average VARCHAR) | SELECT swimsuit FROM table_name_86 WHERE semifinal_average = "8.367 (10)" | what is the swimsuit score when the semifinal average score is 8.367 (10)? | <s>[INST]what is the swimsuit score when the semifinal average score is 8.367 (10)? Context: CREATE TABLE table_name_86 (swimsuit VARCHAR, semifinal_average VARCHAR)[/INST]SELECT swimsuit FROM table_name_86 WHERE semifinal_average = "8.367 (10)"</s> |
CREATE TABLE table_name_56 (cover_model VARCHAR, pictorials VARCHAR) | SELECT cover_model FROM table_name_56 WHERE pictorials = "brande roderick-pmoy, naked news" | Which Cover model has a Pictorials of brande roderick-pmoy, naked news? | <s>[INST]Which Cover model has a Pictorials of brande roderick-pmoy, naked news? Context: CREATE TABLE table_name_56 (cover_model VARCHAR, pictorials VARCHAR)[/INST]SELECT cover_model FROM table_name_56 WHERE pictorials = "brande roderick-pmoy, naked news"</s> |
CREATE TABLE table_name_93 (team VARCHAR, position VARCHAR, pick VARCHAR) | SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24 | WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24? | <s>[INST]WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24? Context: CREATE TABLE table_name_93 (team VARCHAR, position VARCHAR, pick VARCHAR)[/INST]SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24</s> |
CREATE TABLE table_name_45 (year VARCHAR, nominee VARCHAR) | SELECT COUNT(year) FROM table_name_45 WHERE nominee = "denis lawson" | What years was Denis Lawson nominated for an award? | <s>[INST]What years was Denis Lawson nominated for an award? Context: CREATE TABLE table_name_45 (year VARCHAR, nominee VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_45 WHERE nominee = "denis lawson"</s> |
CREATE TABLE table_11884814_3 (country VARCHAR, interview VARCHAR, average VARCHAR) | SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44" | Which country had an interview score of 9.40 and average of 9.44? | <s>[INST]Which country had an interview score of 9.40 and average of 9.44? Context: CREATE TABLE table_11884814_3 (country VARCHAR, interview VARCHAR, average VARCHAR)[/INST]SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44"</s> |
CREATE TABLE table_2112766_1 (archive VARCHAR, run_time VARCHAR) | SELECT archive FROM table_2112766_1 WHERE run_time = "24:34" | how many archive were when run time is 24:34 | <s>[INST]how many archive were when run time is 24:34 Context: CREATE TABLE table_2112766_1 (archive VARCHAR, run_time VARCHAR)[/INST]SELECT archive FROM table_2112766_1 WHERE run_time = "24:34"</s> |
CREATE TABLE table_28884858_2 (average_attendance VARCHAR, total_attendance VARCHAR) | SELECT average_attendance FROM table_28884858_2 WHERE total_attendance = 541380 | What was average attendance when total attendance was 541380? | <s>[INST]What was average attendance when total attendance was 541380? Context: CREATE TABLE table_28884858_2 (average_attendance VARCHAR, total_attendance VARCHAR)[/INST]SELECT average_attendance FROM table_28884858_2 WHERE total_attendance = 541380</s> |
CREATE TABLE table_name_89 (rank VARCHAR, name VARCHAR, lane VARCHAR) | SELECT COUNT(rank) FROM table_name_89 WHERE name = "chen yan" AND lane < 2 | What is the number of the rank for the name of Chen Yan in a lane less than 2? | <s>[INST]What is the number of the rank for the name of Chen Yan in a lane less than 2? Context: CREATE TABLE table_name_89 (rank VARCHAR, name VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_89 WHERE name = "chen yan" AND lane < 2</s> |
CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_5 WHERE date = "may 10, 2009" | Who was the opponent on May 10, 2009? | <s>[INST]Who was the opponent on May 10, 2009? Context: CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_5 WHERE date = "may 10, 2009"</s> |
CREATE TABLE table_name_51 (election VARCHAR) | SELECT 1 AS st_member FROM table_name_51 WHERE election = "1832" | which 1st Member has a Election of 1832 | <s>[INST]which 1st Member has a Election of 1832 Context: CREATE TABLE table_name_51 (election VARCHAR)[/INST]SELECT 1 AS st_member FROM table_name_51 WHERE election = "1832"</s> |
CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR) | SELECT SUM(hull_no) FROM table_name_84 WHERE destination = "portugal" | Name the sum of Hull number with portugal destination | <s>[INST]Name the sum of Hull number with portugal destination Context: CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR)[/INST]SELECT SUM(hull_no) FROM table_name_84 WHERE destination = "portugal"</s> |
CREATE TABLE table_25353861_5 (steals INTEGER, player VARCHAR) | SELECT MIN(steals) FROM table_25353861_5 WHERE player = "Kelly Miller" | How many steals did Kelly Miller have? | <s>[INST]How many steals did Kelly Miller have? Context: CREATE TABLE table_25353861_5 (steals INTEGER, player VARCHAR)[/INST]SELECT MIN(steals) FROM table_25353861_5 WHERE player = "Kelly Miller"</s> |
CREATE TABLE table_name_72 (term_end VARCHAR, governments VARCHAR, minister VARCHAR) | SELECT term_end FROM table_name_72 WHERE governments = "27" AND minister = "tzachi hanegbi" | When did the term end for the term that had government 27 and Minister Tzachi Hanegbi? | <s>[INST]When did the term end for the term that had government 27 and Minister Tzachi Hanegbi? Context: CREATE TABLE table_name_72 (term_end VARCHAR, governments VARCHAR, minister VARCHAR)[/INST]SELECT term_end FROM table_name_72 WHERE governments = "27" AND minister = "tzachi hanegbi"</s> |
CREATE TABLE table_name_10 (sodium VARCHAR, lithium VARCHAR, rubidium VARCHAR) | SELECT sodium FROM table_name_10 WHERE lithium = "h a l o g e n s" AND rubidium = "nacl (2.1)" | what is the properties of sodium when lithium is h a l o g e n s and rubidium is nacl (2.1)? | <s>[INST]what is the properties of sodium when lithium is h a l o g e n s and rubidium is nacl (2.1)? Context: CREATE TABLE table_name_10 (sodium VARCHAR, lithium VARCHAR, rubidium VARCHAR)[/INST]SELECT sodium FROM table_name_10 WHERE lithium = "h a l o g e n s" AND rubidium = "nacl (2.1)"</s> |
CREATE TABLE table_name_68 (kemmerode VARCHAR, gersdorf VARCHAR) | SELECT kemmerode FROM table_name_68 WHERE gersdorf = "39" | What Kemmerode has a Gersforf of 39? | <s>[INST]What Kemmerode has a Gersforf of 39? Context: CREATE TABLE table_name_68 (kemmerode VARCHAR, gersdorf VARCHAR)[/INST]SELECT kemmerode FROM table_name_68 WHERE gersdorf = "39"</s> |
CREATE TABLE table_name_11 (election VARCHAR) | SELECT 2 AS nd_party FROM table_name_11 WHERE election = "1885" | What is 2nd Party, when Election is "1885"? | <s>[INST]What is 2nd Party, when Election is "1885"? Context: CREATE TABLE table_name_11 (election VARCHAR)[/INST]SELECT 2 AS nd_party FROM table_name_11 WHERE election = "1885"</s> |
CREATE TABLE table_name_43 (age_on_leaving VARCHAR, political_party VARCHAR, left_house VARCHAR) | SELECT age_on_leaving FROM table_name_43 WHERE political_party = "conservative" AND left_house = "2001" | How old was the conservative party member that left the house in 2001? | <s>[INST]How old was the conservative party member that left the house in 2001? Context: CREATE TABLE table_name_43 (age_on_leaving VARCHAR, political_party VARCHAR, left_house VARCHAR)[/INST]SELECT age_on_leaving FROM table_name_43 WHERE political_party = "conservative" AND left_house = "2001"</s> |
CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_15 WHERE date = "july 15, 1984" | On July 15, 1984 what surface was used? | <s>[INST]On July 15, 1984 what surface was used? Context: CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_15 WHERE date = "july 15, 1984"</s> |
CREATE TABLE table_name_94 (final_score VARCHAR, stadium VARCHAR, visiting_team VARCHAR) | SELECT final_score FROM table_name_94 WHERE stadium = "texas stadium" AND visiting_team = "new orleans saints" | When the new orleans saints were visiting texas stadium, what was the final score? | <s>[INST]When the new orleans saints were visiting texas stadium, what was the final score? Context: CREATE TABLE table_name_94 (final_score VARCHAR, stadium VARCHAR, visiting_team VARCHAR)[/INST]SELECT final_score FROM table_name_94 WHERE stadium = "texas stadium" AND visiting_team = "new orleans saints"</s> |
CREATE TABLE table_28005100_1 (composer VARCHAR, title VARCHAR) | SELECT composer FROM table_28005100_1 WHERE title = "Te3rafy" | Who was the composer of te3rafy? | <s>[INST]Who was the composer of te3rafy? Context: CREATE TABLE table_28005100_1 (composer VARCHAR, title VARCHAR)[/INST]SELECT composer FROM table_28005100_1 WHERE title = "Te3rafy"</s> |
CREATE TABLE table_name_66 (total INTEGER, player VARCHAR) | SELECT AVG(total) FROM table_name_66 WHERE player = "dave stockton" | What is the average total for Dave Stockton? | <s>[INST]What is the average total for Dave Stockton? Context: CREATE TABLE table_name_66 (total INTEGER, player VARCHAR)[/INST]SELECT AVG(total) FROM table_name_66 WHERE player = "dave stockton"</s> |
CREATE TABLE table_name_30 (region VARCHAR, venue VARCHAR) | SELECT region FROM table_name_30 WHERE venue = "william r. johnson coliseum" | What region is William R. Johnson Coliseum in? | <s>[INST]What region is William R. Johnson Coliseum in? Context: CREATE TABLE table_name_30 (region VARCHAR, venue VARCHAR)[/INST]SELECT region FROM table_name_30 WHERE venue = "william r. johnson coliseum"</s> |
CREATE TABLE table_name_75 (total VARCHAR, to_par VARCHAR, year_s__won VARCHAR) | SELECT total FROM table_name_75 WHERE to_par = "+9" AND year_s__won = "1987" | Which player won in 1987 and ended with a score of +9? | <s>[INST]Which player won in 1987 and ended with a score of +9? Context: CREATE TABLE table_name_75 (total VARCHAR, to_par VARCHAR, year_s__won VARCHAR)[/INST]SELECT total FROM table_name_75 WHERE to_par = "+9" AND year_s__won = "1987"</s> |
CREATE TABLE table_name_47 (spectators INTEGER, date VARCHAR, time__cet_ VARCHAR) | SELECT SUM(spectators) FROM table_name_47 WHERE date = "17 june 2006" AND time__cet_ > 15 | How many Spectators have a Date of 17 june 2006, and a Time (CET) larger than 15? | <s>[INST]How many Spectators have a Date of 17 june 2006, and a Time (CET) larger than 15? Context: CREATE TABLE table_name_47 (spectators INTEGER, date VARCHAR, time__cet_ VARCHAR)[/INST]SELECT SUM(spectators) FROM table_name_47 WHERE date = "17 june 2006" AND time__cet_ > 15</s> |
CREATE TABLE table_name_62 (draws INTEGER, losses VARCHAR, byes VARCHAR) | SELECT MIN(draws) FROM table_name_62 WHERE losses = 5 AND byes > 0 | What is the lowest draw that has 5 losses and byes greater than 0? | <s>[INST]What is the lowest draw that has 5 losses and byes greater than 0? Context: CREATE TABLE table_name_62 (draws INTEGER, losses VARCHAR, byes VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_62 WHERE losses = 5 AND byes > 0</s> |
CREATE TABLE table_14139408_1 (poles VARCHAR, pts VARCHAR) | SELECT poles FROM table_14139408_1 WHERE pts = "81" | what's the poles with pts being 81 | <s>[INST]what's the poles with pts being 81 Context: CREATE TABLE table_14139408_1 (poles VARCHAR, pts VARCHAR)[/INST]SELECT poles FROM table_14139408_1 WHERE pts = "81"</s> |
CREATE TABLE table_name_91 (label VARCHAR, format VARCHAR, region VARCHAR) | SELECT label FROM table_name_91 WHERE format = "cd" AND region = "north america" | What is the label for the CD format in North America? | <s>[INST]What is the label for the CD format in North America? Context: CREATE TABLE table_name_91 (label VARCHAR, format VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_91 WHERE format = "cd" AND region = "north america"</s> |
CREATE TABLE table_name_39 (events INTEGER, top_10 VARCHAR, wins VARCHAR) | SELECT MAX(events) FROM table_name_39 WHERE top_10 > 7 AND wins < 2 | Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2? | <s>[INST]Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2? Context: CREATE TABLE table_name_39 (events INTEGER, top_10 VARCHAR, wins VARCHAR)[/INST]SELECT MAX(events) FROM table_name_39 WHERE top_10 > 7 AND wins < 2</s> |
CREATE TABLE table_name_14 (the_tradition VARCHAR, year VARCHAR, senior_players_championship VARCHAR) | SELECT the_tradition FROM table_name_14 WHERE year > 1998 AND senior_players_championship = "mark o'meara" | When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition? | <s>[INST]When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition? Context: CREATE TABLE table_name_14 (the_tradition VARCHAR, year VARCHAR, senior_players_championship VARCHAR)[/INST]SELECT the_tradition FROM table_name_14 WHERE year > 1998 AND senior_players_championship = "... |
CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0 | what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0? | <s>[INST]what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0? Context: CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0</s> |
CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_23 WHERE rank > 4 AND silver > 0 AND bronze < 1 | With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total? | <s>[INST]With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total? Context: CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR)[/INST]SELECT AVG(total) FROM table_name_23 WHERE rank > 4 AND silver > 0 AND bronze < 1... |
CREATE TABLE table_name_74 (frame_size VARCHAR, height VARCHAR, max_fps VARCHAR, width VARCHAR) | SELECT frame_size FROM table_name_74 WHERE max_fps = 120 AND width = 2048 AND height = 1024 | What frame size corresponds the selection with a max fps of 120, a width of 2048, and height of 1024? | <s>[INST]What frame size corresponds the selection with a max fps of 120, a width of 2048, and height of 1024? Context: CREATE TABLE table_name_74 (frame_size VARCHAR, height VARCHAR, max_fps VARCHAR, width VARCHAR)[/INST]SELECT frame_size FROM table_name_74 WHERE max_fps = 120 AND width = 2048 AND height = 1024</s> |
CREATE TABLE table_name_9 (to_par INTEGER, player VARCHAR) | SELECT MIN(to_par) FROM table_name_9 WHERE player = "bobby cruickshank" | What is the lowest par for Bobby Cruickshank? | <s>[INST]What is the lowest par for Bobby Cruickshank? Context: CREATE TABLE table_name_9 (to_par INTEGER, player VARCHAR)[/INST]SELECT MIN(to_par) FROM table_name_9 WHERE player = "bobby cruickshank"</s> |
CREATE TABLE table_name_44 (round VARCHAR, venue VARCHAR, result VARCHAR) | SELECT round FROM table_name_44 WHERE venue = "n" AND result = "5-1" | What round was the game with a result of 5-1 at N venue? | <s>[INST]What round was the game with a result of 5-1 at N venue? Context: CREATE TABLE table_name_44 (round VARCHAR, venue VARCHAR, result VARCHAR)[/INST]SELECT round FROM table_name_44 WHERE venue = "n" AND result = "5-1"</s> |
CREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR) | SELECT year_premiered FROM table_24224647_2 WHERE main_presenter = "Behzat Uighur" | What is every year premiered when Behzat Uighur is main presenter? | <s>[INST]What is every year premiered when Behzat Uighur is main presenter? Context: CREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR)[/INST]SELECT year_premiered FROM table_24224647_2 WHERE main_presenter = "Behzat Uighur"</s> |
CREATE TABLE table_name_79 (tournament VARCHAR) | SELECT tournament FROM table_name_79 WHERE 2004 = "1r" AND 1998 = "2r" | Which tournament had a performance of 1R in 2004 and 2R in 1998? | <s>[INST]Which tournament had a performance of 1R in 2004 and 2R in 1998? Context: CREATE TABLE table_name_79 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_79 WHERE 2004 = "1r" AND 1998 = "2r"</s> |
CREATE TABLE table_name_13 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_13 WHERE driver = "jenson button" | What was Jenson Button's constructor? | <s>[INST]What was Jenson Button's constructor? Context: CREATE TABLE table_name_13 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_13 WHERE driver = "jenson button"</s> |
CREATE TABLE table_20884160_1 (winner VARCHAR, circuit VARCHAR) | SELECT winner FROM table_20884160_1 WHERE circuit = "Barbagallo Raceway" | Who was the winner of the race at barbagallo raceway? | <s>[INST]Who was the winner of the race at barbagallo raceway? Context: CREATE TABLE table_20884160_1 (winner VARCHAR, circuit VARCHAR)[/INST]SELECT winner FROM table_20884160_1 WHERE circuit = "Barbagallo Raceway"</s> |
CREATE TABLE table_1952065_4 (division_championships INTEGER, playoff_berths VARCHAR) | SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths = 11 | What is the highest number of division championships where playoff berths were 11? | <s>[INST]What is the highest number of division championships where playoff berths were 11? Context: CREATE TABLE table_1952065_4 (division_championships INTEGER, playoff_berths VARCHAR)[/INST]SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths = 11</s> |
CREATE TABLE table_name_36 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR) | SELECT crew_chief FROM table_name_36 WHERE team = "tristar motorsports" AND driver_s_ = "eric mcclure" | Who is Eric McClure's and Tristar Motorsports' crew chief? | <s>[INST]Who is Eric McClure's and Tristar Motorsports' crew chief? Context: CREATE TABLE table_name_36 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR)[/INST]SELECT crew_chief FROM table_name_36 WHERE team = "tristar motorsports" AND driver_s_ = "eric mcclure"</s> |
CREATE TABLE table_name_35 (car_model VARCHAR, manufacturer VARCHAR, driver VARCHAR) | SELECT car_model FROM table_name_35 WHERE manufacturer = "saab" AND driver = "dean randle" | What Car Model has the Manufacturer of Saab, and Driver Dean Randle? | <s>[INST]What Car Model has the Manufacturer of Saab, and Driver Dean Randle? Context: CREATE TABLE table_name_35 (car_model VARCHAR, manufacturer VARCHAR, driver VARCHAR)[/INST]SELECT car_model FROM table_name_35 WHERE manufacturer = "saab" AND driver = "dean randle"</s> |
CREATE TABLE table_name_4 (diagram INTEGER, built VARCHAR, lot_no VARCHAR) | SELECT MIN(diagram) FROM table_name_4 WHERE built = "1962" AND lot_no < 30702 | What diagram built in 1962 has a lot number smaller than 30702? | <s>[INST]What diagram built in 1962 has a lot number smaller than 30702? Context: CREATE TABLE table_name_4 (diagram INTEGER, built VARCHAR, lot_no VARCHAR)[/INST]SELECT MIN(diagram) FROM table_name_4 WHERE built = "1962" AND lot_no < 30702</s> |
CREATE TABLE table_name_28 (location_attendance VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_name_28 WHERE score = "l 90–91 (ot)" | What location has an attendance and a score of l 90–91 (ot)? | <s>[INST]What location has an attendance and a score of l 90–91 (ot)? Context: CREATE TABLE table_name_28 (location_attendance VARCHAR, score VARCHAR)[/INST]SELECT location_attendance FROM table_name_28 WHERE score = "l 90–91 (ot)"</s> |
CREATE TABLE table_name_25 (week VARCHAR, date VARCHAR) | SELECT COUNT(week) FROM table_name_25 WHERE date = "december 31, 1993" | What week shows for december 31, 1993? | <s>[INST]What week shows for december 31, 1993? Context: CREATE TABLE table_name_25 (week VARCHAR, date VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_25 WHERE date = "december 31, 1993"</s> |
CREATE TABLE event (Date VARCHAR, Name VARCHAR, venue VARCHAR, Event_Attendance VARCHAR) | SELECT Date, Name, venue FROM event ORDER BY Event_Attendance DESC | Show the dates, places, and names of events in descending order of the attendance. | <s>[INST]Show the dates, places, and names of events in descending order of the attendance. Context: CREATE TABLE event (Date VARCHAR, Name VARCHAR, venue VARCHAR, Event_Attendance VARCHAR)[/INST]SELECT Date, Name, venue FROM event ORDER BY Event_Attendance DESC</s> |
CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR) | SELECT product_name, typical_buying_price FROM products | What are the names and buying prices of all the products? | <s>[INST]What are the names and buying prices of all the products? Context: CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR)[/INST]SELECT product_name, typical_buying_price FROM products</s> |
CREATE TABLE table_name_38 (official_name VARCHAR, population INTEGER) | SELECT official_name FROM table_name_38 WHERE population < 1 OFFSET 429 | What is the name(s) of the place(s) with a population of less than 1,429? | <s>[INST]What is the name(s) of the place(s) with a population of less than 1,429? Context: CREATE TABLE table_name_38 (official_name VARCHAR, population INTEGER)[/INST]SELECT official_name FROM table_name_38 WHERE population < 1 OFFSET 429</s> |
CREATE TABLE table_name_94 (qual_1 VARCHAR, qual_2 VARCHAR, best VARCHAR) | SELECT qual_1 FROM table_name_94 WHERE qual_2 = "no time" AND best = "1:16.776" | What is the qual 1 when the qual 2 has no time and the best is 1:16.776? | <s>[INST]What is the qual 1 when the qual 2 has no time and the best is 1:16.776? Context: CREATE TABLE table_name_94 (qual_1 VARCHAR, qual_2 VARCHAR, best VARCHAR)[/INST]SELECT qual_1 FROM table_name_94 WHERE qual_2 = "no time" AND best = "1:16.776"</s> |
CREATE TABLE table_25016555_5 (blocks VARCHAR, assists VARCHAR) | SELECT COUNT(blocks) FROM table_25016555_5 WHERE assists = 21 | When 21 is the number of assists how many sets of blocks are there? | <s>[INST]When 21 is the number of assists how many sets of blocks are there? Context: CREATE TABLE table_25016555_5 (blocks VARCHAR, assists VARCHAR)[/INST]SELECT COUNT(blocks) FROM table_25016555_5 WHERE assists = 21</s> |
CREATE TABLE table_name_32 (points_against VARCHAR, played VARCHAR, club VARCHAR) | SELECT points_against FROM table_name_32 WHERE played = "22" AND club = "carmarthen athletic rfc" | How many points against did Carmarthen Athletic RFC have when they played 22 games ? | <s>[INST]How many points against did Carmarthen Athletic RFC have when they played 22 games ? Context: CREATE TABLE table_name_32 (points_against VARCHAR, played VARCHAR, club VARCHAR)[/INST]SELECT points_against FROM table_name_32 WHERE played = "22" AND club = "carmarthen athletic rfc"</s> |
CREATE TABLE table_name_89 (record VARCHAR, game_site VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_89 WHERE game_site = "rich stadium" AND opponent = "new england patriots" | What is the record for the game against New England Patriots at the Rich Stadium? | <s>[INST]What is the record for the game against New England Patriots at the Rich Stadium? Context: CREATE TABLE table_name_89 (record VARCHAR, game_site VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_89 WHERE game_site = "rich stadium" AND opponent = "new england patriots"</s> |
CREATE TABLE table_name_77 (touchdowns INTEGER, rushing_yards VARCHAR, points VARCHAR, average VARCHAR) | SELECT MAX(touchdowns) FROM table_name_77 WHERE points < 105 AND average > 4.7 AND rushing_yards < 487 | What is the most number of touchdowns that have fewer than 105 points, averages over 4.7, and fewer than 487 rushing yards? | <s>[INST]What is the most number of touchdowns that have fewer than 105 points, averages over 4.7, and fewer than 487 rushing yards? Context: CREATE TABLE table_name_77 (touchdowns INTEGER, rushing_yards VARCHAR, points VARCHAR, average VARCHAR)[/INST]SELECT MAX(touchdowns) FROM table_name_77 WHERE points < 105 AND ave... |
CREATE TABLE table_15929156_3 (others_votes VARCHAR, others__percentage VARCHAR) | SELECT COUNT(others_votes) FROM table_15929156_3 WHERE others__percentage = "2.0%" | Name the number of others votes for when others % is 2.0% | <s>[INST]Name the number of others votes for when others % is 2.0% Context: CREATE TABLE table_15929156_3 (others_votes VARCHAR, others__percentage VARCHAR)[/INST]SELECT COUNT(others_votes) FROM table_15929156_3 WHERE others__percentage = "2.0%"</s> |
CREATE TABLE table_name_58 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_58 WHERE opponent = "linfield" | Where was the venue that Linfield was the opponent? | <s>[INST]Where was the venue that Linfield was the opponent? Context: CREATE TABLE table_name_58 (venue VARCHAR, opponent VARCHAR)[/INST]SELECT venue FROM table_name_58 WHERE opponent = "linfield"</s> |
CREATE TABLE table_name_47 (champion VARCHAR, score VARCHAR) | SELECT champion FROM table_name_47 WHERE score = "7–6, 6–0" | Who is the champion with a score of 7–6, 6–0? | <s>[INST]Who is the champion with a score of 7–6, 6–0? Context: CREATE TABLE table_name_47 (champion VARCHAR, score VARCHAR)[/INST]SELECT champion FROM table_name_47 WHERE score = "7–6, 6–0"</s> |
CREATE TABLE table_name_17 (english_title VARCHAR, director VARCHAR) | SELECT english_title FROM table_name_17 WHERE director = "jean-pierre jeunet" | Name the title of jean-pierre jeunet | <s>[INST]Name the title of jean-pierre jeunet Context: CREATE TABLE table_name_17 (english_title VARCHAR, director VARCHAR)[/INST]SELECT english_title FROM table_name_17 WHERE director = "jean-pierre jeunet"</s> |
CREATE TABLE table_name_60 (province VARCHAR, icao VARCHAR) | SELECT province FROM table_name_60 WHERE icao = "zbcf" | Name the Province with ICAO of zbcf? | <s>[INST]Name the Province with ICAO of zbcf? Context: CREATE TABLE table_name_60 (province VARCHAR, icao VARCHAR)[/INST]SELECT province FROM table_name_60 WHERE icao = "zbcf"</s> |
CREATE TABLE table_name_31 (gold INTEGER, bronze INTEGER) | SELECT SUM(gold) FROM table_name_31 WHERE bronze < 0 | Tell me the sum of gold for bronze less than 0 | <s>[INST]Tell me the sum of gold for bronze less than 0 Context: CREATE TABLE table_name_31 (gold INTEGER, bronze INTEGER)[/INST]SELECT SUM(gold) FROM table_name_31 WHERE bronze < 0</s> |
CREATE TABLE table_name_10 (Id VARCHAR) | SELECT 2010 FROM table_name_10 WHERE 2008 = "a" AND 2011 = "a" AND 2012 = "qf" | What is the categorization in 2010 when it was A in 2008 and 20011 while being QF in 2012? | <s>[INST]What is the categorization in 2010 when it was A in 2008 and 20011 while being QF in 2012? Context: CREATE TABLE table_name_10 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_10 WHERE 2008 = "a" AND 2011 = "a" AND 2012 = "qf"</s> |
CREATE TABLE table_name_49 (population INTEGER, type VARCHAR, region VARCHAR) | SELECT SUM(population) FROM table_name_49 WHERE type = "vl" AND region > 3 | How many people have a vl type in a region greater than 3? | <s>[INST]How many people have a vl type in a region greater than 3? Context: CREATE TABLE table_name_49 (population INTEGER, type VARCHAR, region VARCHAR)[/INST]SELECT SUM(population) FROM table_name_49 WHERE type = "vl" AND region > 3</s> |
CREATE TABLE table_name_90 (name VARCHAR, total VARCHAR) | SELECT name FROM table_name_90 WHERE total = 34 | Who had a total of 34? | <s>[INST]Who had a total of 34? Context: CREATE TABLE table_name_90 (name VARCHAR, total VARCHAR)[/INST]SELECT name FROM table_name_90 WHERE total = 34</s> |
CREATE TABLE table_name_94 (date VARCHAR, scorers VARCHAR) | SELECT date FROM table_name_94 WHERE scorers = "hegarty" | What date was the game played in where hegarty was the scorer? | <s>[INST]What date was the game played in where hegarty was the scorer? Context: CREATE TABLE table_name_94 (date VARCHAR, scorers VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE scorers = "hegarty"</s> |
CREATE TABLE table_10470082_3 (writer VARCHAR, us_air_date VARCHAR) | SELECT COUNT(writer) FROM table_10470082_3 WHERE us_air_date = "September 25, 1993" | How many writers had an US air date of september 25, 1993? | <s>[INST]How many writers had an US air date of september 25, 1993? Context: CREATE TABLE table_10470082_3 (writer VARCHAR, us_air_date VARCHAR)[/INST]SELECT COUNT(writer) FROM table_10470082_3 WHERE us_air_date = "September 25, 1993"</s> |
CREATE TABLE table_name_22 (chassis VARCHAR, year VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_22 WHERE year > 1985 AND entrant = "jolly club spa" | What chassis did Jolly Club Spa used after 1985? | <s>[INST]What chassis did Jolly Club Spa used after 1985? Context: CREATE TABLE table_name_22 (chassis VARCHAR, year VARCHAR, entrant VARCHAR)[/INST]SELECT chassis FROM table_name_22 WHERE year > 1985 AND entrant = "jolly club spa"</s> |
CREATE TABLE table_name_96 (points VARCHAR, horse VARCHAR) | SELECT COUNT(points) FROM table_name_96 WHERE horse = "chippison" | What is the total points when the horse is Chippison? | <s>[INST]What is the total points when the horse is Chippison? Context: CREATE TABLE table_name_96 (points VARCHAR, horse VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_96 WHERE horse = "chippison"</s> |
CREATE TABLE table_name_85 (nationality VARCHAR, position VARCHAR, school_country VARCHAR) | SELECT nationality FROM table_name_85 WHERE position = "guard" AND school_country = "ucla" | What nationality is the guard from ucla? | <s>[INST]What nationality is the guard from ucla? Context: CREATE TABLE table_name_85 (nationality VARCHAR, position VARCHAR, school_country VARCHAR)[/INST]SELECT nationality FROM table_name_85 WHERE position = "guard" AND school_country = "ucla"</s> |
CREATE TABLE table_name_2 (erp_w VARCHAR, city_of_license VARCHAR) | SELECT erp_w FROM table_name_2 WHERE city_of_license = "charleston, sc" | What is Charleston, SC ERP W? | <s>[INST]What is Charleston, SC ERP W? Context: CREATE TABLE table_name_2 (erp_w VARCHAR, city_of_license VARCHAR)[/INST]SELECT erp_w FROM table_name_2 WHERE city_of_license = "charleston, sc"</s> |
CREATE TABLE table_name_53 (date VARCHAR, silbert VARCHAR) | SELECT date FROM table_name_53 WHERE silbert = "18%" | What is the date of the poll with Silbert at 18%? | <s>[INST]What is the date of the poll with Silbert at 18%? Context: CREATE TABLE table_name_53 (date VARCHAR, silbert VARCHAR)[/INST]SELECT date FROM table_name_53 WHERE silbert = "18%"</s> |
CREATE TABLE table_name_94 (model VARCHAR, power VARCHAR) | SELECT model FROM table_name_94 WHERE power = "66kw (90 ps) @ 6250 rpm" | Which model had a power of 66kw (90 ps) @ 6250 rpm? | <s>[INST]Which model had a power of 66kw (90 ps) @ 6250 rpm? Context: CREATE TABLE table_name_94 (model VARCHAR, power VARCHAR)[/INST]SELECT model FROM table_name_94 WHERE power = "66kw (90 ps) @ 6250 rpm"</s> |
CREATE TABLE table_name_46 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_46 WHERE attendance = "69,365" | What was the Result of the game with an Attendance of 69,365? | <s>[INST]What was the Result of the game with an Attendance of 69,365? Context: CREATE TABLE table_name_46 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_46 WHERE attendance = "69,365"</s> |
CREATE TABLE table_name_92 (elected VARCHAR, incumbent VARCHAR, party VARCHAR, status VARCHAR) | SELECT elected FROM table_name_92 WHERE party = "republican" AND status = "re-elected" AND incumbent = "john all barham" | What year was republican, re-elected incumbent John all barham elected? | <s>[INST]What year was republican, re-elected incumbent John all barham elected? Context: CREATE TABLE table_name_92 (elected VARCHAR, incumbent VARCHAR, party VARCHAR, status VARCHAR)[/INST]SELECT elected FROM table_name_92 WHERE party = "republican" AND status = "re-elected" AND incumbent = "john all barham"</s> |
CREATE TABLE table_name_57 (avg INTEGER, fuml INTEGER) | SELECT MAX(avg) FROM table_name_57 WHERE fuml < 0 | What was the highest average when Fuml was 0? | <s>[INST]What was the highest average when Fuml was 0? Context: CREATE TABLE table_name_57 (avg INTEGER, fuml INTEGER)[/INST]SELECT MAX(avg) FROM table_name_57 WHERE fuml < 0</s> |
CREATE TABLE table_name_74 (winner VARCHAR, time VARCHAR, jockey VARCHAR) | SELECT winner FROM table_name_74 WHERE time = "1:12.00" AND jockey = "melvin a. holland" | Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey? | <s>[INST]Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey? Context: CREATE TABLE table_name_74 (winner VARCHAR, time VARCHAR, jockey VARCHAR)[/INST]SELECT winner FROM table_name_74 WHERE time = "1:12.00" AND jockey = "melvin a. holland"</s> |
CREATE TABLE table_name_25 (loss VARCHAR, score VARCHAR) | SELECT loss FROM table_name_25 WHERE score = "w 4-3" | Who lost that has a score of w 4-3? | <s>[INST]Who lost that has a score of w 4-3? Context: CREATE TABLE table_name_25 (loss VARCHAR, score VARCHAR)[/INST]SELECT loss FROM table_name_25 WHERE score = "w 4-3"</s> |
CREATE TABLE table_name_86 (position VARCHAR, points VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_86 WHERE points = 29 AND lost < 2 | What is the position number when there were 29 points, and less than 2 is lost? | <s>[INST]What is the position number when there were 29 points, and less than 2 is lost? Context: CREATE TABLE table_name_86 (position VARCHAR, points VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_86 WHERE points = 29 AND lost < 2</s> |
CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_54 WHERE player = "curtis strange" | What country is Curtis Strange from? | <s>[INST]What country is Curtis Strange from? Context: CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_54 WHERE player = "curtis strange"</s> |
CREATE TABLE table_name_97 (staffel_b VARCHAR, staffel_c VARCHAR) | SELECT staffel_b FROM table_name_97 WHERE staffel_c = "hallescher fc chemie" | What is the Staffel B that has Hallescher Fc Chemie as Staffel C? | <s>[INST]What is the Staffel B that has Hallescher Fc Chemie as Staffel C? Context: CREATE TABLE table_name_97 (staffel_b VARCHAR, staffel_c VARCHAR)[/INST]SELECT staffel_b FROM table_name_97 WHERE staffel_c = "hallescher fc chemie"</s> |
CREATE TABLE table_name_68 (player VARCHAR, finish VARCHAR) | SELECT player FROM table_name_68 WHERE finish = "74" | Who Player has a Finish of 74? | <s>[INST]Who Player has a Finish of 74? Context: CREATE TABLE table_name_68 (player VARCHAR, finish VARCHAR)[/INST]SELECT player FROM table_name_68 WHERE finish = "74"</s> |
CREATE TABLE table_name_83 (others_percentage VARCHAR, others_number VARCHAR, kerry_percentage VARCHAR) | SELECT others_percentage FROM table_name_83 WHERE others_number > 147 AND kerry_percentage = "39.6%" | What is the value Others% when the value Others# is greater than 147 and the value Kerry% is 39.6%? | <s>[INST]What is the value Others% when the value Others# is greater than 147 and the value Kerry% is 39.6%? Context: CREATE TABLE table_name_83 (others_percentage VARCHAR, others_number VARCHAR, kerry_percentage VARCHAR)[/INST]SELECT others_percentage FROM table_name_83 WHERE others_number > 147 AND kerry_percentage =... |
CREATE TABLE table_11960407_2 (score VARCHAR, team VARCHAR) | SELECT score FROM table_11960407_2 WHERE team = "@ Cleveland" | What was the result of the game when the raptors played @ cleveland? | <s>[INST]What was the result of the game when the raptors played @ cleveland? Context: CREATE TABLE table_11960407_2 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_11960407_2 WHERE team = "@ Cleveland"</s> |
CREATE TABLE table_name_97 (year INTEGER, start VARCHAR) | SELECT SUM(year) FROM table_name_97 WHERE start = "33" | What year was the start 33? | <s>[INST]What year was the start 33? Context: CREATE TABLE table_name_97 (year INTEGER, start VARCHAR)[/INST]SELECT SUM(year) FROM table_name_97 WHERE start = "33"</s> |
CREATE TABLE table_name_32 (year INTEGER, charts VARCHAR) | SELECT AVG(year) FROM table_name_32 WHERE charts = "no. 7" | What year was the No. 7 charts? | <s>[INST]What year was the No. 7 charts? Context: CREATE TABLE table_name_32 (year INTEGER, charts VARCHAR)[/INST]SELECT AVG(year) FROM table_name_32 WHERE charts = "no. 7"</s> |
CREATE TABLE table_11497980_1 (gcm__kg__technical_capacity VARCHAR, transmission_make_type_speed VARCHAR) | SELECT gcm__kg__technical_capacity FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS 5306-A Manual Synchromesh 6 Speed" | When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity? | <s>[INST]When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity? Context: CREATE TABLE table_11497980_1 (gcm__kg__technical_capacity VARCHAR, transmission_make_type_speed VARCHAR)[/INST]SELECT gcm__kg__technical_capacity FROM table_11497... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.