I have the following tables:
kid
id
name
kid_workshop
id
kid_id
workshop_name
workshop_name could be only: arts, martial_arts, chess, soccer
in order to increase performance, I want to create a materialized view that will look like this:
kid_id name arts martial_arts chess soccer
1 Dann True True False True
How can I do it? I am using postgres
kid_idcolumn. I doubt this will be very performant. In any case, what have you tried so far?