Thread: Control Output

View Single Post

  #4 (permalink)  
Old 04-09-2007, 07:59 AM
Rahulbatra Rahulbatra is offline
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
Suppose you have a emp table with empname column you can associate columns having same empname as below:
SELECT empname, COUNT(*) from emp GROUP BY empname

Let me know if you have any doubts.
Reply With Quote