select a.column from table a where a.column!='value' group by a.column union all select b.column from table b where b.column='value' group by b.column
my sql union
猜你喜欢
转载自kidd.iteye.com/blog/1329294
今日推荐
周排行