TSQL Challenge 83 - Compare rows in the same table and group the data

Posted on SQL Server Central See other posts from SQL Server Central
Published on Mon, 08 Oct 2012 06:00:00 UT Indexed on 2012/10/15 21:45 UTC
Read the original article Hit count: 107

Filed under:

The challenge is to compare the data of the rows and group the input data. The data needs to be grouped based on the Product ID, Date, TotalLines, LinesOutOfService.

SQL Deployment Manager NEW! Deployment Manager Early Access Release
Deploy SQL Server changes and .NET applications fast, frequently, and without fuss, using Deployment Manager, the new tool from Red Gate. Try the Early Access Release to get a 20% discount on Version 1. Download the Early Access Release.

© SQL Server Central or respective owner