G
Guest
I've tried a lot of different things, but so far no luck.
Here's a sample of what the database looks like.
ID CODE DATE INDICATOR
103 400 12/31/2001 1
103 400 9/30/2005 0
103 400 12/31/2005 1
103 500 7/1/2001 1
103 500 3/31/2003 0
103 500 5/31/2003 1
103 600 5/31/2001 1
I want to query on what these particular accounts looked like on a
particular date. If I query on 04/30/2003, my answer set should look like
this:
ID CODE DATE INDICATOR
103 400 12/31/2001 1
103 500 03/31/2003 0
103 600 5/31/2001 1
Please help!!!!!
Here's a sample of what the database looks like.
ID CODE DATE INDICATOR
103 400 12/31/2001 1
103 400 9/30/2005 0
103 400 12/31/2005 1
103 500 7/1/2001 1
103 500 3/31/2003 0
103 500 5/31/2003 1
103 600 5/31/2001 1
I want to query on what these particular accounts looked like on a
particular date. If I query on 04/30/2003, my answer set should look like
this:
ID CODE DATE INDICATOR
103 400 12/31/2001 1
103 500 03/31/2003 0
103 600 5/31/2001 1
Please help!!!!!