2021-12-29 12:11:52 -- 1 -- select first 100 skip 0 a.pPId,     a.tInc,     a.jLoja,     a.sAzin,     a.sItm1,     a.sImg1,     a.nPr1,     a.sUr1,     a.sItm2,     a.sImg2,     a.nPr2,     a.sUr2,     a.nCla,     a.iCla,     a.nMatch  from xecomm_Oportunidades a   where a.lExc = 0 and a.iVer = a.iVAt   and cast(a.tInc as date) >= cast('now' as date)-21   and a.jLoja=10   and a.nPr1<a.nPr2  order by a.pPId desc