Hello everyone, im relatively new in access and i need some help:
I have this query that select the ID and NAME of a client, and a possible segment to which it belongs as well...
to do so i make several queries and join them by using UNION ALL, like this:
I need to count the number of segments per customer and leave the one with the highest number of repetitions... but i dont know how to use a count or group by functions separating the different segments... like... if "TECNOLOGICO" appears 7 times and the rest only 4 for a single CUSTOMER, leave only 1 row with "TECNOLOGICO" as VALUE of SEGMENT
I will greatly appreciate your help
ALSO, excuse me for my bad english
I have this query that select the ID and NAME of a client, and a possible segment to which it belongs as well...
to do so i make several queries and join them by using UNION ALL, like this:
I need to count the number of segments per customer and leave the one with the highest number of repetitions... but i dont know how to use a count or group by functions separating the different segments... like... if "TECNOLOGICO" appears 7 times and the rest only 4 for a single CUSTOMER, leave only 1 row with "TECNOLOGICO" as VALUE of SEGMENT
I will greatly appreciate your help
ALSO, excuse me for my bad english