putting oracle sql to work