Morgan Stanley interview question

Asking how you wrote a certain SQL statement via the phone