Jump to content

[SOLVED] OUTER JOIN


Welling

Recommended Posts

I'm trying to do a sql outer join:

 

SELECT ft.id, ft.ult_resp, fl.fecha

FROM forotemas ft

LEFT OUTER JOIN foroleidos fl

ON fl.id_tema = ft.id

WHERE fl.id_usu = "2"

 

But sometimes there are a value in foroleidos for each of forotemas and don't works like "outer join" including all results of forotemas although the fl.fecha value were null like this must do,

What happens?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/131831-solved-outer-join/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.