USE []
GO
/****** Object: Table [dbo].[ParaClassification] Script Date: 11/25/2013 13:42:57 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ParaClassification](
[Para_Id] [int] IDENTITY(1,1) NOT NULL,
[ParagraphText] [nvarchar](max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ParagraphRow] [nvarchar](max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Positive_Value] [int] NULL,
[Negative_Value] [int] NULL,
[ClassName] [nvarchar](max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
select sum(Positive_Value), sum(Negative_Value)
from ParaClassification
where ClassName='communication'
the output is
2 0
i want to also concatenate the ParagraphText column
1 Audi A4 1.8 TFSI Multitronic car Mileage is best.
0 0 carVersion
4 economy of the car is 2.13 lakhs.
Its Conventional door is good enought. 0 0 carVersion
this are two row that i want concatenate the paragraphtext
plz reply