Query Run
USE tewiki_p; select substr(rev_timestamp,1,8) as dated,... 4 months ago