programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
Programming FAQs

how to find duplicate rows in a table based on specific column

below query returns the rows

below query returns the rows duplicate firstnames in student table

select firstname, count(firstname) as cnt from student group by firstname having cnt>1