I have the following query.
select *
from table table0_
where (table0_.col1, table0_.col2, table0_.col3)
in (($1, $2, $3), ($4, $5, $6), ($7, $8, $9), ($10, $11, $12), ($13, $14, $15))
How to replace IN clause with JOIN as shown in the below in the Postgres.
select *
from table table0_
where table0_.col1=$1
and table0_.col2=$2
and table0_.col3=$3