Having a bit of trouble trying to get the data exactly how i need it. anyone know why sql throws an error on this?
Select count(select sum(sales) from actsales groupby salesdate) from actsales innerjoin ~.....
the error is on the select inside the count, says its invalid.
thanks in advance, i don't want to use a view or stored procedure to do this, trying to break out of a spid calling nightmare that was created long ago.
Select count(select sum(sales) from actsales groupby salesdate) from actsales innerjoin ~.....
the error is on the select inside the count, says its invalid.
thanks in advance, i don't want to use a view or stored procedure to do this, trying to break out of a spid calling nightmare that was created long ago.