How can I make it faster? Help needed.
From: Dr. Wei Ho <wei.he_at_etl.ericsson.se>
Date: Mon, 19 Apr 1999 10:26:34 +0100
Message-ID: <371AF6C9.41C67EA6_at_etl.ericsson.se>
Hi,
Date: Mon, 19 Apr 1999 10:26:34 +0100
Message-ID: <371AF6C9.41C67EA6_at_etl.ericsson.se>
Hi,
Can anybody out there help me to make the following query faster.
Both tables, MESSAGE and CUSTOMER, in the query have about 13,000
records. In both tables, the fields CUST_NO are indexed.
SELECT m.cust_no
FROM message m
WHERE m.cust_no
NOT IN (SELECT c.cust_no FROM customer c);
Thanks
Wei Received on Mon Apr 19 1999 - 11:26:34 CEST