but where is the group by.....???? it is working without group by.....?????
If the SELECT clause of a query contains ONLY aggregate functions, you can leave out the GROUP BY. The result will be a single row with the "grand total".
(I think everybody uses this in the basic form SELECT COUNT(*) FROM Table to get a count of rows from a table; the example here is a bit more complicated, but the same basic idea).