Also, sometimes the employer pays for the miles.
If you get reimbursed for your flights, some airlines give you much more miles if you buy a ticket (Economy has many sub classes) that is slightly more expensive (e.g. 100 Dollar more, double miles). This is a "nice" way to collect miles and have somebody else pay for it.