Oracle Sql Using Variables In Equations