Terminating recursive query with a condition on entire level of recursion – Postgres – Postgresql
Say i have the following table, called graph: _id relates 1 {2, 3} 2 {4} 3 {5, 6} 4 {3, 7} 5 {} 6 {} 7 {} Here it is in graph form: graph My problem is to write a…