CREATE SCHEMA IF NOT EXISTS pokemon;
USE pokemon;
CREATE TABLE IF NOT EXISTS series (
id TINYINT UNSIGNED NOT NULL PRIMARY KEY,
code VARCHAR(2) NOT NULL,
name VARCHAR(128) NOT NULl
) ENGINE InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
INSERT INTO series VALUES 
(1,   'EP', 'Original'),
(2,   'AG', 'Advanced Generation'),
(3,   'DP', 'Diamond & Pearl'),
(4,   'BW', 'Best Wishes'),
(5,   'XY', 'XY') 
ON DUPLICATE KEY UPDATE name = VALUES(name);
CREATE TABLE IF NOT EXISTS episodes (
code VARCHAR(6) NOT NULL PRIMARY KEY,
series TINYINT UNSIGNED NULL DEFAULT NULL
REFERENCES series (id) ON DELETE RESTRICT,
number SMALLINT UNSIGNED NULL DEFAULT NULL,
title VARCHAR(128) NOT NULL UNIQUE KEY,
airdate DATE NULL DEFAULT NULL,
chronology SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE KEY
) ENGINE InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE TABLE IF NOT EXISTS seasons (
id TINYINT UNSIGNED NOT NULL PRIMARY KEY,
name VARCHAR(128) NOT NULL
) ENGINE InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
INSERT INTO seasons VALUES 
(1,   'Indigo League'),
(2,   'Adventures in the Orange Islands'),
(3,   'The Johto Journeys'),
(4,   'Johto League Champions'),
(5,   'Master Quest'),
(6,   'Advanced'),
(7,   'Advanced Challenge'),
(8,   'Advanced Battle'),
(9,   'Battle Frontier'),
(10,  'Diamond and Pearl'),
(11,  'Diamond & Pearl: Battle Dimension'),
(12,  'Diamond & Pearl: Galactic Battles'),
(13,  'Diamond & Pearl: Sinnoh League Victors'),
(14,  'Black & White'),
(15,  'Black & White: Rival Destinies'),
(16,  'Black & White: Adventures in Unova'),
(17,  'Pokémon the Series: XY'),
(18,  'Pokémon the Series: XY (continued)') 
ON DUPLICATE KEY UPDATE name = VALUES(name);
CREATE TABLE IF NOT EXISTS dubs (
  code VARCHAR(5) NOT NULL PRIMARY KEY
    REFERENCES episodes (code) ON DELETE CASCADE,
  season TINYINT UNSIGNED NULL DEFAULT NULL
    REFERENCES seasons (id) ON DELETE RESTRICT,
  number SMALLINT UNSIGNED NULL DEFAULT NULL,
  title VARCHAR(128) NOT NULL,
  airdate DATE NULL DEFAULT NULL
) ENGINE InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP001', 1, 1, 'Pokémon! I Choose You!', '1997-04-01') ON DUPLICATE KEY UPDATE series = 1, number = 1, title = 'Pokémon! I Choose You!', airdate = LEAST(airdate, '1997-04-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP001', 1, 1, 'Pokémon - I Choose You!', '1998-09-08') ON DUPLICATE KEY UPDATE season = 1, number = 1, title = 'Pokémon - I Choose You!', airdate = LEAST(airdate, '1998-09-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP002', 1, 2, 'Showdown! Pokémon Center!', '1997-04-08') ON DUPLICATE KEY UPDATE series = 1, number = 2, title = 'Showdown! Pokémon Center!', airdate = LEAST(airdate, '1997-04-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP002', 1, 2, 'Pokémon Emergency!', '1998-09-09') ON DUPLICATE KEY UPDATE season = 1, number = 2, title = 'Pokémon Emergency!', airdate = LEAST(airdate, '1998-09-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP003', 1, 3, 'I Caught a Pokémon!', '1997-04-15') ON DUPLICATE KEY UPDATE series = 1, number = 3, title = 'I Caught a Pokémon!', airdate = LEAST(airdate, '1997-04-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP003', 1, 3, 'Ash Catches a Pokémon', '1998-09-10') ON DUPLICATE KEY UPDATE season = 1, number = 3, title = 'Ash Catches a Pokémon', airdate = LEAST(airdate, '1998-09-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP004', 1, 4, 'Challenge of the Samurai Boy!', '1997-04-22') ON DUPLICATE KEY UPDATE series = 1, number = 4, title = 'Challenge of the Samurai Boy!', airdate = LEAST(airdate, '1997-04-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP004', 1, 4, 'Challenge of the Samurai', '1998-09-11') ON DUPLICATE KEY UPDATE season = 1, number = 4, title = 'Challenge of the Samurai', airdate = LEAST(airdate, '1998-09-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP005', 1, 5, 'Nibi Gym Battle!', '1997-04-29') ON DUPLICATE KEY UPDATE series = 1, number = 5, title = 'Nibi Gym Battle!', airdate = LEAST(airdate, '1997-04-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP005', 1, 5, 'Showdown in Pewter City', '1998-09-14') ON DUPLICATE KEY UPDATE season = 1, number = 5, title = 'Showdown in Pewter City', airdate = LEAST(airdate, '1998-09-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP006', 1, 6, 'Pippi and the Moon Stone', '1997-05-06') ON DUPLICATE KEY UPDATE series = 1, number = 6, title = 'Pippi and the Moon Stone', airdate = LEAST(airdate, '1997-05-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP006', 1, 6, 'Clefairy and the Moon Stone', '1998-09-15') ON DUPLICATE KEY UPDATE season = 1, number = 6, title = 'Clefairy and the Moon Stone', airdate = LEAST(airdate, '1998-09-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP007', 1, 7, 'The Suichūka of Hanada City', '1997-05-13') ON DUPLICATE KEY UPDATE series = 1, number = 7, title = 'The Suichūka of Hanada City', airdate = LEAST(airdate, '1997-05-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP007', 1, 7, 'The Water Flowers of Cerulean City', '1998-09-16') ON DUPLICATE KEY UPDATE season = 1, number = 7, title = 'The Water Flowers of Cerulean City', airdate = LEAST(airdate, '1998-09-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP008', 1, 8, 'The Road to the Pokémon League', '1997-05-20') ON DUPLICATE KEY UPDATE series = 1, number = 8, title = 'The Road to the Pokémon League', airdate = LEAST(airdate, '1997-05-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP008', 1, 8, 'The Path to the Pokémon League', '1998-09-17') ON DUPLICATE KEY UPDATE season = 1, number = 8, title = 'The Path to the Pokémon League', airdate = LEAST(airdate, '1998-09-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP009', 1, 9, 'Pokémon Victory Manual', '1997-05-27') ON DUPLICATE KEY UPDATE series = 1, number = 9, title = 'Pokémon Victory Manual', airdate = LEAST(airdate, '1997-05-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP009', 1, 9, 'The School of Hard Knocks', '1998-09-18') ON DUPLICATE KEY UPDATE season = 1, number = 9, title = 'The School of Hard Knocks', airdate = LEAST(airdate, '1998-09-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP010', 1, 10, 'Fushigidane of the Hidden Village', '1997-06-03') ON DUPLICATE KEY UPDATE series = 1, number = 10, title = 'Fushigidane of the Hidden Village', airdate = LEAST(airdate, '1997-06-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP010', 1, 10, 'Bulbasaur and the Hidden Village', '1998-09-21') ON DUPLICATE KEY UPDATE season = 1, number = 10, title = 'Bulbasaur and the Hidden Village', airdate = LEAST(airdate, '1998-09-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP011', 1, 11, 'Stray Pokémon - Hitokage', '1997-06-10') ON DUPLICATE KEY UPDATE series = 1, number = 11, title = 'Stray Pokémon - Hitokage', airdate = LEAST(airdate, '1997-06-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP011', 1, 11, 'Charmander – The Stray Pokémon', '1998-09-22') ON DUPLICATE KEY UPDATE season = 1, number = 11, title = 'Charmander – The Stray Pokémon', airdate = LEAST(airdate, '1998-09-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP012', 1, 12, 'Enter the Zenigame Squad!', '1997-06-17') ON DUPLICATE KEY UPDATE series = 1, number = 12, title = 'Enter the Zenigame Squad!', airdate = LEAST(airdate, '1997-06-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP012', 1, 12, 'Here Comes the Squirtle Squad', '1998-09-23') ON DUPLICATE KEY UPDATE season = 1, number = 12, title = 'Here Comes the Squirtle Squad', airdate = LEAST(airdate, '1998-09-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP013', 1, 13, 'Masaki\'s Lighthouse', '1997-06-24') ON DUPLICATE KEY UPDATE series = 1, number = 13, title = 'Masaki\'s Lighthouse', airdate = LEAST(airdate, '1997-06-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP013', 1, 13, 'Mystery at the Lighthouse', '1998-09-24') ON DUPLICATE KEY UPDATE season = 1, number = 13, title = 'Mystery at the Lighthouse', airdate = LEAST(airdate, '1998-09-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP014', 1, 14, 'Electric Shock Showdown! Kuchiba Gym', '1997-07-01') ON DUPLICATE KEY UPDATE series = 1, number = 14, title = 'Electric Shock Showdown! Kuchiba Gym', airdate = LEAST(airdate, '1997-07-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP014', 1, 14, 'Electric Shock Showdown', '1998-09-25') ON DUPLICATE KEY UPDATE season = 1, number = 14, title = 'Electric Shock Showdown', airdate = LEAST(airdate, '1998-09-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP015', 1, 15, 'Battle on the St. Annu!', '1997-07-08') ON DUPLICATE KEY UPDATE series = 1, number = 15, title = 'Battle on the St. Annu!', airdate = LEAST(airdate, '1997-07-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP015', 1, 15, 'Battle Aboard the St. Anne', '1998-09-07') ON DUPLICATE KEY UPDATE season = 1, number = 15, title = 'Battle Aboard the St. Anne', airdate = LEAST(airdate, '1998-09-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP016', 1, 16, 'Pokémon Adrift', '1997-07-08') ON DUPLICATE KEY UPDATE series = 1, number = 16, title = 'Pokémon Adrift', airdate = LEAST(airdate, '1997-07-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP016', 1, 16, 'Pokémon Shipwreck', '1998-09-29') ON DUPLICATE KEY UPDATE season = 1, number = 16, title = 'Pokémon Shipwreck', airdate = LEAST(airdate, '1998-09-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP017', 1, 17, 'Island of the Giant Pokémon!?', '1997-07-22') ON DUPLICATE KEY UPDATE series = 1, number = 17, title = 'Island of the Giant Pokémon!?', airdate = LEAST(airdate, '1997-07-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP017', 1, 17, 'Island of the Giant Pokémon', '1998-09-30') ON DUPLICATE KEY UPDATE season = 1, number = 17, title = 'Island of the Giant Pokémon', airdate = LEAST(airdate, '1998-09-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP018', 1, 18, 'Holiday at Aopulco', '1997-07-29') ON DUPLICATE KEY UPDATE series = 1, number = 18, title = 'Holiday at Aopulco', airdate = LEAST(airdate, '1997-07-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP018', 1, 18, 'Beauty and the Beach', '2000-06-24') ON DUPLICATE KEY UPDATE season = 1, number = 18, title = 'Beauty and the Beach', airdate = LEAST(airdate, '2000-06-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP019', 1, 19, 'Menokurage Dokukurage', '1997-08-05') ON DUPLICATE KEY UPDATE series = 1, number = 19, title = 'Menokurage Dokukurage', airdate = LEAST(airdate, '1997-08-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP019', 1, 19, 'Tentacool & Tentacruel', '1998-10-01') ON DUPLICATE KEY UPDATE season = 1, number = 19, title = 'Tentacool & Tentacruel', airdate = LEAST(airdate, '1998-10-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP020', 1, 20, 'The Ghost Pokémon and the Summer Festival', '1997-08-12') ON DUPLICATE KEY UPDATE series = 1, number = 20, title = 'The Ghost Pokémon and the Summer Festival', airdate = LEAST(airdate, '1997-08-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP020', 1, 20, 'The Ghost of Maiden\'s Peak', '1998-10-02') ON DUPLICATE KEY UPDATE season = 1, number = 20, title = 'The Ghost of Maiden\'s Peak', airdate = LEAST(airdate, '1998-10-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP021', 1, 21, 'Bye-Bye Butterfree', '1997-08-19') ON DUPLICATE KEY UPDATE series = 1, number = 21, title = 'Bye-Bye Butterfree', airdate = LEAST(airdate, '1997-08-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP021', 1, 21, 'Bye Bye Butterfree', '1998-10-05') ON DUPLICATE KEY UPDATE season = 1, number = 21, title = 'Bye Bye Butterfree', airdate = LEAST(airdate, '1998-10-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP022', 1, 22, 'Casey! Psychic Showdown!', '1997-08-26') ON DUPLICATE KEY UPDATE series = 1, number = 22, title = 'Casey! Psychic Showdown!', airdate = LEAST(airdate, '1997-08-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP022', 1, 22, 'Abra and the Psychic Showdown', '1998-10-06') ON DUPLICATE KEY UPDATE season = 1, number = 22, title = 'Abra and the Psychic Showdown', airdate = LEAST(airdate, '1998-10-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP023', 1, 23, 'Capture at the Pokémon Tower!', '1997-09-02') ON DUPLICATE KEY UPDATE series = 1, number = 23, title = 'Capture at the Pokémon Tower!', airdate = LEAST(airdate, '1997-09-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP023', 1, 23, 'The Tower of Terror', '1998-10-07') ON DUPLICATE KEY UPDATE season = 1, number = 23, title = 'The Tower of Terror', airdate = LEAST(airdate, '1998-10-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP024', 1, 24, 'Ghost VS Esper!', '1997-09-09') ON DUPLICATE KEY UPDATE series = 1, number = 24, title = 'Ghost VS Esper!', airdate = LEAST(airdate, '1997-09-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP024', 1, 24, 'Haunter versus Kadabra', '1998-10-08') ON DUPLICATE KEY UPDATE season = 1, number = 24, title = 'Haunter versus Kadabra', airdate = LEAST(airdate, '1998-10-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP025', 1, 25, 'Don\'t Get Angry, Okorizaru!', '1997-09-16') ON DUPLICATE KEY UPDATE series = 1, number = 25, title = 'Don\'t Get Angry, Okorizaru!', airdate = LEAST(airdate, '1997-09-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP025', 1, 25, 'Primeape Goes Bananas', '1998-10-09') ON DUPLICATE KEY UPDATE season = 1, number = 25, title = 'Primeape Goes Bananas', airdate = LEAST(airdate, '1998-10-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP026', 1, 26, 'Erika and Kusaihana', '1997-09-23') ON DUPLICATE KEY UPDATE series = 1, number = 26, title = 'Erika and Kusaihana', airdate = LEAST(airdate, '1997-09-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP026', 1, 26, 'Pokémon Scent-sation!', '1998-10-12') ON DUPLICATE KEY UPDATE season = 1, number = 26, title = 'Pokémon Scent-sation!', airdate = LEAST(airdate, '1998-10-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP027', 1, 27, 'Sleeper and Pokémon Hypnotism!?', '1997-09-30') ON DUPLICATE KEY UPDATE series = 1, number = 27, title = 'Sleeper and Pokémon Hypnotism!?', airdate = LEAST(airdate, '1997-09-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP027', 1, 27, 'Hypno\'s Naptime', '1998-10-13') ON DUPLICATE KEY UPDATE season = 1, number = 27, title = 'Hypno\'s Naptime', airdate = LEAST(airdate, '1998-10-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP028', 1, 28, 'Rokon! Breeder Showdown!', '1997-10-07') ON DUPLICATE KEY UPDATE series = 1, number = 28, title = 'Rokon! Breeder Showdown!', airdate = LEAST(airdate, '1997-10-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP028', 1, 28, 'Pokémon Fashion Flash', '1998-10-14') ON DUPLICATE KEY UPDATE season = 1, number = 28, title = 'Pokémon Fashion Flash', airdate = LEAST(airdate, '1998-10-14');
INSERT INTO episodes (code, title, airdate) VALUES ('UN01', 'Pocket Monsters, Fall Special!', '1997-10-10') ON DUPLICATE KEY UPDATE title = 'Pocket Monsters, Fall Special!', airdate = LEAST(airdate, '1997-10-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP029', 1, 29, 'Fighting Pokémon! The Great Battle!', '1997-10-14') ON DUPLICATE KEY UPDATE series = 1, number = 29, title = 'Fighting Pokémon! The Great Battle!', airdate = LEAST(airdate, '1997-10-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP029', 1, 29, 'The Punchy Pokémon', '1998-10-15') ON DUPLICATE KEY UPDATE season = 1, number = 29, title = 'The Punchy Pokémon', airdate = LEAST(airdate, '1998-10-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP030', 1, 30, 'Do Coil Dream of Electric Mice!?', '1997-10-21') ON DUPLICATE KEY UPDATE series = 1, number = 30, title = 'Do Coil Dream of Electric Mice!?', airdate = LEAST(airdate, '1997-10-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP030', 1, 30, 'Sparks Fly for Magnemite', '1998-10-16') ON DUPLICATE KEY UPDATE season = 1, number = 30, title = 'Sparks Fly for Magnemite', airdate = LEAST(airdate, '1998-10-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP031', 1, 31, 'Lots of Digda!', '1997-10-28') ON DUPLICATE KEY UPDATE series = 1, number = 31, title = 'Lots of Digda!', airdate = LEAST(airdate, '1997-10-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP031', 1, 31, 'Dig Those Diglett!', '1998-10-19') ON DUPLICATE KEY UPDATE season = 1, number = 31, title = 'Dig Those Diglett!', airdate = LEAST(airdate, '1998-10-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP032', 1, 32, 'Sekichiku Ninja Showdown!', '1997-11-04') ON DUPLICATE KEY UPDATE series = 1, number = 32, title = 'Sekichiku Ninja Showdown!', airdate = LEAST(airdate, '1997-11-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP032', 1, 32, 'The Ninja Poké-Showdown', '1998-10-20') ON DUPLICATE KEY UPDATE season = 1, number = 32, title = 'The Ninja Poké-Showdown', airdate = LEAST(airdate, '1998-10-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP033', 1, 33, 'The Great Fire Pokémon Race!', '1997-11-11') ON DUPLICATE KEY UPDATE series = 1, number = 33, title = 'The Great Fire Pokémon Race!', airdate = LEAST(airdate, '1997-11-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP033', 1, 33, 'The Flame Pokémon-athon!', '1998-10-21') ON DUPLICATE KEY UPDATE season = 1, number = 33, title = 'The Flame Pokémon-athon!', airdate = LEAST(airdate, '1998-10-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP034', 1, 34, 'Garura\'s Lullaby', '1997-11-18') ON DUPLICATE KEY UPDATE series = 1, number = 34, title = 'Garura\'s Lullaby', airdate = LEAST(airdate, '1997-11-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP034', 1, 34, 'The Kangaskhan Kid', '1998-10-22') ON DUPLICATE KEY UPDATE season = 1, number = 34, title = 'The Kangaskhan Kid', airdate = LEAST(airdate, '1998-10-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP035', 1, 35, 'The Legend of Miniryu', '1997-11-25') ON DUPLICATE KEY UPDATE series = 1, number = 35, title = 'The Legend of Miniryu', airdate = LEAST(airdate, '1997-11-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP036', 1, 36, 'Stormy Cycling Road', '1997-12-02') ON DUPLICATE KEY UPDATE series = 1, number = 36, title = 'Stormy Cycling Road', airdate = LEAST(airdate, '1997-12-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP036', 1, 35, 'The Bridge Bike Gang', '1998-10-23') ON DUPLICATE KEY UPDATE season = 1, number = 35, title = 'The Bridge Bike Gang', airdate = LEAST(airdate, '1998-10-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP037', 1, 37, 'Metamon and the Copycat Girl', '1997-12-09') ON DUPLICATE KEY UPDATE series = 1, number = 37, title = 'Metamon and the Copycat Girl', airdate = LEAST(airdate, '1997-12-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP037', 1, 36, 'Ditto\'s Mysterious Mansion', '1998-10-26') ON DUPLICATE KEY UPDATE season = 1, number = 36, title = 'Ditto\'s Mysterious Mansion', airdate = LEAST(airdate, '1998-10-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP038', 1, 38, 'Computer Warrior Porygon', '1997-12-16') ON DUPLICATE KEY UPDATE series = 1, number = 38, title = 'Computer Warrior Porygon', airdate = LEAST(airdate, '1997-12-16');
INSERT INTO episodes (code, title, airdate) VALUES ('UN02', 'Anime: Pocket Monsters Problem Inspection Report', '1998-04-11') ON DUPLICATE KEY UPDATE title = 'Anime: Pocket Monsters Problem Inspection Report', airdate = LEAST(airdate, '1998-04-11');
INSERT INTO episodes (code, series, title, airdate) VALUES ('UN03', 1, 'Rougela\'s Christmas', '1998-10-05') ON DUPLICATE KEY UPDATE series = 1, title = 'Rougela\'s Christmas', airdate = LEAST(airdate, '1998-10-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('UN03', 1, 37, 'Holiday Hi-Jynx', '1999-12-11') ON DUPLICATE KEY UPDATE season = 1, number = 37, title = 'Holiday Hi-Jynx', airdate = LEAST(airdate, '1999-12-11');
INSERT INTO episodes (code, series, title, airdate) VALUES ('UN04', 1, 'Iwark as a Bivouac', '1998-10-05') ON DUPLICATE KEY UPDATE series = 1, title = 'Iwark as a Bivouac', airdate = LEAST(airdate, '1998-10-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('UN04', 1, 38, 'Snow Way Out!', '1999-12-18') ON DUPLICATE KEY UPDATE season = 1, number = 38, title = 'Snow Way Out!', airdate = LEAST(airdate, '1999-12-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP039', 1, 39, 'Forest of Pikachu', '1998-04-16') ON DUPLICATE KEY UPDATE series = 1, number = 39, title = 'Forest of Pikachu', airdate = LEAST(airdate, '1998-04-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP039', 1, 39, 'Pikachu\'s Good-Bye', '1998-10-27') ON DUPLICATE KEY UPDATE season = 1, number = 39, title = 'Pikachu\'s Good-Bye', airdate = LEAST(airdate, '1998-10-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP040', 1, 40, '4 Eievui Brothers', '1998-04-16') ON DUPLICATE KEY UPDATE series = 1, number = 40, title = '4 Eievui Brothers', airdate = LEAST(airdate, '1998-04-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP040', 1, 40, 'The Battling Eevee Brothers', '1998-10-27') ON DUPLICATE KEY UPDATE season = 1, number = 40, title = 'The Battling Eevee Brothers', airdate = LEAST(airdate, '1998-10-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP041', 1, 41, 'Wake Up! Kabigon!', '1998-04-23') ON DUPLICATE KEY UPDATE series = 1, number = 41, title = 'Wake Up! Kabigon!', airdate = LEAST(airdate, '1998-04-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP041', 1, 41, 'Wake Up Snorlax!', '1998-10-28') ON DUPLICATE KEY UPDATE season = 1, number = 41, title = 'Wake Up Snorlax!', airdate = LEAST(airdate, '1998-10-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP042', 1, 42, 'Showdown! Pokémon Gym!', '1998-04-30') ON DUPLICATE KEY UPDATE series = 1, number = 42, title = 'Showdown! Pokémon Gym!', airdate = LEAST(airdate, '1998-04-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP042', 1, 42, 'Showdown at Dark City', '1998-10-29') ON DUPLICATE KEY UPDATE season = 1, number = 42, title = 'Showdown at Dark City', airdate = LEAST(airdate, '1998-10-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP043', 1, 43, 'The Great Nassy Squad March!', '1998-05-07') ON DUPLICATE KEY UPDATE series = 1, number = 43, title = 'The Great Nassy Squad March!', airdate = LEAST(airdate, '1998-05-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP043', 1, 43, 'The March of the Exeggutor Squad', '1998-10-30') ON DUPLICATE KEY UPDATE season = 1, number = 43, title = 'The March of the Exeggutor Squad', airdate = LEAST(airdate, '1998-10-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP044', 1, 44, 'Paras and Parasect', '1998-05-14') ON DUPLICATE KEY UPDATE series = 1, number = 44, title = 'Paras and Parasect', airdate = LEAST(airdate, '1998-05-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP044', 1, 44, 'The Problem with Paras', '1999-02-13') ON DUPLICATE KEY UPDATE season = 1, number = 44, title = 'The Problem with Paras', airdate = LEAST(airdate, '1999-02-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP045', 1, 45, 'Sing! Purin!', '1998-05-21') ON DUPLICATE KEY UPDATE series = 1, number = 45, title = 'Sing! Purin!', airdate = LEAST(airdate, '1998-05-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP045', 1, 45, 'The Song of Jigglypuff', '1999-02-20') ON DUPLICATE KEY UPDATE season = 1, number = 45, title = 'The Song of Jigglypuff', airdate = LEAST(airdate, '1999-02-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP047', 1, 47, 'Lucky\'s Clinical Records', '1998-06-04') ON DUPLICATE KEY UPDATE series = 1, number = 47, title = 'Lucky\'s Clinical Records', airdate = LEAST(airdate, '1998-06-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP047', 1, 47, 'A Chansey Operation', '1999-03-06') ON DUPLICATE KEY UPDATE season = 1, number = 47, title = 'A Chansey Operation', airdate = LEAST(airdate, '1999-03-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP052', 1, 52, 'Fierce Fight! Pokémon Girls\' Festival', '1998-07-09') ON DUPLICATE KEY UPDATE series = 1, number = 52, title = 'Fierce Fight! Pokémon Girls\' Festival', airdate = LEAST(airdate, '1998-07-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP052', 1, 52, 'Princess vs. Princess', '1999-04-10') ON DUPLICATE KEY UPDATE season = 1, number = 52, title = 'Princess vs. Princess', airdate = LEAST(airdate, '1999-04-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP046', 1, 46, 'Resurrection!? Fossil Pokémon!', '1998-05-28') ON DUPLICATE KEY UPDATE series = 1, number = 46, title = 'Resurrection!? Fossil Pokémon!', airdate = LEAST(airdate, '1998-05-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP046', 1, 46, 'Attack of the Prehistoric Pokémon', '1999-02-27') ON DUPLICATE KEY UPDATE season = 1, number = 46, title = 'Attack of the Prehistoric Pokémon', airdate = LEAST(airdate, '1999-02-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP048', 1, 48, 'Gardie and Kojirō', '1998-06-11') ON DUPLICATE KEY UPDATE series = 1, number = 48, title = 'Gardie and Kojirō', airdate = LEAST(airdate, '1998-06-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP048', 1, 48, 'Holy Matrimony!', '1999-03-13') ON DUPLICATE KEY UPDATE season = 1, number = 48, title = 'Holy Matrimony!', airdate = LEAST(airdate, '1999-03-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP049', 1, 49, 'Kamonegi\'s Sitting Duck', '1998-06-18') ON DUPLICATE KEY UPDATE series = 1, number = 49, title = 'Kamonegi\'s Sitting Duck', airdate = LEAST(airdate, '1998-06-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP049', 1, 49, 'So Near, Yet So Farfetch\'d', '1999-03-20') ON DUPLICATE KEY UPDATE season = 1, number = 49, title = 'So Near, Yet So Farfetch\'d', airdate = LEAST(airdate, '1999-03-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP050', 1, 50, 'Who Gets to Keep Togepy!?', '1998-06-25') ON DUPLICATE KEY UPDATE series = 1, number = 50, title = 'Who Gets to Keep Togepy!?', airdate = LEAST(airdate, '1998-06-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP050', 1, 50, 'Who Gets to Keep Togepi?', '1999-03-27') ON DUPLICATE KEY UPDATE season = 1, number = 50, title = 'Who Gets to Keep Togepi?', airdate = LEAST(airdate, '1999-03-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP051', 1, 51, 'Fushigidane\'s Mysterious Flower Garden', '1998-07-02') ON DUPLICATE KEY UPDATE series = 1, number = 51, title = 'Fushigidane\'s Mysterious Flower Garden', airdate = LEAST(airdate, '1998-07-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP051', 1, 51, 'Bulbasaur\'s Mysterious Garden', '1999-04-03') ON DUPLICATE KEY UPDATE season = 1, number = 51, title = 'Bulbasaur\'s Mysterious Garden', airdate = LEAST(airdate, '1999-04-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP054', 1, 54, 'Police Dog Gardie', '1998-07-16') ON DUPLICATE KEY UPDATE series = 1, number = 54, title = 'Police Dog Gardie', airdate = LEAST(airdate, '1998-07-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP054', 1, 54, 'The Case of the K-9 Caper!', '1999-04-10') ON DUPLICATE KEY UPDATE season = 1, number = 54, title = 'The Case of the K-9 Caper!', airdate = LEAST(airdate, '1999-04-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP055', 1, 55, 'Photo Op Pikachu', '1998-07-23') ON DUPLICATE KEY UPDATE series = 1, number = 55, title = 'Photo Op Pikachu', airdate = LEAST(airdate, '1998-07-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP055', 1, 55, 'Pokémon Paparazzi', '1999-04-17') ON DUPLICATE KEY UPDATE season = 1, number = 55, title = 'Pokémon Paparazzi', airdate = LEAST(airdate, '1999-04-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP056', 1, 56, 'Pokémon Certification Test!?', '1998-07-30') ON DUPLICATE KEY UPDATE series = 1, number = 56, title = 'Pokémon Certification Test!?', airdate = LEAST(airdate, '1998-07-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP056', 1, 56, 'The Ultimate Test', '1999-04-24') ON DUPLICATE KEY UPDATE season = 1, number = 56, title = 'The Ultimate Test', airdate = LEAST(airdate, '1999-04-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP057', 1, 57, 'The Secret of the Breeding Center!', '1998-08-06') ON DUPLICATE KEY UPDATE series = 1, number = 57, title = 'The Secret of the Breeding Center!', airdate = LEAST(airdate, '1998-08-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP057', 1, 57, 'The Breeding Center Secret', '1999-05-01') ON DUPLICATE KEY UPDATE season = 1, number = 57, title = 'The Breeding Center Secret', airdate = LEAST(airdate, '1999-05-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP053', 1, 53, 'It\'s Children\'s Day! Everyone Gather!', '1998-07-09') ON DUPLICATE KEY UPDATE series = 1, number = 53, title = 'It\'s Children\'s Day! Everyone Gather!', airdate = LEAST(airdate, '1998-07-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP053', 1, 53, 'The Purr-fect Hero', '1999-04-17') ON DUPLICATE KEY UPDATE season = 1, number = 53, title = 'The Purr-fect Hero', airdate = LEAST(airdate, '1999-04-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP058', 1, 58, 'Burn! Guren Gym!', '1998-08-13') ON DUPLICATE KEY UPDATE series = 1, number = 58, title = 'Burn! Guren Gym!', airdate = LEAST(airdate, '1998-08-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP058', 1, 58, 'Riddle Me This', '1999-09-18') ON DUPLICATE KEY UPDATE season = 1, number = 58, title = 'Riddle Me This', airdate = LEAST(airdate, '1999-09-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP059', 1, 59, 'Decisive Battle! Guren Gym!', '1998-08-20') ON DUPLICATE KEY UPDATE series = 1, number = 59, title = 'Decisive Battle! Guren Gym!', airdate = LEAST(airdate, '1998-08-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP059', 1, 59, 'Volcanic Panic', '1999-09-18') ON DUPLICATE KEY UPDATE season = 1, number = 59, title = 'Volcanic Panic', airdate = LEAST(airdate, '1999-09-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP060', 1, 60, 'Kamex\'s Island', '1998-08-27') ON DUPLICATE KEY UPDATE series = 1, number = 60, title = 'Kamex\'s Island', airdate = LEAST(airdate, '1998-08-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP060', 1, 60, 'Beach Blank-Out Blastoise', '1999-09-20') ON DUPLICATE KEY UPDATE season = 1, number = 60, title = 'Beach Blank-Out Blastoise', airdate = LEAST(airdate, '1999-09-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP061', 1, 61, 'Hanada Gym! Underwater Battle!', '1998-09-03') ON DUPLICATE KEY UPDATE series = 1, number = 61, title = 'Hanada Gym! Underwater Battle!', airdate = LEAST(airdate, '1998-09-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP061', 1, 61, 'The Misty Mermaid', '1999-09-23') ON DUPLICATE KEY UPDATE season = 1, number = 61, title = 'The Misty Mermaid', airdate = LEAST(airdate, '1999-09-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP062', 1, 62, 'Pippi VS Purin', '1998-09-10') ON DUPLICATE KEY UPDATE series = 1, number = 62, title = 'Pippi VS Purin', airdate = LEAST(airdate, '1998-09-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP062', 1, 62, 'Clefairy Tales', '1999-09-25') ON DUPLICATE KEY UPDATE season = 1, number = 62, title = 'Clefairy Tales', airdate = LEAST(airdate, '1999-09-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP063', 1, 63, 'Tokiwa Gym! The Last Badge!', '1998-09-17') ON DUPLICATE KEY UPDATE series = 1, number = 63, title = 'Tokiwa Gym! The Last Badge!', airdate = LEAST(airdate, '1998-09-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP063', 1, 63, 'The Battle of the Badge', '1999-09-25') ON DUPLICATE KEY UPDATE season = 1, number = 63, title = 'The Battle of the Badge', airdate = LEAST(airdate, '1999-09-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP064', 1, 64, 'Barrierd from the Pokémon Circus', '1998-09-24') ON DUPLICATE KEY UPDATE series = 1, number = 64, title = 'Barrierd from the Pokémon Circus', airdate = LEAST(airdate, '1998-09-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP064', 1, 64, 'It\'s Mr. Mime Time', '1999-09-27') ON DUPLICATE KEY UPDATE season = 1, number = 64, title = 'It\'s Mr. Mime Time', airdate = LEAST(airdate, '1999-09-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP065', 1, 65, 'Rival Showdown! Okido Laboratory', '1998-10-08') ON DUPLICATE KEY UPDATE series = 1, number = 65, title = 'Rival Showdown! Okido Laboratory', airdate = LEAST(airdate, '1998-10-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP065', 1, 65, 'Showdown at the Po-ké Corral', '1999-09-30') ON DUPLICATE KEY UPDATE season = 1, number = 65, title = 'Showdown at the Po-ké Corral', airdate = LEAST(airdate, '1999-09-30');
INSERT INTO episodes (code, title, airdate) VALUES ('PK01', 'Pikachu\'s Summer Vacation', '1998-07-18') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Summer Vacation', airdate = LEAST(airdate, '1998-07-18');
INSERT INTO dubs (code, title, airdate) VALUES ('PK01', 'Pikachu\'s Vacation', '1999-11-12') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Vacation', airdate = LEAST(airdate, '1999-11-12');
INSERT INTO episodes (code, title, airdate) VALUES ('UN06', 'The Birth of Mewtwo', '1999-07-08') ON DUPLICATE KEY UPDATE title = 'The Birth of Mewtwo', airdate = LEAST(airdate, '1999-07-08');
INSERT INTO dubs (code, title, airdate) VALUES ('UN06', 'The Uncut Story of Mewtwo\'s Origin', '2000-03-21') ON DUPLICATE KEY UPDATE title = 'The Uncut Story of Mewtwo\'s Origin', airdate = LEAST(airdate, '2000-03-21');
INSERT INTO episodes (code, title, airdate) VALUES ('M01', 'Mewtwo\'s Counterattack', '1998-07-18') ON DUPLICATE KEY UPDATE title = 'Mewtwo\'s Counterattack', airdate = LEAST(airdate, '1998-07-18');
INSERT INTO dubs (code, title, airdate) VALUES ('M01', 'Pokémon: The First Movie - Mewtwo Strikes Back', '1999-11-12') ON DUPLICATE KEY UPDATE title = 'Pokémon: The First Movie - Mewtwo Strikes Back', airdate = LEAST(airdate, '1999-11-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP066', 1, 66, 'When Yadon Becomes Yadoran', '1998-10-08') ON DUPLICATE KEY UPDATE series = 1, number = 66, title = 'When Yadon Becomes Yadoran', airdate = LEAST(airdate, '1998-10-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP066', 1, 66, 'The Evolution Solution', '1999-10-02') ON DUPLICATE KEY UPDATE season = 1, number = 66, title = 'The Evolution Solution', airdate = LEAST(airdate, '1999-10-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP067', 1, 67, 'The Legend of the Surfing Pikachu', '1998-10-22') ON DUPLICATE KEY UPDATE series = 1, number = 67, title = 'The Legend of the Surfing Pikachu', airdate = LEAST(airdate, '1998-10-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP067', 1, 67, 'The Pi-Kahuna', '1999-10-02') ON DUPLICATE KEY UPDATE season = 1, number = 67, title = 'The Pi-Kahuna', airdate = LEAST(airdate, '1999-10-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP068', 1, 68, 'Kusaihana of the Botanical Garden', '1998-10-29') ON DUPLICATE KEY UPDATE series = 1, number = 68, title = 'Kusaihana of the Botanical Garden', airdate = LEAST(airdate, '1998-10-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP068', 1, 68, 'Make Room for Gloom', '1999-10-04') ON DUPLICATE KEY UPDATE season = 1, number = 68, title = 'Make Room for Gloom', airdate = LEAST(airdate, '1999-10-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP069', 1, 69, 'Pokémon the Movie!', '1998-11-05') ON DUPLICATE KEY UPDATE series = 1, number = 69, title = 'Pokémon the Movie!', airdate = LEAST(airdate, '1998-11-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP069', 1, 69, 'Lights, Camera, Quack-tion', '1999-10-08') ON DUPLICATE KEY UPDATE season = 1, number = 69, title = 'Lights, Camera, Quack-tion', airdate = LEAST(airdate, '1999-10-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP070', 1, 70, 'Nyarth\'s A-I-U-E-O', '1998-11-12') ON DUPLICATE KEY UPDATE series = 1, number = 70, title = 'Nyarth\'s A-I-U-E-O', airdate = LEAST(airdate, '1998-11-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP070', 1, 70, 'Go West Young Meowth', '1999-10-09') ON DUPLICATE KEY UPDATE season = 1, number = 70, title = 'Go West Young Meowth', airdate = LEAST(airdate, '1999-10-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP071', 1, 71, 'Enter Four Heavenly Kings Siba!', '1998-11-19') ON DUPLICATE KEY UPDATE series = 1, number = 71, title = 'Enter Four Heavenly Kings Siba!', airdate = LEAST(airdate, '1998-11-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP071', 1, 71, 'To Master the Onixpected!', '1999-10-11') ON DUPLICATE KEY UPDATE season = 1, number = 71, title = 'To Master the Onixpected!', airdate = LEAST(airdate, '1999-10-11');
INSERT INTO episodes (code, title, airdate) VALUES ('PK02', 'Let\'s Play on Christmas!', '1998-12-22') ON DUPLICATE KEY UPDATE title = 'Let\'s Play on Christmas!', airdate = LEAST(airdate, '1998-12-22');
INSERT INTO dubs (code, title, airdate) VALUES ('PK02', 'Christmas Night', '2006-11-25') ON DUPLICATE KEY UPDATE title = 'Christmas Night', airdate = LEAST(airdate, '2006-11-25');
INSERT INTO episodes (code, title, airdate) VALUES ('PK03', 'Let\'s Play in the Snow!', '1998-12-22') ON DUPLICATE KEY UPDATE title = 'Let\'s Play in the Snow!', airdate = LEAST(airdate, '1998-12-22');
INSERT INTO dubs (code, title, airdate) VALUES ('PK03', 'Kanga Games', '2006-11-25') ON DUPLICATE KEY UPDATE title = 'Kanga Games', airdate = LEAST(airdate, '2006-11-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP072', 1, 72, 'Fierce Battle! Ancient Pokémon', '1998-11-26') ON DUPLICATE KEY UPDATE series = 1, number = 72, title = 'Fierce Battle! Ancient Pokémon', airdate = LEAST(airdate, '1998-11-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP072', 1, 72, 'The Ancient Puzzle of Pokémopolis', '1999-10-14') ON DUPLICATE KEY UPDATE season = 1, number = 72, title = 'The Ancient Puzzle of Pokémopolis', airdate = LEAST(airdate, '1999-10-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP073', 1, 73, 'Garagara\'s Bone Club', '1998-12-03') ON DUPLICATE KEY UPDATE series = 1, number = 73, title = 'Garagara\'s Bone Club', airdate = LEAST(airdate, '1998-12-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP073', 1, 73, 'Bad to the Bone', '1999-10-16') ON DUPLICATE KEY UPDATE season = 1, number = 73, title = 'Bad to the Bone', airdate = LEAST(airdate, '1999-10-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP074', 1, 74, 'Fire! Pokémon League Opening Ceremony!', '1998-12-10') ON DUPLICATE KEY UPDATE series = 1, number = 74, title = 'Fire! Pokémon League Opening Ceremony!', airdate = LEAST(airdate, '1998-12-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP074', 1, 74, 'All Fired Up!', '1999-10-23') ON DUPLICATE KEY UPDATE season = 1, number = 74, title = 'All Fired Up!', airdate = LEAST(airdate, '1999-10-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP075', 1, 75, 'Pokémon League Opens! Water Field!', '1998-12-17') ON DUPLICATE KEY UPDATE series = 1, number = 75, title = 'Pokémon League Opens! Water Field!', airdate = LEAST(airdate, '1998-12-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP075', 1, 75, 'Round One - Begin!', '1999-10-30') ON DUPLICATE KEY UPDATE season = 1, number = 75, title = 'Round One - Begin!', airdate = LEAST(airdate, '1999-10-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP076', 1, 76, 'Ice Field! Blazing Battle!', '1998-12-24') ON DUPLICATE KEY UPDATE series = 1, number = 76, title = 'Ice Field! Blazing Battle!', airdate = LEAST(airdate, '1998-12-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP076', 1, 76, 'Fire and Ice', '1999-11-06') ON DUPLICATE KEY UPDATE season = 1, number = 76, title = 'Fire and Ice', airdate = LEAST(airdate, '1999-11-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP077', 1, 77, 'Grass Field! Unexpected Rival!', '1999-01-01') ON DUPLICATE KEY UPDATE series = 1, number = 77, title = 'Grass Field! Unexpected Rival!', airdate = LEAST(airdate, '1999-01-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP077', 1, 77, 'The Fourth Round Rumble', '1999-11-13') ON DUPLICATE KEY UPDATE season = 1, number = 77, title = 'The Fourth Round Rumble', airdate = LEAST(airdate, '1999-11-13');
INSERT INTO episodes (code, title, airdate) VALUES ('UN05', 'It\'s the New Year! Pocket Monsters Special!', '1999-01-01') ON DUPLICATE KEY UPDATE title = 'It\'s the New Year! Pocket Monsters Special!', airdate = LEAST(airdate, '1999-01-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP078', 1, 78, 'A Rival Enters!', '1999-01-07') ON DUPLICATE KEY UPDATE series = 1, number = 78, title = 'A Rival Enters!', airdate = LEAST(airdate, '1999-01-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP078', 1, 78, 'A Friend In Deed', '1999-11-20') ON DUPLICATE KEY UPDATE season = 1, number = 78, title = 'A Friend In Deed', airdate = LEAST(airdate, '1999-11-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP079', 1, 79, 'Sekiei Stadium! VS Hiroshi!', '1999-01-14') ON DUPLICATE KEY UPDATE series = 1, number = 79, title = 'Sekiei Stadium! VS Hiroshi!', airdate = LEAST(airdate, '1999-01-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP079', 1, 79, 'Friend and Foe Alike', '1999-11-27') ON DUPLICATE KEY UPDATE season = 1, number = 79, title = 'Friend and Foe Alike', airdate = LEAST(airdate, '1999-11-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP080', 1, 80, 'Pokémon League! Final Battle!', '1999-01-21') ON DUPLICATE KEY UPDATE series = 1, number = 80, title = 'Pokémon League! Final Battle!', airdate = LEAST(airdate, '1999-01-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP080', 1, 80, 'Friends to the End', '1999-11-27') ON DUPLICATE KEY UPDATE season = 1, number = 80, title = 'Friends to the End', airdate = LEAST(airdate, '1999-11-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP081', 1, 81, 'Masara Town! Setting Off on a New Journey!', '1999-01-28') ON DUPLICATE KEY UPDATE series = 1, number = 81, title = 'Masara Town! Setting Off on a New Journey!', airdate = LEAST(airdate, '1999-01-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP081', 1, 81, 'Pallet Party Panic', '1999-12-04') ON DUPLICATE KEY UPDATE season = 1, number = 81, title = 'Pallet Party Panic', airdate = LEAST(airdate, '1999-12-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP082', 1, 82, 'Blimp Accident!?', '1999-02-04') ON DUPLICATE KEY UPDATE series = 1, number = 82, title = 'Blimp Accident!?', airdate = LEAST(airdate, '1999-02-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP082', 1, 82, 'A Scare in the Air', '2000-01-08') ON DUPLICATE KEY UPDATE season = 1, number = 82, title = 'A Scare in the Air', airdate = LEAST(airdate, '2000-01-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP083', 1, 83, 'Southern Pokémon and the GS Ball', '1999-02-11') ON DUPLICATE KEY UPDATE series = 1, number = 83, title = 'Southern Pokémon and the GS Ball', airdate = LEAST(airdate, '1999-02-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP083', 1, 83, 'Poké Ball Peril', '2000-01-15') ON DUPLICATE KEY UPDATE season = 1, number = 83, title = 'Poké Ball Peril', airdate = LEAST(airdate, '2000-01-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP084', 1, 84, 'Save Laplace!', '1999-02-18') ON DUPLICATE KEY UPDATE series = 1, number = 84, title = 'Save Laplace!', airdate = LEAST(airdate, '1999-02-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP084', 1, 84, 'The Lost Lapras', '2000-01-22') ON DUPLICATE KEY UPDATE season = 1, number = 84, title = 'The Lost Lapras', airdate = LEAST(airdate, '2000-01-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP085', 1, 85, 'Orange League! Natsukan Gym!', '1999-02-25') ON DUPLICATE KEY UPDATE series = 1, number = 85, title = 'Orange League! Natsukan Gym!', airdate = LEAST(airdate, '1999-02-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP085', 1, 85, 'Fit to be Tide', '2000-02-05') ON DUPLICATE KEY UPDATE season = 1, number = 85, title = 'Fit to be Tide', airdate = LEAST(airdate, '2000-02-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP086', 1, 86, 'The Mystery of the Missing Pokémon!', '1999-03-04') ON DUPLICATE KEY UPDATE series = 1, number = 86, title = 'The Mystery of the Missing Pokémon!', airdate = LEAST(airdate, '1999-03-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP086', 1, 86, 'Pikachu Re-Volts', '2000-02-05') ON DUPLICATE KEY UPDATE season = 1, number = 86, title = 'Pikachu Re-Volts', airdate = LEAST(airdate, '2000-02-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP087', 1, 87, 'The Crystal Iwark', '1999-03-11') ON DUPLICATE KEY UPDATE series = 1, number = 87, title = 'The Crystal Iwark', airdate = LEAST(airdate, '1999-03-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP087', 1, 87, 'The Crystal Onix', '2000-02-05') ON DUPLICATE KEY UPDATE season = 1, number = 87, title = 'The Crystal Onix', airdate = LEAST(airdate, '2000-02-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP088', 1, 88, 'The Island of Pink Pokémon', '1999-03-18') ON DUPLICATE KEY UPDATE series = 1, number = 88, title = 'The Island of Pink Pokémon', airdate = LEAST(airdate, '1999-03-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP088', 1, 88, 'In the Pink', '2000-02-12') ON DUPLICATE KEY UPDATE season = 1, number = 88, title = 'In the Pink', airdate = LEAST(airdate, '2000-02-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP089', 1, 89, 'The Secret of the Kabuto Fossils!', '1999-03-25') ON DUPLICATE KEY UPDATE series = 1, number = 89, title = 'The Secret of the Kabuto Fossils!', airdate = LEAST(airdate, '1999-03-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP089', 1, 89, 'Shell Shock!', '2000-03-04') ON DUPLICATE KEY UPDATE season = 1, number = 89, title = 'Shell Shock!', airdate = LEAST(airdate, '2000-03-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP090', 1, 90, 'Dance! Pokémon Showboat!', '1999-04-01') ON DUPLICATE KEY UPDATE series = 1, number = 90, title = 'Dance! Pokémon Showboat!', airdate = LEAST(airdate, '1999-04-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP090', 1, 90, 'Stage Fight!', '2000-02-12') ON DUPLICATE KEY UPDATE season = 1, number = 90, title = 'Stage Fight!', airdate = LEAST(airdate, '2000-02-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP091', 1, 91, 'Goodbye Koduck! Come Again Golduck?', '1999-04-08') ON DUPLICATE KEY UPDATE series = 1, number = 91, title = 'Goodbye Koduck! Come Again Golduck?', airdate = LEAST(airdate, '1999-04-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP091', 1, 91, 'Bye Bye Psyduck', '2000-02-26') ON DUPLICATE KEY UPDATE season = 1, number = 91, title = 'Bye Bye Psyduck', airdate = LEAST(airdate, '2000-02-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP092', 1, 92, 'Sailing Joy! Cross the Raging Waves!', '1999-04-15') ON DUPLICATE KEY UPDATE series = 1, number = 92, title = 'Sailing Joy! Cross the Raging Waves!', airdate = LEAST(airdate, '1999-04-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP092', 1, 92, 'The Joy of Pokémon', '2000-03-04') ON DUPLICATE KEY UPDATE season = 1, number = 92, title = 'The Joy of Pokémon', airdate = LEAST(airdate, '2000-03-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP093', 1, 93, 'Navel Gym! Snowy Mountain Battle!', '1999-04-22') ON DUPLICATE KEY UPDATE series = 1, number = 93, title = 'Navel Gym! Snowy Mountain Battle!', airdate = LEAST(airdate, '1999-04-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP093', 1, 93, 'Navel Maneuvers', '2000-03-11') ON DUPLICATE KEY UPDATE season = 1, number = 93, title = 'Navel Maneuvers', airdate = LEAST(airdate, '2000-03-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP094', 1, 94, 'Gluttonous Kabigon! Huge Panic!', '1999-04-29') ON DUPLICATE KEY UPDATE series = 1, number = 94, title = 'Gluttonous Kabigon! Huge Panic!', airdate = LEAST(airdate, '1999-04-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP094', 1, 94, 'Snack Attack', '2000-03-25') ON DUPLICATE KEY UPDATE season = 1, number = 94, title = 'Snack Attack', airdate = LEAST(airdate, '2000-03-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP095', 1, 95, 'Ghost Ship and Ghost Pokémon!', '1999-05-06') ON DUPLICATE KEY UPDATE series = 1, number = 95, title = 'Ghost Ship and Ghost Pokémon!', airdate = LEAST(airdate, '1999-05-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP095', 1, 95, 'A Shipful of Shivers', '2000-03-25') ON DUPLICATE KEY UPDATE season = 1, number = 95, title = 'A Shipful of Shivers', airdate = LEAST(airdate, '2000-03-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP096', 1, 96, 'Lord Nyarth\'s Island!?', '1999-05-13') ON DUPLICATE KEY UPDATE series = 1, number = 96, title = 'Lord Nyarth\'s Island!?', airdate = LEAST(airdate, '1999-05-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP096', 1, 96, 'Meowth Rules!', '2000-03-25') ON DUPLICATE KEY UPDATE season = 1, number = 96, title = 'Meowth Rules!', airdate = LEAST(airdate, '2000-03-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP097', 1, 97, 'The Strike Soldier\'s Pride', '1999-05-20') ON DUPLICATE KEY UPDATE series = 1, number = 97, title = 'The Strike Soldier\'s Pride', airdate = LEAST(airdate, '1999-05-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP097', 1, 97, 'Tracey Gets Bugged', '2000-04-01') ON DUPLICATE KEY UPDATE season = 1, number = 97, title = 'Tracey Gets Bugged', airdate = LEAST(airdate, '2000-04-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP098', 1, 98, 'It\'s a Southern Island! Everyone Assemble!', '1999-05-27') ON DUPLICATE KEY UPDATE series = 1, number = 98, title = 'It\'s a Southern Island! Everyone Assemble!', airdate = LEAST(airdate, '1999-05-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP098', 1, 98, 'A Way Off Day Off', '2000-04-08') ON DUPLICATE KEY UPDATE season = 1, number = 98, title = 'A Way Off Day Off', airdate = LEAST(airdate, '2000-04-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP099', 1, 99, 'Four Heavenly Kings Kanna! Ice Battle!!', '1999-06-03') ON DUPLICATE KEY UPDATE series = 1, number = 99, title = 'Four Heavenly Kings Kanna! Ice Battle!!', airdate = LEAST(airdate, '1999-06-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP099', 1, 99, 'The Mandarin Island Miss Match', '2000-04-15') ON DUPLICATE KEY UPDATE season = 1, number = 99, title = 'The Mandarin Island Miss Match', airdate = LEAST(airdate, '2000-04-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP100', 1, 100, 'Nidoran\'s Love Story', '1999-06-10') ON DUPLICATE KEY UPDATE series = 1, number = 100, title = 'Nidoran\'s Love Story', airdate = LEAST(airdate, '1999-06-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP100', 1, 100, 'Wherefore Art Thou, Pokémon?', '2000-04-22') ON DUPLICATE KEY UPDATE season = 1, number = 100, title = 'Wherefore Art Thou, Pokémon?', airdate = LEAST(airdate, '2000-04-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP101', 1, 101, 'Coil on the Prairie!', '1999-06-17') ON DUPLICATE KEY UPDATE series = 1, number = 101, title = 'Coil on the Prairie!', airdate = LEAST(airdate, '1999-06-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP101', 1, 101, 'Get Along, Little Pokémon', '2000-04-29') ON DUPLICATE KEY UPDATE season = 1, number = 101, title = 'Get Along, Little Pokémon', airdate = LEAST(airdate, '2000-04-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP102', 1, 102, 'Monster in the Sewers!?', '1999-06-24') ON DUPLICATE KEY UPDATE series = 1, number = 102, title = 'Monster in the Sewers!?', airdate = LEAST(airdate, '1999-06-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP102', 1, 102, 'The Mystery Menace', '2000-05-06') ON DUPLICATE KEY UPDATE season = 1, number = 102, title = 'The Mystery Menace', airdate = LEAST(airdate, '2000-05-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP103', 1, 103, 'Yuzu Gym! Type Battle 3 VS 3!!', '1999-07-01') ON DUPLICATE KEY UPDATE series = 1, number = 103, title = 'Yuzu Gym! Type Battle 3 VS 3!!', airdate = LEAST(airdate, '1999-07-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP103', 1, 103, 'Misty Meets Her Match', '2000-09-09') ON DUPLICATE KEY UPDATE season = 1, number = 103, title = 'Misty Meets Her Match', airdate = LEAST(airdate, '2000-09-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP104', 1, 104, 'Pikachu VS Nyarth!?', '1999-07-15') ON DUPLICATE KEY UPDATE series = 1, number = 104, title = 'Pikachu VS Nyarth!?', airdate = LEAST(airdate, '1999-07-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP104', 1, 104, 'Bound For Trouble', '2000-09-15') ON DUPLICATE KEY UPDATE season = 1, number = 104, title = 'Bound For Trouble', airdate = LEAST(airdate, '2000-09-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP105', 1, 105, 'Lizardon! I Choose You!!', '1999-07-22') ON DUPLICATE KEY UPDATE series = 1, number = 105, title = 'Lizardon! I Choose You!!', airdate = LEAST(airdate, '1999-07-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP105', 1, 105, 'Charizard Chills', '2000-09-02') ON DUPLICATE KEY UPDATE season = 1, number = 105, title = 'Charizard Chills', airdate = LEAST(airdate, '2000-09-02');
INSERT INTO episodes (code, title, airdate) VALUES ('PK04', 'The Pikachu Expedition', '1999-07-17') ON DUPLICATE KEY UPDATE title = 'The Pikachu Expedition', airdate = LEAST(airdate, '1999-07-17');
INSERT INTO dubs (code, title, airdate) VALUES ('PK04', 'Pikachu\'s Rescue Adventure', '2000-07-21') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Rescue Adventure', airdate = LEAST(airdate, '2000-07-21');
INSERT INTO episodes (code, title, airdate) VALUES ('M02', 'Mirage Pokémon: Lugia\'s Explosive Birth', '1999-07-17') ON DUPLICATE KEY UPDATE title = 'Mirage Pokémon: Lugia\'s Explosive Birth', airdate = LEAST(airdate, '1999-07-17');
INSERT INTO dubs (code, title, airdate) VALUES ('M02', 'Pokémon the Movie 2000: The Power of One', '2000-07-21') ON DUPLICATE KEY UPDATE title = 'Pokémon the Movie 2000: The Power of One', airdate = LEAST(airdate, '2000-07-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP106', 1, 106, 'Firefighting Showdown! Zenigame VS Kameil', '1999-07-29') ON DUPLICATE KEY UPDATE series = 1, number = 106, title = 'Firefighting Showdown! Zenigame VS Kameil', airdate = LEAST(airdate, '1999-07-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP106', 1, 106, 'The Pokémon Water War', '2000-08-26') ON DUPLICATE KEY UPDATE season = 1, number = 106, title = 'The Pokémon Water War', airdate = LEAST(airdate, '2000-08-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP107', 1, 107, 'Burn! Kabigon!!', '1999-08-05') ON DUPLICATE KEY UPDATE series = 1, number = 107, title = 'Burn! Kabigon!!', airdate = LEAST(airdate, '1999-08-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP107', 1, 107, 'Pokémon Food Fight!', '2000-08-19') ON DUPLICATE KEY UPDATE season = 1, number = 107, title = 'Pokémon Food Fight!', airdate = LEAST(airdate, '2000-08-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP108', 1, 108, 'Tag Battle! The Final Gym!!', '1999-08-12') ON DUPLICATE KEY UPDATE series = 1, number = 108, title = 'Tag Battle! The Final Gym!!', airdate = LEAST(airdate, '1999-08-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP108', 1, 108, 'Pokémon Double Trouble', '2000-09-09') ON DUPLICATE KEY UPDATE season = 1, number = 108, title = 'Pokémon Double Trouble', airdate = LEAST(airdate, '2000-09-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP109', 1, 109, 'Koiking! The Secret of Evolution!!', '1999-08-19') ON DUPLICATE KEY UPDATE series = 1, number = 109, title = 'Koiking! The Secret of Evolution!!', airdate = LEAST(airdate, '1999-08-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP109', 1, 109, 'The Wacky Watcher!', '2000-09-16') ON DUPLICATE KEY UPDATE season = 1, number = 109, title = 'The Wacky Watcher!', airdate = LEAST(airdate, '2000-09-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP110', 1, 110, 'Nyoromo and Kasumi', '1999-08-26') ON DUPLICATE KEY UPDATE series = 1, number = 110, title = 'Nyoromo and Kasumi', airdate = LEAST(airdate, '1999-08-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP110', 1, 110, 'The Stun Spore Detour', '2000-09-16') ON DUPLICATE KEY UPDATE season = 1, number = 110, title = 'The Stun Spore Detour', airdate = LEAST(airdate, '2000-09-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP111', 1, 111, 'Winner\'s Cup! Full Battle 6 VS 6!!', '1999-09-02') ON DUPLICATE KEY UPDATE series = 1, number = 111, title = 'Winner\'s Cup! Full Battle 6 VS 6!!', airdate = LEAST(airdate, '1999-09-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP111', 1, 111, 'Hello, Pummelo!', '2000-09-23') ON DUPLICATE KEY UPDATE season = 1, number = 111, title = 'Hello, Pummelo!', airdate = LEAST(airdate, '2000-09-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP112', 1, 112, 'Final Battle! Enter Kairyu!!', '1999-09-09') ON DUPLICATE KEY UPDATE series = 1, number = 112, title = 'Final Battle! Enter Kairyu!!', airdate = LEAST(airdate, '1999-09-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP112', 1, 112, 'Enter The Dragonite', '2000-09-23') ON DUPLICATE KEY UPDATE season = 1, number = 112, title = 'Enter The Dragonite', airdate = LEAST(airdate, '2000-09-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP113', 1, 113, 'Goodbye Laplace!', '1999-09-16') ON DUPLICATE KEY UPDATE series = 1, number = 113, title = 'Goodbye Laplace!', airdate = LEAST(airdate, '1999-09-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP113', 1, 113, 'Viva Las Lapras', '2000-09-30') ON DUPLICATE KEY UPDATE season = 1, number = 113, title = 'Viva Las Lapras', airdate = LEAST(airdate, '2000-09-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP114', 1, 114, 'Big Marumine Explosion!?', '1999-09-23') ON DUPLICATE KEY UPDATE series = 1, number = 114, title = 'Big Marumine Explosion!?', airdate = LEAST(airdate, '1999-09-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP114', 1, 114, 'The Underground Round Up', '2000-09-30') ON DUPLICATE KEY UPDATE season = 1, number = 114, title = 'The Underground Round Up', airdate = LEAST(airdate, '2000-09-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP115', 1, 115, 'Back in Masara Town!', '1999-09-30') ON DUPLICATE KEY UPDATE series = 1, number = 115, title = 'Back in Masara Town!', airdate = LEAST(airdate, '1999-09-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP115', 1, 115, 'A Tent Situation', '2000-10-07') ON DUPLICATE KEY UPDATE season = 1, number = 115, title = 'A Tent Situation', airdate = LEAST(airdate, '2000-10-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP116', 1, 116, 'Rival Showdown! Satoshi VS Shigeru!!', '1999-10-07') ON DUPLICATE KEY UPDATE series = 1, number = 116, title = 'Rival Showdown! Satoshi VS Shigeru!!', airdate = LEAST(airdate, '1999-10-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP116', 1, 116, 'The Rivalry Revival', '2000-10-14') ON DUPLICATE KEY UPDATE season = 1, number = 116, title = 'The Rivalry Revival', airdate = LEAST(airdate, '2000-10-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP117', 1, 117, 'Wakaba Town! The Town Where Winds Telling of a Beginning Blow!', '1999-10-14') ON DUPLICATE KEY UPDATE series = 1, number = 117, title = 'Wakaba Town! The Town Where Winds Telling of a Beginning Blow!', airdate = LEAST(airdate, '1999-10-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP117', 1, 117, 'Don\'t Touch That \'dile', '2000-10-14') ON DUPLICATE KEY UPDATE season = 1, number = 117, title = 'Don\'t Touch That \'dile', airdate = LEAST(airdate, '2000-10-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP118', 1, 118, 'The Rookie\'s Chicorita!', '1999-10-21') ON DUPLICATE KEY UPDATE series = 1, number = 118, title = 'The Rookie\'s Chicorita!', airdate = LEAST(airdate, '1999-10-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP118', 1, 118, 'The Double Trouble Header', '2000-10-21') ON DUPLICATE KEY UPDATE season = 1, number = 118, title = 'The Double Trouble Header', airdate = LEAST(airdate, '2000-10-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP119', 1, 119, 'Fierce Battle! Heracross VS Kailios!!', '1999-10-28') ON DUPLICATE KEY UPDATE series = 1, number = 119, title = 'Fierce Battle! Heracross VS Kailios!!', airdate = LEAST(airdate, '1999-10-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP119', 1, 119, 'A Sappy Ending', '2000-10-28') ON DUPLICATE KEY UPDATE season = 1, number = 119, title = 'A Sappy Ending', airdate = LEAST(airdate, '2000-10-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP120', 1, 120, 'The Valley of Donfan!', '1999-11-04') ON DUPLICATE KEY UPDATE series = 1, number = 120, title = 'The Valley of Donfan!', airdate = LEAST(airdate, '1999-11-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP120', 1, 120, 'Roll On, Pokémon!', '2000-11-04') ON DUPLICATE KEY UPDATE season = 1, number = 120, title = 'Roll On, Pokémon!', airdate = LEAST(airdate, '2000-11-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP121', 1, 121, 'Hoho and the Mysterious Forest!', '1999-11-11') ON DUPLICATE KEY UPDATE series = 1, number = 121, title = 'Hoho and the Mysterious Forest!', airdate = LEAST(airdate, '1999-11-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP121', 1, 121, 'Illusion Confusion!', '2000-11-04') ON DUPLICATE KEY UPDATE season = 1, number = 121, title = 'Illusion Confusion!', airdate = LEAST(airdate, '2000-11-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP122', 1, 122, 'Kireihana\'s Battle Dancing!', '1999-11-18') ON DUPLICATE KEY UPDATE series = 1, number = 122, title = 'Kireihana\'s Battle Dancing!', airdate = LEAST(airdate, '1999-11-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP122', 1, 122, 'Flower Power', '2000-11-11') ON DUPLICATE KEY UPDATE season = 1, number = 122, title = 'Flower Power', airdate = LEAST(airdate, '2000-11-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP123', 1, 123, 'Itomaru! The Great Investigation!!', '1999-11-25') ON DUPLICATE KEY UPDATE series = 1, number = 123, title = 'Itomaru! The Great Investigation!!', airdate = LEAST(airdate, '1999-11-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP123', 1, 123, 'Spinarak Attack', '2000-11-11') ON DUPLICATE KEY UPDATE season = 1, number = 123, title = 'Spinarak Attack', airdate = LEAST(airdate, '2000-11-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP124', 1, 124, 'Bull\'s Magnificent Life!?', '1999-12-02') ON DUPLICATE KEY UPDATE series = 1, number = 124, title = 'Bull\'s Magnificent Life!?', airdate = LEAST(airdate, '1999-12-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP124', 1, 124, 'Snubbull Snobbery', '2000-11-18') ON DUPLICATE KEY UPDATE season = 1, number = 124, title = 'Snubbull Snobbery', airdate = LEAST(airdate, '2000-11-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP125', 1, 125, 'Odoshishi! Forest of Illusions!?', '1999-12-09') ON DUPLICATE KEY UPDATE series = 1, number = 125, title = 'Odoshishi! Forest of Illusions!?', airdate = LEAST(airdate, '1999-12-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP125', 1, 125, 'The Little Big Horn', '2000-11-18') ON DUPLICATE KEY UPDATE season = 1, number = 125, title = 'The Little Big Horn', airdate = LEAST(airdate, '2000-11-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP126', 1, 126, 'The Stubborn Chicorita!!', '1999-12-16') ON DUPLICATE KEY UPDATE series = 1, number = 126, title = 'The Stubborn Chicorita!!', airdate = LEAST(airdate, '1999-12-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP126', 1, 126, 'The Chikorita Rescue', '2000-11-25') ON DUPLICATE KEY UPDATE season = 1, number = 126, title = 'The Chikorita Rescue', airdate = LEAST(airdate, '2000-11-25');
INSERT INTO episodes (code, title, airdate) VALUES ('PK05', 'Let\'s Play on the Ice!', '1999-12-22') ON DUPLICATE KEY UPDATE title = 'Let\'s Play on the Ice!', airdate = LEAST(airdate, '1999-12-22');
INSERT INTO dubs (code, title, airdate) VALUES ('PK05', 'Winter Games', '2004-11-23') ON DUPLICATE KEY UPDATE title = 'Winter Games', airdate = LEAST(airdate, '2004-11-23');
INSERT INTO episodes (code, title, airdate) VALUES ('PK06', 'Christmas Night', '1999-12-22') ON DUPLICATE KEY UPDATE title = 'Christmas Night', airdate = LEAST(airdate, '1999-12-22');
INSERT INTO dubs (code, title, airdate) VALUES ('PK06', 'Stantler\'s Little Helpers', '2004-11-23') ON DUPLICATE KEY UPDATE title = 'Stantler\'s Little Helpers', airdate = LEAST(airdate, '2004-11-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP127', 1, 127, 'Nuoh and the GS Ball!?', '1999-12-23') ON DUPLICATE KEY UPDATE series = 1, number = 127, title = 'Nuoh and the GS Ball!?', airdate = LEAST(airdate, '1999-12-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP127', 1, 127, 'Once in a Blue Moon', '2000-12-02') ON DUPLICATE KEY UPDATE season = 1, number = 127, title = 'Once in a Blue Moon', airdate = LEAST(airdate, '2000-12-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP128', 1, 128, 'Rediba\'s Flute!', '2000-01-01') ON DUPLICATE KEY UPDATE series = 1, number = 128, title = 'Rediba\'s Flute!', airdate = LEAST(airdate, '2000-01-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP128', 1, 128, 'The Whistle Stop', '2000-12-02') ON DUPLICATE KEY UPDATE season = 1, number = 128, title = 'The Whistle Stop', airdate = LEAST(airdate, '2000-12-02');
INSERT INTO episodes (code, title, airdate) VALUES ('UN07', 'Yadoking\'s Day', '2000-01-01') ON DUPLICATE KEY UPDATE title = 'Yadoking\'s Day', airdate = LEAST(airdate, '2000-01-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP129', 1, 129, 'Happinas the Happy Nurse!', '2000-01-06') ON DUPLICATE KEY UPDATE series = 1, number = 129, title = 'Happinas the Happy Nurse!', airdate = LEAST(airdate, '2000-01-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP129', 1, 129, 'Ignorance is Blissey', '2000-12-09') ON DUPLICATE KEY UPDATE season = 1, number = 129, title = 'Ignorance is Blissey', airdate = LEAST(airdate, '2000-12-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP130', 1, 130, 'Big Crisis! Madatsubomi Tower!', '2000-01-13') ON DUPLICATE KEY UPDATE series = 1, number = 130, title = 'Big Crisis! Madatsubomi Tower!', airdate = LEAST(airdate, '2000-01-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP130', 1, 130, 'A Bout With Sprout', '2000-12-16') ON DUPLICATE KEY UPDATE season = 1, number = 130, title = 'A Bout With Sprout', airdate = LEAST(airdate, '2000-12-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP131', 1, 131, 'Kikyō Gym! Sky Battle!!', '2000-01-20') ON DUPLICATE KEY UPDATE series = 1, number = 131, title = 'Kikyō Gym! Sky Battle!!', airdate = LEAST(airdate, '2000-01-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP131', 1, 131, 'Fighting Flyer with Fire', '2000-12-16') ON DUPLICATE KEY UPDATE season = 1, number = 131, title = 'Fighting Flyer with Fire', airdate = LEAST(airdate, '2000-12-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP132', 1, 132, 'Crybaby Maril!', '2000-01-27') ON DUPLICATE KEY UPDATE series = 1, number = 132, title = 'Crybaby Maril!', airdate = LEAST(airdate, '2000-01-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP132', 1, 132, 'For Crying Out Loud', '2001-01-20') ON DUPLICATE KEY UPDATE season = 1, number = 132, title = 'For Crying Out Loud', airdate = LEAST(airdate, '2001-01-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP133', 1, 133, 'Rampage! Otachi and Togepy!!', '2000-02-03') ON DUPLICATE KEY UPDATE series = 1, number = 133, title = 'Rampage! Otachi and Togepy!!', airdate = LEAST(airdate, '2000-02-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP133', 1, 133, 'Tanks a Lot!', '2001-01-27') ON DUPLICATE KEY UPDATE season = 1, number = 133, title = 'Tanks a Lot!', airdate = LEAST(airdate, '2001-01-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP134', 1, 134, 'The Valley of Lizardon! Until We Meet Again!!', '2000-02-10') ON DUPLICATE KEY UPDATE series = 1, number = 134, title = 'The Valley of Lizardon! Until We Meet Again!!', airdate = LEAST(airdate, '2000-02-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP134', 1, 134, 'Charizard\'s Burning Ambitions', '2001-02-03') ON DUPLICATE KEY UPDATE season = 1, number = 134, title = 'Charizard\'s Burning Ambitions', airdate = LEAST(airdate, '2001-02-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP135', 1, 135, 'Big Panic! Kimawari Contest!!', '2000-02-17') ON DUPLICATE KEY UPDATE series = 1, number = 135, title = 'Big Panic! Kimawari Contest!!', airdate = LEAST(airdate, '2000-02-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP135', 1, 135, 'Grin to Win!', '2001-02-10') ON DUPLICATE KEY UPDATE season = 1, number = 135, title = 'Grin to Win!', airdate = LEAST(airdate, '2001-02-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP136', 1, 136, 'Chicorita is in a Bad Mood!?', '2000-02-24') ON DUPLICATE KEY UPDATE series = 1, number = 136, title = 'Chicorita is in a Bad Mood!?', airdate = LEAST(airdate, '2000-02-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP136', 1, 136, 'Chikorita\'s Big Upset', '2001-01-20') ON DUPLICATE KEY UPDATE season = 1, number = 136, title = 'Chikorita\'s Big Upset', airdate = LEAST(airdate, '2001-01-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP137', 1, 137, 'Hanecco Hopped! Battle on the Prairie!!', '2000-03-02') ON DUPLICATE KEY UPDATE series = 1, number = 137, title = 'Hanecco Hopped! Battle on the Prairie!!', airdate = LEAST(airdate, '2000-03-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP137', 1, 137, 'Foul Weather Friends', '2001-02-10') ON DUPLICATE KEY UPDATE season = 1, number = 137, title = 'Foul Weather Friends', airdate = LEAST(airdate, '2001-02-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP138', 1, 138, 'The Mysterious Superhero! Enter Gligerman!!', '2000-03-09') ON DUPLICATE KEY UPDATE series = 1, number = 138, title = 'The Mysterious Superhero! Enter Gligerman!!', airdate = LEAST(airdate, '2000-03-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP138', 1, 138, 'The Superhero Secret', '2001-02-17') ON DUPLICATE KEY UPDATE season = 1, number = 138, title = 'The Superhero Secret', airdate = LEAST(airdate, '2001-02-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP139', 1, 139, 'Merriep and the Pasture Girl', '2000-03-16') ON DUPLICATE KEY UPDATE series = 1, number = 139, title = 'Merriep and the Pasture Girl', airdate = LEAST(airdate, '2000-03-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP139', 1, 139, 'Mild \'n Wooly', '2001-02-17') ON DUPLICATE KEY UPDATE season = 1, number = 139, title = 'Mild \'n Wooly', airdate = LEAST(airdate, '2001-02-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP140', 1, 140, 'Let\'s Battle! Hassam VS Heracros!!', '2000-03-23') ON DUPLICATE KEY UPDATE series = 1, number = 140, title = 'Let\'s Battle! Hassam VS Heracros!!', airdate = LEAST(airdate, '2000-03-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP140', 1, 140, 'Wired for Battle!', '2001-02-24') ON DUPLICATE KEY UPDATE season = 1, number = 140, title = 'Wired for Battle!', airdate = LEAST(airdate, '2001-02-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP141', 1, 141, 'Hinoarashi! Catch It!!', '2000-03-30') ON DUPLICATE KEY UPDATE series = 1, number = 141, title = 'Hinoarashi! Catch It!!', airdate = LEAST(airdate, '2000-03-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP141', 1, 141, 'Good \'Quil Hunting', '2001-03-03') ON DUPLICATE KEY UPDATE season = 1, number = 141, title = 'Good \'Quil Hunting', airdate = LEAST(airdate, '2001-03-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP142', 1, 142, 'Hiwada Town! Yadon Well!!', '2000-04-06') ON DUPLICATE KEY UPDATE series = 1, number = 142, title = 'Hiwada Town! Yadon Well!!', airdate = LEAST(airdate, '2000-04-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP142', 1, 142, 'A Shadow of a Drought', '2001-03-03') ON DUPLICATE KEY UPDATE season = 1, number = 142, title = 'A Shadow of a Drought', airdate = LEAST(airdate, '2001-03-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP143', 1, 143, 'Kunugidama and the Bonguri Fruit! Backyard Battle!!', '2000-04-13') ON DUPLICATE KEY UPDATE series = 1, number = 143, title = 'Kunugidama and the Bonguri Fruit! Backyard Battle!!', airdate = LEAST(airdate, '2000-04-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP143', 1, 143, 'Going Apricorn!', '2001-03-10') ON DUPLICATE KEY UPDATE season = 1, number = 143, title = 'Going Apricorn!', airdate = LEAST(airdate, '2001-03-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP144', 1, 144, 'Hiwada Gym! Forest Battlefield!!', '2000-04-20') ON DUPLICATE KEY UPDATE series = 1, number = 144, title = 'Hiwada Gym! Forest Battlefield!!', airdate = LEAST(airdate, '2000-04-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP144', 1, 144, 'Gettin\' The Bugs Out', '2001-03-17') ON DUPLICATE KEY UPDATE season = 1, number = 144, title = 'Gettin\' The Bugs Out', airdate = LEAST(airdate, '2001-03-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP145', 1, 145, 'Ubame Forest! Search for Kamonegi!!', '2000-04-27') ON DUPLICATE KEY UPDATE series = 1, number = 145, title = 'Ubame Forest! Search for Kamonegi!!', airdate = LEAST(airdate, '2000-04-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP145', 1, 145, 'A Farfetch\'d Tale', '2001-03-17') ON DUPLICATE KEY UPDATE season = 1, number = 145, title = 'A Farfetch\'d Tale', airdate = LEAST(airdate, '2001-03-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP146', 1, 146, 'Sonansu and the Pokémon Swap Meet!!', '2000-05-04') ON DUPLICATE KEY UPDATE series = 1, number = 146, title = 'Sonansu and the Pokémon Swap Meet!!', airdate = LEAST(airdate, '2000-05-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP146', 1, 146, 'Tricks of the Trade', '2001-03-24') ON DUPLICATE KEY UPDATE season = 1, number = 146, title = 'Tricks of the Trade', airdate = LEAST(airdate, '2001-03-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP147', 1, 147, 'Burn, Zenigame Squad! Like a Fire!!', '2000-05-11') ON DUPLICATE KEY UPDATE series = 1, number = 147, title = 'Burn, Zenigame Squad! Like a Fire!!', airdate = LEAST(airdate, '2000-05-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP147', 1, 147, 'The Fire-ing Squad!', '2001-04-21') ON DUPLICATE KEY UPDATE season = 1, number = 147, title = 'The Fire-ing Squad!', airdate = LEAST(airdate, '2001-04-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP148', 1, 148, 'Lots of Upah!', '2000-05-18') ON DUPLICATE KEY UPDATE series = 1, number = 148, title = 'Lots of Upah!', airdate = LEAST(airdate, '2000-05-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP148', 1, 148, 'No Big Woop!', '2001-03-31') ON DUPLICATE KEY UPDATE season = 1, number = 148, title = 'No Big Woop!', airdate = LEAST(airdate, '2001-03-31');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP149', 1, 149, 'Purin VS Bull!', '2000-05-25') ON DUPLICATE KEY UPDATE series = 1, number = 149, title = 'Purin VS Bull!', airdate = LEAST(airdate, '2000-05-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP149', 1, 149, 'Tunnel Vision', '2001-04-07') ON DUPLICATE KEY UPDATE season = 1, number = 149, title = 'Tunnel Vision', airdate = LEAST(airdate, '2001-04-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP150', 1, 150, 'Dark Pokémon - Delvil', '2000-06-01') ON DUPLICATE KEY UPDATE series = 1, number = 150, title = 'Dark Pokémon - Delvil', airdate = LEAST(airdate, '2000-06-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP150', 1, 150, 'Hour of the Houndour', '2001-04-14') ON DUPLICATE KEY UPDATE season = 1, number = 150, title = 'Hour of the Houndour', airdate = LEAST(airdate, '2001-04-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP151', 1, 151, 'Who Gets to Keep Waninoko!? Satoshi VS Kasumi!', '2000-06-08') ON DUPLICATE KEY UPDATE series = 1, number = 151, title = 'Who Gets to Keep Waninoko!? Satoshi VS Kasumi!', airdate = LEAST(airdate, '2000-06-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP151', 1, 151, 'The Totodile Duel', '2001-05-05') ON DUPLICATE KEY UPDATE season = 1, number = 151, title = 'The Totodile Duel', airdate = LEAST(airdate, '2001-05-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP152', 1, 152, 'Airmd VS Hinoarashi! Steel Wing!!', '2000-06-15') ON DUPLICATE KEY UPDATE series = 1, number = 152, title = 'Airmd VS Hinoarashi! Steel Wing!!', airdate = LEAST(airdate, '2000-06-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP152', 1, 152, 'Hot Matches!', '2001-05-12') ON DUPLICATE KEY UPDATE season = 1, number = 152, title = 'Hot Matches!', airdate = LEAST(airdate, '2001-05-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP153', 1, 153, 'Dance, Waninoko! Dance the Steps of Love!!', '2000-06-22') ON DUPLICATE KEY UPDATE series = 1, number = 153, title = 'Dance, Waninoko! Dance the Steps of Love!!', airdate = LEAST(airdate, '2000-06-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP153', 1, 153, 'Love, Totodile Style', '2001-05-26') ON DUPLICATE KEY UPDATE season = 1, number = 153, title = 'Love, Totodile Style', airdate = LEAST(airdate, '2001-05-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP154', 1, 154, 'A Differently Colored Yorunozuku! Catch It!!', '2000-06-29') ON DUPLICATE KEY UPDATE series = 1, number = 154, title = 'A Differently Colored Yorunozuku! Catch It!!', airdate = LEAST(airdate, '2000-06-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP154', 1, 154, 'Fowl Play!', '2001-04-28') ON DUPLICATE KEY UPDATE season = 1, number = 154, title = 'Fowl Play!', airdate = LEAST(airdate, '2001-04-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP155', 1, 155, 'Ringuma Shock!!', '2000-07-06') ON DUPLICATE KEY UPDATE series = 1, number = 155, title = 'Ringuma Shock!!', airdate = LEAST(airdate, '2000-07-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP155', 1, 155, 'Forest Grumps', '2001-06-02') ON DUPLICATE KEY UPDATE season = 1, number = 155, title = 'Forest Grumps', airdate = LEAST(airdate, '2001-06-02');
INSERT INTO episodes (code, title, airdate) VALUES ('PK07', 'Pichu and Pikachu', '2000-07-08') ON DUPLICATE KEY UPDATE title = 'Pichu and Pikachu', airdate = LEAST(airdate, '2000-07-08');
INSERT INTO dubs (code, title, airdate) VALUES ('PK07', 'Pikachu & Pichu', '2001-04-06') ON DUPLICATE KEY UPDATE title = 'Pikachu & Pichu', airdate = LEAST(airdate, '2001-04-06');
INSERT INTO episodes (code, title, airdate) VALUES ('M03', 'Emperor of the Crystal Tower: Entei', '2000-07-08') ON DUPLICATE KEY UPDATE title = 'Emperor of the Crystal Tower: Entei', airdate = LEAST(airdate, '2000-07-08');
INSERT INTO dubs (code, title, airdate) VALUES ('M03', 'Pokémon 3: The Movie - Spell of the Unown: Entei', '2001-04-06') ON DUPLICATE KEY UPDATE title = 'Pokémon 3: The Movie - Spell of the Unown: Entei', airdate = LEAST(airdate, '2001-04-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP156', 1, 156, 'Kirinriki! The Village of Esper Pokémon!', '2000-07-13') ON DUPLICATE KEY UPDATE series = 1, number = 156, title = 'Kirinriki! The Village of Esper Pokémon!', airdate = LEAST(airdate, '2000-07-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP156', 1, 156, 'The Psychic Sidekicks!', '2001-08-11') ON DUPLICATE KEY UPDATE season = 1, number = 156, title = 'The Psychic Sidekicks!', airdate = LEAST(airdate, '2001-08-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP157', 1, 157, 'Pokémon Fortune-Telling!? Battle Royal!', '2000-07-27') ON DUPLICATE KEY UPDATE series = 1, number = 157, title = 'Pokémon Fortune-Telling!? Battle Royal!', airdate = LEAST(airdate, '2000-07-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP157', 1, 157, 'The Fortune Hunters', '2001-05-19') ON DUPLICATE KEY UPDATE season = 1, number = 157, title = 'The Fortune Hunters', airdate = LEAST(airdate, '2001-05-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP158', 1, 158, 'Kogane Gym! Speed & Power!?', '2000-08-03') ON DUPLICATE KEY UPDATE series = 1, number = 158, title = 'Kogane Gym! Speed & Power!?', airdate = LEAST(airdate, '2000-08-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP158', 1, 158, 'A Goldenrod Opportunity', '2001-08-18') ON DUPLICATE KEY UPDATE season = 1, number = 158, title = 'A Goldenrod Opportunity', airdate = LEAST(airdate, '2001-08-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP159', 1, 159, 'Miltank! Revenge Battle!!', '2000-08-10') ON DUPLICATE KEY UPDATE series = 1, number = 159, title = 'Miltank! Revenge Battle!!', airdate = LEAST(airdate, '2000-08-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP159', 1, 159, 'A Dairy Tale Ending', '2001-08-18') ON DUPLICATE KEY UPDATE season = 1, number = 159, title = 'A Dairy Tale Ending', airdate = LEAST(airdate, '2001-08-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP160', 1, 160, 'Battle at the Radio Tower! Surpass Spacetime!!', '2000-08-17') ON DUPLICATE KEY UPDATE series = 1, number = 160, title = 'Battle at the Radio Tower! Surpass Spacetime!!', airdate = LEAST(airdate, '2000-08-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP160', 1, 160, 'Air Time!', '2001-09-08') ON DUPLICATE KEY UPDATE season = 1, number = 160, title = 'Air Time!', airdate = LEAST(airdate, '2001-09-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP161', 1, 161, 'Bug Catching Tournament! Capture a Pokémon at the Nature Park!!', '2000-08-24') ON DUPLICATE KEY UPDATE series = 1, number = 161, title = 'Bug Catching Tournament! Capture a Pokémon at the Nature Park!!', airdate = LEAST(airdate, '2000-08-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP161', 1, 161, 'The Bug Stops Here', '2001-08-25') ON DUPLICATE KEY UPDATE season = 1, number = 161, title = 'The Bug Stops Here', airdate = LEAST(airdate, '2001-08-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP162', 1, 162, 'Where is Usokkie!?', '2000-08-31') ON DUPLICATE KEY UPDATE series = 1, number = 162, title = 'Where is Usokkie!?', airdate = LEAST(airdate, '2000-08-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP162', 1, 162, 'Type Casting', '2001-09-01') ON DUPLICATE KEY UPDATE season = 1, number = 162, title = 'Type Casting', airdate = LEAST(airdate, '2001-09-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP163', 1, 163, 'Ancient Pokémon Park! Ruins of Alph!!', '2000-09-07') ON DUPLICATE KEY UPDATE series = 1, number = 163, title = 'Ancient Pokémon Park! Ruins of Alph!!', airdate = LEAST(airdate, '2000-09-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP163', 1, 163, 'Fossil Fools', '2001-09-15') ON DUPLICATE KEY UPDATE season = 1, number = 163, title = 'Fossil Fools', airdate = LEAST(airdate, '2001-09-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP164', 1, 164, 'The Carrier Poppo of the Poppo Store!', '2000-09-14') ON DUPLICATE KEY UPDATE series = 1, number = 164, title = 'The Carrier Poppo of the Poppo Store!', airdate = LEAST(airdate, '2000-09-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP164', 1, 164, 'Carrying On!', '2001-09-22') ON DUPLICATE KEY UPDATE season = 1, number = 164, title = 'Carrying On!', airdate = LEAST(airdate, '2001-09-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP165', 1, 165, 'Zubat\'s Mansion! A Dangerous Labyrinth!!', '2000-09-21') ON DUPLICATE KEY UPDATE series = 1, number = 165, title = 'Zubat\'s Mansion! A Dangerous Labyrinth!!', airdate = LEAST(airdate, '2000-09-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP165', 1, 165, 'Hassle in the Castle', '2001-09-29') ON DUPLICATE KEY UPDATE season = 1, number = 165, title = 'Hassle in the Castle', airdate = LEAST(airdate, '2001-09-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP166', 1, 166, 'Kapoerer VS Fushigidane! Hand to Hand Showdown!!', '2000-09-28') ON DUPLICATE KEY UPDATE series = 1, number = 166, title = 'Kapoerer VS Fushigidane! Hand to Hand Showdown!!', airdate = LEAST(airdate, '2000-09-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP166', 1, 166, 'Two Hits and a Miss', '2001-09-15') ON DUPLICATE KEY UPDATE season = 1, number = 166, title = 'Two Hits and a Miss', airdate = LEAST(airdate, '2001-09-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP167', 1, 167, 'The Three of the Jungle! Battle in the Hot Springs!!', '2000-10-05') ON DUPLICATE KEY UPDATE series = 1, number = 167, title = 'The Three of the Jungle! Battle in the Hot Springs!!', airdate = LEAST(airdate, '2000-10-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP167', 1, 167, 'A Hot Water Battle', '2001-09-22') ON DUPLICATE KEY UPDATE season = 1, number = 167, title = 'A Hot Water Battle', airdate = LEAST(airdate, '2001-09-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP168', 1, 168, 'Azumao! Fishing Battle!!', '2000-10-12') ON DUPLICATE KEY UPDATE series = 1, number = 168, title = 'Azumao! Fishing Battle!!', airdate = LEAST(airdate, '2000-10-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP168', 1, 168, 'Hook, Line, and Stinker', '2001-09-29') ON DUPLICATE KEY UPDATE season = 1, number = 168, title = 'Hook, Line, and Stinker', airdate = LEAST(airdate, '2001-09-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP169', 1, 169, 'Goodbye Rokon! Pokémon Beauty Contest!!', '2000-10-19') ON DUPLICATE KEY UPDATE series = 1, number = 169, title = 'Goodbye Rokon! Pokémon Beauty Contest!!', airdate = LEAST(airdate, '2000-10-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP169', 1, 169, 'Beauty and the Breeder', '2001-10-06') ON DUPLICATE KEY UPDATE season = 1, number = 169, title = 'Beauty and the Breeder', airdate = LEAST(airdate, '2001-10-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP170', 1, 170, 'Tsubotsubo VS Madatsubomi', '2000-10-26') ON DUPLICATE KEY UPDATE series = 1, number = 170, title = 'Tsubotsubo VS Madatsubomi', airdate = LEAST(airdate, '2000-10-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP170', 1, 170, 'A Better Pill to Swallow', '2001-10-13') ON DUPLICATE KEY UPDATE season = 1, number = 170, title = 'A Better Pill to Swallow', airdate = LEAST(airdate, '2001-10-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP171', 1, 171, 'Blacky! Battle During a Dark Night!!', '2000-11-02') ON DUPLICATE KEY UPDATE series = 1, number = 171, title = 'Blacky! Battle During a Dark Night!!', airdate = LEAST(airdate, '2000-11-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP171', 1, 171, 'Power Play!', '2001-10-20') ON DUPLICATE KEY UPDATE season = 1, number = 171, title = 'Power Play!', airdate = LEAST(airdate, '2001-10-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP172', 1, 172, 'Redian! Pass Through the Valley of the Wind!!', '2000-11-09') ON DUPLICATE KEY UPDATE series = 1, number = 172, title = 'Redian! Pass Through the Valley of the Wind!!', airdate = LEAST(airdate, '2000-11-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP172', 1, 172, 'Mountain Time', '2001-10-20') ON DUPLICATE KEY UPDATE season = 1, number = 172, title = 'Mountain Time', airdate = LEAST(airdate, '2001-10-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP173', 1, 173, 'Village of Sonans!?)', '2000-11-16') ON DUPLICATE KEY UPDATE series = 1, number = 173, title = 'Village of Sonans!?)', airdate = LEAST(airdate, '2000-11-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP173', 1, 173, 'Wobbu-Palooza!', '2001-10-27') ON DUPLICATE KEY UPDATE season = 1, number = 173, title = 'Wobbu-Palooza!', airdate = LEAST(airdate, '2001-10-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP174', 1, 174, 'Aim to Be a Metamon Master! Imite, Once Again!!', '2000-11-23') ON DUPLICATE KEY UPDATE series = 1, number = 174, title = 'Aim to Be a Metamon Master! Imite, Once Again!!', airdate = LEAST(airdate, '2000-11-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP174', 1, 174, 'Imitation Confrontation', '2001-10-27') ON DUPLICATE KEY UPDATE season = 1, number = 174, title = 'Imitation Confrontation', airdate = LEAST(airdate, '2001-10-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP175', 1, 175, 'Nyarth, Bull and Granbull!?', '2000-11-30') ON DUPLICATE KEY UPDATE series = 1, number = 175, title = 'Nyarth, Bull and Granbull!?', airdate = LEAST(airdate, '2000-11-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP175', 1, 175, 'The Trouble With Snubbull', '2001-11-03') ON DUPLICATE KEY UPDATE season = 1, number = 175, title = 'The Trouble With Snubbull', airdate = LEAST(airdate, '2001-11-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP176', 1, 176, 'Ariados! Battle of Ninja Arts!!', '2000-12-07') ON DUPLICATE KEY UPDATE series = 1, number = 176, title = 'Ariados! Battle of Ninja Arts!!', airdate = LEAST(airdate, '2000-12-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP176', 1, 176, 'Ariados, Amigos', '2001-11-17') ON DUPLICATE KEY UPDATE season = 1, number = 176, title = 'Ariados, Amigos', airdate = LEAST(airdate, '2001-11-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP177', 1, 177, 'Flap, Yanyanma! Fly to Tomorrow\'s Sky!!', '2000-12-14') ON DUPLICATE KEY UPDATE series = 1, number = 177, title = 'Flap, Yanyanma! Fly to Tomorrow\'s Sky!!', airdate = LEAST(airdate, '2000-12-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP177', 1, 177, 'Wings \'N\' Things', '2001-11-17') ON DUPLICATE KEY UPDATE season = 1, number = 177, title = 'Wings \'N\' Things', airdate = LEAST(airdate, '2001-11-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP178', 1, 178, 'Popocco! Grass Pokémon Battle!!', '2000-12-21') ON DUPLICATE KEY UPDATE series = 1, number = 178, title = 'Popocco! Grass Pokémon Battle!!', airdate = LEAST(airdate, '2000-12-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP178', 1, 178, 'The Grass Route', '2001-11-03') ON DUPLICATE KEY UPDATE season = 1, number = 178, title = 'The Grass Route', airdate = LEAST(airdate, '2001-11-03');
INSERT INTO episodes (code, title, airdate) VALUES ('PK08', 'Delibird\'s Present', '2000-12-22') ON DUPLICATE KEY UPDATE title = 'Delibird\'s Present', airdate = LEAST(airdate, '2000-12-22');
INSERT INTO dubs (code, title, airdate) VALUES ('PK08', 'Delibird\'s Dilemma', '2006-06-17') ON DUPLICATE KEY UPDATE title = 'Delibird\'s Dilemma', airdate = LEAST(airdate, '2006-06-17');
INSERT INTO episodes (code, title, airdate) VALUES ('PK09', 'White Story', '2000-12-22') ON DUPLICATE KEY UPDATE title = 'White Story', airdate = LEAST(airdate, '2000-12-22');
INSERT INTO dubs (code, title, airdate) VALUES ('PK09', 'Snorlax Snowman', '2006-06-17') ON DUPLICATE KEY UPDATE title = 'Snorlax Snowman', airdate = LEAST(airdate, '2006-06-17');
INSERT INTO episodes (code, title, airdate) VALUES ('UN08', 'We are the Pichu Brothers - Balloon Disturbance', '2000-12-22') ON DUPLICATE KEY UPDATE title = 'We are the Pichu Brothers - Balloon Disturbance', airdate = LEAST(airdate, '2000-12-22');
INSERT INTO dubs (code, title, airdate) VALUES ('UN08', 'Trouble in Big Town', '2006-10-14') ON DUPLICATE KEY UPDATE title = 'Trouble in Big Town', airdate = LEAST(airdate, '2006-10-14');
INSERT INTO episodes (code, title, airdate) VALUES ('TV01', 'Mewtwo! I Am Here', '2000-12-30') ON DUPLICATE KEY UPDATE title = 'Mewtwo! I Am Here', airdate = LEAST(airdate, '2000-12-30');
INSERT INTO dubs (code, title, airdate) VALUES ('TV01', 'Mewtwo Returns', '2001-12-05') ON DUPLICATE KEY UPDATE title = 'Mewtwo Returns', airdate = LEAST(airdate, '2001-12-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP179', 1, 179, 'Pikachu and Pichu!', '2001-01-04') ON DUPLICATE KEY UPDATE series = 1, number = 179, title = 'Pikachu and Pichu!', airdate = LEAST(airdate, '2001-01-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP179', 1, 179, 'The Apple Corp!', '2001-12-01') ON DUPLICATE KEY UPDATE season = 1, number = 179, title = 'The Apple Corp!', airdate = LEAST(airdate, '2001-12-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP180', 1, 180, 'Hellgar and Togepy!', '2001-01-11') ON DUPLICATE KEY UPDATE series = 1, number = 180, title = 'Hellgar and Togepy!', airdate = LEAST(airdate, '2001-01-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP180', 1, 180, 'Houndoom\'s Special Delivery', '2001-12-01') ON DUPLICATE KEY UPDATE season = 1, number = 180, title = 'Houndoom\'s Special Delivery', airdate = LEAST(airdate, '2001-12-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP181', 1, 181, 'The Burned Tower! Matsuba Appears!!', '2001-01-18') ON DUPLICATE KEY UPDATE series = 1, number = 181, title = 'The Burned Tower! Matsuba Appears!!', airdate = LEAST(airdate, '2001-01-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP181', 1, 181, 'A Ghost of a Chance', '2001-11-10') ON DUPLICATE KEY UPDATE season = 1, number = 181, title = 'A Ghost of a Chance', airdate = LEAST(airdate, '2001-11-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP182', 1, 182, 'Enjū Gym! Ghost Battle!!', '2001-01-25') ON DUPLICATE KEY UPDATE series = 1, number = 182, title = 'Enjū Gym! Ghost Battle!!', airdate = LEAST(airdate, '2001-01-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP182', 1, 182, 'From Ghost to Ghost', '2001-11-10') ON DUPLICATE KEY UPDATE season = 1, number = 182, title = 'From Ghost to Ghost', airdate = LEAST(airdate, '2001-11-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP183', 1, 183, 'The Five Sisters of Eievui! Battle at the Tea Convention!!', '2001-02-01') ON DUPLICATE KEY UPDATE series = 1, number = 183, title = 'The Five Sisters of Eievui! Battle at the Tea Convention!!', airdate = LEAST(airdate, '2001-02-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP183', 1, 183, 'Trouble\'s Brewing', '2001-12-08') ON DUPLICATE KEY UPDATE season = 1, number = 183, title = 'Trouble\'s Brewing', airdate = LEAST(airdate, '2001-12-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP184', 1, 184, 'Yamikarasu! The Stolen Badges!!', '2001-02-08') ON DUPLICATE KEY UPDATE series = 1, number = 184, title = 'Yamikarasu! The Stolen Badges!!', airdate = LEAST(airdate, '2001-02-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP184', 1, 184, 'All That Glitters!', '2001-12-15') ON DUPLICATE KEY UPDATE season = 1, number = 184, title = 'All That Glitters!', airdate = LEAST(airdate, '2001-12-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP185', 1, 185, 'Teppouo\'s Sky!', '2001-02-15') ON DUPLICATE KEY UPDATE series = 1, number = 185, title = 'Teppouo\'s Sky!', airdate = LEAST(airdate, '2001-02-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP185', 1, 185, 'The Light Fantastic', '2001-12-15') ON DUPLICATE KEY UPDATE season = 1, number = 185, title = 'The Light Fantastic', airdate = LEAST(airdate, '2001-12-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP186', 1, 186, 'Himeguma\'s Secret!', '2001-02-22') ON DUPLICATE KEY UPDATE series = 1, number = 186, title = 'Himeguma\'s Secret!', airdate = LEAST(airdate, '2001-02-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP186', 1, 186, 'UnBEARable', '2002-01-19') ON DUPLICATE KEY UPDATE season = 1, number = 186, title = 'UnBEARable', airdate = LEAST(airdate, '2002-01-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP187', 1, 187, 'The Mystery of the Frozen Himanuts!!', '2001-03-01') ON DUPLICATE KEY UPDATE series = 1, number = 187, title = 'The Mystery of the Frozen Himanuts!!', airdate = LEAST(airdate, '2001-03-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP187', 1, 187, 'Moving Pictures', '2002-01-26') ON DUPLICATE KEY UPDATE season = 1, number = 187, title = 'Moving Pictures', airdate = LEAST(airdate, '2002-01-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP188', 1, 188, 'Dig Here Urimoo! Search for the Hot Spring!!', '2001-03-08') ON DUPLICATE KEY UPDATE series = 1, number = 188, title = 'Dig Here Urimoo! Search for the Hot Spring!!', airdate = LEAST(airdate, '2001-03-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP188', 1, 188, 'Spring Fever', '2002-02-02') ON DUPLICATE KEY UPDATE season = 1, number = 188, title = 'Spring Fever', airdate = LEAST(airdate, '2002-02-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP189', 1, 189, 'Freezer VS Purin! In the Middle of a Snowstorm!!', '2001-03-15') ON DUPLICATE KEY UPDATE series = 1, number = 189, title = 'Freezer VS Purin! In the Middle of a Snowstorm!!', airdate = LEAST(airdate, '2001-03-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP189', 1, 189, 'Freeze Frame', '2002-02-09') ON DUPLICATE KEY UPDATE season = 1, number = 189, title = 'Freeze Frame', airdate = LEAST(airdate, '2002-02-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP190', 1, 190, 'Windie and the Fire Stone!', '2001-03-22') ON DUPLICATE KEY UPDATE series = 1, number = 190, title = 'Windie and the Fire Stone!', airdate = LEAST(airdate, '2001-03-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP190', 1, 190, 'The Stolen Stones!', '2002-02-16') ON DUPLICATE KEY UPDATE season = 1, number = 190, title = 'The Stolen Stones!', airdate = LEAST(airdate, '2002-02-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP191', 1, 191, 'There Aren\'t Any Nokocchi Here!?', '2001-03-29') ON DUPLICATE KEY UPDATE series = 1, number = 191, title = 'There Aren\'t Any Nokocchi Here!?', airdate = LEAST(airdate, '2001-03-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP191', 1, 191, 'The Dunsparce Deception', '2002-02-23') ON DUPLICATE KEY UPDATE season = 1, number = 191, title = 'The Dunsparce Deception', airdate = LEAST(airdate, '2002-02-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP192', 1, 192, 'Sonans! Is That So?', '2001-04-05') ON DUPLICATE KEY UPDATE series = 1, number = 192, title = 'Sonans! Is That So?', airdate = LEAST(airdate, '2001-04-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP192', 1, 192, 'The Wayward Wobbuffet', '2002-03-02') ON DUPLICATE KEY UPDATE season = 1, number = 192, title = 'The Wayward Wobbuffet', airdate = LEAST(airdate, '2002-03-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP193', 1, 193, 'Takeshi Collapses! A Dangerous Camp!!', '2001-04-12') ON DUPLICATE KEY UPDATE series = 1, number = 193, title = 'Takeshi Collapses! A Dangerous Camp!!', airdate = LEAST(airdate, '2001-04-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP193', 1, 193, 'Sick Daze', '2002-03-09') ON DUPLICATE KEY UPDATE season = 1, number = 193, title = 'Sick Daze', airdate = LEAST(airdate, '2002-03-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP194', 1, 194, 'Ordile VS Kamex! Sumo Battle!!', '2001-04-19') ON DUPLICATE KEY UPDATE series = 1, number = 194, title = 'Ordile VS Kamex! Sumo Battle!!', airdate = LEAST(airdate, '2001-04-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP194', 1, 194, 'Ring Masters', '2002-03-16') ON DUPLICATE KEY UPDATE season = 1, number = 194, title = 'Ring Masters', airdate = LEAST(airdate, '2002-03-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP195', 1, 195, 'You Can Speak with Pokémon!? The Words and Feelings of Pokémon!', '2001-04-26') ON DUPLICATE KEY UPDATE series = 1, number = 195, title = 'You Can Speak with Pokémon!? The Words and Feelings of Pokémon!', airdate = LEAST(airdate, '2001-04-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP195', 1, 195, 'The Poké Spokesman', '2002-03-23') ON DUPLICATE KEY UPDATE season = 1, number = 195, title = 'The Poké Spokesman', airdate = LEAST(airdate, '2002-03-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP196', 1, 196, 'Golbat VS the Masked Queen Musashi! The Battle in the Ruins!!', '2001-05-03') ON DUPLICATE KEY UPDATE series = 1, number = 196, title = 'Golbat VS the Masked Queen Musashi! The Battle in the Ruins!!', airdate = LEAST(airdate, '2001-05-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP196', 1, 196, 'Control Freak!', '2002-03-30') ON DUPLICATE KEY UPDATE season = 1, number = 196, title = 'Control Freak!', airdate = LEAST(airdate, '2002-03-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP197', 1, 197, 'The Miracle of Doble!! Shining in the Morning Sun!', '2001-05-10') ON DUPLICATE KEY UPDATE series = 1, number = 197, title = 'The Miracle of Doble!! Shining in the Morning Sun!', airdate = LEAST(airdate, '2001-05-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP197', 1, 197, 'The Art Of Pokémon', '2002-04-06') ON DUPLICATE KEY UPDATE season = 1, number = 197, title = 'The Art Of Pokémon', airdate = LEAST(airdate, '2002-04-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP198', 1, 198, 'Nidorino and Nidorina! Takeshi\'s Rose Colored Days!?', '2001-05-17') ON DUPLICATE KEY UPDATE series = 1, number = 198, title = 'Nidorino and Nidorina! Takeshi\'s Rose Colored Days!?', airdate = LEAST(airdate, '2001-05-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP198', 1, 198, 'The Heartbreak of Brock', '2002-04-13') ON DUPLICATE KEY UPDATE season = 1, number = 198, title = 'The Heartbreak of Brock', airdate = LEAST(airdate, '2002-04-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP199', 1, 199, 'Goodbye Chicorita!? The Electric Labyrinth!', '2001-05-24') ON DUPLICATE KEY UPDATE series = 1, number = 199, title = 'Goodbye Chicorita!? The Electric Labyrinth!', airdate = LEAST(airdate, '2001-05-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP199', 1, 199, 'Current Events', '2002-04-27') ON DUPLICATE KEY UPDATE season = 1, number = 199, title = 'Current Events', airdate = LEAST(airdate, '2002-04-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP200', 1, 200, 'Where Did Bayleaf Go!? Capture at the Herb Garden!', '2001-05-31') ON DUPLICATE KEY UPDATE series = 1, number = 200, title = 'Where Did Bayleaf Go!? Capture at the Herb Garden!', airdate = LEAST(airdate, '2001-05-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP200', 1, 200, 'Turning Over A New Bayleef', '2002-05-04') ON DUPLICATE KEY UPDATE season = 1, number = 200, title = 'Turning Over A New Bayleef', airdate = LEAST(airdate, '2002-05-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP201', 1, 201, 'Naty Fortune Teller! The Mystery of Telling the Future!!', '2001-06-07') ON DUPLICATE KEY UPDATE series = 1, number = 201, title = 'Naty Fortune Teller! The Mystery of Telling the Future!!', airdate = LEAST(airdate, '2001-06-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP201', 1, 201, 'Doin\' What Comes Natu-rally', '2002-05-18') ON DUPLICATE KEY UPDATE season = 1, number = 201, title = 'Doin\' What Comes Natu-rally', airdate = LEAST(airdate, '2002-05-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP202', 1, 202, 'The Big Pokémon Balloon Race! Exceed the Storm!!', '2001-06-14') ON DUPLICATE KEY UPDATE series = 1, number = 202, title = 'The Big Pokémon Balloon Race! Exceed the Storm!!', airdate = LEAST(airdate, '2001-06-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP202', 1, 202, 'The Big Balloon Blow-Up', '2002-05-25') ON DUPLICATE KEY UPDATE season = 1, number = 202, title = 'The Big Balloon Blow-Up', airdate = LEAST(airdate, '2002-05-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP203', 1, 203, 'Muchul is Daydreaming!! Do Superstars Like Pokémon?', '2001-06-21') ON DUPLICATE KEY UPDATE series = 1, number = 203, title = 'Muchul is Daydreaming!! Do Superstars Like Pokémon?', airdate = LEAST(airdate, '2001-06-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP203', 1, 203, 'The Screen Actor\'s Guilt', '2002-06-01') ON DUPLICATE KEY UPDATE season = 1, number = 203, title = 'The Screen Actor\'s Guilt', airdate = LEAST(airdate, '2002-06-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP204', 1, 204, 'Follow the Surfing Saidon!? The Battle at the Lake!', '2001-06-28') ON DUPLICATE KEY UPDATE series = 1, number = 204, title = 'Follow the Surfing Saidon!? The Battle at the Lake!', airdate = LEAST(airdate, '2001-06-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP204', 1, 204, 'Right on, Rhydon!', '2002-06-22') ON DUPLICATE KEY UPDATE season = 1, number = 204, title = 'Right on, Rhydon!', airdate = LEAST(airdate, '2002-06-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP205', 1, 205, 'Where\'s Kakureon!? Huge Chaos Created By the Invisible Pokémon!', '2001-07-05') ON DUPLICATE KEY UPDATE series = 1, number = 205, title = 'Where\'s Kakureon!? Huge Chaos Created By the Invisible Pokémon!', airdate = LEAST(airdate, '2001-07-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP205', 1, 205, 'The Kecleon Caper', '2002-08-17') ON DUPLICATE KEY UPDATE season = 1, number = 205, title = 'The Kecleon Caper', airdate = LEAST(airdate, '2002-08-17');
INSERT INTO episodes (code, title, airdate) VALUES ('PK10', 'Pikachu\'s Exciting Hide-and-seek', '2001-07-07') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Exciting Hide-and-seek', airdate = LEAST(airdate, '2001-07-07');
INSERT INTO dubs (code, title, airdate) VALUES ('PK10', 'Pikachu\'s PikaBoo', '2003-03-18') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s PikaBoo', airdate = LEAST(airdate, '2003-03-18');
INSERT INTO episodes (code, title, airdate) VALUES ('M04', 'Celebi: Encounter Beyond Time', '2001-07-07') ON DUPLICATE KEY UPDATE title = 'Celebi: Encounter Beyond Time', airdate = LEAST(airdate, '2001-07-07');
INSERT INTO dubs (code, title, airdate) VALUES ('M04', 'Pokémon 4Ever - Celebi: Voice of the Forest', '2002-10-11') ON DUPLICATE KEY UPDATE title = 'Pokémon 4Ever - Celebi: Voice of the Forest', airdate = LEAST(airdate, '2002-10-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP206', 1, 206, 'The Nurse Joy Who Hates Water Pokémon!? Kasumi\'s Anger!', '2001-07-12') ON DUPLICATE KEY UPDATE series = 1, number = 206, title = 'The Nurse Joy Who Hates Water Pokémon!? Kasumi\'s Anger!', airdate = LEAST(airdate, '2001-07-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP206', 1, 206, 'The Joy of Water Pokémon', '2002-08-24') ON DUPLICATE KEY UPDATE season = 1, number = 206, title = 'The Joy of Water Pokémon', airdate = LEAST(airdate, '2002-08-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP207', 1, 207, 'Mother Miltank! The Desert\'s Secret!', '2001-07-19') ON DUPLICATE KEY UPDATE series = 1, number = 207, title = 'Mother Miltank! The Desert\'s Secret!', airdate = LEAST(airdate, '2001-07-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP207', 1, 207, 'Got Miltank?', '2002-08-31') ON DUPLICATE KEY UPDATE season = 1, number = 207, title = 'Got Miltank?', airdate = LEAST(airdate, '2002-08-31');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP208', 1, 208, 'Radiance Lighthouse! Battle at Asagi City!!', '2001-07-26') ON DUPLICATE KEY UPDATE series = 1, number = 208, title = 'Radiance Lighthouse! Battle at Asagi City!!', airdate = LEAST(airdate, '2001-07-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP208', 1, 208, 'Fight for the Light!', '2002-09-07') ON DUPLICATE KEY UPDATE season = 1, number = 208, title = 'Fight for the Light!', airdate = LEAST(airdate, '2002-09-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP209', 1, 209, 'Tanba Gym! Wrestling Match!!', '2001-08-02') ON DUPLICATE KEY UPDATE series = 1, number = 209, title = 'Tanba Gym! Wrestling Match!!', airdate = LEAST(airdate, '2001-08-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP209', 1, 209, 'Machoke, Machoke Man!', '2002-09-07') ON DUPLICATE KEY UPDATE season = 1, number = 209, title = 'Machoke, Machoke Man!', airdate = LEAST(airdate, '2002-09-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP210', 1, 210, 'A Chain of Whirlpool Islands! A Renewed Challenge!!', '2001-08-09') ON DUPLICATE KEY UPDATE series = 1, number = 210, title = 'A Chain of Whirlpool Islands! A Renewed Challenge!!', airdate = LEAST(airdate, '2001-08-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP210', 1, 210, 'Around the Whirlpool', '2002-09-14') ON DUPLICATE KEY UPDATE season = 1, number = 210, title = 'Around the Whirlpool', airdate = LEAST(airdate, '2002-09-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP211', 1, 211, 'Poppo and the Enormous Poppo! Towards the As Yet Unseen Sky!!', '2001-08-16') ON DUPLICATE KEY UPDATE series = 1, number = 211, title = 'Poppo and the Enormous Poppo! Towards the As Yet Unseen Sky!!', airdate = LEAST(airdate, '2001-08-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP211', 1, 211, 'Fly Me to the Moon', '2002-09-21') ON DUPLICATE KEY UPDATE season = 1, number = 211, title = 'Fly Me to the Moon', airdate = LEAST(airdate, '2002-09-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP212', 1, 212, 'Set Out to the Sea! Line of Chonchie!!', '2001-08-23') ON DUPLICATE KEY UPDATE series = 1, number = 212, title = 'Set Out to the Sea! Line of Chonchie!!', airdate = LEAST(airdate, '2001-08-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP212', 1, 212, 'Takin\' It on the Chinchou', '2002-09-28') ON DUPLICATE KEY UPDATE season = 1, number = 212, title = 'Takin\' It on the Chinchou', airdate = LEAST(airdate, '2002-09-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP213', 1, 213, 'Sunnygo the Amigo! Showdown on Ōgan Isle!!', '2001-08-30') ON DUPLICATE KEY UPDATE series = 1, number = 213, title = 'Sunnygo the Amigo! Showdown on Ōgan Isle!!', airdate = LEAST(airdate, '2001-08-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP213', 1, 213, 'A Corsola Caper!', '2002-10-05') ON DUPLICATE KEY UPDATE season = 1, number = 213, title = 'A Corsola Caper!', airdate = LEAST(airdate, '2002-10-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP214', 1, 214, 'Mantain and the Sunken Ship!! The Secret of the Mysterious Pokémon!', '2001-09-06') ON DUPLICATE KEY UPDATE series = 1, number = 214, title = 'Mantain and the Sunken Ship!! The Secret of the Mysterious Pokémon!', airdate = LEAST(airdate, '2001-09-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP214', 1, 214, 'Mantine Overboard!', '2002-10-12') ON DUPLICATE KEY UPDATE season = 1, number = 214, title = 'Mantine Overboard!', airdate = LEAST(airdate, '2002-10-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP215', 1, 215, 'Okutank and Teppouo! Whirlpool Cup Preliminaries!!', '2001-09-13') ON DUPLICATE KEY UPDATE series = 1, number = 215, title = 'Okutank and Teppouo! Whirlpool Cup Preliminaries!!', airdate = LEAST(airdate, '2001-09-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP215', 1, 215, 'Octillery The Outcast', '2002-10-19') ON DUPLICATE KEY UPDATE season = 1, number = 215, title = 'Octillery The Outcast', airdate = LEAST(airdate, '2002-10-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP216', 1, 216, 'Whirlpool Cup! A Big Battle in the Water Colosseum!!', '2001-09-20') ON DUPLICATE KEY UPDATE series = 1, number = 216, title = 'Whirlpool Cup! A Big Battle in the Water Colosseum!!', airdate = LEAST(airdate, '2001-09-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP216', 1, 216, 'Dueling Heroes', '2002-10-26') ON DUPLICATE KEY UPDATE season = 1, number = 216, title = 'Dueling Heroes', airdate = LEAST(airdate, '2002-10-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP217', 1, 217, 'Satoshi VS Kasumi! The Final Battle in the Whirlpool Cup!!', '2001-09-27') ON DUPLICATE KEY UPDATE series = 1, number = 217, title = 'Satoshi VS Kasumi! The Final Battle in the Whirlpool Cup!!', airdate = LEAST(airdate, '2001-09-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP217', 1, 217, 'The Perfect Match!', '2002-11-02') ON DUPLICATE KEY UPDATE season = 1, number = 217, title = 'The Perfect Match!', airdate = LEAST(airdate, '2002-11-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP218', 1, 218, 'Protect the Digda Village! The Big Pitfall Strategy!?', '2001-10-04') ON DUPLICATE KEY UPDATE series = 1, number = 218, title = 'Protect the Digda Village! The Big Pitfall Strategy!?', airdate = LEAST(airdate, '2001-10-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP218', 1, 218, 'Plant It Now... Diglett Later', '2002-11-09') ON DUPLICATE KEY UPDATE season = 1, number = 218, title = 'Plant It Now... Diglett Later', airdate = LEAST(airdate, '2002-11-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP219', 1, 219, 'The Legend of Silver Wings! Battle at Gingan Isle!!', '2001-10-11') ON DUPLICATE KEY UPDATE series = 1, number = 219, title = 'The Legend of Silver Wings! Battle at Gingan Isle!!', airdate = LEAST(airdate, '2001-10-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP219', 1, 219, 'Hi Ho Silver... Away!', '2002-11-16') ON DUPLICATE KEY UPDATE season = 1, number = 219, title = 'Hi Ho Silver... Away!', airdate = LEAST(airdate, '2002-11-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP220', 1, 220, 'Mysterious Pokémon X!!', '2001-10-18') ON DUPLICATE KEY UPDATE series = 1, number = 220, title = 'Mysterious Pokémon X!!', airdate = LEAST(airdate, '2001-10-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP220', 1, 220, 'The Mystery is History', '2002-11-23') ON DUPLICATE KEY UPDATE season = 1, number = 220, title = 'The Mystery is History', airdate = LEAST(airdate, '2002-11-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP221', 1, 221, 'Captive Lugia', '2001-10-25') ON DUPLICATE KEY UPDATE series = 1, number = 221, title = 'Captive Lugia', airdate = LEAST(airdate, '2001-10-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP221', 1, 221, 'A Parent Trapped!', '2002-11-30') ON DUPLICATE KEY UPDATE season = 1, number = 221, title = 'A Parent Trapped!', airdate = LEAST(airdate, '2002-11-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP222', 1, 222, 'The Promise with Lugia!', '2001-11-01') ON DUPLICATE KEY UPDATE series = 1, number = 222, title = 'The Promise with Lugia!', airdate = LEAST(airdate, '2001-11-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP222', 1, 222, 'A Promise is a Promise', '2002-12-07') ON DUPLICATE KEY UPDATE season = 1, number = 222, title = 'A Promise is a Promise', airdate = LEAST(airdate, '2002-12-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP223', 1, 223, 'Fly Flight Hoho! Head for Asagi!!', '2001-11-08') ON DUPLICATE KEY UPDATE series = 1, number = 223, title = 'Fly Flight Hoho! Head for Asagi!!', airdate = LEAST(airdate, '2001-11-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP223', 1, 223, 'Throwing in the Noctowl', '2002-12-14') ON DUPLICATE KEY UPDATE season = 1, number = 223, title = 'Throwing in the Noctowl', airdate = LEAST(airdate, '2002-12-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP224', 1, 224, 'Asagi Gym! VS Haganeil!!', '2001-11-15') ON DUPLICATE KEY UPDATE series = 1, number = 224, title = 'Asagi Gym! VS Haganeil!!', airdate = LEAST(airdate, '2001-11-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP224', 1, 224, 'Nerves of Steelix!', '2002-12-21') ON DUPLICATE KEY UPDATE season = 1, number = 224, title = 'Nerves of Steelix!', airdate = LEAST(airdate, '2002-12-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP225', 1, 225, 'Farewell Fushigidane! Adventure at Dr. Okido\'s!!', '2001-11-22') ON DUPLICATE KEY UPDATE series = 1, number = 225, title = 'Farewell Fushigidane! Adventure at Dr. Okido\'s!!', airdate = LEAST(airdate, '2001-11-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP225', 1, 225, 'Bulbasaur... the Ambassador!', '2002-09-23') ON DUPLICATE KEY UPDATE season = 1, number = 225, title = 'Bulbasaur... the Ambassador!', airdate = LEAST(airdate, '2002-09-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP226', 1, 226, 'Eifie and Sakura! Enju City Once Again!!', '2001-11-29') ON DUPLICATE KEY UPDATE series = 1, number = 226, title = 'Eifie and Sakura! Enju City Once Again!!', airdate = LEAST(airdate, '2001-11-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP226', 1, 226, 'Espeon, Not Included', '2002-09-24') ON DUPLICATE KEY UPDATE season = 1, number = 226, title = 'Espeon, Not Included', airdate = LEAST(airdate, '2002-09-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP227', 1, 227, 'Suicune and Minaki! The Legend of Houou!!', '2001-12-06') ON DUPLICATE KEY UPDATE series = 1, number = 227, title = 'Suicune and Minaki! The Legend of Houou!!', airdate = LEAST(airdate, '2001-12-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP227', 1, 227, 'For Ho-Oh the Bells Toll!', '2002-09-25') ON DUPLICATE KEY UPDATE season = 1, number = 227, title = 'For Ho-Oh the Bells Toll!', airdate = LEAST(airdate, '2002-09-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP228', 1, 228, 'Run Quickly Along the Pokémon Ride!!', '2001-12-13') ON DUPLICATE KEY UPDATE series = 1, number = 228, title = 'Run Quickly Along the Pokémon Ride!!', airdate = LEAST(airdate, '2001-12-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP228', 1, 228, 'Extreme Pokémon!', '2003-01-04') ON DUPLICATE KEY UPDATE season = 1, number = 228, title = 'Extreme Pokémon!', airdate = LEAST(airdate, '2003-01-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP229', 1, 229, 'Famous Detective Junsar! The Mystery of the Egg that Disappeared!!', '2001-12-20') ON DUPLICATE KEY UPDATE series = 1, number = 229, title = 'Famous Detective Junsar! The Mystery of the Egg that Disappeared!!', airdate = LEAST(airdate, '2001-12-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP229', 1, 229, 'An EGG-sighting Adventure!', '2003-01-11') ON DUPLICATE KEY UPDATE season = 1, number = 229, title = 'An EGG-sighting Adventure!', airdate = LEAST(airdate, '2003-01-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP230', 1, 230, 'Egg, Hatch', '2001-12-27') ON DUPLICATE KEY UPDATE series = 1, number = 230, title = 'Egg, Hatch', airdate = LEAST(airdate, '2001-12-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP230', 1, 230, 'Hatching a Plan', '2003-01-18') ON DUPLICATE KEY UPDATE season = 1, number = 230, title = 'Hatching a Plan', airdate = LEAST(airdate, '2003-01-18');
INSERT INTO episodes (code, title, airdate) VALUES ('TV02', 'Pocket Monsters Crystal: Raikou - The Legend of Thunder', '2001-12-30') ON DUPLICATE KEY UPDATE title = 'Pocket Monsters Crystal: Raikou - The Legend of Thunder', airdate = LEAST(airdate, '2001-12-30');
INSERT INTO dubs (code, title, airdate) VALUES ('TV02', 'The Legend of Thunder!', '2006-06-03') ON DUPLICATE KEY UPDATE title = 'The Legend of Thunder!', airdate = LEAST(airdate, '2006-06-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP231', 1, 231, 'Rocket-dan and Delibird!', '2002-01-10') ON DUPLICATE KEY UPDATE series = 1, number = 231, title = 'Rocket-dan and Delibird!', airdate = LEAST(airdate, '2002-01-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP231', 1, 231, 'Dues and Don\'ts', '2003-01-25') ON DUPLICATE KEY UPDATE season = 1, number = 231, title = 'Dues and Don\'ts', airdate = LEAST(airdate, '2003-01-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP232', 1, 232, 'The Kyukon in the Fog!', '2002-01-17') ON DUPLICATE KEY UPDATE series = 1, number = 232, title = 'The Kyukon in the Fog!', airdate = LEAST(airdate, '2002-01-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP232', 1, 232, 'Just Waiting On a Friend', '2002-09-26') ON DUPLICATE KEY UPDATE season = 1, number = 232, title = 'Just Waiting On a Friend', airdate = LEAST(airdate, '2002-09-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP233', 1, 233, 'Balkie and the Karate King Nobuhiko!', '2002-01-24') ON DUPLICATE KEY UPDATE series = 1, number = 233, title = 'Balkie and the Karate King Nobuhiko!', airdate = LEAST(airdate, '2002-01-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP233', 1, 233, 'A Tyrogue Full of Trouble', '2003-02-01') ON DUPLICATE KEY UPDATE season = 1, number = 233, title = 'A Tyrogue Full of Trouble', airdate = LEAST(airdate, '2003-02-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP234', 1, 234, 'Natio\'s Big Prediction!', '2002-01-31') ON DUPLICATE KEY UPDATE series = 1, number = 234, title = 'Natio\'s Big Prediction!', airdate = LEAST(airdate, '2002-01-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP234', 1, 234, 'Xatu the Future', '2003-02-08') ON DUPLICATE KEY UPDATE season = 1, number = 234, title = 'Xatu the Future', airdate = LEAST(airdate, '2003-02-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP235', 1, 235, 'Wataru and the Red Gyarados!', '2002-02-07') ON DUPLICATE KEY UPDATE series = 1, number = 235, title = 'Wataru and the Red Gyarados!', airdate = LEAST(airdate, '2002-02-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP235', 1, 235, 'Talkin\' \'Bout an Evolution', '2003-02-15') ON DUPLICATE KEY UPDATE season = 1, number = 235, title = 'Talkin\' \'Bout an Evolution', airdate = LEAST(airdate, '2003-02-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP236', 1, 236, 'Red Gyarados\'s Anger!', '2002-02-14') ON DUPLICATE KEY UPDATE series = 1, number = 236, title = 'Red Gyarados\'s Anger!', airdate = LEAST(airdate, '2002-02-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP236', 1, 236, 'Rage of Innocence', '2003-02-22') ON DUPLICATE KEY UPDATE season = 1, number = 236, title = 'Rage of Innocence', airdate = LEAST(airdate, '2003-02-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP237', 1, 237, 'Inomoo and Yanagi of the Winter!', '2002-02-21') ON DUPLICATE KEY UPDATE series = 1, number = 237, title = 'Inomoo and Yanagi of the Winter!', airdate = LEAST(airdate, '2002-02-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP237', 1, 237, 'As Cold as Pryce', '2003-03-01') ON DUPLICATE KEY UPDATE season = 1, number = 237, title = 'As Cold as Pryce', airdate = LEAST(airdate, '2003-03-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP238', 1, 238, 'Chōji Gym! Ice Battle!', '2002-02-28') ON DUPLICATE KEY UPDATE series = 1, number = 238, title = 'Chōji Gym! Ice Battle!', airdate = LEAST(airdate, '2002-02-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP238', 1, 238, 'Nice Pryce, Baby!', '2003-03-08') ON DUPLICATE KEY UPDATE season = 1, number = 238, title = 'Nice Pryce, Baby!', airdate = LEAST(airdate, '2003-03-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP239', 1, 239, 'Kireihana and Ruffresia! Peace in Meadow!', '2002-03-07') ON DUPLICATE KEY UPDATE series = 1, number = 239, title = 'Kireihana and Ruffresia! Peace in Meadow!', airdate = LEAST(airdate, '2002-03-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP239', 1, 239, 'Whichever Way the Wind Blows', '2003-03-22') ON DUPLICATE KEY UPDATE season = 1, number = 239, title = 'Whichever Way the Wind Blows', airdate = LEAST(airdate, '2003-03-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP240', 1, 240, 'Magcargot! Getting the Hot Heart!!', '2002-03-14') ON DUPLICATE KEY UPDATE series = 1, number = 240, title = 'Magcargot! Getting the Hot Heart!!', airdate = LEAST(airdate, '2002-03-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP240', 1, 240, 'Some Like it Hot', '2003-03-29') ON DUPLICATE KEY UPDATE season = 1, number = 240, title = 'Some Like it Hot', airdate = LEAST(airdate, '2003-03-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP241', 1, 241, 'A Huge Transformation with Pokémon Magic!?', '2002-03-21') ON DUPLICATE KEY UPDATE series = 1, number = 241, title = 'A Huge Transformation with Pokémon Magic!?', airdate = LEAST(airdate, '2002-03-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP241', 1, 241, 'Hocus Pokémon', '2003-04-05') ON DUPLICATE KEY UPDATE season = 1, number = 241, title = 'Hocus Pokémon', airdate = LEAST(airdate, '2003-04-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP242', 1, 242, 'Thunder and the Crystal! Secret of the Lake!', '2002-03-28') ON DUPLICATE KEY UPDATE series = 1, number = 242, title = 'Thunder and the Crystal! Secret of the Lake!', airdate = LEAST(airdate, '2002-03-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP242', 1, 242, 'As Clear as Crystal', '2003-04-12') ON DUPLICATE KEY UPDATE season = 1, number = 242, title = 'As Clear as Crystal', airdate = LEAST(airdate, '2003-04-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP243', 1, 243, 'Pupurin Twins VS Purin! Singing Pokémon Concert!', '2002-04-11') ON DUPLICATE KEY UPDATE series = 1, number = 243, title = 'Pupurin Twins VS Purin! Singing Pokémon Concert!', airdate = LEAST(airdate, '2002-04-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP243', 1, 243, 'Same Old Song and Dance', '2003-04-19') ON DUPLICATE KEY UPDATE season = 1, number = 243, title = 'Same Old Song and Dance', airdate = LEAST(airdate, '2003-04-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP244', 1, 244, 'Yadon\'s Comprehension! Satoshi\'s Comprehension!', '2002-04-18') ON DUPLICATE KEY UPDATE series = 1, number = 244, title = 'Yadon\'s Comprehension! Satoshi\'s Comprehension!', airdate = LEAST(airdate, '2002-04-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP244', 1, 244, 'Enlighten Up!', '2003-04-26') ON DUPLICATE KEY UPDATE season = 1, number = 244, title = 'Enlighten Up!', airdate = LEAST(airdate, '2003-04-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP245', 1, 245, 'False Okido!? Pokémon Senryū Confrontation!!', '2002-04-25') ON DUPLICATE KEY UPDATE series = 1, number = 245, title = 'False Okido!? Pokémon Senryū Confrontation!!', airdate = LEAST(airdate, '2002-04-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP245', 1, 245, 'Will the Real Oak Please Stand Up?', '2002-09-27') ON DUPLICATE KEY UPDATE season = 1, number = 245, title = 'Will the Real Oak Please Stand Up?', airdate = LEAST(airdate, '2002-09-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP246', 1, 246, 'Py and Pippy and the Shooting Star!', '2002-05-02') ON DUPLICATE KEY UPDATE series = 1, number = 246, title = 'Py and Pippy and the Shooting Star!', airdate = LEAST(airdate, '2002-05-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP246', 1, 246, 'Wish Upon a Star Shape', '2003-05-03') ON DUPLICATE KEY UPDATE season = 1, number = 246, title = 'Wish Upon a Star Shape', airdate = LEAST(airdate, '2003-05-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP247', 1, 247, 'Nyorozo\'s Evolution!', '2002-05-09') ON DUPLICATE KEY UPDATE series = 1, number = 247, title = 'Nyorozo\'s Evolution!', airdate = LEAST(airdate, '2002-05-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP247', 1, 247, 'Outrageous Fortunes', '2003-05-10') ON DUPLICATE KEY UPDATE season = 1, number = 247, title = 'Outrageous Fortunes', airdate = LEAST(airdate, '2003-05-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP248', 1, 248, 'Battle Park! VS Kamex - Lizardon - Fushigibana!', '2002-05-16') ON DUPLICATE KEY UPDATE series = 1, number = 248, title = 'Battle Park! VS Kamex - Lizardon - Fushigibana!', airdate = LEAST(airdate, '2002-05-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP248', 1, 248, 'One Trick Phony!', '2003-05-17') ON DUPLICATE KEY UPDATE season = 1, number = 248, title = 'One Trick Phony!', airdate = LEAST(airdate, '2003-05-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP249', 1, 249, 'Nyorotono\'s Cheerleading!', '2002-05-23') ON DUPLICATE KEY UPDATE series = 1, number = 249, title = 'Nyorotono\'s Cheerleading!', airdate = LEAST(airdate, '2002-05-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP249', 1, 249, 'I Politoed Ya So!', '2003-05-24') ON DUPLICATE KEY UPDATE season = 1, number = 249, title = 'I Politoed Ya So!', airdate = LEAST(airdate, '2003-05-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP250', 1, 250, 'The Ice Cave!', '2002-05-30') ON DUPLICATE KEY UPDATE series = 1, number = 250, title = 'The Ice Cave!', airdate = LEAST(airdate, '2002-05-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP251', 1, 251, 'Ibuki and Miniryu!', '2002-06-06') ON DUPLICATE KEY UPDATE series = 1, number = 251, title = 'Ibuki and Miniryu!', airdate = LEAST(airdate, '2002-06-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP251', 1, 250, 'Beauty is Skin Deep', '2003-05-31') ON DUPLICATE KEY UPDATE season = 1, number = 250, title = 'Beauty is Skin Deep', airdate = LEAST(airdate, '2003-05-31');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP252', 1, 252, 'Fusube Gym\'s Dragon\'s Fang!', '2002-06-13') ON DUPLICATE KEY UPDATE series = 1, number = 252, title = 'Fusube Gym\'s Dragon\'s Fang!', airdate = LEAST(airdate, '2002-06-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP252', 1, 251, 'Fangs for Nothin\'', '2003-06-07') ON DUPLICATE KEY UPDATE season = 1, number = 251, title = 'Fangs for Nothin\'', airdate = LEAST(airdate, '2003-06-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP253', 1, 253, 'Kairyu! Activate Imperial Rage!', '2002-06-20') ON DUPLICATE KEY UPDATE series = 1, number = 253, title = 'Kairyu! Activate Imperial Rage!', airdate = LEAST(airdate, '2002-06-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP253', 1, 252, 'Great Bowls of Fire!', '2003-06-14') ON DUPLICATE KEY UPDATE season = 1, number = 252, title = 'Great Bowls of Fire!', airdate = LEAST(airdate, '2003-06-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP254', 1, 254, 'Fusube Gym! The Final Badge!!', '2002-06-27') ON DUPLICATE KEY UPDATE series = 1, number = 254, title = 'Fusube Gym! The Final Badge!!', airdate = LEAST(airdate, '2002-06-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP254', 1, 253, 'Better Eight Than Never', '2003-06-21') ON DUPLICATE KEY UPDATE season = 1, number = 253, title = 'Better Eight Than Never', airdate = LEAST(airdate, '2003-06-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP255', 1, 255, 'Sohnano!? Gym Badges and Sonans!!', '2002-07-04') ON DUPLICATE KEY UPDATE series = 1, number = 255, title = 'Sohnano!? Gym Badges and Sonans!!', airdate = LEAST(airdate, '2002-07-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP255', 1, 254, 'Why? Wynaut!', '2003-06-28') ON DUPLICATE KEY UPDATE season = 1, number = 254, title = 'Why? Wynaut!', airdate = LEAST(airdate, '2003-06-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP256', 1, 256, 'Ryūgū Gym! Battle in the Water!', '2002-07-11') ON DUPLICATE KEY UPDATE series = 1, number = 256, title = 'Ryūgū Gym! Battle in the Water!', airdate = LEAST(airdate, '2002-07-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP256', 1, 255, 'Just Add Water', '2003-07-12') ON DUPLICATE KEY UPDATE season = 1, number = 255, title = 'Just Add Water', airdate = LEAST(airdate, '2003-07-12');
INSERT INTO episodes (code, title, airdate) VALUES ('PK11', 'Pikapika Starry Sky Camp', '2002-07-13') ON DUPLICATE KEY UPDATE title = 'Pikapika Starry Sky Camp', airdate = LEAST(airdate, '2002-07-13');
INSERT INTO dubs (code, title, airdate) VALUES ('PK11', 'Camp Pikachu', '2004-01-20') ON DUPLICATE KEY UPDATE title = 'Camp Pikachu', airdate = LEAST(airdate, '2004-01-20');
INSERT INTO episodes (code, title, airdate) VALUES ('M05', 'Guardian Gods of the City of Water: Latias and Latios', '2002-07-13') ON DUPLICATE KEY UPDATE title = 'Guardian Gods of the City of Water: Latias and Latios', airdate = LEAST(airdate, '2002-07-13');
INSERT INTO dubs (code, title, airdate) VALUES ('M05', 'Pokémon Heroes: Latios & Latias', '2003-05-16') ON DUPLICATE KEY UPDATE title = 'Pokémon Heroes: Latios & Latias', airdate = LEAST(airdate, '2003-05-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP257', 1, 257, 'Laplace\'s Song!', '2002-07-18') ON DUPLICATE KEY UPDATE series = 1, number = 257, title = 'Laplace\'s Song!', airdate = LEAST(airdate, '2002-07-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP257', 1, 256, 'Lapras of Luxury', '2003-07-26') ON DUPLICATE KEY UPDATE season = 1, number = 256, title = 'Lapras of Luxury', airdate = LEAST(airdate, '2003-07-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP258', 1, 258, 'Protecting the Egg! The Life Born in a Storm!', '2002-07-25') ON DUPLICATE KEY UPDATE series = 1, number = 258, title = 'Protecting the Egg! The Life Born in a Storm!', airdate = LEAST(airdate, '2002-07-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP258', 1, 257, 'Hatch Me If You Can', '2003-08-09') ON DUPLICATE KEY UPDATE season = 1, number = 257, title = 'Hatch Me If You Can', airdate = LEAST(airdate, '2003-08-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP259', 1, 259, 'Entei and Friends of the Hot Spring!', '2002-08-01') ON DUPLICATE KEY UPDATE series = 1, number = 259, title = 'Entei and Friends of the Hot Spring!', airdate = LEAST(airdate, '2002-08-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP259', 1, 258, 'Entei at Your Own Risk', '2003-08-16') ON DUPLICATE KEY UPDATE season = 1, number = 258, title = 'Entei at Your Own Risk', airdate = LEAST(airdate, '2003-08-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP260', 1, 260, 'Yadoking! King\'s Symbol!', '2002-08-08') ON DUPLICATE KEY UPDATE series = 1, number = 260, title = 'Yadoking! King\'s Symbol!', airdate = LEAST(airdate, '2002-08-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP260', 1, 259, 'A Crowning Achievement', '2003-08-23') ON DUPLICATE KEY UPDATE season = 1, number = 259, title = 'A Crowning Achievement', airdate = LEAST(airdate, '2003-08-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP261', 1, 261, 'Nanako and Elekid!', '2002-08-15') ON DUPLICATE KEY UPDATE series = 1, number = 261, title = 'Nanako and Elekid!', airdate = LEAST(airdate, '2002-08-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP261', 1, 260, 'Here\'s Lookin\' at You, Elekid', '2003-08-30') ON DUPLICATE KEY UPDATE season = 1, number = 260, title = 'Here\'s Lookin\' at You, Elekid', airdate = LEAST(airdate, '2003-08-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP262', 1, 262, 'Yogiras Does Its Best!', '2002-08-22') ON DUPLICATE KEY UPDATE series = 1, number = 262, title = 'Yogiras Does Its Best!', airdate = LEAST(airdate, '2002-08-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP262', 1, 261, 'You\'re a Star, Larvitar!', '2003-09-06') ON DUPLICATE KEY UPDATE season = 1, number = 261, title = 'You\'re a Star, Larvitar!', airdate = LEAST(airdate, '2003-09-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP263', 1, 263, 'Unknown of the Country of Mystery!', '2002-08-29') ON DUPLICATE KEY UPDATE series = 1, number = 263, title = 'Unknown of the Country of Mystery!', airdate = LEAST(airdate, '2002-08-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP263', 1, 262, 'Address Unown!', '2003-09-13') ON DUPLICATE KEY UPDATE season = 1, number = 262, title = 'Address Unown!', airdate = LEAST(airdate, '2003-09-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP264', 1, 264, 'Bangiras and Yogiras!', '2002-09-05') ON DUPLICATE KEY UPDATE series = 1, number = 264, title = 'Bangiras and Yogiras!', airdate = LEAST(airdate, '2002-09-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP264', 1, 263, 'Mother of All Battles', '2003-09-15') ON DUPLICATE KEY UPDATE season = 1, number = 263, title = 'Mother of All Battles', airdate = LEAST(airdate, '2003-09-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP265', 1, 265, 'Nyula and the Sacred Flame!', '2002-09-12') ON DUPLICATE KEY UPDATE series = 1, number = 265, title = 'Nyula and the Sacred Flame!', airdate = LEAST(airdate, '2002-09-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP265', 1, 264, 'Pop Goes The Sneasel', '2003-09-16') ON DUPLICATE KEY UPDATE season = 1, number = 264, title = 'Pop Goes The Sneasel', airdate = LEAST(airdate, '2003-09-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP266', 1, 266, 'Shirogane League Opening! Shigeru Again!', '2002-09-19') ON DUPLICATE KEY UPDATE series = 1, number = 266, title = 'Shirogane League Opening! Shigeru Again!', airdate = LEAST(airdate, '2002-09-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP266', 1, 265, 'A Claim to Flame!', '2003-09-17') ON DUPLICATE KEY UPDATE season = 1, number = 265, title = 'A Claim to Flame!', airdate = LEAST(airdate, '2003-09-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP267', 1, 267, 'League Preliminaries! Battle of the Magmarashi Flame!!', '2002-09-26') ON DUPLICATE KEY UPDATE series = 1, number = 267, title = 'League Preliminaries! Battle of the Magmarashi Flame!!', airdate = LEAST(airdate, '2002-09-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP267', 1, 266, 'Love, Pokémon Style', '2003-09-18') ON DUPLICATE KEY UPDATE season = 1, number = 266, title = 'Love, Pokémon Style', airdate = LEAST(airdate, '2003-09-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP268', 1, 268, 'Meganium VS Fushigidane! Spirit of the Grass Types!', '2002-10-03') ON DUPLICATE KEY UPDATE series = 1, number = 268, title = 'Meganium VS Fushigidane! Spirit of the Grass Types!', airdate = LEAST(airdate, '2002-10-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP268', 1, 267, 'Tie One On!', '2003-09-19') ON DUPLICATE KEY UPDATE season = 1, number = 267, title = 'Tie One On!', airdate = LEAST(airdate, '2003-09-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP269', 1, 269, 'League Finals! Full Battle 6 VS 6!!', '2002-10-10') ON DUPLICATE KEY UPDATE series = 1, number = 269, title = 'League Finals! Full Battle 6 VS 6!!', airdate = LEAST(airdate, '2002-10-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP269', 1, 268, 'The Ties That Bind', '2003-09-20') ON DUPLICATE KEY UPDATE season = 1, number = 268, title = 'The Ties That Bind', airdate = LEAST(airdate, '2003-09-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP270', 1, 270, 'Rival Confrontation! Kamex VS Lizardon!!', '2002-10-17') ON DUPLICATE KEY UPDATE series = 1, number = 270, title = 'Rival Confrontation! Kamex VS Lizardon!!', airdate = LEAST(airdate, '2002-10-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP270', 1, 269, 'Can\'t Beat the Heat!', '2003-09-27') ON DUPLICATE KEY UPDATE season = 1, number = 269, title = 'Can\'t Beat the Heat!', airdate = LEAST(airdate, '2003-09-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP271', 1, 271, 'Bursyamo Returns! Battle Against Hazuki!!', '2002-10-24') ON DUPLICATE KEY UPDATE series = 1, number = 271, title = 'Bursyamo Returns! Battle Against Hazuki!!', airdate = LEAST(airdate, '2002-10-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP271', 1, 270, 'Playing with Fire!', '2003-10-04') ON DUPLICATE KEY UPDATE season = 1, number = 270, title = 'Playing with Fire!', airdate = LEAST(airdate, '2003-10-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP272', 1, 272, 'To the End of the Full Battle! Each One\'s Way!', '2002-10-31') ON DUPLICATE KEY UPDATE series = 1, number = 272, title = 'To the End of the Full Battle! Each One\'s Way!', airdate = LEAST(airdate, '2002-10-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP272', 1, 271, 'Johto Photo Finish', '2003-10-11') ON DUPLICATE KEY UPDATE season = 1, number = 271, title = 'Johto Photo Finish', airdate = LEAST(airdate, '2003-10-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP273', 1, 273, 'Goodbye...and Then, Setting Off!', '2002-11-07') ON DUPLICATE KEY UPDATE series = 1, number = 273, title = 'Goodbye...and Then, Setting Off!', airdate = LEAST(airdate, '2002-11-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP273', 1, 272, 'Gotta Catch Ya Later!', '2003-10-18') ON DUPLICATE KEY UPDATE season = 1, number = 272, title = 'Gotta Catch Ya Later!', airdate = LEAST(airdate, '2003-10-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('EP274', 1, 274, 'Parting with Pikachu...!', '2002-11-14') ON DUPLICATE KEY UPDATE series = 1, number = 274, title = 'Parting with Pikachu...!', airdate = LEAST(airdate, '2002-11-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('EP274', 1, 273, 'Hoenn Alone!', '2003-10-25') ON DUPLICATE KEY UPDATE season = 1, number = 273, title = 'Hoenn Alone!', airdate = LEAST(airdate, '2003-10-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG001', 2, 1, 'A New Land! A New Adventure!!', '2002-11-21') ON DUPLICATE KEY UPDATE series = 2, number = 1, title = 'A New Land! A New Adventure!!', airdate = LEAST(airdate, '2002-11-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG001', 1, 274, 'Get the Show on the Road!', '2003-03-15') ON DUPLICATE KEY UPDATE season = 1, number = 274, title = 'Get the Show on the Road!', airdate = LEAST(airdate, '2003-03-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG002', 2, 2, 'Ancient Pokémon and the Mysterious Teams!', '2002-11-28') ON DUPLICATE KEY UPDATE series = 2, number = 2, title = 'Ancient Pokémon and the Mysterious Teams!', airdate = LEAST(airdate, '2002-11-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG002', 1, 275, 'A Ruin with a View', '2003-03-15') ON DUPLICATE KEY UPDATE season = 1, number = 275, title = 'A Ruin with a View', airdate = LEAST(airdate, '2003-03-15');
INSERT INTO episodes (code, title, airdate) VALUES ('SS001', 'Takeshi! Save Nibi Gym!', '2002-12-03') ON DUPLICATE KEY UPDATE title = 'Takeshi! Save Nibi Gym!', airdate = LEAST(airdate, '2002-12-03');
INSERT INTO dubs (code, title, airdate) VALUES ('SS001', 'A Family That Battles Together Stays Together!', '2006-06-24') ON DUPLICATE KEY UPDATE title = 'A Family That Battles Together Stays Together!', airdate = LEAST(airdate, '2006-06-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG003', 2, 3, 'Touka Gym! VS Yarukimono!', '2002-12-05') ON DUPLICATE KEY UPDATE series = 2, number = 3, title = 'Touka Gym! VS Yarukimono!', airdate = LEAST(airdate, '2002-12-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG003', 1, 276, 'There\'s no Place Like Hoenn', '2003-11-15') ON DUPLICATE KEY UPDATE season = 1, number = 276, title = 'There\'s no Place Like Hoenn', airdate = LEAST(airdate, '2003-11-15');
INSERT INTO episodes (code, title, airdate) VALUES ('SS002', 'Revenge Match at Hanada Gym', '2002-12-10') ON DUPLICATE KEY UPDATE title = 'Revenge Match at Hanada Gym', airdate = LEAST(airdate, '2002-12-10');
INSERT INTO dubs (code, title, airdate) VALUES ('SS002', 'Cerulean Blues', '2006-06-24') ON DUPLICATE KEY UPDATE title = 'Cerulean Blues', airdate = LEAST(airdate, '2006-06-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG004', 2, 4, 'A Lot of Subame, A Lot of Danger! Capture in Touka Woods!!', '2002-12-12') ON DUPLICATE KEY UPDATE series = 2, number = 4, title = 'A Lot of Subame, A Lot of Danger! Capture in Touka Woods!!', airdate = LEAST(airdate, '2002-12-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG004', 1, 277, 'You Never Can Taillow', '2003-11-22') ON DUPLICATE KEY UPDATE season = 1, number = 277, title = 'You Never Can Taillow', airdate = LEAST(airdate, '2003-11-22');
INSERT INTO episodes (code, title, airdate) VALUES ('SS003', 'Persevere! Look Forward, Rocket-dan', '2002-12-17') ON DUPLICATE KEY UPDATE title = 'Persevere! Look Forward, Rocket-dan', airdate = LEAST(airdate, '2002-12-17');
INSERT INTO dubs (code, title, airdate) VALUES ('SS003', 'We\'re No Angels!', '2006-07-01') ON DUPLICATE KEY UPDATE title = 'We\'re No Angels!', airdate = LEAST(airdate, '2006-07-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG005', 2, 5, 'Jiguzaguma and the Short-pantsed Boy! Haruka\'s First Battle!!', '2002-12-19') ON DUPLICATE KEY UPDATE series = 2, number = 5, title = 'Jiguzaguma and the Short-pantsed Boy! Haruka\'s First Battle!!', airdate = LEAST(airdate, '2002-12-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG005', 1, 278, 'In the Knicker of Time!', '2003-11-22') ON DUPLICATE KEY UPDATE season = 1, number = 278, title = 'In the Knicker of Time!', airdate = LEAST(airdate, '2003-11-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG006', 2, 6, 'Rocket-dan! A Fury Swipes Goodbye!!', '2002-12-26') ON DUPLICATE KEY UPDATE series = 2, number = 6, title = 'Rocket-dan! A Fury Swipes Goodbye!!', airdate = LEAST(airdate, '2002-12-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG006', 1, 279, 'A Poached Ego!', '2003-11-29') ON DUPLICATE KEY UPDATE season = 1, number = 279, title = 'A Poached Ego!', airdate = LEAST(airdate, '2003-11-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG007', 2, 7, 'Forest of Kimori! Protect the Gigantic Tree!!', '2003-01-09') ON DUPLICATE KEY UPDATE series = 2, number = 7, title = 'Forest of Kimori! Protect the Gigantic Tree!!', airdate = LEAST(airdate, '2003-01-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG007', 1, 280, 'Tree\'s a Crowd', '2003-11-29') ON DUPLICATE KEY UPDATE season = 1, number = 280, title = 'Tree\'s a Crowd', airdate = LEAST(airdate, '2003-11-29');
INSERT INTO episodes (code, title, airdate) VALUES ('SS004', 'Huge Battle at Okido Residence!!', '2003-01-14') ON DUPLICATE KEY UPDATE title = 'Huge Battle at Okido Residence!!', airdate = LEAST(airdate, '2003-01-14');
INSERT INTO dubs (code, title, airdate) VALUES ('SS004', 'Showdown at the Oak Corral', '2006-07-08') ON DUPLICATE KEY UPDATE title = 'Showdown at the Oak Corral', airdate = LEAST(airdate, '2006-07-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG008', 2, 8, 'Habunake VS Kimori! The Strike Offensive of Certain Kills!!', '2003-01-16') ON DUPLICATE KEY UPDATE series = 2, number = 8, title = 'Habunake VS Kimori! The Strike Offensive of Certain Kills!!', airdate = LEAST(airdate, '2003-01-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG008', 1, 281, 'A Tail with a Twist', '2003-12-06') ON DUPLICATE KEY UPDATE season = 1, number = 281, title = 'A Tail with a Twist', airdate = LEAST(airdate, '2003-12-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG009', 2, 9, 'Bizarre! Mystery of the Kinococo Mansion!?', '2003-01-23') ON DUPLICATE KEY UPDATE series = 2, number = 9, title = 'Bizarre! Mystery of the Kinococo Mansion!?', airdate = LEAST(airdate, '2003-01-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG009', 1, 282, 'Taming of the Shroomish', '2003-12-06') ON DUPLICATE KEY UPDATE season = 1, number = 282, title = 'Taming of the Shroomish', airdate = LEAST(airdate, '2003-12-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG010', 2, 10, 'The Greatest Pelipper Show in History!!', '2003-01-30') ON DUPLICATE KEY UPDATE series = 2, number = 10, title = 'The Greatest Pelipper Show in History!!', airdate = LEAST(airdate, '2003-01-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG010', 1, 283, 'You Said a Mouthful!', '2003-12-13') ON DUPLICATE KEY UPDATE season = 1, number = 283, title = 'You Said a Mouthful!', airdate = LEAST(airdate, '2003-12-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG011', 2, 11, 'Guraena and Pochiena! Mystery of Evolution!!', '2003-02-06') ON DUPLICATE KEY UPDATE series = 2, number = 11, title = 'Guraena and Pochiena! Mystery of Evolution!!', airdate = LEAST(airdate, '2003-02-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG011', 1, 284, 'A Bite to Remember', '2003-12-13') ON DUPLICATE KEY UPDATE season = 1, number = 284, title = 'A Bite to Remember', airdate = LEAST(airdate, '2003-12-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG012', 2, 12, 'Hassboh and the Three Sisters of the Flower Shop!', '2003-02-13') ON DUPLICATE KEY UPDATE series = 2, number = 12, title = 'Hassboh and the Three Sisters of the Flower Shop!', airdate = LEAST(airdate, '2003-02-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG012', 1, 285, 'The Lotad Lowdown', '2003-12-20') ON DUPLICATE KEY UPDATE season = 1, number = 285, title = 'The Lotad Lowdown', airdate = LEAST(airdate, '2003-12-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG013', 2, 13, 'Pokémon Contest! Agehunt\'s Magnificent Battle!!', '2003-02-20') ON DUPLICATE KEY UPDATE series = 2, number = 13, title = 'Pokémon Contest! Agehunt\'s Magnificent Battle!!', airdate = LEAST(airdate, '2003-02-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG013', 1, 286, 'All Things Bright and Beautifly!', '2003-12-27') ON DUPLICATE KEY UPDATE season = 1, number = 286, title = 'All Things Bright and Beautifly!', airdate = LEAST(airdate, '2003-12-27');
INSERT INTO episodes (code, title, airdate) VALUES ('SS005', 'Kasumi! Get the Blue Badge!!', '2003-02-25') ON DUPLICATE KEY UPDATE title = 'Kasumi! Get the Blue Badge!!', airdate = LEAST(airdate, '2003-02-25');
INSERT INTO dubs (code, title, airdate) VALUES ('SS005', 'The Blue Badge of Courage', '2006-07-22') ON DUPLICATE KEY UPDATE title = 'The Blue Badge of Courage', airdate = LEAST(airdate, '2006-07-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG014', 2, 14, 'Double Battle & Double Kemusso!?', '2003-02-27') ON DUPLICATE KEY UPDATE series = 2, number = 14, title = 'Double Battle & Double Kemusso!?', airdate = LEAST(airdate, '2003-02-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG014', 1, 287, 'All in a Day\'s Wurmple', '2004-01-03') ON DUPLICATE KEY UPDATE season = 1, number = 287, title = 'All in a Day\'s Wurmple', airdate = LEAST(airdate, '2004-01-03');
INSERT INTO episodes (code, title, airdate) VALUES ('SS006', 'The Millennium Town Meetup', '2003-03-04') ON DUPLICATE KEY UPDATE title = 'The Millennium Town Meetup', airdate = LEAST(airdate, '2003-03-04');
INSERT INTO dubs (code, title, airdate) VALUES ('SS006', 'Of Meowth and Pokémon (Part 1)', '2006-10-07') ON DUPLICATE KEY UPDATE title = 'Of Meowth and Pokémon (Part 1)', airdate = LEAST(airdate, '2006-10-07');
INSERT INTO episodes (code, title, airdate) VALUES ('SS007', 'Nyarth with a Part-Time Job!?', '2003-03-04') ON DUPLICATE KEY UPDATE title = 'Nyarth with a Part-Time Job!?', airdate = LEAST(airdate, '2003-03-04');
INSERT INTO dubs (code, title, airdate) VALUES ('SS007', 'Of Meowth and Pokémon (Part 2)', '2006-10-07') ON DUPLICATE KEY UPDATE title = 'Of Meowth and Pokémon (Part 2)', airdate = LEAST(airdate, '2006-10-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG015', 2, 15, 'Try to Study! Pokémon Trainer\'s School!!', '2003-03-06') ON DUPLICATE KEY UPDATE series = 2, number = 15, title = 'Try to Study! Pokémon Trainer\'s School!!', airdate = LEAST(airdate, '2003-03-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG015', 1, 288, 'Gonna Rule The School!', '2004-01-10') ON DUPLICATE KEY UPDATE season = 1, number = 288, title = 'Gonna Rule The School!', airdate = LEAST(airdate, '2004-01-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG016', 2, 16, 'Kanazumi Gym! Nosepass\'s Secret Weapon!!', '2003-03-13') ON DUPLICATE KEY UPDATE series = 2, number = 16, title = 'Kanazumi Gym! Nosepass\'s Secret Weapon!!', airdate = LEAST(airdate, '2003-03-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG016', 1, 289, 'The Winner by a Nosepass', '2004-01-10') ON DUPLICATE KEY UPDATE season = 1, number = 289, title = 'The Winner by a Nosepass', airdate = LEAST(airdate, '2004-01-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG017', 2, 17, 'Devon Corporation! Shadow of Aqua-dan!!', '2003-03-20') ON DUPLICATE KEY UPDATE series = 2, number = 17, title = 'Devon Corporation! Shadow of Aqua-dan!!', airdate = LEAST(airdate, '2003-03-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG017', 1, 290, 'Stairway to Devon', '2004-01-17') ON DUPLICATE KEY UPDATE season = 1, number = 290, title = 'Stairway to Devon', airdate = LEAST(airdate, '2004-01-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG018', 2, 18, 'Old Man Hagi and the Camome Peeko-chan!', '2003-03-27') ON DUPLICATE KEY UPDATE series = 2, number = 18, title = 'Old Man Hagi and the Camome Peeko-chan!', airdate = LEAST(airdate, '2003-03-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG018', 1, 291, 'On a Wingull and a Prayer!', '2004-01-24') ON DUPLICATE KEY UPDATE season = 1, number = 291, title = 'On a Wingull and a Prayer!', airdate = LEAST(airdate, '2004-01-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG019', 2, 19, 'Escape! Samehader Island!!', '2003-04-03') ON DUPLICATE KEY UPDATE series = 2, number = 19, title = 'Escape! Samehader Island!!', airdate = LEAST(airdate, '2003-04-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG019', 1, 292, 'Sharpedo Attack!', '2004-01-31') ON DUPLICATE KEY UPDATE season = 1, number = 292, title = 'Sharpedo Attack!', airdate = LEAST(airdate, '2004-01-31');
INSERT INTO episodes (code, title, airdate) VALUES ('SS008', 'A Pokémon Dragnet! Search for Dr. Okido!!', '2003-04-08') ON DUPLICATE KEY UPDATE title = 'A Pokémon Dragnet! Search for Dr. Okido!!', airdate = LEAST(airdate, '2003-04-08');
INSERT INTO dubs (code, title, airdate) VALUES ('SS008', 'Oaknapped!', '2006-07-29') ON DUPLICATE KEY UPDATE title = 'Oaknapped!', airdate = LEAST(airdate, '2006-07-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG020', 2, 20, 'Muro Gym! Enter Touki the Surfing Gym Leader!', '2003-04-10') ON DUPLICATE KEY UPDATE series = 2, number = 20, title = 'Muro Gym! Enter Touki the Surfing Gym Leader!', airdate = LEAST(airdate, '2003-04-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG020', 1, 293, 'Brave the Wave', '2004-02-07') ON DUPLICATE KEY UPDATE season = 1, number = 293, title = 'Brave the Wave', airdate = LEAST(airdate, '2004-02-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG021', 2, 21, 'Kemusso VS Kemusso! Which is Which!?', '2003-04-17') ON DUPLICATE KEY UPDATE series = 2, number = 21, title = 'Kemusso VS Kemusso! Which is Which!?', airdate = LEAST(airdate, '2003-04-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG021', 1, 294, 'Which Wurmple\'s Which?', '2004-02-14') ON DUPLICATE KEY UPDATE season = 1, number = 294, title = 'Which Wurmple\'s Which?', airdate = LEAST(airdate, '2004-02-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG022', 2, 22, 'Daigo, Cokodora, Bossgodora!', '2003-04-24') ON DUPLICATE KEY UPDATE series = 2, number = 22, title = 'Daigo, Cokodora, Bossgodora!', airdate = LEAST(airdate, '2003-04-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG022', 1, 295, 'A Hole Lotta Trouble', '2004-02-14') ON DUPLICATE KEY UPDATE season = 1, number = 295, title = 'A Hole Lotta Trouble', airdate = LEAST(airdate, '2004-02-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG023', 2, 23, 'Roughneck of the Sea, Heigani Enters!', '2003-05-01') ON DUPLICATE KEY UPDATE series = 2, number = 23, title = 'Roughneck of the Sea, Heigani Enters!', airdate = LEAST(airdate, '2003-05-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG023', 1, 296, 'Gone Corphishin\'', '2004-02-21') ON DUPLICATE KEY UPDATE season = 1, number = 296, title = 'Gone Corphishin\'', airdate = LEAST(airdate, '2004-02-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG024', 2, 24, 'Run Satoshi! Cross the Kibanha River!', '2003-05-08') ON DUPLICATE KEY UPDATE series = 2, number = 24, title = 'Run Satoshi! Cross the Kibanha River!', airdate = LEAST(airdate, '2003-05-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG024', 1, 297, 'A Corphish Out of Water', '2004-02-28') ON DUPLICATE KEY UPDATE season = 1, number = 297, title = 'A Corphish Out of Water', airdate = LEAST(airdate, '2004-02-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG025', 2, 25, 'Secret Pond! Full of Mizugorou!?', '2003-05-15') ON DUPLICATE KEY UPDATE series = 2, number = 25, title = 'Secret Pond! Full of Mizugorou!?', airdate = LEAST(airdate, '2003-05-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG025', 1, 298, 'A Mudkip Mission', '2004-03-13') ON DUPLICATE KEY UPDATE season = 1, number = 298, title = 'A Mudkip Mission', airdate = LEAST(airdate, '2004-03-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG026', 2, 26, 'Attack of the Konohana Family!', '2003-05-22') ON DUPLICATE KEY UPDATE series = 2, number = 26, title = 'Attack of the Konohana Family!', airdate = LEAST(airdate, '2003-05-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG026', 1, 299, 'Turning Over a Nuzleaf', '2004-04-03') ON DUPLICATE KEY UPDATE season = 1, number = 299, title = 'Turning Over a Nuzleaf', airdate = LEAST(airdate, '2004-04-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG027', 2, 27, 'Magma-dan VS Aqua-dan! Secret Base Battle!', '2003-05-29') ON DUPLICATE KEY UPDATE series = 2, number = 27, title = 'Magma-dan VS Aqua-dan! Secret Base Battle!', airdate = LEAST(airdate, '2003-05-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG027', 1, 300, 'A Three Team Scheme!', '2004-04-17') ON DUPLICATE KEY UPDATE season = 1, number = 300, title = 'A Three Team Scheme!', airdate = LEAST(airdate, '2004-04-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG028', 2, 28, 'Agehunt & Dokucale! The Final Evolution!', '2003-06-05') ON DUPLICATE KEY UPDATE series = 2, number = 28, title = 'Agehunt & Dokucale! The Final Evolution!', airdate = LEAST(airdate, '2003-06-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG028', 1, 301, 'Seeing is Believing!', '2004-04-24') ON DUPLICATE KEY UPDATE season = 1, number = 301, title = 'Seeing is Believing!', airdate = LEAST(airdate, '2004-04-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG029', 2, 29, 'The Startling Yamirami!', '2003-06-12') ON DUPLICATE KEY UPDATE series = 2, number = 29, title = 'The Startling Yamirami!', airdate = LEAST(airdate, '2003-06-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG029', 1, 302, 'Ready, Willing, and Sableye', '2004-05-01') ON DUPLICATE KEY UPDATE season = 1, number = 302, title = 'Ready, Willing, and Sableye', airdate = LEAST(airdate, '2004-05-01');
INSERT INTO episodes (code, title, airdate) VALUES ('SS009', 'Calling on Mysterious Detective Nyarth!', '2003-06-17') ON DUPLICATE KEY UPDATE title = 'Calling on Mysterious Detective Nyarth!', airdate = LEAST(airdate, '2003-06-17');
INSERT INTO dubs (code, title, airdate) VALUES ('SS009', 'Big Meowth, Little Dreams (Part 1)', '2006-10-21') ON DUPLICATE KEY UPDATE title = 'Big Meowth, Little Dreams (Part 1)', airdate = LEAST(airdate, '2006-10-21');
INSERT INTO episodes (code, title, airdate) VALUES ('SS010', 'Ruriri the Niece is a Great Nuisance?', '2003-06-17') ON DUPLICATE KEY UPDATE title = 'Ruriri the Niece is a Great Nuisance?', airdate = LEAST(airdate, '2003-06-17');
INSERT INTO dubs (code, title, airdate) VALUES ('SS010', 'Big Meowth, Little Dreams (Part 2)', '2006-10-21') ON DUPLICATE KEY UPDATE title = 'Big Meowth, Little Dreams (Part 2)', airdate = LEAST(airdate, '2006-10-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG030', 2, 30, 'Asanan and the Battle Girl! In a Storm!', '2003-06-19') ON DUPLICATE KEY UPDATE series = 2, number = 30, title = 'Asanan and the Battle Girl! In a Storm!', airdate = LEAST(airdate, '2003-06-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG030', 1, 303, 'A Meditite Fight!', '2004-05-08') ON DUPLICATE KEY UPDATE season = 1, number = 303, title = 'A Meditite Fight!', airdate = LEAST(airdate, '2004-05-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG031', 2, 31, 'Muro Gym Rematch! Surfing Battlefield!', '2003-06-26') ON DUPLICATE KEY UPDATE series = 2, number = 31, title = 'Muro Gym Rematch! Surfing Battlefield!', airdate = LEAST(airdate, '2003-06-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG031', 1, 304, 'Just One of the Geysers', '2004-05-15') ON DUPLICATE KEY UPDATE season = 1, number = 304, title = 'Just One of the Geysers', airdate = LEAST(airdate, '2004-05-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG032', 2, 32, 'The Abandoned Ship! The Creeping Shadow!!', '2003-07-03') ON DUPLICATE KEY UPDATE series = 2, number = 32, title = 'The Abandoned Ship! The Creeping Shadow!!', airdate = LEAST(airdate, '2003-07-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG032', 1, 305, 'Abandon Ship!', '2004-05-15') ON DUPLICATE KEY UPDATE season = 1, number = 305, title = 'Abandon Ship!', airdate = LEAST(airdate, '2004-05-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG033', 2, 33, 'A Rival For Haruka! Intensive Pokémon Contest Training!!', '2003-07-10') ON DUPLICATE KEY UPDATE series = 2, number = 33, title = 'A Rival For Haruka! Intensive Pokémon Contest Training!!', airdate = LEAST(airdate, '2003-07-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG033', 1, 306, 'Now That\'s Flower Power!', '2004-05-22') ON DUPLICATE KEY UPDATE season = 1, number = 306, title = 'Now That\'s Flower Power!', airdate = LEAST(airdate, '2004-05-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG034', 2, 34, 'The Great First Pokémon Panic!!', '2003-07-17') ON DUPLICATE KEY UPDATE series = 2, number = 34, title = 'The Great First Pokémon Panic!!', airdate = LEAST(airdate, '2003-07-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG034', 1, 307, 'Having a Wailord of a Time', '2004-05-22') ON DUPLICATE KEY UPDATE season = 1, number = 307, title = 'Having a Wailord of a Time', airdate = LEAST(airdate, '2004-05-22');
INSERT INTO episodes (code, title, airdate) VALUES ('UN09', 'We are the Pichu Brothers - The \'Great Party Uproar!\' Chapter', '2003-07-18') ON DUPLICATE KEY UPDATE title = 'We are the Pichu Brothers - The \'Great Party Uproar!\' Chapter', airdate = LEAST(airdate, '2003-07-18');
INSERT INTO dubs (code, title, airdate) VALUES ('UN09', 'Pichu Bros. in Party Panic', '2003-12-01') ON DUPLICATE KEY UPDATE title = 'Pichu Bros. in Party Panic', airdate = LEAST(airdate, '2003-12-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG035', 2, 35, 'Haruka! The First Pokémon Contest Challenge!!', '2003-07-24') ON DUPLICATE KEY UPDATE series = 2, number = 35, title = 'Haruka! The First Pokémon Contest Challenge!!', airdate = LEAST(airdate, '2003-07-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG035', 1, 308, 'Win, Lose or Drew!', '2004-05-29') ON DUPLICATE KEY UPDATE season = 1, number = 308, title = 'Win, Lose or Drew!', airdate = LEAST(airdate, '2004-05-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG036', 2, 36, 'Protect the Ocean Museum! Attack of Magma-dan!!', '2003-07-31') ON DUPLICATE KEY UPDATE series = 2, number = 36, title = 'Protect the Ocean Museum! Attack of Magma-dan!!', airdate = LEAST(airdate, '2003-07-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG036', 1, 309, 'The Spheal of Approval', '2004-05-29') ON DUPLICATE KEY UPDATE season = 1, number = 309, title = 'The Spheal of Approval', airdate = LEAST(airdate, '2004-05-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG037', 2, 37, 'Beauty and the Beast!? Dirteng and Joy-san!', '2003-08-07') ON DUPLICATE KEY UPDATE series = 2, number = 37, title = 'Beauty and the Beast!? Dirteng and Joy-san!', airdate = LEAST(airdate, '2003-08-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG037', 1, 310, 'Jump for Joy!', '2004-08-27') ON DUPLICATE KEY UPDATE season = 1, number = 310, title = 'Jump for Joy!', airdate = LEAST(airdate, '2004-08-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG038', 2, 38, 'Prasle and Minun! The Mountain Lighthouse!!', '2003-08-14') ON DUPLICATE KEY UPDATE series = 2, number = 38, title = 'Prasle and Minun! The Mountain Lighthouse!!', airdate = LEAST(airdate, '2003-08-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG038', 1, 311, 'A Different Kind of Misty!', '2004-08-27') ON DUPLICATE KEY UPDATE season = 1, number = 311, title = 'A Different Kind of Misty!', airdate = LEAST(airdate, '2004-08-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG039', 2, 39, 'Sing! Pokémon Trick House!!', '2003-08-21') ON DUPLICATE KEY UPDATE series = 2, number = 39, title = 'Sing! Pokémon Trick House!!', airdate = LEAST(airdate, '2003-08-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG039', 1, 312, 'A Poké-BLOCK Party!', '2004-09-04') ON DUPLICATE KEY UPDATE season = 1, number = 312, title = 'A Poké-BLOCK Party!', airdate = LEAST(airdate, '2004-09-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG040', 2, 40, 'Kinsetsu Gym! Tessen\'s Electric Shock Battle!!', '2003-08-28') ON DUPLICATE KEY UPDATE series = 2, number = 40, title = 'Kinsetsu Gym! Tessen\'s Electric Shock Battle!!', airdate = LEAST(airdate, '2003-08-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG040', 1, 313, 'Watt\'s with Wattson?', '2004-09-04') ON DUPLICATE KEY UPDATE season = 1, number = 313, title = 'Watt\'s with Wattson?', airdate = LEAST(airdate, '2004-09-04');
INSERT INTO episodes (code, title, airdate) VALUES ('SS011', 'Kasumi\'s Earnest Struggle! Life or Death!?', '2003-09-02') ON DUPLICATE KEY UPDATE title = 'Kasumi\'s Earnest Struggle! Life or Death!?', airdate = LEAST(airdate, '2003-09-02');
INSERT INTO dubs (code, title, airdate) VALUES ('SS011', 'A Date with Delcatty', '2006-08-05') ON DUPLICATE KEY UPDATE title = 'A Date with Delcatty', airdate = LEAST(airdate, '2006-08-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG041', 2, 41, 'Kimori\'s New Technique!! Watermelon Field\'s Seed Machine Gun!', '2003-09-04') ON DUPLICATE KEY UPDATE series = 2, number = 41, title = 'Kimori\'s New Technique!! Watermelon Field\'s Seed Machine Gun!', airdate = LEAST(airdate, '2003-09-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG041', 1, 314, 'What You Seed is What You Get', '2004-09-11') ON DUPLICATE KEY UPDATE season = 1, number = 314, title = 'What You Seed is What You Get', airdate = LEAST(airdate, '2004-09-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG042', 2, 42, 'Barubeat and Illumise! Dance of Love!', '2003-09-11') ON DUPLICATE KEY UPDATE series = 2, number = 42, title = 'Barubeat and Illumise! Dance of Love!', airdate = LEAST(airdate, '2003-09-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG042', 1, 315, 'Love at First Flight', '2004-10-16') ON DUPLICATE KEY UPDATE season = 1, number = 315, title = 'Love at First Flight', airdate = LEAST(airdate, '2004-10-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG043', 2, 43, 'Fly Tatsubay! Towards the Future!!', '2003-09-18') ON DUPLICATE KEY UPDATE series = 2, number = 43, title = 'Fly Tatsubay! Towards the Future!!', airdate = LEAST(airdate, '2003-09-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG043', 1, 316, 'Let Bagons Be Bagons', '2004-09-18') ON DUPLICATE KEY UPDATE season = 1, number = 316, title = 'Let Bagons Be Bagons', airdate = LEAST(airdate, '2004-09-18');
INSERT INTO episodes (code, title, airdate) VALUES ('SS012', 'Rocket-dan: The Origin of Love and Youth', '2003-09-30') ON DUPLICATE KEY UPDATE title = 'Rocket-dan: The Origin of Love and Youth', airdate = LEAST(airdate, '2003-09-30');
INSERT INTO dubs (code, title, airdate) VALUES ('SS012', 'Training Daze', '2006-08-19') ON DUPLICATE KEY UPDATE title = 'Training Daze', airdate = LEAST(airdate, '2006-08-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG044', 2, 44, 'Enter Kasumi! Togepy and the Mirage Kingdom!!', '2003-09-25') ON DUPLICATE KEY UPDATE series = 2, number = 44, title = 'Enter Kasumi! Togepy and the Mirage Kingdom!!', airdate = LEAST(airdate, '2003-09-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG044', 1, 317, 'The Princess and the Togepi', '2004-09-25') ON DUPLICATE KEY UPDATE season = 1, number = 317, title = 'The Princess and the Togepi', airdate = LEAST(airdate, '2004-09-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG045', 2, 45, 'Other Side of the Mirage! Togepy\'s Paradise!', '2003-10-02') ON DUPLICATE KEY UPDATE series = 2, number = 45, title = 'Other Side of the Mirage! Togepy\'s Paradise!', airdate = LEAST(airdate, '2003-10-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG045', 1, 318, 'A Togepi Mirage!', '2004-10-02') ON DUPLICATE KEY UPDATE season = 1, number = 318, title = 'A Togepi Mirage!', airdate = LEAST(airdate, '2004-10-02');
INSERT INTO episodes (code, title, airdate) VALUES ('SS013', 'Yet Another Legend of Celebi', '2003-10-07') ON DUPLICATE KEY UPDATE title = 'Yet Another Legend of Celebi', airdate = LEAST(airdate, '2003-10-07');
INSERT INTO dubs (code, title, airdate) VALUES ('SS013', 'Celebi and Joy!', '2006-08-12') ON DUPLICATE KEY UPDATE title = 'Celebi and Joy!', airdate = LEAST(airdate, '2006-08-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG046', 2, 46, 'Kachinuki Family! 4 VS 4!!', '2003-10-09') ON DUPLICATE KEY UPDATE series = 2, number = 46, title = 'Kachinuki Family! 4 VS 4!!', airdate = LEAST(airdate, '2003-10-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG046', 1, 319, 'Candid Camerupt!', '2004-10-09') ON DUPLICATE KEY UPDATE season = 1, number = 319, title = 'Candid Camerupt!', airdate = LEAST(airdate, '2004-10-09');
INSERT INTO episodes (code, title, airdate) VALUES ('PK12', 'Secret Base of the Dancing Pokémon', '2003-07-19') ON DUPLICATE KEY UPDATE title = 'Secret Base of the Dancing Pokémon', airdate = LEAST(airdate, '2003-07-19');
INSERT INTO dubs (code, title, airdate) VALUES ('PK12', 'Gotta Dance!!', '2004-06-01') ON DUPLICATE KEY UPDATE title = 'Gotta Dance!!', airdate = LEAST(airdate, '2004-06-01');
INSERT INTO episodes (code, title, airdate) VALUES ('M06', 'Wishing Star of the Seven Nights: Jirachi', '2003-07-19') ON DUPLICATE KEY UPDATE title = 'Wishing Star of the Seven Nights: Jirachi', airdate = LEAST(airdate, '2003-07-19');
INSERT INTO dubs (code, title, airdate) VALUES ('M06', 'Jirachi: Wish Maker', '2004-06-01') ON DUPLICATE KEY UPDATE title = 'Jirachi: Wish Maker', airdate = LEAST(airdate, '2004-06-01');
INSERT INTO episodes (code, title, airdate) VALUES ('SS014', 'Masara Town, Pokémon Trainer\'s Journey Begins', '2003-10-14') ON DUPLICATE KEY UPDATE title = 'Masara Town, Pokémon Trainer\'s Journey Begins', airdate = LEAST(airdate, '2003-10-14');
INSERT INTO dubs (code, title, airdate) VALUES ('SS014', 'Journey to the Starting Line!', '2006-08-26') ON DUPLICATE KEY UPDATE title = 'Journey to the Starting Line!', airdate = LEAST(airdate, '2006-08-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG047', 2, 47, 'Eneco and Aromatherapy!', '2003-10-16') ON DUPLICATE KEY UPDATE series = 2, number = 47, title = 'Eneco and Aromatherapy!', airdate = LEAST(airdate, '2003-10-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG047', 1, 320, 'I Feel Skitty!', '2004-10-23') ON DUPLICATE KEY UPDATE season = 1, number = 320, title = 'I Feel Skitty!', airdate = LEAST(airdate, '2004-10-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG048', 2, 48, 'Zangoose VS Habunake! Rival Confrontation!!', '2003-10-23') ON DUPLICATE KEY UPDATE series = 2, number = 48, title = 'Zangoose VS Habunake! Rival Confrontation!!', airdate = LEAST(airdate, '2003-10-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG048', 1, 321, 'ZigZag Zangoose!', '2004-10-23') ON DUPLICATE KEY UPDATE season = 1, number = 321, title = 'ZigZag Zangoose!', airdate = LEAST(airdate, '2004-10-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG049', 2, 49, 'Masato and Masato! Protect Ametama!', '2003-10-30') ON DUPLICATE KEY UPDATE series = 2, number = 49, title = 'Masato and Masato! Protect Ametama!', airdate = LEAST(airdate, '2003-10-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG049', 1, 322, 'Maxxed Out!', '2004-10-30') ON DUPLICATE KEY UPDATE season = 1, number = 322, title = 'Maxxed Out!', airdate = LEAST(airdate, '2004-10-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG050', 2, 50, 'Pokémon Contest - Hajitsuge Convention!!', '2003-11-06') ON DUPLICATE KEY UPDATE series = 2, number = 50, title = 'Pokémon Contest - Hajitsuge Convention!!', airdate = LEAST(airdate, '2003-11-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG050', 1, 323, 'Pros and Con Artists', '2004-10-30') ON DUPLICATE KEY UPDATE season = 1, number = 323, title = 'Pros and Con Artists', airdate = LEAST(airdate, '2004-10-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG051', 2, 51, 'VS Charem! Contest Battle!!', '2003-11-13') ON DUPLICATE KEY UPDATE series = 2, number = 51, title = 'VS Charem! Contest Battle!!', airdate = LEAST(airdate, '2003-11-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG051', 1, 324, 'Come What May!', '2004-11-06') ON DUPLICATE KEY UPDATE season = 1, number = 324, title = 'Come What May!', airdate = LEAST(airdate, '2004-11-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG052', 2, 52, 'Prasle and Minun! Road Assistance!?', '2003-11-20') ON DUPLICATE KEY UPDATE series = 2, number = 52, title = 'Prasle and Minun! Road Assistance!?', airdate = LEAST(airdate, '2003-11-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG052', 1, 325, 'Cheer Pressure', '2004-11-06') ON DUPLICATE KEY UPDATE season = 1, number = 325, title = 'Cheer Pressure', airdate = LEAST(airdate, '2004-11-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG053', 2, 53, 'Eneco & Cat\'s Paw! Meadow of Donmel!', '2003-11-27') ON DUPLICATE KEY UPDATE series = 2, number = 53, title = 'Eneco & Cat\'s Paw! Meadow of Donmel!', airdate = LEAST(airdate, '2003-11-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG053', 1, 326, 'Game Winning Assist', '2004-11-13') ON DUPLICATE KEY UPDATE season = 1, number = 326, title = 'Game Winning Assist', airdate = LEAST(airdate, '2004-11-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG054', 2, 54, 'Magma-dan VS Aqua-dan Again! Mt. Chimney Battle!!', '2003-12-04') ON DUPLICATE KEY UPDATE series = 2, number = 54, title = 'Magma-dan VS Aqua-dan Again! Mt. Chimney Battle!!', airdate = LEAST(airdate, '2003-12-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG054', 1, 327, 'Fight for the Meteorite!', '2004-11-13') ON DUPLICATE KEY UPDATE season = 1, number = 327, title = 'Fight for the Meteorite!', airdate = LEAST(airdate, '2004-11-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG055', 2, 55, 'The New Gym Leader, Asuna! The Hole-Filled Battlefield!?', '2003-12-11') ON DUPLICATE KEY UPDATE series = 2, number = 55, title = 'The New Gym Leader, Asuna! The Hole-Filled Battlefield!?', airdate = LEAST(airdate, '2003-12-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG055', 1, 328, 'Poetry Commotion!', '2004-11-20') ON DUPLICATE KEY UPDATE season = 1, number = 328, title = 'Poetry Commotion!', airdate = LEAST(airdate, '2004-11-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG056', 2, 56, 'Heat Badge! Win the Blazing Battle!!', '2003-12-18') ON DUPLICATE KEY UPDATE series = 2, number = 56, title = 'Heat Badge! Win the Blazing Battle!!', airdate = LEAST(airdate, '2003-12-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG056', 1, 329, 'Going, Going, Yawn', '2004-11-20') ON DUPLICATE KEY UPDATE season = 1, number = 329, title = 'Going, Going, Yawn', airdate = LEAST(airdate, '2004-11-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG057', 2, 57, 'Lots of Patcheel! Beyond the Mountain in Search of Happiness!?', '2003-12-25') ON DUPLICATE KEY UPDATE series = 2, number = 57, title = 'Lots of Patcheel! Beyond the Mountain in Search of Happiness!?', airdate = LEAST(airdate, '2003-12-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG057', 1, 330, 'Going for a Spinda', '2004-11-27') ON DUPLICATE KEY UPDATE season = 1, number = 330, title = 'Going for a Spinda', airdate = LEAST(airdate, '2004-11-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG058', 2, 58, 'Breaking Through Valley of Steel! Cotoise VS Haganeil!!', '2004-01-08') ON DUPLICATE KEY UPDATE series = 2, number = 58, title = 'Breaking Through Valley of Steel! Cotoise VS Haganeil!!', airdate = LEAST(airdate, '2004-01-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG058', 1, 331, 'All Torkoal, No Play', '2004-11-27') ON DUPLICATE KEY UPDATE season = 1, number = 331, title = 'All Torkoal, No Play', airdate = LEAST(airdate, '2004-11-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG059', 2, 59, 'Return to Kinsetsu Gym! VS Livolt!!', '2004-01-15') ON DUPLICATE KEY UPDATE series = 2, number = 59, title = 'Return to Kinsetsu Gym! VS Livolt!!', airdate = LEAST(airdate, '2004-01-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG059', 1, 332, 'Manectric Charge', '2004-12-04') ON DUPLICATE KEY UPDATE season = 1, number = 332, title = 'Manectric Charge', airdate = LEAST(airdate, '2004-12-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG060', 2, 60, 'Eneco and Enekororo! Enter the Legendary Pokémon Coordinator!!', '2004-01-22') ON DUPLICATE KEY UPDATE series = 2, number = 60, title = 'Eneco and Enekororo! Enter the Legendary Pokémon Coordinator!!', airdate = LEAST(airdate, '2004-01-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG060', 1, 333, 'Delcatty Got Your Tongue', '2004-12-04') ON DUPLICATE KEY UPDATE season = 1, number = 333, title = 'Delcatty Got Your Tongue', airdate = LEAST(airdate, '2004-12-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG061', 2, 61, 'Enter the Phantom Masked Coordinator!!', '2004-01-29') ON DUPLICATE KEY UPDATE series = 2, number = 61, title = 'Enter the Phantom Masked Coordinator!!', airdate = LEAST(airdate, '2004-01-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG061', 1, 334, 'Disaster of Disguise', '2004-12-11') ON DUPLICATE KEY UPDATE season = 1, number = 334, title = 'Disaster of Disguise', airdate = LEAST(airdate, '2004-12-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG062', 2, 62, 'Shidake Town! Pokémon Contest!!', '2004-02-05') ON DUPLICATE KEY UPDATE series = 2, number = 62, title = 'Shidake Town! Pokémon Contest!!', airdate = LEAST(airdate, '2004-02-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG062', 1, 335, 'Disguise Da Limit', '2004-12-11') ON DUPLICATE KEY UPDATE season = 1, number = 335, title = 'Disguise Da Limit', airdate = LEAST(airdate, '2004-12-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG063', 2, 63, 'Solrock and Hasubrero! Legend of the Forest!', '2004-02-12') ON DUPLICATE KEY UPDATE series = 2, number = 63, title = 'Solrock and Hasubrero! Legend of the Forest!', airdate = LEAST(airdate, '2004-02-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG063', 1, 336, 'Take the Lombre Home', '2005-01-29') ON DUPLICATE KEY UPDATE season = 1, number = 336, title = 'Take the Lombre Home', airdate = LEAST(airdate, '2005-01-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG064', 2, 64, 'Sky of Tyltto! Spirit of Haruka!!', '2004-02-19') ON DUPLICATE KEY UPDATE series = 2, number = 64, title = 'Sky of Tyltto! Spirit of Haruka!!', airdate = LEAST(airdate, '2004-02-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG064', 1, 337, 'True Blue Swablu', '2005-02-05') ON DUPLICATE KEY UPDATE season = 1, number = 337, title = 'True Blue Swablu', airdate = LEAST(airdate, '2005-02-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG065', 2, 65, 'The Great Gokulin Repelling Strategy!!', '2004-02-26') ON DUPLICATE KEY UPDATE series = 2, number = 65, title = 'The Great Gokulin Repelling Strategy!!', airdate = LEAST(airdate, '2004-02-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG065', 1, 338, 'Gulpin it Down', '2005-02-12') ON DUPLICATE KEY UPDATE season = 1, number = 338, title = 'Gulpin it Down', airdate = LEAST(airdate, '2005-02-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG066', 2, 66, 'Critical Situation! Bakuong VS Juptile!!', '2004-03-04') ON DUPLICATE KEY UPDATE series = 2, number = 66, title = 'Critical Situation! Bakuong VS Juptile!!', airdate = LEAST(airdate, '2004-03-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG066', 1, 339, 'Exploud and Clear!', '2005-02-19') ON DUPLICATE KEY UPDATE season = 1, number = 339, title = 'Exploud and Clear!', airdate = LEAST(airdate, '2005-02-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG067', 2, 67, 'Dancing Battle! Runpappa!!', '2004-03-11') ON DUPLICATE KEY UPDATE series = 2, number = 67, title = 'Dancing Battle! Runpappa!!', airdate = LEAST(airdate, '2004-03-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG067', 1, 340, 'Go Go Ludicolo!', '2005-02-26') ON DUPLICATE KEY UPDATE season = 1, number = 340, title = 'Go Go Ludicolo!', airdate = LEAST(airdate, '2005-02-26');
INSERT INTO episodes (code, title, airdate) VALUES ('SS015', 'Pokémon Researcher Shigeru and Revival of Ptera', '2004-03-16') ON DUPLICATE KEY UPDATE title = 'Pokémon Researcher Shigeru and Revival of Ptera', airdate = LEAST(airdate, '2004-03-16');
INSERT INTO dubs (code, title, airdate) VALUES ('SS015', 'Putting the Air Back in Aerodactyl!', '2006-09-02') ON DUPLICATE KEY UPDATE title = 'Putting the Air Back in Aerodactyl!', airdate = LEAST(airdate, '2006-09-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG068', 2, 68, 'Papa is Idol!? False Gym Leader!!', '2004-03-18') ON DUPLICATE KEY UPDATE series = 2, number = 68, title = 'Papa is Idol!? False Gym Leader!!', airdate = LEAST(airdate, '2004-03-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG068', 1, 341, 'A Double Dilemma', '2005-03-05') ON DUPLICATE KEY UPDATE season = 1, number = 341, title = 'A Double Dilemma', airdate = LEAST(airdate, '2005-03-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG069', 2, 69, 'Touka Gym Crisis! Household Crisis!!', '2004-03-25') ON DUPLICATE KEY UPDATE series = 2, number = 69, title = 'Touka Gym Crisis! Household Crisis!!', airdate = LEAST(airdate, '2004-03-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG069', 1, 342, 'Love, Petalburg Style!', '2005-03-12') ON DUPLICATE KEY UPDATE season = 1, number = 342, title = 'Love, Petalburg Style!', airdate = LEAST(airdate, '2005-03-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG070', 2, 70, 'Touka Gym! The Fifth Badge!!', '2004-04-01') ON DUPLICATE KEY UPDATE series = 2, number = 70, title = 'Touka Gym! The Fifth Badge!!', airdate = LEAST(airdate, '2004-04-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG070', 1, 343, 'Balance of Power', '2005-03-19') ON DUPLICATE KEY UPDATE season = 1, number = 343, title = 'Balance of Power', airdate = LEAST(airdate, '2005-03-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG071', 2, 71, 'Dr. Okido and Dr. Odamaki! Secret Base Battle!!', '2004-04-08') ON DUPLICATE KEY UPDATE series = 2, number = 71, title = 'Dr. Okido and Dr. Odamaki! Secret Base Battle!!', airdate = LEAST(airdate, '2004-04-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG071', 1, 344, 'A Six Pack Attack!', '2005-03-26') ON DUPLICATE KEY UPDATE season = 1, number = 344, title = 'A Six Pack Attack!', airdate = LEAST(airdate, '2005-03-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG072', 2, 72, 'Tag Battle! Satoshi VS Haruka!?', '2004-04-15') ON DUPLICATE KEY UPDATE series = 2, number = 72, title = 'Tag Battle! Satoshi VS Haruka!?', airdate = LEAST(airdate, '2004-04-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG072', 1, 345, 'The Bicker the Better', '2005-04-02') ON DUPLICATE KEY UPDATE season = 1, number = 345, title = 'The Bicker the Better', airdate = LEAST(airdate, '2005-04-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG073', 2, 73, 'King of the Forbidden Forest! Fushigibana!!', '2004-04-22') ON DUPLICATE KEY UPDATE series = 2, number = 73, title = 'King of the Forbidden Forest! Fushigibana!!', airdate = LEAST(airdate, '2004-04-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG073', 1, 346, 'Grass Hysteria!', '2005-04-09') ON DUPLICATE KEY UPDATE season = 1, number = 346, title = 'Grass Hysteria!', airdate = LEAST(airdate, '2005-04-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG074', 2, 74, 'Fushigidane and Fushigidane! Regaining the Monster Balls!!', '2004-04-29') ON DUPLICATE KEY UPDATE series = 2, number = 74, title = 'Fushigidane and Fushigidane! Regaining the Monster Balls!!', airdate = LEAST(airdate, '2004-04-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG074', 1, 347, 'Hokey Poké Balls!', '2005-04-16') ON DUPLICATE KEY UPDATE season = 1, number = 347, title = 'Hokey Poké Balls!', airdate = LEAST(airdate, '2005-04-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG075', 2, 75, 'Showdown! Fishing Master and the Giant Namazun!!', '2004-05-06') ON DUPLICATE KEY UPDATE series = 2, number = 75, title = 'Showdown! Fishing Master and the Giant Namazun!!', airdate = LEAST(airdate, '2004-05-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG075', 1, 348, 'Whiscash and Ash', '2005-04-23') ON DUPLICATE KEY UPDATE season = 1, number = 348, title = 'Whiscash and Ash', airdate = LEAST(airdate, '2005-04-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG076', 2, 76, 'Yajilon and the Ruins in the Mist!', '2004-05-13') ON DUPLICATE KEY UPDATE series = 2, number = 76, title = 'Yajilon and the Ruins in the Mist!', airdate = LEAST(airdate, '2004-05-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG076', 1, 349, 'Me, Myself and Time', '2005-04-30') ON DUPLICATE KEY UPDATE season = 1, number = 349, title = 'Me, Myself and Time', airdate = LEAST(airdate, '2005-04-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG077', 2, 77, 'Formidable Enemy!? Mother Coordinator Enters!', '2004-05-20') ON DUPLICATE KEY UPDATE series = 2, number = 77, title = 'Formidable Enemy!? Mother Coordinator Enters!', airdate = LEAST(airdate, '2004-05-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG077', 1, 350, 'A Fan with a Plan', '2005-05-07') ON DUPLICATE KEY UPDATE season = 1, number = 350, title = 'A Fan with a Plan', airdate = LEAST(airdate, '2005-05-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG078', 2, 78, 'Pokémon Contest! Ruibosu Tournament!!', '2004-05-27') ON DUPLICATE KEY UPDATE series = 2, number = 78, title = 'Pokémon Contest! Ruibosu Tournament!!', airdate = LEAST(airdate, '2004-05-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG078', 1, 351, 'Cruisin\' for a Losin\'', '2005-05-14') ON DUPLICATE KEY UPDATE season = 1, number = 351, title = 'Cruisin\' for a Losin\'', airdate = LEAST(airdate, '2005-05-14');
INSERT INTO episodes (code, title, airdate) VALUES ('UN10', 'Challenge from the Sky', '2004-05-29') ON DUPLICATE KEY UPDATE title = 'Challenge from the Sky', airdate = LEAST(airdate, '2004-05-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG079', 2, 79, 'Baneboo\'s Lost Object!?', '2004-06-03') ON DUPLICATE KEY UPDATE series = 2, number = 79, title = 'Baneboo\'s Lost Object!?', airdate = LEAST(airdate, '2004-06-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG079', 1, 352, 'Pearls are a Spoink\'s Best Friend', '2005-05-21') ON DUPLICATE KEY UPDATE season = 1, number = 352, title = 'Pearls are a Spoink\'s Best Friend', airdate = LEAST(airdate, '2005-05-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG080', 2, 80, 'Beginning Challenge! Sky Match - PokéRinger!!', '2004-06-10') ON DUPLICATE KEY UPDATE series = 2, number = 80, title = 'Beginning Challenge! Sky Match - PokéRinger!!', airdate = LEAST(airdate, '2004-06-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG080', 1, 353, 'That\'s Just Swellow', '2005-05-28') ON DUPLICATE KEY UPDATE season = 1, number = 353, title = 'That\'s Just Swellow', airdate = LEAST(airdate, '2005-05-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG081', 2, 81, 'The Mansion of Kagebouzu!', '2004-06-17') ON DUPLICATE KEY UPDATE series = 2, number = 81, title = 'The Mansion of Kagebouzu!', airdate = LEAST(airdate, '2004-06-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG081', 1, 354, 'Take This House and Shuppet', '2005-06-04') ON DUPLICATE KEY UPDATE season = 1, number = 354, title = 'Take This House and Shuppet', airdate = LEAST(airdate, '2005-06-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG082', 2, 82, 'The Fighting King of the Forest!? Wakasyamo VS Kinogassa!', '2004-06-24') ON DUPLICATE KEY UPDATE series = 2, number = 82, title = 'The Fighting King of the Forest!? Wakasyamo VS Kinogassa!', airdate = LEAST(airdate, '2004-06-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG082', 1, 355, 'A Shroomish Skirmish', '2005-06-11') ON DUPLICATE KEY UPDATE season = 1, number = 355, title = 'A Shroomish Skirmish', airdate = LEAST(airdate, '2005-06-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG083', 2, 83, 'Powalen of the Weather Institute!', '2004-07-01') ON DUPLICATE KEY UPDATE series = 2, number = 83, title = 'Powalen of the Weather Institute!', airdate = LEAST(airdate, '2004-07-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG083', 1, 356, 'Unfair Weather Friends', '2005-06-18') ON DUPLICATE KEY UPDATE season = 1, number = 356, title = 'Unfair Weather Friends', airdate = LEAST(airdate, '2005-06-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG084', 2, 84, 'Hiwamaki City\'s Feather Carnival!!', '2004-07-08') ON DUPLICATE KEY UPDATE series = 2, number = 84, title = 'Hiwamaki City\'s Feather Carnival!!', airdate = LEAST(airdate, '2004-07-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG084', 1, 357, 'Who\'s Flying Now?', '2005-06-25') ON DUPLICATE KEY UPDATE season = 1, number = 357, title = 'Who\'s Flying Now?', airdate = LEAST(airdate, '2005-06-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG085', 2, 85, 'Hiwamaki Gym! Battle in the Sky!!', '2004-07-15') ON DUPLICATE KEY UPDATE series = 2, number = 85, title = 'Hiwamaki Gym! Battle in the Sky!!', airdate = LEAST(airdate, '2004-07-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG085', 1, 358, 'Sky High Gym Battle!', '2005-07-09') ON DUPLICATE KEY UPDATE season = 1, number = 358, title = 'Sky High Gym Battle!', airdate = LEAST(airdate, '2005-07-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG086', 2, 86, 'The Film\'s Riding on Bakuuda!!', '2004-07-22') ON DUPLICATE KEY UPDATE series = 2, number = 86, title = 'The Film\'s Riding on Bakuuda!!', airdate = LEAST(airdate, '2004-07-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG086', 1, 359, 'Lights, Camerupt, Action!', '2005-07-16') ON DUPLICATE KEY UPDATE season = 1, number = 359, title = 'Lights, Camerupt, Action!', airdate = LEAST(airdate, '2005-07-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG087', 2, 87, 'Mystery! A Pokémon from Space!?', '2004-07-29') ON DUPLICATE KEY UPDATE series = 2, number = 87, title = 'Mystery! A Pokémon from Space!?', airdate = LEAST(airdate, '2004-07-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG087', 1, 360, 'Crazy as a Lunatone', '2005-08-20') ON DUPLICATE KEY UPDATE season = 1, number = 360, title = 'Crazy as a Lunatone', airdate = LEAST(airdate, '2005-08-20');
INSERT INTO episodes (code, title, airdate) VALUES ('PK13', 'Pikachu\'s Summer Festival', '2004-08-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Summer Festival', airdate = LEAST(airdate, '2004-08-01');
INSERT INTO episodes (code, title, airdate) VALUES ('M07', 'Sky-Splitting Visitor: Deoxys', '2004-07-17') ON DUPLICATE KEY UPDATE title = 'Sky-Splitting Visitor: Deoxys', airdate = LEAST(airdate, '2004-07-17');
INSERT INTO dubs (code, title, airdate) VALUES ('M07', 'Pokémon: Destiny Deoxys', '2005-01-22') ON DUPLICATE KEY UPDATE title = 'Pokémon: Destiny Deoxys', airdate = LEAST(airdate, '2005-01-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG088', 2, 88, 'Banana Namakero Garden and Kabigon!!', '2004-08-05') ON DUPLICATE KEY UPDATE series = 2, number = 88, title = 'Banana Namakero Garden and Kabigon!!', airdate = LEAST(airdate, '2004-08-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG088', 1, 361, 'The Garden of Eatin\'', '2005-08-27') ON DUPLICATE KEY UPDATE season = 1, number = 361, title = 'The Garden of Eatin\'', airdate = LEAST(airdate, '2005-08-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG089', 2, 89, 'Pikachu, Joining Rocket-dan!?', '2004-08-12') ON DUPLICATE KEY UPDATE series = 2, number = 89, title = 'Pikachu, Joining Rocket-dan!?', airdate = LEAST(airdate, '2004-08-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG089', 1, 362, 'A Scare to Remember!', '2005-09-03') ON DUPLICATE KEY UPDATE season = 1, number = 362, title = 'A Scare to Remember!', airdate = LEAST(airdate, '2005-09-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG090', 2, 90, 'Arrival in Minamo City! Polocks and Swallow Return!', '2004-08-19') ON DUPLICATE KEY UPDATE series = 2, number = 90, title = 'Arrival in Minamo City! Polocks and Swallow Return!', airdate = LEAST(airdate, '2004-08-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG090', 1, 363, 'Pokéblock, Stock, and Berry', '2005-09-03') ON DUPLICATE KEY UPDATE season = 1, number = 363, title = 'Pokéblock, Stock, and Berry', airdate = LEAST(airdate, '2005-09-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG091', 2, 91, 'Pokémon Contest! Minamo Tournament!!', '2004-08-26') ON DUPLICATE KEY UPDATE series = 2, number = 91, title = 'Pokémon Contest! Minamo Tournament!!', airdate = LEAST(airdate, '2004-08-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG091', 1, 364, 'Lessons in Lilycove', '2005-09-10') ON DUPLICATE KEY UPDATE season = 1, number = 364, title = 'Lessons in Lilycove', airdate = LEAST(airdate, '2005-09-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG092', 2, 92, 'Enter Those Three! Referee School Island!', '2004-09-02') ON DUPLICATE KEY UPDATE series = 2, number = 92, title = 'Enter Those Three! Referee School Island!', airdate = LEAST(airdate, '2004-09-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG092', 1, 365, 'Judgment Day!', '2005-09-10') ON DUPLICATE KEY UPDATE season = 1, number = 365, title = 'Judgment Day!', airdate = LEAST(airdate, '2005-09-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG093', 2, 93, 'Pearlulu and Baneboo! Search for the Pearl!', '2004-09-09') ON DUPLICATE KEY UPDATE series = 2, number = 93, title = 'Pearlulu and Baneboo! Search for the Pearl!', airdate = LEAST(airdate, '2004-09-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG093', 1, 366, 'Clamperl of Wisdom', '2005-09-17') ON DUPLICATE KEY UPDATE season = 1, number = 366, title = 'Clamperl of Wisdom', airdate = LEAST(airdate, '2005-09-17');
INSERT INTO episodes (code, title, airdate) VALUES ('SS016', 'Kasumi and Lovecus! Love Battle', '2004-09-14') ON DUPLICATE KEY UPDATE title = 'Kasumi and Lovecus! Love Battle', airdate = LEAST(airdate, '2004-09-14');
INSERT INTO dubs (code, title, airdate) VALUES ('SS016', 'Luvdisc is a Many Splendored Thing!', '2006-09-23') ON DUPLICATE KEY UPDATE title = 'Luvdisc is a Many Splendored Thing!', airdate = LEAST(airdate, '2006-09-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG094', 2, 94, 'Glanth and the Deep Sea Treasure!', '2004-09-16') ON DUPLICATE KEY UPDATE series = 2, number = 94, title = 'Glanth and the Deep Sea Treasure!', airdate = LEAST(airdate, '2004-09-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG094', 1, 367, 'The Relicanth Really Can', '2005-09-24') ON DUPLICATE KEY UPDATE season = 1, number = 367, title = 'The Relicanth Really Can', airdate = LEAST(airdate, '2005-09-24');
INSERT INTO episodes (code, title, airdate) VALUES ('SS017', 'Nanako and Lizardon! Super Hard Training of Flame!', '2004-09-21') ON DUPLICATE KEY UPDATE title = 'Nanako and Lizardon! Super Hard Training of Flame!', airdate = LEAST(airdate, '2004-09-21');
INSERT INTO dubs (code, title, airdate) VALUES ('SS017', 'Those Darn Electabuzz!', '2006-09-23') ON DUPLICATE KEY UPDATE title = 'Those Darn Electabuzz!', airdate = LEAST(airdate, '2006-09-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG095', 2, 95, 'Huntail and Sakurabyss! The Riddle of Evolution!', '2004-09-23') ON DUPLICATE KEY UPDATE series = 2, number = 95, title = 'Huntail and Sakurabyss! The Riddle of Evolution!', airdate = LEAST(airdate, '2004-09-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG095', 1, 368, 'The Evolutionary War', '2005-10-01') ON DUPLICATE KEY UPDATE season = 1, number = 368, title = 'The Evolutionary War', airdate = LEAST(airdate, '2005-10-01');
INSERT INTO episodes (code, title, airdate) VALUES ('SS018', 'The Heavenly Legend, Hiroshi and Fire!', '2004-09-28') ON DUPLICATE KEY UPDATE title = 'The Heavenly Legend, Hiroshi and Fire!', airdate = LEAST(airdate, '2004-09-28');
INSERT INTO dubs (code, title, airdate) VALUES ('SS018', 'The Search for the Legend', '2006-09-30') ON DUPLICATE KEY UPDATE title = 'The Search for the Legend', airdate = LEAST(airdate, '2006-09-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG096', 2, 96, 'Muscle Battle!? Double Battle!!', '2004-09-30') ON DUPLICATE KEY UPDATE series = 2, number = 96, title = 'Muscle Battle!? Double Battle!!', airdate = LEAST(airdate, '2004-09-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG096', 1, 369, 'Training Wrecks', '2005-10-08') ON DUPLICATE KEY UPDATE season = 1, number = 369, title = 'Training Wrecks', airdate = LEAST(airdate, '2005-10-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG097', 2, 97, 'Groudon VS Kyogre! (Part One)', '2004-10-07') ON DUPLICATE KEY UPDATE series = 2, number = 97, title = 'Groudon VS Kyogre! (Part One)', airdate = LEAST(airdate, '2004-10-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG097', 1, 370, 'Gaining Groudon', '2005-10-15') ON DUPLICATE KEY UPDATE season = 1, number = 370, title = 'Gaining Groudon', airdate = LEAST(airdate, '2005-10-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG098', 2, 98, 'Groudon VS Kyogre! (Part Two)', '2004-10-14') ON DUPLICATE KEY UPDATE series = 2, number = 98, title = 'Groudon VS Kyogre! (Part Two)', airdate = LEAST(airdate, '2004-10-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG098', 1, 371, 'The Scuffle of Legends', '2005-10-22') ON DUPLICATE KEY UPDATE season = 1, number = 371, title = 'The Scuffle of Legends', airdate = LEAST(airdate, '2005-10-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG099', 2, 99, 'Fu and Lan! Space Center Battle!', '2004-10-21') ON DUPLICATE KEY UPDATE series = 2, number = 99, title = 'Fu and Lan! Space Center Battle!', airdate = LEAST(airdate, '2004-10-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG099', 1, 372, 'It\'s Still Rocket Roll to Me!', '2005-10-29') ON DUPLICATE KEY UPDATE season = 1, number = 372, title = 'It\'s Still Rocket Roll to Me!', airdate = LEAST(airdate, '2005-10-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG100', 2, 100, 'Tokusane Gym! Solrock and Lunatone!', '2004-10-28') ON DUPLICATE KEY UPDATE series = 2, number = 100, title = 'Tokusane Gym! Solrock and Lunatone!', airdate = LEAST(airdate, '2004-10-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG100', 1, 373, 'Solid as a Solrock', '2005-11-05') ON DUPLICATE KEY UPDATE season = 1, number = 373, title = 'Solid as a Solrock', airdate = LEAST(airdate, '2005-11-05');
INSERT INTO episodes (code, series, title) VALUES ('UN11', 2, 'Shaking Island Battle! Dojoach VS Namazun!!') ON DUPLICATE KEY UPDATE series = 2, title = 'Shaking Island Battle! Dojoach VS Namazun!!';
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG101', 2, 101, 'Man of the Sea! Four Heavenly Kings Genji Appears!!', '2004-11-04') ON DUPLICATE KEY UPDATE series = 2, number = 101, title = 'Man of the Sea! Four Heavenly Kings Genji Appears!!', airdate = LEAST(airdate, '2004-11-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG101', 1, 374, 'Vanity Affair', '2005-11-12') ON DUPLICATE KEY UPDATE season = 1, number = 374, title = 'Vanity Affair', airdate = LEAST(airdate, '2005-11-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG102', 2, 102, 'Island of Dr. Moroboshi! Fossil Pokémon Appear!!', '2004-11-11') ON DUPLICATE KEY UPDATE series = 2, number = 102, title = 'Island of Dr. Moroboshi! Fossil Pokémon Appear!!', airdate = LEAST(airdate, '2004-11-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG102', 1, 375, 'Where\'s Armaldo?', '2005-11-19') ON DUPLICATE KEY UPDATE season = 1, number = 375, title = 'Where\'s Armaldo?', airdate = LEAST(airdate, '2005-11-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG103', 2, 103, 'Izabe Island Pokémon Contest! Beware of the Rival!!', '2004-11-18') ON DUPLICATE KEY UPDATE series = 2, number = 103, title = 'Izabe Island Pokémon Contest! Beware of the Rival!!', airdate = LEAST(airdate, '2004-11-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG103', 1, 376, 'A Cacturne for the Worse', '2005-11-26') ON DUPLICATE KEY UPDATE season = 1, number = 376, title = 'A Cacturne for the Worse', airdate = LEAST(airdate, '2005-11-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG104', 2, 104, 'Seal the Giant Nendoll!!', '2004-11-25') ON DUPLICATE KEY UPDATE series = 2, number = 104, title = 'Seal the Giant Nendoll!!', airdate = LEAST(airdate, '2004-11-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG104', 1, 377, 'Claydol Big and Tall', '2005-12-03') ON DUPLICATE KEY UPDATE season = 1, number = 377, title = 'Claydol Big and Tall', airdate = LEAST(airdate, '2005-12-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG105', 2, 105, 'Falling in Love With Kucheat! Hasubrero\'s Flower Arrangement!!', '2004-12-02') ON DUPLICATE KEY UPDATE series = 2, number = 105, title = 'Falling in Love With Kucheat! Hasubrero\'s Flower Arrangement!!', airdate = LEAST(airdate, '2004-12-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG105', 1, 378, 'Once in a Mawile', '2005-12-10') ON DUPLICATE KEY UPDATE season = 1, number = 378, title = 'Once in a Mawile', airdate = LEAST(airdate, '2005-12-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG106', 2, 106, 'Nuckrar and Vibrava! Lake of Illusion!', '2004-12-09') ON DUPLICATE KEY UPDATE series = 2, number = 106, title = 'Nuckrar and Vibrava! Lake of Illusion!', airdate = LEAST(airdate, '2004-12-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG106', 1, 379, 'Beg, Burrow and Steal', '2005-12-17') ON DUPLICATE KEY UPDATE season = 1, number = 379, title = 'Beg, Burrow and Steal', airdate = LEAST(airdate, '2005-12-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG107', 2, 107, 'Absol! Creeping Shadow of Disaster!!', '2004-12-16') ON DUPLICATE KEY UPDATE series = 2, number = 107, title = 'Absol! Creeping Shadow of Disaster!!', airdate = LEAST(airdate, '2004-12-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG107', 1, 380, 'Absol-ute Disaster', '2006-01-07') ON DUPLICATE KEY UPDATE season = 1, number = 380, title = 'Absol-ute Disaster', airdate = LEAST(airdate, '2006-01-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG108', 2, 108, 'Catch Yukiwarashi!', '2004-12-23') ON DUPLICATE KEY UPDATE series = 2, number = 108, title = 'Catch Yukiwarashi!', airdate = LEAST(airdate, '2004-12-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG108', 1, 381, 'Let it Snow, Let it Snow, Let it Snorunt!', '2006-01-14') ON DUPLICATE KEY UPDATE season = 1, number = 381, title = 'Let it Snow, Let it Snow, Let it Snorunt!', airdate = LEAST(airdate, '2006-01-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG109', 2, 109, 'Rescue Ralts! Hurry Masato!', '2005-01-06') ON DUPLICATE KEY UPDATE series = 2, number = 109, title = 'Rescue Ralts! Hurry Masato!', airdate = LEAST(airdate, '2005-01-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG109', 1, 382, 'Do I Hear a Ralts?', '2006-01-21') ON DUPLICATE KEY UPDATE season = 1, number = 382, title = 'Do I Hear a Ralts?', airdate = LEAST(airdate, '2006-01-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG110', 2, 110, 'Rune Gym! Artist of Water - Adan! (Part One)', '2005-01-13') ON DUPLICATE KEY UPDATE series = 2, number = 110, title = 'Rune Gym! Artist of Water - Adan! (Part One)', airdate = LEAST(airdate, '2005-01-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG110', 1, 383, 'The Great Eight Fate!', '2006-01-28') ON DUPLICATE KEY UPDATE season = 1, number = 383, title = 'The Great Eight Fate!', airdate = LEAST(airdate, '2006-01-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG111', 2, 111, 'Rune Gym! Artist of Water - Adan! (Part Two)', '2005-01-20') ON DUPLICATE KEY UPDATE series = 2, number = 111, title = 'Rune Gym! Artist of Water - Adan! (Part Two)', airdate = LEAST(airdate, '2005-01-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG111', 1, 384, 'Eight Ain\'t Enough', '2006-01-28') ON DUPLICATE KEY UPDATE season = 1, number = 384, title = 'Eight Ain\'t Enough', airdate = LEAST(airdate, '2006-01-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG112', 2, 112, 'Massuguma! The Shape of Friendship!?', '2005-01-27') ON DUPLICATE KEY UPDATE series = 2, number = 112, title = 'Massuguma! The Shape of Friendship!?', airdate = LEAST(airdate, '2005-01-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG112', 1, 385, 'Showdown At Linoone', '2006-02-04') ON DUPLICATE KEY UPDATE season = 1, number = 385, title = 'Showdown At Linoone', airdate = LEAST(airdate, '2006-02-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG113', 2, 113, 'Sohnano of Phantom Island!', '2005-02-03') ON DUPLICATE KEY UPDATE series = 2, number = 113, title = 'Sohnano of Phantom Island!', airdate = LEAST(airdate, '2005-02-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG113', 1, 386, 'Who, What, When, Where, Wynaut?', '2006-02-04') ON DUPLICATE KEY UPDATE season = 1, number = 386, title = 'Who, What, When, Where, Wynaut?', airdate = LEAST(airdate, '2006-02-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG114', 2, 114, 'Roll! Loving Donfan!', '2005-02-10') ON DUPLICATE KEY UPDATE series = 2, number = 114, title = 'Roll! Loving Donfan!', airdate = LEAST(airdate, '2005-02-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG114', 1, 387, 'Date Expectations', '2006-04-01') ON DUPLICATE KEY UPDATE season = 1, number = 387, title = 'Date Expectations', airdate = LEAST(airdate, '2006-04-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG115', 2, 115, 'Disorderly Melee! Pokémon Contest - Kinagi Convention! (Part One)', '2005-02-17') ON DUPLICATE KEY UPDATE series = 2, number = 115, title = 'Disorderly Melee! Pokémon Contest - Kinagi Convention! (Part One)', airdate = LEAST(airdate, '2005-02-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG115', 1, 388, 'Mean With Envy', '2006-04-01') ON DUPLICATE KEY UPDATE season = 1, number = 388, title = 'Mean With Envy', airdate = LEAST(airdate, '2006-04-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG116', 2, 116, 'Disorderly Melee! Pokémon Contest - Kinagi Convention! (Part Two)', '2005-02-24') ON DUPLICATE KEY UPDATE series = 2, number = 116, title = 'Disorderly Melee! Pokémon Contest - Kinagi Convention! (Part Two)', airdate = LEAST(airdate, '2005-02-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG116', 1, 389, 'Pacifidlog Jam', '2006-04-08') ON DUPLICATE KEY UPDATE season = 1, number = 389, title = 'Pacifidlog Jam', airdate = LEAST(airdate, '2006-04-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG117', 2, 117, 'With Haruka Delicious, Get Gonbe!!', '2005-03-03') ON DUPLICATE KEY UPDATE series = 2, number = 117, title = 'With Haruka Delicious, Get Gonbe!!', airdate = LEAST(airdate, '2005-03-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG117', 1, 390, 'Berry, Berry Interesting', '2006-02-11') ON DUPLICATE KEY UPDATE season = 1, number = 390, title = 'Berry, Berry Interesting', airdate = LEAST(airdate, '2006-02-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG118', 2, 118, 'Rival Enters! Masamune and Dumbber!!', '2005-03-10') ON DUPLICATE KEY UPDATE series = 2, number = 118, title = 'Rival Enters! Masamune and Dumbber!!', airdate = LEAST(airdate, '2005-03-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG118', 1, 391, 'Less is Morrison', '2006-02-11') ON DUPLICATE KEY UPDATE season = 1, number = 391, title = 'Less is Morrison', airdate = LEAST(airdate, '2006-02-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG119', 2, 119, 'Mysterious Thief Bannai & The Ribbon Cup!!', '2005-03-17') ON DUPLICATE KEY UPDATE series = 2, number = 119, title = 'Mysterious Thief Bannai & The Ribbon Cup!!', airdate = LEAST(airdate, '2005-03-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG119', 1, 392, 'The Ribbon Cup Caper', '2006-02-18') ON DUPLICATE KEY UPDATE season = 1, number = 392, title = 'The Ribbon Cup Caper', airdate = LEAST(airdate, '2006-02-18');
INSERT INTO episodes (code, title, airdate) VALUES ('PK14', 'Pokémon 3D Adventure: Find Mew!', '2005-03-18') ON DUPLICATE KEY UPDATE title = 'Pokémon 3D Adventure: Find Mew!', airdate = LEAST(airdate, '2005-03-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG120', 2, 120, 'Satoshi and Haruka! Heated Battles of Hōen!!', '2005-03-24') ON DUPLICATE KEY UPDATE series = 2, number = 120, title = 'Satoshi and Haruka! Heated Battles of Hōen!!', airdate = LEAST(airdate, '2005-03-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG121', 2, 121, 'Begin! Grand Festival (1)!!', '2005-04-07') ON DUPLICATE KEY UPDATE series = 2, number = 121, title = 'Begin! Grand Festival (1)!!', airdate = LEAST(airdate, '2005-04-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG121', 1, 393, 'Hi Ho Silver Wind!', '2006-02-18') ON DUPLICATE KEY UPDATE season = 1, number = 393, title = 'Hi Ho Silver Wind!', airdate = LEAST(airdate, '2006-02-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG122', 2, 122, 'Fierce Fighting! Grand Festival (2)!!', '2005-04-07') ON DUPLICATE KEY UPDATE series = 2, number = 122, title = 'Fierce Fighting! Grand Festival (2)!!', airdate = LEAST(airdate, '2005-04-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG122', 1, 394, 'Deceit and Assist', '2006-02-25') ON DUPLICATE KEY UPDATE season = 1, number = 394, title = 'Deceit and Assist', airdate = LEAST(airdate, '2006-02-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG123', 2, 123, 'Decisive Battle! Grand Festival (3)!!', '2005-04-07') ON DUPLICATE KEY UPDATE series = 2, number = 123, title = 'Decisive Battle! Grand Festival (3)!!', airdate = LEAST(airdate, '2005-04-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG123', 1, 395, 'Rhapsody in Drew', '2006-02-25') ON DUPLICATE KEY UPDATE season = 1, number = 395, title = 'Rhapsody in Drew', airdate = LEAST(airdate, '2006-02-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG124', 2, 124, 'Let\'s Go With Survival!', '2005-04-14') ON DUPLICATE KEY UPDATE series = 2, number = 124, title = 'Let\'s Go With Survival!', airdate = LEAST(airdate, '2005-04-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG124', 1, 396, 'Island Time', '2006-03-04') ON DUPLICATE KEY UPDATE season = 1, number = 396, title = 'Island Time', airdate = LEAST(airdate, '2006-03-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG125', 2, 125, 'Arrival in Saiyū City! Nyarth in Boots!?', '2005-04-28') ON DUPLICATE KEY UPDATE series = 2, number = 125, title = 'Arrival in Saiyū City! Nyarth in Boots!?', airdate = LEAST(airdate, '2005-04-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG125', 1, 397, 'Like a Meowth to a Flame', '2006-03-11') ON DUPLICATE KEY UPDATE season = 1, number = 397, title = 'Like a Meowth to a Flame', airdate = LEAST(airdate, '2006-03-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG126', 2, 126, 'Start the Preliminaries! Masamune Appears!!', '2005-04-28') ON DUPLICATE KEY UPDATE series = 2, number = 126, title = 'Start the Preliminaries! Masamune Appears!!', airdate = LEAST(airdate, '2005-04-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG126', 1, 398, 'Saved by the Beldum', '2006-03-11') ON DUPLICATE KEY UPDATE season = 1, number = 398, title = 'Saved by the Beldum', airdate = LEAST(airdate, '2006-03-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG127', 2, 127, 'Opening! Saiyū Tournament!!', '2005-05-05') ON DUPLICATE KEY UPDATE series = 2, number = 127, title = 'Opening! Saiyū Tournament!!', airdate = LEAST(airdate, '2005-05-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG127', 1, 399, 'From Brags to Riches', '2006-03-11') ON DUPLICATE KEY UPDATE season = 1, number = 399, title = 'From Brags to Riches', airdate = LEAST(airdate, '2006-03-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG128', 2, 128, 'To the Tournament Finals! Every Day a Heated Battle!', '2005-05-12') ON DUPLICATE KEY UPDATE series = 2, number = 128, title = 'To the Tournament Finals! Every Day a Heated Battle!', airdate = LEAST(airdate, '2005-05-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG128', 1, 400, 'Shocks and Bonds', '2006-03-18') ON DUPLICATE KEY UPDATE season = 1, number = 400, title = 'Shocks and Bonds', airdate = LEAST(airdate, '2006-03-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG129', 2, 129, 'And... Continue the Battle That Cannot Be Lost!!', '2005-05-19') ON DUPLICATE KEY UPDATE series = 2, number = 129, title = 'And... Continue the Battle That Cannot Be Lost!!', airdate = LEAST(airdate, '2005-05-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG129', 1, 401, 'A Judgment Brawl', '2006-03-18') ON DUPLICATE KEY UPDATE season = 1, number = 401, title = 'A Judgment Brawl', airdate = LEAST(airdate, '2006-03-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG130', 2, 130, 'Rival Battle! VS Masamune!!', '2005-05-26') ON DUPLICATE KEY UPDATE series = 2, number = 130, title = 'Rival Battle! VS Masamune!!', airdate = LEAST(airdate, '2005-05-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG130', 1, 402, 'Choose It or Lose It!', '2006-03-25') ON DUPLICATE KEY UPDATE season = 1, number = 402, title = 'Choose It or Lose It!', airdate = LEAST(airdate, '2006-03-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG131', 2, 131, 'Conclusion of the Fierce Fighting! The Road to Championship!!', '2005-06-16') ON DUPLICATE KEY UPDATE series = 2, number = 131, title = 'Conclusion of the Fierce Fighting! The Road to Championship!!', airdate = LEAST(airdate, '2005-06-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG131', 1, 403, 'At the End of the Fray', '2006-03-25') ON DUPLICATE KEY UPDATE season = 1, number = 403, title = 'At the End of the Fray', airdate = LEAST(airdate, '2006-03-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG132', 2, 132, 'Enishida and the Battle Frontier!', '2005-06-23') ON DUPLICATE KEY UPDATE series = 2, number = 132, title = 'Enishida and the Battle Frontier!', airdate = LEAST(airdate, '2005-06-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG132', 1, 404, 'The Scheme Team', '2006-04-08') ON DUPLICATE KEY UPDATE season = 1, number = 404, title = 'The Scheme Team', airdate = LEAST(airdate, '2006-04-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG133', 2, 133, 'Okido Laboratory! All Members Assemble!!', '2005-06-30') ON DUPLICATE KEY UPDATE series = 2, number = 133, title = 'Okido Laboratory! All Members Assemble!!', airdate = LEAST(airdate, '2005-06-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG133', 1, 405, 'The Right Place and the Right Mime', '2006-04-15') ON DUPLICATE KEY UPDATE season = 1, number = 405, title = 'The Right Place and the Right Mime', airdate = LEAST(airdate, '2006-04-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG134', 2, 134, 'Mt. Otsukimi! With Py, Pippi and Pixy!', '2005-07-07') ON DUPLICATE KEY UPDATE series = 2, number = 134, title = 'Mt. Otsukimi! With Py, Pippi and Pixy!', airdate = LEAST(airdate, '2005-07-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG134', 1, 406, 'A Real Cleffa-Hanger', '2006-04-15') ON DUPLICATE KEY UPDATE season = 1, number = 406, title = 'A Real Cleffa-Hanger', airdate = LEAST(airdate, '2006-04-15');
INSERT INTO episodes (code, title, airdate) VALUES ('M08', 'Mew and the Wave Hero: Lucario', '2005-07-16') ON DUPLICATE KEY UPDATE title = 'Mew and the Wave Hero: Lucario', airdate = LEAST(airdate, '2005-07-16');
INSERT INTO dubs (code, title, airdate) VALUES ('M08', 'Pokémon: Lucario and the Mystery of Mew', '2006-09-19') ON DUPLICATE KEY UPDATE title = 'Pokémon: Lucario and the Mystery of Mew', airdate = LEAST(airdate, '2006-09-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG135', 2, 135, 'First Battle! Battle Factory! (Part One)', '2005-07-21') ON DUPLICATE KEY UPDATE series = 2, number = 135, title = 'First Battle! Battle Factory! (Part One)', airdate = LEAST(airdate, '2005-07-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG135', 1, 407, 'Numero Uno Articuno', '2006-04-22') ON DUPLICATE KEY UPDATE season = 1, number = 407, title = 'Numero Uno Articuno', airdate = LEAST(airdate, '2006-04-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG136', 2, 136, 'First Battle! Battle Factory! (Part Two)', '2005-07-28') ON DUPLICATE KEY UPDATE series = 2, number = 136, title = 'First Battle! Battle Factory! (Part Two)', airdate = LEAST(airdate, '2005-07-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG136', 1, 408, 'The Symbol Life', '2006-04-22') ON DUPLICATE KEY UPDATE season = 1, number = 408, title = 'The Symbol Life', airdate = LEAST(airdate, '2006-04-22');
INSERT INTO episodes (code, title, airdate) VALUES ('PK15', 'Pikachu\'s Ghost Carnival', '2005-08-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Ghost Carnival', airdate = LEAST(airdate, '2005-08-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG137', 2, 137, 'The Kingdom of Iwark!!', '2005-08-04') ON DUPLICATE KEY UPDATE series = 2, number = 137, title = 'The Kingdom of Iwark!!', airdate = LEAST(airdate, '2005-08-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG137', 1, 409, 'Hooked on Onix', '2006-05-06') ON DUPLICATE KEY UPDATE season = 1, number = 409, title = 'Hooked on Onix', airdate = LEAST(airdate, '2006-05-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG138', 2, 138, 'Purin\'s Song, Papa\'s Song!', '2005-08-11') ON DUPLICATE KEY UPDATE series = 2, number = 138, title = 'Purin\'s Song, Papa\'s Song!', airdate = LEAST(airdate, '2005-08-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG138', 1, 410, 'Rough, Tough Jigglypuff', '2006-05-13') ON DUPLICATE KEY UPDATE season = 1, number = 410, title = 'Rough, Tough Jigglypuff', airdate = LEAST(airdate, '2006-05-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG139', 2, 139, 'Rival Confrontation! Get Windie!', '2005-08-18') ON DUPLICATE KEY UPDATE series = 2, number = 139, title = 'Rival Confrontation! Get Windie!', airdate = LEAST(airdate, '2005-08-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG139', 1, 411, 'On Cloud Arcanine', '2006-05-20') ON DUPLICATE KEY UPDATE season = 1, number = 411, title = 'On Cloud Arcanine', airdate = LEAST(airdate, '2006-05-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG140', 2, 140, 'Koduck\'s Depression!', '2005-08-25') ON DUPLICATE KEY UPDATE series = 2, number = 140, title = 'Koduck\'s Depression!', airdate = LEAST(airdate, '2005-08-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG140', 1, 412, 'Sitting Psyduck', '2006-05-27') ON DUPLICATE KEY UPDATE season = 1, number = 412, title = 'Sitting Psyduck', airdate = LEAST(airdate, '2006-05-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG141', 2, 141, 'Nyula and Barrierd! Whose Restaurant!?', '2005-09-01') ON DUPLICATE KEY UPDATE series = 2, number = 141, title = 'Nyula and Barrierd! Whose Restaurant!?', airdate = LEAST(airdate, '2005-09-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG141', 1, 413, 'Hail to the Chef!', '2006-06-03') ON DUPLICATE KEY UPDATE season = 1, number = 413, title = 'Hail to the Chef!', airdate = LEAST(airdate, '2006-06-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG142', 2, 142, 'Evolution! That Mystery and Wonder!!', '2005-09-08') ON DUPLICATE KEY UPDATE series = 2, number = 142, title = 'Evolution! That Mystery and Wonder!!', airdate = LEAST(airdate, '2005-09-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG142', 1, 414, 'Caterpie\'s Big Dilemma', '2006-06-10') ON DUPLICATE KEY UPDATE season = 1, number = 414, title = 'Caterpie\'s Big Dilemma', airdate = LEAST(airdate, '2006-06-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG143', 2, 143, 'Pokémon Contest - Yamabuki Conference!! (Part One)', '2005-09-15') ON DUPLICATE KEY UPDATE series = 2, number = 143, title = 'Pokémon Contest - Yamabuki Conference!! (Part One)', airdate = LEAST(airdate, '2005-09-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG143', 1, 415, 'The Saffron Con', '2006-06-17') ON DUPLICATE KEY UPDATE season = 1, number = 415, title = 'The Saffron Con', airdate = LEAST(airdate, '2006-06-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG144', 2, 144, 'Pokémon Contest - Yamabuki Conference!! (Part Two)', '2005-09-22') ON DUPLICATE KEY UPDATE series = 2, number = 144, title = 'Pokémon Contest - Yamabuki Conference!! (Part Two)', airdate = LEAST(airdate, '2005-09-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG144', 1, 416, 'A Hurdle for Squirtle', '2006-06-24') ON DUPLICATE KEY UPDATE season = 1, number = 416, title = 'A Hurdle for Squirtle', airdate = LEAST(airdate, '2006-06-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG145', 2, 145, 'Fighting Dojo! Satoshi VS Haruka!', '2005-09-29') ON DUPLICATE KEY UPDATE series = 2, number = 145, title = 'Fighting Dojo! Satoshi VS Haruka!', airdate = LEAST(airdate, '2005-09-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG145', 1, 417, 'Pasta La Vista!', '2006-07-08') ON DUPLICATE KEY UPDATE season = 1, number = 417, title = 'Pasta La Vista!', airdate = LEAST(airdate, '2006-07-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG146', 2, 146, 'Esper VS Ghost! Midnight Duel!?', '2005-10-06') ON DUPLICATE KEY UPDATE series = 2, number = 146, title = 'Esper VS Ghost! Midnight Duel!?', airdate = LEAST(airdate, '2005-10-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG146', 1, 418, 'Fear Factor Phony', '2006-09-08') ON DUPLICATE KEY UPDATE season = 1, number = 418, title = 'Fear Factor Phony', airdate = LEAST(airdate, '2006-09-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG147', 2, 147, 'Enter Manene! Mansion of Rest!', '2005-10-13') ON DUPLICATE KEY UPDATE series = 2, number = 147, title = 'Enter Manene! Mansion of Rest!', airdate = LEAST(airdate, '2005-10-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG147', 1, 419, 'Sweet Baby James', '2006-09-09') ON DUPLICATE KEY UPDATE season = 1, number = 419, title = 'Sweet Baby James', airdate = LEAST(airdate, '2006-09-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG148', 2, 148, 'Mizugorou and Mokoko! Wonder Drug of Love!?', '2005-10-20') ON DUPLICATE KEY UPDATE series = 2, number = 148, title = 'Mizugorou and Mokoko! Wonder Drug of Love!?', airdate = LEAST(airdate, '2005-10-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG148', 1, 420, 'A Chip Off the Old Brock', '2006-09-16') ON DUPLICATE KEY UPDATE season = 1, number = 420, title = 'A Chip Off the Old Brock', airdate = LEAST(airdate, '2006-09-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG149', 2, 149, 'Battle Arena! Fighting Showdown!!', '2005-10-27') ON DUPLICATE KEY UPDATE series = 2, number = 149, title = 'Battle Arena! Fighting Showdown!!', airdate = LEAST(airdate, '2005-10-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG149', 1, 421, 'Wheel of Frontier', '2006-09-16') ON DUPLICATE KEY UPDATE season = 1, number = 421, title = 'Wheel of Frontier', airdate = LEAST(airdate, '2006-09-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG150', 2, 150, 'Breeding House Practitioner and the Pokémon Egg!', '2005-11-03') ON DUPLICATE KEY UPDATE series = 2, number = 150, title = 'Breeding House Practitioner and the Pokémon Egg!', airdate = LEAST(airdate, '2005-11-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG150', 1, 422, 'May\'s Egg-Cellent Adventure', '2006-09-23') ON DUPLICATE KEY UPDATE season = 1, number = 422, title = 'May\'s Egg-Cellent Adventure', airdate = LEAST(airdate, '2006-09-23');
INSERT INTO episodes (code, title, airdate) VALUES ('TV03', 'The Terrifying Mirage Pokémon', '2006-10-13') ON DUPLICATE KEY UPDATE title = 'The Terrifying Mirage Pokémon', airdate = LEAST(airdate, '2006-10-13');
INSERT INTO dubs (code, title, airdate) VALUES ('TV03', 'The Mastermind of Mirage Pokémon', '2006-04-29') ON DUPLICATE KEY UPDATE title = 'The Mastermind of Mirage Pokémon', airdate = LEAST(airdate, '2006-04-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG151', 2, 151, 'The Rival is a Salaryman!?', '2005-11-10') ON DUPLICATE KEY UPDATE series = 2, number = 151, title = 'The Rival is a Salaryman!?', airdate = LEAST(airdate, '2005-11-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG151', 1, 423, 'Weekend Warrior', '2006-09-23') ON DUPLICATE KEY UPDATE season = 1, number = 423, title = 'Weekend Warrior', airdate = LEAST(airdate, '2006-09-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG152', 2, 152, 'Hakuryu\'s Lake!', '2005-11-17') ON DUPLICATE KEY UPDATE series = 2, number = 152, title = 'Hakuryu\'s Lake!', airdate = LEAST(airdate, '2005-11-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG152', 1, 424, 'On Olden Pond', '2006-09-30') ON DUPLICATE KEY UPDATE season = 1, number = 424, title = 'On Olden Pond', airdate = LEAST(airdate, '2006-09-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG153', 2, 153, 'Battle Dome! Fusion of Fire and Water!!', '2005-11-24') ON DUPLICATE KEY UPDATE series = 2, number = 153, title = 'Battle Dome! Fusion of Fire and Water!!', airdate = LEAST(airdate, '2005-11-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG153', 1, 425, 'Tactics Theatrics!!', '2006-09-30') ON DUPLICATE KEY UPDATE season = 1, number = 425, title = 'Tactics Theatrics!!', airdate = LEAST(airdate, '2006-09-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG154', 2, 154, 'Startling! Frightening! Elekid!!', '2005-12-01') ON DUPLICATE KEY UPDATE series = 2, number = 154, title = 'Startling! Frightening! Elekid!!', airdate = LEAST(airdate, '2005-12-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG154', 1, 426, 'Reversing the Charges', '2006-10-07') ON DUPLICATE KEY UPDATE season = 1, number = 426, title = 'Reversing the Charges', airdate = LEAST(airdate, '2006-10-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG155', 2, 155, 'Pokémon Ranger Appears! Celebi Rescue Mission!', '2005-12-08') ON DUPLICATE KEY UPDATE series = 2, number = 155, title = 'Pokémon Ranger Appears! Celebi Rescue Mission!', airdate = LEAST(airdate, '2005-12-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG155', 1, 427, 'The Green Guardian', '2006-10-07') ON DUPLICATE KEY UPDATE season = 1, number = 427, title = 'The Green Guardian', airdate = LEAST(airdate, '2006-10-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG156', 2, 156, 'Usohachi and the Ninja School!!', '2005-12-15') ON DUPLICATE KEY UPDATE series = 2, number = 156, title = 'Usohachi and the Ninja School!!', airdate = LEAST(airdate, '2005-12-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG156', 1, 428, 'From Cradle to Save', '2006-10-14') ON DUPLICATE KEY UPDATE season = 1, number = 428, title = 'From Cradle to Save', airdate = LEAST(airdate, '2006-10-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG157', 2, 157, 'Haruka Travels Through Time!!', '2005-12-22') ON DUPLICATE KEY UPDATE series = 2, number = 157, title = 'Haruka Travels Through Time!!', airdate = LEAST(airdate, '2005-12-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG157', 1, 429, 'Time-Warp Heals All Wounds', '2006-10-14') ON DUPLICATE KEY UPDATE season = 1, number = 429, title = 'Time-Warp Heals All Wounds', airdate = LEAST(airdate, '2006-10-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG158', 2, 158, 'Fierce Fighting at the Battle Tube! VS Tube Queen Azami!!', '2006-01-05') ON DUPLICATE KEY UPDATE series = 2, number = 158, title = 'Fierce Fighting at the Battle Tube! VS Tube Queen Azami!!', airdate = LEAST(airdate, '2006-01-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG158', 1, 430, 'Queen of the Serpentine!', '2006-10-21') ON DUPLICATE KEY UPDATE season = 1, number = 430, title = 'Queen of the Serpentine!', airdate = LEAST(airdate, '2006-10-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG159', 2, 159, 'Who Single-Handedly Has the Victory!? Pokémon Orienteering!', '2006-01-12') ON DUPLICATE KEY UPDATE series = 2, number = 159, title = 'Who Single-Handedly Has the Victory!? Pokémon Orienteering!', airdate = LEAST(airdate, '2006-01-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG159', 1, 431, 'Off the Unbeaten Path', '2006-10-21') ON DUPLICATE KEY UPDATE season = 1, number = 431, title = 'Off the Unbeaten Path', airdate = LEAST(airdate, '2006-10-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG160', 2, 160, 'Gonbe\'s Debut Battle! Harley and Taking the Game Seriously!!', '2006-01-19') ON DUPLICATE KEY UPDATE series = 2, number = 160, title = 'Gonbe\'s Debut Battle! Harley and Taking the Game Seriously!!', airdate = LEAST(airdate, '2006-01-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG160', 1, 432, 'Harley Rides Again', '2006-10-28') ON DUPLICATE KEY UPDATE season = 1, number = 432, title = 'Harley Rides Again', airdate = LEAST(airdate, '2006-10-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG161', 2, 161, 'Juptile VS Tropius! Grassland Duel!!', '2006-01-26') ON DUPLICATE KEY UPDATE series = 2, number = 161, title = 'Juptile VS Tropius! Grassland Duel!!', airdate = LEAST(airdate, '2006-01-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG161', 1, 433, 'Odd Pokémon Out!', '2006-10-28') ON DUPLICATE KEY UPDATE season = 1, number = 433, title = 'Odd Pokémon Out!', airdate = LEAST(airdate, '2006-10-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG162', 2, 162, 'Pokémon Contest! Yuzuriha Convention!!', '2006-02-02') ON DUPLICATE KEY UPDATE series = 2, number = 162, title = 'Pokémon Contest! Yuzuriha Convention!!', airdate = LEAST(airdate, '2006-02-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG162', 1, 434, 'Spontaneous Combusken!', '2006-11-04') ON DUPLICATE KEY UPDATE season = 1, number = 434, title = 'Spontaneous Combusken!', airdate = LEAST(airdate, '2006-11-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG163', 2, 163, 'Jukain! Dawn of Revival!!', '2006-02-09') ON DUPLICATE KEY UPDATE series = 2, number = 163, title = 'Jukain! Dawn of Revival!!', airdate = LEAST(airdate, '2006-02-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG163', 1, 435, 'Cutting the Ties that Bind!', '2006-11-04') ON DUPLICATE KEY UPDATE season = 1, number = 435, title = 'Cutting the Ties that Bind!', airdate = LEAST(airdate, '2006-11-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG164', 2, 164, 'Fierce Fighting! Jungle Battle at the Battle Palace!!', '2006-02-16') ON DUPLICATE KEY UPDATE series = 2, number = 164, title = 'Fierce Fighting! Jungle Battle at the Battle Palace!!', airdate = LEAST(airdate, '2006-02-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG164', 1, 436, 'Ka Boom with a View!', '2006-11-11') ON DUPLICATE KEY UPDATE season = 1, number = 436, title = 'Ka Boom with a View!', airdate = LEAST(airdate, '2006-11-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG165', 2, 165, 'Usohachi King and Manene Queen!?', '2006-02-23') ON DUPLICATE KEY UPDATE series = 2, number = 165, title = 'Usohachi King and Manene Queen!?', airdate = LEAST(airdate, '2006-02-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG165', 1, 437, 'King and Queen for a Day!', '2006-11-11') ON DUPLICATE KEY UPDATE season = 1, number = 437, title = 'King and Queen for a Day!', airdate = LEAST(airdate, '2006-11-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG166', 2, 166, 'The Red Lightning of Skyscrapers!', '2006-03-02') ON DUPLICATE KEY UPDATE series = 2, number = 166, title = 'The Red Lightning of Skyscrapers!', airdate = LEAST(airdate, '2006-03-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG166', 1, 438, 'Curbing the Crimson Tide!', '2006-11-18') ON DUPLICATE KEY UPDATE season = 1, number = 438, title = 'Curbing the Crimson Tide!', airdate = LEAST(airdate, '2006-11-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG167', 2, 167, 'Decisive Game! Haruka VS Takeshi!!', '2006-03-09') ON DUPLICATE KEY UPDATE series = 2, number = 167, title = 'Decisive Game! Haruka VS Takeshi!!', airdate = LEAST(airdate, '2006-03-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG167', 1, 439, 'What I Did for Love!', '2006-11-18') ON DUPLICATE KEY UPDATE season = 1, number = 439, title = 'What I Did for Love!', airdate = LEAST(airdate, '2006-11-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG168', 2, 168, 'Muchul and Three Rougela Sisters!!', '2006-03-16') ON DUPLICATE KEY UPDATE series = 2, number = 168, title = 'Muchul and Three Rougela Sisters!!', airdate = LEAST(airdate, '2006-03-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG168', 1, 440, 'Three Jynx and a Baby!', '2006-11-25') ON DUPLICATE KEY UPDATE season = 1, number = 440, title = 'Three Jynx and a Baby!', airdate = LEAST(airdate, '2006-11-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG169', 2, 169, 'Enter the Tower Tycoon, Lila!!', '2006-03-23') ON DUPLICATE KEY UPDATE series = 2, number = 169, title = 'Enter the Tower Tycoon, Lila!!', airdate = LEAST(airdate, '2006-03-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG169', 1, 441, 'Talking a Good Game!', '2006-11-25') ON DUPLICATE KEY UPDATE season = 1, number = 441, title = 'Talking a Good Game!', airdate = LEAST(airdate, '2006-11-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG170', 2, 170, 'Battle Tower! Telepathy Battle!!', '2006-03-30') ON DUPLICATE KEY UPDATE series = 2, number = 170, title = 'Battle Tower! Telepathy Battle!!', airdate = LEAST(airdate, '2006-03-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG170', 1, 442, 'Second Time\'s the Charm!', '2006-11-27') ON DUPLICATE KEY UPDATE season = 1, number = 442, title = 'Second Time\'s the Charm!', airdate = LEAST(airdate, '2006-11-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG171', 2, 171, 'Pokémon Ranger! Deoxys Crisis!! (Part 1)', '2006-04-13') ON DUPLICATE KEY UPDATE series = 2, number = 171, title = 'Pokémon Ranger! Deoxys Crisis!! (Part 1)', airdate = LEAST(airdate, '2006-04-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG171', 1, 443, 'Pokémon Ranger - Deoxys Crisis! (Part 1)', '2006-10-28') ON DUPLICATE KEY UPDATE season = 1, number = 443, title = 'Pokémon Ranger - Deoxys Crisis! (Part 1)', airdate = LEAST(airdate, '2006-10-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG172', 2, 172, 'Pokémon Ranger! Deoxys Crisis!! (Part 2)', '2006-04-13') ON DUPLICATE KEY UPDATE series = 2, number = 172, title = 'Pokémon Ranger! Deoxys Crisis!! (Part 2)', airdate = LEAST(airdate, '2006-04-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG172', 1, 444, 'Pokémon Ranger - Deoxys Crisis! (Part 2)', '2006-10-28') ON DUPLICATE KEY UPDATE season = 1, number = 444, title = 'Pokémon Ranger - Deoxys Crisis! (Part 2)', airdate = LEAST(airdate, '2006-10-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG173', 2, 173, 'Usokkie! Gold Legend!?', '2006-04-20') ON DUPLICATE KEY UPDATE series = 2, number = 173, title = 'Usokkie! Gold Legend!?', airdate = LEAST(airdate, '2006-04-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG173', 1, 445, 'All That Glitters is Not Golden!', '2006-11-28') ON DUPLICATE KEY UPDATE season = 1, number = 445, title = 'All That Glitters is Not Golden!', airdate = LEAST(airdate, '2006-11-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG174', 2, 174, 'Harley and Rocket-dan! Formation of a Villainous Alliance!?', '2006-04-27') ON DUPLICATE KEY UPDATE series = 2, number = 174, title = 'Harley and Rocket-dan! Formation of a Villainous Alliance!?', airdate = LEAST(airdate, '2006-04-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG174', 1, 446, 'New Plot, Odd Lot!', '2006-11-29') ON DUPLICATE KEY UPDATE season = 1, number = 446, title = 'New Plot, Odd Lot!', airdate = LEAST(airdate, '2006-11-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG175', 2, 175, 'Haruka VS Musashi! The Last Contest!!', '2006-05-04') ON DUPLICATE KEY UPDATE series = 2, number = 175, title = 'Haruka VS Musashi! The Last Contest!!', airdate = LEAST(airdate, '2006-05-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG175', 1, 447, 'Going for Choke!', '2006-11-30') ON DUPLICATE KEY UPDATE season = 1, number = 447, title = 'Going for Choke!', airdate = LEAST(airdate, '2006-11-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG176', 2, 176, 'Rocket-dan Dissolution!? Respective Roads!', '2006-05-11') ON DUPLICATE KEY UPDATE series = 2, number = 176, title = 'Rocket-dan Dissolution!? Respective Roads!', airdate = LEAST(airdate, '2006-05-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG176', 1, 448, 'The Ole\' Berate and Switch!', '2006-12-04') ON DUPLICATE KEY UPDATE season = 1, number = 448, title = 'The Ole\' Berate and Switch!', airdate = LEAST(airdate, '2006-12-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG177', 2, 177, 'Takeshi & Satoshi! Defend Nibi Gym in a Tag Battle!!', '2006-05-18') ON DUPLICATE KEY UPDATE series = 2, number = 177, title = 'Takeshi & Satoshi! Defend Nibi Gym in a Tag Battle!!', airdate = LEAST(airdate, '2006-05-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG177', 1, 449, 'Grating Spaces!', '2006-12-05') ON DUPLICATE KEY UPDATE season = 1, number = 449, title = 'Grating Spaces!', airdate = LEAST(airdate, '2006-12-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG178', 2, 178, 'Battle Pyramid! VS Regirock!!', '2006-05-25') ON DUPLICATE KEY UPDATE series = 2, number = 178, title = 'Battle Pyramid! VS Regirock!!', airdate = LEAST(airdate, '2006-05-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG178', 1, 450, 'Battling the Enemy Within!', '2006-12-06') ON DUPLICATE KEY UPDATE season = 1, number = 450, title = 'Battling the Enemy Within!', airdate = LEAST(airdate, '2006-12-06');
INSERT INTO episodes (code, title, airdate) VALUES ('UN12', 'Get Together! Pokémon Planet Center', '2006-06-03') ON DUPLICATE KEY UPDATE title = 'Get Together! Pokémon Planet Center', airdate = LEAST(airdate, '2006-06-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG179', 2, 179, 'Marvel! Mountain of the Giant Kekking!!', '2006-06-08') ON DUPLICATE KEY UPDATE series = 2, number = 179, title = 'Marvel! Mountain of the Giant Kekking!!', airdate = LEAST(airdate, '2006-06-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG179', 1, 451, 'Slaking Kong!', '2006-12-07') ON DUPLICATE KEY UPDATE season = 1, number = 451, title = 'Slaking Kong!', airdate = LEAST(airdate, '2006-12-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG180', 2, 180, 'Raising the Curtain! Pokémon Contest - Grand Festival!!', '2006-06-15') ON DUPLICATE KEY UPDATE series = 2, number = 180, title = 'Raising the Curtain! Pokémon Contest - Grand Festival!!', airdate = LEAST(airdate, '2006-06-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG180', 1, 452, 'May, We Harley Drew\'d Ya!', '2006-12-11') ON DUPLICATE KEY UPDATE season = 1, number = 452, title = 'May, We Harley Drew\'d Ya!', airdate = LEAST(airdate, '2006-12-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG181', 2, 181, 'Haruka VS Harley! Stage On with a Double Battle!!', '2006-06-22') ON DUPLICATE KEY UPDATE series = 2, number = 181, title = 'Haruka VS Harley! Stage On with a Double Battle!!', airdate = LEAST(airdate, '2006-06-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG181', 1, 453, 'Thinning the Hoard!', '2006-12-12') ON DUPLICATE KEY UPDATE season = 1, number = 453, title = 'Thinning the Hoard!', airdate = LEAST(airdate, '2006-12-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG182', 2, 182, 'Haruka VS Shū! The Final Battle!!', '2006-06-29') ON DUPLICATE KEY UPDATE series = 2, number = 182, title = 'Haruka VS Shū! The Final Battle!!', airdate = LEAST(airdate, '2006-06-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG182', 1, 454, 'Channeling the Battle Zone!', '2006-12-13') ON DUPLICATE KEY UPDATE season = 1, number = 454, title = 'Channeling the Battle Zone!', airdate = LEAST(airdate, '2006-12-13');
INSERT INTO episodes (code, title, airdate) VALUES ('PK16', 'Pikachu\'s Ocean Adventure', '2006-05-20') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Ocean Adventure', airdate = LEAST(airdate, '2006-05-20');
INSERT INTO dubs (code, title, airdate) VALUES ('PK16', 'Pikachu\'s Ocean Adventure', '2008-07-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Ocean Adventure', airdate = LEAST(airdate, '2008-07-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG183', 2, 183, 'Eipam and the King!', '2006-07-06') ON DUPLICATE KEY UPDATE series = 2, number = 183, title = 'Eipam and the King!', airdate = LEAST(airdate, '2006-07-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG183', 1, 455, 'Aipom and Circumstance!', '2006-12-14') ON DUPLICATE KEY UPDATE season = 1, number = 455, title = 'Aipom and Circumstance!', airdate = LEAST(airdate, '2006-12-14');
INSERT INTO episodes (code, title, airdate) VALUES ('M09', 'Pokémon Ranger and the Prince of the Sea: Manaphy', '2006-07-15') ON DUPLICATE KEY UPDATE title = 'Pokémon Ranger and the Prince of the Sea: Manaphy', airdate = LEAST(airdate, '2006-07-15');
INSERT INTO dubs (code, title, airdate) VALUES ('M09', 'Pokémon Ranger and the Temple of the Sea', '2007-03-23') ON DUPLICATE KEY UPDATE title = 'Pokémon Ranger and the Temple of the Sea', airdate = LEAST(airdate, '2007-03-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG184', 2, 184, 'Perap and the Pokémon Comedian!', '2006-07-20') ON DUPLICATE KEY UPDATE series = 2, number = 184, title = 'Perap and the Pokémon Comedian!', airdate = LEAST(airdate, '2006-07-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG184', 1, 456, 'Strategy Tomorrow - Comedy Tonight!', '2007-01-06') ON DUPLICATE KEY UPDATE season = 1, number = 456, title = 'Strategy Tomorrow - Comedy Tonight!', airdate = LEAST(airdate, '2007-01-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG185', 2, 185, 'Attack! The Stray Manyula!!', '2006-07-27') ON DUPLICATE KEY UPDATE series = 2, number = 185, title = 'Attack! The Stray Manyula!!', airdate = LEAST(airdate, '2006-07-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG185', 1, 457, 'Duels of the Jungle!', '2007-01-13') ON DUPLICATE KEY UPDATE season = 1, number = 457, title = 'Duels of the Jungle!', airdate = LEAST(airdate, '2007-01-13');
INSERT INTO episodes (code, title, airdate) VALUES ('PK17', 'Pikachu\'s Naughty Island', '2006-08-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Naughty Island', airdate = LEAST(airdate, '2006-08-01');
INSERT INTO dubs (code, title, airdate) VALUES ('PK17', 'Pikachu\'s Island Adventure', '2007-04-03') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Island Adventure', airdate = LEAST(airdate, '2007-04-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG186', 2, 186, 'Battle Pyramid Again! VS Registeel!!', '2006-08-03') ON DUPLICATE KEY UPDATE series = 2, number = 186, title = 'Battle Pyramid Again! VS Registeel!!', airdate = LEAST(airdate, '2006-08-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG186', 1, 458, 'Overjoyed!', '2007-01-20') ON DUPLICATE KEY UPDATE season = 1, number = 458, title = 'Overjoyed!', airdate = LEAST(airdate, '2007-01-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG187', 2, 187, 'Haruka VS Shū! Rivals Forever!!', '2006-08-10') ON DUPLICATE KEY UPDATE series = 2, number = 187, title = 'Haruka VS Shū! Rivals Forever!!', airdate = LEAST(airdate, '2006-08-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG187', 1, 459, 'The Unbeatable Lightness of Seeing!', '2007-01-27') ON DUPLICATE KEY UPDATE season = 1, number = 459, title = 'The Unbeatable Lightness of Seeing!', airdate = LEAST(airdate, '2007-01-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG188', 2, 188, 'The Pokémon Center is Very Busy!', '2006-08-17') ON DUPLICATE KEY UPDATE series = 2, number = 188, title = 'The Pokémon Center is Very Busy!', airdate = LEAST(airdate, '2006-08-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG188', 1, 460, 'Pinch Healing!', '2007-02-03') ON DUPLICATE KEY UPDATE season = 1, number = 460, title = 'Pinch Healing!', airdate = LEAST(airdate, '2007-02-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG189', 2, 189, 'First Pokémon! Final Battle!!', '2006-08-24') ON DUPLICATE KEY UPDATE series = 2, number = 189, title = 'First Pokémon! Final Battle!!', airdate = LEAST(airdate, '2006-08-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG189', 1, 461, 'Gathering the Gang of Four!', '2007-02-10') ON DUPLICATE KEY UPDATE season = 1, number = 461, title = 'Gathering the Gang of Four!', airdate = LEAST(airdate, '2007-02-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG190', 2, 190, 'Deciding Match! VS Regice!!', '2006-08-31') ON DUPLICATE KEY UPDATE series = 2, number = 190, title = 'Deciding Match! VS Regice!!', airdate = LEAST(airdate, '2006-08-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG190', 1, 462, 'Pace - The Final Frontier!', '2007-02-17') ON DUPLICATE KEY UPDATE season = 1, number = 462, title = 'Pace - The Final Frontier!', airdate = LEAST(airdate, '2007-02-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG191', 2, 191, 'Satoshi VS Haruka! Last Battle!!', '2006-09-07') ON DUPLICATE KEY UPDATE series = 2, number = 191, title = 'Satoshi VS Haruka! Last Battle!!', airdate = LEAST(airdate, '2006-09-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG191', 1, 463, 'Once More With Reeling!', '2007-02-24') ON DUPLICATE KEY UPDATE season = 1, number = 463, title = 'Once More With Reeling!', airdate = LEAST(airdate, '2007-02-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('AG192', 2, 192, 'End of a Journey, and Then the Start of a Journey!', '2006-09-14') ON DUPLICATE KEY UPDATE series = 2, number = 192, title = 'End of a Journey, and Then the Start of a Journey!', airdate = LEAST(airdate, '2006-09-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('AG192', 1, 464, 'Home is Where the Start Is!', '2007-03-03') ON DUPLICATE KEY UPDATE season = 1, number = 464, title = 'Home is Where the Start Is!', airdate = LEAST(airdate, '2007-03-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP001', 3, 1, 'Setting Off! From Futaba Town to Masago Town!!', '2006-09-28') ON DUPLICATE KEY UPDATE series = 3, number = 1, title = 'Setting Off! From Futaba Town to Masago Town!!', airdate = LEAST(airdate, '2006-09-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP001', 1, 465, 'Following a Maiden\'s Voyage!', '2007-04-20') ON DUPLICATE KEY UPDATE season = 1, number = 465, title = 'Following a Maiden\'s Voyage!', airdate = LEAST(airdate, '2007-04-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP002', 3, 2, 'Find Pikachu! Route 202!', '2006-09-28') ON DUPLICATE KEY UPDATE series = 3, number = 2, title = 'Find Pikachu! Route 202!', airdate = LEAST(airdate, '2006-09-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP002', 1, 466, 'Two Degrees of Separation!', '2007-04-20') ON DUPLICATE KEY UPDATE season = 1, number = 466, title = 'Two Degrees of Separation!', airdate = LEAST(airdate, '2007-04-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP003', 3, 3, 'Rival Battle! Three VS Three!', '2006-09-28') ON DUPLICATE KEY UPDATE series = 3, number = 3, title = 'Rival Battle! Three VS Three!', airdate = LEAST(airdate, '2006-09-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP003', 1, 467, 'When Pokémon Worlds Collide!', '2007-04-20') ON DUPLICATE KEY UPDATE season = 1, number = 467, title = 'When Pokémon Worlds Collide!', airdate = LEAST(airdate, '2007-04-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP004', 3, 4, 'Pochama VS Subomie! Hikari\'s First Battle!!', '2006-10-05') ON DUPLICATE KEY UPDATE series = 3, number = 4, title = 'Pochama VS Subomie! Hikari\'s First Battle!!', airdate = LEAST(airdate, '2006-10-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP004', 1, 468, 'Dawn Of A New Era!', '2007-06-07') ON DUPLICATE KEY UPDATE season = 1, number = 468, title = 'Dawn Of A New Era!', airdate = LEAST(airdate, '2007-06-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP005', 3, 5, 'Naetle! I\'ll Get You!', '2006-10-19') ON DUPLICATE KEY UPDATE series = 3, number = 5, title = 'Naetle! I\'ll Get You!', airdate = LEAST(airdate, '2006-10-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP005', 1, 469, 'Gettin\' Twiggy With It!', '2007-06-11') ON DUPLICATE KEY UPDATE season = 1, number = 469, title = 'Gettin\' Twiggy With It!', airdate = LEAST(airdate, '2007-06-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP006', 3, 6, 'Bewilder Forest! Shinji Returns!!', '2006-10-26') ON DUPLICATE KEY UPDATE series = 3, number = 6, title = 'Bewilder Forest! Shinji Returns!!', airdate = LEAST(airdate, '2006-10-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP006', 1, 470, 'Different Strokes for Different Blokes!', '2007-06-12') ON DUPLICATE KEY UPDATE season = 1, number = 470, title = 'Different Strokes for Different Blokes!', airdate = LEAST(airdate, '2007-06-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP007', 3, 7, 'Pochama Tries Its Hardest!!', '2006-11-02') ON DUPLICATE KEY UPDATE series = 3, number = 7, title = 'Pochama Tries Its Hardest!!', airdate = LEAST(airdate, '2006-11-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP007', 1, 471, 'Like It or Lup It!', '2007-06-13') ON DUPLICATE KEY UPDATE season = 1, number = 471, title = 'Like It or Lup It!', airdate = LEAST(airdate, '2007-06-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP008', 3, 8, 'Gureggru of the Mysterious Gym!', '2006-11-09') ON DUPLICATE KEY UPDATE series = 3, number = 8, title = 'Gureggru of the Mysterious Gym!', airdate = LEAST(airdate, '2006-11-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP008', 1, 472, 'Gymbaliar!', '2007-06-14') ON DUPLICATE KEY UPDATE season = 1, number = 472, title = 'Gymbaliar!', airdate = LEAST(airdate, '2007-06-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP009', 3, 9, 'Let\'s Play with Mimirol!?', '2006-11-16') ON DUPLICATE KEY UPDATE series = 3, number = 9, title = 'Let\'s Play with Mimirol!?', airdate = LEAST(airdate, '2006-11-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP009', 1, 473, 'Setting the World on its Buneary!', '2007-06-18') ON DUPLICATE KEY UPDATE season = 1, number = 473, title = 'Setting the World on its Buneary!', airdate = LEAST(airdate, '2007-06-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP010', 3, 10, 'Can\'t Get the Pokétch!?', '2006-11-30') ON DUPLICATE KEY UPDATE series = 3, number = 10, title = 'Can\'t Get the Pokétch!?', airdate = LEAST(airdate, '2006-11-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP010', 1, 474, 'Not on MY Watch Ya Don\'t!', '2007-06-19') ON DUPLICATE KEY UPDATE season = 1, number = 474, title = 'Not on MY Watch Ya Don\'t!', airdate = LEAST(airdate, '2007-06-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP011', 3, 11, 'Hikari! Contest Debut!!', '2006-12-07') ON DUPLICATE KEY UPDATE series = 3, number = 11, title = 'Hikari! Contest Debut!!', airdate = LEAST(airdate, '2006-12-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP011', 1, 475, 'Mounting a Coordinator Assault!', '2007-06-20') ON DUPLICATE KEY UPDATE season = 1, number = 475, title = 'Mounting a Coordinator Assault!', airdate = LEAST(airdate, '2007-06-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP012', 3, 12, 'Contest Battle! Rival Confrontation!!', '2006-12-14') ON DUPLICATE KEY UPDATE series = 3, number = 12, title = 'Contest Battle! Rival Confrontation!!', airdate = LEAST(airdate, '2006-12-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP012', 1, 476, 'Arrival of a Rival!', '2007-06-21') ON DUPLICATE KEY UPDATE season = 1, number = 476, title = 'Arrival of a Rival!', airdate = LEAST(airdate, '2007-06-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP013', 3, 13, 'Mukkuru Perseveres!', '2006-12-21') ON DUPLICATE KEY UPDATE series = 3, number = 13, title = 'Mukkuru Perseveres!', airdate = LEAST(airdate, '2006-12-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP013', 1, 477, 'A Staravia Is Born!', '2007-06-25') ON DUPLICATE KEY UPDATE season = 1, number = 477, title = 'A Staravia Is Born!', airdate = LEAST(airdate, '2007-06-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP014', 3, 14, 'Leave It to Takeshi!!', '2006-12-21') ON DUPLICATE KEY UPDATE series = 3, number = 14, title = 'Leave It to Takeshi!!', airdate = LEAST(airdate, '2006-12-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP014', 1, 478, 'Leave It To Brocko!', '2007-06-26') ON DUPLICATE KEY UPDATE season = 1, number = 478, title = 'Leave It To Brocko!', airdate = LEAST(airdate, '2007-06-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP015', 3, 15, 'Kurogane Gym! Hyouta VS Shinji!!', '2007-01-11') ON DUPLICATE KEY UPDATE series = 3, number = 15, title = 'Kurogane Gym! Hyouta VS Shinji!!', airdate = LEAST(airdate, '2007-01-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP015', 1, 479, 'Shapes of Things to Come!', '2007-06-27') ON DUPLICATE KEY UPDATE season = 1, number = 479, title = 'Shapes of Things to Come!', airdate = LEAST(airdate, '2007-06-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP016', 3, 16, 'Zugaidos VS Pikachu!!', '2007-01-18') ON DUPLICATE KEY UPDATE series = 3, number = 16, title = 'Zugaidos VS Pikachu!!', airdate = LEAST(airdate, '2007-01-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP016', 1, 480, 'A Gruff Act to Follow!', '2007-06-28') ON DUPLICATE KEY UPDATE season = 1, number = 480, title = 'A Gruff Act to Follow!', airdate = LEAST(airdate, '2007-06-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP017', 3, 17, 'Ancient Pokémon Rampage!', '2007-01-25') ON DUPLICATE KEY UPDATE series = 3, number = 17, title = 'Ancient Pokémon Rampage!', airdate = LEAST(airdate, '2007-01-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP017', 1, 481, 'Wild in the Streets!', '2007-07-02') ON DUPLICATE KEY UPDATE season = 1, number = 481, title = 'Wild in the Streets!', airdate = LEAST(airdate, '2007-07-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP018', 3, 18, 'Return to Kurogane Gym! Decisive Match with Rampald!!', '2007-02-01') ON DUPLICATE KEY UPDATE series = 3, number = 18, title = 'Return to Kurogane Gym! Decisive Match with Rampald!!', airdate = LEAST(airdate, '2007-02-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP018', 1, 482, 'O\'er the Rampardos We Watched!', '2007-07-03') ON DUPLICATE KEY UPDATE season = 1, number = 482, title = 'O\'er the Rampardos We Watched!', airdate = LEAST(airdate, '2007-07-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP019', 3, 19, 'I\'ll Get Pachirisu... No Need to Worry!?', '2007-02-08') ON DUPLICATE KEY UPDATE series = 3, number = 19, title = 'I\'ll Get Pachirisu... No Need to Worry!?', airdate = LEAST(airdate, '2007-02-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP019', 1, 483, 'Twice Smitten, Once Shy!', '2007-07-05') ON DUPLICATE KEY UPDATE season = 1, number = 483, title = 'Twice Smitten, Once Shy!', airdate = LEAST(airdate, '2007-07-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP020', 3, 20, 'Pokémon Hunter J!', '2007-02-22') ON DUPLICATE KEY UPDATE series = 3, number = 20, title = 'Pokémon Hunter J!', airdate = LEAST(airdate, '2007-02-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP020', 1, 484, 'Mutiny in the Bounty!', '2007-07-09') ON DUPLICATE KEY UPDATE season = 1, number = 484, title = 'Mutiny in the Bounty!', airdate = LEAST(airdate, '2007-07-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP021', 3, 21, 'The Strongest Koiking and the Most Beautiful Hinbass!', '2007-03-01') ON DUPLICATE KEY UPDATE series = 3, number = 21, title = 'The Strongest Koiking and the Most Beautiful Hinbass!', airdate = LEAST(airdate, '2007-03-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP021', 1, 485, 'Ya See We Want An Evolution!', '2007-07-10') ON DUPLICATE KEY UPDATE season = 1, number = 485, title = 'Ya See We Want An Evolution!', airdate = LEAST(airdate, '2007-07-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP022', 3, 22, 'Pachirisu VS Eipam! Contest Battle!!', '2007-03-08') ON DUPLICATE KEY UPDATE series = 3, number = 22, title = 'Pachirisu VS Eipam! Contest Battle!!', airdate = LEAST(airdate, '2007-03-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP022', 1, 486, 'Borrowing on Bad Faith!', '2007-07-11') ON DUPLICATE KEY UPDATE season = 1, number = 486, title = 'Borrowing on Bad Faith!', airdate = LEAST(airdate, '2007-07-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP023', 3, 23, 'Roaring Haganeil! Protect the Bippa Village!!', '2007-03-15') ON DUPLICATE KEY UPDATE series = 3, number = 23, title = 'Roaring Haganeil! Protect the Bippa Village!!', airdate = LEAST(airdate, '2007-03-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP023', 1, 487, 'Faced With Steelix Determination!', '2007-07-12') ON DUPLICATE KEY UPDATE season = 1, number = 487, title = 'Faced With Steelix Determination!', airdate = LEAST(airdate, '2007-07-12');
INSERT INTO episodes (code, title, airdate) VALUES ('SS019', 'Pokémon Mystery Dungeon: Setting Out: Pokémon Rescue Team Ganbarus!!', '2007-03-23') ON DUPLICATE KEY UPDATE title = 'Pokémon Mystery Dungeon: Setting Out: Pokémon Rescue Team Ganbarus!!', airdate = LEAST(airdate, '2007-03-23');
INSERT INTO dubs (code, title, airdate) VALUES ('SS019', 'Pokémon Mystery Dungeon: Team Go-Getters out of the Gate!', '2006-09-08') ON DUPLICATE KEY UPDATE title = 'Pokémon Mystery Dungeon: Team Go-Getters out of the Gate!', airdate = LEAST(airdate, '2006-09-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP024', 3, 24, 'Showdown! Satoshi VS Pikachu?!', '2007-03-29') ON DUPLICATE KEY UPDATE series = 3, number = 24, title = 'Showdown! Satoshi VS Pikachu?!', airdate = LEAST(airdate, '2007-03-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP024', 1, 488, 'Cooking up a Sweet Story!', '2007-07-16') ON DUPLICATE KEY UPDATE season = 1, number = 488, title = 'Cooking up a Sweet Story!', airdate = LEAST(airdate, '2007-07-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP025', 3, 25, 'The Gifted Roserade and the Flower Legend!', '2007-03-29') ON DUPLICATE KEY UPDATE series = 3, number = 25, title = 'The Gifted Roserade and the Flower Legend!', airdate = LEAST(airdate, '2007-03-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP025', 1, 489, 'Oh Do You Know The Poffin Plan!', '2007-09-01') ON DUPLICATE KEY UPDATE season = 1, number = 489, title = 'Oh Do You Know The Poffin Plan!', airdate = LEAST(airdate, '2007-09-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP026', 3, 26, 'Pokémon Contest! Sonoo Tournament!!', '2007-04-05') ON DUPLICATE KEY UPDATE series = 3, number = 26, title = 'Pokémon Contest! Sonoo Tournament!!', airdate = LEAST(airdate, '2007-04-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP026', 1, 490, 'Getting the Pre-Contest Titters!', '2007-09-01') ON DUPLICATE KEY UPDATE season = 1, number = 490, title = 'Getting the Pre-Contest Titters!', airdate = LEAST(airdate, '2007-09-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP027', 3, 27, 'Decisive Battle! Pochama VS Pottaishi!!', '2007-04-05') ON DUPLICATE KEY UPDATE series = 3, number = 27, title = 'Decisive Battle! Pochama VS Pottaishi!!', airdate = LEAST(airdate, '2007-04-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP027', 1, 491, 'Settling a Not-So-Old Score!', '2007-09-08') ON DUPLICATE KEY UPDATE season = 1, number = 491, title = 'Settling a Not-So-Old Score!', airdate = LEAST(airdate, '2007-09-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP028', 3, 28, 'Fuwante and the Messenger of the North Wind!', '2007-04-12') ON DUPLICATE KEY UPDATE series = 3, number = 28, title = 'Fuwante and the Messenger of the North Wind!', airdate = LEAST(airdate, '2007-04-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP028', 1, 492, 'Drifloon on the Wind!', '2007-09-15') ON DUPLICATE KEY UPDATE season = 1, number = 492, title = 'Drifloon on the Wind!', airdate = LEAST(airdate, '2007-09-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP029', 3, 29, 'Satoshi and Hikari! Any Need to Worry in a Tag Battle!?', '2007-04-12') ON DUPLICATE KEY UPDATE series = 3, number = 29, title = 'Satoshi and Hikari! Any Need to Worry in a Tag Battle!?', airdate = LEAST(airdate, '2007-04-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP029', 1, 493, 'The Champ Twins!', '2007-09-22') ON DUPLICATE KEY UPDATE season = 1, number = 493, title = 'The Champ Twins!', airdate = LEAST(airdate, '2007-09-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP030', 3, 30, 'Hakutai Forest! The Minomutchi Evolution Plan!!', '2007-04-19') ON DUPLICATE KEY UPDATE series = 3, number = 30, title = 'Hakutai Forest! The Minomutchi Evolution Plan!!', airdate = LEAST(airdate, '2007-04-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP030', 1, 494, 'Some Enchanted Sweetening!', '2007-09-29') ON DUPLICATE KEY UPDATE season = 1, number = 494, title = 'Some Enchanted Sweetening!', airdate = LEAST(airdate, '2007-09-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP031', 3, 31, 'Naetle VS Naetle! Speed Showdown!!', '2007-04-26') ON DUPLICATE KEY UPDATE series = 3, number = 31, title = 'Naetle VS Naetle! Speed Showdown!!', airdate = LEAST(airdate, '2007-04-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP031', 1, 495, 'The Grass-Type Is Always Greener!', '2007-10-06') ON DUPLICATE KEY UPDATE season = 1, number = 495, title = 'The Grass-Type Is Always Greener!', airdate = LEAST(airdate, '2007-10-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP032', 3, 32, 'Beequen of the Amber Castle!', '2007-05-03') ON DUPLICATE KEY UPDATE series = 3, number = 32, title = 'Beequen of the Amber Castle!', airdate = LEAST(airdate, '2007-05-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP032', 1, 496, 'An Angry Combeenation!', '2007-10-13') ON DUPLICATE KEY UPDATE season = 1, number = 496, title = 'An Angry Combeenation!', airdate = LEAST(airdate, '2007-10-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP033', 3, 33, 'I Like It! Pokémon Cosplay Convention!!', '2007-05-10') ON DUPLICATE KEY UPDATE series = 3, number = 33, title = 'I Like It! Pokémon Cosplay Convention!!', airdate = LEAST(airdate, '2007-05-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP033', 1, 497, 'All Dressed Up With Somewhere To Go!', '2007-10-20') ON DUPLICATE KEY UPDATE season = 1, number = 497, title = 'All Dressed Up With Somewhere To Go!', airdate = LEAST(airdate, '2007-10-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP034', 3, 34, 'Buoysel! Road to Being the Strongest!!', '2007-05-17') ON DUPLICATE KEY UPDATE series = 3, number = 34, title = 'Buoysel! Road to Being the Strongest!!', airdate = LEAST(airdate, '2007-05-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP034', 1, 498, 'Buizel Your Way Out Of This!', '2007-10-27') ON DUPLICATE KEY UPDATE season = 1, number = 498, title = 'Buizel Your Way Out Of This!', airdate = LEAST(airdate, '2007-10-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP035', 3, 35, 'Four Heavenly Kings Goyō and Dohtakun!', '2007-05-24') ON DUPLICATE KEY UPDATE series = 3, number = 35, title = 'Four Heavenly Kings Goyō and Dohtakun!', airdate = LEAST(airdate, '2007-05-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP035', 1, 499, 'An Elite Meet And Greet!', '2007-11-03') ON DUPLICATE KEY UPDATE season = 1, number = 499, title = 'An Elite Meet And Greet!', airdate = LEAST(airdate, '2007-11-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP036', 3, 36, 'The Shin\'ō Space-Time Legend!', '2007-05-31') ON DUPLICATE KEY UPDATE series = 3, number = 36, title = 'The Shin\'ō Space-Time Legend!', airdate = LEAST(airdate, '2007-05-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP036', 1, 500, 'A Secret Sphere of Influence!', '2007-11-10') ON DUPLICATE KEY UPDATE season = 1, number = 500, title = 'A Secret Sphere of Influence!', airdate = LEAST(airdate, '2007-11-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP037', 3, 37, 'Hakutai Gym! VS Natane!!', '2007-06-07') ON DUPLICATE KEY UPDATE series = 3, number = 37, title = 'Hakutai Gym! VS Natane!!', airdate = LEAST(airdate, '2007-06-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP037', 1, 501, 'The Grass Menagerie!', '2007-11-17') ON DUPLICATE KEY UPDATE season = 1, number = 501, title = 'The Grass Menagerie!', airdate = LEAST(airdate, '2007-11-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP038', 3, 38, 'Explosive Birth! Cycling Road!!', '2007-06-21') ON DUPLICATE KEY UPDATE series = 3, number = 38, title = 'Explosive Birth! Cycling Road!!', airdate = LEAST(airdate, '2007-06-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP038', 1, 502, 'One Big Happiny Family!', '2007-11-24') ON DUPLICATE KEY UPDATE season = 1, number = 502, title = 'One Big Happiny Family!', airdate = LEAST(airdate, '2007-11-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP039', 3, 39, 'Pikachu\'s Caretaking!', '2007-07-05') ON DUPLICATE KEY UPDATE series = 3, number = 39, title = 'Pikachu\'s Caretaking!', airdate = LEAST(airdate, '2007-07-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP039', 1, 503, 'Steamboat Willies!', '2007-12-01') ON DUPLICATE KEY UPDATE season = 1, number = 503, title = 'Steamboat Willies!', airdate = LEAST(airdate, '2007-12-01');
INSERT INTO episodes (code, title, airdate) VALUES ('M10', 'Dialga VS Palkia VS Darkrai', '2007-07-14') ON DUPLICATE KEY UPDATE title = 'Dialga VS Palkia VS Darkrai', airdate = LEAST(airdate, '2007-07-14');
INSERT INTO dubs (code, title, airdate) VALUES ('M10', 'Pokémon: The Rise of Darkrai', '2008-02-24') ON DUPLICATE KEY UPDATE title = 'Pokémon: The Rise of Darkrai', airdate = LEAST(airdate, '2008-02-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP040', 3, 40, 'Enter Champion Shirona!', '2007-07-19') ON DUPLICATE KEY UPDATE series = 3, number = 40, title = 'Enter Champion Shirona!', airdate = LEAST(airdate, '2007-07-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP040', 1, 504, 'Top-Down Training!', '2007-12-08') ON DUPLICATE KEY UPDATE season = 1, number = 504, title = 'Top-Down Training!', airdate = LEAST(airdate, '2007-12-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP041', 3, 41, 'Hikari, Nozomi and the Double Performance!!', '2007-07-26') ON DUPLICATE KEY UPDATE series = 3, number = 41, title = 'Hikari, Nozomi and the Double Performance!!', airdate = LEAST(airdate, '2007-07-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP041', 1, 505, 'A Stand-Up Sit-Down!', '2007-12-15') ON DUPLICATE KEY UPDATE season = 1, number = 505, title = 'A Stand-Up Sit-Down!', airdate = LEAST(airdate, '2007-12-15');
INSERT INTO episodes (code, title, airdate) VALUES ('PK18', 'Pikachu\'s Exploration Club', '2007-08-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Exploration Club', airdate = LEAST(airdate, '2007-08-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP042', 3, 42, 'Rakurai Practice Center!', '2007-08-09') ON DUPLICATE KEY UPDATE series = 3, number = 42, title = 'Rakurai Practice Center!', airdate = LEAST(airdate, '2007-08-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP042', 1, 506, 'The Electrike Company!', '2007-12-22') ON DUPLICATE KEY UPDATE season = 1, number = 506, title = 'The Electrike Company!', airdate = LEAST(airdate, '2007-12-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP043', 3, 43, 'Mumargi! Escape from a Nightmare!!', '2007-08-16') ON DUPLICATE KEY UPDATE series = 3, number = 43, title = 'Mumargi! Escape from a Nightmare!!', airdate = LEAST(airdate, '2007-08-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP043', 1, 507, 'Malice In Wonderland!', '2007-12-29') ON DUPLICATE KEY UPDATE season = 1, number = 507, title = 'Malice In Wonderland!', airdate = LEAST(airdate, '2007-12-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP044', 3, 44, 'Save the Lost Hippopotas!', '2007-08-23') ON DUPLICATE KEY UPDATE series = 3, number = 44, title = 'Save the Lost Hippopotas!', airdate = LEAST(airdate, '2007-08-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP044', 1, 508, 'Mass Hip-Po-Sis!', '2008-01-05') ON DUPLICATE KEY UPDATE season = 1, number = 508, title = 'Mass Hip-Po-Sis!', airdate = LEAST(airdate, '2008-01-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP045', 3, 45, 'Hunter J Returns! Protect Tatetops!!', '2007-08-30') ON DUPLICATE KEY UPDATE series = 3, number = 45, title = 'Hunter J Returns! Protect Tatetops!!', airdate = LEAST(airdate, '2007-08-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP045', 1, 509, 'Ill-Will Hunting!', '2008-01-12') ON DUPLICATE KEY UPDATE season = 1, number = 509, title = 'Ill-Will Hunting!', airdate = LEAST(airdate, '2008-01-12');
INSERT INTO episodes (code, title, airdate) VALUES ('SS020', 'Pokémon Mystery Dungeon: Time Expedition & Darkness Expedition', '2007-09-09') ON DUPLICATE KEY UPDATE title = 'Pokémon Mystery Dungeon: Time Expedition & Darkness Expedition', airdate = LEAST(airdate, '2007-09-09');
INSERT INTO dubs (code, title, airdate) VALUES ('SS020', 'Pokémon Mystery Dungeon: Explorers of Time & Darkness', '2008-09-01') ON DUPLICATE KEY UPDATE title = 'Pokémon Mystery Dungeon: Explorers of Time & Darkness', airdate = LEAST(airdate, '2008-09-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP046', 3, 46, 'Shuffle in the Maze! Everyone Hustle!!', '2007-09-13') ON DUPLICATE KEY UPDATE series = 3, number = 46, title = 'Shuffle in the Maze! Everyone Hustle!!', airdate = LEAST(airdate, '2007-09-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP046', 1, 510, 'A Maze-ing Race!', '2008-01-19') ON DUPLICATE KEY UPDATE season = 1, number = 510, title = 'A Maze-ing Race!', airdate = LEAST(airdate, '2008-01-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP047', 3, 47, 'Miru, Casey and the Bottom of the Water!', '2007-09-27') ON DUPLICATE KEY UPDATE series = 3, number = 47, title = 'Miru, Casey and the Bottom of the Water!', airdate = LEAST(airdate, '2007-09-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP047', 1, 511, 'Sandshrew\'s Locker!', '2008-01-26') ON DUPLICATE KEY UPDATE season = 1, number = 511, title = 'Sandshrew\'s Locker!', airdate = LEAST(airdate, '2008-01-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP048', 3, 48, 'Satoshi and Hikari! Facing a New Adventure!!', '2007-09-27') ON DUPLICATE KEY UPDATE series = 3, number = 48, title = 'Satoshi and Hikari! Facing a New Adventure!!', airdate = LEAST(airdate, '2007-09-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP049', 3, 49, 'Pokémon Contest! Yosuga Convention!!', '2007-10-04') ON DUPLICATE KEY UPDATE series = 3, number = 49, title = 'Pokémon Contest! Yosuga Convention!!', airdate = LEAST(airdate, '2007-10-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP049', 1, 512, 'Dawn\'s Early Night', '2008-01-26') ON DUPLICATE KEY UPDATE season = 1, number = 512, title = 'Dawn\'s Early Night', airdate = LEAST(airdate, '2008-01-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP050', 3, 50, 'All Members Participate! Tag Battle!!', '2007-10-04') ON DUPLICATE KEY UPDATE series = 3, number = 50, title = 'All Members Participate! Tag Battle!!', airdate = LEAST(airdate, '2007-10-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP050', 1, 513, 'Tag! We\'re It!', '2008-02-01') ON DUPLICATE KEY UPDATE season = 1, number = 513, title = 'Tag! We\'re It!', airdate = LEAST(airdate, '2008-02-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP051', 3, 51, 'Hikozaru VS Zangoose! Destined Battle!!', '2007-10-18') ON DUPLICATE KEY UPDATE series = 3, number = 51, title = 'Hikozaru VS Zangoose! Destined Battle!!', airdate = LEAST(airdate, '2007-10-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP051', 1, 514, 'Glory Blaze!', '2008-02-01') ON DUPLICATE KEY UPDATE season = 1, number = 514, title = 'Glory Blaze!', airdate = LEAST(airdate, '2008-02-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP052', 3, 52, 'Tag Battle! Final!!', '2007-10-25') ON DUPLICATE KEY UPDATE series = 3, number = 52, title = 'Tag Battle! Final!!', airdate = LEAST(airdate, '2007-10-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP052', 1, 515, 'Smells Like Team Spirit!', '2008-02-01') ON DUPLICATE KEY UPDATE season = 1, number = 515, title = 'Smells Like Team Spirit!', airdate = LEAST(airdate, '2008-02-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP053', 3, 53, 'Hikozaru\'s Tears!', '2007-11-08') ON DUPLICATE KEY UPDATE series = 3, number = 53, title = 'Hikozaru\'s Tears!', airdate = LEAST(airdate, '2007-11-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP053', 1, 516, 'Tears For Fears!', '2008-04-12') ON DUPLICATE KEY UPDATE season = 1, number = 516, title = 'Tears For Fears!', airdate = LEAST(airdate, '2008-04-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP054', 3, 54, 'Natane and Sabonea! Farewell to Whom!?', '2007-11-15') ON DUPLICATE KEY UPDATE series = 3, number = 54, title = 'Natane and Sabonea! Farewell to Whom!?', airdate = LEAST(airdate, '2007-11-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP054', 1, 517, 'Once There Were Greenfields', '2008-04-19') ON DUPLICATE KEY UPDATE season = 1, number = 517, title = 'Once There Were Greenfields', airdate = LEAST(airdate, '2008-04-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP055', 3, 55, 'Eipam and Buoysel! Respective Roads!!', '2007-11-22') ON DUPLICATE KEY UPDATE series = 3, number = 55, title = 'Eipam and Buoysel! Respective Roads!!', airdate = LEAST(airdate, '2007-11-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP055', 1, 518, 'Throwing the Track Switch', '2008-04-26') ON DUPLICATE KEY UPDATE season = 1, number = 518, title = 'Throwing the Track Switch', airdate = LEAST(airdate, '2008-04-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP056', 3, 56, 'Mikaruge\'s Keystone!', '2007-11-29') ON DUPLICATE KEY UPDATE series = 3, number = 56, title = 'Mikaruge\'s Keystone!', airdate = LEAST(airdate, '2007-11-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP056', 1, 519, 'The Keystone Pops!', '2008-05-10') ON DUPLICATE KEY UPDATE season = 1, number = 519, title = 'The Keystone Pops!', airdate = LEAST(airdate, '2008-05-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP057', 3, 57, 'Beadaru Knew!', '2007-11-29') ON DUPLICATE KEY UPDATE series = 3, number = 57, title = 'Beadaru Knew!', airdate = LEAST(airdate, '2007-11-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP057', 1, 520, 'Bibarel Gnaws Best!', '2008-05-17') ON DUPLICATE KEY UPDATE season = 1, number = 520, title = 'Bibarel Gnaws Best!', airdate = LEAST(airdate, '2008-05-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP058', 3, 58, 'Dainose! Burning Spirit!!', '2007-12-06') ON DUPLICATE KEY UPDATE series = 3, number = 58, title = 'Dainose! Burning Spirit!!', airdate = LEAST(airdate, '2007-12-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP058', 1, 521, 'Nosing \'Round the Mountain!', '2008-05-24') ON DUPLICATE KEY UPDATE season = 1, number = 521, title = 'Nosing \'Round the Mountain!', airdate = LEAST(airdate, '2008-05-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP059', 3, 59, 'Rentorar\'s Eyes!', '2007-12-13') ON DUPLICATE KEY UPDATE series = 3, number = 59, title = 'Rentorar\'s Eyes!', airdate = LEAST(airdate, '2007-12-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP059', 1, 522, 'Luxray Vision!', '2008-05-31') ON DUPLICATE KEY UPDATE season = 1, number = 522, title = 'Luxray Vision!', airdate = LEAST(airdate, '2008-05-31');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP060', 3, 60, 'Unknown of the Zui Ruins!', '2007-12-20') ON DUPLICATE KEY UPDATE series = 3, number = 60, title = 'Unknown of the Zui Ruins!', airdate = LEAST(airdate, '2007-12-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP060', 1, 523, 'Journey to the Unown!', '2008-06-07') ON DUPLICATE KEY UPDATE season = 1, number = 523, title = 'Journey to the Unown!', airdate = LEAST(airdate, '2008-06-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP061', 3, 61, 'Pokémon Contest! Zui Convention!!', '2007-12-20') ON DUPLICATE KEY UPDATE series = 3, number = 61, title = 'Pokémon Contest! Zui Convention!!', airdate = LEAST(airdate, '2007-12-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP061', 1, 524, 'Team Shocker!', '2008-06-14') ON DUPLICATE KEY UPDATE season = 1, number = 524, title = 'Team Shocker!', airdate = LEAST(airdate, '2008-06-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP062', 3, 62, 'Miltank of the Maid Café!', '2008-01-10') ON DUPLICATE KEY UPDATE series = 3, number = 62, title = 'Miltank of the Maid Café!', airdate = LEAST(airdate, '2008-01-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP062', 1, 525, 'Tanks for the Memories!', '2008-06-21') ON DUPLICATE KEY UPDATE season = 1, number = 525, title = 'Tanks for the Memories!', airdate = LEAST(airdate, '2008-06-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP063', 3, 63, 'The Urimoo Trio and the Hot Spring Battle!!', '2008-01-17') ON DUPLICATE KEY UPDATE series = 3, number = 63, title = 'The Urimoo Trio and the Hot Spring Battle!!', airdate = LEAST(airdate, '2008-01-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP063', 1, 526, 'Hot Springing a Leak!', '2008-06-28') ON DUPLICATE KEY UPDATE season = 1, number = 526, title = 'Hot Springing a Leak!', airdate = LEAST(airdate, '2008-06-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP064', 3, 64, 'Glion and Gliger! Escaping the Maze of Wind!', '2008-01-24') ON DUPLICATE KEY UPDATE series = 3, number = 64, title = 'Glion and Gliger! Escaping the Maze of Wind!', airdate = LEAST(airdate, '2008-01-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP064', 1, 527, 'Riding the Winds of Change!', '2008-07-05') ON DUPLICATE KEY UPDATE season = 1, number = 527, title = 'Riding the Winds of Change!', airdate = LEAST(airdate, '2008-07-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP065', 3, 65, 'Pachirisu is in Kabaldon\'s Mouth!?', '2008-01-31') ON DUPLICATE KEY UPDATE series = 3, number = 65, title = 'Pachirisu is in Kabaldon\'s Mouth!?', airdate = LEAST(airdate, '2008-01-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP065', 1, 528, 'Sleight of Sand!', '2008-07-12') ON DUPLICATE KEY UPDATE season = 1, number = 528, title = 'Sleight of Sand!', airdate = LEAST(airdate, '2008-07-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP066', 3, 66, 'Lucario! Wave Bomb of Anger!!', '2008-02-07') ON DUPLICATE KEY UPDATE series = 3, number = 66, title = 'Lucario! Wave Bomb of Anger!!', airdate = LEAST(airdate, '2008-02-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP066', 1, 529, 'Lost Leader Strategy!', '2008-07-19') ON DUPLICATE KEY UPDATE season = 1, number = 529, title = 'Lost Leader Strategy!', airdate = LEAST(airdate, '2008-07-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP067', 3, 67, 'Hikari\'s First Gym Battle!!', '2008-02-14') ON DUPLICATE KEY UPDATE series = 3, number = 67, title = 'Hikari\'s First Gym Battle!!', airdate = LEAST(airdate, '2008-02-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP067', 1, 530, 'Crossing the Battle Line!', '2008-07-26') ON DUPLICATE KEY UPDATE season = 1, number = 530, title = 'Crossing the Battle Line!', airdate = LEAST(airdate, '2008-07-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP068', 3, 68, 'Tobari Gym! Lucario VS Buoysel!!', '2008-02-28') ON DUPLICATE KEY UPDATE series = 3, number = 68, title = 'Tobari Gym! Lucario VS Buoysel!!', airdate = LEAST(airdate, '2008-02-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP068', 1, 531, 'A Triple Fighting Chance!', '2008-08-02') ON DUPLICATE KEY UPDATE season = 1, number = 531, title = 'A Triple Fighting Chance!', airdate = LEAST(airdate, '2008-08-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP069', 3, 69, 'Lovely Fashion! Their Name is Ginga-dan!!', '2008-03-06') ON DUPLICATE KEY UPDATE series = 3, number = 69, title = 'Lovely Fashion! Their Name is Ginga-dan!!', airdate = LEAST(airdate, '2008-03-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP069', 1, 532, 'Enter Galactic!', '2008-08-09') ON DUPLICATE KEY UPDATE season = 1, number = 532, title = 'Enter Galactic!', airdate = LEAST(airdate, '2008-08-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP070', 3, 70, 'Pull Yourself Together, Lisyan!', '2008-03-13') ON DUPLICATE KEY UPDATE series = 3, number = 70, title = 'Pull Yourself Together, Lisyan!', airdate = LEAST(airdate, '2008-03-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP070', 1, 533, 'The Bells Are Singing!', '2008-08-16') ON DUPLICATE KEY UPDATE season = 1, number = 533, title = 'The Bells Are Singing!', airdate = LEAST(airdate, '2008-08-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP071', 3, 71, 'Pokémon Ranger! The Wave-Guiding Riolu!! (Part 1)', '2008-03-20') ON DUPLICATE KEY UPDATE series = 3, number = 71, title = 'Pokémon Ranger! The Wave-Guiding Riolu!! (Part 1)', airdate = LEAST(airdate, '2008-03-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP071', 1, 534, 'Pokémon Ranger and the Kidnapped Riolu! (Part 1)', '2008-11-01') ON DUPLICATE KEY UPDATE season = 1, number = 534, title = 'Pokémon Ranger and the Kidnapped Riolu! (Part 1)', airdate = LEAST(airdate, '2008-11-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP072', 3, 72, 'Pokémon Ranger! The Wave-Guiding Riolu!! (Part 2)', '2008-03-20') ON DUPLICATE KEY UPDATE series = 3, number = 72, title = 'Pokémon Ranger! The Wave-Guiding Riolu!! (Part 2)', airdate = LEAST(airdate, '2008-03-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP072', 1, 535, 'Pokémon Ranger and the Kidnapped Riolu! (Part 2)', '2008-11-08') ON DUPLICATE KEY UPDATE season = 1, number = 535, title = 'Pokémon Ranger and the Kidnapped Riolu! (Part 2)', airdate = LEAST(airdate, '2008-11-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP073', 3, 73, 'Goodbye, Dokucale!', '2008-04-03') ON DUPLICATE KEY UPDATE series = 3, number = 73, title = 'Goodbye, Dokucale!', airdate = LEAST(airdate, '2008-04-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP073', 1, 536, 'Crossing Paths', '2008-08-23') ON DUPLICATE KEY UPDATE season = 1, number = 536, title = 'Crossing Paths', airdate = LEAST(airdate, '2008-08-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP074', 3, 74, 'Pikachu! Raichu! The Path to Evolution!!', '2008-04-03') ON DUPLICATE KEY UPDATE series = 3, number = 74, title = 'Pikachu! Raichu! The Path to Evolution!!', airdate = LEAST(airdate, '2008-04-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP074', 1, 537, 'Pika and Goliath!', '2008-08-30') ON DUPLICATE KEY UPDATE season = 1, number = 537, title = 'Pika and Goliath!', airdate = LEAST(airdate, '2008-08-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP075', 3, 75, 'Enter Contest Master Mikuri!!', '2008-04-17') ON DUPLICATE KEY UPDATE series = 3, number = 75, title = 'Enter Contest Master Mikuri!!', airdate = LEAST(airdate, '2008-04-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP075', 1, 538, 'Our Cup Runneth Over!', '2008-09-06') ON DUPLICATE KEY UPDATE season = 1, number = 538, title = 'Our Cup Runneth Over!', airdate = LEAST(airdate, '2008-09-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP076', 3, 76, 'Seven Stars Restaurant! Tag Battle for a Full Course!!', '2008-04-24') ON DUPLICATE KEY UPDATE series = 3, number = 76, title = 'Seven Stars Restaurant! Tag Battle for a Full Course!!', airdate = LEAST(airdate, '2008-04-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP076', 1, 539, 'A Full Course Tag Battle!', '2008-09-13') ON DUPLICATE KEY UPDATE season = 1, number = 539, title = 'A Full Course Tag Battle!', airdate = LEAST(airdate, '2008-09-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP077', 3, 77, 'Everyone\'s a Rival! Mikuri Cup!!', '2008-05-08') ON DUPLICATE KEY UPDATE series = 3, number = 77, title = 'Everyone\'s a Rival! Mikuri Cup!!', airdate = LEAST(airdate, '2008-05-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP077', 1, 540, 'Staging A Heroes\' Welcome!', '2008-09-20') ON DUPLICATE KEY UPDATE season = 1, number = 540, title = 'Staging A Heroes\' Welcome!', airdate = LEAST(airdate, '2008-09-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP078', 3, 78, 'Fierce Fighting! Respective Battles!!', '2008-05-08') ON DUPLICATE KEY UPDATE series = 3, number = 78, title = 'Fierce Fighting! Respective Battles!!', airdate = LEAST(airdate, '2008-05-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP078', 1, 541, 'Pruning a Passel of Pals!!', '2008-09-27') ON DUPLICATE KEY UPDATE season = 1, number = 541, title = 'Pruning a Passel of Pals!!', airdate = LEAST(airdate, '2008-09-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP079', 3, 79, 'Decisive Match! Hikari VS Haruka!!', '2008-05-15') ON DUPLICATE KEY UPDATE series = 3, number = 79, title = 'Decisive Match! Hikari VS Haruka!!', airdate = LEAST(airdate, '2008-05-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP079', 1, 542, 'Strategy With a Smile!', '2008-10-11') ON DUPLICATE KEY UPDATE season = 1, number = 542, title = 'Strategy With a Smile!', airdate = LEAST(airdate, '2008-10-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP080', 3, 80, 'Yanyanma! Capture Operation!!', '2008-05-22') ON DUPLICATE KEY UPDATE series = 3, number = 80, title = 'Yanyanma! Capture Operation!!', airdate = LEAST(airdate, '2008-05-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP080', 1, 543, 'The Thief That Keeps on Thieving!', '2008-10-18') ON DUPLICATE KEY UPDATE season = 1, number = 543, title = 'The Thief That Keeps on Thieving!', airdate = LEAST(airdate, '2008-10-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP081', 3, 81, 'The Scorching Hikozaru!', '2008-05-29') ON DUPLICATE KEY UPDATE series = 3, number = 81, title = 'The Scorching Hikozaru!', airdate = LEAST(airdate, '2008-05-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP081', 1, 544, 'Chim - Charred!', '2008-10-25') ON DUPLICATE KEY UPDATE season = 1, number = 544, title = 'Chim - Charred!', airdate = LEAST(airdate, '2008-10-25');
INSERT INTO episodes (code, title, airdate) VALUES ('UN13', 'Get Together! Pokémon Star Festival', '2008-05-31') ON DUPLICATE KEY UPDATE title = 'Get Together! Pokémon Star Festival', airdate = LEAST(airdate, '2008-05-31');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP082', 3, 82, 'The Gureggru Festival of the Nomose Great Marsh!?', '2008-06-05') ON DUPLICATE KEY UPDATE series = 3, number = 82, title = 'The Gureggru Festival of the Nomose Great Marsh!?', airdate = LEAST(airdate, '2008-06-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP082', 1, 545, 'Cream of the Croagunk Crop!', '2008-11-15') ON DUPLICATE KEY UPDATE season = 1, number = 545, title = 'Cream of the Croagunk Crop!', airdate = LEAST(airdate, '2008-11-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP083', 3, 83, 'Nomose Gym! VS Maximum Mask!!', '2008-06-19') ON DUPLICATE KEY UPDATE series = 3, number = 83, title = 'Nomose Gym! VS Maximum Mask!!', airdate = LEAST(airdate, '2008-06-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP083', 1, 546, 'A Crasher Course in Power!', '2008-11-22') ON DUPLICATE KEY UPDATE season = 1, number = 546, title = 'A Crasher Course in Power!', airdate = LEAST(airdate, '2008-11-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP084', 3, 84, 'The Gluttonous Urimoo at Mr. Urayama House!', '2008-07-03') ON DUPLICATE KEY UPDATE series = 3, number = 84, title = 'The Gluttonous Urimoo at Mr. Urayama House!', airdate = LEAST(airdate, '2008-07-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP084', 1, 547, 'Hungry For the Good Life!', '2008-12-06') ON DUPLICATE KEY UPDATE season = 1, number = 547, title = 'Hungry For the Good Life!', airdate = LEAST(airdate, '2008-12-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP085', 3, 85, 'Gliger! Wings of Friendship!', '2008-07-03') ON DUPLICATE KEY UPDATE series = 3, number = 85, title = 'Gliger! Wings of Friendship!', airdate = LEAST(airdate, '2008-07-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP085', 1, 548, 'Fighting Fear With Fear!!', '2008-12-13') ON DUPLICATE KEY UPDATE season = 1, number = 548, title = 'Fighting Fear With Fear!!', airdate = LEAST(airdate, '2008-12-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP086', 3, 86, 'Yosuga Collection! The Road to Becoming a Pokémon Stylist!!', '2008-07-10') ON DUPLICATE KEY UPDATE series = 3, number = 86, title = 'Yosuga Collection! The Road to Becoming a Pokémon Stylist!!', airdate = LEAST(airdate, '2008-07-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP086', 1, 549, 'Arriving in Style!', '2008-12-20') ON DUPLICATE KEY UPDATE season = 1, number = 549, title = 'Arriving in Style!', airdate = LEAST(airdate, '2008-12-20');
INSERT INTO episodes (code, title, airdate) VALUES ('M11', 'Giratina and the Sky\'s Bouquet: Shaymin', '2008-07-19') ON DUPLICATE KEY UPDATE title = 'Giratina and the Sky\'s Bouquet: Shaymin', airdate = LEAST(airdate, '2008-07-19');
INSERT INTO dubs (code, title, airdate) VALUES ('M11', 'Pokémon: Giratina and the Sky Warrior', '2009-02-13') ON DUPLICATE KEY UPDATE title = 'Pokémon: Giratina and the Sky Warrior', airdate = LEAST(airdate, '2009-02-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP087', 3, 87, 'The Koduck Roadblock!', '2008-07-24') ON DUPLICATE KEY UPDATE series = 3, number = 87, title = 'The Koduck Roadblock!', airdate = LEAST(airdate, '2008-07-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP087', 1, 550, 'The Psyduck Stops Here!', '2008-12-27') ON DUPLICATE KEY UPDATE season = 1, number = 550, title = 'The Psyduck Stops Here!', airdate = LEAST(airdate, '2008-12-27');
INSERT INTO episodes (code, title, airdate) VALUES ('PK19', 'Pikachu\'s Ice Adventure', '2008-08-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Ice Adventure', airdate = LEAST(airdate, '2008-08-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP088', 3, 88, 'Pokémon Summer School Course!!', '2008-08-07') ON DUPLICATE KEY UPDATE series = 3, number = 88, title = 'Pokémon Summer School Course!!', airdate = LEAST(airdate, '2008-08-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP088', 1, 551, 'Camping It Up!', '2009-01-03') ON DUPLICATE KEY UPDATE season = 1, number = 551, title = 'Camping It Up!', airdate = LEAST(airdate, '2009-01-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP089', 3, 89, 'Research Presentation: "Legend of the Lake"!', '2008-08-14') ON DUPLICATE KEY UPDATE series = 3, number = 89, title = 'Research Presentation: "Legend of the Lake"!', airdate = LEAST(airdate, '2008-08-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP089', 1, 552, 'Up Close and Personable!', '2009-01-10') ON DUPLICATE KEY UPDATE season = 1, number = 552, title = 'Up Close and Personable!', airdate = LEAST(airdate, '2009-01-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP090', 3, 90, 'It\'s Ghost Time After School', '2008-08-21') ON DUPLICATE KEY UPDATE series = 3, number = 90, title = 'It\'s Ghost Time After School', airdate = LEAST(airdate, '2008-08-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP090', 1, 553, 'Ghoul Daze!', '2009-01-17') ON DUPLICATE KEY UPDATE season = 1, number = 553, title = 'Ghoul Daze!', airdate = LEAST(airdate, '2009-01-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP091', 3, 91, 'The Final Contest! Pokémon Triathlon!!', '2008-08-28') ON DUPLICATE KEY UPDATE series = 3, number = 91, title = 'The Final Contest! Pokémon Triathlon!!', airdate = LEAST(airdate, '2008-08-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP091', 1, 554, 'One Team, Two Team, Red Team, Blue Team!', '2009-01-24') ON DUPLICATE KEY UPDATE season = 1, number = 554, title = 'One Team, Two Team, Red Team, Blue Team!', airdate = LEAST(airdate, '2009-01-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP092', 3, 92, 'Back to Basics, Rocket-dan!?', '2008-09-04') ON DUPLICATE KEY UPDATE series = 3, number = 92, title = 'Back to Basics, Rocket-dan!?', airdate = LEAST(airdate, '2008-09-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP092', 1, 555, 'A Lean Mean Team Rocket Machine!', '2009-01-31') ON DUPLICATE KEY UPDATE season = 1, number = 555, title = 'A Lean Mean Team Rocket Machine!', airdate = LEAST(airdate, '2009-01-31');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP093', 3, 93, 'Dancing Gym Leader! Enter Melissa!!', '2008-09-11') ON DUPLICATE KEY UPDATE series = 3, number = 93, title = 'Dancing Gym Leader! Enter Melissa!!', airdate = LEAST(airdate, '2008-09-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP093', 1, 556, 'Playing The Leveling Field!', '2009-02-07') ON DUPLICATE KEY UPDATE season = 1, number = 556, title = 'Playing The Leveling Field!', airdate = LEAST(airdate, '2009-02-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP094', 3, 94, 'Pachirisu Has a Fever! Two People Taking Care!?', '2008-09-25') ON DUPLICATE KEY UPDATE series = 3, number = 94, title = 'Pachirisu Has a Fever! Two People Taking Care!?', airdate = LEAST(airdate, '2008-09-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP094', 1, 557, 'Doc Brock!', '2009-02-14') ON DUPLICATE KEY UPDATE season = 1, number = 557, title = 'Doc Brock!', airdate = LEAST(airdate, '2009-02-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP095', 3, 95, 'Pokémon Contest! Kannagi Tournament!!', '2008-09-25') ON DUPLICATE KEY UPDATE series = 3, number = 95, title = 'Pokémon Contest! Kannagi Tournament!!', airdate = LEAST(airdate, '2008-09-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP095', 1, 558, 'Battling the Generation Gap!', '2009-02-21') ON DUPLICATE KEY UPDATE season = 1, number = 558, title = 'Battling the Generation Gap!', airdate = LEAST(airdate, '2009-02-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP096', 3, 96, 'Ginga-dan Attacks!! -Part 1-', '2008-10-02') ON DUPLICATE KEY UPDATE series = 3, number = 96, title = 'Ginga-dan Attacks!! -Part 1-', airdate = LEAST(airdate, '2008-10-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP096', 1, 559, 'Losing Its Lustrous', '2009-02-28') ON DUPLICATE KEY UPDATE season = 1, number = 559, title = 'Losing Its Lustrous', airdate = LEAST(airdate, '2009-02-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP097', 3, 97, 'Ginga-dan Attacks!! -Part 2-', '2008-10-02') ON DUPLICATE KEY UPDATE series = 3, number = 97, title = 'Ginga-dan Attacks!! -Part 2-', airdate = LEAST(airdate, '2008-10-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP097', 1, 560, 'Double Team Turnover!', '2009-03-07') ON DUPLICATE KEY UPDATE season = 1, number = 560, title = 'Double Team Turnover!', airdate = LEAST(airdate, '2009-03-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP098', 3, 98, 'The Floating Unidentified Mysterious Animal!?', '2008-10-16') ON DUPLICATE KEY UPDATE series = 3, number = 98, title = 'The Floating Unidentified Mysterious Animal!?', airdate = LEAST(airdate, '2008-10-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP098', 1, 561, 'If the Scarf Fits, Wear It!', '2009-03-21') ON DUPLICATE KEY UPDATE season = 1, number = 561, title = 'If the Scarf Fits, Wear It!', airdate = LEAST(airdate, '2009-03-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP099', 3, 99, 'Four Heavenly Kings Ryō! Forest of Meeting and Separation!', '2008-10-23') ON DUPLICATE KEY UPDATE series = 3, number = 99, title = 'Four Heavenly Kings Ryō! Forest of Meeting and Separation!', airdate = LEAST(airdate, '2008-10-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP099', 1, 562, 'A Trainer and Child Reunion!', '2009-03-28') ON DUPLICATE KEY UPDATE season = 1, number = 562, title = 'A Trainer and Child Reunion!', airdate = LEAST(airdate, '2009-03-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP100', 3, 100, 'Naetle, Hayashigame...and Dodaitose!', '2008-10-30') ON DUPLICATE KEY UPDATE series = 3, number = 100, title = 'Naetle, Hayashigame...and Dodaitose!', airdate = LEAST(airdate, '2008-10-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP100', 1, 563, 'Aiding the Enemy!', '2009-04-04') ON DUPLICATE KEY UPDATE season = 1, number = 563, title = 'Aiding the Enemy!', airdate = LEAST(airdate, '2009-04-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP101', 3, 101, 'Enter Rival Trainer Jun!!', '2008-11-06') ON DUPLICATE KEY UPDATE series = 3, number = 101, title = 'Enter Rival Trainer Jun!!', airdate = LEAST(airdate, '2008-11-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP101', 1, 564, 'Barry\'s Busting Out All Over!', '2009-04-11') ON DUPLICATE KEY UPDATE season = 1, number = 564, title = 'Barry\'s Busting Out All Over!', airdate = LEAST(airdate, '2009-04-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP102', 3, 102, 'Yosuga Gym Match! VS Melissa!!', '2008-11-13') ON DUPLICATE KEY UPDATE series = 3, number = 102, title = 'Yosuga Gym Match! VS Melissa!!', airdate = LEAST(airdate, '2008-11-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP102', 1, 565, 'Shield with a Twist!', '2009-04-18') ON DUPLICATE KEY UPDATE season = 1, number = 565, title = 'Shield with a Twist!', airdate = LEAST(airdate, '2009-04-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP103', 3, 103, 'Chaotic Melee in Mio City!', '2008-11-20') ON DUPLICATE KEY UPDATE series = 3, number = 103, title = 'Chaotic Melee in Mio City!', airdate = LEAST(airdate, '2008-11-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP103', 1, 566, 'Jumping Rocket Ship!', '2009-04-25') ON DUPLICATE KEY UPDATE season = 1, number = 566, title = 'Jumping Rocket Ship!', airdate = LEAST(airdate, '2009-04-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP104', 3, 104, 'Crecelia VS Darkrai!', '2008-12-04') ON DUPLICATE KEY UPDATE series = 3, number = 104, title = 'Crecelia VS Darkrai!', airdate = LEAST(airdate, '2008-12-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP104', 1, 567, 'Sleepless in Pre-Battle!', '2009-05-02') ON DUPLICATE KEY UPDATE season = 1, number = 567, title = 'Sleepless in Pre-Battle!', airdate = LEAST(airdate, '2009-05-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP105', 3, 105, 'Yōkan and Rotom!', '2008-12-04') ON DUPLICATE KEY UPDATE series = 3, number = 105, title = 'Yōkan and Rotom!', airdate = LEAST(airdate, '2008-12-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP105', 1, 568, 'Get Your Rotom Running!', '2009-05-09') ON DUPLICATE KEY UPDATE season = 1, number = 568, title = 'Get Your Rotom Running!', airdate = LEAST(airdate, '2009-05-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP106', 3, 106, 'A Way to Befriend Pokémon!?', '2008-12-11') ON DUPLICATE KEY UPDATE series = 3, number = 106, title = 'A Way to Befriend Pokémon!?', airdate = LEAST(airdate, '2008-12-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP106', 1, 569, 'A Breed Stampede!', '2009-05-16') ON DUPLICATE KEY UPDATE season = 1, number = 569, title = 'A Breed Stampede!', airdate = LEAST(airdate, '2009-05-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP107', 3, 107, 'Rampald VS Torideps!!', '2008-12-18') ON DUPLICATE KEY UPDATE series = 3, number = 107, title = 'Rampald VS Torideps!!', airdate = LEAST(airdate, '2008-12-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP107', 1, 570, 'Ancient Family Matters!', '2009-05-23') ON DUPLICATE KEY UPDATE season = 1, number = 570, title = 'Ancient Family Matters!', airdate = LEAST(airdate, '2009-05-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP108', 3, 108, 'Mio Gym Match! Steel Battle!!', '2008-12-25') ON DUPLICATE KEY UPDATE series = 3, number = 108, title = 'Mio Gym Match! Steel Battle!!', airdate = LEAST(airdate, '2008-12-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP108', 1, 571, 'Dealing with Defensive Types!', '2009-05-30') ON DUPLICATE KEY UPDATE season = 1, number = 571, title = 'Dealing with Defensive Types!', airdate = LEAST(airdate, '2009-05-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP109', 3, 109, 'The Stray Hoeruko!', '2009-01-08') ON DUPLICATE KEY UPDATE series = 3, number = 109, title = 'The Stray Hoeruko!', airdate = LEAST(airdate, '2009-01-08');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP109', 1, 572, 'Leading a Stray!', '2009-06-06') ON DUPLICATE KEY UPDATE season = 1, number = 572, title = 'Leading a Stray!', airdate = LEAST(airdate, '2009-06-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP110', 3, 110, 'Gen and Lucario!', '2009-01-15') ON DUPLICATE KEY UPDATE series = 3, number = 110, title = 'Gen and Lucario!', airdate = LEAST(airdate, '2009-01-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP110', 1, 573, 'Steeling Peace of Mind!', '2009-06-13') ON DUPLICATE KEY UPDATE season = 1, number = 573, title = 'Steeling Peace of Mind!', airdate = LEAST(airdate, '2009-06-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP111', 3, 111, 'The Ruins of Steel Island!', '2009-01-22') ON DUPLICATE KEY UPDATE series = 3, number = 111, title = 'The Ruins of Steel Island!', airdate = LEAST(airdate, '2009-01-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP111', 1, 574, 'Saving the World from Ruins!', '2009-06-20') ON DUPLICATE KEY UPDATE season = 1, number = 574, title = 'Saving the World from Ruins!', airdate = LEAST(airdate, '2009-06-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP112', 3, 112, 'Pikachu-Pochama Drifting Chronicle!', '2009-01-29') ON DUPLICATE KEY UPDATE series = 3, number = 112, title = 'Pikachu-Pochama Drifting Chronicle!', airdate = LEAST(airdate, '2009-01-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP112', 1, 575, 'Cheers on Castaways Isle!', '2009-06-27') ON DUPLICATE KEY UPDATE season = 1, number = 575, title = 'Cheers on Castaways Isle!', airdate = LEAST(airdate, '2009-06-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP113', 3, 113, 'The Mischievous Phione!', '2009-02-05') ON DUPLICATE KEY UPDATE series = 3, number = 113, title = 'The Mischievous Phione!', airdate = LEAST(airdate, '2009-02-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP113', 1, 576, 'Hold the Phione!', '2009-07-04') ON DUPLICATE KEY UPDATE season = 1, number = 576, title = 'Hold the Phione!', airdate = LEAST(airdate, '2009-07-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP114', 3, 114, 'Pokémon Contest! Akebi Tournament!!', '2009-02-12') ON DUPLICATE KEY UPDATE series = 3, number = 114, title = 'Pokémon Contest! Akebi Tournament!!', airdate = LEAST(airdate, '2009-02-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP114', 1, 577, 'Another One Gabites the Dust!', '2009-07-11') ON DUPLICATE KEY UPDATE season = 1, number = 577, title = 'Another One Gabites the Dust!', airdate = LEAST(airdate, '2009-07-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP115', 3, 115, 'Wild Junsar and Accomplice Perap!', '2009-02-19') ON DUPLICATE KEY UPDATE series = 3, number = 115, title = 'Wild Junsar and Accomplice Perap!', airdate = LEAST(airdate, '2009-02-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP115', 1, 578, 'Stealing the Conversation!', '2009-07-18') ON DUPLICATE KEY UPDATE season = 1, number = 578, title = 'Stealing the Conversation!', airdate = LEAST(airdate, '2009-07-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP116', 3, 116, 'Yukimenoko in a Snowstorm!', '2009-02-26') ON DUPLICATE KEY UPDATE series = 3, number = 116, title = 'Yukimenoko in a Snowstorm!', airdate = LEAST(airdate, '2009-02-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP116', 1, 579, 'The Drifting Snorunt!', '2009-07-25') ON DUPLICATE KEY UPDATE season = 1, number = 579, title = 'The Drifting Snorunt!', airdate = LEAST(airdate, '2009-07-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP117', 3, 117, 'Rocket-dan Breakup!?', '2009-03-05') ON DUPLICATE KEY UPDATE series = 3, number = 117, title = 'Rocket-dan Breakup!?', airdate = LEAST(airdate, '2009-03-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP117', 1, 580, 'Noodles! Roamin\' Off!', '2009-08-01') ON DUPLICATE KEY UPDATE season = 1, number = 580, title = 'Noodles! Roamin\' Off!', airdate = LEAST(airdate, '2009-08-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP118', 3, 118, 'PokéRinger! Big Decisive Sky Battle!!', '2009-03-12') ON DUPLICATE KEY UPDATE series = 3, number = 118, title = 'PokéRinger! Big Decisive Sky Battle!!', airdate = LEAST(airdate, '2009-03-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP118', 1, 581, 'Pursuing a Lofty Goal!', '2009-08-08') ON DUPLICATE KEY UPDATE season = 1, number = 581, title = 'Pursuing a Lofty Goal!', airdate = LEAST(airdate, '2009-08-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP119', 3, 119, 'Clash! Mammoo VS Bossgodora!!', '2009-03-26') ON DUPLICATE KEY UPDATE series = 3, number = 119, title = 'Clash! Mammoo VS Bossgodora!!', airdate = LEAST(airdate, '2009-03-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP119', 1, 582, 'Trials and Adulations!', '2009-08-15') ON DUPLICATE KEY UPDATE season = 1, number = 582, title = 'Trials and Adulations!', airdate = LEAST(airdate, '2009-08-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP120', 3, 120, 'The Mysterious Creatures, Pocket Monsters!', '2009-03-26') ON DUPLICATE KEY UPDATE series = 3, number = 120, title = 'The Mysterious Creatures, Pocket Monsters!', airdate = LEAST(airdate, '2009-03-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP121', 3, 121, 'The Lonely Yukikaburi!', '2009-04-02') ON DUPLICATE KEY UPDATE series = 3, number = 121, title = 'The Lonely Yukikaburi!', airdate = LEAST(airdate, '2009-04-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP121', 1, 583, 'The Lonely Snover', '2009-08-22') ON DUPLICATE KEY UPDATE season = 1, number = 583, title = 'The Lonely Snover', airdate = LEAST(airdate, '2009-08-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP122', 3, 122, 'Evolution! This Time for Pochama!?', '2009-04-02') ON DUPLICATE KEY UPDATE series = 3, number = 122, title = 'Evolution! This Time for Pochama!?', airdate = LEAST(airdate, '2009-04-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP122', 1, 584, 'Stopped in the Name of Love', '2009-08-29') ON DUPLICATE KEY UPDATE season = 1, number = 584, title = 'Stopped in the Name of Love', airdate = LEAST(airdate, '2009-08-29');
INSERT INTO episodes (code, title, airdate) VALUES ('SS021', 'Pokémon Mystery Dungeon: Explorers of the Sky Expedition', '2009-04-12') ON DUPLICATE KEY UPDATE title = 'Pokémon Mystery Dungeon: Explorers of the Sky Expedition', airdate = LEAST(airdate, '2009-04-12');
INSERT INTO dubs (code, title, airdate) VALUES ('SS021', 'Pokémon Mystery Dungeon: Explorers of Sky - Beyond Time & Darkness', '2009-10-09') ON DUPLICATE KEY UPDATE title = 'Pokémon Mystery Dungeon: Explorers of Sky - Beyond Time & Darkness', airdate = LEAST(airdate, '2009-10-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP123', 3, 123, 'Pokémon Contest! Tatsunami Tournament!!', '2009-04-16') ON DUPLICATE KEY UPDATE series = 3, number = 123, title = 'Pokémon Contest! Tatsunami Tournament!!', airdate = LEAST(airdate, '2009-04-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP123', 1, 585, 'Old Rivals, New Tricks!', '2009-09-05') ON DUPLICATE KEY UPDATE season = 1, number = 585, title = 'Old Rivals, New Tricks!', airdate = LEAST(airdate, '2009-09-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP124', 3, 124, 'Pokémon Ping Pong Tournament! Eteboth Does Her Best!!', '2009-04-23') ON DUPLICATE KEY UPDATE series = 3, number = 124, title = 'Pokémon Ping Pong Tournament! Eteboth Does Her Best!!', airdate = LEAST(airdate, '2009-04-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP124', 1, 586, 'To Thine Own Pokémon Be True!', '2009-09-12') ON DUPLICATE KEY UPDATE season = 1, number = 586, title = 'To Thine Own Pokémon Be True!', airdate = LEAST(airdate, '2009-09-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP125', 3, 125, 'Cherinbo! A Brave Battle!?', '2009-04-30') ON DUPLICATE KEY UPDATE series = 3, number = 125, title = 'Cherinbo! A Brave Battle!?', airdate = LEAST(airdate, '2009-04-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP125', 1, 587, 'Battling a Cute Drama!', '2009-09-26') ON DUPLICATE KEY UPDATE season = 1, number = 587, title = 'Battling a Cute Drama!', airdate = LEAST(airdate, '2009-09-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP126', 3, 126, 'Miss Suzuna of the Trainers\' School!', '2009-05-07') ON DUPLICATE KEY UPDATE series = 3, number = 126, title = 'Miss Suzuna of the Trainers\' School!', airdate = LEAST(airdate, '2009-05-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP126', 1, 588, 'Classroom Training!', '2009-10-03') ON DUPLICATE KEY UPDATE season = 1, number = 588, title = 'Classroom Training!', airdate = LEAST(airdate, '2009-10-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP127', 3, 127, 'Kissaki Gym! Ice Battle!!', '2009-05-14') ON DUPLICATE KEY UPDATE series = 3, number = 127, title = 'Kissaki Gym! Ice Battle!!', airdate = LEAST(airdate, '2009-05-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP127', 1, 589, 'Sliding Into Seventh!', '2009-10-10') ON DUPLICATE KEY UPDATE season = 1, number = 589, title = 'Sliding Into Seventh!', airdate = LEAST(airdate, '2009-10-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP128', 3, 128, 'Battle Pyramid! Shinji VS Jindai!!', '2009-05-21') ON DUPLICATE KEY UPDATE series = 3, number = 128, title = 'Battle Pyramid! Shinji VS Jindai!!', airdate = LEAST(airdate, '2009-05-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP128', 1, 590, 'A Pyramiding Rage!', '2009-10-17') ON DUPLICATE KEY UPDATE season = 1, number = 590, title = 'A Pyramiding Rage!', airdate = LEAST(airdate, '2009-10-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP129', 3, 129, 'Resurrected Regigigas! J Returns!!', '2009-05-28') ON DUPLICATE KEY UPDATE series = 3, number = 129, title = 'Resurrected Regigigas! J Returns!!', airdate = LEAST(airdate, '2009-05-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP129', 1, 591, 'Pillars of Friendship!', '2009-10-24') ON DUPLICATE KEY UPDATE season = 1, number = 591, title = 'Pillars of Friendship!', airdate = LEAST(airdate, '2009-10-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP130', 3, 130, 'Denryu Train! Enter Handsome!!', '2009-06-04') ON DUPLICATE KEY UPDATE series = 3, number = 130, title = 'Denryu Train! Enter Handsome!!', airdate = LEAST(airdate, '2009-06-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP130', 1, 592, 'Frozen on Their Tracks!', '2009-10-31') ON DUPLICATE KEY UPDATE season = 1, number = 592, title = 'Frozen on Their Tracks!', airdate = LEAST(airdate, '2009-10-31');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP131', 3, 131, 'Full Battle! Shinji VS Satoshi!! -Part 1-', '2009-06-11') ON DUPLICATE KEY UPDATE series = 3, number = 131, title = 'Full Battle! Shinji VS Satoshi!! -Part 1-', airdate = LEAST(airdate, '2009-06-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP131', 1, 593, 'Pedal to the Mettle!', '2009-11-07') ON DUPLICATE KEY UPDATE season = 1, number = 593, title = 'Pedal to the Mettle!', airdate = LEAST(airdate, '2009-11-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP132', 3, 132, 'Full Battle! Shinji VS Satoshi!! -Part 2-', '2009-06-18') ON DUPLICATE KEY UPDATE series = 3, number = 132, title = 'Full Battle! Shinji VS Satoshi!! -Part 2-', airdate = LEAST(airdate, '2009-06-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP132', 1, 594, 'Evolving Strategies!', '2009-11-14') ON DUPLICATE KEY UPDATE season = 1, number = 594, title = 'Evolving Strategies!', airdate = LEAST(airdate, '2009-11-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP133', 3, 133, 'Yuxie\'s Shadow!', '2009-06-25') ON DUPLICATE KEY UPDATE series = 3, number = 133, title = 'Yuxie\'s Shadow!', airdate = LEAST(airdate, '2009-06-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP133', 1, 595, 'Uncrushing Defeat!', '2009-11-21') ON DUPLICATE KEY UPDATE season = 1, number = 595, title = 'Uncrushing Defeat!', airdate = LEAST(airdate, '2009-11-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP134', 3, 134, 'King of the Forest! Mojumbo!!', '2009-07-02') ON DUPLICATE KEY UPDATE series = 3, number = 134, title = 'King of the Forest! Mojumbo!!', airdate = LEAST(airdate, '2009-07-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP134', 1, 596, 'Promoting Healthy Tangrowth!', '2009-12-05') ON DUPLICATE KEY UPDATE season = 1, number = 596, title = 'Promoting Healthy Tangrowth!', airdate = LEAST(airdate, '2009-12-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP135', 3, 135, 'Everybody Participate! Pokémon Hustle!!', '2009-07-09') ON DUPLICATE KEY UPDATE series = 3, number = 135, title = 'Everybody Participate! Pokémon Hustle!!', airdate = LEAST(airdate, '2009-07-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP135', 1, 597, 'Beating the Bustle and Hustle!', '2009-12-12') ON DUPLICATE KEY UPDATE season = 1, number = 597, title = 'Beating the Bustle and Hustle!', airdate = LEAST(airdate, '2009-12-12');
INSERT INTO episodes (code, title, airdate) VALUES ('M12', 'Arceus: To a Conquering Spacetime', '2009-07-18') ON DUPLICATE KEY UPDATE title = 'Arceus: To a Conquering Spacetime', airdate = LEAST(airdate, '2009-07-18');
INSERT INTO dubs (code, title, airdate) VALUES ('M12', 'Pokémon: Arceus and the Jewel of Life', '2009-11-20') ON DUPLICATE KEY UPDATE title = 'Pokémon: Arceus and the Jewel of Life', airdate = LEAST(airdate, '2009-11-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP136', 3, 136, 'Mt. Tengan Ruins! Ginga-dan Conspiracy!!', '2009-07-23') ON DUPLICATE KEY UPDATE series = 3, number = 136, title = 'Mt. Tengan Ruins! Ginga-dan Conspiracy!!', airdate = LEAST(airdate, '2009-07-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP136', 1, 598, 'Gateway to Ruin!', '2009-12-19') ON DUPLICATE KEY UPDATE season = 1, number = 598, title = 'Gateway to Ruin!', airdate = LEAST(airdate, '2009-12-19');
INSERT INTO episodes (code, title, airdate) VALUES ('PK20', 'Pikachu\'s Big Sparking Search', '2009-08-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Big Sparking Search', airdate = LEAST(airdate, '2009-08-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP137', 3, 137, 'Maril, Pochama, Elekid!!', '2009-08-06') ON DUPLICATE KEY UPDATE series = 3, number = 137, title = 'Maril, Pochama, Elekid!!', airdate = LEAST(airdate, '2009-08-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP137', 1, 599, 'Three Sides to Every Story!', '2009-12-26') ON DUPLICATE KEY UPDATE season = 1, number = 599, title = 'Three Sides to Every Story!', airdate = LEAST(airdate, '2009-12-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP138', 3, 138, 'Hikari VS Mama! Parent-Child Showdown!!', '2009-08-13') ON DUPLICATE KEY UPDATE series = 3, number = 138, title = 'Hikari VS Mama! Parent-Child Showdown!!', airdate = LEAST(airdate, '2009-08-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP138', 1, 600, 'Strategy Begins at Home!', '2010-01-02') ON DUPLICATE KEY UPDATE season = 1, number = 600, title = 'Strategy Begins at Home!', airdate = LEAST(airdate, '2010-01-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP139', 3, 139, 'Rescue Dr. Okido! Nyorotono VS Guregguru!!', '2009-08-20') ON DUPLICATE KEY UPDATE series = 3, number = 139, title = 'Rescue Dr. Okido! Nyorotono VS Guregguru!!', airdate = LEAST(airdate, '2009-08-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP139', 1, 601, 'A Faux Oak Finish!', '2010-01-09') ON DUPLICATE KEY UPDATE season = 1, number = 601, title = 'A Faux Oak Finish!', airdate = LEAST(airdate, '2010-01-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP140', 3, 140, 'Naty, Natio... Mysterious Forest!', '2009-08-27') ON DUPLICATE KEY UPDATE series = 3, number = 140, title = 'Naty, Natio... Mysterious Forest!', airdate = LEAST(airdate, '2009-08-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP140', 1, 602, 'Historical Mystery Tour!', '2010-01-16') ON DUPLICATE KEY UPDATE season = 1, number = 602, title = 'Historical Mystery Tour!', airdate = LEAST(airdate, '2010-01-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP141', 3, 141, 'Tower Tycoon! That Man, Kurotsugu!!', '2009-09-03') ON DUPLICATE KEY UPDATE series = 3, number = 141, title = 'Tower Tycoon! That Man, Kurotsugu!!', airdate = LEAST(airdate, '2009-09-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP141', 1, 603, 'Challenging a Towering Figure!', '2010-01-23') ON DUPLICATE KEY UPDATE season = 1, number = 603, title = 'Challenging a Towering Figure!', airdate = LEAST(airdate, '2010-01-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP142', 3, 142, 'The Worst Togepy Ever!', '2009-09-10') ON DUPLICATE KEY UPDATE series = 3, number = 142, title = 'The Worst Togepy Ever!', airdate = LEAST(airdate, '2009-09-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP142', 1, 604, 'Where No Togepi Has Gone Before!', '2010-01-30') ON DUPLICATE KEY UPDATE season = 1, number = 604, title = 'Where No Togepi Has Gone Before!', airdate = LEAST(airdate, '2010-01-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP143', 3, 143, 'Jōto Festa! Enter Chicorita and Waninoko!!', '2009-09-17') ON DUPLICATE KEY UPDATE series = 3, number = 143, title = 'Jōto Festa! Enter Chicorita and Waninoko!!', airdate = LEAST(airdate, '2009-09-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP143', 1, 605, 'An Egg Scramble!', '2010-02-06') ON DUPLICATE KEY UPDATE season = 1, number = 605, title = 'An Egg Scramble!', airdate = LEAST(airdate, '2010-02-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP144', 3, 144, 'Dungeon Capture!? The Valley Powerplant!', '2009-09-17') ON DUPLICATE KEY UPDATE series = 3, number = 144, title = 'Dungeon Capture!? The Valley Powerplant!', airdate = LEAST(airdate, '2009-09-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP144', 1, 606, 'Gone With the Windworks!', '2010-02-13') ON DUPLICATE KEY UPDATE season = 1, number = 606, title = 'Gone With the Windworks!', airdate = LEAST(airdate, '2010-02-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP145', 3, 145, 'Fukamaru...Got It!', '2009-10-01') ON DUPLICATE KEY UPDATE series = 3, number = 145, title = 'Fukamaru...Got It!', airdate = LEAST(airdate, '2009-10-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP145', 1, 607, 'A Rivalry to Gible On!', '2010-02-20') ON DUPLICATE KEY UPDATE season = 1, number = 607, title = 'A Rivalry to Gible On!', airdate = LEAST(airdate, '2010-02-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP146', 3, 146, 'Pokémon Contest! Suiren Tournament!!', '2009-10-01') ON DUPLICATE KEY UPDATE series = 3, number = 146, title = 'Pokémon Contest! Suiren Tournament!!', airdate = LEAST(airdate, '2009-10-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP146', 1, 608, 'Dressed for Jess Success!', '2010-02-27') ON DUPLICATE KEY UPDATE season = 1, number = 608, title = 'Dressed for Jess Success!', airdate = LEAST(airdate, '2010-02-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP147', 3, 147, 'Satoshi and Hikari! Tag Battle!!', '2009-10-15') ON DUPLICATE KEY UPDATE series = 3, number = 147, title = 'Satoshi and Hikari! Tag Battle!!', airdate = LEAST(airdate, '2009-10-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP147', 1, 609, 'Bagged Then Tagged!', '2010-03-06') ON DUPLICATE KEY UPDATE season = 1, number = 609, title = 'Bagged Then Tagged!', airdate = LEAST(airdate, '2010-03-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP148', 3, 148, 'Muma, Yamikarasu and the Dark Stone!', '2009-10-22') ON DUPLICATE KEY UPDATE series = 3, number = 148, title = 'Muma, Yamikarasu and the Dark Stone!', airdate = LEAST(airdate, '2009-10-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP148', 1, 610, 'Try for the Family Stone!', '2010-03-13') ON DUPLICATE KEY UPDATE season = 1, number = 610, title = 'Try for the Family Stone!', airdate = LEAST(airdate, '2010-03-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP149', 3, 149, 'Pikachu, Pochama, Keep Apart!!', '2009-10-29') ON DUPLICATE KEY UPDATE series = 3, number = 149, title = 'Pikachu, Pochama, Keep Apart!!', airdate = LEAST(airdate, '2009-10-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP149', 1, 611, 'Sticking With Who You Know!', '2010-03-20') ON DUPLICATE KEY UPDATE season = 1, number = 611, title = 'Sticking With Who You Know!', airdate = LEAST(airdate, '2010-03-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP150', 3, 150, 'The Red Chain! Activated by Ginga-dan!!', '2009-11-05') ON DUPLICATE KEY UPDATE series = 3, number = 150, title = 'The Red Chain! Activated by Ginga-dan!!', airdate = LEAST(airdate, '2009-11-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP150', 1, 612, 'Unlocking the Red Chain of Events!', '2010-03-27') ON DUPLICATE KEY UPDATE season = 1, number = 612, title = 'Unlocking the Red Chain of Events!', airdate = LEAST(airdate, '2010-03-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP151', 3, 151, 'Agnome, Yuxie, Emrit!', '2009-11-12') ON DUPLICATE KEY UPDATE series = 3, number = 151, title = 'Agnome, Yuxie, Emrit!', airdate = LEAST(airdate, '2009-11-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP151', 1, 613, 'The Needs of Three!', '2010-04-03') ON DUPLICATE KEY UPDATE season = 1, number = 613, title = 'The Needs of Three!', airdate = LEAST(airdate, '2010-04-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP152', 3, 152, 'Dialga and Palkia! The Final Battle!!', '2009-11-12') ON DUPLICATE KEY UPDATE series = 3, number = 152, title = 'Dialga and Palkia! The Final Battle!!', airdate = LEAST(airdate, '2009-11-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP152', 1, 614, 'The Battle Finale of Legend!', '2010-04-10') ON DUPLICATE KEY UPDATE season = 1, number = 614, title = 'The Battle Finale of Legend!', airdate = LEAST(airdate, '2010-04-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP153', 3, 153, 'Full of Danger! Kojirō\'s Treasure Chest!!', '2009-11-26') ON DUPLICATE KEY UPDATE series = 3, number = 153, title = 'Full of Danger! Kojirō\'s Treasure Chest!!', airdate = LEAST(airdate, '2009-11-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP153', 1, 615, 'The Treasure Is All Mine!', '2010-04-17') ON DUPLICATE KEY UPDATE season = 1, number = 615, title = 'The Treasure Is All Mine!', airdate = LEAST(airdate, '2010-04-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP154', 3, 154, 'The Air Battle Master Enters! Glion VS Hassam!!', '2009-12-03') ON DUPLICATE KEY UPDATE series = 3, number = 154, title = 'The Air Battle Master Enters! Glion VS Hassam!!', airdate = LEAST(airdate, '2009-12-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP154', 1, 616, 'Mastering Current Events!', '2010-04-24') ON DUPLICATE KEY UPDATE season = 1, number = 616, title = 'Mastering Current Events!', airdate = LEAST(airdate, '2010-04-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP155', 3, 155, 'Double Battle! Mammoo and Hinoarashi!!', '2009-12-10') ON DUPLICATE KEY UPDATE series = 3, number = 155, title = 'Double Battle! Mammoo and Hinoarashi!!', airdate = LEAST(airdate, '2009-12-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP155', 1, 617, 'Double-Time Battle Training!', '2010-05-01') ON DUPLICATE KEY UPDATE season = 1, number = 617, title = 'Double-Time Battle Training!', airdate = LEAST(airdate, '2010-05-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP156', 3, 156, 'Fukamaru and Meteor Shower!', '2009-12-17') ON DUPLICATE KEY UPDATE series = 3, number = 156, title = 'Fukamaru and Meteor Shower!', airdate = LEAST(airdate, '2009-12-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP156', 1, 618, 'A Meteoric Rise to Excellence!', '2010-05-08') ON DUPLICATE KEY UPDATE season = 1, number = 618, title = 'A Meteoric Rise to Excellence!', airdate = LEAST(airdate, '2010-05-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP157', 3, 157, 'Fukamaru! Got It!!', '2009-12-24') ON DUPLICATE KEY UPDATE series = 3, number = 157, title = 'Fukamaru! Got It!!', airdate = LEAST(airdate, '2009-12-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP157', 1, 619, 'Gotta Get a Gible!', '2010-05-15') ON DUPLICATE KEY UPDATE season = 1, number = 619, title = 'Gotta Get a Gible!', airdate = LEAST(airdate, '2010-05-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP158', 3, 158, 'Loud Roar! Jibacoil VS Metagross!!', '2010-01-07') ON DUPLICATE KEY UPDATE series = 3, number = 158, title = 'Loud Roar! Jibacoil VS Metagross!!', airdate = LEAST(airdate, '2010-01-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP158', 1, 620, 'Regaining the Home Advantage!', '2010-06-05') ON DUPLICATE KEY UPDATE season = 1, number = 620, title = 'Regaining the Home Advantage!', airdate = LEAST(airdate, '2010-06-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP159', 3, 159, 'Roaring Freezing Punch! Buoysel VS Barrierd!!', '2010-01-14') ON DUPLICATE KEY UPDATE series = 3, number = 159, title = 'Roaring Freezing Punch! Buoysel VS Barrierd!!', airdate = LEAST(airdate, '2010-01-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP159', 1, 621, 'Short and To the Punch!', '2010-06-12') ON DUPLICATE KEY UPDATE season = 1, number = 621, title = 'Short and To the Punch!', airdate = LEAST(airdate, '2010-06-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP160', 3, 160, 'Get Fired Up, Kabigon! King of the Pokéthlon!!', '2010-01-21') ON DUPLICATE KEY UPDATE series = 3, number = 160, title = 'Get Fired Up, Kabigon! King of the Pokéthlon!!', airdate = LEAST(airdate, '2010-01-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP160', 1, 622, 'A Marathon Rivalry!', '2010-06-19') ON DUPLICATE KEY UPDATE season = 1, number = 622, title = 'A Marathon Rivalry!', airdate = LEAST(airdate, '2010-06-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP161', 3, 161, 'The Curtain Rises! Pokémon Contest - Asatsuki Tournament!!', '2010-01-28') ON DUPLICATE KEY UPDATE series = 3, number = 161, title = 'The Curtain Rises! Pokémon Contest - Asatsuki Tournament!!', airdate = LEAST(airdate, '2010-01-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP161', 1, 623, 'Yes in Dee Dee, It\'s Dawn!', '2010-06-26') ON DUPLICATE KEY UPDATE season = 1, number = 623, title = 'Yes in Dee Dee, It\'s Dawn!', airdate = LEAST(airdate, '2010-06-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP162', 3, 162, 'Double Battle! VS Prasle & Minun!!', '2010-02-04') ON DUPLICATE KEY UPDATE series = 3, number = 162, title = 'Double Battle! VS Prasle & Minun!!', airdate = LEAST(airdate, '2010-02-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP162', 1, 624, 'Playing the Performance Encore!', '2010-07-03') ON DUPLICATE KEY UPDATE season = 1, number = 624, title = 'Playing the Performance Encore!', airdate = LEAST(airdate, '2010-07-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP163', 3, 163, 'Explosive Evolution! Goukazaru!!', '2010-02-11') ON DUPLICATE KEY UPDATE series = 3, number = 163, title = 'Explosive Evolution! Goukazaru!!', airdate = LEAST(airdate, '2010-02-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP163', 1, 625, 'Fighting Ire with Fire!', '2010-07-10') ON DUPLICATE KEY UPDATE season = 1, number = 625, title = 'Fighting Ire with Fire!', airdate = LEAST(airdate, '2010-07-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP164', 3, 164, 'Pochama Goes Astray!', '2010-02-18') ON DUPLICATE KEY UPDATE series = 3, number = 164, title = 'Pochama Goes Astray!', airdate = LEAST(airdate, '2010-02-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP164', 1, 626, 'Piplup, Up and Away!', '2010-07-17') ON DUPLICATE KEY UPDATE season = 1, number = 626, title = 'Piplup, Up and Away!', airdate = LEAST(airdate, '2010-07-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP165', 3, 165, 'Ōba of the Four Heavenly Kings and Gym Leader Denzi!', '2010-02-25') ON DUPLICATE KEY UPDATE series = 3, number = 165, title = 'Ōba of the Four Heavenly Kings and Gym Leader Denzi!', airdate = LEAST(airdate, '2010-02-25');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP165', 1, 627, 'Flint Sparks the Fire!', '2010-07-24') ON DUPLICATE KEY UPDATE season = 1, number = 627, title = 'Flint Sparks the Fire!', airdate = LEAST(airdate, '2010-07-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP166', 3, 166, 'Liftoff! Nagisa Tower!!', '2010-03-04') ON DUPLICATE KEY UPDATE series = 3, number = 166, title = 'Liftoff! Nagisa Tower!!', airdate = LEAST(airdate, '2010-03-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP166', 1, 628, 'The Fleeing Tower of Sunyshore!', '2010-07-31') ON DUPLICATE KEY UPDATE season = 1, number = 628, title = 'The Fleeing Tower of Sunyshore!', airdate = LEAST(airdate, '2010-07-31');
INSERT INTO episodes (code, title, airdate) VALUES ('SS022', 'Pokémon Ranger: Traces of Light (Part One)', '2010-02-28') ON DUPLICATE KEY UPDATE title = 'Pokémon Ranger: Traces of Light (Part One)', airdate = LEAST(airdate, '2010-02-28');
INSERT INTO dubs (code, title, airdate) VALUES ('SS022', 'Pokémon Ranger: Guardian Signs (Part One)', '2010-11-10') ON DUPLICATE KEY UPDATE title = 'Pokémon Ranger: Guardian Signs (Part One)', airdate = LEAST(airdate, '2010-11-10');
INSERT INTO episodes (code, title, airdate) VALUES ('SS023', 'Pokémon Ranger: Traces of Light (Part Two)', '2010-03-07') ON DUPLICATE KEY UPDATE title = 'Pokémon Ranger: Traces of Light (Part Two)', airdate = LEAST(airdate, '2010-03-07');
INSERT INTO dubs (code, title, airdate) VALUES ('SS023', 'Pokémon Ranger: Guardian Signs (Part Two)', '2010-11-10') ON DUPLICATE KEY UPDATE title = 'Pokémon Ranger: Guardian Signs (Part Two)', airdate = LEAST(airdate, '2010-11-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP167', 3, 167, 'The Beach Pokémon School!', '2010-03-11') ON DUPLICATE KEY UPDATE series = 3, number = 167, title = 'The Beach Pokémon School!', airdate = LEAST(airdate, '2010-03-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP167', 1, 629, 'Teaching the Student Teacher!', '2010-08-07') ON DUPLICATE KEY UPDATE season = 1, number = 629, title = 'Teaching the Student Teacher!', airdate = LEAST(airdate, '2010-08-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP168', 3, 168, 'Fly, Shaymin! Far into The Sky!!', '2010-03-18') ON DUPLICATE KEY UPDATE series = 3, number = 168, title = 'Fly, Shaymin! Far into The Sky!!', airdate = LEAST(airdate, '2010-03-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP168', 1, 630, 'Keeping in Top Forme!', '2010-08-14') ON DUPLICATE KEY UPDATE season = 1, number = 630, title = 'Keeping in Top Forme!', airdate = LEAST(airdate, '2010-08-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP169', 3, 169, 'Pokémon Ranger! Heatran Rescue Mission!!', '2010-03-18') ON DUPLICATE KEY UPDATE series = 3, number = 169, title = 'Pokémon Ranger! Heatran Rescue Mission!!', airdate = LEAST(airdate, '2010-03-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP169', 1, 631, 'Pokémon Ranger: Heatran Rescue!', '2010-10-16') ON DUPLICATE KEY UPDATE season = 1, number = 631, title = 'Pokémon Ranger: Heatran Rescue!', airdate = LEAST(airdate, '2010-10-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP170', 3, 170, 'Kikuno of the Four Heavenly Kings! Kabaldon VS Dodaitose!!', '2010-04-01') ON DUPLICATE KEY UPDATE series = 3, number = 170, title = 'Kikuno of the Four Heavenly Kings! Kabaldon VS Dodaitose!!', airdate = LEAST(airdate, '2010-04-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP170', 1, 632, 'An Elite Coverup!', '2010-08-21') ON DUPLICATE KEY UPDATE season = 1, number = 632, title = 'An Elite Coverup!', airdate = LEAST(airdate, '2010-08-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP171', 3, 171, 'Togekiss Dance! The Princess\'s Pokémon Contest!!', '2010-04-01') ON DUPLICATE KEY UPDATE series = 3, number = 171, title = 'Togekiss Dance! The Princess\'s Pokémon Contest!!', airdate = LEAST(airdate, '2010-04-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP171', 1, 633, 'Dawn of a Royal Day!', '2010-08-28') ON DUPLICATE KEY UPDATE season = 1, number = 633, title = 'Dawn of a Royal Day!', airdate = LEAST(airdate, '2010-08-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP172', 3, 172, 'Togekiss! The Magnificent Battle!!', '2010-04-15') ON DUPLICATE KEY UPDATE series = 3, number = 172, title = 'Togekiss! The Magnificent Battle!!', airdate = LEAST(airdate, '2010-04-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP172', 1, 634, 'With the Easiest of Grace!', '2010-09-04') ON DUPLICATE KEY UPDATE season = 1, number = 634, title = 'With the Easiest of Grace!', airdate = LEAST(airdate, '2010-09-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP173', 3, 173, 'Metamon - Transformation Battle! Which One is the Real One!?', '2010-04-22') ON DUPLICATE KEY UPDATE series = 3, number = 173, title = 'Metamon - Transformation Battle! Which One is the Real One!?', airdate = LEAST(airdate, '2010-04-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP173', 1, 635, 'Dealing With a Fierce Double Ditto Drama!', '2010-09-11') ON DUPLICATE KEY UPDATE season = 1, number = 635, title = 'Dealing With a Fierce Double Ditto Drama!', airdate = LEAST(airdate, '2010-09-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP174', 3, 174, 'The Grand Festival Begins! The Art of Flame and Ice!!', '2010-04-29') ON DUPLICATE KEY UPDATE series = 3, number = 174, title = 'The Grand Festival Begins! The Art of Flame and Ice!!', airdate = LEAST(airdate, '2010-04-29');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP174', 1, 636, 'Last Call — First Round!', '2010-09-18') ON DUPLICATE KEY UPDATE season = 1, number = 636, title = 'Last Call — First Round!', airdate = LEAST(airdate, '2010-09-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP175', 3, 175, 'Mammoo, Pachirisu! Decide on the Ice Chandelier!!', '2010-05-06') ON DUPLICATE KEY UPDATE series = 3, number = 175, title = 'Mammoo, Pachirisu! Decide on the Ice Chandelier!!', airdate = LEAST(airdate, '2010-05-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP175', 1, 637, 'Opposites Interact!', '2010-09-25') ON DUPLICATE KEY UPDATE season = 1, number = 637, title = 'Opposites Interact!', airdate = LEAST(airdate, '2010-09-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP176', 3, 176, 'The Semi-Finals! Who is Heading to the Finals!?', '2010-05-13') ON DUPLICATE KEY UPDATE series = 3, number = 176, title = 'The Semi-Finals! Who is Heading to the Finals!?', airdate = LEAST(airdate, '2010-05-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP176', 1, 638, 'Coming Full Festival Circle!', '2010-10-02') ON DUPLICATE KEY UPDATE season = 1, number = 638, title = 'Coming Full Festival Circle!', airdate = LEAST(airdate, '2010-10-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP177', 3, 177, 'Decisive Rival Showdown! Hikari VS Nozomi!!', '2010-05-20') ON DUPLICATE KEY UPDATE series = 3, number = 177, title = 'Decisive Rival Showdown! Hikari VS Nozomi!!', airdate = LEAST(airdate, '2010-05-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP177', 1, 639, 'A Grand Fight for Winning!', '2010-10-09') ON DUPLICATE KEY UPDATE season = 1, number = 639, title = 'A Grand Fight for Winning!', airdate = LEAST(airdate, '2010-10-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP178', 3, 178, 'Goodbye Rocket-dan! Love of Nyarth!?', '2010-05-27') ON DUPLICATE KEY UPDATE series = 3, number = 178, title = 'Goodbye Rocket-dan! Love of Nyarth!?', airdate = LEAST(airdate, '2010-05-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP178', 1, 640, 'For The Love Of Meowth!', '2010-10-23') ON DUPLICATE KEY UPDATE season = 1, number = 640, title = 'For The Love Of Meowth!', airdate = LEAST(airdate, '2010-10-23');
INSERT INTO episodes (code, title, airdate) VALUES ('M13', 'Ruler of Illusions: Zoroark', '2010-07-10') ON DUPLICATE KEY UPDATE title = 'Ruler of Illusions: Zoroark', airdate = LEAST(airdate, '2010-07-10');
INSERT INTO dubs (code, title, airdate) VALUES ('M13', 'Pokémon—Zoroark: Master of Illusions', '2011-02-05') ON DUPLICATE KEY UPDATE title = 'Pokémon—Zoroark: Master of Illusions', airdate = LEAST(airdate, '2011-02-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP179', 3, 179, 'Electric Shock Battle! The Final Badge!!', '2010-06-03') ON DUPLICATE KEY UPDATE series = 3, number = 179, title = 'Electric Shock Battle! The Final Badge!!', airdate = LEAST(airdate, '2010-06-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP179', 1, 641, 'The Eighth Wonder of the Sinnoh World!', '2010-10-30') ON DUPLICATE KEY UPDATE season = 1, number = 641, title = 'The Eighth Wonder of the Sinnoh World!', airdate = LEAST(airdate, '2010-10-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP180', 3, 180, 'Satoshi VS Kengo! Sailing for Respective Roads!!', '2010-06-10') ON DUPLICATE KEY UPDATE series = 3, number = 180, title = 'Satoshi VS Kengo! Sailing for Respective Roads!!', airdate = LEAST(airdate, '2010-06-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP180', 1, 642, 'Four Roads Diverged in a Pokémon Port!', '2010-11-06') ON DUPLICATE KEY UPDATE season = 1, number = 642, title = 'Four Roads Diverged in a Pokémon Port!', airdate = LEAST(airdate, '2010-11-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP181', 3, 181, 'Treasure Hunter - Baku & Yajilon!', '2010-06-17') ON DUPLICATE KEY UPDATE series = 3, number = 181, title = 'Treasure Hunter - Baku & Yajilon!', airdate = LEAST(airdate, '2010-06-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP181', 1, 643, 'Bucking the Treasure Trend!', '2010-11-13') ON DUPLICATE KEY UPDATE season = 1, number = 643, title = 'Bucking the Treasure Trend!', airdate = LEAST(airdate, '2010-11-13');
INSERT INTO episodes (code, title, airdate) VALUES ('PK21', 'Pikachu\'s Big Mysterious Adventure', '2010-08-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Big Mysterious Adventure', airdate = LEAST(airdate, '2010-08-01');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP182', 3, 182, 'Eve of Battle! Satoshi\'s Pokémon All Together!!', '2010-06-24') ON DUPLICATE KEY UPDATE series = 3, number = 182, title = 'Eve of Battle! Satoshi\'s Pokémon All Together!!', airdate = LEAST(airdate, '2010-06-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP182', 1, 644, 'An Old Family Blend!', '2010-11-20') ON DUPLICATE KEY UPDATE season = 1, number = 644, title = 'An Old Family Blend!', airdate = LEAST(airdate, '2010-11-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP183', 3, 183, 'Raise the Curtain! Shin\'ō League - Suzuran Tournament!!', '2010-07-01') ON DUPLICATE KEY UPDATE series = 3, number = 183, title = 'Raise the Curtain! Shin\'ō League - Suzuran Tournament!!', airdate = LEAST(airdate, '2010-07-01');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP183', 1, 645, 'League Unleashed!', '2010-11-27') ON DUPLICATE KEY UPDATE season = 1, number = 645, title = 'League Unleashed!', airdate = LEAST(airdate, '2010-11-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP184', 3, 184, 'Shin\'ō League Third Round! Shinji VS Jun!!', '2010-07-15') ON DUPLICATE KEY UPDATE series = 3, number = 184, title = 'Shin\'ō League Third Round! Shinji VS Jun!!', airdate = LEAST(airdate, '2010-07-15');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP184', 1, 646, 'Casting a Paul on Barry!', '2010-12-04') ON DUPLICATE KEY UPDATE season = 1, number = 646, title = 'Casting a Paul on Barry!', airdate = LEAST(airdate, '2010-12-04');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP185', 3, 185, 'Trick Room of Terror! Satoshi VS Kōhei!!', '2010-07-22') ON DUPLICATE KEY UPDATE series = 3, number = 185, title = 'Trick Room of Terror! Satoshi VS Kōhei!!', airdate = LEAST(airdate, '2010-07-22');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP185', 1, 647, 'Working on a Right Move!', '2010-12-11') ON DUPLICATE KEY UPDATE season = 1, number = 647, title = 'Working on a Right Move!', airdate = LEAST(airdate, '2010-12-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP186', 3, 186, 'Rival Decisive Battle! Satoshi VS Shinji!!', '2010-08-05') ON DUPLICATE KEY UPDATE series = 3, number = 186, title = 'Rival Decisive Battle! Satoshi VS Shinji!!', airdate = LEAST(airdate, '2010-08-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP186', 1, 648, 'Familiarity Breeds Strategy!', '2010-12-18') ON DUPLICATE KEY UPDATE season = 1, number = 648, title = 'Familiarity Breeds Strategy!', airdate = LEAST(airdate, '2010-12-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP187', 3, 187, 'Intense Fighting Full Battle! Satoshi VS Shinji!!', '2010-08-12') ON DUPLICATE KEY UPDATE series = 3, number = 187, title = 'Intense Fighting Full Battle! Satoshi VS Shinji!!', airdate = LEAST(airdate, '2010-08-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP187', 1, 649, 'A Real Rival Rouser!', '2011-01-08') ON DUPLICATE KEY UPDATE season = 1, number = 649, title = 'A Real Rival Rouser!', airdate = LEAST(airdate, '2011-01-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP188', 3, 188, 'Conclusion of Rival Battle! Satoshi VS Shinji!!', '2010-08-19') ON DUPLICATE KEY UPDATE series = 3, number = 188, title = 'Conclusion of Rival Battle! Satoshi VS Shinji!!', airdate = LEAST(airdate, '2010-08-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP188', 1, 650, 'Battling a Thaw in Relations!', '2011-01-15') ON DUPLICATE KEY UPDATE season = 1, number = 650, title = 'Battling a Thaw in Relations!', airdate = LEAST(airdate, '2011-01-15');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP189', 3, 189, 'Shin\'ō League Semi-Final! Enter Darkrai!!', '2010-08-26') ON DUPLICATE KEY UPDATE series = 3, number = 189, title = 'Shin\'ō League Semi-Final! Enter Darkrai!!', airdate = LEAST(airdate, '2010-08-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP189', 1, 651, 'The Semi-Final Frontier!', '2011-01-22') ON DUPLICATE KEY UPDATE season = 1, number = 651, title = 'The Semi-Final Frontier!', airdate = LEAST(airdate, '2011-01-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP190', 3, 190, 'Pokémon Doctor - Takeshi!', '2010-09-02') ON DUPLICATE KEY UPDATE series = 3, number = 190, title = 'Pokémon Doctor - Takeshi!', airdate = LEAST(airdate, '2010-09-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP190', 1, 652, 'The Brockster Is In!', '2011-01-29') ON DUPLICATE KEY UPDATE season = 1, number = 652, title = 'The Brockster Is In!', airdate = LEAST(airdate, '2011-01-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('DP191', 3, 191, 'Memories are Pearls! Friendship is a Diamond!!', '2010-09-09') ON DUPLICATE KEY UPDATE series = 3, number = 191, title = 'Memories are Pearls! Friendship is a Diamond!!', airdate = LEAST(airdate, '2010-09-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('DP191', 1, 653, 'Memories are Made of Bliss!', '2011-02-05') ON DUPLICATE KEY UPDATE season = 1, number = 653, title = 'Memories are Made of Bliss!', airdate = LEAST(airdate, '2011-02-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW001', 4, 1, 'To the Isshu Region! Zekrom\'s Shadow!!', '2010-09-23') ON DUPLICATE KEY UPDATE series = 4, number = 1, title = 'To the Isshu Region! Zekrom\'s Shadow!!', airdate = LEAST(airdate, '2010-09-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW001', 1, 654, 'In The Shadow of Zekrom!', '2011-02-12') ON DUPLICATE KEY UPDATE season = 1, number = 654, title = 'In The Shadow of Zekrom!', airdate = LEAST(airdate, '2011-02-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW002', 4, 2, 'Iris and Kibago!', '2010-09-23') ON DUPLICATE KEY UPDATE series = 4, number = 2, title = 'Iris and Kibago!', airdate = LEAST(airdate, '2010-09-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW002', 1, 655, 'Enter Iris and Axew!', '2011-02-12') ON DUPLICATE KEY UPDATE season = 1, number = 655, title = 'Enter Iris and Axew!', airdate = LEAST(airdate, '2011-02-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW003', 4, 3, 'Mijumaru! Meguroco! Close Call!!', '2010-09-30') ON DUPLICATE KEY UPDATE series = 4, number = 3, title = 'Mijumaru! Meguroco! Close Call!!', airdate = LEAST(airdate, '2010-09-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW003', 1, 656, 'A Sandile Gusher of Change!', '2011-02-19') ON DUPLICATE KEY UPDATE season = 1, number = 656, title = 'A Sandile Gusher of Change!', airdate = LEAST(airdate, '2011-02-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW004', 4, 4, 'Battle Club! A Mysterious Pokémon Appears!!', '2010-10-07') ON DUPLICATE KEY UPDATE series = 4, number = 4, title = 'Battle Club! A Mysterious Pokémon Appears!!', airdate = LEAST(airdate, '2010-10-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW004', 1, 657, 'The Battle Club and Tepig\'s Choice!', '2011-02-26') ON DUPLICATE KEY UPDATE season = 1, number = 657, title = 'The Battle Club and Tepig\'s Choice!', airdate = LEAST(airdate, '2011-02-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW005', 4, 5, 'Sanyou Gym! VS Baoppu, Hiyappu and Yanappu!!', '2010-10-14') ON DUPLICATE KEY UPDATE series = 4, number = 5, title = 'Sanyou Gym! VS Baoppu, Hiyappu and Yanappu!!', airdate = LEAST(airdate, '2010-10-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW005', 1, 658, 'Triple Leaders, Team Threats!', '2011-03-05') ON DUPLICATE KEY UPDATE season = 1, number = 658, title = 'Triple Leaders, Team Threats!', airdate = LEAST(airdate, '2011-03-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW006', 4, 6, 'The Site of Dreams! Munna and Musharna!!', '2010-10-21') ON DUPLICATE KEY UPDATE series = 4, number = 6, title = 'The Site of Dreams! Munna and Musharna!!', airdate = LEAST(airdate, '2010-10-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW006', 1, 659, 'Dreams by the Yard Full!', '2011-03-12') ON DUPLICATE KEY UPDATE season = 1, number = 659, title = 'Dreams by the Yard Full!', airdate = LEAST(airdate, '2011-03-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW007', 4, 7, 'Tsutarja - Captured by Mad Love!?', '2010-10-28') ON DUPLICATE KEY UPDATE series = 4, number = 7, title = 'Tsutarja - Captured by Mad Love!?', airdate = LEAST(airdate, '2010-10-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW007', 1, 660, 'Snivy Plays Hard to Catch!', '2011-03-19') ON DUPLICATE KEY UPDATE season = 1, number = 660, title = 'Snivy Plays Hard to Catch!', airdate = LEAST(airdate, '2011-03-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW008', 4, 8, 'Darumakka and Hihidaruma! The Secret of the Clock Tower!!', '2010-11-04') ON DUPLICATE KEY UPDATE series = 4, number = 8, title = 'Darumakka and Hihidaruma! The Secret of the Clock Tower!!', airdate = LEAST(airdate, '2010-11-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW008', 1, 661, 'Saving Darmanitan From the Bell!', '2011-03-26') ON DUPLICATE KEY UPDATE season = 1, number = 661, title = 'Saving Darmanitan From the Bell!', airdate = LEAST(airdate, '2011-03-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW009', 4, 9, 'The Out of Control Pendror! Rescue Kibago!!', '2010-11-11') ON DUPLICATE KEY UPDATE series = 4, number = 9, title = 'The Out of Control Pendror! Rescue Kibago!!', airdate = LEAST(airdate, '2010-11-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW009', 1, 662, 'The Bloom Is on Axew!', '2011-04-02') ON DUPLICATE KEY UPDATE season = 1, number = 662, title = 'The Bloom Is on Axew!', airdate = LEAST(airdate, '2011-04-02');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW010', 4, 10, 'Rival Battle! The Strong Opponent Pururill!', '2010-11-18') ON DUPLICATE KEY UPDATE series = 4, number = 10, title = 'Rival Battle! The Strong Opponent Pururill!', airdate = LEAST(airdate, '2010-11-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW010', 1, 663, 'A Rival Battle for Club Champ!', '2011-04-09') ON DUPLICATE KEY UPDATE season = 1, number = 663, title = 'A Rival Battle for Club Champ!', airdate = LEAST(airdate, '2011-04-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW011', 4, 11, 'Ishizumai! Take Back Your House!!', '2010-12-02') ON DUPLICATE KEY UPDATE series = 4, number = 11, title = 'Ishizumai! Take Back Your House!!', airdate = LEAST(airdate, '2010-12-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW011', 1, 664, 'A Home for Dwebble!', '2011-04-16') ON DUPLICATE KEY UPDATE season = 1, number = 664, title = 'A Home for Dwebble!', airdate = LEAST(airdate, '2011-04-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW012', 4, 12, 'The Yabukuron Squad and the Secret Base!?', '2010-12-09') ON DUPLICATE KEY UPDATE series = 4, number = 12, title = 'The Yabukuron Squad and the Secret Base!?', airdate = LEAST(airdate, '2010-12-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW012', 1, 665, 'Here Comes the Trubbish Squad!', '2011-04-23') ON DUPLICATE KEY UPDATE season = 1, number = 665, title = 'Here Comes the Trubbish Squad!', airdate = LEAST(airdate, '2011-04-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW013', 4, 13, 'Chillarmy is a Neat Freak!?', '2010-12-16') ON DUPLICATE KEY UPDATE series = 4, number = 13, title = 'Chillarmy is a Neat Freak!?', airdate = LEAST(airdate, '2010-12-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW013', 1, 666, 'Minccino—Neat and Tidy!', '2011-04-30') ON DUPLICATE KEY UPDATE season = 1, number = 666, title = 'Minccino—Neat and Tidy!', airdate = LEAST(airdate, '2011-04-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW014', 4, 14, 'Shippou City! The Big Adventure at the Museum!!', '2010-12-23') ON DUPLICATE KEY UPDATE series = 4, number = 14, title = 'Shippou City! The Big Adventure at the Museum!!', airdate = LEAST(airdate, '2010-12-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW014', 1, 667, 'A Night in the Nacrene City Museum!', '2011-05-07') ON DUPLICATE KEY UPDATE season = 1, number = 667, title = 'A Night in the Nacrene City Museum!', airdate = LEAST(airdate, '2011-05-07');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW015', 4, 15, 'Shippou Gym Battle! VS Gym Leader Aloe!!', '2011-01-06') ON DUPLICATE KEY UPDATE series = 4, number = 15, title = 'Shippou Gym Battle! VS Gym Leader Aloe!!', airdate = LEAST(airdate, '2011-01-06');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW015', 1, 668, 'The Battle According to Lenora!', '2011-05-14') ON DUPLICATE KEY UPDATE season = 1, number = 668, title = 'The Battle According to Lenora!', airdate = LEAST(airdate, '2011-05-14');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW016', 4, 16, 'The Shippou Gym Rematch! An Explosive New Move!!', '2011-01-13') ON DUPLICATE KEY UPDATE series = 4, number = 16, title = 'The Shippou Gym Rematch! An Explosive New Move!!', airdate = LEAST(airdate, '2011-01-13');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW016', 1, 669, 'Rematch at the Nacrene Gym!', '2011-05-21') ON DUPLICATE KEY UPDATE season = 1, number = 669, title = 'Rematch at the Nacrene Gym!', airdate = LEAST(airdate, '2011-05-21');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW017', 4, 17, 'The Wild Child that Hatched From The Egg!', '2011-01-20') ON DUPLICATE KEY UPDATE series = 4, number = 17, title = 'The Wild Child that Hatched From The Egg!', airdate = LEAST(airdate, '2011-01-20');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW017', 1, 670, 'Scraggy—Hatched to be Wild!', '2011-05-28') ON DUPLICATE KEY UPDATE season = 1, number = 670, title = 'Scraggy—Hatched to be Wild!', airdate = LEAST(airdate, '2011-05-28');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW018', 4, 18, 'Yaguruma Forest! Kurumiru and Arty!!', '2011-01-27') ON DUPLICATE KEY UPDATE series = 4, number = 18, title = 'Yaguruma Forest! Kurumiru and Arty!!', airdate = LEAST(airdate, '2011-01-27');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW018', 1, 671, 'Sewaddle and Burgh in Pinwheel Forest!', '2011-06-04') ON DUPLICATE KEY UPDATE season = 1, number = 671, title = 'Sewaddle and Burgh in Pinwheel Forest!', airdate = LEAST(airdate, '2011-06-04');
INSERT INTO episodes (code, title, airdate) VALUES ('SS024', 'Hikari - Setting Off on a New Journey!', '2011-02-03') ON DUPLICATE KEY UPDATE title = 'Hikari - Setting Off on a New Journey!', airdate = LEAST(airdate, '2011-02-03');
INSERT INTO episodes (code, title, airdate) VALUES ('SS025', 'Nibi Gym - The Greatest Crisis Ever!', '2011-02-03') ON DUPLICATE KEY UPDATE title = 'Nibi Gym - The Greatest Crisis Ever!', airdate = LEAST(airdate, '2011-02-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW019', 4, 19, 'A Sommelier Showdown! Ishizumai VS Futachimaru!!', '2011-02-17') ON DUPLICATE KEY UPDATE series = 4, number = 19, title = 'A Sommelier Showdown! Ishizumai VS Futachimaru!!', airdate = LEAST(airdate, '2011-02-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW019', 1, 672, 'A Connoisseur\'s Revenge!', '2011-06-11') ON DUPLICATE KEY UPDATE season = 1, number = 672, title = 'A Connoisseur\'s Revenge!', airdate = LEAST(airdate, '2011-06-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW020', 4, 20, 'Pikachu VS Meguroco VS Koaruhie!!', '2011-02-24') ON DUPLICATE KEY UPDATE series = 4, number = 20, title = 'Pikachu VS Meguroco VS Koaruhie!!', airdate = LEAST(airdate, '2011-02-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW020', 1, 673, 'Dancing With the Ducklett Trio!', '2011-06-18') ON DUPLICATE KEY UPDATE season = 1, number = 673, title = 'Dancing With the Ducklett Trio!', airdate = LEAST(airdate, '2011-06-18');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW021', 4, 21, 'Skyarrow Bridge and Gothiruselle!', '2011-03-03') ON DUPLICATE KEY UPDATE series = 4, number = 21, title = 'Skyarrow Bridge and Gothiruselle!', airdate = LEAST(airdate, '2011-03-03');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW021', 1, 674, 'The Lost World of Gothitelle!', '2011-06-25') ON DUPLICATE KEY UPDATE season = 1, number = 674, title = 'The Lost World of Gothitelle!', airdate = LEAST(airdate, '2011-06-25');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW022', 4, 22, 'Hiun City! Fushide Panic!!', '2011-03-10') ON DUPLICATE KEY UPDATE series = 4, number = 22, title = 'Hiun City! Fushide Panic!!', airdate = LEAST(airdate, '2011-03-10');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW022', 1, 675, 'A Venipede Stampede!', '2011-07-02') ON DUPLICATE KEY UPDATE season = 1, number = 675, title = 'A Venipede Stampede!', airdate = LEAST(airdate, '2011-07-02');
INSERT INTO episodes (code, series, title) VALUES ('UN14', 4, 'Rocket-dan VS Plasma-dan! (Part 1)') ON DUPLICATE KEY UPDATE series = 4, title = 'Rocket-dan VS Plasma-dan! (Part 1)';
INSERT INTO episodes (code, series, title) VALUES ('UN15', 4, 'Rocket-dan VS Plasma-dan! (Part 2)') ON DUPLICATE KEY UPDATE series = 4, title = 'Rocket-dan VS Plasma-dan! (Part 2)';
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW023', 4, 23, 'The Hiun Gym Match! Purehearted Bug Pokémon Battle!!', '2011-03-17') ON DUPLICATE KEY UPDATE series = 4, number = 23, title = 'The Hiun Gym Match! Purehearted Bug Pokémon Battle!!', airdate = LEAST(airdate, '2011-03-17');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW023', 1, 676, 'Battling For The Love of Bug-Types!', '2011-07-09') ON DUPLICATE KEY UPDATE season = 1, number = 676, title = 'Battling For The Love of Bug-Types!', airdate = LEAST(airdate, '2011-07-09');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW024', 4, 24, 'Beware of Cute Faces! Emonga Paralyzes!!', '2011-03-24') ON DUPLICATE KEY UPDATE series = 4, number = 24, title = 'Beware of Cute Faces! Emonga Paralyzes!!', airdate = LEAST(airdate, '2011-03-24');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW024', 1, 677, 'Emolga the Irresistible!', '2011-07-16') ON DUPLICATE KEY UPDATE season = 1, number = 677, title = 'Emolga the Irresistible!', airdate = LEAST(airdate, '2011-07-16');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW025', 4, 25, 'Emonga VS Tsutarja! The Volt Change Chaos!!', '2011-03-31') ON DUPLICATE KEY UPDATE series = 4, number = 25, title = 'Emonga VS Tsutarja! The Volt Change Chaos!!', airdate = LEAST(airdate, '2011-03-31');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW025', 1, 678, 'Emolga and the New Volt Switch!', '2011-07-23') ON DUPLICATE KEY UPDATE season = 1, number = 678, title = 'Emolga and the New Volt Switch!', airdate = LEAST(airdate, '2011-07-23');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW026', 4, 26, 'The Scary Story of the Hitomoshi Mansion!', '2011-04-07') ON DUPLICATE KEY UPDATE series = 4, number = 26, title = 'The Scary Story of the Hitomoshi Mansion!', airdate = LEAST(airdate, '2011-04-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW026', 1, 679, 'Scare at the Litwick Mansion!', '2011-07-30') ON DUPLICATE KEY UPDATE season = 1, number = 679, title = 'Scare at the Litwick Mansion!', airdate = LEAST(airdate, '2011-07-30');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW027', 4, 27, 'The Road to Become a Dragon Master! Kibago VS Crimgan!!', '2011-04-14') ON DUPLICATE KEY UPDATE series = 4, number = 27, title = 'The Road to Become a Dragon Master! Kibago VS Crimgan!!', airdate = LEAST(airdate, '2011-04-14');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW027', 1, 680, 'The Dragon Master\'s Path!', '2011-08-06') ON DUPLICATE KEY UPDATE season = 1, number = 680, title = 'The Dragon Master\'s Path!', airdate = LEAST(airdate, '2011-08-06');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW028', 4, 28, 'The Missing Hotachi! Mijumaru\'s Biggest Crisis Ever!!', '2011-04-21') ON DUPLICATE KEY UPDATE series = 4, number = 28, title = 'The Missing Hotachi! Mijumaru\'s Biggest Crisis Ever!!', airdate = LEAST(airdate, '2011-04-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW028', 1, 681, 'Oshawott\'s Lost Scalchop!', '2011-08-13') ON DUPLICATE KEY UPDATE season = 1, number = 681, title = 'Oshawott\'s Lost Scalchop!', airdate = LEAST(airdate, '2011-08-13');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW029', 4, 29, 'The Monmen in Love Rides the Wind!', '2011-04-28') ON DUPLICATE KEY UPDATE series = 4, number = 29, title = 'The Monmen in Love Rides the Wind!', airdate = LEAST(airdate, '2011-04-28');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW029', 1, 682, 'Cottonee in Love!', '2011-08-20') ON DUPLICATE KEY UPDATE season = 1, number = 682, title = 'Cottonee in Love!', airdate = LEAST(airdate, '2011-08-20');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW030', 4, 30, 'Ligray and the UFO!', '2011-05-05') ON DUPLICATE KEY UPDATE series = 4, number = 30, title = 'Ligray and the UFO!', airdate = LEAST(airdate, '2011-05-05');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW030', 1, 683, 'A UFO for Elgyem!', '2011-08-27') ON DUPLICATE KEY UPDATE season = 1, number = 683, title = 'A UFO for Elgyem!', airdate = LEAST(airdate, '2011-08-27');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW031', 4, 31, 'Rival Battle! Vanipeti, Dokkorer Compete in a Battle!!', '2011-05-12') ON DUPLICATE KEY UPDATE series = 4, number = 31, title = 'Rival Battle! Vanipeti, Dokkorer Compete in a Battle!!', airdate = LEAST(airdate, '2011-05-12');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW031', 1, 684, 'Ash and Trip\'s Third Battle!', '2011-09-03') ON DUPLICATE KEY UPDATE season = 1, number = 684, title = 'Ash and Trip\'s Third Battle!', airdate = LEAST(airdate, '2011-09-03');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW032', 4, 32, 'Gamagaru, Maggyo! Battle on the Waterfront!!', '2011-05-19') ON DUPLICATE KEY UPDATE series = 4, number = 32, title = 'Gamagaru, Maggyo! Battle on the Waterfront!!', airdate = LEAST(airdate, '2011-05-19');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW032', 1, 685, 'Facing Fear with Eyes Wide Open!', '2011-09-10') ON DUPLICATE KEY UPDATE season = 1, number = 685, title = 'Facing Fear with Eyes Wide Open!', airdate = LEAST(airdate, '2011-09-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW033', 4, 33, 'The Dragon Buster Appears! Iris and Doryuzu!!', '2011-05-26') ON DUPLICATE KEY UPDATE series = 4, number = 33, title = 'The Dragon Buster Appears! Iris and Doryuzu!!', airdate = LEAST(airdate, '2011-05-26');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW033', 1, 686, 'Iris and Excadrill Against the Dragon Buster!', '2011-09-17') ON DUPLICATE KEY UPDATE season = 1, number = 686, title = 'Iris and Excadrill Against the Dragon Buster!', airdate = LEAST(airdate, '2011-09-17');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW034', 4, 34, 'Dangoro! Let\'s Fire the Luster Cannon!!', '2011-06-02') ON DUPLICATE KEY UPDATE series = 4, number = 34, title = 'Dangoro! Let\'s Fire the Luster Cannon!!', airdate = LEAST(airdate, '2011-06-02');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW034', 1, 687, 'Gotta Catch A Roggenrola!', '2011-09-24') ON DUPLICATE KEY UPDATE season = 1, number = 687, title = 'Gotta Catch A Roggenrola!', airdate = LEAST(airdate, '2011-09-24');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW035', 4, 35, 'Sommelier-Detective Dent! The Case of the Disappearing Tabunne!!', '2011-06-09') ON DUPLICATE KEY UPDATE series = 4, number = 35, title = 'Sommelier-Detective Dent! The Case of the Disappearing Tabunne!!', airdate = LEAST(airdate, '2011-06-09');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW035', 1, 688, 'Where Did You Go, Audino?', '2011-10-01') ON DUPLICATE KEY UPDATE season = 1, number = 688, title = 'Where Did You Go, Audino?', airdate = LEAST(airdate, '2011-10-01');
INSERT INTO episodes (code, title, airdate) VALUES ('UN16', 'Celestial Globe of Light and Shadow', '2011-06-11') ON DUPLICATE KEY UPDATE title = 'Celestial Globe of Light and Shadow', airdate = LEAST(airdate, '2011-06-11');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW036', 4, 36, 'Fossil Revival! Ancient Mysterious Bird Archeos!!', '2011-06-16') ON DUPLICATE KEY UPDATE series = 4, number = 36, title = 'Fossil Revival! Ancient Mysterious Bird Archeos!!', airdate = LEAST(airdate, '2011-06-16');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW036', 1, 689, 'Archeops In The Modern World!', '2011-10-08') ON DUPLICATE KEY UPDATE season = 1, number = 689, title = 'Archeops In The Modern World!', airdate = LEAST(airdate, '2011-10-08');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW037', 4, 37, 'The Fishing Sommelier - Dent Appears!', '2011-06-23') ON DUPLICATE KEY UPDATE series = 4, number = 37, title = 'The Fishing Sommelier - Dent Appears!', airdate = LEAST(airdate, '2011-06-23');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW037', 1, 690, 'A Fishing Connoisseur in a Fishy Competition!', '2011-10-15') ON DUPLICATE KEY UPDATE season = 1, number = 690, title = 'A Fishing Connoisseur in a Fishy Competition!', airdate = LEAST(airdate, '2011-10-15');
INSERT INTO episodes (code, title, airdate) VALUES ('PK22', 'Pikachu\'s Summer Bridge Story', '2011-08-01') ON DUPLICATE KEY UPDATE title = 'Pikachu\'s Summer Bridge Story', airdate = LEAST(airdate, '2011-08-01');
INSERT INTO episodes (code, title, airdate) VALUES ('M14', 'Victini and the Black Hero: Zekrom', '2011-07-16') ON DUPLICATE KEY UPDATE title = 'Victini and the Black Hero: Zekrom', airdate = LEAST(airdate, '2011-07-16');
INSERT INTO dubs (code, title, airdate) VALUES ('M14', 'Pokémon the Movie: White—Victini and Zekrom', '2011-12-03') ON DUPLICATE KEY UPDATE title = 'Pokémon the Movie: White—Victini and Zekrom', airdate = LEAST(airdate, '2011-12-03');
INSERT INTO episodes (code, title, airdate) VALUES ('M14b', 'Victini and the White Hero: Reshiram', '2011-07-16') ON DUPLICATE KEY UPDATE title = 'Victini and the White Hero: Reshiram', airdate = LEAST(airdate, '2011-07-16');
INSERT INTO dubs (code, title, airdate) VALUES ('M14b', 'Pokémon the Movie: Black—Victini and Reshiram', '2011-12-10') ON DUPLICATE KEY UPDATE title = 'Pokémon the Movie: Black—Victini and Reshiram', airdate = LEAST(airdate, '2011-12-10');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW038', 4, 38, 'Zorua The Movie! The Legend of the Pokémon Knight!!', '2011-06-30') ON DUPLICATE KEY UPDATE series = 4, number = 38, title = 'Zorua The Movie! The Legend of the Pokémon Knight!!', airdate = LEAST(airdate, '2011-06-30');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW038', 1, 691, 'Movie Time! Zorua in "The Legend of the Pokémon Knight"!', '2011-10-22') ON DUPLICATE KEY UPDATE season = 1, number = 691, title = 'Movie Time! Zorua in "The Legend of the Pokémon Knight"!', airdate = LEAST(airdate, '2011-10-22');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW039', 4, 39, 'Everyone Gathers! Don Battle!!', '2011-07-07') ON DUPLICATE KEY UPDATE series = 4, number = 39, title = 'Everyone Gathers! Don Battle!!', airdate = LEAST(airdate, '2011-07-07');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW039', 1, 692, 'Reunion Battles In Nimbasa!', '2011-10-29') ON DUPLICATE KEY UPDATE season = 1, number = 692, title = 'Reunion Battles In Nimbasa!', airdate = LEAST(airdate, '2011-10-29');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW040', 4, 40, 'The Fiercely Fought Don Battle! Tsutarja VS Komatana!!', '2011-07-21') ON DUPLICATE KEY UPDATE series = 4, number = 40, title = 'The Fiercely Fought Don Battle! Tsutarja VS Komatana!!', airdate = LEAST(airdate, '2011-07-21');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW040', 1, 693, 'Cilan Versus Trip, Ash Versus Georgia!', '2011-11-05') ON DUPLICATE KEY UPDATE season = 1, number = 693, title = 'Cilan Versus Trip, Ash Versus Georgia!', airdate = LEAST(airdate, '2011-11-05');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW041', 4, 41, 'Climactic Don Battle! Emonga VS Dageki!!', '2011-08-04') ON DUPLICATE KEY UPDATE series = 4, number = 41, title = 'Climactic Don Battle! Emonga VS Dageki!!', airdate = LEAST(airdate, '2011-08-04');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW041', 1, 694, 'The Club Battle Hearts of Fury: Emolga Versus Sawk!', '2011-11-12') ON DUPLICATE KEY UPDATE season = 1, number = 694, title = 'The Club Battle Hearts of Fury: Emolga Versus Sawk!', airdate = LEAST(airdate, '2011-11-12');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW042', 4, 42, 'Decisive Don Battle! Satoshi VS Iris!!', '2011-08-11') ON DUPLICATE KEY UPDATE series = 4, number = 42, title = 'Decisive Don Battle! Satoshi VS Iris!!', airdate = LEAST(airdate, '2011-08-11');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW042', 1, 695, 'Club Battle Finale: A Hero\'s Outcome!', '2011-11-19') ON DUPLICATE KEY UPDATE season = 1, number = 695, title = 'Club Battle Finale: A Hero\'s Outcome!', airdate = LEAST(airdate, '2011-11-19');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW043', 4, 43, 'Nyagotiator Nyarth! Zuruzukin Persuasion Tactics!!', '2011-08-18') ON DUPLICATE KEY UPDATE series = 4, number = 43, title = 'Nyagotiator Nyarth! Zuruzukin Persuasion Tactics!!', airdate = LEAST(airdate, '2011-08-18');
INSERT INTO dubs (code, season, number, title, airdate) VALUES ('BW043', 1, 696, 'Meowth\'s Scrafty Tactics!', '2011-11-26') ON DUPLICATE KEY UPDATE season = 1, number = 696, title = 'Meowth\'s Scrafty Tactics!', airdate = LEAST(airdate, '2011-11-26');
INSERT INTO episodes (code, series, number, title, airdate) VALUES ('BW044', 4, 44, 'Beware of Choroneko! Nyarth and Mijumaru!!', '2011-08-25') ON DUPLICATE KEY UPDATE series = 4, number = 44, title = 'Beware of Choroneko! Nyarth and Mijumaru!!', airdate = LEAST(airdate, '2011-08-25');
