No one has followed this question yet.
Which is better? CTEs (common table expressions) or Subqueries?
Using CTE Common table expressions with SELECT CASE statement
Problem in counting nulls and then merging them with the rows
How to calculate balance on the bases of previous record?
How to combine two rows of same table, with out any common data