diff --git a/doc/sql_migration/sql_migration04.md b/doc/sql_migration/sql_migration04.md index 10d5c377dde5..ee43d5f20b53 100644 --- a/doc/sql_migration/sql_migration04.md +++ b/doc/sql_migration/sql_migration04.md @@ -838,7 +838,7 @@ The example below shows migration when the root data is displayed. -
SELECT staff_id, name, CONNECT_BY_ROOT name as "ROOT" 
+
SELECT staff_id, name, CONNECT_BY_ROOT name as "Manager" 
   FROM staff_table 
   START WITH staff_id = '1001' 
   CONNECT BY PRIOR staff_id = manager_id;
@@ -855,15 +855,15 @@ The example below shows migration when the root data is displayed.
 
 
WITH RECURSIVE staff_table_w( staff_id, 
  name, 
- ROOT ) AS 
+ Manager ) AS 
  (   SELECT staff_id, name, name 
        FROM staff_table 
      UNION ALL 
-     SELECT n.staff_id, n.name, w.ROOT 
+     SELECT n.staff_id, n.name, w.Manager 
        FROM staff_table n, staff_table_w w 
        WHERE w.staff_id = n.manager_id
  )
- SELECT staff_id, name, ROOT 
+ SELECT staff_id, name, Manager 
  FROM staff_table_w;