Home Forums SQL Server 2012 SQL Server 2012 - T-SQL Need Help in Understanding RE: Need Help in Understanding
sunita2912
SSC Veteran
Points: 295
More actions
June 27, 2016 at 11:00 am
#1887097
I did combine your both queries using CTE. Yes, union will also work, but CTE is much faster and efficient.