Set Sql Variable Using Select Statement