sql小知识点

1】sql去重复

select * from View where SfzId in
(select SfzId from View group by SfzId having count(1)<2)
View Code

猜你喜欢

转载自www.cnblogs.com/1439107348s/p/10727994.html