Exemple:
I have a HUGE
QUery with union
that brings a lot of data, among this data, I want to know, how many times records of the same person exists only the field name
, Like:
Gabriel
- Record 1
- Record 2
- Record 3
João
- Record 1
- Record 2
- Record 3
So Gabriel and João each one has 3 data rows in my RecordSet
, I need to have another field that counts that many of times it repeats, but also I need all the rows at same time, that's why I Can NOT
use groupby
.
Update MySql View