没法下班了,抹泪请教一下,这里start with的otherId字段的值需要是另一个表的字段,怎么把另一个表和这条查询join 起来,
select count(1) as total connect by prior id = otherId
start with otherId = 'abc'
没法下班了,抹泪请教一下,这里start with的otherId字段的值需要是另一个表的字段,怎么把另一个表和这条查询join 起来,
select count(1) as total connect by prior id = otherId
start with otherId = 'abc'
4 回答1.2k 阅读✓ 已解决
8 回答1.2k 阅读
3 回答1k 阅读✓ 已解决
2 回答711 阅读✓ 已解决
2 回答1.7k 阅读
1 回答853 阅读✓ 已解决
1 回答831 阅读✓ 已解决
你的描述不是很清楚 ,可以把相关的表举例出来。
根据你现有信息,
后面添加子查询 :
start with otherId = {select 另一个表字段 from xxx}