> >
> > What am I missing here? Am I doing the query wrong?
>
> Yes. The "group by" doesn't know which rows to use for columns that
> are not either aggregate functions (such as min) or grouped columns
> (such as name). You know what min() does, but the query processor
> doesn't.
>
Ok, this I understand.
> You can do this in two steps by getting the min time length per name,
> and joining that with the original table augmented with length.
>
How should I go about this?
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
- Re: [sqlite] repeating events? Allen Fowler
- Re: [sqlite] repeating events? Simon Slavin
- [sqlite] Shortest time interval? [Was: Re: repeatin... Allen Fowler
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Roger Binns
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Allen Fowler
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Simon Slavin
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Allen Fowler
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... John Machin
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Roger Binns
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Doug Currie
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Allen Fowler
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Igor Tandetnik
- Re: [sqlite] Shortest time interval? [Was: Re: repeati... Dennis Cote
- Re: [sqlite] repeating events? John Machin

