Rumah > Soal Jawab > teks badan
大家讲道理2017-04-17 13:51:57
select c from C inner join ( select b from B inner join select a from A on B.b=A.a ) on C.c= B.b;
分割线............
select A.a,B.b,C.c from (select c from C where c-column= (select b from B where b-column = (select a from A ));
前者是inner koin连接查询,后者是from子查询。
推荐前者。
两段代码都没试过,可能写的有误。欢迎指点