-
Notifications
You must be signed in to change notification settings - Fork 0
/
seeds.sql
32 lines (25 loc) · 874 Bytes
/
seeds.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
INSERT INTO department (name)
VALUES ("Sales"),
("Engineering"),
("Finance"),
("Legal");
INSERT INTO role (title, salary, department_id)
VALUES ("Sales Lead", 100000, 1),
("Salesperson", 80000, 1),
("Lead Engineer", 150000, 2),
("Software Engineer", 120000, 2),
("Account Manager", 160000, 3),
("Accountant", 125000, 3),
("Legal Team Lead", 250000, 4),
("Lawyer", 190000, 4);
INSERT INTO employee (first_name, last_name, role_id, manager_id)
VALUES ("Al", "Bones", 2, null),
("Chris", "Dee", 5, null),
("John", "Doe", 1, null),
("Mike", "Chan", 2, null),
("Ashley", "Rodriguez", 3, null),
("Kevin", "Tuppiki", 4, null),
("Kunnal", "Singher", 5, null),
("Malia", "Brown", 6, null),
("Sarah", "Lourd", 7, null),
("Tom", "Allen", 8, null),