Generally, if you should return an empty string.
If your original request
select a,b,c from tbl
You can include it in a subquery
select ta,tb,tc from (select 1 as adummy) a left join ( select a,b,c from tbl
which ensures that the query will always have a row number of at least one.
source share