how do i base a sql query on a value of a variable???

Printable View