Hello. I am using model builder to solve spatial questions of a related database table but confuse as tools required to run in order to get my output for a question like : "What is the total sum of a single tree specie at a specific location in a particular year". I will build a back-end like GUI through the model through which the user can interact with to select the specie, location, and the year which will give output of the numbers. I hope you get what I am trying to say. Thanks. I need the tools to run the model of that type.
this is the related table. Selection of one feature shows the related data..



the model still select a whole table but i guess i am doing the model wrongly. I need help