I have this query
select date(fecha) as day, min(num) as mi
from myTable
where date(fecha) >= date(now())
group by day;
how I can add this condition in where mi < 10 similar to
select date(fecha) as day, min(num) as mi
from myTable
where date(fecha) >= date(now())
and mi < 10
group by day;
use a “having” statement