Postgresql – SQL how to prevent duplicates in STRING_AGG when joining multiple tables
Here's the relational model for the database that I'm going to talk about (a show can have multiple actors and multiple genres): Relational model (sorry, don't have enough reputation to insert an image) What I would like to achieve is…