I've looked everywhere for this but can't find exactly what I need. I have a table that has a column in it containing the unix timestamp for the date of a transaction. In MySQL, I can convert this very easily but have been having a problem doing this in CockroachDB.
What I am looking for is simply to be able to query like the following would be done in MySQL:
SELECT
DATE(FROM_UNIXTIME(transaction_timestamp)),
COUNT(id)
FROM
purchases
Any ideas?