Say you had a table with the following fields
Logo Acct Num Tran Date Amount
123 1111111111 11/1/2009 1.50
123 1111111111 11/2/2010 1.75
234 2222222222 11/2/2010 1.50
234 2222222222 11/4/2010 1.75
345 3333333333 11/4/2010 1.99
I'm only interested in first purchases, that occured in November 2010. And if you've already made a purchase before, I don't want you on my list at all. So this would make for the following output.
Logo Acct Num Tran Date Amount
234 2222222222 11/2/2010 1.50
345 3333333333 11/4/2010 1.99
Is there a way this could be done in one call?
Logo Acct Num Tran Date Amount
123 1111111111 11/1/2009 1.50
123 1111111111 11/2/2010 1.75
234 2222222222 11/2/2010 1.50
234 2222222222 11/4/2010 1.75
345 3333333333 11/4/2010 1.99
I'm only interested in first purchases, that occured in November 2010. And if you've already made a purchase before, I don't want you on my list at all. So this would make for the following output.
Logo Acct Num Tran Date Amount
234 2222222222 11/2/2010 1.50
345 3333333333 11/4/2010 1.99
Is there a way this could be done in one call?