Sorry for the late reply... out of office, but the following might work:
SELECT A.NAME as name,
a.date as date,
count(*) as temp,
'' as totcount
FROM MYTABLE a
GROUP BY NAME,DATE
union all
SELECT A.NAME as name,
'' as date,
'' as temp,
count(*) as totcount
FROM MYTABLE a
GROUP BY NAME...
I am currently struggling with a particularly nasty old DB schema and query set, if anyone can help with resolving the below problem i would be very grateful. The example below is a simplified (Non real) version of the problem.
Essentially i have two tables (both fairly normalized) which...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.