please explain


1. sub query
2. correlated query