SQLite Forum

Can you see what I do wrong?
Login
```
create table log(name,dt,time_in,time_out);

insert into log values('Noname','2021-03-15','00:12','00:24');

select name, dt, time_in, time_out
  from log
  where dt > '2021-03-13'
  group by dt,time_in
  having max(time_out);
```

The above `SELECT` returns nothing when I expect one row.
If I comment out the `HAVING` clause it works.