I have a scenario where there is one list with 3 columns : Col1, Col2, Col3
For each value of Col1 there would be 100 unique Col2 values. And for each Col2 values there would be 1000 unique Col3 values.
List has more than 1,000,000 items.
I would like to perform a query that for a given Col1 value, I need to display a list of unique Col2 Values related to Col1 and count of Col3 values.
For example, for a given dataset as shown below
-------------------------------------- | Col1 | Col2 | Col3 | -------------------------------------- | Val1 | Cl2_1 | Cl3#1 | | Val1 | Cl2_1 | Cl3#2 | | Val1 | Cl2_2 | Cl3#3 | --------------------------------------
My output should be something like :
| Val1 | ------------------------- | Col2 | Col3 | ------------------------- | Cl2_1 | 2 | | Cl2_2 | 1 | -------------------------
What are my possible options?