12
Answers

get the data of last three hours inserted in the table

Ask a question
Vijay Yadav

Vijay Yadav

13y
1.5k
1

Hi,

I want to get the data of last three hours inserted in the table, i wan to know how i will subtract three hours.

 for eg: "select * from table_1 where date_time between CURRENT_TIMESTAMP and ..."

 Any help?



Answers (12)