I have a table hierarhy as follows:
CREATE TABLE accounts
(
id NUMBER NOT NULL ,
p_id NUMBER ,
acc_num NUMBER
)
I can create view as follows:
CREATE VIEW my_view AS
SELECT level lvl, id, p_id
FROM accounts
START WITH id = 0 CONNECT BY PRIOR id = p_id;
I can't create this view in Oracle SQL Developer Data Modeler. How can I do this task?