Get only the First row for common values

Hi, I've prepared a question in Metabase through multiple joins and filters and grouping that produces a table with Product ID, username and time of event.

I need to grab the first entry for each unique Product ID from the table. My goal is to create a dashboard for product creation and show the user and creation time, which corresponds to the first event for that Product ID.

Ho do I achieve this in Metabase? Thanks


You will probably need to use SQL for this

Thanks, for anyone wondering how to do it in SQL: