My SQL's a bit rusty, but something of this nature should work:
SELECT col1, col2
FROM members
WHERE membercode IN
(
SELECT membercode
FROM members
GROUP BY membercode
HAVING COUNT(membercode) > 1
)
Not sure if there's a better/more efficient way of doing it than that. If the query seems to run slowly, make sure the 'membercode' column is indexed in some fashion.
EDIT: Looks like laserlight posted while I was typing...
@: Wouldn't your query only return 1 row per each membercode, rather than showing all rows that share that membercode?