help me

Stimulsoft Ultimate discussion
Post Reply
fery_2014
Posts: 1
Joined: Thu Apr 24, 2014 1:24 pm

help me

Post by fery_2014 »

Hi.
I have a database that contains 2 tables, insurance & paper.
Table insurance instruction:
Insurance_name [type = text, primary key]

Table paper instruction:
Number [type = int, primary key]
Insurance_name [type = text]
Price [type = bigint]

Now I want a report in stimulsoft report that give a result of below query:

“Select count(*) from paper where paper.insurance_name = insurance.insurance_name;”

“Select count(*) from paper where paper.insurance_name = insurance.insurance_name
And price <= 0;”

By these queries I mean search through paper table and find how many insurance_name exist for each insurance name.
Please help me
Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: help me

Post by Alex K. »

Hello,

Please try to use the master-detail construction. You can find a samples in our Demo.

Thank you.
Post Reply