Skip to content
Advertisement

Trying to join two tables with multiple where condition on both table in sql

I wrote following sql query

in where condition doesn’t affect the following condition

What I did mistake here?

Advertisement

Answer

You can use the IN operator in the WHERE clause like below;

Advertisement