I have a query with inner join to another table, with this I want also include records which are contained in another column.
Example:
select name, address from table1
inner join table2 on table1.id = table2.id
With this, I want to also include rows which are having table1.recno = (1,2,4)
.
How could I write query for that?
One option I know is to use the IN
keyword instead of the first table join. But our client doesn't want to use the IN keyword.