I am using PostgreSQL Database. I want to get a column values from a table by excluding the values exists in another table.
select id from mytable where exclude(select id from another table)
In First table available id:
101,102,103,104,105
In second table available id:
101,104
I want result:
102,103,105 (excluded values exist in second table)
How write Query for this?
Try
or