I want to pull results and count how many of each name is pulled but without grouping...
for example I want this:
John Doe 3 John Doe 3 John Doe 3 Mary J
Maybe count over partition?
select p.name, count(p.name) over (partition by p.name) as counted from some_table as p order by counted desc