I don't have schema of my table unfortunately. The table has the following data.
I can run order by query but not group by query on this table
Works
select node_name, projection_name, row_count, used_bytes,ros_row_count, ros_used_bytes,ros_count
from projection_storage
order by projection_name;
Doesn't work and gives error Column "projection_storage.node_name" must appear in the GROUP BY clause or be used in an aggregate function
select node_name, projection_name, row_count, used_bytes,ros_row_count, ros_used_bytes,ros_count
from projection_storage
group by projection_name;
Is it that Group By the selected columns need to be in an aggregate function (COUNT, MAX, MIN, SUM, AVG) and also that they need to be of type number (no string, blobs etc).
