Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql get count without group by

select g.ID, g.Name, g.Phone, count(*) over ( partition by g.name ) as Count
from 
Guys g;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #count #group
ADD COMMENT
Topic
Name
4+7 =