I have following records in my table:
Name Status Price
Product 1 Active 110
Product 2 Active 165
Product 3 Expire 256
Product 4 Pending 154
Product 5 Active 856
Product 6 Expire 523
Product 7 Pending 220
Product 8 Active 321
Product 9 Pending 478
Product 10 Expire 210
and I need output by mysql query as follow:
Status Low Median Average High
Active ? ? ? ?
Expire ? ? ? ?
Pending ? ? ? ?
I don't know how to do this by mysql query.
Thanks in advance.