Re: distinct clause issue for 600000 records
Hi,
I suspect what you want is
SELECT ee.id FROM extn ee
WHERE ee.id IN (select id from srl) AND ee.id=2662;
As long as you have indexes on your id columns, I think performance should not be an issue.
Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway
Subject
Views
Written By
Posted
1652
November 10, 2015 08:57AM
878
November 11, 2015 12:33PM
724
November 12, 2015 12:49AM
872
November 12, 2015 03:20AM
824
November 12, 2015 07:24PM
Re: distinct clause issue for 600000 records
948
November 12, 2015 07:08AM
829
November 12, 2015 07:18AM
808
November 12, 2015 07:43AM
876
November 13, 2015 12:37AM
804
November 13, 2015 12:45AM
845
November 13, 2015 02:42AM
874
November 13, 2015 05:56AM
868
November 13, 2015 06:38AM
894
November 13, 2015 07:15AM
930
November 13, 2015 08:11AM
872
November 13, 2015 11:35AM
931
November 16, 2015 03:04AM
858
November 16, 2015 04:12AM
776
November 16, 2015 05:54AM