On Mon, Oct 24, 2011 at 11:47 AM, Doug Currie wrote:
>
> On Oct 24, 2011, at 11:07 AM, Dilip Ranganathan wrote:
>
> > But as you all know, this doesn't work:
> >
> > select datetime(time) from table where time >=
> > julianday(datetime(max(time)),'-2 hour','localtime') order by time desc
>
> Try
On Oct 24, 2011, at 11:07 AM, Dilip Ranganathan wrote:
> But as you all know, this doesn't work:
>
> select datetime(time) from table where time >=
> julianday(datetime(max(time)),'-2 hour','localtime') order by time desc
Try replacing datetime(max(time)) with (select datetime(max(time)) from t
2 matches
Mail list logo