AS aliasing on sub-documents

Can you give an example. I want to be sure I understand.