Posted by markc600 on 05/03/06 19:47
I think this is what you want SELECT R1,COUNT(*) FROM( SELECT DISTINCT R1,R2,R3 FROM mytable ) X GROUP BY R1
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming