Hi, I am having performance problems while executing a query which has NOT IN clause. Following is the query
select * from table1 where ID NOT IN ( select ID from table2 ) Table1 contains 1 million records table2 contains 100 records. expecting 1 million - 100 records as output. Both the columns are indexed. Please help, Thanks a lot in advance -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
