LTIMindtree Interview Question

Reverse a string, star pattern, MySQL queries