Hi,
Try this query... do u have an identity field in this table.. if u have u can use that instead of join on the name and title, it will be more efficient...
SELECT
CASE (SELECT Count(Name) FROM TBL T1 WHERE T1.Title=T.Title AND T1.name <= T.Name)
When 1 Then Title
Else ''
END Title,Name FROM TBL T
GROUP BY TITLE,NAME
Hope it helps
Sunil