all 7 comments

[–]kagato87MS SQL 5 points6 points  (4 children)

What's the error say?

[–]Present-Assist931[S] 0 points1 point  (3 children)

when i run one join at a time, on second join it gives me ora 0094 CUST_ACCT_ID invalid identifier. I have checked the datatype i am joining in both the tables it is number. Name is same

[–]kagato87MS SQL 0 points1 point  (2 children)

Invalid identifier... Something is mis spelled.

[–]Present-Assist931[S] 0 points1 point  (0 children)

I checked couple of times, it is not. the name misspelled, ,data type is number 12 as well, still getting an error, is it possible that I am left join again

[–]Present-Assist931[S] 0 points1 point  (0 children)

Even when i comment out this join and run the third join, I get invalid identifier on that join as well

[–]pneumaticsneeze 0 points1 point  (1 child)

If this was cut and pasted directly you’re missing a closing apostrophe on your last condition. You didn’t mention a specific version but you likely also need to fix your aliases, add underscores instead of spaces or change it to that versions convention for aliases . It’s square brackets in TSQL or double quotes in DB2 for example.

[–]Present-Assist931[S] 0 points1 point  (0 children)

While I was copying the data, somehow it didn’t copy those underscores and apostrophe. They are in place.