Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GROUP BY clause is not uner SQL anymore!

Status
Not open for further replies.

iren

Technical User
Mar 8, 2005
106
US
I am in a big trouble trying to implement a query anD completed the following steps:

Step 1
Under tab DATA I have the following fields:
Product
CPT_CD
CPT_DESC
Gender
Mem_birth_dt

Step 2
I select additional field int_clm_num and press Z button. After that I chose Aggregation function COUNT
On the right panel I see count Int-clm_num[for Mem_birth_dt]


Step 3
I go to the Filter tab and put condition:
Product=’M’ AND Frst_dt_month in 200701 and CPT_CD=”1234” AND mem-birth_d t< 1941-12-12

When I opened tab PROFILE and chose option SQL , I am able to see SQL with WHERE clause with filter stuff and
BY GROUP clause which all fields from DATA tab included

However when I run query in Cgnos Impromtu nothing happens.
Moreover…when I open query , GO TO TAB PROFILE and chose option SQL I DO NOT SEE BY GROUP clause anymore!

What I am doing wrong????? Could you please give me a hand? This is an urgent issue

Thank you in advance,

Iren
 
don't go to the profile with out running the report..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top