大家一起来分析一下这个SQL 今年工作遇到这样一个问题,公司上不了网,自己写了一下。SQL的形式大概是下面的形式。
select * from (select c1, c2 from table1union allselect c1, c2 from table2 start with c1 = 1connect with c1 = c2) t where c1 = 10;