declare @a int ,@b int ,@c int set @a=12 set @b=7 set @c=9 select id from ( select @a as id union all select @b union all select @c ) a order by id desc /* id ----------- 12 9 7 (3 行受影响) */
34,587
社区成员
254,588
社区内容
加载中
试试用AI创作助手写篇文章吧