But my problem is that this gives me the most freq exchange for everything,
that than for each region (ED,AD). I tried pivoting it (AD, vs ED, with
MAX(COUNT) but it didn't work)
SELECT top 1 Left([qvot12].[Phone],7) AS FonXcg
FROM qvot12
GROUP BY qvot12.AD, qvot12.ED,Left([qvot12].[Phone],7)
HAVING Not IsEmpty("Phone")
ORDER BY Count(Left([qvot12].[Phone],7)) DESC;
- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime Bimbos]