I am new to STATA and would like to solve the following problem:

Lets say that I have variable "consumption of cereals" and variable "net income". I would like to find out how much of cereals is consumed in average by the poorest 10% and the richest 10% of the population in my dataset. Any command which I could use? I will appreciate your suggestions. Thank you

Best regards,

Andrej