-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathseeds.sql
55 lines (37 loc) · 1.93 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
use bamazon;
INSERT INTO departments (department_name, over_head_costs)
VALUES ("produce", 1000);
INSERT INTO departments (department_name, over_head_costs)
VALUES ("electronics", 1000);
INSERT INTO departments (department_name, over_head_costs)
VALUES ("customer service", 1000);
INSERT INTO departments (department_name, over_head_costs)
VALUES ("arts and crafts", 1000);
INSERT INTO departments (department_name, over_head_costs)
VALUES ("home improvement", 1000);
INSERT INTO departments (department_name, over_head_costs)
VALUES ("beauty", 1000);
INSERT INTO departments (department_name, over_head_costs)
VALUES ("camping", 1000);
INSERT INTO departments (department_name, over_head_costs)
VALUES ("meat", 1000);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (1, "bananas", 1, 5.99, 20 );
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (2, "computer", 2, 9999.99, 10);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (3, "membership card", 3, 150, 100);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (4, "printer", 2, 150, 20);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (5, "microwave", 2, 200.31, 5);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (6, "poster board", 4, 9.99, 50);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (7, "paint brushes", 5, 3.95, 200);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (8, "makeup", 6, 9.99, 100);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (9, "tent", 7, 500.00, 3);
INSERT INTO products (item_id, product_name, department_id, price, stock_quantity)
VALUES (10, "steak", 8, 49.99, 9);