View Single Post
Old 09-30-2003, 07:39 PM  
extreme
Confirmed User
 
Industry Role:
Join Date: Oct 2002
Location: lalaland
Posts: 2,120
Hm, add another LEFT JOIN?

SELECT UI.girl as girl,SB.clicks as surferclicks,V.clicks as voteclicks FROM update_info as UI
LEFT JOIN surfer_behavior as SB on UI.girl = SB.girl
LEFT JOIN votes as V on V.girl = SB.girl;


.. something like that maybe?


edited for typo. Hm, maybe the "as" things just confused...

SELECT update_info.girl as girl,surfer_behavior.clicks as surferclicks,votes.clicks as voteclicks FROM update_info
LEFT JOIN surfer_behavior on update_info.girl = surfer_behavior.girl
LEFT JOIN votes on votes.girl = surfer_behavior.girl;

Last edited by extreme; 09-30-2003 at 07:51 PM..
extreme is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote