In a select query, what do I add in order to add an empty row either at the very top or at the very bottom of the result table even if the result set is empty?
select ...
[i]your query here, without the ORDER BY[/i]
union all
select null, null, ... [i]one per column in your select[/i]
order by [i]your ORDER BY[/i]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.