I want to do dropdown feature and based on selection the table reflects using mysql query

Still not able to filter my table based on the drop down button selection item list,
can you please tell me step by step process so that I can perform this, based on my query.
As I am new in retool not able to this.

Thanks