What is sql:query var refers to and what's wrong with the below code ?

Printable View