I am trying to get the average of a field called 'score' which contains values to 1 decimal place (eg 421.2, 593.6, 648.5). When I do this with a single SELECT query, the resulting average score values are unrounded (up to as many as 26 decimal places). But when I do this in a union query joining 2 SELECT queries (because I want different groupings) the resulting average score values appear truncated (or rounded) to 5 decimal places. And when I do another union query joining 3 queries, the averages are rounded to the integer. Does anyone know why this is happening, and how I can retain the decimals in a union query?