Using Variable In Sql Select Statement