SELECT MAX(o.created_at) as time, p.method
FROM sales_flat_order o JOIN sales_flat_order_payment p
ON p.parent_id = o.entity_id
GROUP BY p.method
ORDER BY time DESC;
SELECT MAX(o.created_at) as time, p.method
FROM sales_flat_order o JOIN sales_flat_order_payment p
ON p.parent_id = o.entity_id
GROUP BY p.method
ORDER BY time DESC;