Thread: join help
View Single Post
Old 04-24-2007, 11:57 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
thanks djm.. i saw this last night but 2am was too late to give it a shot.

i got it working today and i get 3 rows for every one completely related record. for example
Code:
+-----+------------+------------+-------------+---------+-------+
| nid | body       | created    | title       | artist  | album |
+-----+------------+------------+-------------+---------+-------+
|  32 | test       | 1177359050 | NULL        | NULL      | NULL  |
|  32 | test       | 1177359050 | NULL        | NULL      | NULL  |
|  32 | test       | 1177359050 | mytitle      | myartist | myalbum  |
i just added 'title is not null' to the where clause and i get the set i'm looking for.

thanks.
__________________
Mike
sde is offline   Reply With Quote