Im making a Join
Select Table1
From Tables
Where Table1=Table2
Table1 Table2
09876 Q9876
09871 Q9871
02345 Q2345
09867 Q9867
I need to join these two tables, and pull Table1, however I still need for that letter Q to be equal to '0' and I need to keep the zero...
Im making a Join
Select Table1
From Tables
Where Table1=Table2
Table1 Table2
09876 Q9876
09871 Q9871
02345 Q2345
09867 Q9867
I need to join these two tables, and pull Table1, however I still need for that letter Q to be equal to '0' and I need to keep the zero in...
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...
Based on this SQL I have to make a report...
select T1."ACCOUNT" "c1" ,
T4."ACCOUNT" "c5" ,
from "ACCT_DIM" T1,
"ACCT_DIM" T4,
where and T6."GL_ACCT_KEY" = T1."ACCT_KEY"
and T6."ACL_ACCT_KEY" = T4."ACCT_KEY"
and T4."ACCOUNT" =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.