Oracle Sql Declare Variable In Select Statement Within A Select