我想查询一些数据,下面的语句select a,b from test where a=0 and b=0  union all 
select a,b from test where a=1 and b=1 union all
select a,b from test where a=2 and b=2我的目的是想能按顺序返回我3条语句的结果 ,但是其中可能有1条没有符合条件的结果,就会导致结果只有2条。
有什么办法就算结果没有也能返回空行吗?0,0
null,null
2,2或者有什么更好的办法,不用unionall 也行,目的就是想批量的查询一些数据。