Skip to content
Advertisement

SQL query for most recent date

I’m trying to query to only pull the most recent sale date but keep the unique value of “strap”. This is the query result I have.

This is what I’ve built so far, but it doesn’t give me my desired result of a recent date.

This is the result I want

How would I go about doing this?

Advertisement

Answer

You can ROW_NUMBER() it

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement