create index IX_nbcommand__run_end_time__run_start_time__id_lnuser_for_remote on nbcommand(run_end_time, run_start_time, id_lnuser_for_remote);
go
create index IX_nbcommand__run_end_time__number__id_job on nbcommand(run_end_time, number, id_job);
go
create index IX_nbcommand__run_start_time__type__id_job__id_lnuser_for_remote on nbcommand(run_start_time, type, id_job, id_lnuser_for_remote);
go
Solution: