Im sorrry I didnt define T6 in FROM statement
The code is like this
select T1."ACCOUNT" "c1" ,
T4."ACCOUNT" "c5" ,
from "ACCT_DIM" T1,
"ACCT_DIM" T4,
"ACCT_GL_FACT" T6,
where and T6."GL_ACCT_KEY" = T1."ACCT_KEY"
and T6."ACL_ACCT_KEY" = T4."ACCT_KEY"
and...