Loading...
Engaged Employer
sql query to find count of students having same last name
Anonymous
select count(LastName) from employees group by LastName having count(*)>1
Select lastname, count(*) as lastnamecount from students group by lastname having count(*)>1
select * from Students where lastName in (select s1.lastName from Students s1 group by s1.lastName having count(*)>1);
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.