troubleshooting Question

SQL Help | Max Row Version

Avatar of freezingHot
freezingHotFlag for United States of America asked on
SQL
2 Comments1 Solution7 ViewsLast Modified:
hi.

i have a table definition of:
rowID, PK, uniqueidentifier
customerID, int,
trxDate, datetime

sample data:
'51478236-86B2-4498-8F0A-8619AAB73BB1', 100, '6/1/2021 14:24'
'9793692B-E56E-44F9-962C-A799E4155B4A', 100, '6/1/2021 15:24'

'EBC21CDD-D172-4B01-860C-BCE37DEE287A', 101, '5/1/2021 13:00'
'23C05526-9A45-4C6C-AA9D-28FE2D065F23', 101, '6/23/2021 14:25'

I need to return:
'9793692B-E56E-44F9-962C-A799E4155B4A', 100, '6/1/2021 15:24'
'23C05526-9A45-4C6C-AA9D-28FE2D065F23', 101, '6/23/2021 14:25'

your help is appreciated - thank you.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros