@alkanani98 For each dropdown, you will need to add another filter to the database query . See the code snippets in the documentation for examples how to add different types of filters and conditions.
To eliminate duplicates in a dropdown, see Example: Remove duplicates from connected dropdown options using distinct() query .