Page 1 of 1

Group by without SQL-Statement

Posted: Thu Jul 12, 2012 8:00 am
by mocoeg
Hello Guys

I have the following situation:

TABLE_1 with the columns: OBJECTID, FUNCTION, LENGTH

Now i need to sum-up the LENGTH grouped by the FUNCTION. I can do this with a SQL statement like that:

select sum(LENGTH), FUNCTION from TABLE_1 group by FUNCTION.

But is there a possibility to do this with the tools from Stimulsoft and without a SQL statement?

Thanks for your help!
mocoeg

Re: Group by without SQL-Statement

Posted: Fri Jul 13, 2012 9:28 am
by HighAley
Hello.
mocoeg wrote:I have the following situation:

TABLE_1 with the columns: OBJECTID, FUNCTION, LENGTH

Now i need to sum-up the LENGTH grouped by the FUNCTION. I can do this with a SQL statement like that:

select sum(LENGTH), FUNCTION from TABLE_1 group by FUNCTION.

But is there a possibility to do this with the tools from Stimulsoft and without a SQL statement?
You could create data Source from other DataSource.

Look at the attached report template .

Thank you.