-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsql_sample_data.txt
More file actions
30 lines (26 loc) · 1.04 KB
/
sql_sample_data.txt
File metadata and controls
30 lines (26 loc) · 1.04 KB
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
INSERT INTO users (username, password, role) VALUES
('host_user', 'pass0', 'host'),
('client1', 'pass1', 'client'),
('client2', 'pass2', 'client'),
('client3', 'pass3', 'client'),
('client4', 'pass4', 'client'),
('client5', 'pass5', 'client');
INSERT INTO articles (title, content, client_id) VALUES
('How to Plant Tomatoes', 'Content about planting tomatoes', 3),
('Best Travel Destinations 2025', 'Content about travel...', 4),
('Understanding AI', 'Content about artificial intelligence...', 3),
('Healthy Meal Prep Ideas', 'Preparing your meals.', 1),
('Introduction to Remote Work Tools', 'Working remotely .', 1),
('Benefits of Daily Meditation', 'Meditation can reduce stress', 2),
('Mastering React Hooks', 'Guide to useEffect and useState.', 4),
('Freelancing 101', 'Set up profiles and find clients.', 5),
INSERT INTO article_status (article_id, status, updated_by) VALUES
(1, 'accepted', 1),
(2, 'rejected', 1),
(3, 'pending', 1),
(4, 'accepted', 1),
(5, 'rejected', 1),
(6, 'accepted', 1),
(7, 'accepted', 1),
(8, 'pending', 1),
(9, 'pending', 1);