This is wrong. The right adjective clause would be;
The customers who came in before 5:00 got a discount. :)
9.4m questions
12.2m answers