\pset pager off
SELECT created_at AT TIME ZONE 'Asia/Shanghai' AS created_sh, group_id, account_id, model, status_code, upstream_status_code, left(error_message,160) msg
FROM ops_error_logs
WHERE account_id=218 AND created_at >= now() - interval '30 minutes'
ORDER BY created_at DESC LIMIT 10;
