Subject | RE: [firebird-support] nested join sql help |
---|---|
Author | Pete Bray |
Post date | 2003-09-07T15:23:35Z |
Helen,
column returns null for any rows where there is not a matching row in
Notifications for that BugID.
result i'm after :)
which is something of the form
UserID Text
____________
T Bug1
<null> Bug2
T Bug3
thanks once again.
Pete
> select n.UserID, b.text from Bugs bthat's fine except i want to include all rows from Bugs so that the n.UserID
> left join Notifications n
> on b.id=n.BugID
> where
> ....
> and n.UserID = 'T'
>
> will restrict the result set to just those involving 'T'.
>
column returns null for any rows where there is not a matching row in
Notifications for that BugID.
> Pete,I keep thinking that and then i try my new query and still don't get the
> you're making this a lot harder than it is!
result i'm after :)
which is something of the form
UserID Text
____________
T Bug1
<null> Bug2
T Bug3
thanks once again.
Pete