å帰ã¯ã¨ãªã¨ã¯ãæ¨æ§é ã®ãããªå帰çãªãã¼ã¿æ§é ã 1 ã¤ã®ã¯ã¨ãªã§å帰 çã«çµæãåå¾ããæ©è½ã§ããä¾ãã°ãé¨åå±éããçµè·¯æ¢ç´¢ãªã©ãã§ããã ãã«ãªãã¾ãã ä¾ãã°ã以ä¸ã®ãããªçµç¹æ§é ã表ç¾ãããã¼ãã«ãããã¨ãã¾ãã CREATE TABLE department ( id INT PRIMARY KEY, -- é¨ç½² ID parent_department INT REFERENCES department, -- ä¸ä½é¨ç½²ã® ID name TEXT -- é¨ç½²å ); INSERT INTO department VALUES (0, NULL, 'ROOT'); INSERT INTO department VALUES (1, 0, 'A'); INSERT INTO department VALUES (2, 1, 'B'); INSERT INTO departme
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}