select min(h.c) from
(select min(filed1)as c from a
union
select min(filed2)as c from b ) h
查找同一表中两个字段的最小值
最新推荐文章于 2021-04-03 14:11:23 发布
select min(h.c) from
(select min(filed1)as c from a
union
select min(filed2)as c from b ) h