From 8caf44608147071a4c3cf22bb9bc4c120e2791bf Mon Sep 17 00:00:00 2001 From: Egor Orlov Date: Fri, 14 Aug 2026 16:28:50 +0300 Subject: [PATCH] Update 04-SELF JOIN.sql removed ';' which causes an error --- .../04-SELF JOIN.sql" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/03-\320\241\320\276\320\265\320\264\320\270\320\275\320\265\320\275\320\270\321\217 - JOINS/04-SELF JOIN.sql" "b/03-\320\241\320\276\320\265\320\264\320\270\320\275\320\265\320\275\320\270\321\217 - JOINS/04-SELF JOIN.sql" index 3c4051a..057d52b 100644 --- "a/03-\320\241\320\276\320\265\320\264\320\270\320\275\320\265\320\275\320\270\321\217 - JOINS/04-SELF JOIN.sql" +++ "b/03-\320\241\320\276\320\265\320\264\320\270\320\275\320\265\320\275\320\270\321\217 - JOINS/04-SELF JOIN.sql" @@ -3,7 +3,7 @@ CREATE TABLE employee ( first_name varchar(256) NOT NULL, last_name varchar(256) NOT NULL, manager_id int, - FOREIGN KEY (manager_id) REFERENCES employee(employee_id); + FOREIGN KEY (manager_id) REFERENCES employee(employee_id) ); INSERT INTO employee @@ -22,4 +22,4 @@ SELECT e.first_name || ' ' || e.last_name AS employee, m.first_name || ' ' || m.last_name AS manager FROM employee e LEFT JOIN employee m ON m.employee_id = e.manager_id -ORDER BY manager; \ No newline at end of file +ORDER BY manager;