SELECT * FROM table WHERE PHOTO=1 AND SOLD=2 ORDER BY RAND() LIMIT 0,1
is there any way to query this statement and only have it choose from the last 90 days worth of records, instead of choosing the information of any random record?
there is a date column in the database, it is in 2002-01-30 format.
please let me know.
thanks!