October 4, 2022 at 7:06 pm
In a set-oriented language you return the whole set of values that are temporally equal toMight wan the min(date diff) over(patition by account) .
Look up Dr. Codd's T-Join for something like this. I did an article on this https://www.sqlservercentral.com/articles/celkos-sql-stumper-the-class-scheduling-problem
Please post DDL and follow ANSI/ISO standards when asking for help.
October 4, 2022 at 7:50 pm
In a set-oriented language you return the whole set of values that are temporally equal toMight wan the min(date diff) over(patition by account) .
Look up Dr. Codd's T-Join for something like this. I did an article on this https://www.sqlservercentral.com/articles/celkos-sql-stumper-the-class-scheduling-problem
Hmmm... though interesting, I'm not sure how this relates to the task set before us by the OP. Might just be me who isn't bright enough to see it though. 🙂
Viewing 2 posts - 16 through 17 (of 17 total)
You must be logged in to reply to this topic. Login to reply