Usage of AND vs WHERE clause in SQL

前端 未结 3 1716
囚心锁ツ
囚心锁ツ 2021-01-06 22:39

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

3条回答
  •  独厮守ぢ
    2021-01-06 23:06

    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.

提交回复
热议问题