Hi Mohd,
To save your query, first test it, then below the response table there will be a button "Use Response", click it and it will give a preview of the entities you need. Press "Save Query & Create Entities", also in the bottom right corner of the screen, to create the entities and to save the query. Hope this helps.