I am trying to get the average of the lowest 5 priced items, grouped by the username attached to them. However, the below query gives the average price for each user (which
Simple solution below.
Query:
SELECT AVG(Column_name) FROM (SELECT Column_name FROM Table WHERE ColumnID < number[Limit you want] )