context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_15 (Id VARCHAR) | SELECT 2006 FROM table_name_15 WHERE 2004 = "a" AND 2002 = "not tier i" | Which 2006 Tournament has a 2004, and a 2002 of not tier i? | <s>[INST]Which 2006 Tournament has a 2004, and a 2002 of not tier i? Context: CREATE TABLE table_name_15 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_15 WHERE 2004 = "a" AND 2002 = "not tier i"</s> |
CREATE TABLE table_name_49 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_49 WHERE home = "anaheim" AND date = "april 12" | Who was the Visitor when the Home team was Anaheim on the Date of April 12? | <s>[INST]Who was the Visitor when the Home team was Anaheim on the Date of April 12? Context: CREATE TABLE table_name_49 (visitor VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_49 WHERE home = "anaheim" AND date = "april 12"</s> |
CREATE TABLE table_1233808_2 (home_or_away VARCHAR, record VARCHAR) | SELECT home_or_away FROM table_1233808_2 WHERE record = "Biggest win" | Is the biggest win recorded as home or away? | <s>[INST]Is the biggest win recorded as home or away? Context: CREATE TABLE table_1233808_2 (home_or_away VARCHAR, record VARCHAR)[/INST]SELECT home_or_away FROM table_1233808_2 WHERE record = "Biggest win"</s> |
CREATE TABLE table_2361788_1 (regular_season VARCHAR, year VARCHAR) | SELECT COUNT(regular_season) FROM table_2361788_1 WHERE year = 2007 | Name the number of regular season for 2007 | <s>[INST]Name the number of regular season for 2007 Context: CREATE TABLE table_2361788_1 (regular_season VARCHAR, year VARCHAR)[/INST]SELECT COUNT(regular_season) FROM table_2361788_1 WHERE year = 2007</s> |
CREATE TABLE table_name_12 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_12 WHERE home = "ny rangers" | What date did NY Rangers play at home? | <s>[INST]What date did NY Rangers play at home? Context: CREATE TABLE table_name_12 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE home = "ny rangers"</s> |
CREATE TABLE table_name_32 (memory VARCHAR, turbo VARCHAR, release_date VARCHAR) | SELECT memory FROM table_name_32 WHERE turbo = "2/2/4/5" AND release_date = "may 2010" | What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? | <s>[INST]What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? Context: CREATE TABLE table_name_32 (memory VARCHAR, turbo VARCHAR, release_date VARCHAR)[/INST]SELECT memory FROM table_name_32 WHERE turbo = "2/2/4/5" AND release_date = "may 2010"</s> |
CREATE TABLE table_name_3 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_3 WHERE away_team = "carlton" | What was the score of the Home team that played against Carlton's Away game? | <s>[INST]What was the score of the Home team that played against Carlton's Away game? Context: CREATE TABLE table_name_3 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_3 WHERE away_team = "carlton"</s> |
CREATE TABLE table_26198709_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(original_air_date) FROM table_26198709_1 WHERE us_viewers__million_ = "15.50" | How many air dates does the episode with 15.50 million viewers have? | <s>[INST]How many air dates does the episode with 15.50 million viewers have? Context: CREATE TABLE table_26198709_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_26198709_1 WHERE us_viewers__million_ = "15.50"</s> |
CREATE TABLE table_name_20 (loss VARCHAR, score VARCHAR) | SELECT loss FROM table_name_20 WHERE score = "6–5" | Which Loss has a Score of 6–5? | <s>[INST]Which Loss has a Score of 6–5? Context: CREATE TABLE table_name_20 (loss VARCHAR, score VARCHAR)[/INST]SELECT loss FROM table_name_20 WHERE score = "6–5"</s> |
CREATE TABLE table_name_72 (to_par VARCHAR, total VARCHAR, player VARCHAR, country VARCHAR, year_won VARCHAR) | SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > 1986 AND player = "paul azinger" AND total > 145 | What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145? | <s>[INST]What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145? Context: CREATE TABLE table_name_72 (to_par VARCHAR, total VARCHAR, player VARCHAR, country VARCHAR, year_won VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > ... |
CREATE TABLE table_name_60 (played INTEGER, lost VARCHAR, drawn VARCHAR, difference VARCHAR) | SELECT MAX(played) FROM table_name_60 WHERE drawn < 9 AND difference = "36" AND lost > 7 | What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7? | <s>[INST]What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7? Context: CREATE TABLE table_name_60 (played INTEGER, lost VARCHAR, drawn VARCHAR, difference VARCHAR)[/INST]SELECT MAX(played) FROM table_name_60 WHERE drawn < 9 AND difference = "36" AND lost > 7</s> |
CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_70 WHERE attendance = "25,022" | What was the date of the game attended by 25,022? | <s>[INST]What was the date of the game attended by 25,022? Context: CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE attendance = "25,022"</s> |
CREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson" | what year was william francis stevenson first elected? | <s>[INST]what year was william francis stevenson first elected? Context: CREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson"</s> |
CREATE TABLE table_1015914_24 (we_two VARCHAR, you_two VARCHAR) | SELECT we_two FROM table_1015914_24 WHERE you_two = "ngipen" | What is we two where you two is ngipen? | <s>[INST]What is we two where you two is ngipen? Context: CREATE TABLE table_1015914_24 (we_two VARCHAR, you_two VARCHAR)[/INST]SELECT we_two FROM table_1015914_24 WHERE you_two = "ngipen"</s> |
CREATE TABLE table_27571406_1 (season VARCHAR, team_name VARCHAR) | SELECT season FROM table_27571406_1 WHERE team_name = "Pons Racing" | In what season did Pons Racing compete? | <s>[INST]In what season did Pons Racing compete? Context: CREATE TABLE table_27571406_1 (season VARCHAR, team_name VARCHAR)[/INST]SELECT season FROM table_27571406_1 WHERE team_name = "Pons Racing"</s> |
CREATE TABLE table_name_54 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_54 WHERE home_team = "collingwood" | What was Collingwood's score as the home team? | <s>[INST]What was Collingwood's score as the home team? Context: CREATE TABLE table_name_54 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_54 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_17304308_1 (fin_pos VARCHAR, points VARCHAR, time_retired VARCHAR) | SELECT COUNT(fin_pos) FROM table_17304308_1 WHERE points = "12" AND time_retired = "Accident" | Name the total number of fin pos for 12 points of accident | <s>[INST]Name the total number of fin pos for 12 points of accident Context: CREATE TABLE table_17304308_1 (fin_pos VARCHAR, points VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(fin_pos) FROM table_17304308_1 WHERE points = "12" AND time_retired = "Accident"</s> |
CREATE TABLE table_name_68 (position VARCHAR, hometown VARCHAR) | SELECT position FROM table_name_68 WHERE hometown = "muscle shoals, alabama" | Which position does the player from Muscle Shoals, Alabama play? | <s>[INST]Which position does the player from Muscle Shoals, Alabama play? Context: CREATE TABLE table_name_68 (position VARCHAR, hometown VARCHAR)[/INST]SELECT position FROM table_name_68 WHERE hometown = "muscle shoals, alabama"</s> |
CREATE TABLE table_25391981_20 (rating VARCHAR, episode VARCHAR) | SELECT rating / SHARE(18 AS –49) FROM table_25391981_20 WHERE episode = "Week 6, Part 1" | What is the rating/share for 18-49 for Week 6, Part 1? | <s>[INST]What is the rating/share for 18-49 for Week 6, Part 1? Context: CREATE TABLE table_25391981_20 (rating VARCHAR, episode VARCHAR)[/INST]SELECT rating / SHARE(18 AS –49) FROM table_25391981_20 WHERE episode = "Week 6, Part 1"</s> |
CREATE TABLE table_name_19 (goals_for INTEGER, played VARCHAR, lost VARCHAR, drawn VARCHAR, goals_against VARCHAR) | SELECT AVG(goals_for) FROM table_name_19 WHERE drawn > 7 AND goals_against < 86 AND lost > 11 AND played > 42 | What are the average goals for with a drawn higher than 7 and goals against less than 86, as well as more than 11 losses and more than 42 games played? | <s>[INST]What are the average goals for with a drawn higher than 7 and goals against less than 86, as well as more than 11 losses and more than 42 games played? Context: CREATE TABLE table_name_19 (goals_for INTEGER, played VARCHAR, lost VARCHAR, drawn VARCHAR, goals_against VARCHAR)[/INST]SELECT AVG(goals_for) FROM ta... |
CREATE TABLE table_name_80 (against INTEGER, draws INTEGER) | SELECT AVG(against) FROM table_name_80 WHERE draws < 0 | What is the average entry in the against column with draws smaller than 0? | <s>[INST]What is the average entry in the against column with draws smaller than 0? Context: CREATE TABLE table_name_80 (against INTEGER, draws INTEGER)[/INST]SELECT AVG(against) FROM table_name_80 WHERE draws < 0</s> |
CREATE TABLE table_name_99 (geo_id INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) | SELECT MAX(geo_id) FROM table_name_99 WHERE land___sqmi__ > 38.117 AND water__sqmi_ > 2.065 | What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water? | <s>[INST]What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water? Context: CREATE TABLE table_name_99 (geo_id INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR)[/INST]SELECT MAX(geo_id) FROM table_name_99 WHERE land___sqmi__ > 38.117 AND water__sqmi_ > 2.065</s> |
CREATE TABLE table_29261823_10 (aggregate_score VARCHAR, contest_and_round VARCHAR) | SELECT aggregate_score FROM table_29261823_10 WHERE contest_and_round = "Europa League Play Off Round" | what is the aggregate score for the europa league play off round contest and round | <s>[INST]what is the aggregate score for the europa league play off round contest and round Context: CREATE TABLE table_29261823_10 (aggregate_score VARCHAR, contest_and_round VARCHAR)[/INST]SELECT aggregate_score FROM table_29261823_10 WHERE contest_and_round = "Europa League Play Off Round"</s> |
CREATE TABLE table_28730873_2 (charity VARCHAR, occupation VARCHAR) | SELECT charity FROM table_28730873_2 WHERE occupation = "Actor and Singer" | What is the charity for the celebrity with an occupation title of actor and singer? | <s>[INST]What is the charity for the celebrity with an occupation title of actor and singer? Context: CREATE TABLE table_28730873_2 (charity VARCHAR, occupation VARCHAR)[/INST]SELECT charity FROM table_28730873_2 WHERE occupation = "Actor and Singer"</s> |
CREATE TABLE table_name_29 (overs INTEGER, economy_rate VARCHAR, team VARCHAR, best_bowling VARCHAR) | SELECT MIN(overs) FROM table_name_29 WHERE team = "chennai super kings" AND best_bowling = "2/17" AND economy_rate < 5.92 | What is the lowest overs of the Chennai Super Kings when the Economy Rate is less than 5.92 with a Best Bowling number of 2/17? | <s>[INST]What is the lowest overs of the Chennai Super Kings when the Economy Rate is less than 5.92 with a Best Bowling number of 2/17? Context: CREATE TABLE table_name_29 (overs INTEGER, economy_rate VARCHAR, team VARCHAR, best_bowling VARCHAR)[/INST]SELECT MIN(overs) FROM table_name_29 WHERE team = "chennai super ki... |
CREATE TABLE table_2562572_33 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE settlement = "Doline" | What is the largest ethnic group in doline? | <s>[INST]What is the largest ethnic group in doline? Context: CREATE TABLE table_2562572_33 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)[/INST]SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE settlement = "Doline"</s> |
CREATE TABLE table_name_28 (against INTEGER, status VARCHAR, date VARCHAR) | SELECT AVG(against) FROM table_name_28 WHERE status = "five nations" AND date = "16/03/1996" | What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"? | <s>[INST]What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"? Context: CREATE TABLE table_name_28 (against INTEGER, status VARCHAR, date VARCHAR)[/INST]SELECT AVG(against) FROM table_name_28 WHERE status = "five nations" AND date = "16/03/1996"</s> |
CREATE TABLE city (Status VARCHAR) | SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) | Please show the different statuses, ordered by the number of cities that have each. | <s>[INST]Please show the different statuses, ordered by the number of cities that have each. Context: CREATE TABLE city (Status VARCHAR)[/INST]SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*)</s> |
CREATE TABLE table_name_9 (country VARCHAR, nominating_festival VARCHAR) | SELECT country FROM table_name_9 WHERE nominating_festival = "prix uip venezia" | Name the country which has prix uip venezia | <s>[INST]Name the country which has prix uip venezia Context: CREATE TABLE table_name_9 (country VARCHAR, nominating_festival VARCHAR)[/INST]SELECT country FROM table_name_9 WHERE nominating_festival = "prix uip venezia"</s> |
CREATE TABLE table_name_41 (series VARCHAR, date VARCHAR) | SELECT series FROM table_name_41 WHERE date = "april 24" | What is the series record for the game on April 24? | <s>[INST]What is the series record for the game on April 24? Context: CREATE TABLE table_name_41 (series VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_name_41 WHERE date = "april 24"</s> |
CREATE TABLE table_name_21 (year INTEGER, miss_fire__3rd_runner_up_ VARCHAR) | SELECT AVG(year) FROM table_name_21 WHERE miss_fire__3rd_runner_up_ = "caroline medina" | What year was Caroline Medina Miss Fire (3rd Runner-up)? | <s>[INST]What year was Caroline Medina Miss Fire (3rd Runner-up)? Context: CREATE TABLE table_name_21 (year INTEGER, miss_fire__3rd_runner_up_ VARCHAR)[/INST]SELECT AVG(year) FROM table_name_21 WHERE miss_fire__3rd_runner_up_ = "caroline medina"</s> |
CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_18 WHERE player = "darren clarke" | What country is Darren Clarke from? | <s>[INST]What country is Darren Clarke from? Context: CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_18 WHERE player = "darren clarke"</s> |
CREATE TABLE table_name_16 (series VARCHAR, team VARCHAR, game VARCHAR) | SELECT series FROM table_name_16 WHERE team = "@boston" AND game < 3 | what is the series when the team is @boston and the game is smaller than 3? | <s>[INST]what is the series when the team is @boston and the game is smaller than 3? Context: CREATE TABLE table_name_16 (series VARCHAR, team VARCHAR, game VARCHAR)[/INST]SELECT series FROM table_name_16 WHERE team = "@boston" AND game < 3</s> |
CREATE TABLE table_name_63 (number INTEGER, name VARCHAR, weight VARCHAR) | SELECT AVG(number) FROM table_name_63 WHERE name = "byron geis" AND weight < 195 | Name of byron geis, and a Weight smaller than 195 involves what average number? | <s>[INST]Name of byron geis, and a Weight smaller than 195 involves what average number? Context: CREATE TABLE table_name_63 (number INTEGER, name VARCHAR, weight VARCHAR)[/INST]SELECT AVG(number) FROM table_name_63 WHERE name = "byron geis" AND weight < 195</s> |
CREATE TABLE table_name_16 (rank VARCHAR, athlete VARCHAR, react VARCHAR) | SELECT COUNT(rank) FROM table_name_16 WHERE athlete = "liu xiaosheng" AND react < 0.245 | How many total Rank listings have Liu Xiaosheng listed as the athlete with a react entry that is smaller than 0.245? | <s>[INST]How many total Rank listings have Liu Xiaosheng listed as the athlete with a react entry that is smaller than 0.245? Context: CREATE TABLE table_name_16 (rank VARCHAR, athlete VARCHAR, react VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_16 WHERE athlete = "liu xiaosheng" AND react < 0.245</s> |
CREATE TABLE table_158282_1 (european_parliament_seats INTEGER, international_affiliation VARCHAR) | SELECT MIN(european_parliament_seats) FROM table_158282_1 WHERE international_affiliation = "Global Greens, EGP" | What is the smallest number of European Parliament sets when the international affiliation is global greens, egp? | <s>[INST]What is the smallest number of European Parliament sets when the international affiliation is global greens, egp? Context: CREATE TABLE table_158282_1 (european_parliament_seats INTEGER, international_affiliation VARCHAR)[/INST]SELECT MIN(european_parliament_seats) FROM table_158282_1 WHERE international_affi... |
CREATE TABLE table_name_13 (height__cm_ INTEGER, weight__kg_ VARCHAR) | SELECT SUM(height__cm_) FROM table_name_13 WHERE weight__kg_ = 90 | What is the sum of Height (cm), when the Weight (kg) is 90? | <s>[INST]What is the sum of Height (cm), when the Weight (kg) is 90? Context: CREATE TABLE table_name_13 (height__cm_ INTEGER, weight__kg_ VARCHAR)[/INST]SELECT SUM(height__cm_) FROM table_name_13 WHERE weight__kg_ = 90</s> |
CREATE TABLE table_15944_5 (sfc_in_g__kn·s_ VARCHAR, specific_impulse__s_ VARCHAR) | SELECT sfc_in_g__kn·s_ FROM table_15944_5 WHERE specific_impulse__s_ = 453 | What is the SFC when the specific impulse is 453? | <s>[INST]What is the SFC when the specific impulse is 453? Context: CREATE TABLE table_15944_5 (sfc_in_g__kn·s_ VARCHAR, specific_impulse__s_ VARCHAR)[/INST]SELECT sfc_in_g__kn·s_ FROM table_15944_5 WHERE specific_impulse__s_ = 453</s> |
CREATE TABLE poker_player (People_ID VARCHAR, Final_Table_Made VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made | List the names of poker players ordered by the final tables made in ascending order. | <s>[INST]List the names of poker players ordered by the final tables made in ascending order. Context: CREATE TABLE poker_player (People_ID VARCHAR, Final_Table_Made VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People... |
CREATE TABLE table_228973_9 (title VARCHAR, original_air_date VARCHAR) | SELECT title FROM table_228973_9 WHERE original_air_date = "February 4, 2003" | If the original air date is February 4, 2003, what is the episode title? | <s>[INST]If the original air date is February 4, 2003, what is the episode title? Context: CREATE TABLE table_228973_9 (title VARCHAR, original_air_date VARCHAR)[/INST]SELECT title FROM table_228973_9 WHERE original_air_date = "February 4, 2003"</s> |
CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) | SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 2010" | What is the manner of departure when the date of vacancy is 28 september 2010? | <s>[INST]What is the manner of departure when the date of vacancy is 28 september 2010? Context: CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 2010"</s> |
CREATE TABLE table_11960610_6 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_11960610_6 WHERE date = "November 15" | What was the location attendance on the date of November 15? | <s>[INST]What was the location attendance on the date of November 15? Context: CREATE TABLE table_11960610_6 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_11960610_6 WHERE date = "November 15"</s> |
CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR) | SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings" | How many teams drew the widnes vikings? | <s>[INST]How many teams drew the widnes vikings? Context: CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR)[/INST]SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings"</s> |
CREATE TABLE table_name_41 (venue VARCHAR) | SELECT 3 AS rd_place FROM table_name_41 WHERE venue = "pardubice" | Who was the 3rd place team at Pardubice? | <s>[INST]Who was the 3rd place team at Pardubice? Context: CREATE TABLE table_name_41 (venue VARCHAR)[/INST]SELECT 3 AS rd_place FROM table_name_41 WHERE venue = "pardubice"</s> |
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_90 WHERE venue = "los angeles" | On what Date was the Venue Los Angeles? | <s>[INST]On what Date was the Venue Los Angeles? Context: CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE venue = "los angeles"</s> |
CREATE TABLE table_name_20 (name VARCHAR, circuit VARCHAR) | SELECT name FROM table_name_20 WHERE circuit = "lille" | Which Grand Prix has the Circuit of Lille? | <s>[INST]Which Grand Prix has the Circuit of Lille? Context: CREATE TABLE table_name_20 (name VARCHAR, circuit VARCHAR)[/INST]SELECT name FROM table_name_20 WHERE circuit = "lille"</s> |
CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_58 WHERE date = "september 28" | What was the score on september 28? | <s>[INST]What was the score on september 28? Context: CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_58 WHERE date = "september 28"</s> |
CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR) | SELECT opponent FROM table_name_43 WHERE season = "2008–09" AND final_score = "2–3 l" | What team was the opponent in the 2008–09 season, with a final score of 2–3 l? | <s>[INST]What team was the opponent in the 2008–09 season, with a final score of 2–3 l? Context: CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)[/INST]SELECT opponent FROM table_name_43 WHERE season = "2008–09" AND final_score = "2–3 l"</s> |
CREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR) | SELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND rank = 5 | What is the highest gold when bronze is 1, and rank is 5? | <s>[INST]What is the highest gold when bronze is 1, and rank is 5? Context: CREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND rank = 5</s> |
CREATE TABLE table_14102379_4 (stadium VARCHAR, record VARCHAR) | SELECT stadium FROM table_14102379_4 WHERE record = "1–1" | what's the stadium with record being 1–1 | <s>[INST]what's the stadium with record being 1–1 Context: CREATE TABLE table_14102379_4 (stadium VARCHAR, record VARCHAR)[/INST]SELECT stadium FROM table_14102379_4 WHERE record = "1–1"</s> |
CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR) | SELECT country FROM table_name_9 WHERE singles_champions = "dennis blömke" AND tournament = "germany f13 futures" | In what Country will Dennis Blömke play the Germany F13 Futures Tournament? | <s>[INST]In what Country will Dennis Blömke play the Germany F13 Futures Tournament? Context: CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR)[/INST]SELECT country FROM table_name_9 WHERE singles_champions = "dennis blömke" AND tournament = "germany f13 futures"</s> |
CREATE TABLE table_28498999_6 (country VARCHAR, player VARCHAR) | SELECT country FROM table_28498999_6 WHERE player = "Luke Donald" | what is the place where the person is luke donald | <s>[INST]what is the place where the person is luke donald Context: CREATE TABLE table_28498999_6 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_28498999_6 WHERE player = "Luke Donald"</s> |
CREATE TABLE table_name_34 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_34 WHERE chassis = "rb1" AND driver = "david coulthard" | Which constructor made the car with a rb1 chassis and which is driven by David Coulthard? | <s>[INST]Which constructor made the car with a rb1 chassis and which is driven by David Coulthard? Context: CREATE TABLE table_name_34 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_34 WHERE chassis = "rb1" AND driver = "david coulthard"</s> |
CREATE TABLE table_name_25 (motive VARCHAR, year INTEGER) | SELECT motive FROM table_name_25 WHERE year < 2007 | What is the motive before 2007? | <s>[INST]What is the motive before 2007? Context: CREATE TABLE table_name_25 (motive VARCHAR, year INTEGER)[/INST]SELECT motive FROM table_name_25 WHERE year < 2007</s> |
CREATE TABLE manager (LEVEL INTEGER, Country VARCHAR) | SELECT MAX(LEVEL) FROM manager WHERE Country <> "Australia " | What is the maximum level of managers in countries that are not "Australia"? | <s>[INST]What is the maximum level of managers in countries that are not "Australia"? Context: CREATE TABLE manager (LEVEL INTEGER, Country VARCHAR)[/INST]SELECT MAX(LEVEL) FROM manager WHERE Country <> "Australia "</s> |
CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR) | SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado" | What is the total average for swimsuits smaller than 9.62 in Colorado? | <s>[INST]What is the total average for swimsuits smaller than 9.62 in Colorado? Context: CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)[/INST]SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado"</s> |
CREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT SUM(total) FROM table_name_37 WHERE gold = "3" AND bronze < "3" AND silver = "3" | How many totals have golds of 3, silvers of 3, and bronzes under 3? | <s>[INST]How many totals have golds of 3, silvers of 3, and bronzes under 3? Context: CREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(total) FROM table_name_37 WHERE gold = "3" AND bronze < "3" AND silver = "3"</s> |
CREATE TABLE table_name_80 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_80 WHERE opponent = "tulsa" | What was the result of the game versus Tulsa? | <s>[INST]What was the result of the game versus Tulsa? Context: CREATE TABLE table_name_80 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_80 WHERE opponent = "tulsa"</s> |
CREATE TABLE table_name_96 (laps INTEGER, bike VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_96 WHERE bike = "honda cbr600rr" AND grid = 7 | How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR? | <s>[INST]How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR? Context: CREATE TABLE table_name_96 (laps INTEGER, bike VARCHAR, grid VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_96 WHERE bike = "honda cbr600rr" AND grid = 7</s> |
CREATE TABLE table_name_49 (year INTEGER, entrant VARCHAR, points VARCHAR) | SELECT SUM(year) FROM table_name_49 WHERE entrant = "connaught engineering" AND points < 0 | Name the sum of year for connaught engineering and points less than 0 | <s>[INST]Name the sum of year for connaught engineering and points less than 0 Context: CREATE TABLE table_name_49 (year INTEGER, entrant VARCHAR, points VARCHAR)[/INST]SELECT SUM(year) FROM table_name_49 WHERE entrant = "connaught engineering" AND points < 0</s> |
CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR) | SELECT home_team FROM table_26847237_3 WHERE opposition = "East Coast" | what is the home team when the opposition is east coast? | <s>[INST]what is the home team when the opposition is east coast? Context: CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)[/INST]SELECT home_team FROM table_26847237_3 WHERE opposition = "East Coast"</s> |
CREATE TABLE table_name_3 (cars_per_set INTEGER, operator VARCHAR) | SELECT SUM(cars_per_set) FROM table_name_3 WHERE operator = "london midland" | Tell me the sum of cars per set for operator of london midland | <s>[INST]Tell me the sum of cars per set for operator of london midland Context: CREATE TABLE table_name_3 (cars_per_set INTEGER, operator VARCHAR)[/INST]SELECT SUM(cars_per_set) FROM table_name_3 WHERE operator = "london midland"</s> |
CREATE TABLE table_name_43 (religion VARCHAR, scheduled_tribe VARCHAR) | SELECT religion FROM table_name_43 WHERE scheduled_tribe = "0.90%" | WHAT IS THE RELIGION WITH A SCHEDULED TRIBE OF 0.90%? | <s>[INST]WHAT IS THE RELIGION WITH A SCHEDULED TRIBE OF 0.90%? Context: CREATE TABLE table_name_43 (religion VARCHAR, scheduled_tribe VARCHAR)[/INST]SELECT religion FROM table_name_43 WHERE scheduled_tribe = "0.90%"</s> |
CREATE TABLE table_name_11 (matches VARCHAR, team VARCHAR) | SELECT matches FROM table_name_11 WHERE team = "gold coast" | Name the matches for gold coast | <s>[INST]Name the matches for gold coast Context: CREATE TABLE table_name_11 (matches VARCHAR, team VARCHAR)[/INST]SELECT matches FROM table_name_11 WHERE team = "gold coast"</s> |
CREATE TABLE table_name_54 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_54 WHERE team_1 = "servette" | What is the second leg for Team 1 Servette? | <s>[INST]What is the second leg for Team 1 Servette? Context: CREATE TABLE table_name_54 (team_1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_54 WHERE team_1 = "servette"</s> |
CREATE TABLE table_25177625_1 (former_school VARCHAR, hometown VARCHAR) | SELECT former_school FROM table_25177625_1 WHERE hometown = "East Brunswick, NJ" | What were the former schools of the player from East Brunswick, NJ? | <s>[INST]What were the former schools of the player from East Brunswick, NJ? Context: CREATE TABLE table_25177625_1 (former_school VARCHAR, hometown VARCHAR)[/INST]SELECT former_school FROM table_25177625_1 WHERE hometown = "East Brunswick, NJ"</s> |
CREATE TABLE table_name_31 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR) | SELECT SUM(ngc_number) FROM table_name_31 WHERE object_type = "spiral galaxy" AND right_ascension___j2000__ = "08h14m40.4s" | I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s | <s>[INST]I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s Context: CREATE TABLE table_name_31 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR)[/INST]SELECT SUM(ngc_number) FROM table_name_31 WHERE object_type = "spiral galaxy" AND right_ascension___j2000__ = "... |
CREATE TABLE table_name_55 (weapon VARCHAR, mecha VARCHAR) | SELECT weapon FROM table_name_55 WHERE mecha = "motorcycle" | What is the weapon for the mecha of motorcycle? | <s>[INST]What is the weapon for the mecha of motorcycle? Context: CREATE TABLE table_name_55 (weapon VARCHAR, mecha VARCHAR)[/INST]SELECT weapon FROM table_name_55 WHERE mecha = "motorcycle"</s> |
CREATE TABLE table_name_91 (total INTEGER, position INTEGER) | SELECT SUM(total) FROM table_name_91 WHERE position < 1 | What's the total of the position of 1? | <s>[INST]What's the total of the position of 1? Context: CREATE TABLE table_name_91 (total INTEGER, position INTEGER)[/INST]SELECT SUM(total) FROM table_name_91 WHERE position < 1</s> |
CREATE TABLE table_14342210_2 (player VARCHAR, position VARCHAR) | SELECT player FROM table_14342210_2 WHERE position = "Fullback" | Name all the players for fullback | <s>[INST]Name all the players for fullback Context: CREATE TABLE table_14342210_2 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_14342210_2 WHERE position = "Fullback"</s> |
CREATE TABLE table_name_79 (australian VARCHAR, american VARCHAR) | SELECT australian FROM table_name_79 WHERE american = "ɑ" | What is the Australian for the American ɑ? | <s>[INST]What is the Australian for the American ɑ? Context: CREATE TABLE table_name_79 (australian VARCHAR, american VARCHAR)[/INST]SELECT australian FROM table_name_79 WHERE american = "ɑ"</s> |
CREATE TABLE Students (current_address_id VARCHAR) | SELECT COUNT(DISTINCT current_address_id) FROM Students | How many different addresses do the students currently live? | <s>[INST]How many different addresses do the students currently live? Context: CREATE TABLE Students (current_address_id VARCHAR)[/INST]SELECT COUNT(DISTINCT current_address_id) FROM Students</s> |
CREATE TABLE table_15187735_9 (segment_b VARCHAR, segment_c VARCHAR) | SELECT segment_b FROM table_15187735_9 WHERE segment_c = "British Police Helmets" | In episode 115 what is seen being made before British police helmets? | <s>[INST]In episode 115 what is seen being made before British police helmets? Context: CREATE TABLE table_15187735_9 (segment_b VARCHAR, segment_c VARCHAR)[/INST]SELECT segment_b FROM table_15187735_9 WHERE segment_c = "British Police Helmets"</s> |
CREATE TABLE table_name_70 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT SUM(silver) FROM table_name_70 WHERE total < 560 AND bronze > 6 AND gold = 3 | What's the sum of Silver with total smaller than 560, a Bronze larger than 6, and a Gold of 3? | <s>[INST]What's the sum of Silver with total smaller than 560, a Bronze larger than 6, and a Gold of 3? Context: CREATE TABLE table_name_70 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_70 WHERE total < 560 AND bronze > 6 AND gold = 3</s> |
CREATE TABLE table_16976547_2 (immunity VARCHAR, cycle_no VARCHAR) | SELECT COUNT(immunity) FROM table_16976547_2 WHERE cycle_no = "13" | Name the total number of immunity for cycle number of 13 | <s>[INST]Name the total number of immunity for cycle number of 13 Context: CREATE TABLE table_16976547_2 (immunity VARCHAR, cycle_no VARCHAR)[/INST]SELECT COUNT(immunity) FROM table_16976547_2 WHERE cycle_no = "13"</s> |
CREATE TABLE table_name_25 (year INTEGER, wins INTEGER) | SELECT MIN(year) FROM table_name_25 WHERE wins < 0 | What is listed as the lowest Year with a Wins that's smaller than 0? | <s>[INST]What is listed as the lowest Year with a Wins that's smaller than 0? Context: CREATE TABLE table_name_25 (year INTEGER, wins INTEGER)[/INST]SELECT MIN(year) FROM table_name_25 WHERE wins < 0</s> |
CREATE TABLE table_name_30 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_30 WHERE player = "colin montgomerie" | Name the to par for colin montgomerie | <s>[INST]Name the to par for colin montgomerie Context: CREATE TABLE table_name_30 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_30 WHERE player = "colin montgomerie"</s> |
CREATE TABLE table_name_52 (to_par VARCHAR, winning_score VARCHAR) | SELECT to_par FROM table_name_52 WHERE winning_score = 71 - 66 - 70 - 67 = 274 | What is the To Par of winning score 71-66-70-67=274? | <s>[INST]What is the To Par of winning score 71-66-70-67=274? Context: CREATE TABLE table_name_52 (to_par VARCHAR, winning_score VARCHAR)[/INST]SELECT to_par FROM table_name_52 WHERE winning_score = 71 - 66 - 70 - 67 = 274</s> |
CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, life_expectancy_females VARCHAR) | SELECT live_births_per_year FROM table_18950570_2 WHERE life_expectancy_females = "73.3" | How many live births per year are there in the period where the life expectancy for females is 73.3? | <s>[INST]How many live births per year are there in the period where the life expectancy for females is 73.3? Context: CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, life_expectancy_females VARCHAR)[/INST]SELECT live_births_per_year FROM table_18950570_2 WHERE life_expectancy_females = "73.3"</s> |
CREATE TABLE table_name_86 (hand VARCHAR) | SELECT 1 AS _credit FROM table_name_86 WHERE hand = "theoretical return" | What's the 1 credit with a Hand of Theoretical Return? | <s>[INST]What's the 1 credit with a Hand of Theoretical Return? Context: CREATE TABLE table_name_86 (hand VARCHAR)[/INST]SELECT 1 AS _credit FROM table_name_86 WHERE hand = "theoretical return"</s> |
CREATE TABLE table_name_12 (opposing_team VARCHAR, status VARCHAR) | SELECT opposing_team FROM table_name_12 WHERE status = "second test" | What opposing team has second test as the status? | <s>[INST]What opposing team has second test as the status? Context: CREATE TABLE table_name_12 (opposing_team VARCHAR, status VARCHAR)[/INST]SELECT opposing_team FROM table_name_12 WHERE status = "second test"</s> |
CREATE TABLE table_name_20 (prom__m_ VARCHAR, class VARCHAR, height__m_ VARCHAR) | SELECT prom__m_ FROM table_name_20 WHERE class = "hewitt" AND height__m_ = 715 | What is the prom with Hewitt class and a Height (m) of 715? | <s>[INST]What is the prom with Hewitt class and a Height (m) of 715? Context: CREATE TABLE table_name_20 (prom__m_ VARCHAR, class VARCHAR, height__m_ VARCHAR)[/INST]SELECT prom__m_ FROM table_name_20 WHERE class = "hewitt" AND height__m_ = 715</s> |
CREATE TABLE table_name_41 (position VARCHAR, time VARCHAR) | SELECT position FROM table_name_41 WHERE time = "1:45:53:00" | Which position has a time of 1:45:53:00? | <s>[INST]Which position has a time of 1:45:53:00? Context: CREATE TABLE table_name_41 (position VARCHAR, time VARCHAR)[/INST]SELECT position FROM table_name_41 WHERE time = "1:45:53:00"</s> |
CREATE TABLE table_name_69 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_69 WHERE away_team = "richmond" | What home team has Richmond listed as their Away team? | <s>[INST]What home team has Richmond listed as their Away team? Context: CREATE TABLE table_name_69 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_69 WHERE away_team = "richmond"</s> |
CREATE TABLE table_1414702_3 (wiaa_classification VARCHAR, high_school VARCHAR) | SELECT wiaa_classification FROM table_1414702_3 WHERE high_school = "Oakland Alternative" | What is the WIAA classification of Oakland Alternative High School? | <s>[INST]What is the WIAA classification of Oakland Alternative High School? Context: CREATE TABLE table_1414702_3 (wiaa_classification VARCHAR, high_school VARCHAR)[/INST]SELECT wiaa_classification FROM table_1414702_3 WHERE high_school = "Oakland Alternative"</s> |
CREATE TABLE table_name_37 (thumb_stick VARCHAR, supplier VARCHAR, basic_shape VARCHAR, backlit VARCHAR) | SELECT thumb_stick FROM table_name_37 WHERE basic_shape = "curved" AND backlit = "yes" AND supplier = "genius" | Which Thumb stick has a Basic shape of curved, a Backlit of yes, and a Supplier of genius? | <s>[INST]Which Thumb stick has a Basic shape of curved, a Backlit of yes, and a Supplier of genius? Context: CREATE TABLE table_name_37 (thumb_stick VARCHAR, supplier VARCHAR, basic_shape VARCHAR, backlit VARCHAR)[/INST]SELECT thumb_stick FROM table_name_37 WHERE basic_shape = "curved" AND backlit = "yes" AND supplier ... |
CREATE TABLE table_name_37 (total INTEGER, gymnast VARCHAR, position VARCHAR) | SELECT AVG(total) FROM table_name_37 WHERE gymnast = "danny pinheiro rodrigues ( fra )" AND position < 7 | What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7? | <s>[INST]What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7? Context: CREATE TABLE table_name_37 (total INTEGER, gymnast VARCHAR, position VARCHAR)[/INST]SELECT AVG(total) FROM table_name_37 WHERE gymnast = "danny pinheiro rodrigues ( fra )" AND position < 7</s> |
CREATE TABLE table_name_84 (area_km_2 INTEGER, population VARCHAR, official_name VARCHAR) | SELECT MAX(area_km_2) FROM table_name_84 WHERE population > 532 AND official_name = "centreville" | What is the highest area for locations named Centreville having populations over 532? | <s>[INST]What is the highest area for locations named Centreville having populations over 532? Context: CREATE TABLE table_name_84 (area_km_2 INTEGER, population VARCHAR, official_name VARCHAR)[/INST]SELECT MAX(area_km_2) FROM table_name_84 WHERE population > 532 AND official_name = "centreville"</s> |
CREATE TABLE table_name_52 (billboard_peak VARCHAR, title VARCHAR) | SELECT billboard_peak FROM table_name_52 WHERE title = "god & guns" | Where did god & guns peak on the Billboard? | <s>[INST]Where did god & guns peak on the Billboard? Context: CREATE TABLE table_name_52 (billboard_peak VARCHAR, title VARCHAR)[/INST]SELECT billboard_peak FROM table_name_52 WHERE title = "god & guns"</s> |
CREATE TABLE table_20170644_1 (pick__number INTEGER, cfl_team VARCHAR) | SELECT MAX(pick__number) FROM table_20170644_1 WHERE cfl_team = "BC Lions (via Hamilton via Winnipeg )" | What number pick did the CFL team bc lions (via hamilton via winnipeg ) have? | <s>[INST]What number pick did the CFL team bc lions (via hamilton via winnipeg ) have? Context: CREATE TABLE table_20170644_1 (pick__number INTEGER, cfl_team VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_20170644_1 WHERE cfl_team = "BC Lions (via Hamilton via Winnipeg )"</s> |
CREATE TABLE table_name_6 (type VARCHAR, source VARCHAR, name VARCHAR) | SELECT type FROM table_name_6 WHERE source = "realmadrid" AND name = "soldado" | What is the type when the source is Realmadrid, and the name is Soldado? | <s>[INST]What is the type when the source is Realmadrid, and the name is Soldado? Context: CREATE TABLE table_name_6 (type VARCHAR, source VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_name_6 WHERE source = "realmadrid" AND name = "soldado"</s> |
CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR) | SELECT opponent FROM table_name_7 WHERE method = "tko" AND location = "elgin, illinois, usa" AND date = "2001-02-11" | Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11? | <s>[INST]Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11? Context: CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR)[/INST]SELECT opponent FROM table_name_7 WHERE method = "tko" AND location = "elgin, illinois, usa" AND date = "2001-02-... |
CREATE TABLE table_name_26 (game INTEGER, november VARCHAR) | SELECT SUM(game) FROM table_name_26 WHERE november = 27 | what is the game when on november 27? | <s>[INST]what is the game when on november 27? Context: CREATE TABLE table_name_26 (game INTEGER, november VARCHAR)[/INST]SELECT SUM(game) FROM table_name_26 WHERE november = 27</s> |
CREATE TABLE table_21058823_1 (date VARCHAR, record VARCHAR) | SELECT COUNT(date) FROM table_21058823_1 WHERE record = "0-2-0" | How many games did they play when their record 0-2-0? | <s>[INST]How many games did they play when their record 0-2-0? Context: CREATE TABLE table_21058823_1 (date VARCHAR, record VARCHAR)[/INST]SELECT COUNT(date) FROM table_21058823_1 WHERE record = "0-2-0"</s> |
CREATE TABLE table_name_84 (location___state VARCHAR, team VARCHAR, circuit VARCHAR) | SELECT location___state FROM table_name_84 WHERE team = "glenn seton racing" AND circuit = "lakeside international raceway" | The team Glenn Seton Racing has a circuit at the lakeside international raceway, what is the location and state? | <s>[INST]The team Glenn Seton Racing has a circuit at the lakeside international raceway, what is the location and state? Context: CREATE TABLE table_name_84 (location___state VARCHAR, team VARCHAR, circuit VARCHAR)[/INST]SELECT location___state FROM table_name_84 WHERE team = "glenn seton racing" AND circuit = "lakesi... |
CREATE TABLE table_name_76 (name VARCHAR, year VARCHAR) | SELECT name FROM table_name_76 WHERE year = "1997–99" | What is the Name for 1997–99? | <s>[INST]What is the Name for 1997–99? Context: CREATE TABLE table_name_76 (name VARCHAR, year VARCHAR)[/INST]SELECT name FROM table_name_76 WHERE year = "1997–99"</s> |
CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342233_13 WHERE incumbent = "Sid Simpson" | What district is incumbent sid simpson from? | <s>[INST]What district is incumbent sid simpson from? Context: CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342233_13 WHERE incumbent = "Sid Simpson"</s> |
CREATE TABLE table_16376436_1 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_16376436_1 WHERE pick__number = 150 | Which player was pick number 150? | <s>[INST]Which player was pick number 150? Context: CREATE TABLE table_16376436_1 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_16376436_1 WHERE pick__number = 150</s> |
CREATE TABLE table_name_42 (uci_points INTEGER, cyclist VARCHAR) | SELECT SUM(uci_points) FROM table_name_42 WHERE cyclist = "kim kirchen" | What is the sum of UCI points for Kim Kirchen? | <s>[INST]What is the sum of UCI points for Kim Kirchen? Context: CREATE TABLE table_name_42 (uci_points INTEGER, cyclist VARCHAR)[/INST]SELECT SUM(uci_points) FROM table_name_42 WHERE cyclist = "kim kirchen"</s> |
CREATE TABLE table_name_95 (studio VARCHAR, director VARCHAR) | SELECT studio FROM table_name_95 WHERE director = "david fincher" | What studio is director David Fincher from? | <s>[INST]What studio is director David Fincher from? Context: CREATE TABLE table_name_95 (studio VARCHAR, director VARCHAR)[/INST]SELECT studio FROM table_name_95 WHERE director = "david fincher"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.