dstaton Posted May 14, 2007 Author Share Posted May 14, 2007 ARGGGG!!!! I am destined to never get this query to work. I never dreamed it would be this difficult. When running: SELECT a.title_id as ida, a.programme_name as titlea, a.year_of_production as yeara, b.title_id as idb, b.programme_name as titleb, b.year_of_production as yearb FROM title a INNER JOIN title b ON SOUNDEX(a.programme_name = b.programme_name) WHERE a.title_id < b.title_id I get ORA-00907: missing right parenthesis. This is the error I was getting with the query I tried back on May 4th. Link to comment https://forums.phpfreaks.com/topic/49817-find-duplicate-entries-in-table/page/2/#findComment-252704 Share on other sites More sharing options...
Wildbug Posted May 14, 2007 Share Posted May 14, 2007 ON SOUNDEX(a.programme_name) = SOUNDEX(b.programme_name) ...or (in 4.1.0+)... ON a.programme_name SOUNDS LIKE b.programme_name Link to comment https://forums.phpfreaks.com/topic/49817-find-duplicate-entries-in-table/page/2/#findComment-252847 Share on other sites More sharing options...
dstaton Posted May 15, 2007 Author Share Posted May 15, 2007 Same results as before...it returns over 30,000 records. I am not getting results that closely match. Example: Brotherhood of Justice = Border, The Eating Raoul = Eyewitness I don't think the soundex thing is working for what I need. Link to comment https://forums.phpfreaks.com/topic/49817-find-duplicate-entries-in-table/page/2/#findComment-253633 Share on other sites More sharing options...
Barand Posted May 15, 2007 Share Posted May 15, 2007 Hmm, looks like Oracle's implementation of SOUNDEX leaves a bit to be desired Link to comment https://forums.phpfreaks.com/topic/49817-find-duplicate-entries-in-table/page/2/#findComment-253666 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.