I have this simple request
select * from users where name = 'User1'
I would like to expand the functionality of the query, as soon as the query returns 0 records, the query will retrieve data for another sentence.
where name = 'Default'
If the first sentence retrieves some records, the second sentence will be ignored.
EDIT
Oracle
source
share