GROUP BY Validation

Is the following query valid on R(A, B, C)?

SELECT A
FROM R
GROUP BY A, B