Re: select statement for in inclusion list
- From: "TB" <tbpostbox-googlegroups@xxxxxxxxx>
- Date: 9 Sep 2005 08:38:55 -0700
Hello again:
Two follow-up questions:
1) The weakness of this statement is that it only tests for
accountholders already present in accountmovements. Therefore I would
like to join with another table called "accountholders" so as to
include the users who have no history, i.e. have had no
accountmovements, and therefore qualified as well.
The structure of the table accountholders is
IDuser (int) - Primary Key
Lastname (varchar)
Firstname (varchar)
2) Alongside each qualified accountholder I need to show the date
(Datemovement) of the last time they received dividend. My problem is
that I would to return some kind of text (i.e "no history") whenever an
accountholder is not present in accountmovements, i.e. has had no
movements at all, OR simply has not had any movements with the text
"dividend" in the Text column.
Thanks
TB
.
- Follow-Ups:
- References:
- Re: select statement for in inclusion list
- From: TB
- Re: select statement for in inclusion list
- From: Bob Barrows [MVP]
- Re: select statement for in inclusion list
- From: TB
- Re: select statement for in inclusion list
- From: Bob Barrows [MVP]
- Re: select statement for in inclusion list
- From: TB
- Re: select statement for in inclusion list
- Prev by Date: Replace: Problems stripping out Comma for a Integer field
- Next by Date: Re: Replace: Problems stripping out Comma for a Integer field
- Previous by thread: Re: select statement for in inclusion list
- Next by thread: Re: select statement for in inclusion list
- Index(es):