I tried below query
SELECT DATEPART(hh, CreatedDate) as \'hour\', DATEPART(DW, CreatedDate) as \'week\', COUNT(*) as \'Entries created\' FROM Lo