大家讲道理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子查詢。
推薦前者。
兩段程式碼都沒試過,可能寫的有誤。歡迎指點