Postgres filter array. filter by intersection of array field values.

Postgres filter array. Follow the below steps to create a database.