Joining 3 different tables i have the following result in CR
Name ID Status s_date e_date branch bill pay
Dell 1 Pending 12/19/2011 12/31/2011 2 62 40
Dell 2 Search 12/19/2011 12/31/2011 2 46 30
Dell 3 Search 12/19/2011 12/31/2011 2 31 20
Dell 4 Pending 12/19/2011 12/31/2011 3 62 40
Dell 5 Search 12/19/2011 12/23/2011 3 62 40
Dell 6 Search 12/19/2011 12/31/2011 3 46 30
Dell 7 Search 12/19/2011 12/31/2011 3 31 20
ID 1 is equal to ID 4
ID 2 is equal to ID 6
ID 3 is equal to ID 7
How do i add common bill?
I need the following result
ID 1 + ID 2 + ID 3 (62 + 46 + 31)= 139
Name ID Status s_date e_date branch bill pay
Dell 1 Pending 12/19/2011 12/31/2011 2 62 40
Dell 2 Search 12/19/2011 12/31/2011 2 46 30
Dell 3 Search 12/19/2011 12/31/2011 2 31 20
Dell 4 Pending 12/19/2011 12/31/2011 3 62 40
Dell 5 Search 12/19/2011 12/23/2011 3 62 40
Dell 6 Search 12/19/2011 12/31/2011 3 46 30
Dell 7 Search 12/19/2011 12/31/2011 3 31 20
ID 1 is equal to ID 4
ID 2 is equal to ID 6
ID 3 is equal to ID 7
How do i add common bill?
I need the following result
ID 1 + ID 2 + ID 3 (62 + 46 + 31)= 139