Hi,
I have to create groups of people based on their drug consumption and then I have to track the movements between the groups over time.
So I have the following table (simplified for this task):
CONSUMPTION (
SSN VARCHAR2(9),
DRUG_ID VARCHAR2(9),
SELL_DATE DATE)
(SSN is the social...