how to add a select statement to group by
Hi all, how can I rewrite sql query so that I can use group by, the select statements are causing a problem.
Select id, sum(cost) cost, count(units) units, owner_name, Period, (select sysdate from dual) now_date from employee
group by period, owner_name, (select sysdate from dual)