cdg1111us wrote:
> Have you tried breaking your where clause ('$from_date_tt' <=
> timestamp <= '$to_date_tt') into two statements like timestamp >=
> $from_date_tt and timestamp <= $to_date_tt?
>
>   

This is what the BEWTEEN keyword is used for:

select * from table where timestamp BETWEEN Xtime and Ytime

Reply via email to