On the table you dragged in there should be a blue Choose what to sync button . When you press that, a scroll-over from the left hand side will pop up and allow you to choose a warehouse on which to run your query along with a space to input your query itself.
The Warehouse will auto-complete and pull all warehouses available to you
For the query you are going to reference it with an @ tag and search for the value in the gray Tag column. In this case it will be Customer Query . Once you locate that you need to select the query statement itself.
Here is another GIF to help you out on this part: