MySQL Forums
Forum List  »  Newbie

Re: Best practice for dealing with 3 dimensions of data
Posted by: Peter Brawley
Date: April 02, 2021 09:38AM

Adding a date or timestamp column to the table gives queries the third dimension eg ...

select bitcoin, date, max(val) as maxval
group by bitcoin, date;

... and so on for as many dimensions as you need.



Edited 2 time(s). Last edit at 08/10/2021 10:16AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: Best practice for dealing with 3 dimensions of data
April 02, 2021 09:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.