Hi
I would like know if there is any good solution to following situation.
I have three tables -
Account , Employee_Team and Tdata
with three conditions
1. where account.account_cd = Tdata.account_cd
and account.employee_team_id = employee_team.employee_team_id
2. Where Tdata.trader_id = employee_team.employee_team_id
3. where Tdata.employee_team_id
= employee_team.employee_team_id
Now if I force the join between Account and Employee_team in my catalogue the situation 2 and 3 will not work.
I tried using alias and views for account and Employee_Team still it does not work becausee original account table and alias account table is joined to Tdata table. And if I query on original Account table it auto joins Employee_Team table through Tdata Table.
Right now I have manual joins in query for all this condition. I wonder if there is any other solution to this situation.
Your suggestions are greatly appreciated.
Thanks.
I would like know if there is any good solution to following situation.
I have three tables -
Account , Employee_Team and Tdata
with three conditions
1. where account.account_cd = Tdata.account_cd
and account.employee_team_id = employee_team.employee_team_id
2. Where Tdata.trader_id = employee_team.employee_team_id
3. where Tdata.employee_team_id
= employee_team.employee_team_id
Now if I force the join between Account and Employee_team in my catalogue the situation 2 and 3 will not work.
I tried using alias and views for account and Employee_Team still it does not work becausee original account table and alias account table is joined to Tdata table. And if I query on original Account table it auto joins Employee_Team table through Tdata Table.
Right now I have manual joins in query for all this condition. I wonder if there is any other solution to this situation.
Your suggestions are greatly appreciated.
Thanks.