我想做的是获得所有几乎完全重复的记录,除非重复在名字开始时没有额外果园。
这是我的 que问:
select * from tags as spaced inner join tags as not_spaced on not_spaced.name = substring(spaced.name, 2);
我还尝试:
select * from tags as spaced where (select count(*) from tags as not_spaced where not_spaced.name = substring(spaced.name, 2)) > 0;
What I m getting is... the SQL connection stops responding. Thanks!
页: 1 所有其他领域都不重要(如果有的话)。