michaela18
Technical User
Hi,
I was wondering if anyone knows how to do this.
I have the follow fields in a table:
Date
G_id
Gz_id
Owner_id
Views
Sales
I want to pull by Owner_id, all the sales by date, but only the Minimum Views by date by G_Id and then GZ_ID
For example:
On 01/01/2011, there are 2 records, both have G_ID=10, GZ_ID= a and GZ_ID=b, same owner ID, views = 1000 for GZ_ID=a and 1002 for GZ_ID=b, sales were 10 and 20 respectively.
I want to pull just the Views from GZ_id = a since it has the lesser views for that day, but I want to pull both the sales for that day.
I was wondering if anyone knows how to do this.
I have the follow fields in a table:
Date
G_id
Gz_id
Owner_id
Views
Sales
I want to pull by Owner_id, all the sales by date, but only the Minimum Views by date by G_Id and then GZ_ID
For example:
On 01/01/2011, there are 2 records, both have G_ID=10, GZ_ID= a and GZ_ID=b, same owner ID, views = 1000 for GZ_ID=a and 1002 for GZ_ID=b, sales were 10 and 20 respectively.
I want to pull just the Views from GZ_id = a since it has the lesser views for that day, but I want to pull both the sales for that day.