context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR) | SELECT T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY COUNT(*) LIMIT 1 | Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes? | <s>[INST]Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes? Context: CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR)[/INST]SELECT T1.contestant_number, T1.contestant_name FROM c... |
CREATE TABLE table_name_30 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT MIN(grid) FROM table_name_30 WHERE time_retired = "+ 5 laps" AND laps < 161 | What grid is the lowest when the time/retired is + 5 laps and the laps is less than 161? | <s>[INST]What grid is the lowest when the time/retired is + 5 laps and the laps is less than 161? Context: CREATE TABLE table_name_30 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_30 WHERE time_retired = "+ 5 laps" AND laps < 161</s> |
CREATE TABLE artist (age VARCHAR, year_join VARCHAR) | SELECT COUNT(*) FROM artist WHERE age > 46 AND year_join > 1990 | How many artists are above age 46 and joined after 1990? | <s>[INST]How many artists are above age 46 and joined after 1990? Context: CREATE TABLE artist (age VARCHAR, year_join VARCHAR)[/INST]SELECT COUNT(*) FROM artist WHERE age > 46 AND year_join > 1990</s> |
CREATE TABLE table_12002388_1 (open_cup VARCHAR, year VARCHAR) | SELECT COUNT(open_cup) FROM table_12002388_1 WHERE year = 1993 | How many open cups were hosted in 1993? | <s>[INST]How many open cups were hosted in 1993? Context: CREATE TABLE table_12002388_1 (open_cup VARCHAR, year VARCHAR)[/INST]SELECT COUNT(open_cup) FROM table_12002388_1 WHERE year = 1993</s> |
CREATE TABLE table_name_1 (network VARCHAR, d_erp VARCHAR, callsign VARCHAR) | SELECT network FROM table_name_1 WHERE d_erp = "•" AND callsign = "xhtm" | What's the network that has a callsign of XHTM and a D ERP of •? | <s>[INST]What's the network that has a callsign of XHTM and a D ERP of •? Context: CREATE TABLE table_name_1 (network VARCHAR, d_erp VARCHAR, callsign VARCHAR)[/INST]SELECT network FROM table_name_1 WHERE d_erp = "•" AND callsign = "xhtm"</s> |
CREATE TABLE table_name_93 (bronze INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT MAX(bronze) FROM table_name_93 WHERE gold > 1 AND nation = "china" AND total > 11 | What is the highest amount of bronze china, which has more than 1 gold and more than 11 total, has? | <s>[INST]What is the highest amount of bronze china, which has more than 1 gold and more than 11 total, has? Context: CREATE TABLE table_name_93 (bronze INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_93 WHERE gold > 1 AND nation = "china" AND total > 11</s> |
CREATE TABLE table_name_58 (area_km_2 VARCHAR, population VARCHAR) | SELECT COUNT(area_km_2) FROM table_name_58 WHERE population = 2 OFFSET 113 | What is the Area of the Parish with a Population of 2,113? | <s>[INST]What is the Area of the Parish with a Population of 2,113? Context: CREATE TABLE table_name_58 (area_km_2 VARCHAR, population VARCHAR)[/INST]SELECT COUNT(area_km_2) FROM table_name_58 WHERE population = 2 OFFSET 113</s> |
CREATE TABLE table_name_40 (_inns VARCHAR, player VARCHAR, wickets VARCHAR) | SELECT COUNT(5) + _inns FROM table_name_40 WHERE player = "tyron henderson" AND wickets < 21 | How many 5+/inns have tyron henderson as the player, with wickets less than 21? | <s>[INST]How many 5+/inns have tyron henderson as the player, with wickets less than 21? Context: CREATE TABLE table_name_40 (_inns VARCHAR, player VARCHAR, wickets VARCHAR)[/INST]SELECT COUNT(5) + _inns FROM table_name_40 WHERE player = "tyron henderson" AND wickets < 21</s> |
CREATE TABLE table_24919137_2 (result_margin VARCHAR, broadcaster VARCHAR, venue VARCHAR) | SELECT result_margin FROM table_24919137_2 WHERE broadcaster = "Fox Sports 1" AND venue = "MCG" | What is the result/margin when fox sports 1 broadcast the game played at mcg? | <s>[INST]What is the result/margin when fox sports 1 broadcast the game played at mcg? Context: CREATE TABLE table_24919137_2 (result_margin VARCHAR, broadcaster VARCHAR, venue VARCHAR)[/INST]SELECT result_margin FROM table_24919137_2 WHERE broadcaster = "Fox Sports 1" AND venue = "MCG"</s> |
CREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR) | SELECT couple FROM table_26375386_16 WHERE total = 8 | What couple had a total of 8? | <s>[INST]What couple had a total of 8? Context: CREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR)[/INST]SELECT couple FROM table_26375386_16 WHERE total = 8</s> |
CREATE TABLE table_12485020_1 (ds_division VARCHAR, main_town VARCHAR) | SELECT ds_division FROM table_12485020_1 WHERE main_town = "Kaluvanchikudy" | Kaluvanchikudy is the main town in what DS division? | <s>[INST]Kaluvanchikudy is the main town in what DS division? Context: CREATE TABLE table_12485020_1 (ds_division VARCHAR, main_town VARCHAR)[/INST]SELECT ds_division FROM table_12485020_1 WHERE main_town = "Kaluvanchikudy"</s> |
CREATE TABLE table_name_59 (ground VARCHAR, away_team VARCHAR) | SELECT ground FROM table_name_59 WHERE away_team = "sydney" | What was the ground for away team sydney? | <s>[INST]What was the ground for away team sydney? Context: CREATE TABLE table_name_59 (ground VARCHAR, away_team VARCHAR)[/INST]SELECT ground FROM table_name_59 WHERE away_team = "sydney"</s> |
CREATE TABLE table_name_39 (attendance INTEGER, time VARCHAR, location VARCHAR, game VARCHAR) | SELECT AVG(attendance) FROM table_name_39 WHERE location = "veterans stadium" AND game > 3 AND time = "2:21" | what is the attendance when the location is veterans stadium, the game is more than 3 and the time is 2:21? | <s>[INST]what is the attendance when the location is veterans stadium, the game is more than 3 and the time is 2:21? Context: CREATE TABLE table_name_39 (attendance INTEGER, time VARCHAR, location VARCHAR, game VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_39 WHERE location = "veterans stadium" AND game > 3 AND... |
CREATE TABLE table_name_39 (finished VARCHAR, famous_for VARCHAR) | SELECT finished FROM table_name_39 WHERE famous_for = "athlete" | What place did the celebrity who is famous for being an athlete finish? | <s>[INST]What place did the celebrity who is famous for being an athlete finish? Context: CREATE TABLE table_name_39 (finished VARCHAR, famous_for VARCHAR)[/INST]SELECT finished FROM table_name_39 WHERE famous_for = "athlete"</s> |
CREATE TABLE table_name_36 (name VARCHAR, qual_2 VARCHAR) | SELECT name FROM table_name_36 WHERE qual_2 = "1:15.582" | What is Name when Qual 2 is 1:15.582? | <s>[INST]What is Name when Qual 2 is 1:15.582? Context: CREATE TABLE table_name_36 (name VARCHAR, qual_2 VARCHAR)[/INST]SELECT name FROM table_name_36 WHERE qual_2 = "1:15.582"</s> |
CREATE TABLE table_name_16 (circuit VARCHAR, fastest_lap VARCHAR, tyre VARCHAR, pole_position VARCHAR) | SELECT circuit FROM table_name_16 WHERE tyre = "d" AND pole_position = "jochen rindt" AND fastest_lap = "jackie stewart" | When Jackie Stewart had the fastest lap and Jochen Rindt held the pole position with a D tyre, what was the circuit? | <s>[INST]When Jackie Stewart had the fastest lap and Jochen Rindt held the pole position with a D tyre, what was the circuit? Context: CREATE TABLE table_name_16 (circuit VARCHAR, fastest_lap VARCHAR, tyre VARCHAR, pole_position VARCHAR)[/INST]SELECT circuit FROM table_name_16 WHERE tyre = "d" AND pole_position = "joch... |
CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_25030512_24 WHERE first_elected = "1976" | Name the candidates for first elected being 1976 | <s>[INST]Name the candidates for first elected being 1976 Context: CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR)[/INST]SELECT candidates FROM table_25030512_24 WHERE first_elected = "1976"</s> |
CREATE TABLE table_name_43 (cover_model VARCHAR, centerfold_model VARCHAR) | SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska" | Who was the Cover model when the Centerfold Model was Marketa Janska? | <s>[INST]Who was the Cover model when the Centerfold Model was Marketa Janska? Context: CREATE TABLE table_name_43 (cover_model VARCHAR, centerfold_model VARCHAR)[/INST]SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska"</s> |
CREATE TABLE table_name_45 (top_25 VARCHAR, wins INTEGER) | SELECT COUNT(top_25) FROM table_name_45 WHERE wins < 0 | What is the total number of top-25s for events with 0 wins? | <s>[INST]What is the total number of top-25s for events with 0 wins? Context: CREATE TABLE table_name_45 (top_25 VARCHAR, wins INTEGER)[/INST]SELECT COUNT(top_25) FROM table_name_45 WHERE wins < 0</s> |
CREATE TABLE table_name_63 (area VARCHAR, roll VARCHAR) | SELECT area FROM table_name_63 WHERE roll = 26 | What is the Area with 26 in Roll | <s>[INST]What is the Area with 26 in Roll Context: CREATE TABLE table_name_63 (area VARCHAR, roll VARCHAR)[/INST]SELECT area FROM table_name_63 WHERE roll = 26</s> |
CREATE TABLE table_1341522_50 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1341522_50 WHERE incumbent = "Jim McDermott" | What year was incumbent jim mcdermott first elected? | <s>[INST]What year was incumbent jim mcdermott first elected? Context: CREATE TABLE table_1341522_50 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341522_50 WHERE incumbent = "Jim McDermott"</s> |
CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT AVG(silver) FROM table_name_8 WHERE gold > 3 AND nation = "soviet union (urs)" AND bronze > 26 | What is the average silver that has a gold greater than 3, with soviet union (urs) as the nation, and a bronze greater than 26? | <s>[INST]What is the average silver that has a gold greater than 3, with soviet union (urs) as the nation, and a bronze greater than 26? Context: CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_8 WHERE gold > 3 AND nation = "soviet union ... |
CREATE TABLE table_name_68 (top_5 INTEGER, tournament VARCHAR, events VARCHAR) | SELECT SUM(top_5) FROM table_name_68 WHERE tournament = "totals" AND events > 86 | What is the sum of Top-5, when Tournament is Totals, and when Events is greater than 86? | <s>[INST]What is the sum of Top-5, when Tournament is Totals, and when Events is greater than 86? Context: CREATE TABLE table_name_68 (top_5 INTEGER, tournament VARCHAR, events VARCHAR)[/INST]SELECT SUM(top_5) FROM table_name_68 WHERE tournament = "totals" AND events > 86</s> |
CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) | SELECT venue FROM table_name_60 WHERE result = "2-0" AND score = "1 goal" AND competition = "1980 afc asian cup" | What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup? | <s>[INST]What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup? Context: CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT venue FROM table_name_60 WHERE result = "2-0" AND score = "1 goal" AND competition =... |
CREATE TABLE table_10007452_3 (manufacturer VARCHAR, model VARCHAR) | SELECT COUNT(manufacturer) FROM table_10007452_3 WHERE model = "GE40LFR" | how many times is the model ge40lfr? | <s>[INST]how many times is the model ge40lfr? Context: CREATE TABLE table_10007452_3 (manufacturer VARCHAR, model VARCHAR)[/INST]SELECT COUNT(manufacturer) FROM table_10007452_3 WHERE model = "GE40LFR"</s> |
CREATE TABLE table_name_90 (floors INTEGER, built VARCHAR, name VARCHAR) | SELECT MIN(floors) FROM table_name_90 WHERE built > 1970 AND name = "nv building 3" | What is the lowest Floors, when Built is greater than 1970, and when Name is NV Building 3? | <s>[INST]What is the lowest Floors, when Built is greater than 1970, and when Name is NV Building 3? Context: CREATE TABLE table_name_90 (floors INTEGER, built VARCHAR, name VARCHAR)[/INST]SELECT MIN(floors) FROM table_name_90 WHERE built > 1970 AND name = "nv building 3"</s> |
CREATE TABLE table_name_56 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_56 WHERE away_team = "hawthorn" | Hawthorn played as an Away team in which venue? | <s>[INST]Hawthorn played as an Away team in which venue? Context: CREATE TABLE table_name_56 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_56 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_2618119_1 (no_in_series VARCHAR, no_in_season VARCHAR) | SELECT COUNT(no_in_series) FROM table_2618119_1 WHERE no_in_season = 8 | How many numbers in series were for the number in season of 8? | <s>[INST]How many numbers in series were for the number in season of 8? Context: CREATE TABLE table_2618119_1 (no_in_series VARCHAR, no_in_season VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_2618119_1 WHERE no_in_season = 8</s> |
CREATE TABLE table_11960407_4 (record VARCHAR, game VARCHAR) | SELECT COUNT(record) FROM table_11960407_4 WHERE game = 39 | How many times was the game 39? | <s>[INST]How many times was the game 39? Context: CREATE TABLE table_11960407_4 (record VARCHAR, game VARCHAR)[/INST]SELECT COUNT(record) FROM table_11960407_4 WHERE game = 39</s> |
CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR) | SELECT race FROM table_name_4 WHERE pole_position = "alberto ascari" AND winning_driver = "alberto ascari" AND fastest_lap = "luigi villoresi" | Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time? | <s>[INST]Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time? Context: CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)[/INST]SELECT race FROM table_name_4 WHERE pole_position = "alberto ascari" A... |
CREATE TABLE table_27871460_2 (state_or_territory VARCHAR, channel_number VARCHAR) | SELECT state_or_territory FROM table_27871460_2 WHERE channel_number = 7 | Which state or territory had a channel number of exactly 7? | <s>[INST]Which state or territory had a channel number of exactly 7? Context: CREATE TABLE table_27871460_2 (state_or_territory VARCHAR, channel_number VARCHAR)[/INST]SELECT state_or_territory FROM table_27871460_2 WHERE channel_number = 7</s> |
CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_3 WHERE venue = "western oval" | What was the score of the home team in the match at Western Oval? | <s>[INST]What was the score of the home team in the match at Western Oval? Context: CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_3 WHERE venue = "western oval"</s> |
CREATE TABLE table_name_64 (gfr_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR) | SELECT MIN(gfr_2006) FROM table_name_64 WHERE whites_as__percentage_of_pop = "95.80%" AND tfr_2006 > 2.14 | What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006? | <s>[INST]What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006? Context: CREATE TABLE table_name_64 (gfr_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR)[/INST]SELECT MIN(gfr_2006) FROM table_name_64 WHERE whites_as__percentage_of_pop = ... |
CREATE TABLE table_name_12 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_12 WHERE runner_s__up = "isao aoki" | What was the margin of victory for Isao Aoki when he was a runner-up? | <s>[INST]What was the margin of victory for Isao Aoki when he was a runner-up? Context: CREATE TABLE table_name_12 (margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_12 WHERE runner_s__up = "isao aoki"</s> |
CREATE TABLE film (title VARCHAR, replacement_cost INTEGER, LENGTH VARCHAR, rating VARCHAR) | SELECT title FROM film WHERE LENGTH > 100 OR rating = 'PG' EXCEPT SELECT title FROM film WHERE replacement_cost > 200 | Find all the films longer than 100 minutes, or rated PG, except those who cost more than 200 for replacement. List the titles. | <s>[INST]Find all the films longer than 100 minutes, or rated PG, except those who cost more than 200 for replacement. List the titles. Context: CREATE TABLE film (title VARCHAR, replacement_cost INTEGER, LENGTH VARCHAR, rating VARCHAR)[/INST]SELECT title FROM film WHERE LENGTH > 100 OR rating = 'PG' EXCEPT SELECT titl... |
CREATE TABLE table_name_81 (sales VARCHAR, peak VARCHAR, artist VARCHAR) | SELECT COUNT(sales) FROM table_name_81 WHERE peak = 1 AND artist = "boris" | How many sales took place with a peak of 1 for Boris? | <s>[INST]How many sales took place with a peak of 1 for Boris? Context: CREATE TABLE table_name_81 (sales VARCHAR, peak VARCHAR, artist VARCHAR)[/INST]SELECT COUNT(sales) FROM table_name_81 WHERE peak = 1 AND artist = "boris"</s> |
CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR) | SELECT MIN(division) FROM table_name_91 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND year = "2002" | What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002? | <s>[INST]What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002? Context: CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR)[/INST]SELECT MIN(division) FROM table_name_91 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AN... |
CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT AVG(bronze) FROM table_name_75 WHERE gold > 0 AND nation = "greece" AND silver < 0 | what is the average bronze when gold is more than 0, the nation is greece and silver is less than 0? | <s>[INST]what is the average bronze when gold is more than 0, the nation is greece and silver is less than 0? Context: CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_75 WHERE gold > 0 AND nation = "greece" AND silver < 0</s> |
CREATE TABLE table_name_32 (hanyu_pinyin VARCHAR, density___km²_ VARCHAR) | SELECT hanyu_pinyin FROM table_name_32 WHERE density___km²_ = "39.63" | What is the Hanyu Pinyin with a density of 39.63? | <s>[INST]What is the Hanyu Pinyin with a density of 39.63? Context: CREATE TABLE table_name_32 (hanyu_pinyin VARCHAR, density___km²_ VARCHAR)[/INST]SELECT hanyu_pinyin FROM table_name_32 WHERE density___km²_ = "39.63"</s> |
CREATE TABLE table_name_66 (games VARCHAR, goals INTEGER, name VARCHAR) | SELECT AVG(goals) / games FROM table_name_66 WHERE name = "rummenigge, karl-heinz" AND goals < 162 | What is the average Goals/Games for Rummenigge, Karl-Heinz, with Goals less than 162? | <s>[INST]What is the average Goals/Games for Rummenigge, Karl-Heinz, with Goals less than 162? Context: CREATE TABLE table_name_66 (games VARCHAR, goals INTEGER, name VARCHAR)[/INST]SELECT AVG(goals) / games FROM table_name_66 WHERE name = "rummenigge, karl-heinz" AND goals < 162</s> |
CREATE TABLE table_name_93 (tournament VARCHAR) | SELECT tournament FROM table_name_93 WHERE 2007 = "2r" AND 2011 = "2r" | Which tournament has a 2007 of 2r, and a 2011 of 2r? | <s>[INST]Which tournament has a 2007 of 2r, and a 2011 of 2r? Context: CREATE TABLE table_name_93 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_93 WHERE 2007 = "2r" AND 2011 = "2r"</s> |
CREATE TABLE table_10975034_4 (pick__number INTEGER, cfl_team VARCHAR) | SELECT MAX(pick__number) FROM table_10975034_4 WHERE cfl_team = "Calgary Stampeders" | What is the maximum number of picks for the CFL team Calgary Stampeders? | <s>[INST]What is the maximum number of picks for the CFL team Calgary Stampeders? Context: CREATE TABLE table_10975034_4 (pick__number INTEGER, cfl_team VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_10975034_4 WHERE cfl_team = "Calgary Stampeders"</s> |
CREATE TABLE table_name_37 (record VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT record FROM table_name_37 WHERE visitor = "quebec nordiques" AND score = "7–5" | WHich Record has a Visitor of quebec nordiques with a Score of 7–5? | <s>[INST]WHich Record has a Visitor of quebec nordiques with a Score of 7–5? Context: CREATE TABLE table_name_37 (record VARCHAR, visitor VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_37 WHERE visitor = "quebec nordiques" AND score = "7–5"</s> |
CREATE TABLE table_26538035_1 (title_and_source VARCHAR, developer VARCHAR) | SELECT COUNT(title_and_source) FROM table_26538035_1 WHERE developer = "Clover Studio" | How many titles/sources have a developer of Clover Studio? | <s>[INST]How many titles/sources have a developer of Clover Studio? Context: CREATE TABLE table_26538035_1 (title_and_source VARCHAR, developer VARCHAR)[/INST]SELECT COUNT(title_and_source) FROM table_26538035_1 WHERE developer = "Clover Studio"</s> |
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_95 WHERE home_team = "colchester united" | Waht was the away team when the home team is colchester united? | <s>[INST]Waht was the away team when the home team is colchester united? Context: CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_95 WHERE home_team = "colchester united"</s> |
CREATE TABLE table_name_13 (close_of_reactor VARCHAR, rated_power VARCHAR, finish_construction VARCHAR) | SELECT close_of_reactor FROM table_name_13 WHERE rated_power = "945 mw" AND finish_construction = "may 10, 1978" | When did the reactor that has a rated power of 945 MW and ended construction on May 10, 1978 close? | <s>[INST]When did the reactor that has a rated power of 945 MW and ended construction on May 10, 1978 close? Context: CREATE TABLE table_name_13 (close_of_reactor VARCHAR, rated_power VARCHAR, finish_construction VARCHAR)[/INST]SELECT close_of_reactor FROM table_name_13 WHERE rated_power = "945 mw" AND finish_construct... |
CREATE TABLE table_name_15 (name VARCHAR, event VARCHAR) | SELECT name FROM table_name_15 WHERE event = "men's time trial" | What is the Name with an Event that is men's time trial? | <s>[INST]What is the Name with an Event that is men's time trial? Context: CREATE TABLE table_name_15 (name VARCHAR, event VARCHAR)[/INST]SELECT name FROM table_name_15 WHERE event = "men's time trial"</s> |
CREATE TABLE Video_games (gname VARCHAR, gtype VARCHAR) | SELECT gname, gtype FROM Video_games ORDER BY gname | Show all video games and their types in the order of their names. | <s>[INST]Show all video games and their types in the order of their names. Context: CREATE TABLE Video_games (gname VARCHAR, gtype VARCHAR)[/INST]SELECT gname, gtype FROM Video_games ORDER BY gname</s> |
CREATE TABLE table_name_15 (site VARCHAR, date VARCHAR) | SELECT site FROM table_name_15 WHERE date = "november 13" | What is Site, when Date is "November 13"? | <s>[INST]What is Site, when Date is "November 13"? Context: CREATE TABLE table_name_15 (site VARCHAR, date VARCHAR)[/INST]SELECT site FROM table_name_15 WHERE date = "november 13"</s> |
CREATE TABLE table_name_58 (reported_birth_date VARCHAR, reported_age VARCHAR) | SELECT reported_birth_date FROM table_name_58 WHERE reported_age = "110 years, 185 days" | what is the reported birth date when the reported age is 110 years, 185 days? | <s>[INST]what is the reported birth date when the reported age is 110 years, 185 days? Context: CREATE TABLE table_name_58 (reported_birth_date VARCHAR, reported_age VARCHAR)[/INST]SELECT reported_birth_date FROM table_name_58 WHERE reported_age = "110 years, 185 days"</s> |
CREATE TABLE table_15187735_14 (segment_c VARCHAR, netflix VARCHAR) | SELECT segment_c FROM table_15187735_14 WHERE netflix = "S07E05" | What is segment C in s07e05 | <s>[INST]What is segment C in s07e05 Context: CREATE TABLE table_15187735_14 (segment_c VARCHAR, netflix VARCHAR)[/INST]SELECT segment_c FROM table_15187735_14 WHERE netflix = "S07E05"</s> |
CREATE TABLE table_name_91 (nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_91 WHERE gold = 0 AND bronze < "6" AND rank = "6" | Which Nation has a Gold of 0, and a Bronze smaller than 6, and a Rank of 6? | <s>[INST]Which Nation has a Gold of 0, and a Bronze smaller than 6, and a Rank of 6? Context: CREATE TABLE table_name_91 (nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT nation FROM table_name_91 WHERE gold = 0 AND bronze < "6" AND rank = "6"</s> |
CREATE TABLE table_name_66 (future_stem VARCHAR, imperfect_stem VARCHAR) | SELECT future_stem FROM table_name_66 WHERE imperfect_stem = "hartzen" | What is the future stem for the word that has an imperfect stem of hartzen? | <s>[INST]What is the future stem for the word that has an imperfect stem of hartzen? Context: CREATE TABLE table_name_66 (future_stem VARCHAR, imperfect_stem VARCHAR)[/INST]SELECT future_stem FROM table_name_66 WHERE imperfect_stem = "hartzen"</s> |
CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR) | SELECT no_2 FROM table_name_7 WHERE no_6 = "ethan" AND no_3 = "mason" | What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot? | <s>[INST]What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot? Context: CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR)[/INST]SELECT no_2 FROM table_name_7 WHERE no_6 = "ethan" AND no_3 = "mason"</s> |
CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR) | SELECT method FROM table_name_86 WHERE round = "3" AND res = "loss" AND event = "juiz de fora - fight 1" | Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event? | <s>[INST]Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event? Context: CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR)[/INST]SELECT method FROM table_name_86 WHERE round = "3" AND res = "loss" AND event = "juiz de fora - fight 1"</s> |
CREATE TABLE table_13282157_1 (country VARCHAR, player VARCHAR) | SELECT country FROM table_13282157_1 WHERE player = "Phil Mickelson" | what is the country where the player is phil mickelson? | <s>[INST]what is the country where the player is phil mickelson? Context: CREATE TABLE table_13282157_1 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_13282157_1 WHERE player = "Phil Mickelson"</s> |
CREATE TABLE table_name_3 (home VARCHAR, plyff VARCHAR, opponent VARCHAR) | SELECT home FROM table_name_3 WHERE plyff = "(0-0)" AND opponent = "la crosse spartans" | Which home team has a playoff record of (0-0) and played La Crosse Spartans? | <s>[INST]Which home team has a playoff record of (0-0) and played La Crosse Spartans? Context: CREATE TABLE table_name_3 (home VARCHAR, plyff VARCHAR, opponent VARCHAR)[/INST]SELECT home FROM table_name_3 WHERE plyff = "(0-0)" AND opponent = "la crosse spartans"</s> |
CREATE TABLE climber (Id VARCHAR) | SELECT COUNT(*) FROM climber | How many climbers are there? | <s>[INST]How many climbers are there? Context: CREATE TABLE climber (Id VARCHAR)[/INST]SELECT COUNT(*) FROM climber</s> |
CREATE TABLE table_name_50 (member VARCHAR, electorate VARCHAR) | SELECT member FROM table_name_50 WHERE electorate = "kennedy" | Which member has an Electorate of kennedy? | <s>[INST]Which member has an Electorate of kennedy? Context: CREATE TABLE table_name_50 (member VARCHAR, electorate VARCHAR)[/INST]SELECT member FROM table_name_50 WHERE electorate = "kennedy"</s> |
CREATE TABLE table_name_31 (final_round VARCHAR, team VARCHAR) | SELECT final_round FROM table_name_31 WHERE team = "milwaukee bucks" | What was the final round score for the player from the Milwaukee Bucks? | <s>[INST]What was the final round score for the player from the Milwaukee Bucks? Context: CREATE TABLE table_name_31 (final_round VARCHAR, team VARCHAR)[/INST]SELECT final_round FROM table_name_31 WHERE team = "milwaukee bucks"</s> |
CREATE TABLE table_name_38 (country VARCHAR, time VARCHAR) | SELECT country FROM table_name_38 WHERE time = "6:49.28" | What country has a time of 6:49.28? | <s>[INST]What country has a time of 6:49.28? Context: CREATE TABLE table_name_38 (country VARCHAR, time VARCHAR)[/INST]SELECT country FROM table_name_38 WHERE time = "6:49.28"</s> |
CREATE TABLE table_name_14 (january VARCHAR, record VARCHAR) | SELECT COUNT(january) FROM table_name_14 WHERE record = "22-15-6" | How many Januarys had records of 22-15-6? | <s>[INST]How many Januarys had records of 22-15-6? Context: CREATE TABLE table_name_14 (january VARCHAR, record VARCHAR)[/INST]SELECT COUNT(january) FROM table_name_14 WHERE record = "22-15-6"</s> |
CREATE TABLE table_name_5 (large_end VARCHAR, taper VARCHAR, ft VARCHAR) | SELECT COUNT(large_end) FROM table_name_5 WHERE taper / ft < 0.6000000000000001 | Which Large end has a Taper/ft smaller than 0.6000000000000001? | <s>[INST]Which Large end has a Taper/ft smaller than 0.6000000000000001? Context: CREATE TABLE table_name_5 (large_end VARCHAR, taper VARCHAR, ft VARCHAR)[/INST]SELECT COUNT(large_end) FROM table_name_5 WHERE taper / ft < 0.6000000000000001</s> |
CREATE TABLE table_name_94 (date VARCHAR, circuit VARCHAR, class VARCHAR) | SELECT date FROM table_name_94 WHERE circuit = "laguna seca raceway" AND class = "gtx/gto" | Which date was held at Laguna Seca Raceway, in class GTX/GTO? | <s>[INST]Which date was held at Laguna Seca Raceway, in class GTX/GTO? Context: CREATE TABLE table_name_94 (date VARCHAR, circuit VARCHAR, class VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE circuit = "laguna seca raceway" AND class = "gtx/gto"</s> |
CREATE TABLE table_name_15 (year VARCHAR, countries_affected VARCHAR) | SELECT year FROM table_name_15 WHERE countries_affected = "usa" | Which year did USA undergo a disaster? | <s>[INST]Which year did USA undergo a disaster? Context: CREATE TABLE table_name_15 (year VARCHAR, countries_affected VARCHAR)[/INST]SELECT year FROM table_name_15 WHERE countries_affected = "usa"</s> |
CREATE TABLE table_name_55 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_55 WHERE opponent = "alberto rodriguez" | How did he beat Alberto Rodriguez? | <s>[INST]How did he beat Alberto Rodriguez? Context: CREATE TABLE table_name_55 (method VARCHAR, opponent VARCHAR)[/INST]SELECT method FROM table_name_55 WHERE opponent = "alberto rodriguez"</s> |
CREATE TABLE table_name_90 (after_debt VARCHAR, total_receipts VARCHAR) | SELECT after_debt FROM table_name_90 WHERE total_receipts = "$379,794" | What is the after debt has receipts of $379,794? | <s>[INST]What is the after debt has receipts of $379,794? Context: CREATE TABLE table_name_90 (after_debt VARCHAR, total_receipts VARCHAR)[/INST]SELECT after_debt FROM table_name_90 WHERE total_receipts = "$379,794"</s> |
CREATE TABLE table_2562572_44 (population__2011_ VARCHAR, settlement VARCHAR) | SELECT population__2011_ FROM table_2562572_44 WHERE settlement = "Banatski Karlovac" | What was the population in 2011 of banatski karlovac? | <s>[INST]What was the population in 2011 of banatski karlovac? Context: CREATE TABLE table_2562572_44 (population__2011_ VARCHAR, settlement VARCHAR)[/INST]SELECT population__2011_ FROM table_2562572_44 WHERE settlement = "Banatski Karlovac"</s> |
CREATE TABLE table_name_63 (game INTEGER, november VARCHAR) | SELECT SUM(game) FROM table_name_63 WHERE november = 29 | Which Game has a November of 29? | <s>[INST]Which Game has a November of 29? Context: CREATE TABLE table_name_63 (game INTEGER, november VARCHAR)[/INST]SELECT SUM(game) FROM table_name_63 WHERE november = 29</s> |
CREATE TABLE SHOW (Attendance INTEGER) | SELECT AVG(Attendance) FROM SHOW | What is the average attendance of shows? | <s>[INST]What is the average attendance of shows? Context: CREATE TABLE SHOW (Attendance INTEGER)[/INST]SELECT AVG(Attendance) FROM SHOW</s> |
CREATE TABLE table_10548224_1 (winning_team VARCHAR, date_contested VARCHAR) | SELECT winning_team FROM table_10548224_1 WHERE date_contested = "February 1, 2009" | Who was the winning team of the game that was contested on February 1, 2009? | <s>[INST]Who was the winning team of the game that was contested on February 1, 2009? Context: CREATE TABLE table_10548224_1 (winning_team VARCHAR, date_contested VARCHAR)[/INST]SELECT winning_team FROM table_10548224_1 WHERE date_contested = "February 1, 2009"</s> |
CREATE TABLE table_14631909_1 (original_title VARCHAR, english_title VARCHAR) | SELECT original_title FROM table_14631909_1 WHERE english_title = "Europe for Dummies" | What is the original title of europe for dummies? | <s>[INST]What is the original title of europe for dummies? Context: CREATE TABLE table_14631909_1 (original_title VARCHAR, english_title VARCHAR)[/INST]SELECT original_title FROM table_14631909_1 WHERE english_title = "Europe for Dummies"</s> |
CREATE TABLE table_name_13 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_13 WHERE tie_no = "21" | What is the Date of Tie no 21? | <s>[INST]What is the Date of Tie no 21? Context: CREATE TABLE table_name_13 (date VARCHAR, tie_no VARCHAR)[/INST]SELECT date FROM table_name_13 WHERE tie_no = "21"</s> |
CREATE TABLE table_name_82 (boxscore VARCHAR, loss VARCHAR) | SELECT boxscore FROM table_name_82 WHERE loss = "capuano (5–5)" | Which box score has a Loss of capuano (5–5)? | <s>[INST]Which box score has a Loss of capuano (5–5)? Context: CREATE TABLE table_name_82 (boxscore VARCHAR, loss VARCHAR)[/INST]SELECT boxscore FROM table_name_82 WHERE loss = "capuano (5–5)"</s> |
CREATE TABLE table_name_51 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_51 WHERE away_team = "richmond" | Where did Richmond play as the away team? | <s>[INST]Where did Richmond play as the away team? Context: CREATE TABLE table_name_51 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_51 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_63 (time VARCHAR, trainer VARCHAR) | SELECT time FROM table_name_63 WHERE trainer = "todd pletcher" | What time does the trainer, Todd Pletcher have? | <s>[INST]What time does the trainer, Todd Pletcher have? Context: CREATE TABLE table_name_63 (time VARCHAR, trainer VARCHAR)[/INST]SELECT time FROM table_name_63 WHERE trainer = "todd pletcher"</s> |
CREATE TABLE table_1183842_1 (enrollment INTEGER, institution VARCHAR) | SELECT MAX(enrollment) FROM table_1183842_1 WHERE institution = "Barry University" | Barry University had the highest enrollment of what number? | <s>[INST]Barry University had the highest enrollment of what number? Context: CREATE TABLE table_1183842_1 (enrollment INTEGER, institution VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_1183842_1 WHERE institution = "Barry University"</s> |
CREATE TABLE table_name_51 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_51 WHERE opponent = "katsuomi inagaki" | Which record has Katsuomi Inagaki as an opponent? | <s>[INST]Which record has Katsuomi Inagaki as an opponent? Context: CREATE TABLE table_name_51 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_51 WHERE opponent = "katsuomi inagaki"</s> |
CREATE TABLE table_name_38 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_38 WHERE home = "utah" | When did they play Utah at home? | <s>[INST]When did they play Utah at home? Context: CREATE TABLE table_name_38 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_38 WHERE home = "utah"</s> |
CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR, game VARCHAR, location VARCHAR) | SELECT date FROM table_name_6 WHERE game < 5 AND location = "oakland-alameda county coliseum" AND time = "3:40" | What date was at Oakland-Alameda County Coliseum with a time of 3:40 and a game less than 5? | <s>[INST]What date was at Oakland-Alameda County Coliseum with a time of 3:40 and a game less than 5? Context: CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR, game VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE game < 5 AND location = "oakland-alameda county coliseum" AND time = "3:40"</s> |
CREATE TABLE table_name_93 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_93 WHERE catalog = "sir021-6" | What region has the catalog sir021-6? | <s>[INST]What region has the catalog sir021-6? Context: CREATE TABLE table_name_93 (region VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_93 WHERE catalog = "sir021-6"</s> |
CREATE TABLE table_name_6 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_6 WHERE game_site = "georgia dome" | What was the attendance of the game played in the Georgia Dome? | <s>[INST]What was the attendance of the game played in the Georgia Dome? Context: CREATE TABLE table_name_6 (attendance VARCHAR, game_site VARCHAR)[/INST]SELECT attendance FROM table_name_6 WHERE game_site = "georgia dome"</s> |
CREATE TABLE table_name_84 (year_s__won VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_84 WHERE player = "payne stewart" | What year did player payne stewart win? | <s>[INST]What year did player payne stewart win? Context: CREATE TABLE table_name_84 (year_s__won VARCHAR, player VARCHAR)[/INST]SELECT year_s__won FROM table_name_84 WHERE player = "payne stewart"</s> |
CREATE TABLE table_name_19 (games VARCHAR, sport VARCHAR, medal VARCHAR) | SELECT games FROM table_name_19 WHERE sport = "field hockey" AND medal = "gold" | When did Pakistan win a Gold Medal in Field Hockey? | <s>[INST]When did Pakistan win a Gold Medal in Field Hockey? Context: CREATE TABLE table_name_19 (games VARCHAR, sport VARCHAR, medal VARCHAR)[/INST]SELECT games FROM table_name_19 WHERE sport = "field hockey" AND medal = "gold"</s> |
CREATE TABLE table_name_68 (player VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR) | SELECT player FROM table_name_68 WHERE pick > 44 AND position = "offensive guard" AND college = "mississippi state" | What is the Offensive Guard Player from Mississippi State College with a Pick number larter than 44? | <s>[INST]What is the Offensive Guard Player from Mississippi State College with a Pick number larter than 44? Context: CREATE TABLE table_name_68 (player VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_68 WHERE pick > 44 AND position = "offensive guard" AND college = "missi... |
CREATE TABLE table_name_51 (engine VARCHAR, year VARCHAR, points VARCHAR) | SELECT engine FROM table_name_51 WHERE year > 2006 AND points = "60" | Which engine has a year later than 2006 and 60 as the points? | <s>[INST]Which engine has a year later than 2006 and 60 as the points? Context: CREATE TABLE table_name_51 (engine VARCHAR, year VARCHAR, points VARCHAR)[/INST]SELECT engine FROM table_name_51 WHERE year > 2006 AND points = "60"</s> |
CREATE TABLE table_191105_4 (first_aired VARCHAR, performed_by VARCHAR) | SELECT first_aired FROM table_191105_4 WHERE performed_by = "Sue Manchester" | What is the date for the episode performed by Sue Manchester? | <s>[INST]What is the date for the episode performed by Sue Manchester? Context: CREATE TABLE table_191105_4 (first_aired VARCHAR, performed_by VARCHAR)[/INST]SELECT first_aired FROM table_191105_4 WHERE performed_by = "Sue Manchester"</s> |
CREATE TABLE table_name_91 (date VARCHAR, winning_driver VARCHAR, name VARCHAR) | SELECT date FROM table_name_91 WHERE winning_driver = "rudolf caracciola" AND name = "avusrennen" | Tell me the date for rudolf caracciola for avusrennen | <s>[INST]Tell me the date for rudolf caracciola for avusrennen Context: CREATE TABLE table_name_91 (date VARCHAR, winning_driver VARCHAR, name VARCHAR)[/INST]SELECT date FROM table_name_91 WHERE winning_driver = "rudolf caracciola" AND name = "avusrennen"</s> |
CREATE TABLE table_name_54 (frequency INTEGER, brand VARCHAR) | SELECT MIN(frequency) FROM table_name_54 WHERE brand = "radio manantial" | Name the lowest frequency for brand of radio manantial | <s>[INST]Name the lowest frequency for brand of radio manantial Context: CREATE TABLE table_name_54 (frequency INTEGER, brand VARCHAR)[/INST]SELECT MIN(frequency) FROM table_name_54 WHERE brand = "radio manantial"</s> |
CREATE TABLE table_name_31 (style VARCHAR, name VARCHAR) | SELECT style FROM table_name_31 WHERE name = "giuseppe bausilio" | What is the style for Giuseppe Bausilio? | <s>[INST]What is the style for Giuseppe Bausilio? Context: CREATE TABLE table_name_31 (style VARCHAR, name VARCHAR)[/INST]SELECT style FROM table_name_31 WHERE name = "giuseppe bausilio"</s> |
CREATE TABLE table_name_9 (service_charge VARCHAR, number_made VARCHAR) | SELECT service_charge FROM table_name_9 WHERE number_made = 1009 | What is the service charge of the boat howitzers with 1009 made? | <s>[INST]What is the service charge of the boat howitzers with 1009 made? Context: CREATE TABLE table_name_9 (service_charge VARCHAR, number_made VARCHAR)[/INST]SELECT service_charge FROM table_name_9 WHERE number_made = 1009</s> |
CREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_44 WHERE loss = "cox (6–2)" | What was the score of the game that had a loss of Cox (6–2)? | <s>[INST]What was the score of the game that had a loss of Cox (6–2)? Context: CREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR)[/INST]SELECT score FROM table_name_44 WHERE loss = "cox (6–2)"</s> |
CREATE TABLE table_name_17 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_17 WHERE player = "phil mickelson" | What is Place, when Player is "Phil Mickelson"? | <s>[INST]What is Place, when Player is "Phil Mickelson"? Context: CREATE TABLE table_name_17 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_17 WHERE player = "phil mickelson"</s> |
CREATE TABLE table_name_17 (single VARCHAR, artist VARCHAR) | SELECT single FROM table_name_17 WHERE artist = "cap d" | What single was written by the artist cap D? | <s>[INST]What single was written by the artist cap D? Context: CREATE TABLE table_name_17 (single VARCHAR, artist VARCHAR)[/INST]SELECT single FROM table_name_17 WHERE artist = "cap d"</s> |
CREATE TABLE table_name_53 (Id VARCHAR) | SELECT 1991 FROM table_name_53 WHERE 1990 = "atp masters series" | What is the 1991 when 1990 is ATP Masters Series? | <s>[INST]What is the 1991 when 1990 is ATP Masters Series? Context: CREATE TABLE table_name_53 (Id VARCHAR)[/INST]SELECT 1991 FROM table_name_53 WHERE 1990 = "atp masters series"</s> |
CREATE TABLE table_name_59 (release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR) | SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = "1/12/57" AND time = "2:31" | When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31? | <s>[INST]When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31? Context: CREATE TABLE table_name_59 (release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR)[/INST]SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = "1/12/57" AND time = "2:31"</s> |
CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_64 WHERE country = "south africa" | What is the Score of the Player from South Africa? | <s>[INST]What is the Score of the Player from South Africa? Context: CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_64 WHERE country = "south africa"</s> |
CREATE TABLE table_name_50 (pick INTEGER, position VARCHAR) | SELECT MAX(pick) FROM table_name_50 WHERE position = "guard" | What was the highest guard picked? | <s>[INST]What was the highest guard picked? Context: CREATE TABLE table_name_50 (pick INTEGER, position VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_50 WHERE position = "guard"</s> |
CREATE TABLE table_name_42 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_42 WHERE event = "flawless fighting championship 1: the beginning" | Which method's event was flawless fighting championship 1: the beginning? | <s>[INST]Which method's event was flawless fighting championship 1: the beginning? Context: CREATE TABLE table_name_42 (method VARCHAR, event VARCHAR)[/INST]SELECT method FROM table_name_42 WHERE event = "flawless fighting championship 1: the beginning"</s> |
CREATE TABLE table_name_7 (car_make VARCHAR, record VARCHAR) | SELECT car_make FROM table_name_7 WHERE record = "nascar camping world truck series" | What kind of car has the NASCAR Camping World Truck Series record? | <s>[INST]What kind of car has the NASCAR Camping World Truck Series record? Context: CREATE TABLE table_name_7 (car_make VARCHAR, record VARCHAR)[/INST]SELECT car_make FROM table_name_7 WHERE record = "nascar camping world truck series"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.