Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

is it possible to create this query using the query designer?

edited February 2009 in General
Hi!

I'm trying the report query designer to see if it is possible to make a
report with this type of query.
I have a 'orders' table with the following data:

NAME TOTAL
Peter 400
James 500
Peter 400
Peter 300
John 500
John 200
Mariah 500
Mariah 200
Peter 100

Is it possible to design a query (using the Query Designer) like this?

SELECT
NAME
FROM
ORDERS
WHERE
SUM(TOTAL) > 1000
GROUP BY
NAME

I have tried to make the query using both the query designer and editing the
query manually, but I'm afraid I can't use functions in where clause.
Any other method to get this?

I'm using DBISAM 4 tables and RBuilder 11 Pro.

Thanks!

Santy C.

Comments

This discussion has been closed.