Hi all,
Below is my sample data. I am trying to get the 'product' name only if the percentage count is varying. Could you please suggest your maximum no of 'Mysql' queries to approach this. Thanks in advance.
Input:
==============================================
percentage product
==============================================
100.00 A
100.00 A
100.00 A
2.18 B
2.18 B
20.00 C
20.00 C
20.00 C
34.62 D
34.62 D
38.94 E
39.82 E
55.56 F
55.56 F
69.23 G
73.08 G
76.92 G
84.62 H
84.62 H
86.67 I
86.67 I
94.74 J
94.74 J
==============================================
Output:
==============================================
percentage product
==============================================
38.94 E
39.82 E
69.23 G
73.08 G
76.92 G
==============================================