Does anyone know how to do use a subquery in cognos without actually typing in the sql.
For example if I wanted a report to show me the output of this sql (without actually typing the sql).
The reason I don't want to enter the sql is that I still want the flexibility of using prompts.
Here is a simplified example of what I mean.
SELECT field_a
FROM table_a
WHERE field_b = (SELECT MAX(field_c)
FROM table_c)
Thanks
Craig
For example if I wanted a report to show me the output of this sql (without actually typing the sql).
The reason I don't want to enter the sql is that I still want the flexibility of using prompts.
Here is a simplified example of what I mean.
SELECT field_a
FROM table_a
WHERE field_b = (SELECT MAX(field_c)
FROM table_c)
Thanks
Craig