method_count.hql 180 Bytes
use testdb;

INSERT OVERWRITE TABLE method_count
select method,count(1) as count,max(timestamp) as timestamp
from qa_log
where method is not null and method!='N/A'
group by method;