TASK USECASES:
- Empty values created due to large chunk of description
- Grouping multiple intersts
Query User Intersts
Concatenating user intersts
Get users with no interests
Check total number of records
Create view from final table
Switched to user and select all the categories categories:
a:10:{
i:0;s:2:"56";
i:1;s:2:"24";
i:2;s:2:"43";
i:3;s:2:"23";
i:4;s:2:"40";
i:5;s:2:"37";
i:6;s:2:"52";
i:7;s:3:"185";
i:8;s:2:"54";
i:9;s:2:"38";}
Finally populating user interests
(in case views got deleted or not exist on staging/prod, the injection query will use the full sub query. )
It’s probably better to convert to procedure…