Sql recursion without recursion

前端 未结 6 1465
故里飘歌
故里飘歌 2020-12-16 23:18

I have four tables

create table entities{
integer id;
string name;
}

create table users{
integer id;//fk to entities
string email;
}

create table groups{
i         


        
6条回答
  •  眼角桃花
    2020-12-16 23:27

    You can do the following:

    • Use the START WITH / CONNECT BY PRIOR constructs.
    • Create a PL/SQL function.

提交回复
热议问题