To add a query, simply select it from the drop-down menu:



Then click Add:



If the query requires parameters, simply enter them before clicking "Add," for example:



To edit an existing query, simply select it, change the settings, and then click the Edit button: