SyntaxFix
Write A Post
Hire A Developer
Questions
this working
SELECT distinct filename ,last_value(dates)over (PARTITION BY filename ORDER BY filename)posd ,last_value(status)over (PARTITION BY filename ORDER BY filename )poss FROM distemp.dbo.Shmy_table