1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| CREATE TABLE Element (
Parent VARCHAR2 (16),
Actuel VARCHAR2 (16));
-- Éléments sans parent
INSERT INTO Element VALUES (NULL, 'MENU1');
INSERT INTO Element VALUES (NULL, 'MENU2');
-- Élements avec parent
INSERT INTO Element VALUES ('MENU1', 'MENU1a');
INSERT INTO Element VALUES ('MENU1', 'MENU1b');
INSERT INTO Element VALUES ('MENU2', 'MENU2a');
INSERT INTO Element VALUES ('MENU1a', 'MENU1aa');
INSERT INTO Element VALUES ('MENU1a', 'MENU1ab');
INSERT INTO Element VALUES ('MENU1a', 'MENU1ac');
COMMIT; |
Partager