SELECT
    wsb.id,
    wsb.work_session_id,
    u.staff_code,
    u.full_name,
    wsb.started_at,
    wsb.ended_at,
    wsb.actual_minutes,
    wsb.deducted_minutes,
    wsb.rule_minutes_snapshot,
    wsb.deduction_mode,
    wsb.status
FROM work_session_breaks wsb
INNER JOIN users u
    ON u.id = wsb.user_id
ORDER BY wsb.id DESC
LIMIT 20;
