I have this simple query
select * from users where name = 'User1'
I'd like to extend the query's functionality whatever the query returns 0 records the query will fetch the data by other clause.
where name = 'Default'
If the first clause will fetch some records the second clause will be ignored.
EDIT
Oracle