-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseed.sql
More file actions
33 lines (30 loc) · 833 Bytes
/
Copy pathseed.sql
File metadata and controls
33 lines (30 loc) · 833 Bytes
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
32
33
SEED
--* All details
--* Inserting roles, salary, id's and data that will populate for tables
--* Inerting tables with fuctions
INSERT INTO departments
(name)
VALUES
("Marketing"),
("Engineering"),
("Human Resource"),
("IT"),
("Data Science");
INSERT INTO role
(title, salary, departments_id)
VALUES
("Human Resource", 65.000, 3),
("Consultant", 165.000, 1),
("Information Technologist", 225.000, 1),
("Database Administrator", 245.000, 5),
("Cloud Computing Engineers", 335.000, 4),
("QA Manager", 230.000, 5),
("Software/Application Developer", 185.000, 2);
INSERT INTO employee
(first_name, last_name, manager_id)
VALUES
("Tim", "Cook", "1"),
("Jeff", "Bezos", "2"),
("Reed", "Hastings", "3"),
("Sheryl", "Sandberg", "4"),
("Mary", "Barra", "5")