select * {или список полей} from status where status.Datastatus=max(status.Datastatus) group by status.IDosnova