I am working on PHP page that connects with Oracle. I came across this SQL and I am not sure it is doing what is supposed to, so I thought I would
PHP page
Oracle
If you only want results with values in both tables what you really want is an inner join. Once you have that, it doesn't really matter where you filter results out.