I have an Access 2013 database with a table named [carInsurance] as follows:
Now I want to display all the data in this table along with an "empty" row full of NULL values. So I use a UNION query to accomplish that as follows:
select NULL as insId, NULL as carId, NULL as insFromDate from carInsurance
UNION
select insId, carId, insFromDate from carInsurance
However, the results show up like this
and when I use UNION ALL as follows:
select NULL as insId, NULL as carId, NULL as insFromDate from carInsurance
UNION ALL
select insId, carId, insFromDate from carInsurance
I get all results correct except that I get an empty line for every result. How can I solve this problem?