1. Updated Select query example to include parameterised input.
2. Added comments.