I want to do a report which is from different tables and I want to use the group by function e.g
select a.staff_num, sum(a.amount), b.first_name, b.last_name, c.staff_num
where ........
group by a.staff_num;
When I try to execute, I get an error message not a group by function. What could be the problem or is it that grout by function is for a single table?
select a.staff_num, sum(a.amount), b.first_name, b.last_name, c.staff_num
where ........
group by a.staff_num;
When I try to execute, I get an error message not a group by function. What could be the problem or is it that grout by function is for a single table?