(member_id,data_date)
is defined UNIQUE
. Each data_date represents one day that data was sent. There are duplicate member_idsdata_dates for each day that there is datamember_id. I am running PostgreSQL 8.2.15. It is Greenplum.
make test data match the question, trim noise, use ISO date format, tag
Erwin Brandstetter
- 182.1k
- 28
- 457
- 620