skip to Main Content

Grouping and sum up all values per day, month and year in SQL – Mysql

I have a table like this: "time","value" "2023-01-28 01:00:03.520","741" "2023-01-28 14:14:30.520","509" "2023-01-28 14:16:07.238","584" "2023-01-28 14:17:49.630","562" "2023-01-28 14:19:28.024","572" "2023-01-28 14:21:10.336","569" "2023-01-28 14:22:52.757","577" "2023-01-28 14:24:29.733","583" "2023-01-28 14:26:12.163","581" "2023-01-28 14:27:50.475","576" "2023-01-28 14:29:32.869","578" "2023-01-28 14:31:15.612","580" "2023-01-28 14:34:35.110","588" "2023-01-28 14:36:16.407","598" "2023-01-28 14:37:58.818","613" "2023-01-28 14:39:35.873","642" "2023-01-28…

VIEW QUESTION

MongoDB aggregate to get stats

I've done this sometime last year, but now I really can't recall and can't find any helpful resources. I want to get the statistics of my collection based on types. This is my data object { "_id": { "$oid": "63bfc374378c59a5328f229e"…

VIEW QUESTION
Back To Top
Search