select ... 
from 
     (select Product.*, row_number() over(partition by cust_id order by PRODUCT_ID) rk from Product)
where rk = 1