level 1
tzchf
楼主
把mysql语句改到access里,结果出问题了
select 数量 as aa, null as bb from a
union all select null, 数量 from a
可以,但再加一行union,就不对了“标准表达式中数据类型不匹配”
select 数量 as aa, null as bb from a
union all select null, 数量 from a
union all select null, 数量 from a
问题就在第一行的null,好象只能写一个union,那就嵌套,又可以了,麻烦,不知道啥意思。注:access2003版
select 数量 as aa, null as bb from a
union all (select null, 数量 from a
union all select null, 数量 from a)
2017年06月08日 07点06分
1
select 数量 as aa, null as bb from a
union all select null, 数量 from a
可以,但再加一行union,就不对了“标准表达式中数据类型不匹配”
select 数量 as aa, null as bb from a
union all select null, 数量 from a
union all select null, 数量 from a
问题就在第一行的null,好象只能写一个union,那就嵌套,又可以了,麻烦,不知道啥意思。注:access2003版
select 数量 as aa, null as bb from a
union all (select null, 数量 from a
union all select null, 数量 from a)