Oracle Sql Declare Variable In Select Statement In Where Clause