Mercedes-Benz Group interview question

Reversing a string SQL code