GODZILLA
Registered User.
- Local time
- Today, 01:46
- Joined
- Mar 15, 2010
- Messages
- 70
Hello,
I have 2 tables.
Table 1 contains details of accounts that are due for renewal.
Table 2 has accounts that have renewed.
The only link i have is the customer name.
My problem is that i can have 1 record in table 1 and 3 records in table 2.
So i start with 100 and finish with 120 records. What i want to see is all 100 have renewed.
Has anyone worked with data like this before?
Any advice would be great. Thanks
Current SQL:
I have 2 tables.
Table 1 contains details of accounts that are due for renewal.
Table 2 has accounts that have renewed.
The only link i have is the customer name.
My problem is that i can have 1 record in table 1 and 3 records in table 2.
So i start with 100 and finish with 120 records. What i want to see is all 100 have renewed.
Has anyone worked with data like this before?
Any advice would be great. Thanks
Current SQL:
Code:
SELECT [I_REN_01_NO_100%].I_REN_CLIENT_NAME
,[I_REN_01_NO_100%].I_REN_CLIENT_NO
,[I_REN_01_NO_100%].I_REN_RENEWAL_DATE
,BW_KEY_POLICIES.BW_EX_DATE
FROM [I_REN_01_NO_100%] LEFT JOIN BW_KEY_POLICIES ON [I_REN_01_NO_100%].I_REN_CLIENT_NAME = BW_KEY_POLICIES.BW_FULLNAME
WHERE ((([I_REN_01_NO_100%].I_REN_RENEWAL_DATE) Between #2/1/2011# And #2/28/2011#))
ORDER BY [I_REN_01_NO_100%].I_REN_RENEWAL_DATE;