MySQL WHERE statement for finding expiry date within 2 days -


i have column named expiry holds expiry date of item in timestamp format.

how execute mysql query select items expiry date within 2 days?

thanks!!

select * table expiry between(today(), today() + 2) 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -