Would you like to copy the permanent link to your clipboard?
Permanent link:
https://help.openstreetmap.org/questions/52283/how-to-get-nodes-and-ways-by-polygon-in-a-single-overpass-query/52289