mdavies@ilstu.edu (Mark Davies) writes:
> The problem is, the self-join solution is extremely slow. I have a
> SQL Server 7.0 database with a clustered index on TheWord (sequential
> words) and a normal index on TheID.
Kindly do not pester Postgres mailing lists with SQL Server questions.
regards, tom lane