Hi @Sajid Thavalengal Rahiman​ 

When you write your query into DBSQL, just add a variable into brackets like this, it will add automatically the widget with the name given in the SQL Code (You can customize the type of your widget by clicking on the icon on the right of the widget):

image.pngimage

View solution in original post