skip to Main Content

Exploding Column in Mysql Databricks row-wise

I have an array type column subscription in my table with columns Sample Table +-------+--------+----+----------+ |user_id| Subscription|Activity | +-------+-------------+----------+ |111 |[A,C,B] |20 | |-------+-------------+----------+ |222 |[C,A] |10 | |-------+-------------+----------+ |333 |[B] | 5 | +-------+-------------+----------+ I want to change my…

VIEW QUESTION

GROUP BY function ret – Mysql

start end category 2022:10:14 17:13:00 2022:10:14 17:19:00 A 2022:10:01 16:29:00 2022:10:01 16:49:00 B 2022:10:19 18:55:00 2022:10:19 19:03:00 A 2022:10:31 07:52:00 2022:10:31 07:58:00 A 2022:10:13 18:41:00 2022:10:13 19:26:00 B The table is sample data about trips the target is to calculate…

VIEW QUESTION
Back To Top
Search