SELECT source_id FROM tables WHERE data>UNIX_TIMESTAMP(CURDATE(?)) 

how to display entries for the week and month

0