Using Variables In Sql Select Statement