-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
INSERT INTO authors (author_id, author_name, origin) VALUES | ||
(1, 'Alexander Pushkin', 'Russia'), | ||
(2, 'Mark Twain', 'USA'), | ||
(3, 'Jules Verne', 'France'), | ||
(4, 'Л.Н. Толстой', 'Russia'), | ||
(5, 'А.П. Чехов', 'Russia'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
INSERT INTO books (book_id, author_id, title, language, genre, age_rating, users_score) VALUES | ||
(1, 1, 'Евгений Онегин', 'Russian', 'Роман', '16+', 4.5), | ||
(2, 1, 'Eugene Onegin', 'English', 'Роман', '16+', 4.6), | ||
(3, 2, 'Приключения Тома Соера', 'Russian', 'Повесть', '0+', 4.0), | ||
(4, 2, 'The Adventures of Tom Sawyer', 'English', 'Повесть', '0+', 4.2), | ||
(5, 3, 'Вокруг света за восемьдесят дней', 'Russian', 'Роман', '12+', 4.5), | ||
(6, 3, 'Le tour du monde en quatre-vingts jours', 'French', 'Роман', '12+', 5.0), | ||
(7, 4, 'Анна Каренина', 'Роман', 'Russian', '18+', 4.7), | ||
(8, 5, 'Война и мир', 'Russian', 'Исторический роман', '12+', 4.3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
INSERT INTO departments (department_id, name) VALUES | ||
(1, 'Development Department'), | ||
(2, 'Marketing Department'), | ||
(3, 'Finance Department'), | ||
(4, 'HR Department'), | ||
(5, 'Sales Department'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
INSERT INTO drivers (driver_id, driver_name, phone) VALUES | ||
(1, 'Иванов А.Б.', '+71112223344'), | ||
(2, 'Петрова В.Г.', '+71113334455'); | ||
|
||
INSERT INTO passengers (passenger_id, passenger_name, phone) VALUES | ||
(101, 'Орлов Д.Е.', '+72229998877'), | ||
(102, 'Соколова Ж.З.', '+72228889900'), | ||
(103, 'Ястребов И.К.', '+73339995566'); | ||
|
||
INSERT INTO rides (rideid, driver_id, passenger_id, price) VALUES | ||
(1001, 1, 101, 567), | ||
(1002, 1, 102, 234), | ||
(1003, 2, 103, 1234), | ||
(1004, 2, 103, 765); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
INSERT INTO employees (employee_id, department_id, name, salary, position, manager_id) VALUES | ||
(1, 1, 'John Smith', 50000, 'Programmer', 2), | ||
(2, 1, 'Peter Johnson',60000, 'Head of development department', 4), | ||
(3, 2, 'Mary Brown', 55000, 'Programmer', 2), | ||
(4, 2, 'Alex Miller', 70000, 'Technical Director', NULL), | ||
(5, 3, 'Helen White', 48000, 'Head of testing department', 4), | ||
(6, NULL, 'Adam Smith', 10000, 'Tester', 5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
INSERT INTO materials (material_id, material_name) VALUES | ||
(100, 'хлопок'), | ||
(101, 'лен'), | ||
(102, 'шерсть'); | ||
|
||
INSERT INTO colors (color_id, color_name) VALUES | ||
(0, 'красный'), | ||
(1, 'синий'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
INSERT INTO customers (customer_id, customer_name, email) VALUES | ||
(1, 'Иванов А.Б.', 'ivanov@email.com'), | ||
(2, 'Петрова В.Г.', 'petrova@email.com'), | ||
(3, 'Сидоров Ж.З.', 's_idorov@email.com'); | ||
|
||
INSERT INTO orders (order_id, customer_id, total_price) VALUES | ||
(1000, 1, 100), | ||
(1001, 1, 500), | ||
(1002, 3, 300); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters