# noinspection LongLineForFile

# noinspection LongLineForFile

DROP TABLE IF EXISTS alien_level;
CREATE TABLE IF NOT EXISTS alien_level
(
    alien_level   SMALLINT    NOT NULL PRIMARY KEY,
    axp           INT         NOT NULL,
    defender_rank VARCHAR(30) NOT NULL,
    min_level     SMALLINT    NOT NULL
);
INSERT INTO alien_level
VALUES (1, 1500, 'Fledgling', 5),
       (2, 9000, 'Amateur', 15),
       (3, 22500, 'Beginner', 25),
       (4, 42000, 'Starter', 35),
       (5, 67500, 'Newcomer', 45),
       (6, 99000, 'Student', 55),
       (7, 136500, 'Common', 65),
       (8, 180000, 'Intermediate', 75),
       (9, 229500, 'Mediocre', 85),
       (10, 285000, 'Fair', 95),
       (11, 346500, 'Able', 105),
       (12, 414000, 'Accomplished', 110),
       (13, 487500, 'Adept', 115),
       (14, 567000, 'Qualified', 120),
       (15, 697410, 'Competent', 125),
       (16, 857814, 'Suited', 130),
       (17, 1055112, 'Talented', 135),
       (18, 1297787, 'Trustworthy', 140),
       (19, 1596278, 'Supporter', 145),
       (20, 1931497, 'Backer', 150),
       (21, 2298481, 'Defender', 155),
       (22, 2689223, 'Challenger', 160),
       (23, 3092606, 'Patron', 165),
       (24, 3494645, 'Protector', 170),
       (25, 3879056, 'Medalist', 175),
       (26, 4228171, 'Champ', 180),
       (27, 4608707, 'Hero', 185),
       (28, 5023490, 'Guardian', 190),
       (29, 5475604, 'Vanquisher', 195),
       (30, 5968409, 'Vindicator', 200);
