Fernando Barbosa
06/17/2022, 3:35 PMwhere. Could you guys please help me with that:
select max(myColumn) max_myColumn
from myTable
where myDateTime >= (now() - cast((9499687)+(1000*60*60) as long))Fernando Barbosa
06/17/2022, 3:35 PMKen Krugler
06/17/2022, 4:41 PMFernando Barbosa
06/17/2022, 8:14 PMselect myCol
from myTb
where myCol >= (now() - cast((9499687)+(1000*60*60*15) as long))
order by myCol descFernando Barbosa
06/24/2022, 12:38 PMwhere clause it will filter out results with the resulting calculation.