2012年12月31日 星期一

mssql 找尋table條件規則內有重覆的資料

引用來源
--
  1. SELECT col2,col3,count(*) qty
  2. FROM table2
  3. where col2 is null  
group by col2,col3 having count(*) > 1  

沒有留言:

張貼留言