9
Answers

sql query help

Desi Gal

Desi Gal

13y
1.8k
1

I have a history table for Students in SQL Server 2008.

StudentHistoryId, StudentId, Grade, CreatedAt, ModifiedAt, ModifiedBy, Active

How do I write a tsql query to get the latest modified row for all the active students ?
Answers (9)