+1  A: 

What you are looking for is called GROUP_CONCAT in MySQL and looks like this:

SELECT empno, GROUP_CONCAT(emailID)
FROM yourtable
GROUP BY empno

Unfortunately GROUP_CONCAT does not exist in SQL Server but you can use FOR XML PATH or one of the other workarounds posted as answers to this question.

Mark Byers
How to do with MySql ??I am just looking for solution..
Rosh
@Rosh: I have now included SQL that will work in MySQL. Note that it will not work in SQL Server.
Mark Byers