Oracle Sql Declare Variable In Select Statement With Where Clause