Query Run
use ocwiki_p; select substr(rev_timestamp, 1, 8) as Datee, ... 3 years ago
use tewiki_p; select substr(rev_timestamp, 1, 8) as Datee, ... 3 years ago