没法下班了,抹泪请教一下,这里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'
5 回答3.2k 阅读✓ 已解决
3 回答2.3k 阅读✓ 已解决
3 回答3.6k 阅读✓ 已解决
2 回答2.8k 阅读✓ 已解决
1 回答2.4k 阅读✓ 已解决
1 回答2.9k 阅读✓ 已解决
5 回答1.4k 阅读
你的描述不是很清楚 ,可以把相关的表举例出来。
根据你现有信息,
后面添加子查询 :
start with otherId = {select 另一个表字段 from xxx}