Difficult to answer without knowing the schema of that database.
I guess that the issue is in your query because you want to retrieve WTR1.Quantity but there is the following condition:
wrt1.Quantity >= 10000
In the first screenshot, only one row has a quantity >= 10000. Can you edit that query and try with
wtr1.Quantity >= 6000