mysql - Multiple conditions in SQL joins -


How does the specification of several conditions in

SQL ? To specify several conditions in SQL

  below is correct, I know  A key = bee  is different from this  

OR

Pre> at (a.kk = bk where condom 1 and / or con2. Etc)

I think your first option is correct.

You can use more than one circumstance such as:

ON (A key = B and / or COD 1 and / or CD2 ... etc).

For second, WHERE should come after the nuclear block (involved in using all the join clauses) Again, it will filter the data after it's inserted. Just close the first bracket, then it will also work. Like:

ON (A key = BK) WHERE cond1 and / or cond2 ..ETC

All the above options can be used depending on your requirement .


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -