sql - OR operation between columns in SELECT query in Oracle -


i wonder if possible use or operation between columns in select query?

select    first_name,    last_name     employee     (first_name or last_name)='&enter_search_string'; 

just preference:

select first_name,  last_name  employee  '&enter_search_string' in (first_name, last_name) 

Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -