Sql Declare Variable With Select Statement