Need to add LNR condition + SELDATE condition:
LNR
SELDATE
RSSELDONE.LNR = ' 1' /* Need to select just last 12 months of data using the SELDATE field filter */ RSSELDONE.SELDATE >= [YESTERDAY - 1 YEAR]