Table price, field category, value 55, average field pi
category,pi55 10055 10556 13055 9555 8059 11555 10155 98
How to calculate the average value of field pi (data with category 55)
select avg(pi) as pi_avg from price where category=55
select avg(pi) as pi_avg from price where category=55