My brain aint functioning atm.. Can you pls help me out here:
Got a table with date, analyseid, groupid
I want to get unique groupid's.. perhaps with a count on same groupid's. Also if there are rows with same groupid the date is also the same.
SELECT date, analyseid, COUNT(*) AS 'amount', groupid
FROM myTable
GROUP BY groupid
ORDER BY date DESC
Thanks in advance