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